CN113094139B - UI style updating method and device - Google Patents

UI style updating method and device Download PDF

Info

Publication number
CN113094139B
CN113094139B CN202110426280.2A CN202110426280A CN113094139B CN 113094139 B CN113094139 B CN 113094139B CN 202110426280 A CN202110426280 A CN 202110426280A CN 113094139 B CN113094139 B CN 113094139B
Authority
CN
China
Prior art keywords
style
incremental data
updated
target
gateway
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.)
Active
Application number
CN202110426280.2A
Other languages
Chinese (zh)
Other versions
CN113094139A (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

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 the following steps: 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 related information of the UI style to be updated in an incremental data set of a gateway configuration platform corresponding to the gateway, wherein the incremental data is pushed to the gateway configuration platform in advance by a server side and is used for updating the UI style; in response to determining that the target delta data exists, the target delta data is sent to the client based on the gateway to update the UI style to be updated. According to the embodiment, the interface pressure of the server is reduced, and the timeliness of UI style updating is improved.

Description

UI style updating method and device
Technical Field
The application relates to the technical field of computers, in particular to the technical field of system front ends, and particularly relates to a UI style updating method and device.
Background
When a certain commodity scene shows a problem, the configured UI (User Interface) code can be dynamically changed so as to realize that the online style can be updated without being transmitted.
In the prior art, the interaction scheme between the client and the server is as follows: the client actively calls the server interface to acquire the corresponding UI code, and caches the UI code to directly render and show when the client is convenient for the next time of the same commodity scene, so that the call to the server is reduced. Therefore, even if the UI code is modified by the server, the client cannot update the style in time due to the cache, and thus the problem of poor user experience may occur. Meanwhile, some schemes exist, and a client uses a timing polling mode to continuously call a server interface to compare UI code data, so that the UI code data can be updated as soon as possible, and the mode has great resource waste for both the server and the client.
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 related information of the UI style to be updated in an incremental data set of a gateway configuration platform corresponding to the gateway, wherein the incremental data is pushed to the gateway configuration platform in advance by a server side and is used for updating the UI style; in response to determining that the target delta data exists, the target delta data is sent to the client based on the gateway to update the UI style to be updated.
In some embodiments, the method further comprises: and in response to receiving the 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 pre-stored 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 the incremental data set through the gateway configuration platform, and caching the incremental data to obtain the updated incremental data set.
In some embodiments, the delta data includes information related to a UI style, the information related to the UI style including: the data identifier and version number, and searching target increment data matched with the related information of the UI style to be updated, comprising: and searching target incremental data matched with the related 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 is to be updated.
According to a second aspect, an embodiment of the present application provides a UI style updating device, including: the receiving module is configured to receive a request sent by the client, wherein the request comprises related information of a UI style to be updated; the searching module is configured to search target incremental data matched with related information of the UI style to be updated in an incremental data set of a gateway configuration platform corresponding to the gateway based on the gateway, wherein the incremental data is pushed to the gateway configuration platform in advance by the server side and is used for updating the UI style; and the sending module is configured to send the target increment data to the client based on the gateway to update the UI style to be updated in response to determining that the target increment data exists.
In some embodiments, the apparatus further comprises: the updating module is configured to respond to the received incremental data sent by the server side, update the incremental data set based on the gateway configuration platform, and take the updated incremental data set as the incremental data set pre-stored on the gateway configuration platform corresponding to the gateway.
In some embodiments, the update module is further configured to: updating the incremental data to the incremental data set through a gateway configuration platform, and caching the incremental data to obtain the updated incremental data set.
In some embodiments, the delta data includes information related to a UI style, the information related to the UI style including: the data identifier and version number, and the lookup module is further configured to: and searching target incremental data matched with the related 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 is to be updated.
According to a third aspect, an embodiment of the present application provides an electronic device including one or more processors; and 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 updating method as any of the embodiments of the first aspect.
According to a fourth aspect, an embodiment of the present application provides a computer readable medium having stored thereon a computer program which, when executed by a processor, implements a UI style update method as in any of the embodiments of the first aspect.
The method comprises the steps of 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 related information of the UI style to be updated in an incremental data set of a gateway configuration platform corresponding to the gateway, wherein the incremental data is pushed to the gateway configuration platform in advance by a server side and is used for updating the UI style; in response to determining that the target incremental data exists, the target incremental data is sent to the client side based on the gateway to update the UI style to be updated, namely the updated data (incremental data) of the UI style is prestored to the gateway configuration platform by the server side, after the gateway obtains the relevant information of the UI style to be updated, whether the target incremental data exists or not is judged, if the target incremental data exists, the target incremental data is sent to the client side to update the UI style to be updated, frequent access to a server side interface is avoided, the interface pressure of the server side is increased, the smoothness of application programs used by users is improved, and meanwhile timeliness of updating of the UI style is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a UI style update method according to the present application;
fig. 3 is a schematic view of an application scenario of a UI style update method according to the present application;
Fig. 4 is a flowchart 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 updating device according to the present application;
FIG. 6 is a schematic diagram of a computer system suitable for use with a server implementing an embodiment of the application.
Detailed Description
Exemplary embodiments of the present application will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present application are included to facilitate understanding, and are to be considered merely exemplary. 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 application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 to which an embodiment of a UI style update method of the present application may be applied.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The terminal devices 101, 102, 103 interact with the server 105 via the 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 devices 101, 102, 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 mobile phones and notebook computers. When the terminal devices 101, 102, 103 are software, they can be installed in the above-listed electronic devices. Which may be implemented as multiple software or software modules (e.g., to provide UI style update services) or as a single software or software module. The present invention is not particularly limited herein.
The server 105 may be a server providing various services, for example, receiving a request transmitted by a client, the request including related information of a UI style to be updated; based on the gateway, searching target incremental data matched with related information of the UI style to be updated in an incremental data set of a gateway configuration platform corresponding to the gateway, wherein the incremental data is pushed to the gateway configuration platform in advance by a server side and is used for updating the UI style; in response to determining that the target delta data exists, the target delta data is sent 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 formed by a plurality of servers, or 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 UI style update services), or as a single software or software module. The present invention is not particularly limited herein.
It is noted that the UI style updating method provided by the embodiments of the present disclosure may be performed by the server 105, may be performed by the terminal devices 101, 102, 103, or may be performed by the server 105 and the terminal devices 101, 102, 103 in cooperation with each other. Accordingly, the respective parts (e.g., respective units, sub-units, modules, sub-modules) included in the UI style updating device may be all provided in the server 105, may be all provided in the terminal devices 101, 102, 103, or may be provided in the server 105 and the terminal devices 101, 102, 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 flow diagram 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 steps of:
Step 201, a request sent by a client is received.
In this embodiment, a gateway and a gateway configuration platform corresponding to the gateway may be provided on an execution body (such as the server 105 or the terminal devices 101, 102, 103 shown in fig. 1), and may communicate with a client and a server.
After receiving the request sent by the client, the execution body analyzes the request to obtain the related information of the UI style to be updated, which 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 for identifying the 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 for identifying the version number of the current UI style to be updated of the client.
It should be noted that the request may be a UI style update request including only relevant information of the UI style to be updated, or may be any non-UI style update request including both relevant information of the UI style to be updated and irrelevant information of the UI style to be updated, that is, relevant information of the UI style to be updated, such as a request of an order, a search, etc. generated by a normal operation of a user on a client, which is not limited in the present application.
In some alternatives, the request further comprises: irrelevant information of the UI style is to be updated.
In this implementation manner, the request further includes related information of the UI style to be updated and irrelevant information of the UI style to be updated, so that the update of the UI style to be updated of the client is not only limited to the UI style update request, but also can be any HTTP (Hypertext Transfer Protocol ) request, the timeliness of updating the UI style is increased, and the problem that in the prior art, only when the UI style cached by the client is out of date, the UI style code is pulled again, thereby affecting the client experience is avoided.
Step 202, based on the gateway, searching target incremental data matched with the related 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 body searches for target incremental data matching with the relevant information of the UI style to be updated in multiple ways in the incremental data set pre-stored on the gateway configuration platform corresponding to the gateway based on the gateway.
Here, the incremental data is data for updating the UI style, and the incremental data may include related information of the UI style and corresponding modification data.
The target incremental data is incremental data used for updating the UI style to be updated. The target delta data may include related information of the target UI style and corresponding modification data. The related information of 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 related information of the UI style to be updated, and the target version number is greater than the version number in the related information of the UI style to be updated.
Specifically, the execution main body searches for target incremental data in an incremental data set pre-stored on a gateway configuration platform corresponding to the gateway according to the gateway, wherein the method comprises the steps of firstly searching for first incremental data matched with a data identifier according to the data identifier in related information of a UI style to be updated, searching for second incremental data matched with the version number in the first incremental data according to the version number, wherein the version number of the second incremental data is larger than the version number, and taking the searched second incremental data as target incremental data; the target incremental data can be searched in the incremental data set according to the data identifier and the version number at the same time, which is not limited by the application.
Here, the incremental data in the incremental data set is pushed to the gateway configuration platform in advance by the server. The gateway configuration platform may provide multiple API interfaces for use by the server.
It should be noted that the target incremental data may be one incremental data or may be multiple incremental data, which is not limited in the present application.
Specifically, the UI style related information is (data identifier is a, version number is 1.2), and the target delta data is delta data B: UI style related information (data identifier a, version number 1.3) and corresponding modified data, incremental data B: UI style related information (data identifier a, version number 1.4) and corresponding incremental data.
In addition, it should be noted that, when the client is started for the first time, the UI style code may be directly obtained from the server through the data identifier and cached in the client.
In some optional manners, searching the target increment data matched with the related information of the UI style to be updated includes: and searching target incremental data matched with the related information of the UI style to be updated according to a data identifier and a version number index which are created for the incremental data set in advance.
In this implementation, the delta data includes related information of the UI style including a data identifier and a version number. The execution body can search target incremental data matched with the related information of the UI style to be updated according to the data identifier and the version number index which are created by 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 related 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 speed of the target incremental data is effectively improved.
In step 203, in response to determining that the target delta data exists, the target delta data is sent 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 body sends the target incremental data to the client through the gateway.
After receiving the target increment 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 UI style related information, the service data and the target incremental data corresponding to the request need to be packaged into integrated data and sent to the client.
After receiving the integrated data, the client can first judge whether the integrated data has target increment data, if so, the UI style is updated, and the business data normally executes the original logic without interference with the style data updating.
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, such as a UI style update request, sent by the client 302, and parses the request to obtain relevant information 303, such as a data identifier a and version number 2.1, of the UI style to be updated. Based on the gateway, the target incremental data 305 matched with the related information of the UI style to be updated, for example, the data identifier a, the version number 2.2 and the corresponding modification data, are searched in the incremental data set 304 of the gateway configuration platform corresponding to the gateway. The incremental data is pre-pushed to the gateway configuration platform by the server 306, and the incremental data is used for updating the UI style. In response to determining that the target delta data 305 is present, 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, related information including a UI style to be updated is requested by receiving a request sent by a client; based on the gateway, searching target incremental data matched with related information of the UI style to be updated in an incremental data set of a gateway configuration platform corresponding to the gateway, wherein the incremental data is pushed to the gateway configuration platform in advance by a server side and is used for updating the UI style; in response to determining 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 present embodiment may include the following steps:
Step 401, a request sent by a client is received.
In this embodiment, the implementation details and technical effects of step 401 may refer to the description of step 201, which is not described herein.
Step 402, based on the gateway, searching target incremental data matched with the information related to the UI style in an incremental data set pre-stored on a gateway configuration platform corresponding to the gateway.
In this embodiment, the implementation details and technical effects of step 402 may refer to the description of step 202, which is not repeated here.
In response to determining that the target delta data exists, the target delta data is sent to the client based on the gateway to update the UI style, step 403.
In this embodiment, the implementation details and technical effects of step 403 may refer to the description of step 203, which is not described herein.
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 taking the updated incremental data set as the 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 body 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 index a data identifier, a version number, or the like to store the incremental data to the incremental data set to update the incremental data set, and use the updated incremental data set as the incremental data set pre-stored on the gateway configuration platform corresponding to the gateway.
Here, the incremental data transmitted by the server may be incremental data periodically transmitted by the server, or may be incremental data transmitted by the server in response to detecting a code for developing a user to modify a UI style.
Specifically, the server detects that the development user modifies the UI style code for a specific scenario, integrates the modified data together with the version number and the data identifier into incremental data, and pushes the incremental data to the gateway configuration platform.
In some alternatives, updating the incremental data set based on the gateway configuration platform includes: updating the incremental data to the incremental data set through the gateway configuration platform, and caching the incremental data to obtain the updated incremental data set.
In this implementation manner, after the executing body updates the incremental data to the incremental data set through the gateway configuration platform, the executing body may further write the incremental data into the cache server, so as to obtain the updated incremental data set.
According to the method, the incremental data are stored into the incremental data set through the gateway configuration platform, and the incremental data are 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 flow 400 of the UI style updating method in this embodiment of the present application reflects that in response to receiving the incremental data sent by the server, the incremental data set is updated based on the gateway configuration platform, and the updated incremental data set is used as the incremental data set pre-stored on the gateway configuration platform corresponding to the gateway, so that the timely and effective update of the incremental data set is achieved, and further the timeliness of the UI style update is further improved.
With further reference to fig. 5, as an implementation of the method shown in the foregoing figures, the present application provides an embodiment of a UI style updating device, where the embodiment of the device corresponds to the embodiment of the method shown in fig. 1, and the device may be specifically applied to various electronic devices.
As shown in fig. 5, the UI style updating device 500 of the present embodiment includes: a receiving module 501, a searching module 502 and a transmitting module 503.
The receiving module 501 may be configured to receive a request sent by a client, where the request includes related information of a UI style to be updated.
The searching module 502 may be configured to search, based on the gateway, target incremental data that matches the relevant information of the UI style to be updated in an incremental data set of a gateway configuration platform that is pre-stored in the gateway corresponding to the gateway.
The sending module 503 may be configured to send the target delta data to the client to update the UI style to be updated based on the gateway in response to determining that the target delta data exists.
In some alternatives of this embodiment, the apparatus further comprises: the updating module is configured to respond to the received incremental data sent by the server side, update the incremental data set based on the gateway configuration platform, and take the updated incremental data set as the incremental data set pre-stored on the gateway configuration platform corresponding to the gateway.
In some alternatives of this embodiment, the update module is further configured to: updating the incremental data to the incremental data set through a gateway configuration platform, and caching the incremental data to obtain the updated incremental data set.
In some optional manners of this embodiment, the incremental data includes information related to a 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 related 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 alternatives of this embodiment, the request further includes: irrelevant information of the UI style is to be updated.
According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.
As shown in fig. 6, there is a block diagram of an electronic device of a UI style updating method according to an embodiment of the present application.
600 Is a block diagram of an electronic device of a UI style updating method according to 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 telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 6, the electronic device includes: one or more processors 601, memory 602, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. 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 executing within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In other embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple electronic devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 601 is illustrated in fig. 6.
The memory 602 is a non-transitory computer readable storage medium provided by the present application. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the UI style updating method provided by the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the UI style updating method provided by the present application.
The memory 602 is used as a non-transitory computer readable storage medium for storing 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 transmitting module 503 shown in fig. 5) corresponding to the UI style updating method in the embodiment of the application. The processor 601 performs various functional applications of the server and data processing, i.e., implements the UI style updating 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, at least one application program required for a function; the storage data area may store data created by use of the electronic device of the UI style update, and the like. In addition, 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, memory 602 may optionally include memory remotely located with respect to processor 601, which may be connected to the UI style-updated electronic device via a network. 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, memory 602, input device 603 and output device 604 may be connected by a bus or otherwise, for example in fig. 6.
The input device 603 may receive input numeric or character information such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointer stick, one or more mouse buttons, a trackball, a joystick, and the like. The output means 604 may include a display device, auxiliary lighting means (e.g., LEDs), tactile feedback means (e.g., vibration motors), and the like. 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 may be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASIC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
These computing programs (also referred to as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. 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 pointing device (e.g., a mouse or 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 may 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 input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background 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 background, 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 a client and a server. The client and server are typically 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 provided by 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 appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed embodiments are achieved, and are not limited herein.
The above embodiments do not limit the scope of the present application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of the present application.

Claims (10)

1. A UI style updating 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, in the incremental data set of the gateway configuration platform corresponding to the gateway,
Searching target incremental data matched with the relevant information of the UI style to be updated according to a data identifier and a version number index which are created for the incremental data set in advance, wherein the incremental data are pushed to the gateway configuration platform in advance by a server side and are used for updating the UI style, the target incremental data comprise relevant information of the target UI style and corresponding modification data, the relevant information of the target UI style comprises a target data identifier and a target version number, the target data identifier is identical to the data identifier in the relevant information of the UI style to be updated, and the target version number is larger than the version number in the relevant information of the UI style to be updated;
And 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, the method further comprising:
And in response to receiving the 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 pre-stored on the gateway configuration platform corresponding to the gateway.
3. The method of claim 2, wherein the gateway-based configuration platform updates the incremental data set:
Updating the incremental data to the incremental data set through a gateway configuration platform, and caching the incremental data to obtain the updated incremental data set.
4. The method of claim 1, wherein the request further comprises: irrelevant information of the UI style is to be updated.
5. A UI style updating device, the device comprising:
The receiving module is configured to receive a request sent by a client, wherein the request comprises related information of a UI style to be updated;
The search module is configured to search target incremental data matched with the relevant information of the UI style to be updated according to a data identifier and a version number index which are created for the incremental data set in advance in an incremental data set of a gateway configuration platform corresponding to the gateway based on the gateway, the incremental data is pushed to the gateway configuration platform in advance by a server side, the incremental data is used for updating the UI style, the target incremental data comprises the relevant information of the target UI style and the corresponding modified data, the relevant information of the target UI style comprises a target data identifier and a target version number, the target data identifier is the same as the data identifier in the relevant information of the UI style to be updated, and the target version number is larger than the version number in the relevant information of the UI style to be updated;
And the sending module is configured to send the target increment data to the client based on the gateway to update the UI style to be updated in response to determining that the target increment data exists.
6. The apparatus of claim 5, wherein the apparatus further comprises:
The updating module is configured to respond to the received incremental data sent by the server side, update the incremental data set based on the gateway configuration platform, and take the updated incremental data set as the incremental data set pre-stored on the gateway configuration platform corresponding to the gateway.
7. The apparatus of claim 6, wherein the update module is further configured to:
Updating the incremental data to the incremental data set through a gateway configuration platform, and caching the incremental data to obtain the updated incremental data set.
8. The apparatus of claim 5, wherein the request further comprises: irrelevant information of the UI style is to be updated.
9. An electronic device, comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores 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-4.
10. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-4.
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 CN113094139A (en) 2021-07-09
CN113094139B true 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)

Families Citing this family (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 (7)

* 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
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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9426249B2 (en) * 2013-08-05 2016-08-23 Salesforce.Com, Inc. Providing an improved web user interface framework for building web applications
US11140046B2 (en) * 2018-08-08 2021-10-05 Servicenow, Inc. Offline updates for native mobile applications

Patent Citations (7)

* 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
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
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技术的网络应用研究与分析;李进军;电脑知识与技术;20141225(第36期);全文 *

Also Published As

Publication number Publication date
CN113094139A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN111767069B (en) Applet processing method, server, device and storage medium
US11403117B2 (en) Methods for processing mini program, and related devices
CN111666585B (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
US20210108931A1 (en) Method and apparatus for determining hybrid travel route, device and storage medium
CN111478956B (en) Deployment and preview method and device of small program package
CN112073994A (en) Method and device for over-the-air upgrading, electronic equipment and readable storage medium
KR102572726B1 (en) Compiling optimization method and device for hosting application, electronic equipment and readable storage medium
KR102550540B1 (en) Landing page processing method, device, equipment and medium
CN111782254A (en) Method, device, equipment and storage medium for upgrading object
KR102546577B1 (en) Method and device for mini program data processing
CN111510466B (en) Data updating method and device for client, electronic equipment and readable medium
CN111666293A (en) Database access method and device
WO2023221416A1 (en) Information generation method and apparatus, and device and storage medium
CN111782229B (en) Method and device for starting small program and electronic equipment
CN113094139B (en) UI style updating method and device
CN112565356B (en) Data storage method and device and electronic equipment
CN111767442B (en) Data updating method, device, search server, terminal and storage medium
CN111432011B (en) Block chain network communication method and equipment
CN112165430B (en) Data routing method, device, equipment and storage medium
JP7322194B2 (en) DATA UPDATE METHOD, DEVICE, SEARCH SERVER, TERMINAL AND STORAGE MEDIUM
CN110531952B (en) Voice skill processing method, device and equipment
CN112507100B (en) Update processing method and device of question-answering system
US20230206756A1 (en) Method and system of controlling traffic lighting apparatus, electronic device and storage medium
CN113382089B (en) Data pushing method and device of B/S (browser/Server) architecture

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