Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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.

Active Publication Date: 2020-11-06
ADVANCED NEW TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in practical applications, the application may change the search engine according to changes in requirements. For example, the processing efficiency of the existing search engine cannot meet the growth of business volume, so it is necessary to replace the search engine with higher processing efficiency; or optimize the application Modified the output format of search requests while improving, etc.
This requires developers to re-adapt according to the modified request output format or the changed search engine interface. If the request format is modified multiple times or the search engine is changed multiple times, multiple re-adaptations are required. (including manpower, material resources, etc.) is a waste

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Search method, device, system, and method for generating command converters
  • Search method, device, system, and method for generating command converters
  • Search method, device, system, and method for generating command converters

Examples

Experimental program
Comparison scheme
Effect test

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...

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

PUM

No PUM Login to View More

Abstract

The invention discloses a searching method, device and system as well as a generation method of the command converter. The searching method comprises the steps as follows: a searching request which is sent by an application and meets a preset criterion is received; the searching request is converted into a searching command which is matched with the requirement of the application and can be recognized by a searching engine; after the searching engine performs searching and generates a searching result according to the searching command, the searching result is converted into an application result recognizable to the application in a preset format; the application result is returned to the application. With the adoption of the searching method, after the application or the searching engine changes, the waste of development resources is reduced while the searching function is ensured to be available.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a search method, device, system and a method for generating a command converter. Background technique [0002] The amount of information in the Internet is extremely large, and the search function can easily and quickly obtain the required information therefrom. Therefore, search engines (hereinafter referred to as engines) have emerged as the times require. By sending a specific search command (hereinafter referred to as a command) to the corresponding engine, the information search is completed. Through different development languages ​​or different development ideas, developers have developed a variety of engines, such as Sol and ElasticSearch, which are all search engines based on Lucene, and distributed real-time search engine HA3, etc. These are different engines. And each has different advantages and disadvantages. So the application developer will select the...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/2452G06F16/2453
CPCG06F16/24526G06F16/24534
Inventor 马华标
Owner ADVANCED NEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products