CN111125176A - Service data searching method and device, electronic equipment and storage medium - Google Patents
Service data searching method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111125176A CN111125176A CN201911329348.4A CN201911329348A CN111125176A CN 111125176 A CN111125176 A CN 111125176A CN 201911329348 A CN201911329348 A CN 201911329348A CN 111125176 A CN111125176 A CN 111125176A
- Authority
- CN
- China
- Prior art keywords
- service
- search
- module
- field
- information
- 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.)
- Granted
Links
Images
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/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- 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/245—Query processing
- G06F16/2457—Query processing with adaptation to user needs
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application discloses a business data searching method, a business data searching device, electronic equipment and a storage medium, and relates to the field of search engines. The specific implementation scheme is as follows: acquiring user search information; determining a search result according to the user search information and the service index information; the service searching module is constructed in the following way: acquiring field configuration information of a service party through a universal search module in a service server; acquiring service data of a service party through a universal searching module; the field configuration information and the service data are used for adjusting the universal searching module into a service searching module. According to the method and the device, the universal searching module is used for acquiring the configuration fields and the uploaded service data of each service party according to the service requirements of the service party, so that the service searching module is constructed, the service searching module can be used by different service parties, the personalized customization requirements of the service parties are met, and then the service searching module deployed by the user based on the service party completes accurate retrieval.
Description
Technical Field
The embodiment of the application relates to the technical field of internet, in particular to the field of search engines, and specifically relates to a business data search method and device, electronic equipment and a storage medium.
Background
Currently, in the large background of the internet, many business parties increasingly attach importance to the internet, for example, government departments hope to implement a series of convenient services and applications through the internet. In order to enable a user to quickly find desired information or services, a business side must implement a search function for information service data.
At present, a search scheme which can meet the personalized search requirements of different business parties and can avoid data leakage of the business parties is lacked.
Disclosure of Invention
The embodiment of the application discloses a business data searching method, a business data searching device, electronic equipment and a storage medium, so that the personalized searching requirements of different business parties can be met, and the purpose of avoiding data leakage of the business parties is achieved.
In a first aspect, an embodiment of the present application discloses a service data search method, which is executed by a service search module in a service server, and the method includes:
acquiring user search information;
determining a search result according to the user search information and the service index information;
the service searching module is constructed in the following way: acquiring field configuration information of a service party from a universal search module in the service server; acquiring service data of a service party through the universal searching module; the field configuration information and the service data are used to adjust the generic search module to the service search module.
One embodiment in the above application has the following advantages or benefits: according to the embodiment of the application, the universal searching module is used for acquiring the configuration fields of all the service parties according to the service requirements of the service parties and the service data uploaded by the service parties respectively so as to construct the service searching module, so that the service searching module can be used by different service parties, the personalized customization requirements of the service parties are met, and then the service searching module deployed by a user based on the service parties is used for completing accurate retrieval.
In addition, the service data searching method according to the above embodiment of the present application may further have the following additional technical features:
optionally, the obtained field configuration information is written into a field database of the universal search module through an initialization interface of the universal search module;
writing the acquired service data into a service data queue of the universal searching module through a data processing interface of the universal searching module;
the service data in the service data queue is sent to an index unit through a service management unit of a universal search module;
and acquiring field configuration information from the field database through the indexing unit, and constructing the service index information according to the acquired field configuration information and the received service data.
One embodiment in the above application has the following advantages or benefits: the service management unit manages the service data uploaded by the service party and issues the service data in the service data queue to the index unit, so that the field and the index of the service data are conveniently constructed.
Optionally, the field configuration information includes a query field and an auxiliary field; the assistance field includes at least one of: a screening field, a right-lifting field, an ordering field, an aggregation field and a mark field;
determining a search result according to the user search word and the service index information, wherein the search result comprises the following steps:
determining a preliminary search result according to the user search information belonging to the query field and the service index information;
and processing the preliminary search result according to the user search information belonging to the auxiliary field.
One embodiment in the above application has the following advantages or benefits: the preliminary search results required by the user can be quickly found based on the query fields, the preliminary search results can be screened and marked through the auxiliary fields, the most relevant search results are returned to the user, and the search accuracy is improved.
Optionally, the method further includes:
acquiring resource data of a service searching module from a third party;
and deploying the service searching module to a service party server according to the resource data of the service searching module.
One embodiment in the above application has the following advantages or benefits: the service search module is deployed in the server of the service party, so that the data leakage of the service party is avoided, and the data security of the service party is ensured.
Optionally, determining a search result according to the user search information and the service index information includes:
sending the user search information to a query analysis module of a third party for instructing the query analysis module to analyze the user search information;
and determining a search result according to the analyzed user search information and the service index information. One embodiment in the above application has the following advantages or benefits: the search information of the user is analyzed by the aid of the third-party query analysis module, core word extraction, wrongly-written character recognition and yellow-reversed recognition can be achieved, and accordingly retrieval relevance is guaranteed.
In a second aspect, an embodiment of the present application discloses a service search module configured in a service search module of a service server; the device comprises:
a search information acquisition unit for acquiring user search information;
a search result determining unit, configured to determine a search result according to the user search information and the service index information;
the service searching module is constructed in the following way: acquiring field configuration information of a service party through a universal search module in the service server; acquiring service data of a service party through the universal searching module; the field configuration information and the service data are used to adjust the generic search module to the service search module.
In a third aspect, an embodiment of the present application further provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the service data searching method according to any embodiment of the present application.
In a fourth aspect, the present application further provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the service data searching method according to any embodiment of the present application.
One embodiment in the above application has the following advantages or benefits: the fields configured by different business parties according to the business requirements of the business parties are obtained based on the universal searching module, the business data uploaded by the business parties are obtained simultaneously, and the business index information is constructed based on the fields configured by the business parties and corresponding business data, so that the user can search conveniently, the business searching module is ensured to be used by the different business parties, and the personalized customization requirements of the different business parties are met. And the service search module is deployed in the server of the service party, so that the data leakage of the service party is avoided, and the data security of the service party is ensured.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1 is a schematic flow chart of a business data searching method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a business data searching method according to an embodiment of the present application;
fig. 3a is a schematic flow chart of a service data searching method according to an embodiment of the present application;
FIG. 3b is a schematic diagram illustrating a service search module deployment according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a service search module according to an embodiment of the present application;
fig. 5 is a block diagram of an electronic device for implementing a service data searching method according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic flow chart of a business data search method according to an embodiment of the present application, which is applicable to non-professional search businesses, such as internal search of applications, business service APPs or applets, and in-site search of various websites. The method may be performed by a service search module, which is implemented in software and/or hardware, preferably configured in an electronic device, such as a server or a computer device. As shown in fig. 1, the method specifically includes the following steps:
s101, obtaining user search information.
Optionally, a search box control is provided for the user at the front end, and the user can input the search information desired to be queried in the search box. When inputting the search information, optionally, the search information is input in a text form or in a voice form. It should be noted that, if the user inputs the voice search information, the voice recognition may be performed first to obtain the text search information, and then the search operation is performed.
And S102, determining a search result according to the user search information and the service index information.
The service searching module is constructed in the following way:
s1, field configuration information of a service party is obtained through a universal search module in a service server.
In an initial stage of constructing a service search module based on a general search module, the general search module obtains that each service party can configure corresponding fields in an interface document according to service requirements of each service party, and optionally, the fields include general query fields and custom fields, wherein the general query fields are exemplified as 'gid', correspond to 'document id', and also correspond to 'subject title' like a field 'title'. It should be noted that, at the initial stage, the service party may configure corresponding fields in the interface document according to its own service requirements, thereby ensuring that the constructed service search module can be used by different service parties, and satisfying the personalized customization requirements of the service party. After the business side configures the field, the field configuration information of the business side can be obtained from the interface document based on the initialization interface in the universal search module.
Further, the service search module further includes a field database, which is redis for example, so that the acquired field configuration information can be written into the field database of the universal search module through the initialization interface of the universal search module.
And S2, acquiring the service data of the service party through the universal searching module.
Optionally, the universal search module further includes a data processing interface, so that the service data submitted, modified or deleted by the service party can be acquired through the data processing interface. Further, the universal search module further includes a service data queue (e.g., kafka), so that the acquired service data can be written into the service data queue of the universal search module through the data processing interface.
And S3, the field configuration information and the service data are used for adjusting the universal searching module into the service searching module.
In order to adjust the universal search module into a service search module, firstly, an index between the field configuration information and the service data needs to be constructed, and in order to quickly construct service index information, the universal search module also comprises a service management unit, and the service data in a service data queue can be sent to the index unit of the universal search module through the service management unit; the field configuration information is obtained from the field database through the indexing unit, the business index information is constructed according to the obtained field configuration information and the business data, for example, the business index information is constructed in an inverted index mode, and after the business index information is constructed, the universal searching module is adjusted to be the business searching module.
Further, on the basis of constructing the service index information, the constructed service search module provides two search modes, namely query search (namely search term search) and sug search (namely site search input prompt service). When searching in a query retrieval mode, after user search information is acquired, matching the user search information with configured field information to find a target field related to the user search information, and determining service data corresponding to the target field as a search result according to service index information. When a sug retrieval mode is utilized, according to the acquired user search information, suggested words are inquired in a pre-cached sug word list, and searching is carried out in the content of a pre-cached (such as memcache) of a cache system according to the suggested words, wherein the words in the sug word list can be optionally mined from the user search information.
In the embodiment of the application, the fields which can be configured by each service party according to the service requirement of the service party and the service data uploaded by the service party are obtained based on the universal searching module to construct the service searching module, so that the service searching module can be used by different service parties, the personalized customization requirements of the service parties are met, and then the service searching module deployed by a user based on the service party completes accurate retrieval.
Fig. 2 is a schematic flow chart of a service data search method provided in an embodiment of the present application, where the embodiment is optimized based on the foregoing embodiment, and in this embodiment, field configuration information of a service party acquired through an initialization interface includes a query field and an auxiliary field (i.e., a custom field).
Referring to fig. 2, the method specifically includes:
s201, obtaining user search information.
S202, determining a preliminary search result according to the user search information belonging to the query field and the service index information.
Optionally, the user search information is matched with the query fields, the correlation between the user search information and each query field is determined, the target query field to which the user search information belongs is further determined according to the correlation, and further, based on the service index information, the service data associated with the target query field is determined as the preliminary search result.
S203, processing the preliminary search result according to the user search information belonging to the auxiliary field.
In an embodiment of the present application, the auxiliary field includes at least one of: a screening field, a delegation field, an ordering field, an aggregation field, and a tagging field. The screening field is used for screening the preliminary search results, for example, if the screening field is the name of an administrative division of the same level, the preliminary search results can be screened according to different administrative divisions; the weight-increasing field is used for sorting the search results, for example, in the preliminary search results, one search result comprises the weight-increasing field, and the search result can be ranked at the head; the sorting field is used for sorting the search structure; the aggregation field is used for merging similar search combinations; the tag field is used to tag, e.g., highlight, a portion of the field contents in the search results.
And performing correlation calculation on the user search information and the auxiliary fields, determining target auxiliary fields to which the user search information belongs, and processing the primary selection result based on the target auxiliary fields to obtain a final search result.
In the embodiment of the application, the preliminary search results required by the user can be quickly found based on the query field, the preliminary search results can be screened and marked through the auxiliary field, the most relevant search results are returned to the user, and the search accuracy is improved.
Fig. 3a is a schematic flow chart of a service data search method provided in an embodiment of the present application, where the embodiment of the present application is optimized based on the foregoing embodiment, referring to fig. 3a, the method specifically includes:
s301, obtaining user search information.
S302, sending the user search information to a query analysis module of a third party, and indicating the query analysis module to analyze the user search information.
Before searching the index database to obtain a search result, the query analysis module of the third party sends the user search information to the query analysis module of the third party, and instructs the query analysis module to analyze the user search information, for example, to perform processing such as yellow-inverse recognition, feature word extraction, error correction and the like on the user search information, so as to obtain a more accurate search word, thereby improving the search relevance.
S303, determining a search result according to the analyzed user search information and the service index information.
The analyzed user search information and the service index information are used to determine the search result, and the specific search process is referred to the above description and is not repeated herein.
In the embodiment of the application, the service searching module is deployed on the server of the service side, so that data leakage is avoided, data safety is guaranteed, meanwhile, before searching the index database to obtain a searching result, the user searching information is analyzed by the third-party query analysis module, and then the analyzed user searching information is utilized to perform query, so that the relevance and the accuracy of the searching result can be guaranteed.
It should be noted here that the deployment operation of the service search module in each of the above embodiments is as follows: acquiring resource data of a service searching module from a third party; the service searching module is deployed in the server of the service party according to the resource data of the service searching module, and the service searching module is deployed on the server of the service party, so that data leakage is avoided, and data safety is guaranteed.
Referring to fig. 3b, a service search module deployment diagram is shown. During deployment, optionally, resource data of the service search module is acquired through a third-party packaging download service and is deployed in a service server, the service search module includes 3 layers, which are an API layer, an online service layer, and an offline service layer, respectively, where the API layer includes an initialization interface (init), a data processing interface (entry), and a search interface (e.g., a common search retrieval interface, a sug retrieval interface).
In the initialization stage, the initialization configuration is completed through an initialization interface, and the initial configuration information is written into a configuration information base (conf), for example, the query field and the auxiliary field configured by the service party in the initialization stage are written into the configuration information base through the interface; when the database is submitted and built, the service data uploaded by the service party is obtained through the data processing interface and is sent to the service data queue (kafka), the service management unit (built-index) sends the service data in the service data queue to the index unit (ES index database), and the index unit builds service index information according to the field configuration information and the service data configured in the initial stage. In the search, a general search term search (query search) may be performed through the search interface, or a sug search may be performed through the sug search interface. When searching through the search retrieval interface, if a cache system (memcache) is deployed in advance and data is cached, user search information can be searched in the cache system, and if the search information is not searched and inquired from the ES index library, the search information is directly retrieved from the cache system when searching through the sug retrieval interface. In the process of searching, the search words input by the user can be added into a pre-established query word list or a sug word list, and further, in an offline service layer, phrases can be mined from the query word list and added into the sug word list. In addition, in the searching process, query analysis is performed on the search, and optionally, analysis is performed through a query analysis module (queryparser) provided by a third party.
Fig. 4 is a schematic structural diagram of a service search module provided in an embodiment of the present application, where the service search module is configured to execute a service data search method provided in the foregoing embodiment, and referring to fig. 4, the service search module includes:
a search information acquisition unit 401 configured to acquire user search information;
a search result determining unit 402, configured to determine a search result according to the user search information and the service index information;
the service searching module is constructed in the following way: acquiring field configuration information of a service party through a universal search module in the service server; acquiring service data of a service party through the universal searching module; the field configuration information and the service data are used to adjust the generic search module to the service search module.
Optionally, the service search module is specifically constructed in the following manner:
writing the acquired field configuration information into a field database of the universal search module through an initialization interface of the universal search module;
writing the acquired service data into a service data queue of the universal searching module through a data processing interface of the universal searching module;
the service data in the service data queue is sent to the index unit through a service management unit of a universal search module;
and acquiring field configuration information from the field database through the indexing unit, and constructing the service index information according to the acquired field configuration information and the received service data.
Optionally, the field configuration information includes a query field and an auxiliary field; the assistance field includes at least one of: a screening field, a right-lifting field, an ordering field, an aggregation field and a mark field;
correspondingly, the search result determining unit is specifically configured to:
determining a preliminary search result according to the user search information belonging to the query field and the service index information;
and processing the preliminary search result according to the user search information belonging to the auxiliary field.
Optionally, the service search module is further configured to:
acquiring resource data of a service searching module from a third party;
and deploying the service searching module to a service party server according to the resource data of the service searching module.
Optionally, the apparatus further comprises:
the resource acquisition module is used for acquiring resource data of the service search module from a third party;
and the deployment module is used for deploying the service search module to a service party server according to the resource data of the service search module.
The service searching module provided by the embodiment of the application can execute the service data searching method provided by any embodiment of the application, and has corresponding functional modules and beneficial effects of the executing method. Reference may be made to the description of any method embodiment of the present application for details not explicitly described in this embodiment.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 5 is a block diagram of an electronic device according to a service data searching method in an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 5, the electronic apparatus includes: one or more processors 501, memory 502, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 5, one processor 501 is taken as an example.
The memory 502, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the business data searching method in the embodiment of the present application (e.g., the search information acquiring unit 401 and the search result determining unit 402 shown in fig. 4). The processor 501 executes various functional applications of the server and data processing, i.e., implements the service data search method in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 502.
The memory 502 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device implementing the service data search method, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 502 optionally includes memory located remotely from processor 501, which may be connected via a network to an electronic device implementing the business data search method. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device implementing the service data searching method may further include: an input device 503 and an output device 504. The processor 501, the memory 502, the input device 503 and the output device 504 may be connected by a bus or other means, and fig. 5 illustrates the connection by a bus as an example.
The input device 503 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device implementing the service data search method, such as an input device of a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, etc. The output devices 504 may include a display device, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), the internet, and blockchain networks.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the fields configured by different business parties according to the business requirements of the business parties are obtained based on the universal searching module, the business data uploaded by the business parties are obtained simultaneously, and the business index information is constructed based on the fields configured by the business parties and corresponding to the business data, so that the user can search conveniently, thereby ensuring that the business searching module can be used by different business parties, and meeting the personalized customization requirements of different business parties. And the service search module is deployed in the server of the service party, so that the data leakage of the service party is avoided, and the data security of the service party is ensured.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (12)
1. A business data search method is characterized in that the method is executed by a business search module in a business server; the method comprises the following steps:
acquiring user search information;
determining a search result according to the user search information and the service index information;
the service searching module is constructed in the following way: acquiring field configuration information of a service party through a universal search module in the service server; acquiring service data of a service party through the universal searching module; the field configuration information and the service data are used to adjust the generic search module to the service search module.
2. The method of claim 1, further comprising:
writing the acquired field configuration information into a field database of the universal search module through an initialization interface of the universal search module;
writing the acquired service data into a service data queue of the universal searching module through a data processing interface of the universal searching module;
the service data in the service data queue is sent to an index unit through a service management unit of a universal search module;
and acquiring field configuration information from the field database through the indexing unit, and constructing the service index information according to the acquired field configuration information and the received service data.
3. The method of claim 1, wherein the field configuration information comprises a query field and an auxiliary field; the assistance field includes at least one of: a screening field, a right-lifting field, an ordering field, an aggregation field and a mark field;
determining a search result according to the user search word and the service index information, wherein the search result comprises the following steps:
determining a preliminary search result according to the user search information belonging to the query field and the service index information;
and processing the preliminary search result according to the user search information belonging to the auxiliary field.
4. The method of claim 1, further comprising:
acquiring resource data of a service searching module from a third party;
and deploying the service searching module to a service party server according to the resource data of the service searching module.
5. The method of claim 1, wherein determining search results according to the user search information and the service index information comprises:
sending the user search information to a query analysis module of a third party for instructing the query analysis module to analyze the user search information;
and determining a search result according to the analyzed user search information and the service index information.
6. A service searching device is characterized in that the device is configured in a service searching module of a service server; the device comprises:
a search information acquisition unit for acquiring user search information;
a search result determining unit, configured to determine a search result according to the user search information and the service index information;
the service searching module is constructed in the following way: acquiring field configuration information of a service party through a universal search module in the service server; acquiring service data of a service party through the universal searching module; the field configuration information and the service data are used to adjust the generic search module to the service search module.
7. The apparatus according to claim 6, wherein the service search module is specifically configured as follows:
writing the acquired field configuration information into a field database of the universal search module through an initialization interface of the universal search module;
writing the acquired service data into a service data queue of the universal searching module through a data processing interface of the universal searching module;
the service data in the service data queue is sent to an index unit through a service management unit of a universal search module;
and acquiring field configuration information from the field database through the indexing unit, and constructing the service index information according to the acquired field configuration information and the received service data.
8. The apparatus of claim 6, wherein the field configuration information comprises a query field and an auxiliary field; the assistance field includes at least one of: a screening field, a right-lifting field, an ordering field, an aggregation field and a mark field;
the search result determining unit is specifically configured to:
determining a preliminary search result according to the user search information belonging to the query field and the service index information;
and processing the preliminary search result according to the user search information belonging to the auxiliary field.
9. The apparatus of claim 6, further comprising:
the resource acquisition module is used for acquiring resource data of the service search module from a third party;
and the deployment module is used for deploying the service search module to a service party server according to the resource data of the service search module.
10. The apparatus of claim 6, wherein the search result determination unit is further configured to:
sending the user search information to a query analysis module of a third party for instructing the query analysis module to analyze the user search information;
and determining a search result according to the analyzed user search information and the service index information.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the traffic data searching method of any one of claims 1-5.
12. A non-transitory computer readable storage medium storing computer instructions for causing a computer to execute the traffic data search method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911329348.4A CN111125176B (en) | 2019-12-20 | 2019-12-20 | Service data searching method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911329348.4A CN111125176B (en) | 2019-12-20 | 2019-12-20 | Service data searching method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111125176A true CN111125176A (en) | 2020-05-08 |
CN111125176B CN111125176B (en) | 2023-10-03 |
Family
ID=70501010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911329348.4A Active CN111125176B (en) | 2019-12-20 | 2019-12-20 | Service data searching method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111125176B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559867A (en) * | 2020-12-16 | 2021-03-26 | 北京百度网讯科技有限公司 | Business content output method, device, equipment, storage medium and program product |
CN113486035A (en) * | 2021-07-07 | 2021-10-08 | 苏州达家迎信息技术有限公司 | Data record batch processing method and device, storage medium and electronic equipment |
CN113704604A (en) * | 2021-08-24 | 2021-11-26 | 山东库睿科技有限公司 | Search system and search method |
CN114691677A (en) * | 2020-12-31 | 2022-07-01 | 深圳云天励飞技术股份有限公司 | Data searching method and device, electronic equipment and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101042699A (en) * | 2007-04-28 | 2007-09-26 | 华中科技大学 | Safety search engine system based on accessing control |
CN101272524A (en) * | 2007-03-23 | 2008-09-24 | ***通信集团山东有限公司 | Searching platform and method for mobile service fast discovering |
US9262420B1 (en) * | 2012-04-23 | 2016-02-16 | Google Inc. | Third-party indexable text |
US20170193060A1 (en) * | 2015-12-30 | 2017-07-06 | Veritas Us Ip Holdings Llc | Systems and methods for enabling search services to highlight documents |
CN107066595A (en) * | 2017-04-19 | 2017-08-18 | 济南浪潮高新科技投资发展有限公司 | A kind of many application searches method of servicing of big data and system |
CN108681593A (en) * | 2018-05-16 | 2018-10-19 | 青岛海信移动通信技术股份有限公司 | Service data retrieval method and device |
CN108874924A (en) * | 2018-05-31 | 2018-11-23 | 康键信息技术(深圳)有限公司 | Creation method, device and the computer readable storage medium of search service |
CN109344336A (en) * | 2018-12-25 | 2019-02-15 | 北京时光荏苒科技有限公司 | Searching method, search set creation method, device, medium, terminal and server |
CN110110234A (en) * | 2019-05-13 | 2019-08-09 | 重庆天蓬网络有限公司 | A kind of real-time search system of big data and method |
CN110188100A (en) * | 2019-05-17 | 2019-08-30 | 中国银行股份有限公司 | Data processing method, device and computer storage medium |
CN110489417A (en) * | 2019-07-25 | 2019-11-22 | 深圳壹账通智能科技有限公司 | A kind of data processing method and relevant device |
-
2019
- 2019-12-20 CN CN201911329348.4A patent/CN111125176B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101272524A (en) * | 2007-03-23 | 2008-09-24 | ***通信集团山东有限公司 | Searching platform and method for mobile service fast discovering |
CN101042699A (en) * | 2007-04-28 | 2007-09-26 | 华中科技大学 | Safety search engine system based on accessing control |
US9262420B1 (en) * | 2012-04-23 | 2016-02-16 | Google Inc. | Third-party indexable text |
US20170193060A1 (en) * | 2015-12-30 | 2017-07-06 | Veritas Us Ip Holdings Llc | Systems and methods for enabling search services to highlight documents |
CN107066595A (en) * | 2017-04-19 | 2017-08-18 | 济南浪潮高新科技投资发展有限公司 | A kind of many application searches method of servicing of big data and system |
CN108681593A (en) * | 2018-05-16 | 2018-10-19 | 青岛海信移动通信技术股份有限公司 | Service data retrieval method and device |
CN108874924A (en) * | 2018-05-31 | 2018-11-23 | 康键信息技术(深圳)有限公司 | Creation method, device and the computer readable storage medium of search service |
CN109344336A (en) * | 2018-12-25 | 2019-02-15 | 北京时光荏苒科技有限公司 | Searching method, search set creation method, device, medium, terminal and server |
CN110110234A (en) * | 2019-05-13 | 2019-08-09 | 重庆天蓬网络有限公司 | A kind of real-time search system of big data and method |
CN110188100A (en) * | 2019-05-17 | 2019-08-30 | 中国银行股份有限公司 | Data processing method, device and computer storage medium |
CN110489417A (en) * | 2019-07-25 | 2019-11-22 | 深圳壹账通智能科技有限公司 | A kind of data processing method and relevant device |
Non-Patent Citations (2)
Title |
---|
VAUGHAN, L: "Discovering business information from search engine query data", pages 562 - 574, Retrieved from the Internet <URL:https://doi.org/10.1108/OIR-08-2013-0190> * |
郑富德: "企业多业务垂直搜索引擎框架设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》, pages 138 - 2624 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559867A (en) * | 2020-12-16 | 2021-03-26 | 北京百度网讯科技有限公司 | Business content output method, device, equipment, storage medium and program product |
CN112559867B (en) * | 2020-12-16 | 2023-11-03 | 北京百度网讯科技有限公司 | Business content output method, device, equipment, storage medium and program product |
CN114691677A (en) * | 2020-12-31 | 2022-07-01 | 深圳云天励飞技术股份有限公司 | Data searching method and device, electronic equipment and storage medium |
CN113486035A (en) * | 2021-07-07 | 2021-10-08 | 苏州达家迎信息技术有限公司 | Data record batch processing method and device, storage medium and electronic equipment |
CN113486035B (en) * | 2021-07-07 | 2024-05-07 | 苏州达家迎信息技术有限公司 | Data record batch processing method and device, storage medium and electronic equipment |
CN113704604A (en) * | 2021-08-24 | 2021-11-26 | 山东库睿科技有限公司 | Search system and search method |
Also Published As
Publication number | Publication date |
---|---|
CN111125176B (en) | 2023-10-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111125176B (en) | Service data searching method and device, electronic equipment and storage medium | |
CN111104514B (en) | Training method and device for document tag model | |
CN110865855A (en) | Applet processing method and related device | |
US11270669B2 (en) | Rendering method and apparatus, electronic device and storage medium | |
CN111949814A (en) | Searching method, searching device, electronic equipment and storage medium | |
CN112559870B (en) | Multi-model fusion method, device, electronic equipment and storage medium | |
CN111737399A (en) | Method and device for expanding question and answer set, electronic equipment and readable storage medium | |
CN110795593A (en) | Voice packet recommendation method and device, electronic equipment and storage medium | |
CN110633281A (en) | Method and device for processing multi-type data sources | |
CN112328658A (en) | User profile data processing method, device, equipment and storage medium | |
US10776408B2 (en) | Natural language search using facets | |
CN110955833A (en) | Searching method, searching device, server, terminal equipment and medium | |
CN111666417B (en) | Method, device, electronic equipment and readable storage medium for generating synonyms | |
CN110517079B (en) | Data processing method and device, electronic equipment and storage medium | |
CN112699314A (en) | Hot event determination method and device, electronic equipment and storage medium | |
CN111177479B (en) | Method and device for acquiring feature vector of node in relational network graph | |
CN112417248A (en) | Recommendation method, device, model, equipment and storage medium for addressing keywords | |
CN112559867A (en) | Business content output method, device, equipment, storage medium and program product | |
CN111259058A (en) | Data mining method, data mining device and electronic equipment | |
CN112446728B (en) | Advertisement recall method, device, equipment and storage medium | |
CN111680508B (en) | Text processing method and device | |
CN111966432B (en) | Verification code processing method and device, electronic equipment and storage medium | |
CN111026438B (en) | Method, device, equipment and medium for extracting small program package and page key information | |
CN111506787B (en) | Method, device, electronic equipment and computer readable storage medium for web page update | |
CN112445968B (en) | Information pushing method, device, equipment and computer readable storage medium |
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 |