CN114329165A - Searching method, device and medium - Google Patents

Searching method, device and medium Download PDF

Info

Publication number
CN114329165A
CN114329165A CN202111675317.1A CN202111675317A CN114329165A CN 114329165 A CN114329165 A CN 114329165A CN 202111675317 A CN202111675317 A CN 202111675317A CN 114329165 A CN114329165 A CN 114329165A
Authority
CN
China
Prior art keywords
search
screening
item
screening item
configuration 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.)
Pending
Application number
CN202111675317.1A
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.)
Inspur Electronic Information Industry Co Ltd
Guangdong Inspur Smart Computing Technology Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN202111675317.1A priority Critical patent/CN114329165A/en
Publication of CN114329165A publication Critical patent/CN114329165A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses a search method, a search device and a search medium, wherein the search method comprises the following steps: when an operation of clicking the search bar by the user is detected, all the screening items are displayed so that the user can select the corresponding screening items conveniently. And acquiring configuration information of the selected screening item so as to create a corresponding UI control according to the screening item selected by the user and acquire a search keyword. And judging whether the configuration information has a cascading field, if so, acquiring the cascading screening items according to the cascading field and acquiring the configuration information of the selected screening items again, thereby realizing the purpose of selecting a plurality of screening items in the same search bar. And after the user finishes selecting, obtaining a search result according to the selected screening item and the cascading screening item. According to the scheme, the plurality of screening items are arranged in the same search bar, so that a user can select a plurality of screening items with a cascade relation in the same search bar to search, the page space occupied by the search condition is reduced, and the condition that the search page is disordered is prevented.

Description

Searching method, device and medium
Technical Field
The present application relates to the field of computer search, and in particular, to a search method, apparatus, and medium.
Background
With the development of computer technology, users increasingly use web page search functions in daily life. At present, a search list of a web page generally consists of a query control, a display control, an operation control, and the like, fig. 1 is a schematic diagram of a commonly used search page of the web page, and as shown in fig. 1, a conventional query control generally displays each search condition in the search page. When the search conditions are more, more search page space is occupied and the search pages are disordered.
Therefore, how to provide a more new search method to solve the problems of occupying more space and disordering search pages when the search conditions are too many is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a searching method, a searching device and a searching medium, so as to solve the problems that when the searching conditions are too many, the occupied space is large, and the searching page is disordered, and improve the use experience of a user.
In order to solve the above technical problem, the present application provides a search method, including:
when the operation that a user clicks a search bar is detected, displaying a screening item for facilitating selection;
acquiring configuration information of a selected screening item, wherein the configuration information comprises: the name of the screening item, the keyword of the screening item, the UI control type of the screening item and the cascade field;
judging whether the configuration information has the cascading field or not;
if the cascade field exists, acquiring a cascade screening option according to the cascade field and returning to the step of acquiring the configuration information of the selected screening option;
and if the cascading field does not exist, obtaining a search result according to the selected screening item and the cascading screening item.
Preferably, before the step of detecting an operation of the user clicking the search bar, the method further includes:
creating a mapping table of the UI control type and the UI control;
and rendering the corresponding UI control according to the UI control type of each screening item and the mapping table.
Preferably, after the step of creating the mapping table between the UI control type and the UI control, the method further includes:
and modifying the styles of the UI controls to enable the styles of the UI controls to be uniform.
Preferably, the obtaining a search result according to the selected screening item and the cascade screening item includes:
judging whether the UI control type is an input control or not;
if the search result is the input control, when the search operation is detected, obtaining the search result according to the input keyword, and generating a search tag according to the keyword;
if the selected filtering option is not the input control, when the selection operation is detected, obtaining the search result according to the selected filtering option and the keywords of the cascade filtering option, and generating the search tag according to the keywords.
Preferably, the search operation includes: the search shortcut key or the search key is activated.
Preferably, after the step of obtaining the search result according to the selected screening item and the cascade screening item, the method further includes:
and when the operation of clicking the search tag is detected, clearing the search result and returning to the step of detecting the operation of clicking the search bar by the user.
Preferably, after the step of obtaining the search result according to the selected screening item and the cascade screening item, the method further includes:
and when the operation of deleting the search tag is detected, clearing the keyword corresponding to the search tag and reacquiring the search result.
In order to solve the above technical problem, the present application further provides a search apparatus, including:
the display module is used for displaying the screening items to facilitate selection when the operation that the user clicks the search bar is detected;
an obtaining module, configured to obtain configuration information of a selected screening item, where the configuration information includes: the name of the screening item, the keyword of the screening item, the UI control type of the screening item and the cascade field;
a judging module, configured to judge whether the configuration information includes the cascade field, and if the configuration information includes the cascade field, obtain a cascade screening item according to the cascade field and return to the step of obtaining the configuration information of the selected screening item;
and the searching module is used for obtaining a searching result according to the selected screening item and the cascade screening item.
In order to solve the above technical problem, the present application further provides a search apparatus, including a memory for storing a computer program;
a processor for implementing the steps of the search method when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the search method.
The search method provided by the application comprises the following steps: when an operation of clicking the search bar by the user is detected, all the screening items are displayed so that the user can select the corresponding screening items conveniently. Acquiring configuration information of the selected screening item, wherein the configuration information comprises: the method comprises the steps of selecting a selection item, selecting a keyword of the selection item, selecting a UI control type of the selection item, and cascading fields so as to create a corresponding UI control according to the selection item selected by a user and obtain a search keyword. And judging whether the configuration information has a cascading field, if so, acquiring the cascading screening items according to the cascading field and acquiring the configuration information of the selected screening items again, thereby realizing the purpose of selecting a plurality of screening items in the same search bar. And after the user finishes selecting, obtaining a search result according to the selected screening item and the cascading screening item. Therefore, by adopting the searching method provided by the application, the user can select a plurality of screening items with the cascade relation in the same searching bar for searching by arranging the screening items in the same searching bar, so that the page space occupied by the searching conditions is reduced, and the condition that the searching page is disordered is prevented.
In addition, the application also provides a searching device and a medium, which correspond to the method and have the same effects.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a diagram of a conventional web search page;
fig. 2 is a schematic view of an application scenario of a search method according to an embodiment of the present application;
fig. 3 is a flowchart of a searching method provided in an embodiment of the present application;
fig. 4 is a structural diagram of a search apparatus according to an embodiment of the present application;
fig. 5 is a structural diagram of another search apparatus provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a searching method, a searching device and a searching medium.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
Fig. 2 is a schematic view of an application scenario of a search method provided in an embodiment of the present application, and as shown in fig. 2, in the application scenario of the search method provided in the present application, a search bar is displayed in a search page, when an operation of clicking the search bar by a user is detected, all screen options are popped up for selection by the user, after the user completes a selection operation, configuration information of the selected screen option is obtained, whether a cascading field exists in the configuration information is determined by determining whether a screening item cascading with the screening item selected by the user exists, if so, all cascading screen options are popped up for selection by the user, and the screening item selected by the user is displayed in the search bar in a form of a tag. And if the screening items associated with the popped cascade screening items exist, continuously popping the corresponding cascade screening items until no cascade fields exist in the cascade screening items. And searching related information according to the filtering items selected by the user. In the specific implementation, besides the screening items required to be selected by the user, the search page also supports the user to manually input the search content, and if the user manually inputs the search content, the user carries out query according to the search content input by the user when carrying out search operation (for example, pressing an enter key or clicking a search button by a mouse); and if the user searches through the screening items and does not manually input the search content, inquiring according to the screening items selected by the user after selecting the screening items.
Fig. 3 is a flowchart of a search method according to an embodiment of the present application, and as shown in fig. 3, the search method according to the present application includes:
s10: when an operation of clicking a search bar by a user is detected, a screening item is displayed for selection.
In specific implementation, the scheme provided by the application encapsulates all search condition searches in search bars, as shown in fig. 2, only the search bars are displayed in a page, and the clarity and tidiness of the search page are ensured. When a user operation of clicking a search bar is detected, all the screening items are displayed for the user to select. It is to be understood that the filter term may be displayed in a drop-down menu that appears when the search bar is clicked, in the search bar, or separately in other locations in the search page, which is not limited herein.
It is understood that the filter term is an attribute of the information that the user wants to find, such as: the resource domain to which the data belongs, the available partition to which the data belongs, the virtual data center, the virtual private cloud, the state, the name, and the like, it can be understood that a user may select one screening item or may select multiple screening items, which is not limited herein.
S11: acquiring configuration information of the selected screening item, wherein the configuration information comprises: the name of the screening item, the keyword of the screening item, the UI control type of the screening item, and the cascade field.
And after the user selects the screening items, acquiring configuration information of the screening items, wherein the user can select the screening items by clicking or operating a keyboard.
It can be understood that the configuration information of the screening items is transmitted by the front-end developer, the configuration information is stored in the form of an array or a file or a linked list, and each screening item has attribute information such as label, model, type, show, link, option, and the like.
Wherein, the label attribute is the name of the screening item and is used for representing the field name of the screening item;
the model attribute is a keyword of the screening item and is used for screening the keyword transmitted into the background query condition;
the type attribute is a UI control type of a screening item, and is used for representing the type of the query box component, the type of the query box component is determined according to different type fields, and the type fields comprise: the system comprises an input, a select, a checkbox, a casader and a dateplocker, wherein the input represents an input control, the select represents a selection control, the checkbox represents a multi-selection control, the casader represents a cascade selection control, and the dateplocker represents a date selection control;
the show attribute is used for controlling the display of the query item, and the type of the show attribute is a Boolean value or a function;
the link attribute is a cascading field of the screening items and is used for representing the screening items cascaded with the current screening items;
the option attribute is an optional item of the selection, and is used for representing the option in the select selection box, and it can be understood that the option attribute value can be text data containing each option, and the text data can be stored in an array or a linked list; the option attribute value can also be a background interface, and can automatically trigger execution operation for acquiring option information and inputting the option information into a selection box.
Further, before the user selects the screening items, a mapping table between the UI control types and the UI controls needs to be created, so as to render the corresponding UI controls according to the UI control types of the screening items.
S12: and judging whether the configuration information has a cascading field or not.
S13: and if the cascading field exists, acquiring the cascading screening item according to the cascading field and returning to the step of acquiring the configuration information of the selected screening item.
S14: and if the cascading field does not exist, obtaining a search result according to the selected screening item and the cascading screening item.
In particular implementation, when an operation of selecting any one of the screening items in the search bar by the user is detected, the system background executes the following operation,
obtaining configuration information of the selected screening item, wherein the configuration information comprises: the name of the screening item, the keyword of the screening item, the UI control type of the screening item and the cascade field;
and acquiring show attribute information in the configuration information to determine whether the filtering item needs to be displayed, and if the field is true, acquiring type attribute information in the configuration information and rendering a UI control corresponding to the filtering item according to the type attribute information. It should be noted that, if the UI control or the type attribute information is a select selection box or a checkbox multi-box, the option attribute information in the configuration information is obtained, and if the option attribute information is an array, the data in the array is directly assigned to the select selection box or the checkbox multi-box. If options are a function method or other background interfaces, the method or the interfaces are called to obtain option information and then the option information is written into the selection frame.
In order to ensure that the configuration information can be used for cascade search, a cascade field in the configuration information needs to be acquired, if the cascade field has a value, a cascade screening item corresponding to the cascade field is acquired, attribute information of the cascade screening item is acquired again, and the steps are executed until no cascade screening item exists.
And when the cascade screening item does not exist, obtaining a search result according to the currently selected screening item and the key words in the cascade screening item.
Furthermore, in order to improve the aesthetic degree of the search page, after corresponding UI controls are created for a plurality of screening items, the styles of the UI controls can be modified so that the styles of the UI controls are uniform.
It can be understood that when the user completes the selection, it is also necessary to determine whether the UI control type is an input control; if the search result is the input control, when the search operation is detected, obtaining the search result according to the input keyword, and generating a search tag according to the keyword; if the user does not adopt the input control, when the selection operation is detected, a search result is obtained according to the selected screening option and the keywords of the cascade screening option, and a search label is generated according to the keywords.
The embodiment provides a searching method, which comprises the following steps: when an operation of clicking the search bar by the user is detected, all the screening items are displayed so that the user can select the corresponding screening items conveniently. Acquiring configuration information of the selected screening item, wherein the configuration information comprises: the method comprises the steps of selecting a selection item, selecting a keyword of the selection item, selecting a UI control type of the selection item, and cascading fields so as to create a corresponding UI control according to the selection item selected by a user and obtain a search keyword. And judging whether the configuration information has a cascading field, if so, acquiring the cascading screening items according to the cascading field and acquiring the configuration information of the selected screening items again, thereby realizing the purpose of selecting a plurality of screening items in the same search bar. And after the user finishes selecting, obtaining a search result according to the selected screening item and the cascading screening item. Therefore, by adopting the searching method provided by the application, the user can select a plurality of screening items with the cascade relation in the same searching bar for searching by arranging the screening items in the same searching bar, so that the page space occupied by the searching conditions is reduced, and the condition that the searching page is disordered is prevented.
In a specific implementation, in order to facilitate a user operation, before the step of detecting an operation of clicking a search bar by a user, the method further includes:
creating a mapping table of the UI control type and the UI control;
and rendering the corresponding UI control according to the UI control type of each screening item and the mapping table.
Creating a mapping table according to the correspondence between the UI control types and the UI controls, and specifying the UI controls corresponding to the attribute information of different UI control types in the mapping table, for example: if the UI control type (namely the attribute information of the type field) of the screening item is input, rendering the screening item as an input control; if the selection is selected, rendering the screening item as a selection control; if the selection item is the checkbox, rendering the selection item into a multi-selection control; if the cascade selection control is the casader, rendering the screening item into a cascade selection control; if datemarker, render the filter item as a date selection control.
Furthermore, the styles of the UI controls corresponding to the screening items can be modified, so that the styles of the UI controls are uniform. It can be understood that the user can select the appropriate style of the UI control according to the user's preference and usage habit.
In the embodiment, a mapping table of the UI control types and the UI controls is created, corresponding UI controls are rendered according to the UI control types and the mapping table of the screening items, and the styles of the UI controls are modified so that the styles of the UI controls are uniform. The attractiveness of the search page is improved, and the use experience of the user is further improved.
It can be understood that, when the user completes the selection, the types of the finally selected UI controls are different, and the corresponding system operation is also different.
On the basis of the above embodiment, obtaining the search result according to the selected screening item and the cascading screening item includes:
judging whether the UI control type is an input control or not;
if the search result is the input control, when the search operation is detected, obtaining the search result according to the input keyword, and generating a search tag according to the keyword;
if the user does not adopt the input control, when the selection operation is detected, a search result is obtained according to the selected screening option and the keywords of the cascade screening option, and a search label is generated according to the keywords.
It is understood that the search tags may be generated according to the keywords and displayed in the search bar, so that the user can determine whether the keyword corresponding to the current search result is wrong. The keywords used in this embodiment are all keywords selected by the user, that is, the keywords include the selected screening item and all cascading screening items connected to the selected screening item.
In a specific implementation, the search operation may include that the user clicks a search button through a mouse, or the user presses a search shortcut key, etc., which is not limited herein, and further the search shortcut key may be set by the user.
In the embodiment, the use experience of the user is further improved by performing different search operations on different screening items.
In a specific implementation, after the user completes the search, a satisfactory result may not be searched, or other information may be searched.
On the basis of the above embodiment, after the step of obtaining the search result according to the selected filter item and the cascading filter items, the method further includes:
and when the operation of clicking the search tag is detected, clearing the search result and returning to the step of detecting the operation of clicking the search bar by the user.
When the user wants to re-type or re-select the search condition, the user only needs to click the search tag in the search bar, the clicked search tag is small, and meanwhile the background system re-renders the UI control for the user to select.
Further, when a user wants to delete a certain search condition, the user needs to click a delete button of a search tag corresponding to the search condition or directly delete the search tag through a shortcut key, and when the background system detects an operation of deleting the search tag, the user removes a keyword corresponding to the search tag and obtains a search result again.
It can be understood that when the user modifies or deletes the search condition, the keyword can be obtained again according to the current search condition, so as to obtain the search result according to the new keyword without additional search operation by the user.
In this embodiment, when an operation of clicking a search tag by a user is detected, the user is enabled to reselect a search condition, and when an operation of deleting the search tag by the user is detected, a keyword corresponding to the search tag is removed and a search result is obtained again. By carrying out different responses to different operations of the user, the user can conveniently carry out searching operation again, and therefore user experience is improved.
In the above embodiments, the search method is described in detail, and the present application also provides embodiments corresponding to the search apparatus. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one from the perspective of the function module and the other from the perspective of the hardware.
Fig. 4 is a structural diagram of a search apparatus according to an embodiment of the present application, and as shown in fig. 4, the apparatus includes:
a display module 10, configured to display a screening item for selection when an operation of clicking a search bar by a user is detected;
an obtaining module 11, configured to obtain configuration information of the selected screening item, where the configuration information includes: the name of the screening item, the keyword of the screening item, the UI control type of the screening item and the cascade field;
the judging module 12 is configured to judge whether a cascading field exists in the configuration information, and if the cascading field exists, obtain a cascading screening option according to the cascading field and return to the step of obtaining the configuration information of the selected screening option;
and the search module 13 is configured to obtain a search result according to the selected screening item and the cascading screening items.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
In addition, the search apparatus provided in this embodiment further includes: the device comprises a rendering unit, a format modification unit, a re-searching unit and a deleting unit;
the rendering unit is used for creating a mapping table of the UI control type and the UI control, and rendering the corresponding UI control according to the UI control type of each screening item and the mapping table.
And the format modification unit is used for modifying the styles of the UI controls so as to unify the styles of the UI controls.
And the re-retrieval unit is used for clearing the search result and returning to the step of detecting the operation of clicking the search bar by the user when the operation of clicking the search tag is detected.
The deleting unit is used for clearing the key words corresponding to the search tags and reacquiring the search results when detecting the operation of deleting the search tags.
The application provides a search device, includes: when an operation of clicking the search bar by the user is detected, all the screening items are displayed so that the user can select the corresponding screening items conveniently. Acquiring configuration information of the selected screening item, wherein the configuration information comprises: the method comprises the steps of selecting a selection item, selecting a keyword of the selection item, selecting a UI control type of the selection item, and cascading fields so as to create a corresponding UI control according to the selection item selected by a user and obtain a search keyword. And judging whether the configuration information has a cascading field, if so, acquiring the cascading screening items according to the cascading field and acquiring the configuration information of the selected screening items again, thereby realizing the purpose of selecting a plurality of screening items in the same search bar. And after the user finishes selecting, obtaining a search result according to the selected screening item and the cascading screening item. Therefore, by adopting the searching device provided by the application, the user can select a plurality of screening items with the cascade relation in the same searching bar to search by setting the screening items in the same searching bar, so that the page space occupied by the searching conditions is reduced, and the condition that the searching page is disordered is prevented.
Fig. 5 is a structural diagram of another search apparatus provided in an embodiment of the present application, and as shown in fig. 5, the search apparatus includes: a memory 20 for storing a computer program;
a processor 21, configured to implement the steps of obtaining the search condition selected by the user as described in the above embodiments when executing the computer program.
The device applying the search method provided by the present embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 21 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 21 may further include an Artificial Intelligence (AI) processor for processing computational operations related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing the following computer program 201, wherein after being loaded and executed by the processor 21, the computer program can implement the relevant steps of the searching method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, Windows, Unix, Linux, and the like. Data 203 may include, but is not limited to, screening item attribute information, and the like.
In some embodiments, the search device may further include a display 22, an input/output interface 23, a communication interface 24, a power source 25, and a communication bus 26.
Those skilled in the art will appreciate that the configuration shown in FIG. 5 does not constitute a limitation of the search apparatus and may include more or fewer components than those shown.
The searching device provided by the embodiment of the application comprises a memory and a processor, and when the processor executes a program stored in the memory, the following method can be realized:
when the operation that a user clicks a search bar is detected, displaying a screening item for facilitating selection;
acquiring configuration information of the selected screening item, wherein the configuration information comprises: the name of the screening item, the keyword of the screening item, the UI control type of the screening item and the cascade field;
judging whether a cascading field exists in the configuration information;
if the cascading field exists, acquiring the cascading screening option according to the cascading field and returning to the step of acquiring the configuration information of the selected screening option;
and if the cascading field does not exist, obtaining a search result according to the selected screening item and the cascading screening item.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The search method, apparatus, and medium provided by the present application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method of searching, comprising:
when the operation that a user clicks a search bar is detected, displaying a screening item for facilitating selection;
acquiring configuration information of a selected screening item, wherein the configuration information comprises: the name of the screening item, the keyword of the screening item, the UI control type of the screening item and the cascade field;
judging whether the configuration information has the cascading field or not;
if the cascade field exists, acquiring a cascade screening option according to the cascade field and returning to the step of acquiring the configuration information of the selected screening option;
and if the cascading field does not exist, obtaining a search result according to the selected screening item and the cascading screening item.
2. The searching method according to claim 1, before the step of detecting an operation of clicking a search bar by a user, further comprising:
creating a mapping table of the UI control type and the UI control;
and rendering the corresponding UI control according to the UI control type of each screening item and the mapping table.
3. The search method according to claim 2, further comprising, after the step of creating the mapping table of the UI control type and the UI control:
and modifying the styles of the UI controls to enable the styles of the UI controls to be uniform.
4. The search method of claim 1, wherein said obtaining search results according to the selected screening and the cascading screening comprises:
judging whether the UI control type is an input control or not;
if the input control is the input control, when a search operation is detected, obtaining the search result according to the input keyword, and generating a search tag according to the keyword;
if not, when the selection operation is detected, obtaining the search result according to the selected screening option and the keywords of the cascade screening option, and generating the search tag according to the keywords.
5. The search method of claim 4, wherein the search operation comprises: the search shortcut key or the search key is activated.
6. The method of claim 1, wherein after the step of obtaining search results according to the selected screening item and the cascading screening item, the method further comprises:
and when the operation of clicking the search tag is detected, clearing the search result and returning to the step of detecting the operation of clicking the search bar by the user.
7. The method of claim 1, wherein after the step of obtaining search results according to the selected screening item and the cascading screening item, the method further comprises:
and when the operation of deleting the search tag is detected, clearing the keyword corresponding to the search tag and reacquiring the search result.
8. A search apparatus, comprising:
the display module is used for displaying the screening items to facilitate selection when the operation that the user clicks the search bar is detected;
an obtaining module, configured to obtain configuration information of a selected screening item, where the configuration information includes: the name of the screening item, the keyword of the screening item, the UI control type of the screening item and the cascade field;
a judging module, configured to judge whether the configuration information includes the cascade field, and if the configuration information includes the cascade field, obtain a cascade screening item according to the cascade field and return to the step of obtaining the configuration information of the selected screening item;
and the searching module is used for obtaining a searching result according to the selected screening item and the cascade screening item.
9. A search apparatus, comprising a memory for storing a computer program;
a processor for implementing the steps of the search method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the search method according to one of claims 1 to 7.
CN202111675317.1A 2021-12-31 2021-12-31 Searching method, device and medium Pending CN114329165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111675317.1A CN114329165A (en) 2021-12-31 2021-12-31 Searching method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111675317.1A CN114329165A (en) 2021-12-31 2021-12-31 Searching method, device and medium

Publications (1)

Publication Number Publication Date
CN114329165A true CN114329165A (en) 2022-04-12

Family

ID=81020751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111675317.1A Pending CN114329165A (en) 2021-12-31 2021-12-31 Searching method, device and medium

Country Status (1)

Country Link
CN (1) CN114329165A (en)

Similar Documents

Publication Publication Date Title
US11328004B2 (en) Method and system for intelligently suggesting tags for documents
AU2020203136C1 (en) System and method for the generation of an adaptive user interface in a website building system
US10140314B2 (en) Previews for contextual searches
US10108720B2 (en) Automatically providing relevant search results based on user behavior
US10169374B2 (en) Image searches using image frame context
JP2006209743A (en) Task-oriented user interface model for document centric software application
KR20080064945A (en) Simultaneously spawning multiple searches across multiple providers
US9298350B2 (en) Menu searching of a hierarchical menu structure
US11526575B2 (en) Web browser with enhanced history classification
US20200342029A1 (en) Systems and methods for querying databases using interactive search paths
US20190095085A1 (en) Page construction method, terminal, computer readable storage medium, and page construction device
CN112764736A (en) Web end flow chart modeling method, device and system
US9529843B2 (en) Highly portable and dynamic user interface component to specify and perform simple to complex filtering on data using natural language-like user interface
CN114036443A (en) Page generation method and device
CN105279245A (en) Method for collecting contents on webpage and electronic device
CN108694043B (en) Page decoration method and system
CN114329165A (en) Searching method, device and medium
CN113179183B (en) Service switch state control device and method
CN106919300B (en) Method, device and equipment for displaying customized information on browser window
CN109814857B (en) Method and device for customizing primitive linkage
AU2014101081A4 (en) System, method and graphical user interface for facilitating a search
CN112817590A (en) Method for generating page cards in batch, storage medium and electronic equipment
JPH11282882A (en) Document management method
CN112883343A (en) Program code obfuscation method and device
US20140143734A1 (en) Business object explorer

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20231121

Address after: Room 2301, No. 395 Linjiang Avenue, Tianhe District, Guangzhou City, Guangdong Province, 510655 (Location: Self made Unit 01)

Applicant after: Guangdong Inspur Intelligent Computing Technology Co.,Ltd.

Applicant after: INSPUR ELECTRONIC INFORMATION INDUSTRY Co.,Ltd.

Address before: No. 1036, Shandong high tech Zone wave road, Ji'nan, Shandong

Applicant before: INSPUR ELECTRONIC INFORMATION INDUSTRY Co.,Ltd.