CN111639264A - Data searching method, device, equipment and computer readable storage medium - Google Patents

Data searching method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN111639264A
CN111639264A CN202010500855.6A CN202010500855A CN111639264A CN 111639264 A CN111639264 A CN 111639264A CN 202010500855 A CN202010500855 A CN 202010500855A CN 111639264 A CN111639264 A CN 111639264A
Authority
CN
China
Prior art keywords
component
determining
search
content
retrieval
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010500855.6A
Other languages
Chinese (zh)
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.)
WeBank Co Ltd
Original Assignee
WeBank Co 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN202010500855.6A priority Critical patent/CN111639264A/en
Publication of CN111639264A publication Critical patent/CN111639264A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9532Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Abstract

The invention discloses a data searching method, which comprises the following steps: displaying a retrieval component, the retrieval component comprising a first input box component and a multiple selection component; if first content input based on the first input frame component is detected, determining a replacement option corresponding to the first content, and updating and displaying selectable items of the multi-selection component based on the replacement option; and if a first search instruction triggered based on the selectable item is detected, determining a target option corresponding to the first search instruction, and determining a first query result corresponding to the first search instruction based on the target option. The invention also discloses a data searching device, equipment and a computer readable storage medium. According to the method and the device, through a mode of dynamically loading the selectable items, more search options are provided while complicated input operations are reduced, and a user can search a desired query result only by checking a target option in the selectable items, so that flexible search of data is realized.

Description

Data searching method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of financial technology (Fintech) technologies, and in particular, to a data search method, apparatus, device, and computer-readable storage medium.
Background
In recent years, with the continuous development of financial technology (Fintech), particularly internet finance, data search technology has been introduced into daily services of financial institutions such as banks. In the daily service process of financial institutions such as banks, a large amount of metadata such as business data and user data are accumulated and generated, and in order to meet business requirements on different business scenes, the metadata needs to be retrieved to screen out target results, such as female customers from the user data, so that how to effectively retrieve the metadata is a technical problem which needs to be solved by financial institutions such as banks.
The existing search engine generally provides a search entry, a user inputs search characters to be searched, and the search engine realizes text fuzzy search or accurate search by matching the search characters; or, a drop-down box is provided, one or more selectable items are displayed in the drop-down box, a user does not need to manually input retrieval characters, only needs to check a single or multiple selectable items, and the search engine can match the selectable items checked by the user as the retrieval characters to realize fuzzy search or accurate search of the single or multiple filter items.
However, the former is only applicable to text search scenes, and if a non-text is input, the search cannot be performed; in the latter case, although the selectable item is provided, the selectable item is static, and if the retrieval requirement is increased with the increase of the data volume, the retrieval system can only be updated again to provide more versions of the selectable item. In addition, due to the limitation of page display, selectable items are limited, and cannot meet the data governance scene of large-scale data sets of financial institutions such as banks, and if the user data has a plurality of filtering features, for example, under the condition of 100, due to the limitation of page display, only 50 filtering features can be displayed for the user to check. Obviously, the existing data searching mode is not flexible enough and cannot be applied to more application scenes.
Disclosure of Invention
The invention mainly aims to provide a data searching method, a data searching device, data searching equipment and a computer readable storage medium, and aims to realize flexible searching of data.
In order to achieve the above object, the present invention provides a data search method, including the steps of:
displaying a retrieval component, the retrieval component comprising a first input box component and a multiple selection component;
if first content input based on the first input frame component is detected, determining a replacement option corresponding to the first content, and updating and displaying selectable items of the multi-selection component based on the replacement option;
and if a first search instruction triggered based on the selectable item is detected, determining a target option corresponding to the first search instruction, and determining a first query result corresponding to the first search instruction based on the target option.
Preferably, if the first content input based on the first input frame component is detected, determining a replacement option corresponding to the first content, and updating the selectable items displaying the multi-selection component based on the replacement option includes:
if first content input based on the first input box component is detected, determining a replacement option corresponding to the first content, and determining the option number of the replacement option;
and determining the selectable items to be updated of the multi-selection component based on the replacement options and the number of the options, and updating the selectable items for displaying the multi-selection component based on the selectable items to be updated and the replacement options.
Preferably, the retrieving component includes a second input box component, and the step of determining, if a first search instruction triggered based on the selectable item is detected, a target option corresponding to the first search instruction, and determining, based on the target option, a first query result corresponding to the first search instruction includes:
if a first search instruction triggered based on the selectable item is detected, determining a target option corresponding to the first search instruction and second content in the second input box component;
determining a first retrieval character corresponding to the first search instruction based on the second content and the target option;
and determining a first query result corresponding to the first search instruction based on the first retrieval character.
Preferably, the search component includes a null value component and a third input box component, and after the step of displaying the search component, the data search method further includes:
if a second search instruction triggered by the third input box component is detected, determining third content in the third input box, and determining a monitoring value of the null value component;
determining a second retrieval character corresponding to the second search instruction based on the monitoring value and the third content;
and determining a second query result corresponding to the second search instruction based on the second retrieval character.
Preferably, the step of determining a second retrieval character corresponding to the second search instruction based on the listening value and the third content includes:
if the monitoring value is a preset value, determining a header corresponding to the third content;
and determining a second retrieval character corresponding to the second search instruction based on the monitoring value and the header.
Preferably, the search component includes a fourth input box component, and after the step of displaying the search component, the data search method further includes:
if a third search instruction triggered based on the fourth input box component is detected, determining fourth content in the fourth input box;
determining a third retrieval character corresponding to the third search instruction based on the fourth content;
and determining a third query result corresponding to the third search instruction based on the third retrieval character.
Preferably, before the step of displaying the retrieval component, the data search method further includes:
and monitoring whether a display instruction triggered based on the retrieval component exists, wherein if the display instruction exists, the retrieval component is displayed.
In addition, to achieve the above object, the present invention also provides a data search apparatus comprising:
the display module is used for displaying a retrieval component, and the retrieval component comprises a first input frame component and a multi-selection component;
the updating module is used for determining a replacement option corresponding to the first content if the first content input based on the first input frame component is detected, and updating and displaying the selectable item of the multi-selection component based on the replacement option;
the determining module is used for determining a target option corresponding to a first search instruction if the first search instruction triggered based on the selectable item is detected, and determining a first query result corresponding to the first search instruction based on the target option.
Preferably, the update module is further configured to:
if first content input based on the first input box component is detected, determining a replacement option corresponding to the first content, and determining the option number of the replacement option;
and determining the selectable items to be updated of the multi-selection component based on the replacement options and the number of the options, and updating the selectable items for displaying the multi-selection component based on the selectable items to be updated and the replacement options.
Preferably, the retrieval component comprises a second input box component, the determination module is further configured to:
if a first search instruction triggered based on the selectable item is detected, determining a target option corresponding to the first search instruction and second content in the second input box component;
determining a first retrieval character corresponding to the first search instruction based on the second content and the target option;
and determining a first query result corresponding to the first search instruction based on the first retrieval character.
Preferably, the retrieving component comprises a null component and a third input box component, the determining module is further configured to:
if a second search instruction triggered by the third input box component is detected, determining third content in the third input box, and determining a monitoring value of the null value component;
determining a second retrieval character corresponding to the second search instruction based on the monitoring value and the third content;
and determining a second query result corresponding to the second search instruction based on the second retrieval character.
Preferably, the determining module is further configured to:
if the monitoring value is a preset value, determining a header corresponding to the third content;
and determining a second retrieval character corresponding to the second search instruction based on the monitoring value and the header.
Preferably, the retrieval component comprises a fourth input box component, the determination module is further configured to:
if a third search instruction triggered based on the fourth input box component is detected, determining fourth content in the fourth input box;
determining a third retrieval character corresponding to the third search instruction based on the fourth content;
and determining a third query result corresponding to the third search instruction based on the third retrieval character.
Preferably, the data search device further includes a monitoring module, where the monitoring module is configured to:
and monitoring whether a display instruction triggered based on the retrieval component exists, wherein if the display instruction exists, the retrieval component is displayed.
Further, to achieve the above object, the present invention also provides a data search apparatus comprising: a memory, a processor and a data search program stored on the memory and executable on the processor, the data search program when executed by the processor implementing the steps of the data search method as described above.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a data search program, which when executed by a processor, implements the steps of the data search method as described above.
The invention provides a data search method, which comprises the steps of displaying a retrieval component, wherein the retrieval component comprises a first input frame component and a multi-selection component; if first content input based on the first input frame component is detected, determining a replacement option corresponding to the first content, and updating and displaying selectable items of the multi-selection component based on the replacement option; and if a first search instruction triggered based on the selectable item is detected, determining a target option corresponding to the first search instruction, and determining a first query result corresponding to the first search instruction based on the target option. According to the method and the device, through a mode of dynamically loading the selectable items, more search options are provided while complicated input operations are reduced, and a user can search a desired query result only by checking a target option in the selectable items, so that flexible search of data is realized.
Drawings
FIG. 1 is a schematic diagram of an apparatus architecture of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a data searching method according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
The device of the embodiment of the invention can be a mobile terminal or a server device.
As shown in fig. 1, the apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the apparatus shown in fig. 1 is not intended to be limiting of the apparatus and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a data search program.
The operating system is a program for managing and controlling the data search equipment and software resources, and supports the operation of the network communication module, the user interface module, the data search program and other programs or software; the network communication module is used for managing and controlling the network interface 1002; the user interface module is used to manage and control the user interface 1003.
In the data search apparatus shown in fig. 1, the data search apparatus calls a data search program stored in the memory 1005 through the processor 1001 and performs operations in various embodiments of the data search method described below.
Based on the hardware structure, the embodiment of the data searching method is provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a data search method of the present invention, where the method includes:
step S10, displaying a retrieval component, wherein the retrieval component comprises a first input box component and a multi-selection component;
step S20, if the first content input based on the first input frame component is detected, determining a replacement option corresponding to the first content, and updating the selectable item for displaying the multi-selection component based on the replacement option;
step S30, if a first search instruction triggered based on the selectable item is detected, determining a target option corresponding to the first search instruction, and determining a first query result corresponding to the first search instruction based on the target option.
The data searching method is applied to data searching equipment of financial institutions such as financial institutions or banks, the data searching equipment can be terminals, robots or PC equipment, and for convenience in description, the data searching equipment is referred to as searching equipment for short. The difference from the existing hundred-degree search tool and other search tools is that the search device of this embodiment is used for table data management of financial institutions such as banks and other financial institutions, for example, associated data such as customer reports existing in a table form, that is, the data in this embodiment is table data, which includes multiple rows and multiple columns, each row and each column stores data information with different attributes, and the beginning of each row or each column is a header of the row or column, and if the currently displayed data is:
name (I) Sex Age (age) Occupation of the world Address Loan amount Number of overdue Remarks for note
Zhang three For male 30 Teacher Guangdong province 30 ten thousand 2
Li four Woman 28 Business staff Guangdong province 50 ten thousand 1
Wangwu tea For male 21 Student's desk Guangdong province 30 ten thousand 3
... ... ... ... ... ... ... ...
It should be appreciated that existing centesimal search tools provide only one search box, fuzzy or exact matching to information such as Zhang III based on the character string entered by the user. However, in the conventional application system software, although the retrieval of the form data can be performed, the selectable item is hidden in each header, the selectable item is triggered and displayed, and the user can perform the check, for example, the selectable items such as zhang san, li xi, wang wu are triggered and displayed on the name header, and the user checks which one is to be checked, namely, the corresponding information is displayed, the existing application system software can only retrieve the text, the number of the selectable items of the text is limited, and if the selectable items are required to be added, the version of the application system software can only be updated manually through research and development.
The search device of this embodiment displays a search component corresponding to the search system on a display interface thereof, so that a user can initiate a corresponding search requirement through the search component, the search component includes a first control panel, the first control panel includes a full selection component, an emptying component, a first input frame component and a multiple selection component, wherein the full selection component may be a full selection button specifically for realizing batch selection of selectable items, that is, the user can select the full selection button, trigger a full selection instruction of the multiple selection component, and realize complete selection of selectable items in the current multiple selection component; the emptying component can be specifically an emptying button and is used for emptying selectable items, namely, a user can select the emptying button to trigger an emptying instruction of the multi-selection component, so that all selectable items in the current multi-selection component are emptied; the first input frame component can be specifically an input frame and is used for receiving first content input by a user, so that the equipment determines a corresponding replacement option according to the first content and updates the selectable options of the current multi-selection component; the multi-selection component may specifically be a selectable item list for displaying selectable items, so that the user can check corresponding selectable items in the selectable item list, where the selectable items are filter conditions for data search, and if the user checks a female client, the search device will, in the search process, screen out client data with the female client as a filter condition, where the final screening result is as follows, in the above example:
name (I) Sex Age (age) Occupation of the world Address Loan amount Number of overdue Remarks for note
Li four Woman 28 Business staff Guangdong province 50 ten thousand 1
... Woman ... ... ... ... ... ...
Taking the search of the netpage form data of the retrieval system as an example, it can be understood that due to the limitation of the page size, the search device can only display a limited number of selectable items when displaying the multi-choice component, and the remaining selectable items cannot be displayed, for example, 100 selectable items are available, but due to the limitation of the page size, only 50 selectable items can be displayed, and the other 50 selectable items cannot be displayed, therefore, in this embodiment, the search device determines the corresponding selectable items according to the first content input by the user in the first input box component, and updates the selectable items of the multi-choice component to be displayed, thereby solving the limitation of the table enumeration type data set retrieval under the large data set, for example, the current netpage form data is client data, specifically including the occupation of the client, the selectable items displayed by the current multi-choice component include the identities of a driver, a UI interface designer, an employee, a college and a security guard, and the user wants to search a certain type of client whose identity is a teacher from the current data, the teacher is input into the first input frame component, the search device updates and displays the selectable items of the multi-selection component according to the first content input by the user in the first input frame component, specifically, the selectable items are updated to be selectable items of the teacher, the master and the like, the user only needs to check and select the selectable items, and the search device displays the corresponding client data.
The respective steps will be described in detail below:
step S10, displaying a retrieval component, wherein the retrieval component comprises a first input box component and a multi-selection component;
in this embodiment, when a search function of the search device is started, the search device displays a retrieval component on a display interface, so that a user initiates a search request through the retrieval component, where the retrieval component includes a first control panel, and the first control panel includes a full selection component, an emptying component, a first input frame component, and a multiple selection component.
It should be noted that, when the search function of the search device is started, the search function is initialized, specifically, table data is initialized, and configuration information of the header column search function is added, such as: true (indicating that the search device has search support of a header column), and rendering the header in the table data into an input label (el-input label), such as rendering the header into an el-input label according to an el-table-column render-header (custom attribute), and adding event monitoring corresponding to the el-input label, such as native on: keydown: key code 13 (indicating enter listening, that is, detecting that the enter key is pressed, that is, triggering) to obtain the initialized retrieval component. At the same time, a retrieval component is displayed.
Further, in an embodiment, before the step S10, the data searching method further includes:
step a, monitoring whether a display instruction triggered based on the retrieval component exists, wherein if the display instruction exists, the retrieval component is displayed.
In one embodiment, the search device monitors the retrieval component, and determines whether a display instruction triggered based on the search component exists, wherein if the search instruction exists, the retrieval component is displayed; if it is determined that there is no search component, the search component is not displayed.
That is, the retrieval component has a hiding function, and in specific implementation, if the search device detects a click operation at a preset position, the search device determines to monitor a display instruction triggered based on the retrieval component, and at this time, the retrieval component is displayed; if the click operation is not detected at the preset position, it is determined that the display instruction triggered based on the retrieval component is not monitored, at this moment, the retrieval component is hidden, and the retrieval component is prevented from shielding the display content of the display interface of the search equipment.
If the web page table data is taken as an example, the preset position is the table head of the table data, that is, whether the user clicks the table head is monitored, if so, the retrieval component is displayed, and if not, the retrieval component is hidden. In addition, in order to search the data desired by the user more accurately, the retrieval component may be a retrieval component corresponding to the current header, that is, different headers correspond to different retrieval components.
Step S20, if the first content input based on the first input box component is detected, determining a replacement option corresponding to the first content, and updating the selectable item displaying the multi-selection component based on the replacement option.
In this embodiment, if it is detected that the first content is input based on the first input frame component, that is, after the search device displays the retrieval component, and the user inputs the first content in the first input frame component of the retrieval component, the alternative options corresponding to the first content, that is, which selectable item or selectable items the user wants to query are determined, and the selectable items displaying the multi-selection component are updated based on the determined alternative options.
That is, in this embodiment, if there is no selectable item desired by the user in the multi-selection component, the user may input the first content through the first input box component, and the search apparatus updates and displays the selectable item desired by the user on the multi-selection component according to the first content, so that the user can check the selectable item.
Specifically, in an embodiment, step S20 includes:
step b1, if the first content input based on the first input box component is detected, determining a replacement option corresponding to the first content, and determining the option number of the replacement option;
in an embodiment, if the search device detects the first content input by the first input box component, the search device determines a replacement item corresponding to the first content, and further determines the number of options of the replacement item, that is, determines which options are the options desired by the user and the number of options.
Step b2, based on the replacement option and the number of options, determining the option to be updated of the multi-selection component, and based on the option to be updated and the replacement option, updating the option for displaying the multi-selection component.
Then, based on the replacement options and the number of options, determining the selectable items to be updated of the multi-selection component, and as can be understood, due to the limitation of the page size, the selectable items of the multi-selection component are limited, and therefore, the selectable items to be updated need to be determined according to the replacement options and the number of options, if the number of options of the replacement options is less than or equal to the maximum number displayable by the multi-selection component, then determining the selectable items of the corresponding number of options displayed by the current multi-selection component as the selectable items to be updated, and if the maximum number displayable by the multi-selection component is 50 and the number of the replacement options is 30, then determining the first 30 selectable items displayed by the multi-selection component as the selectable items to be updated, replacing and updating the first 30 selectable items of the multi-selection component as the replacement options, and remaining 20 selectable items are unchanged; if the option number of the replacement options is larger than the maximum number which can be displayed by the multi-option component, determining all selectable options displayed by the current multi-option component as selectable options to be updated, and updating the selectable options for displaying the multi-option component based on a preset replacement rule, wherein the preset replacement rule is as follows: the maximum number of options that the multi-selection component can display are randomly selected from the alternative options as the selectable options that the multi-selection component currently displays.
In another embodiment, the information of the replacement options is stored in the first server, the search device sends the first content to the first server when detecting the first content, the second server queries the corresponding replacement options based on the first content and returns the replacement options to the search device, and the search device updates and displays the selectable options of the multi-option component based on the received replacement options.
It should be noted that, when the search function is initialized, configuration items of the header column search function, search: true, queryUrl: string type (query parameter, which indicates an address where target data is queried by using a string), are added, so as to dynamically request a data set of an optional item from the first service end: params: string (variable parameter function) for dynamically acquiring parameters of the selectable item request; configuring a query parameter: true (indicating that enumeration is supported), labelField: string (identification field); optional checkbox label field: string (a box representing a multi-selection component may be displayed); optional checkbox value field: options [ ] (selectable items representing the multi-selection component can be selected), and CheckBox items corresponding to the CheckBox group (selectable items representing the multi-selection component can be filtered), so that the dynamic update of the selectable items in the multi-selection component is realized.
Step S30, if a first search instruction triggered based on the selectable item is detected, determining a target option corresponding to the first search instruction, and determining a first query result corresponding to the first search instruction based on the target option.
In this embodiment, after the selectable items of the multi-selection component are updated, if a first search instruction triggered based on the selectable items is detected, a target option corresponding to the first search instruction is determined, that is, it is determined which selectable items are selected by the user, and then, based on the target option, a first query result corresponding to the first search instruction is queried.
In the process, the user does not need to input a large section of content, only needs to input a small amount of content to obtain the optional items of the multi-selection component required by the user, and then the interaction of data search can be completed by checking the corresponding optional items.
In another embodiment, after the search device determines the target option, the search device determines a retrieval character corresponding to the target option according to a mapping relation established in advance, then sends the retrieval character to a second server, the second server queries a corresponding first query result based on the retrieval character, then returns the first query result to the search device, and the search device receives and displays the first query result. That is, the search device does not store data, and the first query result is stored in the second server, so that the calculation pressure of the search device can be reduced, and the search response speed can be improved.
Further, in an embodiment, the retrieving component further includes a second input box component, and the step S30 includes:
step c1, if a first search instruction triggered based on the selectable item is detected, determining a target option corresponding to the first search instruction and second content in the second input box component;
in an embodiment, the retrieval component further includes a second input box component, and when detecting a first search instruction triggered based on a selectable item, after determining a target option corresponding to the first search instruction, the search device further determines second content in the second input box component, where the second content may be empty, that is, in the retrieval component, a second input box component is further provided, and the user performs input of text content, and it can be understood that the selectable item is a fixed filter condition of data search, and therefore, there may be a deviation from a direction in which the user actually wants to search, and therefore, to improve the certainty of search, the user may further input a filter condition in the second input box component.
Step c2, based on the second content and the target option, determining a first retrieval character corresponding to the first search instruction;
and determining a first retrieval character corresponding to the first search instruction based on the second content and the target option, wherein the second content is used for further filtering the target option in specific implementation, and therefore, the final first retrieval character is determined by the second content and the target option.
Step c3, based on the first search character, determining a first query result corresponding to the first search instruction.
Finally, the search device determines a first query result corresponding to the first search instruction based on the first retrieval character, that is, in an embodiment, the data that the user wants to query is filtered by the second content and the target option, for example, if the user has chosen a selectable item of the resident address in the multi-choice component, and then the second content entered in the second input box component is Shenzhen, it indicates that the user wants to find the client data of which the resident address is Shenzhen.
The embodiment shows a retrieval component, wherein the retrieval component comprises a first input frame component and a multi-selection component; if first content input based on the first input frame component is detected, determining a replacement option corresponding to the first content, and updating and displaying selectable items of the multi-selection component based on the replacement option; and if a first search instruction triggered based on the selectable item is detected, determining a target option corresponding to the first search instruction, and determining a first query result corresponding to the first search instruction based on the target option. According to the method and the device, through a mode of dynamically loading the selectable items, more search options are provided while complicated input operations are reduced, and a user can search a desired query result only by checking a target option in the selectable items, so that flexible search of data is realized.
Further, based on the first embodiment of the data searching method of the present invention, a second embodiment of the data searching method of the present invention is proposed.
The second embodiment of the data search method differs from the first embodiment of the data search method in that the retrieval component includes a null value component and a third input box component, and after the step of displaying the retrieval component, the data search method further comprises:
step d, if a second search instruction triggered by the third input box component is detected, determining third content in the third input box, and determining a monitoring value of the null value component;
step e, determining a second retrieval character corresponding to the second search instruction based on the monitoring value and the third content;
and f, determining a second query result corresponding to the second search instruction based on the second retrieval character.
For some special search requests, such as search requests with empty content, the user cannot input text content to match, therefore, the retrieval component of the embodiment includes a second control panel, which includes a null value component and a third input box component, wherein the control component is used to trigger the search request with empty content.
The respective steps will be described in detail below:
and d, if a second search instruction triggered by the third input box component is detected, determining third content in the third input box, and determining the monitoring value of the null value component.
In this embodiment, if a second search instruction triggered based on the third input box component is detected, that is, a user inputs text content such as a keyword into the third input box component, and the second search instruction is triggered, the third content in the third input box is obtained, and the monitored value of the null value component is determined, where the null value component may be a null value button in specific implementation, and therefore, when the monitored value of the null value component is determined, it is determined whether the null value button is selected.
And e, determining a second retrieval character corresponding to the second search instruction based on the monitoring value and the third content.
In this embodiment, a second search character corresponding to the second search instruction is determined based on the listening value of the null component and the third content in the third input box component. In one embodiment, if the null button is selected, the monitored value is 1, and if the null button is not selected, the monitored value is 0; when the monitored value is 1, the second retrieval character represents a retrieval condition that the third content is empty; when the snoop value is 0, the second search character indicates a search condition of the third content.
Further, in one embodiment, step e includes:
step e1, if the monitored value is a preset value, determining a header corresponding to the third content;
in an embodiment, if the monitored value is a preset value, for example, the preset value is 1, the header corresponding to the third content is determined, that is, which column of the table data corresponding to the third content is determined. In an actual application process, metadata of financial institutions such as banks and the like is generally displayed in the form of web page table data, each column in the table data represents information of a certain attribute, and a user can search data for a certain column of information, so that after third content is obtained, a header corresponding to the third content is determined.
And e2, determining a second retrieval character corresponding to the second search instruction based on the monitored value and the header.
In an embodiment, a second retrieval character corresponding to the second search instruction is determined according to the monitored value of the null value component and the header corresponding to the third content, and if the monitored value is 1 and the header corresponding to the third content is the remark information, the second retrieval character indicates a retrieval condition that the remark information is null.
Further, if the monitored value is not the preset value, i.e. 0, the third content is used as the second search character.
And f, determining a second query result corresponding to the second search instruction based on the second retrieval character.
In this embodiment, a second query result corresponding to the second search instruction is determined according to the second search character, where the second query result may be stored in the second server, the search device sends the second search character to the second server, the second server performs data matching according to the second search character to find a corresponding second query result, and then returns the second query result, and the search device receives and displays the second query result.
If the user wants to remark the stored customer data information, the user only needs to input third content in a third input box component, the header corresponding to the third content is remark information, then a null value component is selected to represent a retrieval condition that the remark information is null, and the search equipment displays a corresponding second query result on a display interface.
Further, when the search device displays the second query result, only the information in the column where the display header is located needs to be updated in the table data, and other information is not changed.
The retrieval component of the embodiment comprises a null value component and a third input frame component, and the retrieval condition is limited in a mode of combining the third input frame component and the null value component, so that the searching equipment can respond to more searching scenes when responding to the searching request of a user, and the flexibility of data searching is improved.
Further, a third embodiment of the data search method of the present invention is proposed based on the first and second embodiments of the data search method of the present invention.
The third embodiment of the data search method is different from the first and second embodiments of the data search method in that the search module includes a fourth input box module, and after the step of displaying the search module, the data search method further includes:
step g, if a third search instruction triggered based on the fourth input frame component is detected, determining fourth content in the fourth input frame;
step h, determining a third retrieval character corresponding to the third search instruction based on the fourth content;
and i, determining a third query result corresponding to the third search instruction based on the third retrieval character.
The retrieval component of the embodiment includes a fourth input box component, which is used for the user to input a fourth content, that is, the user directly inputs the content such as the retrieval keyword, so as to determine a corresponding third query result when a third search instruction is triggered.
The respective steps will be described in detail below:
step g, if a third search instruction triggered based on the fourth input frame component is detected, determining fourth content in the fourth input frame.
In this embodiment, the retrieval component includes a fourth input box component, the user can directly input the content such as the retrieval keyword in the fourth input box component, and the search device determines the fourth content in the fourth input box if detecting a third search instruction triggered based on the fourth input box component.
And h, determining a third retrieval character corresponding to the third search instruction based on the fourth content.
In this embodiment, after the fourth content in the fourth input box is determined, the third retrieval character corresponding to the third search instruction is determined based on the fourth content.
Specifically, after the fourth content is determined, word segmentation processing is performed on the fourth content, based on a preset rule, such as a regular expression, meaningless words, symbols, or the like in the fourth content are removed, and then the fourth content is arranged according to a preset search formula, so that a third search character is obtained, such as "address: live in Shenzhen ", through word segmentation and filtering, arranged into" address and Shenzhen ".
And i, determining a third query result corresponding to the third search instruction based on the third retrieval character.
In this embodiment, a third query result corresponding to the third search instruction is determined according to the third search character, specifically, the third search character is sent to the second server, the server matches the query result according to the third search character, then the matched third query result is returned to the search device, and the search device receives and displays the third query result.
The embodiment provides a fourth input frame component for direct query, a user can input and search in the fourth input frame component, another search interaction mode is provided, and flexible search of data is achieved.
The invention also provides a data searching device. The data search device of the present invention includes:
the display module is used for displaying a retrieval component, and the retrieval component comprises a first input frame component and a multi-selection component;
the updating module is used for determining a replacement option corresponding to the first content if the first content input based on the first input frame component is detected, and updating and displaying the selectable item of the multi-selection component based on the replacement option;
the determining module is used for determining a target option corresponding to a first search instruction if the first search instruction triggered based on the selectable item is detected, and determining a first query result corresponding to the first search instruction based on the target option.
Preferably, the update module is further configured to:
if first content input based on the first input box component is detected, determining a replacement option corresponding to the first content, and determining the option number of the replacement option;
and determining the selectable items to be updated of the multi-selection component based on the replacement options and the number of the options, and updating the selectable items for displaying the multi-selection component based on the selectable items to be updated and the replacement options.
Preferably, the retrieval component comprises a second input box component, the determination module is further configured to:
if a first search instruction triggered based on the selectable item is detected, determining a target option corresponding to the first search instruction and second content in the second input box component;
determining a first retrieval character corresponding to the first search instruction based on the second content and the target option;
and determining a first query result corresponding to the first search instruction based on the first retrieval character.
Preferably, the retrieving component comprises a null component and a third input box component, the determining module is further configured to:
if a second search instruction triggered by the third input box component is detected, determining third content in the third input box, and determining a monitoring value of the null value component;
determining a second retrieval character corresponding to the second search instruction based on the monitoring value and the third content;
and determining a second query result corresponding to the second search instruction based on the second retrieval character.
Preferably, the determining module is further configured to:
if the monitoring value is a preset value, determining a header corresponding to the third content;
and determining a second retrieval character corresponding to the second search instruction based on the monitoring value and the header.
Preferably, the retrieval component comprises a fourth input box component, the determination module is further configured to:
if a third search instruction triggered based on the fourth input box component is detected, determining fourth content in the fourth input box;
determining a third retrieval character corresponding to the third search instruction based on the fourth content;
and determining a third query result corresponding to the third search instruction based on the third retrieval character.
Preferably, the data search device further includes a monitoring module, where the monitoring module is configured to:
and monitoring whether a display instruction triggered based on the retrieval component exists, wherein if the display instruction exists, the retrieval component is displayed.
The invention also provides a computer readable storage medium.
The computer-readable storage medium of the present invention has stored thereon a data search program which, when executed by a processor, implements the steps of the data search method as described above.
The method implemented when the data search program running on the processor is executed may refer to each embodiment of the data search method of the present invention, and details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A data search method, characterized in that the data search method comprises the following steps:
displaying a retrieval component, the retrieval component comprising a first input box component and a multiple selection component;
if first content input based on the first input frame component is detected, determining a replacement option corresponding to the first content, and updating and displaying selectable items of the multi-selection component based on the replacement option;
and if a first search instruction triggered based on the selectable item is detected, determining a target option corresponding to the first search instruction, and determining a first query result corresponding to the first search instruction based on the target option.
2. The data searching method of claim 1, wherein if the first content input based on the first input box component is detected, determining a replacement option corresponding to the first content, and updating the selectable items displaying the multi-selection component based on the replacement option comprises:
if first content input based on the first input box component is detected, determining a replacement option corresponding to the first content, and determining the option number of the replacement option;
and determining the selectable items to be updated of the multi-selection component based on the replacement options and the number of the options, and updating the selectable items for displaying the multi-selection component based on the selectable items to be updated and the replacement options.
3. The data searching method of claim 1, wherein the retrieving component comprises a second input box component, and the step of determining a target option corresponding to a first search instruction if the first search instruction triggered based on the selectable item is detected, and determining a first query result corresponding to the first search instruction based on the target option comprises:
if a first search instruction triggered based on the selectable item is detected, determining a target option corresponding to the first search instruction and second content in the second input box component;
determining a first retrieval character corresponding to the first search instruction based on the second content and the target option;
and determining a first query result corresponding to the first search instruction based on the first retrieval character.
4. The data search method of claim 1, wherein the retrieval component comprises a null value component and a third input box component, and wherein after the step of displaying the retrieval component, the data search method further comprises:
if a second search instruction triggered by the third input box component is detected, determining third content in the third input box, and determining a monitoring value of the null value component;
determining a second retrieval character corresponding to the second search instruction based on the monitoring value and the third content;
and determining a second query result corresponding to the second search instruction based on the second retrieval character.
5. The data searching method of claim 4, wherein the step of determining a second retrieval character corresponding to the second search instruction based on the snoop value and the third content comprises:
if the monitoring value is a preset value, determining a header corresponding to the third content;
and determining a second retrieval character corresponding to the second search instruction based on the monitoring value and the header.
6. The data search method of claim 1, wherein the retrieval component comprises a fourth input box component, and after the step of displaying the retrieval component, the data search method further comprises:
if a third search instruction triggered based on the fourth input box component is detected, determining fourth content in the fourth input box;
determining a third retrieval character corresponding to the third search instruction based on the fourth content;
and determining a third query result corresponding to the third search instruction based on the third retrieval character.
7. The data search method of any of claims 1-6, wherein prior to the step of displaying the retrieval component, the data search method further comprises:
and monitoring whether a display instruction triggered based on the retrieval component exists, wherein if the display instruction exists, the retrieval component is displayed.
8. A data search apparatus, characterized in that the data search apparatus comprises:
the display module is used for displaying a retrieval component, and the retrieval component comprises a first input frame component and a multi-selection component;
the updating module is used for determining a replacement option corresponding to the first content if the first content input based on the first input frame component is detected, and updating and displaying the selectable item of the multi-selection component based on the replacement option;
the determining module is used for determining a target option corresponding to a first search instruction if the first search instruction triggered based on the selectable item is detected, and determining a first query result corresponding to the first search instruction based on the target option.
9. A data search device characterized in that the data search device comprises: memory, processor and a data search program stored on the memory and executable on the processor, the data search program when executed by the processor implementing the steps of the data search method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a data search program, which when executed by a processor implements the steps of the data search method according to any one of claims 1 to 7.
CN202010500855.6A 2020-06-04 2020-06-04 Data searching method, device, equipment and computer readable storage medium Pending CN111639264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010500855.6A CN111639264A (en) 2020-06-04 2020-06-04 Data searching method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010500855.6A CN111639264A (en) 2020-06-04 2020-06-04 Data searching method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111639264A true CN111639264A (en) 2020-09-08

Family

ID=72330659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010500855.6A Pending CN111639264A (en) 2020-06-04 2020-06-04 Data searching method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111639264A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112346610A (en) * 2020-10-15 2021-02-09 零氪科技(北京)有限公司 Implementation method of multi-level selectable option selection component, electronic device and storage medium
CN113761009A (en) * 2021-11-09 2021-12-07 深圳市明源云科技有限公司 Personnel selection method, system, device and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112346610A (en) * 2020-10-15 2021-02-09 零氪科技(北京)有限公司 Implementation method of multi-level selectable option selection component, electronic device and storage medium
CN113761009A (en) * 2021-11-09 2021-12-07 深圳市明源云科技有限公司 Personnel selection method, system, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10515147B2 (en) Using statistical language models for contextual lookup
US10083247B2 (en) Generating state-driven role-based landing pages
WO2019184219A1 (en) Method, server, and storage medium for smart search
US10776571B2 (en) Dispatch of user input to multiple input fields in a user interface
US8209214B2 (en) System and method for providing targeted content
US20110252049A1 (en) Function execution using sql
CN111143555B (en) Customer portrait generating method, device, equipment and storage medium based on big data
US20200034481A1 (en) Language agnostic data insight handling for user application data
US20210263916A1 (en) Systems and methods for automated pattern matching
US8260772B2 (en) Apparatus and method for displaying documents relevant to the content of a website
JP2010092116A (en) Content visualization device and content visualization method
CN111639264A (en) Data searching method, device, equipment and computer readable storage medium
US8615733B2 (en) Building a component to display documents relevant to the content of a website
US8719284B2 (en) Method, system and program product for filtering an entry of data items
US8271493B2 (en) Extensible mechanism for grouping search results
US11514480B2 (en) System and method for identifying members of a dynamic target segment
CN116955856A (en) Information display method, device, electronic equipment and storage medium
US20080189299A1 (en) Method and apparatus for managing descriptors in system specifications
CN115168390A (en) Multi-dimensional asset retrieval analysis method, system, terminal and storage medium
CN105706082B (en) Method and system for defining an off-line model graph
CN110781378A (en) Data graphical processing method and device, computer equipment and storage medium
US11314796B2 (en) Dimension-specific dynamic text interface for data analytics
JP2000353174A (en) Information acquisition device, its method and recording medium for executing the method
CN114938458A (en) Object information display method and device, electronic equipment and storage medium
CN117807289A (en) User screening control, target user determining method, computer equipment and 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