CN111897836A - Search system, method and storage medium - Google Patents

Search system, method and storage medium Download PDF

Info

Publication number
CN111897836A
CN111897836A CN202010637068.6A CN202010637068A CN111897836A CN 111897836 A CN111897836 A CN 111897836A CN 202010637068 A CN202010637068 A CN 202010637068A CN 111897836 A CN111897836 A CN 111897836A
Authority
CN
China
Prior art keywords
search
data
platform
target
index
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.)
Pending
Application number
CN202010637068.6A
Other languages
Chinese (zh)
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
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 China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202010637068.6A priority Critical patent/CN111897836A/en
Publication of CN111897836A publication Critical patent/CN111897836A/en
Pending legal-status Critical Current

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/24Querying
    • G06F16/245Query processing
    • G06F16/2452Query translation
    • G06F16/24522Translation of natural language queries to structured queries
    • 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/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines

Abstract

The invention discloses a search system, a method and a storage medium, wherein the system comprises: the search platform is used for determining a target search statement and a target index according to the search statement input by the user; the search engine is used for inquiring the data index database corresponding to the target index according to the search words corresponding to the target search sentences, determining the data types corresponding to the search sentences and sending the data types to the search platform; and the data platform is used for acquiring a query template determined by the search platform according to the data category, searching a database according to the query template, and determining a query result corresponding to the search statement, wherein the database comprises a data index database. The problem of resource waste caused by the fact that all data in a data platform need to be stored in a search engine when the search engine is used for searching in the traditional method is solved, the search engine only stores partial data during data query, resources are saved, time is saved, workload is reduced and working efficiency is improved when the search engine and the data platform are synchronized.

Description

Search system, method and storage medium
Technical Field
Embodiments of the present invention relate to data search technologies, and in particular, to a search system, a search method, and a storage medium.
Background
The services covered in the financial field are relatively wide, so different systems exist for different services, data in the financial field are often distributed in the different systems, data structures in the different systems are also different, and the prior art centralizes the scattered data together for management in a manner of big data clusters and the like.
At present, when searching for desired data in the centralized data, professional personnel who have experience of using a big data cluster and are familiar with a data structure in the data cluster are generally required to obtain the required information, and it is difficult for business practitioners in the ordinary financial field to simply search for the required information. Or the entity is corresponding to an entity object in the real business by designing a data platform, and searching is carried out through a search engine, but all data in the data platform needs to be put into the search engine to be searched by using natural language. The fact that all data in the data platform are stored in the search engine means that all data are stored in the search engine and the data platform respectively, resources are wasted, and time and labor are consumed when the data in the search engine library and the data in the data platform are synchronized.
Disclosure of Invention
The invention provides a search system, a search method and a storage medium, which are used for realizing accurate data query and saving resources.
In a first aspect, an embodiment of the present invention provides a search system, where the search system includes:
the search platform is used for determining a target search statement and a target index according to the search statement input by the user;
the search engine is used for inquiring a data index database corresponding to the target index according to the search words corresponding to the target search sentences, determining the data types corresponding to the search sentences and sending the data types to the search platform;
and the data platform is used for acquiring a query template determined by the search platform according to the data category, searching a database according to the query template, and determining a query result corresponding to the search statement, wherein the database comprises the data index database.
In a second aspect, an embodiment of the present invention further provides a search method, where the search method includes:
the search platform determines a target search statement and a target index according to the search statement input by the user;
the search engine queries a data index database corresponding to the target index according to the search word corresponding to the target search statement, determines the data category corresponding to the search statement, and sends the data category to the search platform;
and the data platform acquires a query template determined by the search platform according to the data category, searches a database according to the query template, and determines a query result corresponding to the search statement, wherein the database comprises the data index database.
In a third aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a search method according to any one of the embodiments of the present invention.
The embodiment of the invention provides a search system, a search method and a storage medium, wherein the search system, the search method and the storage medium are used for determining a target search statement and a target index according to the search statement input by a user through a search platform; the search engine is used for inquiring a data index database corresponding to the target index according to the search words corresponding to the target search sentences, determining the data types corresponding to the search sentences and sending the data types to the search platform; the data platform is used for acquiring the query template determined by the search platform according to the data category, searching the database according to the query template and determining the query result corresponding to the search statement, the database comprises the data index database, the problem of resource waste caused by the fact that all data in the data platform needs to be stored in the search engine when the search engine is used for searching in the traditional method is solved, partial data in the database of the data platform is stored through the data index database in the search engine, the data is firstly queried and matched in the data index database when the data is searched, then the data is queried in the data platform, the effect of saving resources is realized because the search engine only stores partial data when the data is queried, and the time is saved because the search engine and the data platform are synchronized, the workload is reduced, and the working efficiency is improved.
Drawings
FIG. 1 is a block diagram of a search system according to a first embodiment of the present invention;
FIG. 2 is a diagram showing a search system according to a second embodiment of the present invention;
fig. 3 is a flowchart of a searching method in the third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a structural diagram of a search system according to an embodiment of the present invention, where the embodiment is applicable to a case of searching data, the search system includes: a search platform 110, a search engine 120, and a data platform 130.
The search platform 110 is configured to determine a target search term and a target index according to the search term input by the user.
The search engine 120 is configured to query the data index base corresponding to the target index according to the search word corresponding to the target search statement, determine the data category corresponding to the search statement, and send the data category to the search platform.
And the data platform 130 is configured to obtain a query template determined by the search platform according to the data category, search a database according to the query template, and determine a query result corresponding to the search statement, where the database includes the data index library.
In this embodiment, the search platform 110 may be understood as an application platform providing a function of searching data for a user, and provides a query result for the user by connecting a search engine library and a data platform to perform data query; the search engine 120 may be understood as a system that collects information according to a certain policy and using a specific computer program to provide retrieval service for users and perform corresponding result display, for example, an ElasticSearch, a full text search engine with distributed multi-user capability; the search statement can be understood as a statement or data input by a user on a search platform, when the user queries the data, the user needs to input the data on the search platform, for example, "how high the yaming is", and after receiving the search statement input by the user, the search platform sends corresponding information to a search engine for querying; the target search statement may be understood as a statement that the search platform determines according to the search statement and sends to the search engine, for example, the search statement is "how high the yaoming is", and the target search statement is "how high the target search statement is", and the target search statement may be a whole search statement or a partial search statement; the target index may be understood as an index indicating that the search engine makes a query in a corresponding database, such as an attribute value index library, an attribute name index library, an attribute value index library may be understood as a database storing attribute values and attribute names of data types correspondingly, and an attribute name index library may be understood as a database storing attribute names and data types correspondingly.
The search platform is provided with a search box or other interfaces or virtual keys capable of achieving the function of receiving information input by a user on a display interface, the user inputs a search statement on the search platform, the search statement comprises related information of the search intention of the user, a target search statement and a target index are determined according to the search statement, and the target index is determined when the target search statement is determined. For example, when the target search statement is "how high the height of yaoming is", the target index is an attribute value index library; when the target search statement is "what height is", the target index is an attribute name index library.
In this embodiment, the search term can be understood as a term that is retrieved in the database as a search term, for example, the target search statement is "how high the yaoming is", and the search term is the yaoming; the data index library can be understood as an index library for storing different types of data in a search engine, and comprises an attribute value index library and an attribute name index library; a data category may be understood as a category, e.g., "person", to which a search term in a search statement corresponds.
The search engine receives a target search statement and a target index sent by the search platform, analyzes the statement to determine a search word in the target search statement, queries a data index database corresponding to the target index according to the search word, determines a data category corresponding to the search word, and feeds the data category back to the search platform. And when the number of the search words contained in the search sentence is more than one, searching for a plurality of times and returning the data categories corresponding to the search words.
In this embodiment, the data platform 130 may be an application platform for storing data, and data that a user may query is stored in the data platform in advance. An entity refers to something in the real world, such as a person, place name, company, phone, animal, etc.; relationships are used to express some kind of linkage between different entities. The knowledge graph is a relational network obtained by connecting all kinds of information together, so the knowledge graph provides the capability of analyzing problems from the perspective of relationship. Analyzing all data, determining which entities exist, and which entities can be used as natural language search subjects by a user, determining which entities need to be dumped to a search engine, searching by the user according to which attribute names or attribute values, determining which attribute names and attribute values need to be dumped to the search engine, determining which attribute names of all entities exist, and the like, and constructing a data platform and a data index database in the search engine. The query template can be understood as a template used for querying data, and can be a computer program language with a fixed format; a database may be understood as a kind of database that stores data in a data platform.
The different types of data categories correspond to different query templates, for example, people to people, people to things, and the like, the search platform determines the query template to be used according to the data categories fed back by the search engine, adds the search terms to the corresponding positions in the query template to form a language capable of querying the database, or adds the search terms to the corresponding positions in the query template to form query sentences, correspondingly converts the query sentences formed by the query template into a language capable of being executed by the data platform for querying, and further determines query results.
The embodiment of the invention provides a search system, which is characterized in that a target search statement and a target index are determined according to a search statement input by a user through a search platform; the search engine queries a data index database corresponding to the target index according to the search word corresponding to the target search statement, determines the data category corresponding to the search statement, and sends the data category to the search platform; the data platform obtains the query template determined by the search platform according to the data category, searches the database according to the query template, and determines the query result corresponding to the search statement, the database comprises the data index database, the problem of resource waste caused by the fact that all data in the data platform need to be stored in the search engine when the search engine is used for searching in the traditional method is solved, partial data in the database of the data platform is stored through the data index database in the search engine, the data is firstly queried and matched in the data index database when the data is searched, then the data is queried in the data platform, the effect of saving resources is realized because the search engine only stores partial data when the data is queried, and the time is saved when the search engine and the data platform are synchronized, the workload is reduced, and the working efficiency is improved.
Example two
Fig. 2 is a structural diagram of a search system according to a second embodiment of the present invention. The technical solution of this embodiment is further refined on the basis of the above technical solution, and the search system includes: a search platform 210, a search engine 220, and a data platform 230, the search platform 210 comprising: a sentence parsing module 211 and a template matching module 212.
The sentence analyzing module 211 is configured to send the search sentence as a target search sentence and the attribute value index base as a target index to the search engine, and after receiving a first data category corresponding to a first search word fed back by the search engine, if a search sentence with the first search word removed exists, send the search sentence with the first search word removed as the target search sentence and the attribute name index base as the target index to the search engine, and receive a second data category corresponding to a second search word fed back by the search engine.
And the template matching module 212 is configured to determine a query template according to the first data category and/or the second data category sent by the search engine in combination with a preset template mapping relationship.
In this embodiment, the statement parsing module 211 may be understood as a computer virtual module that parses and otherwise processes the received data; template matching module 212 may be understood as a computer virtual module that matches a corresponding query template according to data category; the first search term and the second search term may be understood as different search terms in a search sentence, and the search term searched for the first time is taken as the first search term and the search term searched for the second time is taken as the second search term. The first data category and the second data category can be understood as the data category corresponding to the search term, the data category corresponding to the first search term is the first data category, and the data category corresponding to the second search term is the second data category; the preset template mapping relationship can be understood as a corresponding relationship between the data category and the query template.
After receiving the search sentence input by the user, the search platform 210 parses the search sentence through the sentence parsing module 211 and sends the parsed search sentence to the search engine. The sentence parsing module 211 first uses the search sentence of the whole sentence as a target search sentence, uses the attribute value index as a target index, and sends the target index to the search engine 220, and the search engine 220 parses the target search sentence to determine a first search word, performs a corresponding query according to the first search word to determine a first data type corresponding to the first search word, and feeds the first search word back to the sentence parsing module 211. The sentence parsing module 211 receives the first search term and the first data category, determines whether other terms exist in the search sentence after the first search term is removed, if so, sends the search sentence with the first search term removed as a target search sentence and the attribute name index library as a target index to the search engine 220, the search engine 220 parses the target search sentence to determine a second search term, performs corresponding query according to the second search term to determine a second data category corresponding to the second search term, and feeds the second search term back to the sentence parsing module 211. The statement parsing module 211 sends the data category to the template matching module if the data category received by the statement parsing module is the first data category, or the first data category and the second data category, and the template matching module searches a preset template mapping relationship according to the data category to determine a query template corresponding to the data category.
Further, the search platform 210 further includes:
and the display module 213 is configured to receive the query template sent by the template matching module, send the query template to the data platform, and receive a query result fed back by the data platform.
In this embodiment, the presentation module 213 may be understood as a computer virtual module that connects the search platform and the data platform and presents data.
The display module receives the query template sent by the template matching module, and sends the query template to the data platform 230, so that the data platform queries data according to the query template, and the display module 213 receives the query result fed back by the data platform.
Further, the display module 213 is further configured to display the query result according to a set display rule.
In this embodiment, the presentation rule may be understood as a presentation form of a preset query result, such as a graphic presentation, a table presentation, and the like. The presentation rule may be freely set by the user or may be a default presentation rule.
When the user inputs the search sentence, the user can input the presentation rule at the same time, for example, the user inputs "height type of yaoming: excel ', wherein the statement parsing module can parse out "yaoming's height" as the search statement, the show rule is excel (table), sends the show rule to the show module, and the show module shows the inquiry result according to the show rule, when showing the inquiry result according to the show rule that the user appointed, user's demand can be better satisfied, user experience is improved. Or when the user does not input the display rule, the display is performed according to the default display rule, the default display rule can automatically determine the corresponding display rule according to the data inquired by the user, or directly determine the fixed display rule to be a picture, a table, a character or the like, and a better and more appropriate display mode can be selected by automatically determining the corresponding display rule according to the data inquired by the user; the fixed display rule is directly determined, so that the subsequent selection of the display rule is avoided, and the method is convenient and simple and does not need any operation.
Further, the statement parsing module 211 is further configured to: and if the first data types and/or the second data types sent by the search engine are at least two, determining a target data type according to a preset filtering rule, and feeding the target data type back to the template matching module so that the template matching module determines the query template by combining a preset template mapping relation.
In this embodiment, the preset filtering rule may be understood as a preset rule for screening data categories; the preset filtering rules comprise: a preset score or a preset neural network model, where the preset score may be understood as a score of different data categories, for example, the data category is "human", the preset score is 88, the data category is "object", and the preset score is 85; the preset neural network model can be understood as a pre-trained model, and the data types combined into the optimal combination can be determined according to a plurality of input data types; the target data category may be understood as a data category finally determined from a plurality of data categories corresponding to a search term.
If the search engine determines that the data types of one search term are at least two, for example, the first data type corresponding to the first search term is 2, which is "person" or "object", and the second data type corresponding to the second search term is 3, which is "person", "address" or "finance", the first data type is determined to be "person" and the second data type is "person" according to the preset filtering rule, and the "person" are fed back to the template matching module as the target data types. The target data category is selected according to the preset filtering rule, the content frequently searched by the user is determined, the data which the user wants to search can be better determined, the searching result is more in line with the intention of the user, and the user experience is improved.
Further, the search engine 220 is specifically configured to:
determining a corresponding search word according to the target search statement and a set statement analysis rule, determining a standard search word corresponding to the search word according to the search word and a search word mapping relation, querying a data index database corresponding to the target index according to the standard search word, determining a data category corresponding to the standard search word, and sending the data category to the search platform.
In this embodiment, the set sentence analysis rule may be understood as a preset rule for analyzing a target search sentence, for example, a stop word is defined to analyze the target search sentence, and the stop word may be a word that has no practical meaning, such as "yes" and may be directly omitted; the standard search term can be understood as an attribute name or an attribute value stored in the data index database; the search term mapping relationship may be understood as a correspondence relationship of a search term with a standard search term.
The search terms stored in the data index database cannot cover all search terms, or synonyms exist even if all the search terms are stored, the expressed meanings of the synonyms are the same, the data types of the synonyms are the same, if all the synonyms are stored correspondingly, resources are seriously wasted, for example, height, high-level terms are all used for inquiring the height, a plurality of synonyms do not need to be stored, and the synonyms of all the heights can be inquired correspondingly only by storing standard search terms, for example, the height, in the data index database. When the search word in the search sentence input by the user is not stored in the data index database or the search word input by the user contains a wrong word, analyzing the intention of the user and further determining the standard search word. The search engine 220 determines a search word in the target search sentence according to the target search sentence and the set sentence analysis rule, finds a standard search word corresponding to the search word by determining a mapping relationship of the search word, queries a data index database corresponding to the target index according to the standard search word, determines a data category corresponding to the standard search word, and sends the data category to the search platform 210.
Further, the search engine 220 is further configured to: and acquiring the attribute name and the attribute value of each data in the data platform according to a preset time interval, and updating a corresponding data index database according to each attribute name and attribute value.
In the present embodiment, the preset time interval may be understood as a preset data acquisition time interval, for example, 1h, 30min, and the like.
And extracting all attributes in the data platform according to a preset time interval, writing the attributes into an attribute name index library of a search engine in a fixed format, and taking charge of subsequent synchronization of addition, deletion and modification. For those data types (for example, entities in the knowledge graph) which can be used as natural language search subjects, the attribute values in the data types which can be used as searches are extracted, all the values are dumped to an attribute value index library of a search engine, and the updating of the data index library is completed.
The process of searching data by the search system is illustrated by way of example. When the user inputs the "increase of yaoming", the sentence analysis module 211 in the search platform 210 takes the "increase of yaoming" as a target search sentence, the "attribute value index library" as a target string and sends the target string to a search engine, the search engine determines that the first search word is "yaoming" according to the "increase of yaoming" and a set sentence analysis rule, determines that the standard search word is "yaoming" according to a search word mapping relation, determines that the data category is person and company according to the search attribute value index library, and feeds the yaoming, person and company back to the search platform. The search platform takes the 'rise of YaoMing removed' as a target search statement, an 'attribute name index library' as a target index is sent to a search engine, the search engine determines that a second search word is 'rise' according to the 'rise of YaoMing' in combination with a set statement analysis rule, determines that a standard search word is 'height' in combination with a search word mapping relation, the search attribute name index library determines that the data category is human and animal, the height, human and animal are fed back to the statement analysis module 211, the statement analysis module 211 determines that the target data category is 'human' and 'human' according to a preset filtering rule, the target data category is sent to a template matching module, the template matching module determines a query template according to the target data category in combination with a preset template mapping relation, the query template is sent to the data platform through a display module, the database is searched according to the query template, and determining that the query result corresponding to the search statement is 2.3m, feeding back the 2.3m to the display module, and displaying the query result 2.3m by the display module according to a set display rule. When the search sentence input by the user contains more than two search words, for example, the "height of the wife" is searched, the "height of the wife" contains the "wife" and the "height", the search engine takes the "wife" and the "height" as a search, the search result is filtered according to a preset filtering rule, and the data category corresponding to the wife or the height as the search word is determined.
The embodiment of the invention provides a search system, which solves the problem of resource waste caused by the fact that all data in a data platform needs to be stored in a search engine when the search is carried out through the search engine in the traditional method, realizes the effect that a search engine library only stores partial data and saves resources when data is inquired, and the search engine only stores partial data, so that the time is saved, the workload is reduced, the working efficiency is improved when the search engine and the data platform carry out data synchronization.
EXAMPLE III
Fig. 3 is a flowchart of a search method provided in a third embodiment of the present invention, which is executed by a search system described in any embodiment, and the method includes the following steps:
step S310, the search platform determines a target search statement and a target index according to the search statement input by the user.
Step S320, the search engine queries the data index database corresponding to the target index according to the search word corresponding to the target search statement, determines the data category corresponding to the search statement, and sends the data category to the search platform.
Step S330, a data platform obtains a query template determined by the search platform according to the data category, searches a database according to the query template, and determines a query result corresponding to the search statement, wherein the database comprises the data index database.
The embodiment of the invention provides a searching method, which comprises the steps of determining a target searching statement and a target index according to a searching statement input by a user through a searching platform; the search engine queries a data index database corresponding to the target index according to the search word corresponding to the target search statement, determines the data category corresponding to the search statement, and sends the data category to the search platform; the data platform obtains the query template determined by the search platform according to the data category, searches the database according to the query template, and determines the query result corresponding to the search statement, the database comprises the data index database, the problem of resource waste caused by the fact that all data in the data platform need to be stored in the search engine when the search engine is used for searching in the traditional method is solved, partial data in the database of the data platform is stored through the data index database in the search engine, the data is firstly queried and matched in the data index database when the data is searched, then the data is queried in the data platform, the effect of saving resources is realized because the search engine only stores partial data when the data is queried, and the time is saved when the search engine and the data platform are synchronized, the workload is reduced, and the working efficiency is improved.
Further, the data index library comprises an attribute value index library and an attribute name index library.
Further, the search platform includes: a statement analysis module and a template matching module.
Accordingly, step S310 includes: the sentence analyzing module takes the search sentence as a target search sentence and takes the attribute value index base as a target index to be sent to the search engine, and after receiving a first data category corresponding to a first search word fed back by the search engine, if the search sentence with the first search word removed exists, the search sentence with the first search word removed is taken as the target search sentence and takes the attribute name index base as the target index to be sent to the search engine, and a second data category corresponding to a second search word fed back by the search engine is received.
The method comprises the following steps: and the template matching module determines a query template according to the data category sent by the search engine and a preset template mapping relation.
Further, the search platform further comprises: and a display module.
Correspondingly, the method further comprises the following steps:
and the display module receives the query template sent by the template matching module, sends the query template to the data platform and receives a query result fed back by the data platform.
Further, the method further comprises:
and the display module displays the query result according to a set display rule.
Further, the method further comprises:
and if the first data types and/or the second data types sent by the search engine are at least two, the statement analysis module determines a target data type according to a preset filtering rule, and feeds the target data type back to the template matching module, so that the template matching module determines the query template by combining a preset template mapping relation.
Further, the preset filtering rule includes: a preset score or a preset neural network model.
Further, step S320 includes: determining a corresponding search word according to the target search statement and a set statement analysis rule, determining a standard search word corresponding to the search word according to the search word and a search word mapping relation, querying a data index database corresponding to the target index according to the standard search word, determining a data category corresponding to the standard search word, and sending the data category to the search platform.
Further, the method further comprises:
and the search engine acquires the attribute name and the attribute value of each data in the data platform according to a preset time interval and updates the corresponding data index database according to each attribute name and attribute value.
The searching method provided by the embodiment of the invention can be executed by executing the searching system provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the executing method.
Example four
A fourth embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a search method, the method including:
the search platform determines a target search statement and a target index according to the search statement input by the user;
the search engine queries a data index database corresponding to the target index according to the search word corresponding to the target search statement, determines the data category corresponding to the search statement, and sends the data category to the search platform;
and the data platform acquires a query template determined by the search platform according to the data category, searches a database according to the query template, and determines a query result corresponding to the search statement, wherein the database comprises the data index database.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the search method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment 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 may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the above search apparatus, each included unit and module are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A search system, comprising:
the search platform is used for determining a target search statement and a target index according to the search statement input by the user;
the search engine is used for inquiring a data index database corresponding to the target index according to the search words corresponding to the target search sentences, determining the data types corresponding to the search sentences and sending the data types to the search platform;
and the data platform is used for acquiring a query template determined by the search platform according to the data category, searching a database according to the query template, and determining a query result corresponding to the search statement, wherein the database comprises the data index database.
2. The system of claim 1, wherein the data index repository comprises an attribute value index repository and an attribute name index repository, and wherein the search platform, in response, comprises:
the sentence analyzing module is used for sending the search sentence as a target search sentence and the attribute value index library as a target index to the search engine, and after receiving a first data category corresponding to a first search word fed back by the search engine, if the search sentence without the first search word exists, sending the search sentence without the first search word as the target search sentence and the attribute name index library as the target index to the search engine, and receiving a second data category corresponding to a second search word fed back by the search engine;
and the template matching module is used for determining a query template according to the data type sent by the search engine and a preset template mapping relation.
3. The system of claim 2, wherein the search platform further comprises:
and the display module is used for receiving the query template sent by the template matching module, sending the query template to the data platform and receiving a query result fed back by the data platform.
4. The system of claim 3, wherein the presentation module is further configured to present the query result according to a set presentation rule.
5. The system of claim 2, wherein the statement parsing module is further configured to:
and if the first data types and/or the second data types sent by the search engine are at least two, determining a target data type according to a preset filtering rule, and feeding the target data type back to the template matching module so that the template matching module determines the query template by combining a preset template mapping relation.
6. The system of claim 5, wherein the preset filtering rules comprise: a preset score or a preset neural network model.
7. The system of claim 1, wherein the search engine is specifically configured to:
determining a corresponding search word according to the target search statement and a set statement analysis rule, determining a standard search word corresponding to the search word according to the search word and a search word mapping relation, querying a data index database corresponding to the target index according to the standard search word, determining a data category corresponding to the standard search word, and sending the data category to the search platform.
8. The system of any of claims 1-7, wherein the search engine is further configured to:
and acquiring the attribute name and the attribute value of each data in the data platform according to a preset time interval, and updating a corresponding data index database according to each attribute name and attribute value.
9. A search method, performed by the search system of any one of claims 1-8, the method comprising:
the search platform determines a target search statement and a target index according to the search statement input by the user;
the search engine queries a data index database corresponding to the target index according to the search word corresponding to the target search statement, determines the data category corresponding to the search statement, and sends the data category to the search platform;
and the data platform acquires a query template determined by the search platform according to the data category, searches a database according to the query template, and determines a query result corresponding to the search statement, wherein the database comprises the data index database.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a search method as claimed in claim 9.
CN202010637068.6A 2020-07-03 2020-07-03 Search system, method and storage medium Pending CN111897836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010637068.6A CN111897836A (en) 2020-07-03 2020-07-03 Search system, method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010637068.6A CN111897836A (en) 2020-07-03 2020-07-03 Search system, method and storage medium

Publications (1)

Publication Number Publication Date
CN111897836A true CN111897836A (en) 2020-11-06

Family

ID=73191519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010637068.6A Pending CN111897836A (en) 2020-07-03 2020-07-03 Search system, method and storage medium

Country Status (1)

Country Link
CN (1) CN111897836A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112735124A (en) * 2020-12-16 2021-04-30 北京百度网讯科技有限公司 Traffic data analysis method, device, equipment, vehicle and storage medium
CN113111641A (en) * 2021-04-20 2021-07-13 上海渠杰信息科技有限公司 Data operation method and equipment based on full-text search engine
CN114817149A (en) * 2022-03-23 2022-07-29 建信融通有限责任公司 Metadata management system
CN116340296A (en) * 2023-05-30 2023-06-27 南方电网数字电网研究院有限公司 Multi-source data fusion and unified information model construction method based on data probes
CN117076494A (en) * 2023-10-16 2023-11-17 北京英视睿达科技股份有限公司 Real-time data query method and device, computer equipment and readable storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112735124A (en) * 2020-12-16 2021-04-30 北京百度网讯科技有限公司 Traffic data analysis method, device, equipment, vehicle and storage medium
CN112735124B (en) * 2020-12-16 2022-05-20 阿波罗智联(北京)科技有限公司 Traffic data analysis method, device, equipment, vehicle and storage medium
US11626013B2 (en) 2020-12-16 2023-04-11 Apollo Intelligent Connectivity (Beijing) Technology Co., Ltd. Traffic data analysis method, electronic device, vehicle and storage medium
CN113111641A (en) * 2021-04-20 2021-07-13 上海渠杰信息科技有限公司 Data operation method and equipment based on full-text search engine
CN114817149A (en) * 2022-03-23 2022-07-29 建信融通有限责任公司 Metadata management system
CN116340296A (en) * 2023-05-30 2023-06-27 南方电网数字电网研究院有限公司 Multi-source data fusion and unified information model construction method based on data probes
CN117076494A (en) * 2023-10-16 2023-11-17 北京英视睿达科技股份有限公司 Real-time data query method and device, computer equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN111897836A (en) Search system, method and storage medium
US6915308B1 (en) Method and apparatus for information mining and filtering
US8131684B2 (en) Adaptive archive data management
US9282162B2 (en) Processing user profiles of users in an electronic community
US8438190B2 (en) Generating web services from business intelligence queries
US20140379719A1 (en) System and method for tagging and searching documents
CN113051362B (en) Data query method, device and server
CN111339171B (en) Data query method, device and equipment
CN113190687B (en) Knowledge graph determining method and device, computer equipment and storage medium
CN110297880B (en) Corpus product recommendation method, apparatus, device and storage medium
CN114510611A (en) Method and device for constructing metadata blood relationship atlas and related equipment
CN114610845A (en) Multisystem-based intelligent question answering method, device and equipment
CN111190965B (en) Impromptu relation analysis system and method based on text data
US11301441B2 (en) Information processing system and information processing method
CN110874366A (en) Data processing and query method and device
US20220292127A1 (en) Information management system
CN113407678B (en) Knowledge graph construction method, device and equipment
CN115795046A (en) Data processing method, device, system, electronic device and storage medium
Franciscatto et al. Querying multidimensional big data through a chatbot system
CN110716994B (en) Retrieval method and device supporting heterogeneous geographic data resource retrieval
CN110737828A (en) information pushing method and related device
CN112286916A (en) Data processing method, device, equipment and storage medium
JP2011018152A (en) Information presentation device, information presentation method, and program
US11960522B2 (en) Information management system for database construction
US11940964B2 (en) System for annotating input data using graphs via a user interface

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
TA01 Transfer of patent application right

Effective date of registration: 20220930

Address after: 25 Financial Street, Xicheng District, Beijing 100033

Applicant after: CHINA CONSTRUCTION BANK Corp.

Address before: 25 Financial Street, Xicheng District, Beijing 100033

Applicant before: CHINA CONSTRUCTION BANK Corp.

Applicant before: Jianxin Financial Science and Technology Co.,Ltd.

TA01 Transfer of patent application right