CN104331517A - Retrieval method and retrieval device - Google Patents
Retrieval method and retrieval device Download PDFInfo
- Publication number
- CN104331517A CN104331517A CN201410696958.9A CN201410696958A CN104331517A CN 104331517 A CN104331517 A CN 104331517A CN 201410696958 A CN201410696958 A CN 201410696958A CN 104331517 A CN104331517 A CN 104331517A
- Authority
- CN
- China
- Prior art keywords
- result
- statement
- query statement
- compound query
- retrieval
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/242—Query formulation
- G06F16/2425—Iterative querying; Query formulation based on the results of a preceding query
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/242—Query formulation
- G06F16/2433—Query languages
- G06F16/2438—Embedded query languages
Abstract
The invention discloses a retrieval method and a retrieval device which are used for achieving very complex checking, counting and analysis functions. The retrieval method comprises the following steps: receiving a composite checking sentence input by a user, wherein the composite checking sentence comprises at least two sentences which are connected in series by virtue of a preset symbol, and the preset symbol is used for indicating to use the processing result of a sentence on one side of the preset symbol as the input of a sentence on the other side of the preset symbol; performing corresponding operation on a retrieval file or a databank by using the composite checking sentence, thereby obtaining the retrieval result. By receiving the composite checking sentence input by the user and analyzing and calculating the composite checking sentence, the final retrieval result is obtained, the user can achieve complex checking and statistic analysis by only inputting the checking sentences into a search box, a great deal of time and labor resources are saved, and very complex checking, counting and analysis functions are achieved.
Description
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of search method and device.
Background technology
Constantly perfect along with informatization, the use in daily life of infosystem or information platform is more and more concentrated, complete operation information and flow process is recorded especially by infosystem or information platform, at present, the mode of usual employing log information comes recording operation information and flow process, daily record is user behavior factual data, can record all business datums.When user needs data query, the search engine by log information has come, and namely utilizes search engine to do full-text index to the data in database, thus convenient inquiry.Both reduction information use cost had been conducive to according to Query Result statistics and visible data information, and for decision-making with provide infosystem to provide support.
In prior art, generally adopt keyword retrieval, phrase retrieval, asterisk wildcard (*) retrieval, simple regular expression retrieval, or the mode using the basic logic operations symbols such as AND, OR, NOT to connect multiple queries phrase is retrieved, the keyword inputted due to these retrieval modes is comparatively simple, therefore cannot be used for inquiring about comparatively complicated query statement or the situation with nested query.And owing to carrying out full-text index to data, therefore retrieval rate is comparatively slow, need the server resource of consumption also relatively many.In addition, although have the SQL grammer compared with horn of plenty for the inquiry of log information database, these grammers cannot be used in search box, and user uses very inconvenient.
Summary of the invention
The embodiment of the present invention provides a kind of search method and device, for realizing very complicated inquiry, statistics, analytic function.
A kind of search method, comprises the following steps:
Receive the compound query statement of user's input, described compound query statement comprises at least two statements be together in series by predetermined symbol, and described predetermined symbol is used to indicate the input of the result of described predetermined symbol side statement as described predetermined symbol opposite side statement;
Utilize described compound query statement to carry out corresponding operating to index file or database, obtain result for retrieval.
Some beneficial effects of the embodiment of the present invention can comprise: by receiving the compound query statement of user's input, and analytic operation is carried out to compound query statement, and then obtain final result for retrieval, make user only in the search box input inquiry statement can realize complicated inquiry and statistical study, save a large amount of time and human resources, thus realize very complicated inquiry, statistics, analytic function.
In one embodiment, described compound query statement comprises at least two statements be together in series by pipe, and described at least two statements comprise query statement and/or perform statement;
Describedly utilize described compound query statement to carry out corresponding operating to index file or database, obtain result for retrieval, comprising:
Corresponding operating is carried out to the statement in described compound query statement from left to right on the left of first pipe, obtains the first result; Using the input of the statement of described first result on the right side of described first pipe, corresponding operating is carried out to the statement on the right side of described first pipe, obtains the second result; Using the input of the statement of described second result in described compound query statement from left to right on the right side of second pipe, corresponding operating is carried out to the statement on the right side of described second pipe, obtain the 3rd result; The like, until carry out corresponding operating to the statement in described compound query statement from left to right on the right side of last pipe, obtain described result for retrieval.
By receiving at least two query statements and/or the perform statement of user's input, and utilize pipe to carry out analytic operation at least two query statements and/or perform statement, and then obtain final result for retrieval, make user only in the search box input inquiry statement can realize complicated inquiry and statistical study, save a large amount of time and human resources, thus realize very complicated inquiry, statistics, analytic function.
In one embodiment, described compound query statement comprises at least two the system script orders be together in series by order connector;
Describedly utilize described compound query statement to carry out corresponding operating to index file or database, obtain result for retrieval, comprising:
To perform in described compound query statement the system script order inside first order connector from the inside to surface, obtain the 4th result; Using the input of described 4th result as the system script order outside described first order connector, perform the system script order outside described first order connector, obtain the 5th result; Using the input of the system script order of described 5th result in described compound query statement outside second order connector from the inside to surface, perform the system script order outside described second order connector, obtain the 6th result; The like, until to execute in described compound query statement the system script order outside last order connector from the inside to surface, obtain described result for retrieval.
By receiving at least two system script orders of user's input, and utilize order connector analyze at least two system script orders and perform the corresponding command, and then obtain final result for retrieval, make user only in the search box input inquiry statement can realize complicated inquiry and statistical study, save a large amount of time and human resources, thus realize very complicated inquiry, statistics, analytic function.
In one embodiment, described method also comprises:
Receive the data that user uploads;
The described data received are converted into structural data by unstructured data;
Index is set up to the structural data after described conversion, and is stored in index file or database.
Data user uploaded are converted into structural data by unstructured data, and be stored in index file or database, facilitate and utilize query statement to carry out unified retrieval and analysis, make user only in the search box input inquiry statement can realize complicated inquiry and statistical study, save a large amount of time and human resources, thus realize very complicated inquiry, statistics, analytic function.
In one embodiment, described method also comprises:
By the result for retrieval of described compound query statement and described compound query statement corresponding stored;
When receiving the operation selecting described compound query statement, read the result for retrieval that described compound query statement is corresponding.
By the result for retrieval of compound query statement and compound query statement corresponding stored, when making again to this compound query sentence retrieval, without the need to carrying out corresponding analytic operation again, directly from index file or database, read corresponding result for retrieval, save the expense of a large amount of time and analytic operation etc., achieve efficient complex query and statistical study.
A kind of indexing unit, comprising:
First receiver module, for receiving the compound query statement of user's input, described compound query statement comprises at least two statements be together in series by predetermined symbol, and described predetermined symbol is used to indicate the input of the result of described predetermined symbol side statement as described predetermined symbol opposite side statement;
Operational module, for utilizing described compound query statement to carry out corresponding operating to index file or database, obtains result for retrieval.
In one embodiment, described operational module comprises:
First operating unit, at least two statements be together in series by pipe are comprised for described compound query statement, when described at least two statements comprise query statement and/or perform statement, corresponding operating is carried out to the statement in described compound query statement from left to right on the left of first pipe, obtains the first result; Using the input of the statement of described first result on the right side of described first pipe, corresponding operating is carried out to the statement on the right side of described first pipe, obtains the second result; Using the input of the statement of described second result in described compound query statement from left to right on the right side of second pipe, corresponding operating is carried out to the statement on the right side of described second pipe, obtain the 3rd result; The like, until carry out corresponding operating to the statement in described compound query statement from left to right on the right side of last pipe, obtain described result for retrieval.
In one embodiment, described operational module comprises:
Second operating unit, when comprising for described compound query statement at least two the system script orders be together in series by order connector, to perform in described compound query statement the system script order inside first order connector from the inside to surface, obtain the 4th result; Using the input of described 4th result as the system script order outside described first order connector, perform the system script order outside described first order connector, obtain the 5th result; Using the input of the system script order of described 5th result in described compound query statement outside second order connector from the inside to surface, perform the system script order outside described second order connector, obtain the 6th result; The like, until to execute in described compound query statement the system script order outside last order connector from the inside to surface, obtain described result for retrieval.
In one embodiment, described device also comprises:
Second receiver module, for receiving the data that user uploads;
Conversion module, for being converted into structural data by the described data received by unstructured data;
First memory module, for setting up index to the structural data after described conversion, and is stored in index file or database.
In one embodiment, described device also comprises:
Second memory module, for by the result for retrieval of described compound query statement and described compound query statement corresponding stored;
Read module, for when receiving the operation selecting described compound query statement, reads the result for retrieval that described compound query statement is corresponding.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from instructions, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write instructions, claims and accompanying drawing and obtain.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for instructions, together with embodiments of the present invention for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of a kind of search method in the embodiment of the present invention;
Fig. 2 is the process flow diagram of a kind of search method in the present invention one specific embodiment;
Fig. 3 is the process flow diagram of a kind of search method in another specific embodiment of the present invention;
Fig. 4 is the block diagram of a kind of indexing unit in the embodiment of the present invention;
Fig. 5 is the block diagram of operational module in a kind of indexing unit in the embodiment of the present invention;
Fig. 6 is the block diagram of a kind of indexing unit in the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein is only for instruction and explanation of the present invention, is not intended to limit the present invention.
The invention provides a kind of search method and device, for realizing very complicated inquiry, statistics, analytic function.Fig. 1 is the process flow diagram of a kind of search method in the embodiment of the present invention.As shown in Figure 1, the method is used for, in terminal, comprising the following steps S11-S12:
Step S11, receive the compound query statement of user's input, compound query statement comprises at least two statements be together in series by predetermined symbol, and predetermined symbol is used to indicate the input of the result of predetermined symbol side statement as predetermined symbol opposite side statement;
Step S12, utilizes compound query statement to carry out corresponding operating to index file or database, obtains result for retrieval.
The technical scheme that the embodiment of the present invention provides, by receiving the compound query statement of user's input, and analytic operation is carried out to compound query statement, and then obtain final result for retrieval, make user only in the search box input inquiry statement can realize complicated inquiry and statistical study, save a large amount of time and human resources, thus realize very complicated inquiry, statistics, analytic function.
Said method, before implementation step S11, further comprising the steps of A1-A3:
Steps A 1, receives the data that user uploads;
The data received are converted into structural data by unstructured data by steps A 2;
Steps A 3, sets up index to the structural data after transforming, and is stored in index file or database.
Data user uploaded are converted into structural data by unstructured data, and are stored in index file or database, facilitate and utilize query statement to carry out unified retrieval and analysis.User is in the search box after input inquiry statement, terminal is analyzed or computing query statement, query statement can be a simple statement (such as a keyword or a perform statement), also can be in series by multiple statements of complexity, when user input be compound query statement time, terminal carries out analytic operation to compound query statement, utilize the result of analytic operation to carry out corresponding operating to the data prestored in index file or database, obtain final result for retrieval.
In said method, compound query statement can be at least two statements be together in series by pipe, also can be at least two the system script orders be together in series by order connector.Respectively the search method of these two kinds of compound query statements is described below.
In one embodiment, compound query statement comprises at least two statements be together in series by pipe, and wherein, at least two statements comprise query statement and/or perform statement.Now, step S12 can be embodied as following steps B1-B4:
Step B1, carries out corresponding operating to the statement in compound query statement from left to right on the left of first pipe, obtains the first result;
Step B2, using the input of the statement of the first result on the right side of first pipe, carries out corresponding operating to the statement on the right side of first pipe, obtains the second result;
Step B3, using the input of the statement of the second result in compound query statement from left to right on the right side of second pipe, carries out corresponding operating to the statement on the right side of second pipe, obtains the 3rd result;
Step B4, the like, until carry out corresponding operating to the statement in compound query statement from left to right on the right side of last pipe, obtain result for retrieval.
Such as, user is input inquiry statement " apache|count " in the search box, and the symbol " | " in this query statement is the pipe of multiple statement that is used for connecting, and is used to indicate the input of the result of statement on the left of pipe as statement on the right side of pipe.Therefore, when terminal is retrieved query statement " apache|count ", first the result retrieving query statement " apache " in the data prestored from index file or database is come, and using the input of result as perform statement " count ", the number of the result for retrieval of statistics " apache ".
Fig. 2 is the process flow diagram of a kind of search method in one embodiment of the invention.In this embodiment, for compound query statement " apache|group by IP|count ", compound query statement " apache|group by IP|count " is made up of three statements be together in series by pipe, wherein, " apache " is query statement, and " group by IP " and " count " are perform statement.As shown in Figure 2, S21-S24 is comprised the following steps:
Step S21, receives the query statement " apache|group by IP|count " of user's input;
Step S22, retrieves query statement " apache ", obtains the first result from index file or database;
Step S23, using the input of the first result as perform statement " group by IP ", performs " group by IP ", obtains the second result; That is, divide into groups to the result for retrieval of query statement " apache " with the difference of IP address;
Step S24, using the input of the second result as perform statement " count ", performs " count ", obtains final result for retrieval.
The technical scheme that the embodiment of the present invention provides, by receiving at least two query statements and/or the perform statement of user's input, and utilize pipe to carry out analytic operation at least two query statements and/or perform statement, and then obtain final result for retrieval, make user only in the search box input inquiry statement can realize complicated inquiry and statistical study, save a large amount of time and human resources, thus realize very complicated inquiry, statistics, analytic function.
In another embodiment, compound query statement comprises at least two the system script orders be together in series by order connector.Now, step S12 can be embodied as following steps C1-C4:
Step C1, to perform in compound query statement the system script order inside first order connector from the inside to surface, obtains the 4th result;
Step C2, using the input of the 4th result as the system script order outside first order connector, performs the system script order outside first order connector, obtains the 5th result;
Step C3, using the input of the system script order of the 5th result in compound query statement outside second order connector from the inside to surface, performs the system script order outside second order connector, obtains the 6th result;
Step C4, the like, until to execute in compound query statement the system script order outside last order connector from the inside to surface, obtain result for retrieval.
Such as, the query statement that user inputs in the search box is the order " command1 [command2] " in Unix/Linux script, symbol " [] " in this query statement is the order connector of multiple system script order that is used for connecting, and is used to indicate the input of the result of statement inside order connector as statement outside order connector.Therefore, when terminal is retrieved query statement " command1 [command2] ", first according to the data executive system script command " command2 " prestored in index file or database, and the execution result of " command2 " will be ordered as the input of system script order " command1 ", fill order " command1 ", thus obtain final result for retrieval.
Fig. 3 is the process flow diagram of a kind of search method in one embodiment of the invention.In this embodiment, for compound query statement " command1 [command2 [command3]] ", compound query statement " command1 [command2 [command3]] " is made up of three the system script orders be together in series by order connector.As shown in Figure 3, S31-S34 is comprised the following steps:
Step S31, receives the query statement " command1 [command2 [command3]] " of user's input;
Step S32, according to the data fill order " command3 " prestored in index file or database, obtains the 4th result;
Step S33, using the input of the 4th result as order " command2 ", fill order " command2 ", obtains the 5th result;
Step S34, using the input of the 5th result as order " command1 ", fill order " command1 ", obtains final result for retrieval.
The technical scheme that the embodiment of the present invention provides, by receiving at least two system script orders of user's input, and utilize order connector analyze at least two system script orders and perform the corresponding command, and then obtain final result for retrieval, make user only in the search box input inquiry statement can realize complicated inquiry and statistical study, save a large amount of time and human resources, thus realize very complicated inquiry, statistics, analytic function.
In one embodiment, said method is further comprising the steps of: by the result for retrieval of compound query statement and compound query statement corresponding stored; When receiving the operation selecting compound query statement, read the result for retrieval that compound query statement is corresponding.By the result for retrieval of compound query statement and compound query statement corresponding stored, when making again to this compound query sentence retrieval, without the need to carrying out corresponding analytic operation again, directly from index file or database, read corresponding result for retrieval, save the expense of a large amount of time and analytic operation etc., achieve efficient complex query and statistical study.
Fig. 4 is the block diagram of a kind of indexing unit in the embodiment of the present invention.As shown in Figure 4, comprising:
First receiver module 41, for receiving the compound query statement of user's input, compound query statement comprises at least two statements be together in series by predetermined symbol, and predetermined symbol is used to indicate the input of the result of predetermined symbol side statement as predetermined symbol opposite side statement;
Operational module 42, for utilizing compound query statement to carry out corresponding operating to index file or database, obtains result for retrieval.
In one embodiment, as shown in Figure 5, operational module 42 comprises:
First operating unit 421, at least two statements be together in series by pipe are comprised for compound query statement, when at least two statements comprise query statement and/or perform statement, corresponding operating is carried out to the statement in compound query statement from left to right on the left of first pipe, obtains the first result; Using the input of the statement of the first result on the right side of first pipe, corresponding operating is carried out to the statement on the right side of first pipe, obtains the second result; Using the input of the statement of the second result in compound query statement from left to right on the right side of second pipe, corresponding operating is carried out to the statement on the right side of second pipe, obtain the 3rd result; The like, until carry out corresponding operating to the statement in compound query statement from left to right on the right side of last pipe, obtain result for retrieval.
Second operating unit 422, when comprising for compound query statement at least two the system script orders be together in series by order connector, to perform in compound query statement the system script order inside first order connector from the inside to surface, obtain the 4th result; Using the input of the 4th result as the system script order outside first order connector, perform the system script order outside first order connector, obtain the 5th result; Using the input of the system script order of the 5th result in compound query statement outside second order connector from the inside to surface, perform the system script order outside second order connector, obtain the 6th result; The like, until to execute in compound query statement the system script order outside last order connector from the inside to surface, obtain result for retrieval.
In one embodiment, as shown in Figure 6, said apparatus also comprises:
Second receiver module 43, for receiving the data that user uploads;
Conversion module 44, for being converted into structural data by the data received by unstructured data;
First memory module 45, for setting up index to the structural data after conversion, and is stored in index file or database;
Second memory module 46, for by the result for retrieval of compound query statement and compound query statement corresponding stored;
Read module 47, for when receiving the operation selecting compound query statement, reads the result for retrieval that compound query statement is corresponding.
The technical scheme that the embodiment of the present invention provides, by receiving the compound query statement of user's input, and analytic operation is carried out to compound query statement, and then obtain final result for retrieval, make user only in the search box input inquiry statement can realize complicated inquiry and statistical study, save a large amount of time and human resources, thus realize very complicated inquiry, statistics, analytic function.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (10)
1. a search method, is characterized in that, comprising:
Receive the compound query statement of user's input, described compound query statement comprises at least two statements be together in series by predetermined symbol, and described predetermined symbol is used to indicate the input of the result of described predetermined symbol side statement as described predetermined symbol opposite side statement;
Utilize described compound query statement to carry out corresponding operating to index file or database, obtain result for retrieval.
2. method according to claim 1, is characterized in that,
Described compound query statement comprises at least two statements be together in series by pipe, and described at least two statements comprise query statement and/or perform statement;
Describedly utilize described compound query statement to carry out corresponding operating to index file or database, obtain result for retrieval, comprising:
Corresponding operating is carried out to the statement in described compound query statement from left to right on the left of first pipe, obtains the first result; Using the input of the statement of described first result on the right side of described first pipe, corresponding operating is carried out to the statement on the right side of described first pipe, obtains the second result; Using the input of the statement of described second result in described compound query statement from left to right on the right side of second pipe, corresponding operating is carried out to the statement on the right side of described second pipe, obtain the 3rd result; The like, until carry out corresponding operating to the statement in described compound query statement from left to right on the right side of last pipe, obtain described result for retrieval.
3. method according to claim 1, is characterized in that,
Described compound query statement comprises at least two the system script orders be together in series by order connector;
Describedly utilize described compound query statement to carry out corresponding operating to index file or database, obtain result for retrieval, comprising:
To perform in described compound query statement the system script order inside first order connector from the inside to surface, obtain the 4th result; Using the input of described 4th result as the system script order outside described first order connector, perform the system script order outside described first order connector, obtain the 5th result; Using the input of the system script order of described 5th result in described compound query statement outside second order connector from the inside to surface, perform the system script order outside described second order connector, obtain the 6th result; The like, until to execute in described compound query statement the system script order outside last order connector from the inside to surface, obtain described result for retrieval.
4. method according to claim 1, is characterized in that, described method also comprises:
Receive the data that user uploads;
The described data received are converted into structural data by unstructured data;
Index is set up to the structural data after described conversion, and is stored in index file or database.
5. method according to claim 1, is characterized in that, described method also comprises:
By the result for retrieval of described compound query statement and described compound query statement corresponding stored;
When receiving the operation selecting described compound query statement, read the result for retrieval that described compound query statement is corresponding.
6. an indexing unit, is characterized in that, comprising:
First receiver module, for receiving the compound query statement of user's input, described compound query statement comprises at least two statements be together in series by predetermined symbol, and described predetermined symbol is used to indicate the input of the result of described predetermined symbol side statement as described predetermined symbol opposite side statement;
Operational module, for utilizing described compound query statement to carry out corresponding operating to index file or database, obtains result for retrieval.
7. device according to claim 6, is characterized in that, described operational module comprises:
First operating unit, at least two statements be together in series by pipe are comprised for described compound query statement, when described at least two statements comprise query statement and/or perform statement, corresponding operating is carried out to the statement in described compound query statement from left to right on the left of first pipe, obtains the first result; Using the input of the statement of described first result on the right side of described first pipe, corresponding operating is carried out to the statement on the right side of described first pipe, obtains the second result; Using the input of the statement of described second result in described compound query statement from left to right on the right side of second pipe, corresponding operating is carried out to the statement on the right side of described second pipe, obtain the 3rd result; The like, until carry out corresponding operating to the statement in described compound query statement from left to right on the right side of last pipe, obtain described result for retrieval.
8. device according to claim 6, is characterized in that, described operational module comprises:
Second operating unit, when comprising for described compound query statement at least two the system script orders be together in series by order connector, to perform in described compound query statement the system script order inside first order connector from the inside to surface, obtain the 4th result; Using the input of described 4th result as the system script order outside described first order connector, perform the system script order outside described first order connector, obtain the 5th result; Using the input of the system script order of described 5th result in described compound query statement outside second order connector from the inside to surface, perform the system script order outside described second order connector, obtain the 6th result; The like, until to execute in described compound query statement the system script order outside last order connector from the inside to surface, obtain described result for retrieval.
9. device according to claim 6, is characterized in that, described device also comprises:
Second receiver module, for receiving the data that user uploads;
Conversion module, for being converted into structural data by the described data received by unstructured data;
First memory module, for setting up index to the structural data after described conversion, and is stored in index file or database.
10. device according to claim 6, is characterized in that, described device also comprises:
Second memory module, for by the result for retrieval of described compound query statement and described compound query statement corresponding stored;
Read module, for when receiving the operation selecting described compound query statement, reads the result for retrieval that described compound query statement is corresponding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410696958.9A CN104331517A (en) | 2014-11-26 | 2014-11-26 | Retrieval method and retrieval device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410696958.9A CN104331517A (en) | 2014-11-26 | 2014-11-26 | Retrieval method and retrieval device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104331517A true CN104331517A (en) | 2015-02-04 |
Family
ID=52406244
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410696958.9A Pending CN104331517A (en) | 2014-11-26 | 2014-11-26 | Retrieval method and retrieval device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104331517A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106202451A (en) * | 2016-07-11 | 2016-12-07 | 浙江大华技术股份有限公司 | A kind of data query method and device |
CN111797618A (en) * | 2020-06-10 | 2020-10-20 | 云南电网有限责任公司 | Log analysis method and device based on syntax tree analysis |
CN111897911A (en) * | 2020-06-11 | 2020-11-06 | 中国科学院计算机网络信息中心 | Unstructured data query method and system based on secondary attribute graph |
CN113297246A (en) * | 2020-06-16 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Data processing method, computing device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5886698A (en) * | 1997-04-21 | 1999-03-23 | Sony Corporation | Method for filtering search results with a graphical squeegee |
CN103049521A (en) * | 2012-12-19 | 2013-04-17 | 广东电子工业研究院有限公司 | Mechanism and method for indexing virtual table supporting multi-attribute compound condition query |
CN104111948A (en) * | 2013-04-19 | 2014-10-22 | 北大方正集团有限公司 | Information inquiring method and information inquiring system |
-
2014
- 2014-11-26 CN CN201410696958.9A patent/CN104331517A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5886698A (en) * | 1997-04-21 | 1999-03-23 | Sony Corporation | Method for filtering search results with a graphical squeegee |
CN103049521A (en) * | 2012-12-19 | 2013-04-17 | 广东电子工业研究院有限公司 | Mechanism and method for indexing virtual table supporting multi-attribute compound condition query |
CN104111948A (en) * | 2013-04-19 | 2014-10-22 | 北大方正集团有限公司 | Information inquiring method and information inquiring system |
Non-Patent Citations (4)
Title |
---|
WHUTJTXY: "专业检索表达式语法", 《百度文库》 * |
YXZHXC: "CNKI跨库专业检索表达式", 《百度文库》 * |
王正刚等: "黄页搜索引擎中二次检索的实现技术", 《计算机应用与软件》 * |
皈绿: "专业检索与高级检索语法", 《百度文库》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106202451A (en) * | 2016-07-11 | 2016-12-07 | 浙江大华技术股份有限公司 | A kind of data query method and device |
CN106202451B (en) * | 2016-07-11 | 2019-11-19 | 浙江大华技术股份有限公司 | A kind of data query method and device |
CN111797618A (en) * | 2020-06-10 | 2020-10-20 | 云南电网有限责任公司 | Log analysis method and device based on syntax tree analysis |
CN111897911A (en) * | 2020-06-11 | 2020-11-06 | 中国科学院计算机网络信息中心 | Unstructured data query method and system based on secondary attribute graph |
CN113297246A (en) * | 2020-06-16 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Data processing method, computing device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Johanson et al. | Big automotive data: Leveraging large volumes of data for knowledge-driven product development | |
JP5298117B2 (en) | Data merging in distributed computing | |
US8874600B2 (en) | System and method for building a cloud aware massive data analytics solution background | |
WO2016018942A1 (en) | Systems and methods for an sql-driven distributed operating system | |
CN103399887A (en) | Query and statistical analysis system for mass logs | |
CN104090889A (en) | Method and system for data processing | |
US9928288B2 (en) | Automatic modeling of column and pivot table layout tabular data | |
CN110543571A (en) | knowledge graph construction method and device for water conservancy informatization | |
CN104090901A (en) | Method, device and server for processing data | |
CN114461603A (en) | Multi-source heterogeneous data fusion method and device | |
US20170060977A1 (en) | Data preparation for data mining | |
CN104331517A (en) | Retrieval method and retrieval device | |
CN112347071A (en) | Power distribution network cloud platform data fusion method and power distribution network cloud platform | |
CN111258978A (en) | Data storage method | |
CN112949269A (en) | Method, system, equipment and storage medium for generating visual data analysis report | |
Kuderu et al. | Relational database to NoSQL conversion by schema migration and mapping | |
TWI436222B (en) | Real - time multi - dimensional analysis system and method on cloud | |
CN112163017B (en) | Knowledge mining system and method | |
KR101955376B1 (en) | Processing method for a relational query in distributed stream processing engine based on shared-nothing architecture, recording medium and device for performing the method | |
CN112650739A (en) | Data storage processing method and device for coal mine data middling station | |
CN112417225A (en) | Joint query method and system for multi-source heterogeneous data | |
CN115757174A (en) | Database difference detection method and device | |
CN111159213A (en) | Data query method, device, system and storage medium | |
CN114860658A (en) | Data acquisition method and device, electronic equipment and storage medium | |
CN111125045B (en) | Lightweight ETL processing platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150204 |