Search method, device, system, and method for generating command converters
A search method and converter technology, applied in the computer field, can solve the problems of development resources, manpower, material resources waste, the processing efficiency of search engines cannot meet the business volume, etc., and achieve the effect of reducing waste.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0069] As mentioned above, in the prior art, application developers need to select a suitable search engine according to the timeliness and performance of the search engine, or the amount of data in the database that the engine can search. Configure a converter between, such as figure 1 As shown, the format of the search request output by the interface of the application program is "a", and the format of the search command recognized by the search engine "1" is "A", so it needs to be configured between the format "a" and the format "A". A converter "aA1", so that a search request in the "a" format is converted into a search command in the "A" format by the converter "aA1". However, in practical applications, applications may change search engines according to changes in requirements, such as figure 2 As shown in , the format of the search request output by the interface of the application program is changed to "b". At this time, if it needs to be adapted to the search engine...
Embodiment 2
[0095] How to search is introduced in Example 1, combined with Figure 4 It can be seen that the converter plays a very important role as the middleware connecting the search request and the search engine, and different converters can convert the search request satisfying the predetermined specification into a search command recognizable by the corresponding search engine. Based on the same inventive concept as that of Embodiment 1. The embodiment of the present application provides a method for generating a command converter, so as to reduce the waste of development resources while ensuring that the search function is available after the application or the search engine is changed. The procedure of this method is as follows Figure 5 shown, including the following steps:
[0096] Step 21: Parse the search request that meets the preset specification, and generate a syntax tree.
[0097] As mentioned above, the search request can be parsed to generate a syntax tree, for exam...
Embodiment 3
[0107] Based on the same inventive concept, Embodiment 3 provides a search system to reduce the waste of development resources while ensuring that the search function is available after the application or search engine changes. Such as Figure 7 Shown is a structural diagram of the system, including: an application 31, a search module 32 and a search engine 33, wherein,
[0108] App 31, can
[0109] Send a search request that meets the preset specification, which is preset by the search module; and receive application results that can be identified by the application.
[0110] During the development process, application developers only need to consider how to convert the received keywords entered by users into search requests that meet the preset specifications, and do not need to pay attention to how to interface with search engines. The specification is preset by the search module, such as the FSQL specification mentioned above. In the system, as long as the preset specif...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com