CN110659299A - Data updating method and device and front-end development client - Google Patents

Data updating method and device and front-end development client Download PDF

Info

Publication number
CN110659299A
CN110659299A CN201910818052.2A CN201910818052A CN110659299A CN 110659299 A CN110659299 A CN 110659299A CN 201910818052 A CN201910818052 A CN 201910818052A CN 110659299 A CN110659299 A CN 110659299A
Authority
CN
China
Prior art keywords
update
source data
data
updating
request
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
CN201910818052.2A
Other languages
Chinese (zh)
Other versions
CN110659299B (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910818052.2A priority Critical patent/CN110659299B/en
Publication of CN110659299A publication Critical patent/CN110659299A/en
Application granted granted Critical
Publication of CN110659299B publication Critical patent/CN110659299B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The invention provides a method and a device for updating data and a front-end development client, wherein the method comprises the following steps: acquiring an update request of source data, wherein the update request carries the source data and update response information, and the update response information is used for indicating an update type of the source data; acquiring target data according to the updating request and generating an updating record of the source data; sending the target data to a display component to cause the display component to update the source data with the target data. The invention solves the technical problem that the related technology is easy to cause the coupling of the components and the services when updating the data, can reduce the quantity of injected services of the components, avoid the coupling of the components and the services, also can avoid the components from updating the same data for many times, and reduces the performance loss of a software system.

Description

Data updating method and device and front-end development client
Technical Field
The invention relates to the field of computers, in particular to a method and a device for updating data and a front-end development client.
Background
In the related art, software includes a front end and a back end, which respectively need corresponding tools for development.
In the related art, Angular is one of mainstream frameworks developed at the front end, generally uses a service to cache an intermediate data state, and then components introduced into the service can share cache data in a manner of injection-dependent manner and all have authority to modify, so that the components are easy to tamper with the cache data to cause errors and cannot track the data. After another component changes the cache data, the data needs to be synchronized to other components which refer to the same service, although the problem can be solved by injecting a service which specially processes the synchronization problem, the more types of the cache data are, the more services are needed, the serious coupling is caused by the component injecting excessive services, and the performance loss is caused by the fact that the component updates the same data for many times. In order to solve the above problems, a responsive intermediate state management method is proposed to make data transmission transparent and synchronize data automatically.
In view of the above problems in the related art, no effective solution has been found at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for updating data and a front-end development client.
According to an embodiment of the present invention, there is provided a data updating method including: acquiring an update request of source data, wherein the update request carries the source data and update response information, and the update response information is used for indicating an update type of the source data; acquiring target data according to the updating request and generating an updating record of the source data; sending the target data to a display component to cause the display component to update the source data with the target data.
Optionally, the update request for obtaining the source data includes one of the following: acquiring a first update request of first source data, wherein the first update request carries the first source data and first update response information, and the first update response information is used for indicating that local data is used for updating the first source data; and acquiring a second update request of second source data, wherein the second update request carries the second source data and second update response information, and the second update response information is used for indicating that the first source data is updated by using remote data.
Optionally, obtaining target data according to the update request, and generating an update record of the source data, including: analyzing the updating request in the middleware to determine the updating type of the source data; when the update type is remote update, the middleware acquires update parameters from the source data and requests a backend Application Programming Interface (API) to query target data according to the update parameters; when the target data request is successful, the middleware responds to a callback function in the source data, so that the callback function transfers the target data from the middleware to a state manager, and generates an update record of the source data, wherein the update record comprises: update time, the source data, the target data.
Optionally, the method further includes: and when the target data request fails, generating error information in the middleware, and broadcasting the error information from the middleware to the subscribed functional components, wherein the error information is used for indicating that the source data update fails.
Optionally, obtaining target data according to the update request, and generating an update record of the source data, including: analyzing the updating request in the middleware to determine the updating type of the source data; when the update type is direct update, transmitting the source data to a state manager through the middleware, and locally querying target data according to a source data request by the state manager; after the state manager updates the source data with the target data, generating an update record of the source data, wherein the update record comprises: update time, the source data, the target data.
According to another embodiment of the present invention, there is provided an apparatus for updating data, including: an obtaining module, configured to obtain an update request for source data, where the update request carries the source data and update response information, and the update response information is used to indicate an update type of the source data; the processing module is used for acquiring target data according to the updating request and generating an updating record of the source data; and the sending module is used for sending the target data to a display component so that the display component updates the source data by using the target data.
Optionally, the obtaining module includes one of: a first obtaining unit, configured to obtain a first update request for first source data, where the first update request carries the first source data and first update response information, and the first update response information is used to indicate that local data is used to update the first source data; a second obtaining unit, configured to obtain a second update request for second source data, where the second update request carries the second source data and second update response information, and the second update response information is used to indicate that the first source data is updated by using remote data.
Optionally, the processing module includes: the determining unit is used for analyzing the updating request in the middleware and determining the updating type of the source data; the first processing unit is used for acquiring an update parameter from the source data by the middleware when the update type is remote update, and requesting to query target data from a back-end Application Programming Interface (API) according to the update parameter; a first recording unit, configured to, when the target data request is successful, the middleware responds to a callback function in the source data, so that the callback function passes the target data from the middleware to a state manager, and generates an update record of the source data, where the update record includes: update time, the source data, the target data.
Optionally, the processing module further includes: and the broadcasting unit is used for generating error information in the middleware and broadcasting the error information from the middleware to the subscribed functional components when the target data request fails, wherein the error information is used for indicating that the source data update fails.
Optionally, the processing module includes: the determining unit is used for analyzing the updating request in the middleware and determining the updating type of the source data; the second processing unit is used for transmitting the source data to a state manager through the middleware when the update type is direct update, and the state manager locally queries target data according to a source data request; a second recording unit, configured to generate an update record of the source data after the state manager updates the source data with the target data, where the update record includes: update time, the source data, the target data.
According to another embodiment of the present invention, there is provided a front-end development client including: functional component, display component, state manager, middleware, wherein the middleware comprises the device of the above embodiment.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the updating request of the source data is obtained, the target data is obtained according to the updating request, the updating record of the source data is generated, and finally the target data is sent to the display component, so that the display component uses the target data to update the source data.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a block diagram of a data update computer according to an embodiment of the present invention;
FIG. 2 is a flow diagram of a method of data updating according to an embodiment of the present invention;
FIG. 3 is an interaction diagram of data update according to an embodiment of the present invention;
FIG. 4 is a block diagram of an apparatus for updating data according to an embodiment of the present invention;
fig. 5 is a connection diagram of a front-end development client according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed in a computer, a front-end development client, middleware, a front-end development device, and other similar computing devices. Taking a computer as an example, fig. 1 is a block diagram of a data updating computer according to an embodiment of the present invention, and as shown in fig. 1, a computer 10 may include one or more processors 102 (only one is shown in fig. 1) (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), and a memory 104 for storing data, and optionally, the computer may further include a transmission device 106 for communication function and an input/output device 108. It will be appreciated by those of ordinary skill in the art that the configuration shown in FIG. 1 is illustrative only and is not intended to limit the configuration of the computer described above. For example, computer 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as a computer program corresponding to a control method for data update in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 104 may further include memory located remotely from processor 102, which may be connected to computer 10 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 transmission device 106 is used for receiving or transmitting data via a network. Specific examples of such networks may include wireless networks provided by the communications provider of computer 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In the present embodiment, a method for updating data is provided, and fig. 2 is a flowchart of a method for updating data according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, obtaining an update request of source data, wherein the update request carries the source data and update response information, and the update response information is used for indicating the update type of the source data;
in this embodiment, the update request may be acquired by detecting a user operation of the display component.
Step S204, acquiring target data according to the updating request and generating an updating record of the source data;
the update record of the present embodiment is used for recording and storing an update process of source data, and when a certain object is updated multiple times, the update record can be recorded in a time axis manner.
Step S206, sending the target data to the display component so that the display component updates the source data by using the target data.
Optionally, the target data may be sent through the functional component, and the target data is sent to the functional component first, and then the functional component is transferred to the display component.
Through the steps, the updating request of the source data is obtained, the target data is obtained according to the updating request, the updating record of the source data is generated, the target data is sent to the display component finally, so that the display component uses the target data to update the source data, the updating record of the updating process is generated, and the target data needing to be updated is sent to the display component actively, so that the technical problem that the components are coupled with the service easily when the data is updated in the related technology is solved, the quantity of injected services of the components can be reduced, the components are prevented from being coupled with the service, the components can be prevented from updating the same data for multiple times, and the performance loss of a software system is reduced.
In this embodiment, the update request for obtaining the source data may be, but is not limited to:
acquiring a first updating request of first source data, wherein the first updating request carries the first source data and first updating response information, and the first updating response information is used for indicating that the first source data is updated by using local data; the first source data is data such as entity objects and symbols. The update type directly overwrites the original data (source data) with the local update data.
And acquiring a second updating request of the second source data, wherein the second updating request carries the second source data and second updating response information, and the second updating response information is used for indicating that the remote data is used for updating the first source data. The second source data is a function with a callback, and other specific actions are responded in the callback function to realize data updating. The update type remotely obtains data to be updated (target data) from the backend API.
The present embodiment may obtain the target data in multiple ways, and the components called inside the device are different according to different update types, which is described in detail below:
in an implementation manner of this embodiment, acquiring the target data according to the update request, and generating the update record of the source data includes:
s11, analyzing the update request in the middleware to determine the update type of the source data;
s12, when the update type is remote update, the middleware acquires the update parameter from the source data and requests the backend application programming interface API to inquire the target data according to the update parameter;
s13, when the target data request is successful, the middleware responds to the callback function in the source data, so that the callback function transfers the target data from the middleware to the state manager, and generates an update record of the source data, wherein the update record comprises: update time, source data, target data.
Optionally, in another aspect of this embodiment, when the target data request fails, generating error information in the middleware, and broadcasting the error information from the middleware to the subscribed functional components, where the error information is used to indicate that the source data update fails.
In another implementation manner of this embodiment, acquiring the target data according to the update request, and generating the update record of the source data includes:
s21, analyzing the update request in the middleware to determine the update type of the source data;
s21, when the update type is direct update, transmitting the source data to the state manager through the middleware, and the state manager locally queries the target data according to the source data request;
s23, after the status manager updates the source data with the target data, generating an update record of the source data, wherein the update record includes: update time, source data, target data.
Fig. 3 is an interaction diagram of data update according to an embodiment of the present invention, where an interaction object includes a display component, a function component, middleware, and a state manager in the same client, and an interaction flow includes:
s1, the user submits the data to be updated (source data) and the response action to the middleware through the operation in the display component, such as clicking a button, etc. (e.g. step (r)), the response action can be divided into the following two types:
1) direct updating, namely directly covering the original data with updated data (target data), wherein the data to be updated is usually an entity object;
2) remote updating, namely acquiring other data to be updated from a back-end API (application program interface), wherein the data to be updated is usually a function with a callback, and responding other specific actions in the callback function to update the data to be updated;
and S2, after receiving the data to be updated, the middleware judges whether the data is directly updated or remotely updated through a response action.
If the data to be updated is directly updated, the data to be updated is transmitted to the state management (if step two), the state management updates the corresponding data (if step three), and the updating process is recorded; and (4) the middleware informs the state management updating action starting field (step (c)) during remote updating, acquires parameters from the data to be updated, acquires the data from a backend API (step (c)) and returns the data (step (c)). If the request is successful, the callback function in the data to be updated is responded, the callback function transmits the acquired data to the state management update, and the action ending field is updated (step (c)). If the request fails, the error information is returned to the function component, and the function component performs exception handling (step (c)) and records the updating process.
S3, state management provides all observable objects of the cache data, the middleware provides observable objects of the request failure, and the functional components respectively subscribe and are used for receiving the update data and the request error information. Since the state management and middleware notify data updates in a broadcast manner, the cached data obtained by all subscribed components is the same and is a synchronous response. The function component will pass the received data to the display component and the view will be updated synchronously. The functional component can also perform exception handling on data which fails to be requested, so that abnormal updating of the data is avoided. All the processes can be acquired in the additional function records, and the data transmission process is known.
In the client environment, most of the request interfaces are performed asynchronously, the return sequence and correctness of the acquired data need to be ensured, and the back-end server acquires the content from the database and returns the content to the middleware as known from the architecture diagram. The functions of the middleware of the present embodiment include: recording the data return sequence, wherein the data return sequence of each interface is recorded through a log to form a time axis; and verifying the correctness of the data, returning to the next unit if the data format is correct, filtering the data if the data format is wrong, and returning error prompt information with a uniform format to the component to ensure that the page of the client side is normally displayed. And transmitting the data to be cached to a state manager, monitoring data updating by the components through the subscription state manager, broadcasting by the state manager, and transmitting the updating data to all the subscribed components.
The embodiment performs action response and data processing between the components and the state manager by introducing the middleware, provides additional functions such as log management and the like, and tracks data update. The way that the components modify the cache data is managed, and tracking is provided, so that data transmission is transparent, the components update the data, and the components introduce the same cache data are automatically and synchronously updated.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In this embodiment, a data updating apparatus is further provided, and a front-end development client is used to implement the foregoing embodiments and preferred embodiments, which have already been described and are not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
The embodiment provides a data updating device, and fig. 4 is a block diagram of a data updating device according to an embodiment of the present invention, where the data updating device includes: an acquisition module 40, a processing module 42, and a sending module 44.
An obtaining module 40, configured to obtain an update request for source data, where the update request carries the source data and update response information, and the update response information is used to indicate an update type of the source data;
the processing module 42 is configured to obtain target data according to the update request, and generate an update record of the source data;
a sending module 44, configured to send the target data to a display component, so that the display component updates the source data with the target data.
Optionally, the obtaining module includes one of: a first obtaining unit, configured to obtain a first update request for first source data, where the first update request carries the first source data and first update response information, and the first update response information is used to indicate that local data is used to update the first source data; a second obtaining unit, configured to obtain a second update request for second source data, where the second update request carries the second source data and second update response information, and the second update response information is used to indicate that the first source data is updated by using remote data.
Optionally, the processing module includes: the determining unit is used for analyzing the updating request in the middleware and determining the updating type of the source data; the first processing unit is used for acquiring an update parameter from the source data by the middleware when the update type is remote update, and requesting to query target data from a back-end Application Programming Interface (API) according to the update parameter; a first recording unit, configured to, when the target data request is successful, the middleware responds to a callback function in the source data, so that the callback function passes the target data from the middleware to a state manager, and generates an update record of the source data, where the update record includes: update time, the source data, the target data.
Optionally, the processing module further includes: and the broadcasting unit is used for generating error information in the middleware and broadcasting the error information from the middleware to the subscribed functional components when the target data request fails, wherein the error information is used for indicating that the source data update fails.
Optionally, the processing module includes: the determining unit is used for analyzing the updating request in the middleware and determining the updating type of the source data; the second processing unit is used for transmitting the source data to a state manager through the middleware when the update type is direct update, and the state manager locally queries target data according to a source data request; a second recording unit, configured to generate an update record of the source data after the state manager updates the source data with the target data, where the update record includes: update time, the source data, the target data.
The embodiment further provides a front-end development client, and fig. 5 is a connection diagram of the front-end development client according to the embodiment of the present invention, which at least includes: functional component 50, display component 52, state manager 54, middleware 56, wherein the middleware comprises the apparatus as described in the above embodiments.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in an aspect of the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring an update request of source data, wherein the update request carries the source data and update response information, and the update response information is used for indicating the update type of the source data;
s2, acquiring target data according to the updating request and generating an updating record of the source data;
s3, sending the target data to a display component to enable the display component to update the source data by using the target data.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in an aspect of this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring an update request of source data, wherein the update request carries the source data and update response information, and the update response information is used for indicating the update type of the source data;
s2, acquiring target data according to the updating request and generating an updating record of the source data;
s3, sending the target data to a display component to enable the display component to update the source data by using the target data.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of data updating, comprising:
acquiring an update request of source data, wherein the update request carries the source data and update response information, and the update response information is used for indicating an update type of the source data;
acquiring target data according to the updating request and generating an updating record of the source data;
sending the target data to a display component to cause the display component to update the source data with the target data.
2. The method of claim 1, wherein obtaining the update request for the source data comprises one of:
acquiring a first update request of first source data, wherein the first update request carries the first source data and first update response information, and the first update response information is used for indicating that local data is used for updating the first source data;
and acquiring a second update request of second source data, wherein the second update request carries the second source data and second update response information, and the second update response information is used for indicating that the first source data is updated by using remote data.
3. The method of claim 1, wherein obtaining target data according to the update request and generating an update record of the source data comprises:
analyzing the updating request in the middleware to determine the updating type of the source data;
when the update type is remote update, the middleware acquires update parameters from the source data and requests a backend Application Programming Interface (API) to query target data according to the update parameters;
when the target data request is successful, the middleware responds to a callback function in the source data, so that the callback function transfers the target data from the middleware to a state manager, and generates an update record of the source data, wherein the update record comprises: update time, the source data, the target data.
4. The method of claim 3, further comprising:
and when the target data request fails, generating error information in the middleware, and broadcasting the error information from the middleware to the subscribed functional components, wherein the error information is used for indicating that the source data update fails.
5. The method of claim 1, wherein obtaining target data according to the update request and generating an update record of the source data comprises:
analyzing the updating request in the middleware to determine the updating type of the source data;
when the update type is direct update, transmitting the source data to a state manager through the middleware, and locally querying target data according to a source data request by the state manager;
after the state manager updates the source data with the target data, generating an update record of the source data, wherein the update record comprises: update time, the source data, the target data.
6. An apparatus for updating data, comprising:
an obtaining module, configured to obtain an update request for source data, where the update request carries the source data and update response information, and the update response information is used to indicate an update type of the source data;
the processing module is used for acquiring target data according to the updating request and generating an updating record of the source data;
and the sending module is used for sending the target data to a display component so that the display component updates the source data by using the target data.
7. The apparatus of claim 6, wherein the processing module comprises:
the determining unit is used for analyzing the updating request in the middleware and determining the updating type of the source data;
the first processing unit is used for acquiring an update parameter from the source data by the middleware when the update type is remote update, and requesting to query target data from a back-end Application Programming Interface (API) according to the update parameter;
a first recording unit, configured to, when the target data request is successful, the middleware responds to a callback function in the source data, so that the callback function passes the target data from the middleware to a state manager, and generates an update record of the source data, where the update record includes: update time, the source data, the target data.
8. A front-end development client, comprising: functional component, display component, state manager, middleware, wherein said middleware comprises an apparatus according to claim 6 or 7.
9. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 5 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 5.
CN201910818052.2A 2019-08-30 2019-08-30 Data updating method and device and front-end development client Active CN110659299B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910818052.2A CN110659299B (en) 2019-08-30 2019-08-30 Data updating method and device and front-end development client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910818052.2A CN110659299B (en) 2019-08-30 2019-08-30 Data updating method and device and front-end development client

Publications (2)

Publication Number Publication Date
CN110659299A true CN110659299A (en) 2020-01-07
CN110659299B CN110659299B (en) 2020-11-10

Family

ID=69036630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910818052.2A Active CN110659299B (en) 2019-08-30 2019-08-30 Data updating method and device and front-end development client

Country Status (1)

Country Link
CN (1) CN110659299B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113242169A (en) * 2021-05-10 2021-08-10 广东拓斯达科技股份有限公司 Multi-slave data updating method, system, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080263179A1 (en) * 2005-10-28 2008-10-23 Gerard John Buttner System and method for dynamically updating web pages using messaging-oriented middleware
CN103390041A (en) * 2013-07-18 2013-11-13 杭州东信北邮信息技术有限公司 Method and system for providing data service based on middleware
CN103678632A (en) * 2013-12-19 2014-03-26 成都市卓睿科技有限公司 System and method for updating data fast in data system
CN105335170A (en) * 2014-06-05 2016-02-17 阿里巴巴集团控股有限公司 Distributed system and incremental data updating method
CN105677250A (en) * 2016-01-04 2016-06-15 北京百度网讯科技有限公司 Method and device for updating object data in object storage system
CN105787077A (en) * 2016-03-02 2016-07-20 百度在线网络技术(北京)有限公司 Data synchronizing method and device
CN106657174A (en) * 2015-10-28 2017-05-10 阿里巴巴集团控股有限公司 Data synchronizing and updating methods and data synchronizing and updating devices
CN109586948A (en) * 2018-10-16 2019-04-05 深圳壹账通智能科技有限公司 Update method, apparatus, computer equipment and the storage medium of system configuration data
CN109634599A (en) * 2018-12-14 2019-04-16 北京字节跳动网络技术有限公司 Display methods, device, equipment and the storage medium of page view

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080263179A1 (en) * 2005-10-28 2008-10-23 Gerard John Buttner System and method for dynamically updating web pages using messaging-oriented middleware
CN103390041A (en) * 2013-07-18 2013-11-13 杭州东信北邮信息技术有限公司 Method and system for providing data service based on middleware
CN103678632A (en) * 2013-12-19 2014-03-26 成都市卓睿科技有限公司 System and method for updating data fast in data system
CN105335170A (en) * 2014-06-05 2016-02-17 阿里巴巴集团控股有限公司 Distributed system and incremental data updating method
CN106657174A (en) * 2015-10-28 2017-05-10 阿里巴巴集团控股有限公司 Data synchronizing and updating methods and data synchronizing and updating devices
CN105677250A (en) * 2016-01-04 2016-06-15 北京百度网讯科技有限公司 Method and device for updating object data in object storage system
CN105787077A (en) * 2016-03-02 2016-07-20 百度在线网络技术(北京)有限公司 Data synchronizing method and device
CN109586948A (en) * 2018-10-16 2019-04-05 深圳壹账通智能科技有限公司 Update method, apparatus, computer equipment and the storage medium of system configuration data
CN109634599A (en) * 2018-12-14 2019-04-16 北京字节跳动网络技术有限公司 Display methods, device, equipment and the storage medium of page view

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113242169A (en) * 2021-05-10 2021-08-10 广东拓斯达科技股份有限公司 Multi-slave data updating method, system, equipment and storage medium

Also Published As

Publication number Publication date
CN110659299B (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN110413418B (en) Cache synchronization device and method, cache synchronization system and electronic equipment
CN109547524B (en) User behavior storage method, device, equipment and storage medium based on Internet of things
EP2214372A1 (en) Method and apparatus for tracking device management data changes
JP2019506764A (en) System and method for obtaining, processing and updating global information
CN111464646B (en) Information processing method, information processing apparatus, electronic device, and medium
CN110659299B (en) Data updating method and device and front-end development client
CN111008032A (en) Page data updating method and device
CN114448686A (en) Cross-network communication device and method based on micro-service
CN107577822B (en) Data synchronization method, data synchronization device and mobile terminal
CN111400266B (en) Data processing method and system, and diagnosis processing method and device for operation event
CN110865973B (en) Data processing method and equipment and related device
CN111190625A (en) APP version upgrading method, server, client and computer readable storage medium
CN100382506C (en) Method for verifying network-unit server in network management system
US20180063242A1 (en) Method and apparatus for operating infrastructure layer in cloud computing architecture
CN110858201B (en) Data processing method and system, processor and storage medium
CN112650815A (en) Method and device for synchronizing environmental data, storage medium and electronic device
CN113783921A (en) Method and device for creating cache component
CN110908886A (en) Data sending method and device, electronic equipment and storage medium
CN110750424A (en) Resource inspection method and device
US11799982B2 (en) Message push method, apparatus, device and medium
CN112564953B (en) Method, device and equipment for managing remote equipment of office
CN110688231B (en) Method, device and system for processing read-write request statistical information
CN112135162B (en) Service execution method, device and server
CN117743350A (en) Data acquisition method and device and nonvolatile storage medium
CN116048601A (en) Software version information synchronization method, system and device

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