A data update method, device and system
A data update and database technology, applied in the computer field, can solve problems that affect the utilization of system bandwidth resources, occupy resources of application platform servers, useless polling, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] The first aspect of the embodiment of the present application shows a data update system, please refer to figure 1 , the system includes: an application platform server 31, a query database 32 connected to the application platform server 31, the query database 32 is arranged inside or independently of the application platform server 31, and the application platform server 31 Connect with the Java terminal 33 through the Internet;
[0075] The Java end 33 is used to search out the update data based on the update document ID, and use the update data to update the index corresponding to the Elasticsearch search engine, and the data.
[0076] It is worth noting that the application platform server 31 will update the document ID, encapsulate it into a message and send it to the message queue;
[0077] The Java end 33 is used to monitor the message queue; parse the message queue, query the latest data from the query data according to the update document ID, and update the in...
Embodiment 2
[0087] The second aspect of the embodiment of this application shows a data update method, please refer to figure 2 , the method includes:
[0088] S101 Determine the update item, the update item includes: update column name, and update data, the update column name is the column name corresponding to the update data;
[0089] The update item is historical data, which is inconsistent with real-time data;
[0090] for example:
[0091] historical data:
[0092] VIN code color car age 123 red 1 year 124 red 2 years 125 red 3 years
[0093] Real-time data:
[0094]
[0095]
[0096] It can be seen that for the vehicle with VIN code 123, the real-time data is different from the historical data. At this time, the update item is defined as: update column name: vehicle age, update data: 4 years.
[0097] S102 Determine the target index according to the updated column name and the updated data;
[0098] It is worth noting that, in ...
Embodiment 3
[0112] see image 3 ;
[0113] In order to further shorten the rate of obtaining update items and ensure the real-time performance of the method shown in the embodiment of the present application, the embodiment of the present application shows a method for comparing historical data and real-time data. For details, please refer to image 3 ;
[0114] Embodiment 3 and the technical solution shown in embodiment 2 have similar steps, the only difference is that step S101 in the technical solution shown in embodiment 2 includes the following steps:
[0115] Optionally, the step of determining an update item includes:
[0116] S1011 Acquire monitoring data, the monitoring data includes: historical data, and real-time data;
[0117] Acquisition of monitoring data includes active acquisition of the application platform database and active push of the query database;
[0118] When updating, include even-numbered rows: such as 2 rows, then 0 is the data before the update, and 1 is ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


