CN115080828A - Searching method, device and system based on configurable searching component and storage medium - Google Patents

Searching method, device and system based on configurable searching component and storage medium Download PDF

Info

Publication number
CN115080828A
CN115080828A CN202210687542.5A CN202210687542A CN115080828A CN 115080828 A CN115080828 A CN 115080828A CN 202210687542 A CN202210687542 A CN 202210687542A CN 115080828 A CN115080828 A CN 115080828A
Authority
CN
China
Prior art keywords
search
displayable
configurable
interface
component
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
CN202210687542.5A
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.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank 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 Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202210687542.5A priority Critical patent/CN115080828A/en
Publication of CN115080828A publication Critical patent/CN115080828A/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/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/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/9538Presentation of query results
    • 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/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a searching method, a searching device, a searching system and a storage medium based on a configurable searching component. Wherein the method comprises: acquiring a contraction instruction aiming at a search condition interface; determining displayable search items according to preset display conditions; displaying the displayable search items in the search condition interface based on the preset display conditions, and hiding other search conditions except the displayable search items so as to search under the search condition interface where the displayable search items are located. The searching method provided by the invention can display the displayable search items according to the preset display conditions and hide other items which do not need to be displayed according to the contraction instruction of the user when the search condition items in the page are more, thereby bringing convenience to search and query; meanwhile, the conditions required to be filled and selected are prevented from being repeatedly inquired by the user in numerous and complicated search conditions, the time is saved, and the inquiry and retrieval efficiency is improved.

Description

Searching method, device and system based on configurable searching component and storage medium
Technical Field
The present invention relates to the field of retrieval technologies, and in particular, to a search method, apparatus, system, and storage medium based on a configurable search component.
Background
The retrieval means that a certain method and a certain technical means are adopted for a specific information set from the specific information requirements of users, and relevant information is found out according to certain clues and rules. The search function is a function that is necessary for all network applications today. For the middle background system, the search function is an essential function. Millions and billions of form data can be searched through various conditions, and the data required by the user can be accurately obtained.
At present, a retrieval platform, a search interface, a search function and the like on the market are searched through a simple form, when a large number of search conditions, options, items and entries exist in a page, the content of the search conditions occupies a very large space of the page, so that the space of data information content seen by a user is very small, the use of the user is unchanged, and the search and query efficiency is reduced.
Disclosure of Invention
In view of the above, the present invention provides a searching method based on a configurable searching component, including:
acquiring a contraction instruction aiming at a search condition interface;
determining displayable search items according to preset display conditions;
displaying the displayable search items in the search condition interface based on the preset display conditions, and hiding other search conditions except the displayable search items so as to search under the search condition interface where the displayable search items are located.
Preferably, the preset display condition includes a retrieval frequency;
the determining displayable search items according to the preset display condition includes:
acquiring retrieval frequencies corresponding to all query items in the search condition interface;
sorting the retrieval frequencies; and extracting the query item corresponding to the retrieval frequency in a preset high-frequency range as a displayable search item.
Preferably, the preset display condition further includes a zone height;
the displaying the displayable search items in the search condition interface based on the preset display condition comprises:
acquiring the total number of conditions of the displayable search items and the character length of each condition;
determining an interface area size of the search criteria interface based on the area height according to the criteria total number and the character length of the displayable search terms;
and adjusting the search condition interface according to the size of the interface area, and displaying the displayable search items in the search condition interface after the size is adjusted.
Preferably, the determining the size of the interface area of the search condition interface based on the area height according to the condition total number and the character length of the displayable search item includes:
acquiring the current scaling of the browser;
determining a character display height of the displayable search item in the search condition interface according to the condition total number and the character length of the displayable search item based on the current zoom scale;
and determining the size of the interface area according to the character display height and the area height.
Preferably, the determining the size of the interface area according to the character display height and the area height includes:
judging whether the character display height is greater than the area height;
and if so, scaling the characters in the displayable search item in an equal proportion according to the height of the area so that the displayable search item can be completely displayed in the search condition interface.
And if not, taking the character display height as the area height.
Preferably, the searching method based on the configurable searching component further comprises:
obtaining updating configuration information corresponding to the configurable search component in a component library;
iteratively updating the configurable search component based on the updated configuration information to facilitate searching based on the iteratively updated configurable search component.
Preferably, the update configuration information includes a set form item and a display condition;
the form item includes: radio boxes, multiple boxes, input boxes, counters, selectors, cascade selectors, switches, sliders, time selectors, date and time selectors, color selectors.
In addition, to solve the above problem, the present invention further provides a searching apparatus based on a configurable searching component, including:
the acquisition module is used for acquiring a contraction instruction aiming at the search condition interface;
the determining module is used for determining displayable search items according to preset display conditions;
and the display module is used for displaying the displayable search items in the search condition interface based on the preset display conditions and hiding other search conditions except the displayable search items so as to search under the search condition interface where the displayable search items are located.
In addition, in order to solve the above problems, the present invention further provides a search system based on a configurable search component, including a memory and a processor, where the memory is used to store a search program based on the configurable search component, and the processor runs the search program based on the configurable search component to make the search system based on the configurable search component execute the search method based on the configurable search component as described above.
In addition, to solve the above problem, the present invention further provides a computer-readable storage medium, on which a search program based on a configurable search component is stored, and when the search program based on the configurable search component is executed by a processor, the search method based on the configurable search component as described above is implemented.
The invention provides a searching method, a searching device, a searching system and a storage medium based on a configurable searching component. Wherein the method comprises the following steps: acquiring a contraction instruction aiming at a search condition interface; determining displayable search items according to preset display conditions; displaying the displayable search items in the search condition interface based on the preset display conditions, and hiding other search conditions except the displayable search items so as to search under the search condition interface where the displayable search items are located. According to the method and the device, the displayable search items are determined according to the display conditions under the contraction instruction, and the displayable search items required to be displayed are displayed in the search condition interface based on the preset display conditions. The invention can display the displayable search items according to the preset display condition and hide other items which are not required to be displayed according to the contraction instruction of the user when a plurality of search condition items are searched in the page, so that the search condition interface can be contracted and hidden according to the requirements of the user, and the displayable search items which are required to be displayed can be determined according to the display condition, thereby avoiding the condition that the content of the search condition occupies a very large space of the page due to the search condition interface space, causing the condition that the space of the data information content seen by the user is very small, leading the retrieval interface to be more emphasized and hide unnecessary or unimportant retrieval conditions, bringing convenience to search and query and improving the query efficiency to a certain extent.
Drawings
FIG. 1 is a schematic structural diagram of a hardware operating environment related to an embodiment of a search method based on a configurable search component according to the present invention;
FIG. 2 is a schematic flow chart of a search method 1 according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating the step S200 of the searching method 2 according to the present invention;
FIG. 4 is a flowchart illustrating a step S300 of the configurable search component-based search method of the present invention in embodiment 2;
FIG. 5 is a flowchart illustrating the step S320 of the searching method 2 according to the configurable searching component of the present invention;
FIG. 6 is a flowchart illustrating the step S323 in the embodiment of the searching method 2 based on the configurable searching component according to the present invention;
FIG. 7 is a flowchart illustrating steps S400 and S500 of the configurable search component based search method of embodiment 3 of the present invention;
FIG. 8 is a schematic diagram of module connections of a search apparatus based on a configurable search component according to 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
Reference will now be made in detail to the embodiments of the present invention, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
Fig. 1 is a schematic structural diagram of a hardware operating environment of a terminal according to an embodiment of the present invention.
The search system based on the configurable search component in the embodiment of the invention can be a PC, and can also be a mobile terminal device such as a smart phone, a tablet computer or a portable computer. The search system based on the configurable search component can comprise: a processor 1001, e.g., a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may comprise a display screen, an input unit such as a keyboard, a remote control, and the optional user interface 1003 may also comprise 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 stable memory such as a disk memory. The memory 1005 may alternatively be a storage device separate from the processor 1001. Optionally, the search system based on the configurable search component may further include RF (Radio Frequency) circuitry, audio circuitry, a WiFi module, and so on. In addition, the search system based on the configurable search component can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor and the like, and the details are not repeated herein.
Those skilled in the art will appreciate that the configurable search component based search system illustrated in FIG. 1 is not intended to be limiting and may include more or fewer components than those illustrated, 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-readable storage medium, may include therein an operating system, a data interface control program, a network connection program, and a search program based on a configurable search component.
The invention provides a searching method, a searching device, a searching system and a storage medium based on a configurable searching component. According to the method, when a large number of search condition items are searched in a page, according to a contraction instruction of a user, displayable search items are displayed according to preset display conditions, other items which do not need to be displayed are hidden, a search condition interface can be contracted and hidden according to requirements of the user, the displayable search items which need to be displayed can be determined according to the display conditions, and therefore the situation that the content of the search condition in the search condition interface space occupies a very large space of the page, the situation that the space of the data information content seen by the user is very small is avoided, the retrieval interface is more prominent, unnecessary or unimportant retrieval conditions are hidden, convenience is brought to search and query, and the query efficiency is improved to a certain extent.
According to the embodiment, when a large number of search condition items are searched in a page, according to a contraction instruction of a user, displayable search items are displayed according to preset display conditions, and other items which do not need to be displayed are hidden, so that a search condition interface can be contracted and hidden according to the requirements of the user, and the displayable search items which need to be displayed can be determined according to the display conditions, so that the search condition interface space avoids the situation that the content of the search condition occupies a very large space of the page, the situation that the space of the data information content seen by the user is very small is caused, the retrieval interface is more emphasized and hides unnecessary or unimportant retrieval conditions, and convenience is brought to search and query; meanwhile, the user avoids repeatedly inquiring the conditions needing to be filled and selected in numerous and complicated search conditions, time is saved, and the inquiring efficiency is improved to a certain extent.
Example 1:
referring to fig. 2, a first embodiment of the present invention provides a search method based on a configurable search component, including:
step S100, a contraction instruction for the search condition interface is acquired.
The search criteria interface, which is part of the overall search interface, is used to display all or part of the search criteria or search terms in the page, which may include forms such as options, content input text boxes, and the like.
For example, in a banking system, when a user searches in a database according to a certain condition in a specific banking related business, due to the fact that the search workload is large, the number of search selection items is large, and some searches may occur that the search condition is not completely displayed in one page, the user needs to drag a scroll bar to repeatedly check and select, even repeatedly turn pages to select, and when the search is performed and the conditions that selection omission and multiple selections are easily caused or filling errors occur, the accuracy of a search hit result is reduced.
Some of the above search criteria are necessary, important and need to be displayed, and some are secondary and unnecessary to be displayed on the page.
In this embodiment, a search method based on a configurable search component is provided for such defects, and is applied to the configurable search component.
The configurable search component provided in this embodiment refers to a componentized configurable customizable search component, and the search component belongs to a function package in the form of a component in a low-code platform. The configurable content is very rich, simple and easy to use. The required search condition can be configured conveniently in a short time. The efficiency of the developer is greatly improved, and the cost of the developer is reduced.
The contraction instruction is a contraction button arranged on the search condition interface for hiding or displaying part of the search condition, and after the user clicks the button, the system receives a contraction instruction, which is directed at the contraction or hiding of the search condition interface. Correspondingly, buttons for unfolding or related functions can also be provided.
Step S200, determining displayable search items according to preset display conditions.
The preset display condition is a preset condition configured for all search terms. For example, the preset realistic conditions may include, but are not limited to: frequency of retrieval, importance of the item, weight, overall number of restrictions in the page, specific options according to the specific item, and the like. As described above, the displayable search item is a search item that is retained and displayed after being contracted according to the contraction instruction in the search condition interface. The displayable search items can be determined according to the display conditions and have certain importance, or have certain preference according to the habits of the user, so that the user can search in a simple interface more conveniently.
Step S300, displaying the displayable search item in the search condition interface based on the preset display condition, and hiding other search conditions except the displayable search item so as to search under the search condition interface where the displayable search item is located.
In the above, in all the search conditions, according to the preset display condition, the displayable search item is screened out, and other search conditions are hidden, so that the search condition interface can be conditionally displayed and hidden according to requirements.
For example, in a financial transaction, a configurable search component is provided, the configurable search component is directed to the retrieval of user data in a database, and the search conditions include: A. b, C, D, E, F, G, H, I, J and K; the preset display conditions are 3 search conditions with the highest use frequency in the financial service; c, E and F are the 3 search conditions with the highest frequency of use. Therefore, after the user clicks a 'shrink' button on the search condition interface, and after the system receives a shrink command and filters according to the display conditions, the displayable search items are C, E and F, C, E and F are reserved and displayed, and the rest A, B, D, G, H, I, J and K are hidden.
Example 2:
referring to fig. 3, a search method based on a configurable search component is provided in embodiment 2 of the present invention, and based on embodiment 1, the preset display condition includes a retrieval frequency.
The above-mentioned retrieval frequency is the frequency of retrieval performed by the configurable search component applied for a particular service, in previous use, or during the transaction or retrieval of that service.
Wherein, in the step S200, determining the displayable search item according to the preset display condition includes:
step S210, acquiring retrieval frequencies corresponding to all query items in the search condition interface;
as described above, in the search condition interface, a plurality of search items are included, that is, search conditions that need to be selected, set and input by the user, each search condition has different frequency of use in different businesses, for example, financial or insurance businesses related to the elderly or young children, and a corresponding age range option and social security option need to be selected, these two options are relatively high in frequency of use with respect to the "work unit", "exit record", "height", "weight", and other options are relatively unimportant, and therefore, the age range option and the social security option are high-frequency search conditions.
As mentioned above, each search condition or item corresponds to a retrieval frequency, which may be a usage frequency or a preset frequency corresponding to the search condition.
Step S220, sorting the retrieval frequency; and extracting the query item corresponding to the retrieval frequency in a preset high-frequency range as a displayable search item.
In this embodiment, search conditions that are used with high frequency are selected as displayable search items according to the difference in the retrieval frequency of each search condition. Specifically, the use frequency corresponding to each search condition on the current search condition interface is first acquired, and the use frequency may be counted by the platform in real time or at regular time. After sorting according to the use frequency, the part of the search conditions with higher use frequency can be screened out from high to low to be used as the displayable search items.
The preset high frequency range may be a numerical range of a preset retrieval frequency, for example, the retrieval frequency is 5000-.
The displayable search items are search conditions, namely, after the user selects the shrink button, the system receives the shrink instruction, and determines part of the search conditions with high frequency use according to the search frequency, and the search conditions are used as the displayable search items.
Further, referring to fig. 4, the preset display condition further includes a zone height.
The area height is a preset height value in the search condition interface after the interface is shrunk due to the shrink command. The height value may be a pixel height or a number of rows of displayable search terms displayed. For example, the height of the defined area is 100 pixels, or the height of the defined area is 2 lines in the number of characters of the displayable search item.
In step S300, displaying the displayable search item in the search condition interface based on the preset display condition includes:
step S310, acquiring the total number of conditions of the displayable search items and the character length of each condition.
Above, what is acquired first is the condition total number and the character length. In order to further determine and control the size of the corresponding display character or area in the displayed interface, the characteristic of the content required to be displayed is firstly determined. For example, the total number of conditions is 4, and the character lengths are 3, 10, 15, 7, and 2, respectively.
Step S320, according to the condition total number and the character length of the displayable search items, determining the size of an interface area of the search condition interface based on the area height;
the size of the interface area is the size of the displayed search condition interface, which has displayable search items. Depending on the specific condition total and the character length, the size of the interface area that should be occupied can be determined, which can be a defined height value or a line number value.
Step S330, adjusting the search condition interface according to the size of the interface area, and displaying the displayable search items in the search condition interface after the size is adjusted.
In the above, the size of the search condition interface is adjusted, specifically, the size of the search condition interface is adjusted according to the interface area. The interface area is the size of the area which can be occupied by the displayable search item, and the search condition interface is an interface which displays all search conditions and is an interface with a larger range.
Therefore, in this step, the search condition interface in the larger area is reduced to the size of the interface area in which only the displayable search items are displayed. And, the displayable search item is displayed in the area.
Further, referring to fig. 5, in step S320, determining an interface area size of the search criteria interface based on the area height according to the criteria total number and the character length of the displayable search item includes:
in step S321, the current scaling of the browser is obtained.
As described above, a user may have different scales as desired when using a browser. The default state is 100%. For example, in use, it may be set to 120% or 90% as required. The scaling affects the size of the characters, or the length of the number of characters displayed in a line.
Step S322, based on the current zoom ratio, determining the character display height of the displayable search item in the search condition interface according to the condition total number and the character length of the displayable search item.
As described above, the current zoom ratio, the total number of conditions, and the character length are 3 factors that affect the character display height, and here, the character display height is determined by combining the 3 factors.
As mentioned above, the character display height is the height of the character that the displayable search term of the current single line or multiple lines should occupy.
And step S323, determining the size of the interface area according to the character display height and the area height.
The height of the area, the height of the character display and the two height values are used for comprehensively determining the size of the interface area, so that the size of the interface after contraction can be controlled from the use angle of a user, and the interface is not directly contracted.
Further, referring to fig. 6, in step S323, determining the size of the interface area according to the character display height and the area height includes:
step S323-1, judge whether the said character displays the height to be greater than the height of said area;
judging the size difference between the two, firstly, the character display height is the actual occupied height, and the area height is a preset height. The equivalent area height is the height that should be displayed, which may be the height of the area that is actually visually acceptable to the user, at which displayable search terms are displayed, enabling tidiness of the page to be ensured. And the character display height is the actual occupied height determined according to the total number of characters and the total height of all the characters of each condition when a plurality of displayable search items are combined together, and the height can be greater than the area height or smaller than the area height.
Step S323-2, if yes, scaling the characters in the displayable search item in an equal proportion according to the height of the area so that the displayable search item can be completely displayed in the search condition interface. And step S323-3, if not, taking the character display height as the area height.
As described above, if the character display height > the zone height, it is stated that the actual height of the character exceeds the preset acceptable zone height. Then scaling may be performed with respect to the characters of all the displayable search terms that were originally available, with the scaling being performed on a region height basis, i.e., adaptively adjusted according to the region height. Thereby enabling the character to be displayed within the height of the region. Therefore, the method can be realized, not only can all displayable search items be reserved, but also the area can be ensured to be moderate in size, and inconvenience in use of a user due to the fact that the area is too large and occupies too large pages is avoided.
Wherein, scaling is equal, namely scaling is carried out according to the proportion among characters.
Further, scaling the characters in the displayable search term equally according to the region height may include:
1. acquiring user vision information pre-filled by a user;
the term "visual acuity" refers to the ability of the retina to resolve images. Here, the user's eyesight information may be a text box or a selection box that the user needs to fill or select in the page. For example, the user inputs, in the text box, visual information, which is a visual test value obtained by the user himself by performing measurement in the near future, 0.5, or 1.5, and different numbers represent differences in visual levels or visual states.
2. Determining a character display threshold value of the user vision information according to the user vision information; the character display threshold comprises a character line spacing and a character font size;
for example, in this embodiment, the eyesight may be 1 or more, the character line spacing in the character display threshold may be not less than 5 pounds, and the character font size may be not less than 7; if the eyesight is below 1, the character line spacing is not less than 10 and the character font size is not less than 9. Correspondingly, different character sizes and line intervals can be set for different vision values correspondingly. For example, if the vision is 0.5, the character size is 14 characters and the line spacing is 23 pounds.
3. And setting characters in the displayable search items according to the character line spacing and the character font size, and taking the total line height in the displayable search items after setting as the area height.
Therefore, the size and the line pitch of the characters can be adjusted to be in a clearly visible state acceptable to the eyesight of the user by adjusting the eyesight of the user. In this embodiment, the text is not mechanically shrunk directly according to the shrinking instruction, but the text is adjusted with reference to the acceptable range of the user's eyesight, and the size and the line spacing of the text are adjusted to corresponding parameter values, so that the displayable search item can be displayed by fully considering the actual condition of the user's eyesight to adjust the font rather than mechanically shrinking or enlarging the font on the basis of ensuring that the page is clean and tidy and does not contain useless information.
Further, if the character display height is not greater than the area height, which indicates that the total character height of all displayable search items is smaller than the predetermined area height, the character display height may be directly displayed as the area height without adjusting the character display height.
Example 3:
referring to fig. 7, embodiment 3 of the present invention provides a searching method based on a configurable searching component, and based on the above embodiment 1, the searching method based on the configurable searching component further includes:
step S400, obtaining the updating configuration information corresponding to the configurable searching component in a component library;
step S500, iteratively updating the configurable search component based on the updated configuration information, so as to facilitate searching based on the iteratively updated configurable search component.
As described above, the configurable search component can be used and edited in the form of a component, as an application in a low-code platform. In the component library, a plurality of components of different functions and applications are included.
Steps S400 to S500 may be performed before or after step S100.
Further, the update configuration information includes a set form item and a display condition; the form item includes: radio boxes, multiple boxes, input boxes, counters, selectors, cascade selectors, switches, sliders, time selectors, date and time selectors, color selectors.
The components comprise various configured condition options, condition settings, parameter range setting items and the like. Also, various desired search criteria, items, etc. within the component can be made by customization.
For example, may include, but is not limited to: radio boxes, multiple boxes, input boxes, counters, selectors, cascade selectors, switches, sliders, time selectors, date and time selectors, color selectors, and the like. The configurable content is very rich, simple and easy to use. The required search condition can be configured conveniently in a short time. The efficiency of the developer is greatly improved, and the cost of the developer is reduced.
Because the configurable search component is used, the maintainability is very good, if functions needing to be added are available, only the functions need to be directly developed in the component library, and a user or a developer only needs to set corresponding updating configuration information and quickly update the components, so that the new functions of the search component can be applied to the project of the user or the developer, and the iteration of the functions can be quickly completed. Meanwhile, because the code is already modularized, the redundancy of the code can be greatly reduced.
The configuration information is updated, and the settings of the search items and options set for the configurable search component may include setting of parameters, adjustment of codes, and the like. After the configuration information is updated aiming at the adjustment of the configurable search component, the configuration information can be updated aiming at different services or items, so that the configuration information is more flexibly adaptive to the services. The adjustment and the change are based on the adjustment in the component library, and are more convenient and flexible.
The configurable and customizable search condition is the largest character and highlight of the configurable search component. What search function is needed in the project is to configure the corresponding search function in the component library. Then, by clicking the query button, the query of the data can be quickly realized. Convenient, simple, easy to use and high in efficiency. At present, databases and the like with search functions are not provided with configurable search components. The configurable search component provided by the application has good scalability and expandability. By the aid of the configurable function of the default values, query of high-frequency search conditions can be quickly achieved, a user can query data wanted by the user without inputting the conditions wanted to be queried every time, search operation steps of the user are reduced, and user experience is greatly improved.
In addition, referring to fig. 8, the present application further provides a searching apparatus based on a configurable searching component, including:
an obtaining module 10, configured to obtain a contraction instruction for a search condition interface;
a determining module 20, configured to determine displayable search terms according to preset display conditions;
the display module 30 is configured to display the displayable search item in the search condition interface based on the preset display condition, and hide other search conditions except the displayable search item, so as to perform a search in the search condition interface where the displayable search item is located.
In addition, the application also provides a search system based on the configurable search component, which comprises a memory and a processor, wherein the memory is used for storing a search program based on the configurable search component, and the processor runs the search program based on the configurable search component to enable the search system based on the configurable search component to execute the search method based on the configurable search component.
In addition, the present application also provides a computer-readable storage medium, on which a search program based on a configurable search component is stored, and when executed by a processor, the search program based on the configurable search component implements the search method based on the configurable search component as described above.
In summary, the present application provides a searching method, apparatus, system and storage medium based on a configurable searching component. According to the method, when a large number of search condition items are searched in a page, displayable search items are displayed according to preset display conditions and other items which do not need to be displayed are hidden according to contraction instructions of a user, so that a search condition interface can be contracted and hidden according to requirements of the user, the displayable search items which need to be displayed can be determined according to display conditions, the search condition interface space avoids the situation that the content of the search conditions occupies a very large space of the page, the situation that the space of the data information content seen by the user is very small is caused, the retrieval interface is more prominent, unnecessary or unimportant retrieval conditions are hidden, and convenience is brought to search query; meanwhile, the user avoids repeatedly inquiring the conditions required to be filled and selected in a plurality of complicated search conditions, time is saved, and the inquiring efficiency is improved to a certain extent.
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, 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 searching method based on a configurable searching component is characterized by comprising the following steps:
acquiring a contraction instruction aiming at a search condition interface;
determining displayable search items according to preset display conditions;
displaying the displayable search items in the search condition interface based on the preset display conditions, and hiding other search conditions except the displayable search items so as to search under the search condition interface where the displayable search items are located.
2. The configurable search component-based search method of claim 1,
the preset display condition comprises retrieval frequency;
the determining displayable search items according to the preset display condition includes:
acquiring retrieval frequencies corresponding to all query items in the search condition interface;
sorting the retrieval frequencies; and extracting the query item corresponding to the retrieval frequency in a preset high-frequency range as a displayable search item.
3. The configurable search component-based search method of claim 2,
the preset display condition further comprises the area height;
the displaying the displayable search items in the search condition interface based on the preset display condition comprises:
acquiring the total number of conditions of the displayable search items and the character length of each condition;
determining an interface area size of the search criteria interface based on the area height according to the criteria total number and the character length of the displayable search terms;
and adjusting the search condition interface according to the size of the interface area, and displaying the displayable search items in the search condition interface after the size is adjusted.
4. The configurable search component-based search method of claim 3, wherein said determining an interface region size of said search criteria interface based on said region height in accordance with said criteria total number and said character length of said displayable search term comprises:
acquiring the current scaling of the browser;
determining a character display height of the displayable search item in the search condition interface according to the condition total number and the character length of the displayable search item based on the current zoom scale;
and determining the size of the interface area according to the character display height and the area height.
5. The configurable search component-based search method of claim 4, wherein said determining the size of the interface region based on the character display height and the region height comprises:
judging whether the character display height is greater than the area height;
if so, scaling the characters in the displayable search item in an equal proportion according to the height of the area so that the displayable search item can be completely displayed in the search condition interface;
and if not, taking the character display height as the area height.
6. The configurable search component-based search method of claim 1, wherein the configurable search component-based search method further comprises:
obtaining updating configuration information corresponding to the configurable search component in a component library;
iteratively updating the configurable search component based on the update configuration information to facilitate searching based on the iteratively updated configurable search component.
7. The configurable search component-based search method of claim 6, wherein the updated configuration information comprises set form items and display conditions;
the form item includes: radio boxes, multiple boxes, input boxes, counters, selectors, cascade selectors, switches, sliders, time selectors, date time selectors, and color selectors.
8. A searching apparatus based on a configurable searching component, comprising:
the acquisition module is used for acquiring a contraction instruction aiming at the search condition interface;
the determining module is used for determining displayable search items according to preset display conditions;
and the display module is used for displaying the displayable search items in the search condition interface based on the preset display conditions and hiding other search conditions except the displayable search items so as to search under the search condition interface where the displayable search items are located.
9. A configurable search component based search system, comprising a memory for storing a configurable search component based search program and a processor for executing the configurable search component based search program to cause the configurable search component based search system to perform the configurable search component based search method of any one of claims 1-7.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores thereon a configurable search component-based search program, and the configurable search component-based search program, when executed by a processor, implements the configurable search component-based search method according to any one of claims 1-7.
CN202210687542.5A 2022-06-16 2022-06-16 Searching method, device and system based on configurable searching component and storage medium Pending CN115080828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210687542.5A CN115080828A (en) 2022-06-16 2022-06-16 Searching method, device and system based on configurable searching component and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210687542.5A CN115080828A (en) 2022-06-16 2022-06-16 Searching method, device and system based on configurable searching component and storage medium

Publications (1)

Publication Number Publication Date
CN115080828A true CN115080828A (en) 2022-09-20

Family

ID=83252952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210687542.5A Pending CN115080828A (en) 2022-06-16 2022-06-16 Searching method, device and system based on configurable searching component and storage medium

Country Status (1)

Country Link
CN (1) CN115080828A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115687497A (en) * 2022-09-30 2023-02-03 上海慧程工程技术服务有限公司 Factory industrial equipment data visualization management system and method based on Internet of things

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115687497A (en) * 2022-09-30 2023-02-03 上海慧程工程技术服务有限公司 Factory industrial equipment data visualization management system and method based on Internet of things

Similar Documents

Publication Publication Date Title
RU2679977C1 (en) Constructing queries for execution over multi-dimensional data structures
EP2521052A1 (en) Handheld electronic device and method for calibrating input of webpage address
JP6010796B2 (en) Information processing apparatus, information processing system, and program
CN105320766A (en) Information pushing method and apparatus
CN107844348B (en) Data display method and device based on configuration graph and computer storage medium
CA2933689A1 (en) Techniques for programmatic magnification of visible content elements of markup language documents
CA2805329C (en) Information provision device, information provision method, information provision program, information display device, information display method, information display program, information retrieval system, and recording medium
EP2573663B1 (en) Method for selecting area of content for enlargement, and apparatus and system for providing content
JP2010146089A (en) Item retrieval system
JP6464604B2 (en) Search support program, search support method, and search support apparatus
CN115080828A (en) Searching method, device and system based on configurable searching component and storage medium
JP6871691B2 (en) Information processing equipment, information processing methods and information processing programs
JP3339937B2 (en) Database search device
CN110908565A (en) Method, device, equipment and storage medium for customizing screen theme
JP2010015228A (en) Commodity search method, program, commodity search server and commodity search system
CN107577388B (en) Input interface control method and device
JP5062901B2 (en) How to display a web page
US20140324626A1 (en) Systems and methods to present item recommendations
KR101976306B1 (en) Web page creation support device, and storage medium
CN112181346B (en) Method, device, server, client and medium for processing thinking guide graph
US7739260B1 (en) Database search system using interpolated data with defined resolution
AU2014365804B2 (en) Presenting images representative of searched items
CN113468354A (en) Method and device for recommending chart, electronic equipment and computer readable medium
CN111291555A (en) Commodity specification identification method and device and computer readable storage medium
KR102412447B1 (en) Method for providing information on e-book and server using the same

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