Cross-data-source query method and system based on message queue and server node
A message queue and cross-data source technology, applied in database management systems, electronic digital data processing, structured data retrieval, etc., can solve the problem of low query throughput, non-expandable, high real-time requirements and high throughput. And other issues
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] Such as figure 1 As shown, this embodiment provides a message queue-based cross-data source query method, including:
[0041] Step S100, generating SOL statements based on the data input by the user;
[0042] Step S200, optimizing the SOL statement to obtain the SOL statement with the highest execution efficiency;
[0043] Step S300, obtaining search data according to the SOL statement with the highest execution efficiency, and updating the local node according to the search data;
[0044] Step S400, randomly mirror the update data to the message queues of each node in the pre-configured message queue cluster.
[0045] Steps S100 to S400 of the method for querying across data sources based on message queues in this embodiment will be described in detail below.
[0046] Step S100, generating SOL statements based on the data input by the user.
[0047] In this embodiment, if figure 2 As shown, a specific implementation of generating the SOL statement based on the qu...
Embodiment 2
[0068] Such as Figure 7 As shown, this embodiment provides a message queue-based cross-data source query system 100, the message queue-based cross-data source query system 100 includes: SOL preprocessing module 110, SOL optimization module 120 and metadata update module 130 .
[0069] In this embodiment, the SOL preprocessing module 110 is used to generate SOL sentences based on the data input by the user.
[0070] Wherein, the SOL pre-processing module 110 generates SOL statements according to variables to be queried, grouping and / or association of operation data, and metadata of local nodes.
[0071] In this embodiment, the message queue-based cross-data source query system 100 further includes: a visualization operation module 140, configured to declare variables to be queried, group and / or associate operation data.
[0072] Specifically, in this embodiment, the variables to be queried are declared through the RabbitMQ management page of the visual operation module 140, ...
Embodiment 3
[0085] Such as Figure 9 As shown, this embodiment also provides a server node 1100, such as Figure 8 As shown, the server node 1100 includes a processor 1101 , a memory 1102 and a display 1103 . In one embodiment, the display may be an OLED, LED or LCD display, etc., and the display 1103 may also include an interactive display device such as a touch screen, which is not specifically limited in this embodiment.
[0086] The memory 1102 is connected to the processor 1101 through the system bus to complete mutual communication, the memory 1102 is used to store computer programs, the processor 1101 is coupled to the display 1003 and the memory 1002, and the processor 1101 is used to run the computer programs, so that The server node 1100 executes the message queue-based cross-data source query method described in Embodiment 1. Embodiment 1 has described the message queue-based cross-data source query method in detail, so details will not be repeated here.
[0087]The message ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


