CN109902089B - Query method and device using heterogeneous index, electronic equipment and medium - Google Patents

Query method and device using heterogeneous index, electronic equipment and medium Download PDF

Info

Publication number
CN109902089B
CN109902089B CN201910122881.7A CN201910122881A CN109902089B CN 109902089 B CN109902089 B CN 109902089B CN 201910122881 A CN201910122881 A CN 201910122881A CN 109902089 B CN109902089 B CN 109902089B
Authority
CN
China
Prior art keywords
query
preset
information
fields
heterogeneous
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.)
Active
Application number
CN201910122881.7A
Other languages
Chinese (zh)
Other versions
CN109902089A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910122881.7A priority Critical patent/CN109902089B/en
Publication of CN109902089A publication Critical patent/CN109902089A/en
Application granted granted Critical
Publication of CN109902089B publication Critical patent/CN109902089B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a query method, a query device, electronic equipment and a query medium using heterogeneous indexes. In the application, after acquiring a query instruction carrying at least two query fields, and obtaining at least two corresponding query information according to a preset query strategy and the at least two query fields, generating a query result according to the at least two query information. By applying the technical scheme, a plurality of query fields can be queried in a plurality of index modes, and then the generated plurality of query information is used as a query result. And further, the problem that the field table side which needs to pre-establish query data can query the query data in the related technology can be avoided.

Description

Query method and device using heterogeneous index, electronic equipment and medium
Technical Field
The present application relates to data processing technologies, and in particular, to a method, an apparatus, an electronic device, and a medium for querying by using heterogeneous indexes.
Background
As the communications age and society rise, smart devices have evolved with the use of more and more users.
Among them, it has become a normal state that users query their own interested information using smart devices due to the development of the internet. Further, with the continuous development of each application program in the intelligent device, the business of each industry can generate a large amount of business data along with the accumulation of long-term and long-term accumulation while the business of each industry is rapidly developed. Therefore, in order to enable a user to quickly search for corresponding information, in the related art, it is generally required to quickly find content required by the user using heterogeneous indexes. The heterogeneous index is a scattered storage structure created for accelerating the retrieval of data lines in the table, the heterogeneous index has the function of being equivalent to the directory of the book, and corresponding contents can be quickly found according to page numbers in the directory. Furthermore, after the corresponding query result is queried by utilizing the heterogeneous index, the query result can be returned to the intelligent device. After the intelligent device receives the query result, the query result is displayed on a display page in turn for the user to check.
However, in the related art, in the process of querying data according to heterogeneous indexes, there is often a problem that a query result is inaccurate, thereby causing a degradation of user experience.
Disclosure of Invention
The embodiment of the invention provides a query method, a query device, electronic equipment and a medium using heterogeneous indexes.
According to an aspect of the embodiments of the present application, a query method using heterogeneous indexes is provided, which is characterized by including:
acquiring a query instruction, wherein the query instruction carries at least two query fields;
obtaining at least two corresponding query information based on a preset query strategy and the at least two query fields, wherein the query strategy is a strategy for querying by utilizing a plurality of heterogeneous indexes;
and generating a query result according to the at least two query information.
Optionally, in another embodiment of the foregoing method according to the present application, the obtaining, based on a preset query policy and the at least two query fields, corresponding at least two query information includes:
simultaneously, inquiring the at least two inquiry fields in a database by utilizing the heterogeneous indexes of the multiple types to obtain at least two corresponding inquiry information;
or alternatively, the first and second heat exchangers may be,
sorting the heterogeneous indexes of the multiple types in a preset sorting mode;
and sequentially inquiring the at least two inquiry fields in the database by utilizing the sorted heterogeneous indexes to obtain at least two corresponding inquiry information.
Optionally, in another embodiment of the method according to the present application, before the sorting the heterogeneous indexes of the multiple types in the preset sorting manner, the method further includes:
analyzing a first query field to obtain a first request type, wherein the first query field is any one of the at least two query fields;
and determining the preset ordering mode according to the first request type.
Optionally, in another embodiment of the method according to the present application, after the querying the at least two query fields sequentially according to the sorted heterogeneous indexes of the multiple types, the method further includes:
and generating a stop instruction after detecting that the first preset number of inquiry information exists, wherein the stop instruction is used for stopping inquiring the at least two inquiry fields, and the first preset number is an integer greater than 1.
Optionally, in another embodiment of the method according to the present application, the generating a query result according to the at least two query information includes:
detecting the quantity of the query information;
when the number of the query information is not lower than a second preset number, screening out the query information which does not accord with the preset conditions from the query information according to the preset screening conditions;
And taking the screened query information as the query result.
Optionally, in another embodiment of the method according to the present application, the screening out the query information that does not meet the preset condition according to the preset screening condition includes:
detecting query information with the historical click times lower than the preset times in the query information, wherein the historical click times are the times checked by a user in a preset time period range;
screening out the query information of which the historical click times are lower than preset times.
Optionally, in another embodiment based on the method of the present application, after the filtering out the query information, the method further includes:
establishing a corresponding relation between the query result and the query field;
and when a query instruction carrying a second query field is received, displaying the query result, wherein the second query field is any one of the at least two query fields.
Optionally, in another embodiment of the method according to the present application, after the obtaining the query instruction, the method further includes:
Acquiring at least two query fields carried in the query instruction;
filtering the at least two query fields based on a preset filtering rule, and/or performing association processing on the at least two query fields based on a preset association policy to obtain at least two corresponding query request contents;
and obtaining the at least two pieces of inquiry information based on the preset inquiry strategy and the at least two pieces of inquiry request contents.
According to another aspect of the embodiments of the present application, there is provided a query device using heterogeneous indexes, including:
the first acquisition module is configured to acquire a query instruction, wherein the query instruction carries at least two query fields;
the second acquisition module is configured to obtain at least two corresponding query information based on a preset query strategy and the at least two query fields, wherein the query strategy is a strategy for querying by utilizing a plurality of heterogeneous indexes;
and the generating module is configured to generate a query result according to the at least two pieces of query information.
According to still another aspect of the embodiments of the present application, there is provided an electronic device including:
a memory for storing executable instructions; and
And the display is used for displaying with the memory to execute the executable instructions so as to finish the operation of any of the query methods using heterogeneous indexes.
According to yet another aspect of the embodiments of the present application, there is provided a computer-readable storage medium storing computer-readable instructions that, when executed, perform any of the operations of the query method using heterogeneous indexes described above.
In the application, after acquiring a query instruction carrying at least two query fields, and obtaining at least two corresponding query information according to a preset query strategy and the at least two query fields, generating a query result according to the at least two query information. By applying the technical scheme, a plurality of query fields can be queried in a plurality of index modes, and then the generated plurality of query information is used as a query result. And further, the problem that the field table side which needs to pre-establish query data can query the query data in the related technology can be avoided.
The technical scheme of the present application is described in further detail below through the accompanying drawings and examples.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and, together with the description, serve to explain the principles of the application.
The present application will be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
fig. 1 is a schematic system architecture diagram of a query method using heterogeneous indexes in the present application.
FIG. 2 is a flow chart of another embodiment of a query method using heterogeneous indexes according to the present application.
Fig. 3a to 3c are data information tables in the related art.
FIG. 4 is a flow chart of yet another embodiment of a query method utilizing heterogeneous indexes of the present application.
FIG. 5 is a flow chart of query data utilizing heterogeneous indexes in the present application.
FIG. 6 is a flow chart of yet another embodiment of a query method utilizing heterogeneous indexes of the present application.
Fig. 7 is a schematic structural diagram of a query device using heterogeneous indexes in the present application.
Fig. 8 is a schematic diagram of an electronic device according to the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application unless it is specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
It should be noted that all directional indicators (such as up, down, left, right, front, and rear … …) in the embodiments of the present application are merely used to explain the relative positional relationship, movement, etc. between the components in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is correspondingly changed.
In addition, descriptions such as those related to "first," "second," and the like, are provided for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated in this application. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "plurality" is at least two, such as two, three, etc., unless explicitly defined otherwise.
In the present application, unless explicitly specified and limited otherwise, the terms "coupled," "secured," and the like are to be construed broadly, and for example, "secured" may be either permanently attached or removably attached, or integrally formed; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art as the case may be.
In addition, the technical solutions of the embodiments of the present application may be combined with each other, but it is necessary to be based on the fact that those skilled in the art can implement the technical solutions, and when the technical solutions are contradictory or cannot be implemented, the combination of the technical solutions should be considered to be absent, and is not within the scope of protection claimed in the present application.
A query method for performing a query using heterogeneous indexes according to an exemplary embodiment of the present application is described below with reference to fig. 1 to 6. It should be noted that the following application scenario is only shown for the convenience of understanding the spirit and principles of the present application, and embodiments of the present application are not limited in any way in this respect. Rather, embodiments of the present application may be applied to any scenario where applicable.
FIG. 1 illustrates a schematic diagram of an exemplary system architecture 100 to which the query method using heterogeneous indexes or the query apparatus using heterogeneous indexes of the embodiments of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, the server 105 may be a server cluster formed by a plurality of servers.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. The terminal devices 101, 102, 103 may be various electronic devices with display screens including, but not limited to, smartphones, tablet computers, portable computers, desktop computers, and the like.
The terminal apparatuses 101, 102, 103 in the present application may be terminal apparatuses that provide various services. For example, after the user obtains the attribute information of the data file in the first partition through the terminal device 103 (may also be the terminal device 101 or 102), the terminal device 103 may generate a first attribute query code group according to the attribute information of the data file, and query the data file in the first partition based on the first attribute query code group and a preset standard query code.
It should be noted that, the query method using heterogeneous indexes of the image capturing apparatus provided in the embodiment of the present application may be executed by one or more of the terminal devices 101, 102, 103 and/or the server 105, and accordingly, the query apparatus using heterogeneous indexes provided in the embodiment of the present application is generally provided in a corresponding terminal device and/or the server 105, but the present application is not limited thereto.
The application also provides a query method, a query device, a target terminal and a medium using the heterogeneous index.
Fig. 2 schematically illustrates a flow diagram of a query method using heterogeneous indexes according to an embodiment of the present application. As shown in fig. 2, the method includes:
s101, acquiring a query instruction, wherein the query instruction carries at least two query fields.
Alternatively, in the present application, a query instruction input by a user may be first acquired. The query instruction carries a plurality of query fields. It should be noted that the content of the query field is not specifically limited in this application, that is, the user may input any query content as the query field, for example, the user may input the query content about the travel class, and the user may also input the query content about the application class. It should be noted that, in the present application, the number of query fields carried in the query instruction is not specifically limited, that is, the number of query fields may be any number greater than two, for example, the query instruction may carry 5 query fields, and the page in the query instruction may carry 15 query fields.
In this application, the device for obtaining the query instruction is not specifically limited, for example, the intelligent device may obtain the query instruction generated by the user, or the server may obtain the query instruction generated by the user.
In addition, in the present application, the smart device is not specifically limited, that is, the smart device may be any smart device, for example, a mobile phone, an electronic notebook, a PDA, and the like.
S102, obtaining at least two corresponding query information based on a preset query strategy and at least two query fields, wherein the query strategy is a strategy for querying by utilizing a plurality of heterogeneous indexes.
Alternatively, in the related art, after the user inputs the query content, the server searches the database for the schema field table corresponding to the query content. The schema field table may be a pre-established relationship table of the query content and a plurality of data information corresponding to the query content. After the server receives the query content, traversing a schema field table related to the query content in an index according to a preset index mode, and after the schema field table is detected, sending a plurality of data information corresponding to the query content as a query result to an intelligent device where a user is located according to the data content recorded in the schema field table so as to be selected and checked by the user. However, with the increasing number of business data, this way of querying data according to indexes requires significant computing resources.
For example, as shown in fig. 3 a-3 c, fig. 3a is information about the commodity a, wherein the name, delivery date, price, model, etc. of the commodity are included in fig. 3 a. Further, fig. 3b is information about a manufacturer that produces the commodity, wherein the manufacturer's name, date of creation, introduction of the enterprise, product management, etc. are included in fig. 3 b. In order to facilitate the retrieval of the user, in the related art, fig. 3a and fig. 3b are generally combined, so as to generate the schema field table as shown in fig. 3 c. And records the schema field table into the corresponding index. So that when the commodity information or the manufacturer information input by the user is received, corresponding data is displayed for the user according to the schema field table.
For example, when it is detected that the user is inputting the query field of the commodity a, the server searches the database for the schema field table corresponding to the commodity a. And obtaining each data information corresponding to the commodity A according to the recorded content of the schema field table.
In addition, in order to avoid the problem of consuming the computing resources of the device, in the present application, after obtaining the query instruction of the user, the corresponding at least two query information may be obtained based on a preset query policy and at least two query fields, where the query policy is a policy of querying by using multiple types of heterogeneous indexes.
The heterogeneous index is an index containing different field characteristics. Wherein the heterogeneous index may comprise a plurality of different types of indexes. In the application, searching of corresponding information can be performed on each query field in the multiple query fields by utilizing multiple types of heterogeneous indexes. It should be noted that the number of heterogeneous indexes is not specifically limited in this application, for example, the number of heterogeneous indexes may be 3, and the number of heterogeneous indexes may be 20.
It is understood that for one query field, in querying corresponding data information using multiple heterogeneous indexes, at least corresponding one query information will be generated. Therefore, after the at least two query fields are queried correspondingly based on the preset query strategy, the corresponding at least two query information is obtained.
S103, generating a query result according to at least two query information.
Optionally, in the present application, after obtaining a query instruction carrying at least two query fields, and obtaining at least two corresponding query information according to a preset query policy and the at least two query fields, a query result may be further generated according to the at least two query information.
It should be noted that, in the present application, after the query information is obtained, the obtained query information may be directly used as a query result, or the obtained query information may be subjected to a preset process, and then the processed information is used as a query result.
In the application, after acquiring a query instruction carrying at least two query fields, and obtaining at least two corresponding query information according to a preset query strategy and the at least two query fields, generating a query result according to the at least two query information. By applying the technical scheme, a plurality of query fields can be queried in a plurality of index modes, and then the generated plurality of query information is used as a query result. And further, the problem that the field table side which needs to pre-establish query data can query the query data in the related technology can be avoided.
Optionally, in an embodiment of the present application, the plurality of types of heterogeneous indexes include at least any two of:
forward index, reverse index, KV index, third party index.
The forward index is a data structure, which can quickly query the attribute of a corresponding document by the name of the document, and the data structure is called the forward index. Further, the inverted index is also a data structure, and with respect to the forward index, the inverted index can quickly find out in which documents a certain attribute or a part of an attribute is in by some attributes of the documents, and this data structure is called the inverted index. Furthermore, the KV index is a data structure for searching data by using a Key-Value (Key-Value) storage database. The third party index is a data structure for searching data by utilizing a plurality of third party databases.
Further optionally, in an embodiment of the present application, in S102 (based on a preset query policy and at least two query fields, obtaining at least two corresponding query information), the method may include any one of the following two ways, to obtain at least two corresponding query information:
the first way is:
and simultaneously, inquiring at least two inquiry fields in the database by utilizing a plurality of heterogeneous indexes to obtain at least two corresponding inquiry information.
Optionally, in the present application, after obtaining a query instruction carrying a plurality of query fields, a plurality of heterogeneous indexes of a plurality of types included in a query policy may be utilized simultaneously to query the plurality of query fields in a database, so as to obtain a plurality of corresponding query information. It is understood that each different type of heterogeneous index generates query information that is different for the same query field. Thus, querying at least two query fields with multiple types of heterogeneous indexes simultaneously in the present application may correspondingly generate multiple query information.
The second way is:
and sorting the heterogeneous indexes of the multiple types in a preset sorting mode.
Optionally, in the present application, after acquiring a query instruction carrying multiple query fields, the heterogeneous indexes of multiple types may be first sorted in a preset sorting manner. It should be noted that, in the present application, the preset ordering mode is not specifically limited, that is, the preset ordering mode may be any ordering mode.
In a possible preferred embodiment, before sorting the heterogeneous indexes of multiple types in a preset sorting manner, a first query field may be parsed first to obtain a first request type, where the first query field is any one of at least two query fields.
Before ordering the heterogeneous indexes of the multiple types in the preset ordering mode, the preset ordering mode can be determined according to the request type of any query field in the multiple query fields.
It will be appreciated that, since the query content input by the user can be various query contents, the variety of the query content is very large. Further, there are different resource search strategies in the face of different types of request queries. For example, when the query content input by the user is music query content, the server may perform only search and recall of the audio resource class. When the query content input by the user is the query content of the website class, the server can only query and recall the website domain name class. When the query content input by the user is the video type query content, the server can only query and recall the video resource type. Therefore, according to different types of the query content, the index types corresponding to the types of the query content can be ranked according to the priority level according to a preset ranking strategy.
For example, the preset policy includes 3 types of heterogeneous indexes. In the application, any one of a plurality of query fields carried in the query instruction may be first parsed. And when the request type of the first query field is detected to be music query content, determining an index mode of searching the audio resource class by using the forward index as the index mode with the highest priority, an index mode of searching the audio resource class by using the reverse index as the index mode with the next highest priority, and an index mode of searching the audio resource class by using the third-party index as the index mode with the lowest priority. Further, the heterogeneous indexes of each type are ordered according to the priority level of each search level. It will be appreciated that in this query strategy, the first order is forward index, second reverse index, and third party index.
For another example, the preset policy includes 2 types of heterogeneous indexes. In the application, any one of a plurality of query fields carried in the query instruction may be first parsed. And when the request type of the first query field is detected to be the text query content, determining an index mode of searching text resource by using the KV index as the highest priority, and searching audio resource by using the positive index as the index mode of the next highest priority. Further, the heterogeneous indexes of each type are ordered according to the priority level of each search level. It will be appreciated that in this query strategy, the order is first KV index and second forward index.
Further optionally, the at least two query fields are sequentially queried in the database by using the sorted heterogeneous indexes to obtain at least two corresponding query information.
Optionally, in the present application, after the heterogeneous indexes of multiple types are ordered in a preset ordering manner, at least two query fields may be queried in sequence in the database according to the ordered heterogeneous indexes of multiple types, so as to obtain at least two corresponding query information.
It can be understood that, in the foregoing preset policy, the 3 types of heterogeneous indexes are included, where the first sequence is a forward index, the second sequence is an inverted index, and the last sequence is a query policy of a third party index, for example, in this application, each query field carried in the query instruction is first queried correspondingly by using the forward index, further, each query field carried in the query instruction is queried correspondingly by using the inverted index, and finally, each query field carried in the query instruction is queried correspondingly by using the third party index.
In one possible implementation manner of the present application, after at least two query fields are queried sequentially according to the sorted heterogeneous indexes of multiple types, a stop instruction may be generated after a first preset number of query information is detected, where the stop instruction is used to stop querying at least two query fields, and the first preset number is an integer greater than 1.
Optionally, after sequentially querying at least two query fields, whether to continue querying the query fields by using the index may be selected based on the obtained amount of query information. It can be appreciated that when the number of the obtained query information reaches the preset value, a stop instruction for stopping querying the query field is generated
In this application, the first preset number is not specifically limited, that is, the first preset number may be 10, and the first preset number may also be 100. The specific variation of the first preset number does not affect the protection scope of the present application.
Further optionally, in an embodiment of the present application, in S103 (generating a query result according to at least two query information), a specific embodiment is further included, as shown in fig. 4, including:
s201, acquiring a query instruction, wherein the query instruction carries at least two query fields.
S202, at least two query fields carried in the query instruction are obtained.
S203, filtering at least two query fields based on a preset filtering rule, and/or performing association processing on at least two query fields based on a preset association policy to obtain query request content.
Optionally, in the related art, after the user inputs the query field, the server searches the data information corresponding to the query field by using the related index, and sends the plurality of data information back to the intelligent device where the user is located, so that the user can select and view the data information. However, when the server searches the corresponding data information by using the index due to the excessively complicated query field of the user, the corresponding data information is difficult to search in the index due to the complicated query field, thereby reducing user experience.
Further, in order to avoid the problem of reducing user experience, in the present application, after at least two query fields carried in the query instruction are obtained, the multiple query fields may be filtered based on a preset filtering rule, and/or at least two query fields may be associated with each other based on a preset association policy, so as to obtain query request content, and further, according to the optimized query request content, data information corresponding to multiple types of heterogeneous indexes may be queried.
It should be noted that, in the present application, the filtering rules and the association policies are not specifically limited, that is, the present application may utilize various filtering rules to filter redundant vocabulary for the query field input by the user, and similarly, the present application may also utilize various association policies to process the associated vocabulary for the query field input by the user.
In a further preferred embodiment, the filtering rule of the term class may be used to filter the redundant vocabulary of the query field input by the user, that is, by detecting whether the term class of the term is included in the query field, and if the term class of the term is included in the query field, filtering the term class of the term in the query field by filtering the term class of the term in the query field to complete filtering the redundant vocabulary of the query field. In yet another possible preferred embodiment of the present application, the present application may use a prefix tree algorithm to perform association processing on the association-type words to generate corresponding well-known words. Namely, whether the query field contains partial words of the known vocabulary or not is detected, and under the condition that the query field contains the partial words of the known vocabulary, the partial words of the known vocabulary are automatically associated into corresponding known vocabulary, so that the processing of the associated vocabulary of the query field is completed.
It should be further noted that, in the process of processing the query field based on the preset filtering rule and the association policy, the processing sequence based on the filtering rule and the association policy is not specifically limited, that is, the query field may be processed based on the preset filtering rule, and then the processed query field is processed based on the preset association policy, so as to generate the query request content. Or, the method can process the query field based on the preset association policy, and then process the processed query field based on the preset filtering rule, so as to generate the query request content.
S204, obtaining at least two corresponding query information based on a preset query strategy and at least two query request contents.
Optionally, in the present application, after processing each query field based on a preset filtering rule and an association policy, and obtaining query request contents, a query result may be further obtained by using multiple types of heterogeneous indexes based on the corresponding at least two query request contents.
In another embodiment of the present application, after obtaining the Query instruction carrying the Query field, query splicing may be performed on the Query field, and after the Query field is spliced, a Query request is sent to the device, so that the device searches for corresponding information from the database according to the spliced field, and the result merging of the Query field is completed, so as to generate the final Query request content. As shown in fig. 5, in the present application, after a feature acquisition stage (FeatureProcess) is performed on a Query instruction to generate final Query request content, query splicing, query request, recall analysis, and result merging may be further performed on the Query request content by using heterogeneous indexes of each type, so as to generate final Query information.
S205, generating a query result according to at least two query information.
In the method, a query instruction carrying at least two query fields is acquired, the query fields are processed according to a filtering rule and an association policy to generate query request contents, and then corresponding query results are obtained based on the query policy and the query request contents. By applying the technical scheme, the query field input by the user can be optimized, and the query result is generated based on the optimized query field and data content corresponding to the heterogeneous index query of a plurality of types. And further, the problem of inaccurate query results caused by inaccurate query fields in the related technology can be avoided, and further, the user experience is improved.
Further optionally, in an embodiment of the present application, after S102 (obtaining the corresponding at least two query information based on the preset query policy and the at least two query fields), a specific embodiment is further included, as shown in fig. 6, including:
s301, acquiring a query instruction, wherein the query instruction carries at least two query fields.
S302, obtaining at least two corresponding query information based on a preset query strategy and at least two query fields.
S303, detecting the quantity of the query information.
It is understood that in the query results in this application, there may be a plurality of corresponding query information. Further, in order to avoid the problem that the user experience is reduced due to the fact that too much information is displayed to the user. According to the method and the device, after the query information is obtained, the query information can be screened out in a targeted mode, and the optimized query information is used as a query result and displayed to a user.
S304, screening out the query information which does not accord with the preset conditions in the query information according to the preset screening conditions when the number of the query information is not lower than the second preset number.
Optionally, after obtaining the query information, the present application may further detect the number of the query information, and determine that the current query information is too many when the number of the query information is detected to be greater than or equal to a second preset number, so that the query information that does not conform to the preset condition in at least two query information may be screened out according to the preset screening condition.
First, it should be noted that, in the present application, the second preset number is not specifically limited, that is, the second preset number may be any number. In addition, in the present application, the second preset number may be the same as the first preset number, and the second preset number may also be different from the first preset number.
Further, in the present application, at least one piece of query information should be retained in the process of screening out the query information that does not meet the preset condition according to the preset screening condition.
In one possible implementation manner of the present application, when the number of the at least two pieces of query information is not less than the second preset number, the screening of the at least two pieces of query information according to the preset screening condition may be accomplished in the following manner:
and detecting query information with the historical click times lower than the preset times in the query information, wherein the historical click times are the times checked by a user in a preset time period range.
Optionally, the application may select to detect that each query information is in a historical time period range, and the user views the displayable data content that has the number of clicked times exceeding the preset number of times. It can be appreciated that the higher the number of historical clicks, the higher the likelihood of query results being truly desired by the user.
It should be noted that, in the present application, the preset times are not specifically limited, that is, the preset times may be 10 times, the preset times may also be 50 times, and the specific numerical variation of the preset times may not affect the protection range of the present application. Similarly, the specific range of the historical time period is not limited, that is, the historical time period range may be within a time range 30 days before the current time zone, and the historical time period range may also be within a time range 100 days before the current time zone.
And screening out the query information of which the historical click times are lower than the preset times.
Optionally, in the present application, after query information with the historical click frequency lower than the preset frequency is detected in the at least two query information, query information with the historical click frequency lower than the preset frequency in the at least two query information may be further screened out.
S305, taking the screened query information as a query result.
In one embodiment of the present application, after the screened query information is used as the query result, a correspondence between the query result and at least two query fields may be further established.
Optionally, in the present application, when screening out query information with a history click frequency lower than a preset frequency in at least two query information and obtaining corresponding screened out query information, a corresponding relationship between the plurality of screened out query information and at least two query fields may be further established. In a preferred embodiment, the multiple screened query information and the schema field table of the query field may be established, so that when the query field is received again later, the corresponding data information may be queried through the schema field table.
Further, when a query instruction carrying a second query field is received, a query result is displayed, wherein the second query field is any one of at least two query fields.
Optionally, after the correspondence between the query result and at least two query fields is established, when the query instruction carrying the second query field is monitored again, the query of the related query field is not required, and the query result corresponding to the query field is directly invoked according to the stored correspondence between the query result and at least two query fields.
It should be noted that, the second query field in the present application may be any one of a plurality of query fields carried in the query instruction. In addition, the second query field may be identical to the first query field, or the second query field may be different from the first query field.
In the method, after a query instruction carrying at least two query fields is acquired, corresponding at least two query information is obtained according to a preset query strategy and the at least two query fields, the query information is screened out according to a preset screening condition, and thus a query result is generated. By applying the technical scheme, the method and the device can optimally screen out a plurality of query information searched for the query field, and screen out redundant query information to be used as a query result. And further, the defect that the user experience is reduced due to the fact that excessive information which is not interesting for the user exists in the query result in the related technology can be avoided.
In another embodiment of the present application, as shown in fig. 7, the present application further provides a query device using heterogeneous indexes, where the device includes an obtaining module 401, a second obtaining module 402, and an obtaining module 403, where,
the acquiring module 401 is configured to acquire a query instruction, where the query instruction carries at least two query fields;
the second obtaining module 402 is configured to obtain at least two corresponding query information based on a preset query policy and the at least two query fields, where the query policy is a policy of querying by using multiple types of heterogeneous indexes;
the obtaining module 403 generates a query result according to the at least two query information.
In the application, after acquiring a query instruction carrying at least two query fields, and obtaining at least two corresponding query information according to a preset query strategy and the at least two query fields, generating a query result according to the at least two query information. By applying the technical scheme, a plurality of query fields can be queried in a plurality of index modes, and then the generated plurality of query information is used as a query result. And further, the problem that the field table side which needs to pre-establish query data can query the query data in the related technology can be avoided.
Optionally, in another embodiment of the present application, the second obtaining module 402 further includes a query unit and a sorting unit, where:
a query unit configured to query the at least two query fields simultaneously with the plurality of types of heterogeneous indexes;
or alternatively, the first and second heat exchangers may be,
the sorting unit is configured to sort the heterogeneous indexes of the multiple types in a preset sorting mode;
and the query unit is configured to query the at least two query fields in sequence according to the sorted heterogeneous indexes.
In another embodiment of the present application, the method further includes a parsing module 404, where:
the parsing module 404 is configured to parse a first query field to obtain a first request type, where the first query field is any one of the at least two query fields;
the parsing module 404 is configured to determine the preset ordering mode according to the first request type.
In another embodiment of the present application, further comprises a detection module 405, wherein:
the detection module 405 is configured to generate a stop instruction when detecting that a first preset number of query information exists, where the stop instruction is used to stop querying the at least two query fields, and the first preset number is an integer greater than 1.
In another embodiment of the present application, the obtaining module 403 further includes a detecting unit, a screening unit, and a generating unit, where:
a detection unit configured to detect the number of the inquiry information;
the screening unit is configured to screen out query information which does not accord with preset conditions from the query information according to preset screening conditions when the number of the query information is not lower than a second preset number;
and the generation unit is configured to take the screened query information as the query result.
In another embodiment of the present application, the obtaining module 403, wherein:
the detection unit is configured to detect query information with the historical click times lower than the preset times in the query information, wherein the historical click times are the times checked by a user in a preset time period range;
and the screening unit is configured to screen out the query information of which the historical click times are lower than preset times.
In another embodiment of the present application, further comprising: a set-up module 406, wherein:
a building module 406, configured to build a correspondence between the query result and the query field;
The establishing module 406 is further configured to display the query result when a query instruction carrying a second query field is received, where the second query field is any one of the at least two query fields.
In another embodiment of the present application, further comprising: a third generation module 407, wherein:
a third generating module 407, configured to obtain at least two query fields carried in the query instruction;
the third generating module 407 is further configured to filter the at least two query fields based on a preset filtering rule, and/or perform association processing on the at least two query fields based on a preset association policy, so as to obtain at least two corresponding query request contents;
the third generating module 407 is further configured to obtain the at least two query information based on the preset query policy and the at least two query request contents.
In another embodiment of the present application, the plurality of types of heterogeneous indexes include at least any two of:
forward index, reverse index, KV index, third party index.
Fig. 8 is a block diagram of a logic structure of an electronic device, according to an example embodiment. For example, electronic device 500 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 8, an electronic device 500 may include one or more of the following components: a processor 501 and a memory 502.
Processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 501 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 501 may also include a main processor and a coprocessor, the main processor being a processor for processing data in an awake state, also referred to as a CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 501 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 501 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 502 may include one or more computer-readable storage media, which may be non-transitory. Memory 502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 502 is used to store at least one instruction for execution by processor 501 to implement the interactive special effects calibration method provided by the method embodiments herein.
In some embodiments, the electronic device 500 may further optionally include: a peripheral interface 503 and at least one peripheral. The processor 501, memory 502, and peripheral interface 503 may be connected by buses or signal lines. The individual peripheral devices may be connected to the peripheral device interface 503 by buses, signal lines or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 504, touch display 505, camera 506, audio circuitry 507, positioning component 508, and power supply 509.
Peripheral interface 503 may be used to connect at least one Input/Output (I/O) related peripheral to processor 501 and memory 502. In some embodiments, processor 501, memory 502, and peripheral interface 503 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 501, memory 502, and peripheral interface 503 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 504 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 504 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 504 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 504 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 504 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuitry 504 may also include NFC (Near Field Communication ) related circuitry, which is not limited in this application.
The display 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 505 is a touch display, the display 505 also has the ability to collect touch signals at or above the surface of the display 505. The touch signal may be input as a control signal to the processor 501 for processing. At this time, the display 505 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 505 may be one, providing a front panel of the electronic device 500; in other embodiments, the display 505 may be at least two, and disposed on different surfaces of the electronic device 500 or in a folded design; in still other embodiments, the display 505 may be a flexible display disposed on a curved surface or a folded surface of the electronic device 500. Even more, the display 505 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The display 505 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 506 is used to capture images or video. Optionally, the camera assembly 506 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 506 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuitry 507 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, converting the sound waves into electric signals, and inputting the electric signals to the processor 501 for processing, or inputting the electric signals to the radio frequency circuit 504 for voice communication. For purposes of stereo acquisition or noise reduction, the microphone may be multiple and separately disposed at different locations of the electronic device 500. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, audio circuitry 507 may also include a headphone jack.
The location component 508 is used to locate the current geographic location of the electronic device 500 to enable navigation or LBS (Location Based Service, location-based services). The positioning component 508 may be a positioning component based on the United states GPS (Global Positioning System ), the Beidou system of China, the Granati system of Russia, or the Galileo system of the European Union.
The power supply 509 is used to power the various components in the electronic device 500. The power supply 509 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 509 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the electronic device 500 further includes one or more sensors 510. The one or more sensors 510 include, but are not limited to: an acceleration sensor 511, a gyro sensor 512, a pressure sensor 513, a fingerprint sensor 514, an optical sensor 515, and a proximity sensor 516.
The acceleration sensor 511 can detect the magnitudes of accelerations on three coordinate axes of the coordinate system established with the electronic device 500. For example, the acceleration sensor 511 may be used to detect components of gravitational acceleration on three coordinate axes. The processor 501 may control the touch display 505 to display a user interface in a landscape view or a portrait view according to a gravitational acceleration signal acquired by the acceleration sensor 511. The acceleration sensor 511 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 512 may detect a body direction and a rotation angle of the electronic apparatus 500, and the gyro sensor 512 may collect a 3D motion of the user on the electronic apparatus 500 in cooperation with the acceleration sensor 511. The processor 501 may implement the following functions based on the data collected by the gyro sensor 512: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 513 may be disposed at a side frame of the electronic device 500 and/or at an underlying layer of the touch screen 505. When the pressure sensor 513 is disposed on a side frame of the electronic device 500, a grip signal of the electronic device 500 by a user may be detected, and the processor 501 performs left-right hand recognition or quick operation according to the grip signal collected by the pressure sensor 513. When the pressure sensor 513 is disposed at the lower layer of the touch display screen 505, the processor 501 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 505. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 514 is used for collecting the fingerprint of the user, and the processor 501 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the user is authorized by the processor 501 to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 514 may be provided on the front, back or side of the electronic device 500. When a physical key or vendor Logo is provided on the electronic device 500, the fingerprint sensor 514 may be integrated with the physical key or vendor Logo.
The optical sensor 515 is used to collect the ambient light intensity. In one embodiment, the processor 501 may control the display brightness of the touch screen 505 based on the ambient light intensity collected by the optical sensor 515. Specifically, when the intensity of the ambient light is high, the display brightness of the touch display screen 505 is turned up; when the ambient light intensity is low, the display brightness of the touch display screen 505 is turned down. In another embodiment, the processor 501 may also dynamically adjust the shooting parameters of the camera assembly 506 based on the ambient light intensity collected by the optical sensor 515.
A proximity sensor 516, also referred to as a distance sensor, is typically provided on the front panel of the electronic device 500. The proximity sensor 516 is used to collect the distance between the user and the front of the electronic device 500. In one embodiment, when the proximity sensor 516 detects a gradual decrease in the distance between the user and the front of the electronic device 500, the processor 501 controls the touch display 505 to switch from the bright screen state to the off screen state; when the proximity sensor 516 detects that the distance between the user and the front surface of the electronic device 500 gradually increases, the processor 501 controls the touch display screen 505 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the structure shown in fig. 8 is not limiting of the electronic device 500 and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium including instructions, such as memory 504 including instructions, executable by processor 520 of electronic device 500 to perform the above-described video playback method, the method comprising obtaining a query instruction, the query instruction carrying at least two query fields therein; obtaining at least two corresponding query information based on a preset query strategy and the at least two query fields, wherein the query strategy is a strategy for querying by utilizing a plurality of heterogeneous indexes; and generating a query result according to the at least two query information. Optionally, the above instructions may also be executed by the processor 520 of the electronic device 500 to perform the other steps involved in the above-described exemplary embodiments. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, there is also provided an application/computer program product comprising one or more instructions executable by the processor 520 of the electronic device 500 to perform the above-described calibration method, the method comprising: acquiring a query instruction, wherein the query instruction carries at least two query fields; obtaining at least two corresponding query information based on a preset query strategy and the at least two query fields, wherein the query strategy is a strategy for querying by utilizing a plurality of heterogeneous indexes; and generating a query result according to the at least two query information. Optionally, the above instructions may also be executed by the processor 520 of the electronic device 500 to perform the other steps involved in the above-described exemplary embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. A query method using heterogeneous indexes, comprising:
acquiring a query instruction, wherein the query instruction carries at least two query fields;
obtaining at least two corresponding query information based on a preset query strategy and the at least two query fields, wherein the query strategy is a strategy for querying by utilizing a plurality of heterogeneous indexes;
generating a query result according to the at least two query information;
wherein the generating a query result according to the at least two query information includes:
detecting the quantity of the query information; when the number of the query information is not lower than a second preset number, screening out the query information which does not accord with the preset conditions from the query information according to the preset screening conditions; taking the screened query information as the query result;
screening out the query information which does not meet the preset conditions according to the preset screening conditions, wherein the screening out the query information comprises the following steps: detecting query information with the historical click times lower than the preset times in the query information, wherein the historical click times are the times checked by a user in a preset time period range; screening out the query information of which the historical click times are lower than preset times;
And after the screened query information is used as the query result, the method further comprises the following steps:
establishing a corresponding relation between the query result and the query field; and when a query instruction carrying a second query field is received, displaying the query result, wherein the second query field is any one of the at least two query fields.
2. The method of claim 1, wherein the obtaining the corresponding at least two query information based on the preset query policy and the at least two query fields comprises:
simultaneously, inquiring the at least two inquiry fields in a database by utilizing the heterogeneous indexes of the types to obtain the corresponding at least two inquiry information;
or alternatively, the first and second heat exchangers may be,
sorting the heterogeneous indexes of the multiple types in a preset sorting mode;
and sequentially inquiring the at least two inquiry fields in a database by utilizing the sorted heterogeneous indexes to obtain the corresponding at least two inquiry information.
3. The method of claim 2, further comprising, prior to said ordering the plurality of types of heterogeneous indexes in a preset ordering manner:
Analyzing a first query field to obtain a first request type, wherein the first query field is any one of the at least two query fields;
and determining the preset ordering mode according to the first request type.
4. The method of claim 2, further comprising, after sequentially querying the at least two query fields according to the ordered plurality of types of heterogeneous indexes:
and generating a stop instruction after detecting that the first preset number of inquiry information exists, wherein the stop instruction is used for stopping inquiring the at least two inquiry fields, and the first preset number is an integer greater than 1.
5. The method of claim 1, further comprising, after the fetching of the query instruction:
acquiring at least two query fields carried in the query instruction;
filtering the at least two query fields based on a preset filtering rule, and/or performing association processing on the at least two query fields based on a preset association policy to obtain at least two corresponding query request contents;
and obtaining the at least two pieces of inquiry information based on the preset inquiry strategy and the at least two pieces of inquiry request contents.
6. A query device utilizing heterogeneous indexes, comprising:
the first acquisition module is configured to acquire a query instruction, wherein the query instruction carries at least two query fields;
the second acquisition module is configured to obtain at least two corresponding query information based on a preset query strategy and the at least two query fields, wherein the query strategy is a strategy for querying by utilizing a plurality of heterogeneous indexes;
the generating module is configured to generate a query result according to the at least two query information;
the generation module comprises a detection unit, a screening unit and a generation unit; the detection unit is configured to detect the quantity of the query information; the screening unit is configured to screen out query information which does not accord with a preset condition from the query information according to a preset screening condition when the number of the query information is not lower than a second preset number; the generation unit is configured to take the screened query information as the query result;
the detection unit is specifically configured to detect query information with the historical click times lower than the preset times in the query information, wherein the historical click times are the times checked by a user in a preset time period range; the screening unit is specifically configured to screen out query information with the historical click times lower than preset times from the query information;
Further comprises: establishing a module; the establishing module is configured to establish a corresponding relation between the query result and the query field; and when a query instruction carrying a second query field is received, displaying the query result, wherein the second query field is any one of the at least two query fields.
7. An electronic device, comprising:
a memory for storing executable instructions; the method comprises the steps of,
a display for displaying with the memory to execute the executable instructions to perform the operations of the query method of any one of claims 1-5 using heterogeneous indexes.
8. A computer-readable storage medium storing computer-readable instructions that, when executed, perform the operations of the query method of any one of claims 1-5 using heterogeneous indexes.
CN201910122881.7A 2019-02-19 2019-02-19 Query method and device using heterogeneous index, electronic equipment and medium Active CN109902089B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910122881.7A CN109902089B (en) 2019-02-19 2019-02-19 Query method and device using heterogeneous index, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910122881.7A CN109902089B (en) 2019-02-19 2019-02-19 Query method and device using heterogeneous index, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN109902089A CN109902089A (en) 2019-06-18
CN109902089B true CN109902089B (en) 2023-05-23

Family

ID=66944981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910122881.7A Active CN109902089B (en) 2019-02-19 2019-02-19 Query method and device using heterogeneous index, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN109902089B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104426B8 (en) * 2019-11-22 2024-04-23 北京傲速科技有限公司 Data query method and system
CN111506559B (en) * 2020-04-21 2024-04-05 北京同邦卓益科技有限公司 Data storage method, device, electronic equipment and storage medium
CN113505265B (en) * 2021-07-27 2024-03-01 北京达佳互联信息技术有限公司 Data query method and device, electronic equipment, storage medium and program product
CN114116775A (en) * 2021-11-08 2022-03-01 北京达佳互联信息技术有限公司 Information processing method, device, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9824128B1 (en) * 2012-08-01 2017-11-21 The United States Of America As Represented By The Administrator Of Nasa System for performing single query searches of heterogeneous and dispersed databases
CN108959291B (en) * 2017-05-19 2023-03-24 腾讯科技(深圳)有限公司 Query method and related device
CN108509585A (en) * 2018-03-29 2018-09-07 重庆大学 A kind of isomeric data real-time, interactive optimized treatment method

Also Published As

Publication number Publication date
CN109902089A (en) 2019-06-18

Similar Documents

Publication Publication Date Title
CN109902089B (en) Query method and device using heterogeneous index, electronic equipment and medium
CN108717432B (en) Resource query method and device
CN109918669B (en) Entity determining method, device and storage medium
CN111104402A (en) Method, device, electronic equipment and medium for searching data
CN112052354A (en) Video recommendation method, video display method and device and computer equipment
CN110704455B (en) Method, device, terminal and storage medium for generating data asset directory
CN113987326B (en) Resource recommendation method and device, computer equipment and medium
CN109189978B (en) Method, device and storage medium for audio search based on voice message
WO2021218634A1 (en) Content pushing
CN111475611B (en) Dictionary management method, dictionary management device, computer equipment and storage medium
CN110149408B (en) Service data display method and device, terminal and server
CN111782950A (en) Sample data set acquisition method, device, equipment and storage medium
CN113051485B (en) Group searching method, device, terminal and storage medium
CN111125095B (en) Method, device, electronic equipment and medium for adding data prefix
CN112905328B (en) Task processing method, device and computer readable storage medium
CN115134316B (en) Topic display method, device, terminal and storage medium
CN114329292A (en) Resource information configuration method and device, electronic equipment and storage medium
CN110928867B (en) Data fusion method and device
CN112417263B (en) Data recommendation method, device and storage medium
CN110717110B (en) Multimedia resource filtering method and device, electronic equipment and storage medium
CN111159551B (en) User-generated content display method and device and computer equipment
CN109871411B (en) Method, device, electronic equipment and medium for synchronizing data
CN112364244A (en) Multimedia data recommendation method, device, server and storage medium
CN113408809A (en) Automobile design scheme evaluation method and device and computer storage medium
CN111680039A (en) Storage method, query method, device, equipment and storage medium of order information

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
GR01 Patent grant
GR01 Patent grant