Information synchronization method, device and system
A technology of information synchronization and messaging, applied in the computer field, to achieve the effect of ensuring final consistency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0110] see figure 2 , the first aspect of the embodiment of the present application shows a data synchronization system, the system includes: an application platform server 31, a query database 32 connected to the application platform server 31, the query database 32 is set in the application The internal or independent setting of the platform server 31, the application platform server 31 is connected with the Java end 33 through the Internet;
[0111] 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.
[0112] The application platform server 31 is configured to implement the method shown in the embodiment of the present application;
[0113] For receiving the execution message, (1) determining the reconstruction flag of the index corresponding to the execution message;
[0114] The execution message includes; an update message and ...
Embodiment 2
[0123] Please refer to 3, the first aspect of the embodiment of this application shows an information synchronization method, the method includes:
[0124] S101 receives an execution message, and determines the reconstruction flag of the index corresponding to the execution message;
[0125] The execution message includes; an update message and a reconstruction message;
[0126] The rebuilding flag is a specified value of the system. If the index is being rebuilt, the rebuilding flag is 1, and if the index is not being rebuilt, the rebuilding flag is 0. In practical applications, it can be distinguished between the index being rebuilt and the index being rebuilt. Inconsistent representation methods that are not in the reconstruction state are all within the scope of protection of the methods shown in the embodiments of the present application, and will not be illustrated here due to limited space.
[0127] It is worth noting that the Redis queue records the reconstruction fla...
Embodiment 3
[0133] see Figure 4 , Embodiment 3 has similar steps to Embodiment 2, the only difference is that step S101 in the technical solution shown in Embodiment 2 includes the following steps:
[0134] S1011 Receive an execution message, where the execution message includes: an update message, and a reconstruction message;
[0135] The update message includes: relevant document insertion, replacement, and deletion related data in the index.
[0136] The rebuild message includes data related to index rebuilding.
[0137] S1012 judge the type of the execution message;
[0138] For the update message, first access the Redis queue to obtain the rebuild flag of the index corresponding to the update message, if the index is not being updated, then directly update the data, the update includes: insertion of data, replacement, And, delete.
[0139] If the index is not being updated, the update message is directly sent to the Redis queue, and the Redis queue caches the update message.
...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com