Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for synchronizing relational database and search engine and computer storage medium

A search engine and database technology, applied in the synchronization of relational databases and search engines, and in the field of computer storage media, can solve problems such as synchronization of search engines

Inactive Publication Date: 2021-06-04
浙江太美医疗科技股份有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But this method can solve the problem of database log file parsing, and does not solve the problem of search engine synchronization

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for synchronizing relational database and search engine and computer storage medium
  • Method and device for synchronizing relational database and search engine and computer storage medium
  • Method and device for synchronizing relational database and search engine and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some examples or embodiments of the present application, and those skilled in the art can also apply the present application to other similar scenarios. Unless otherwise apparent from context or otherwise indicated, like reference numerals in the figures represent like structures or operations.

[0025] As indicated in this application and claims, the terms "a", "an", "an" and / or "the" do not refer to the singular and may include the plural unless the context clearly indicates an exception. Generally speaking, the terms "comprising" and "comprising" only suggest the inclusion of clearly identified steps and elements, and these steps and elements do not constitute an exclusive list, and ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and device for synchronizing a relational database and a search engine and a computer storage medium. The method comprises the steps of: establishing a first link, sending a slave server data request to a master server where a relational database is located, so that the master server pushes a log file, and the log file is generated when the master server modifies the relational database; obtaining a log file pushed by the main server by using the first link; establishing a second link, and sending a database connection request to the relational database to obtain a plurality of field names associated with the log file; determining a latest version field name according to the obtained multiple field names; analyzing the log file by using the latest version field name to obtain an analysis result; and pushing the analysis result to a search engine.

Description

technical field [0001] The invention mainly relates to the field of data, in particular to a method, device and computer storage medium for synchronizing a relational database and a search engine. Background technique [0002] At present, relational databases are the mainstream storage method for online systems, but relational databases cannot support indexes, especially multi-field arbitrary combination indexes and full indexes. Therefore, a search engine is usually introduced to do the search, which brings about the synchronization problem between the relational database and the search engine. One solution to this problem is the dual-write mode, that is, the data is stored in the relational database and the search engine at the same time. This method must ensure that the writing of the relational database and the writing of the search engine in the code is atomic. Once one succeeds and the other fails, it will lead to data inconsistency. Another solution is the database ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/27G06F16/28G06F11/34
CPCG06F16/275G06F16/284G06F11/3476
Inventor 万帮喜周俊辉
Owner 浙江太美医疗科技股份有限公司