CN112287204A - Searching method, device, equipment and storage medium - Google Patents
Searching method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN112287204A CN112287204A CN201911242562.6A CN201911242562A CN112287204A CN 112287204 A CN112287204 A CN 112287204A CN 201911242562 A CN201911242562 A CN 201911242562A CN 112287204 A CN112287204 A CN 112287204A
- Authority
- CN
- China
- Prior art keywords
- search
- data
- shielding
- user
- current user
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000001960 triggered effect Effects 0.000 claims description 12
- 238000001914 filtration Methods 0.000 claims description 8
- 238000001514 detection method Methods 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 5
- 230000006399 behavior Effects 0.000 description 13
- 230000000873 masking effect Effects 0.000 description 12
- 230000006870 function Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 238000012216 screening Methods 0.000 description 6
- 238000013500 data storage Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9532—Query formulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
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 embodiment of the invention discloses a searching method, a searching device, searching equipment and a storage medium, wherein the method comprises the following steps: acquiring a search keyword input by a current user; detecting whether search shielding data corresponding to a current user is stored; and when the search shielding data is stored, searching by taking the search shielding data and the search keywords as search conditions to obtain a search result. By the technical scheme of the embodiment of the invention, the data which is not desired by the user can be avoided in the search result, and the accuracy of the search result is improved.
Description
Technical Field
Embodiments of the present invention relate to computer technologies, and in particular, to a search method, apparatus, device, and storage medium.
Background
With the rapid development of computer technology, various network platforms often provide a search function, so that a user can quickly search desired data from massive data. For example, in an online shopping platform, a user can quickly obtain a desired item through a search function.
Currently, in order to improve the accuracy of the search result, more reference items can be provided in the search result of the user, such as: when searching for 'flowers', in addition to the search list, the prompts of 'dry flowers', 'fresh flowers', 'plants' and the like can be added; or when a brand is searched, store entrances of the brand are also displayed. The data influenced by the information can also be preferentially shown in the search results of the user by combining the operation behaviors of the user, such as shops and articles browsed or purchased once. And in the search results of the user, a fine screening option can be provided for the user according to various factors such as the good evaluation degree and the price output by the system, so that the user can perform screening search based on the self requirement.
However, in the process of implementing the present invention, the inventor finds that at least the following problems exist in the prior art:
existing search approaches tend to search by analyzing what data a user wants and what data may be wanted. For example, according to the user behavior data, more similar data is provided for the user, but the provided data may not be the data that the user wants, so that the user may get stuck in the data and cannot obtain the data that the user really wants, thereby reducing the accuracy of the search result.
Disclosure of Invention
The embodiment of the invention provides a searching method, a searching device, searching equipment and a storage medium, which are used for avoiding data which are not wanted by a user from existing in a searching result and improving the accuracy of the searching result.
In a first aspect, an embodiment of the present invention provides a search method, including:
acquiring a search keyword input by a current user;
detecting whether search shielding data corresponding to the current user is stored or not;
and when the search shielding data is stored, searching by taking the search shielding data and the search keywords as search conditions to obtain a search result.
In a second aspect, an embodiment of the present invention further provides a search apparatus, including:
the search keyword acquisition module is used for acquiring search keywords input by a current user;
the search shielding data detection module is used for detecting whether the search shielding data corresponding to the current user is stored or not;
and the searching module is used for searching by taking the search mask data and the search keywords as search conditions to obtain a search result when the search mask data is stored.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the search method steps as provided by any of the embodiments of the invention.
In a fourth aspect, the embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the search method provided in any embodiment of the present invention.
The embodiment of the invention has the following advantages or beneficial effects:
by storing the data which is not desired by the user as the search mask data in advance, the stored search mask data and the search keywords can be used as search conditions for searching during searching, so that the data which is not desired by the user does not exist in the search result, the situation that the data which is not desired by the user exists in the search result is avoided, and the accuracy of the search result is improved.
Drawings
Fig. 1 is a flowchart of a searching method according to an embodiment of the present invention;
fig. 2 is a flowchart of a searching method according to a second embodiment of the present invention;
FIG. 3 is an example of a search result according to a second embodiment of the present invention;
fig. 4 is a display example of a shielding prompt message according to a second embodiment of the present invention;
fig. 5 is a presentation example of screening option information according to a second embodiment of the present invention;
FIG. 6 is a diagram showing an example of search mask data according to a second embodiment of the present invention;
fig. 7 is a display example of a release prompt message according to a second embodiment of the present invention;
fig. 8 is a schematic structural diagram of a search apparatus according to a third embodiment of the present invention;
fig. 9 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a searching method according to an embodiment of the present invention, which is applicable to a situation where data desired by a user is searched from mass data, and particularly applicable to a scenario where an article required by the user is searched from an online shopping platform, and also applicable to an application scenario where data search is required in other network platforms. The method can be executed by a search device, which can be implemented by software and/or hardware, and integrated in a device with a search function, such as a smart phone, a computer, a notebook computer, and the like. As shown in fig. 1, the method specifically includes the following steps:
and S110, acquiring the search keyword input by the current user.
The current user may refer to a user who needs to perform data search at the current time. The search keyword may refer to a keyword corresponding to data desired by a current user. The number of search keywords may be one or more.
Specifically, the current user may determine a search keyword based on data desired by the current user, and manually input the search keyword in a search box of the search interface, so that the search apparatus may obtain the search keyword input by the current user in the search box.
For example, the present embodiment may obtain the search keyword currently input by the user in real time, so as to determine the search result corresponding to the currently input search keyword in real time. For example, when the user inputs the search keyword "tooth" for the first time, the search result corresponding to the search keyword "tooth" may be determined, and when the user then inputs "paste", the search result corresponding to the search keyword "paste" may be determined, so that real-time search may be implemented.
The embodiment can also acquire the search keyword input by the current user when the search triggering behavior is detected, so that the search can be performed according to the search keyword input by the user, and the search result desired by the user can be directly acquired, thereby saving the search resource. The search triggering behavior may refer to a behavior of starting data search, which may be triggered by a user operation. For example, in a search box of a search interface, after a current user finishes inputting a search keyword, a search button on the search interface may be clicked through a mouse or a touch manner to obtain a search trigger behavior. When the search device detects the search triggering behavior, all search keywords input by the current user in the search box are obtained.
And S120, detecting whether search shielding data corresponding to the current user is stored.
The search mask data corresponding to the current user may refer to data that is not desired by the current user, that is, data that needs to be masked in the search result. It should be noted that the search mask data may be updated in real time based on the user behavior, so as to better understand the needs of the user at different times.
Specifically, the embodiment may determine data that is not desired by the user in advance by analyzing the user behavior data; the data which is not wanted by the user can be obtained through interactive inquiry with the user, or the user manually selects the data which is not wanted by the user, so that the requirement of the user can be more accurately positioned. The obtained data not desired by the user is stored as search mask data. The embodiment determines whether the current user has unwanted search data by detecting whether the search mask data corresponding to the current user is stored.
And S130, when the search mask data are stored, searching by using the search mask data and the search keywords as search conditions to obtain search results.
Specifically, when the search mask data corresponding to the current user is stored, the search mask data and the search key words can be combined to be used as search conditions for searching, so that data which are not wanted by the user in the search result can be filtered out based on the search mask data, the user can find the data which the user wants more quickly, and the accuracy of the search result and the search experience of the user are improved.
It should be noted that if search mask data corresponding to the current user is not stored, it indicates that there is no unwanted data for the current user, or the current user has not set unwanted data for the current user, and at this time, the search keyword may be directly used as a search condition for searching.
Exemplarily, "searching for the search mask data and the search keyword as the search condition to obtain the search result" in S130 may include: determining each piece of search term data corresponding to the search keyword from a search database; and filtering the shielded search term data corresponding to the search shielded data from each piece of search term data, and taking each piece of search term data obtained after filtering the shielded search term data as a search result.
The search database may be a database for storing mass data in the network platform so as to perform data search. The search term data may refer to a piece of search result data that matches the search keyword. The masked search term data may refer to a piece of search result data that matches the search mask data.
Specifically, in this embodiment, each piece of data in the search database may be matched with the search keyword, and if the matching is successful, the piece of data is used as one piece of search term data, so that all pieces of search term data corresponding to the search keyword may be determined. And matching each piece of search term data with the search mask data, if the matching is successful, using the piece of search term data as the mask search term data, thereby determining all mask search term data in all search term data, filtering and deleting all mask search term data, and using each piece of search term data obtained after filtering as a search result, thereby avoiding the situation that data which is not desired by a user exists in the search result, and improving the accuracy of the search result.
It should be noted that, in this embodiment, the search operation may also be implemented by the way that the search system interacts with the search apparatus. Specifically, the search device can send the search mask data and the search keywords to the search system, and the search system can search the search mask data and the search keywords as search conditions based on the search database to obtain search results and return the obtained search results to the search device, so that the search device can obtain the search results, the search device is simplified, and the memory space is saved.
According to the technical scheme of the embodiment, the data which is not desired by the user is stored as the search mask data in advance, so that the stored search mask data and the search keywords can be used as the search conditions for searching during searching, the data which is not desired by the user cannot exist in the search result, the situation that the data which is not desired by the user exists in the search result is avoided, and the accuracy of the search result is improved.
On the basis of the above technical solution, before the searching with the search mask data and the search keyword as the search condition in S130, the method may further include: and if the search mask data contains the search keyword, deleting the search keyword in the search mask data.
Specifically, when the search mask data corresponding to the current user is stored, whether the search keyword input by the user is included in the search mask data or not can be detected, if yes, the search keyword is indicated as the mask data, but the current user needs to change, the mask data needs to be searched, and the search keyword in the search mask data can be deleted at the moment, so that the situation of search conflict is avoided, the user requirements at different moments can be better met, and the user search experience is further improved. For example, if the search keyword input by the user is included in the search mask data, the search mask data and the search keyword after the search keyword is deleted may be searched as the search condition. If the search keyword input by the user is not contained in the search mask data, the search mask data and the search keyword can be directly used as search conditions for searching, so that a search result meeting the requirements of the user can be obtained.
It should be noted that, after the search keyword in the search mask data is deleted, the search mask data is updated in real time, and at this time, the search mask data corresponding to the current user does not include the search keyword, so that the search operation can be performed based on the updated search mask data in the next search, and thus, the mask search can be performed based on the latest unwanted data of the current user by updating the search mask data in real time, and the accuracy of the search result is further improved.
On the basis of the above technical solution, S120 may include: determining a current search shielding pool corresponding to a current user according to the user state of the current user; and detecting whether the current search shielding pool stores the search shielding data corresponding to the current user.
The user state may refer to a user online state, which may include a login state and a non-login state. The search mask pool may refer to a virtualized module for storing search mask data for a user. Each user can correspond to a unique search mask pool so as to meet the personalized search requirements of different users. The current search mask pool may refer to a search mask pool corresponding to a current user.
Specifically, the user identification can be performed according to the user state of the current user, whether personalized search can be performed or not is determined, and the current search screening pool corresponding to the current user is determined based on the personalized search. And detecting whether the search mask data exists in the current search mask pool, if so, indicating that the search mask data corresponding to the current user is stored currently, otherwise, not storing the search mask data corresponding to the current user.
Exemplarily, determining a current search mask pool corresponding to a current user according to a user state of the current user may include: if the user state of the current user is the login state, determining a current search shielding pool corresponding to the current user according to the corresponding relationship between the user and the search shielding pool; and if the user state of the current user is a non-login state, determining the search mask pool corresponding to the current search device as the current search mask pool corresponding to the current user.
In this embodiment, a search mask pool may be created for each logged-in user, and a corresponding relationship between the user and the search mask pool may be pre-established based on the user identifier and the search mask pool identifier. The current search apparatus may refer to an apparatus that currently performs a search operation, i.e., an apparatus into which a search device is integrated. The embodiment can create a search screening pool for the current search device to ensure that screening search can be performed when the user is in a non-login state, thereby further improving user experience. The present embodiment may utilize a caching system to store each pool of search masks created. And storing the corresponding relation between the user and the search shielding pool, the search equipment information, the user information and the like by using the shielding system. The search device can determine a certain search shielding pool needing to be inquired based on the shielding system through an interactive mode, and further inquire whether the search shielding pool in the cache system stores search shielding data or not, so that the search device is simplified.
Specifically, the present embodiment may obtain the user status of the current user based on the login system. If the user state of the current user is the login state, it is indicated that a corresponding current search shielding pool is created for the current user, at this time, the current user identifier can be identified, and the current search shielding pool corresponding to the current user is determined according to the current user identifier and the corresponding relationship between the user and the search shielding pool, so that shielding search can be performed based on the current search shielding pool corresponding to the current user, and the search result is more in line with the personalized requirements of the user. If the user state of the current user is the non-login state, it indicates that the identity of the current user cannot be identified, and at this time, the search mask pool created for the current search device can be used as the current search mask pool corresponding to the current user, so that the user can perform mask search even in the non-login state, and the user search experience is further improved.
Example two
Fig. 2 is a flowchart of a search method according to a second embodiment of the present invention, and this embodiment describes in detail the storage and update process of search mask data based on the above embodiment. Wherein explanations of the same or corresponding terms as those of the above-described embodiments are omitted.
Referring to fig. 2, the search method provided in this embodiment specifically includes the following steps:
s210, obtaining the search key words input by the current user.
And S220, detecting whether search shielding data corresponding to the current user is stored.
And S230, when the search mask data are stored, searching by taking the search mask data and the search keywords as search conditions to obtain a search result.
And S240, displaying each piece of search term data in the search result on a display interface.
Wherein, the display interface may refer to a display interface of the current search device. Specifically, each piece of search term data in the search results can be displayed on the display interface based on a display manner such as a list, so that the current user can visually see the search results. Illustratively, FIG. 3 gives an example of a search result. Fig. 3 shows a search result page obtained by searching in the online shopping platform through the mobile terminal.
And S250, if the shielding triggering operation of the current user aiming at the target search item data is detected, displaying shielding prompt information corresponding to the target search item data on a display interface.
The target search term data may refer to any piece of search term data that the current user wants to mask. The masking trigger operation may be a trigger operation for masking data. The masking prompt information may be information for prompting the user whether to perform a masking operation.
Specifically, when browsing each item of search term data in the search results, the user may enter a certain item of search term data by clicking, and after browsing, if the item of search term data is not a result that the user wants, the user may return to the search result page and perform a masking trigger operation on the item of search term data, where the item of search term data is the target search term data. For example, in the present embodiment, an entry of operation data is provided for each piece of search term data in advance, so that the user performs the masking trigger operation, for example, at the mobile terminal, a left sliding behavior or a right sliding behavior may be added for each piece of search term data, so that the user performs the masking trigger operation by using the left sliding behavior or the right sliding behavior. When it is detected that the current user performs the shielding trigger operation on the target search term data, the corresponding shielding prompt information can be displayed at the preset position of the target search term data, so that the user can select whether to perform the shielding operation. Illustratively, fig. 4 shows a presentation example of a kind of masking prompt information. As shown in fig. 4, the current user can exhibit the mask hint information, i.e., containing the mask button and the purchase button, at the right position of the target search term data by sliding the target search term data to the left.
And S260, if a shielding instruction triggered by the current user aiming at the shielding prompt information is detected, storing the target search item data as search shielding data.
Wherein the masking instruction may be an instruction for masking the search term data.
Specifically, when determining that the target search item data is not the data desired by the user, the user may click the mask button in fig. 4 in a mouse or touch manner, when the search apparatus detects the click operation of the mask button, generate a mask instruction, and when detecting the mask instruction, indicate that the target search item data is not the data desired by the user, at this time, the target search item data may be determined as the search mask data and stored, and obtain new search mask data, so that the user may manually add the search mask data based on the user's own needs, so as to further ensure that the subsequent search results do not include the data not desired by the user, and gradually improve the accuracy of the search results. For example, the present embodiment may store the target search term data as search mask data in a current search mask pool corresponding to the current user, and update the search mask data by updating the current search mask pool.
According to the technical scheme, the current user can manually shield unwanted target search item data in the search result page based on self requirements by interacting on the search result page, and update the search shielded data, so that the search item data can not be displayed in the next search, and the accuracy of the search result and the search experience of the user are further improved.
On the basis of the above technical solution, the "storing the target search term data as the search mask data" in S260 may include: displaying shielding option information corresponding to the target search item data on a display interface; and if the target shielding data selected by the current user from the shielding option information is detected, storing the target shielding data as search shielding data.
Wherein the mask option information includes target search term data and at least one mask data attribute information associated with the target search term data. For example, in the online shopping platform, when the target search term data is article data, the shielding data attribute information associated with the target search term data may include, but is not limited to, article type information corresponding to the article, merchant information providing the article data, store information, article-specific tag information, and the like. The tag information specific to the article may include, but is not limited to, second hand and POP (Point Of Purchase), etc.
Specifically, when a shielding instruction triggered by the current user for the target search term data is detected, the user may be prompted again whether to shield the target search term data, and various shielding option information corresponding to the target search term data is displayed on the display interface, so that the user can select the search data to be shielded. The current user can select target shielding data to be shielded from each shielding option information in a clicking mode based on the satisfaction degree of the current user to the search data, and can click a determination button in a display interface after selection, so that the search device can detect the target shielding data selected by the current user from the shielding option information, and further can store the target shielding data as the search shielding data, and therefore the user can selectively and manually shield other data related to the target search item data, the shielding efficiency is improved, and the search experience of the user is improved.
Illustratively, fig. 5 shows a presentation example of the mask option information. As shown in fig. 5, upon detecting a shielding instruction of the current user, a display window may pop up at the upper layer of the search result page, and "do you determine to shield the search item? The ' prompt user reminds the user whether to carry out data shielding or not, and displays various shielding option information in a button mode below the user, namely a ' do not recommend the goods ' button, a ' do not recommend the shop ' button and a ' do not recommend second hand ' button for the user to select. When the user does not want to mask the data, the user can abandon the masking operation by clicking the 'temporary non-processing' button on the display interface, so that the searching device can return to the searching result page when detecting the clicking operation of the 'temporary non-processing' button. If the user selects one or more shielding option information, the searching device can obtain the target shielding data selected by the user by clicking a 'adding searching shielding pool' button mode on the display interface after selection, and the target shielding data is added into the corresponding searching shielding pool for storage, so that the efficiency of manually adding the shielding data is improved, and meanwhile, the real-time updating of the searching shielding data is realized.
On the basis of the technical scheme, the method further comprises the following steps: if a shielded data viewing instruction triggered by the current user is detected, displaying the stored search shielded data corresponding to the current user on a display interface; if the fact that the current user conducts shielding release operation on the target shielding data in the search shielding data is detected, release prompt information corresponding to the target shielding data is displayed on a display interface; and if a release instruction triggered by the current user aiming at the release prompt information is received, deleting the target shielding data in the search shielding data.
The instruction for viewing the masked data may be triggered by a user and is used to actively view the instruction for searching the masked data currently. The search mask data may include a plurality of pieces of mask data. The target mask data may refer to mask data that the current user thinks to release. The release prompt information may be information for prompting the user whether to release the mask data.
In particular, the user may be provided with an entry for querying the search mask data so that the user may actively query all currently masked search mask data. The user may trigger a masked data viewing instruction based on the entry, and when the masked data viewing instruction is detected, each piece of masked data in the search masked data corresponding to the current user may be displayed in a display interface in a list or the like manner based on the masking time, and a mask release button, such as a "do not want to mask" button in fig. 6, may be set at a preset position of each piece of masked data, so as to release data through the mask release button. The method comprises the steps that currently, a user determines target shielding data which are not to be shielded from all the shielding data based on own requirements, a prompt window pops up on the upper layer of a display page for searching the shielding data through the operation of clicking a shielding release button corresponding to the target shielding data, and release prompt information is displayed in the prompt window. For example, two buttons may be provided in fig. 7: "i think again" button and "i know, release directly" button to prompt the user to make a release selection. If the current user clicks the button "i think again", the display page of the search mask data may be returned. If the current user clicks the button of 'i know, directly release', the searching device can receive a corresponding release instruction, delete the target shielding data from the searching shielding data, and update the current searching shielding pool, so that the search term data corresponding to the target shielding data cannot be shielded in the next searching, the search result contains the search term data corresponding to the target shielding data again, and the user can manually maintain the searching shielding data at any time through a query entry of the searching shielding data, so that a more accurate search result is provided.
The following is an embodiment of a search apparatus provided in an embodiment of the present invention, which belongs to the same inventive concept as the search method of the above embodiments, and details that are not described in detail in the embodiment of the search apparatus may refer to the embodiment of the search method.
EXAMPLE III
Fig. 8 is a schematic structural diagram of a searching apparatus according to a third embodiment of the present invention, where this embodiment is applicable to a case where data desired by a user is searched from mass data, and the apparatus specifically includes: a search keyword acquisition module 310, a search mask data detection module 320, and a search module 330.
The search keyword obtaining module 310 is configured to obtain a search keyword input by a current user; a search mask data detection module 320, configured to detect whether search mask data corresponding to a current user is stored; the searching module 330 is configured to, when the search mask data is stored, perform a search using the search mask data and the search keyword as search conditions to obtain a search result.
Optionally, the searching module 330 is specifically configured to:
determining each piece of search term data corresponding to the search keyword from a search database; and filtering the shielded search term data corresponding to the search shielded data from each piece of search term data, and taking each piece of search term data obtained after filtering the shielded search term data as a search result.
Optionally, the apparatus further comprises:
and the search keyword deleting module is used for deleting the search keywords in the search shielding data if the search shielding data contains the search keywords before the search is carried out by taking the search shielding data and the search keywords as search conditions.
Optionally, the search mask data detection module 320 includes:
the current searching and shielding pool determining unit is used for determining a current searching and shielding pool corresponding to the current user according to the user state of the current user;
and the search mask data detection unit is used for detecting whether the search mask data corresponding to the current user is stored in the current search mask pool.
Optionally, the current search mask pool determining unit is specifically configured to:
if the user state of the current user is the login state, determining a current search shielding pool corresponding to the current user according to the corresponding relationship between the user and the search shielding pool; and if the user state of the current user is a non-login state, determining the search mask pool corresponding to the current search device as the current search mask pool corresponding to the current user.
Optionally, the apparatus further comprises:
the search term data display module is used for displaying each piece of search term data in the search results on the display interface after the search results are obtained;
the shielding prompt information display module is used for displaying shielding prompt information corresponding to the target search item data on a display interface if the shielding trigger operation of the current user on the target search item data is detected;
and the target search item data storage module is used for storing the target search item data as search shielding data when a shielding instruction triggered by the current user aiming at the shielding prompt information is detected.
Optionally, the target search term data storage module comprises:
the shielding option information display unit is used for displaying shielding option information corresponding to the target search item data on the display interface, wherein the shielding option information comprises the target search item data and at least one piece of shielding data attribute information associated with the target search item data;
and the target search item data storage unit is used for storing the target shielding data as search shielding data if the target shielding data selected by the current user from the shielding option information is detected.
Optionally, the apparatus further comprises:
the search shielded data display module is used for displaying the stored search shielded data corresponding to the current user on the display interface if a shielded data viewing instruction triggered by the current user is detected;
the release prompt information display module is used for displaying release prompt information corresponding to target shielding data on a display interface if the fact that a current user conducts shielding release operation on the target shielding data in the search shielding data is detected;
and the target shielding data deleting module is used for deleting the target shielding data in the search shielding data if a release instruction triggered by the current user aiming at the release prompt information is received.
The searching device provided by the embodiment of the invention can execute the searching method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects for executing the searching method.
It should be noted that, in the embodiment of the above search apparatus, the included modules and units are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Example four
Fig. 9 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention. FIG. 9 illustrates a block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention. The device 12 shown in fig. 9 is only an example and should not bring any limitation to the function and scope of use of the embodiments of the present invention.
As shown in FIG. 9, device 12 is in the form of a general purpose computing device. The components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 9, and commonly referred to as a "hard drive"). Although not shown in FIG. 9, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, to implement a searching method provided by the embodiment of the present invention, the method includes:
acquiring a search keyword input by a current user;
detecting whether search shielding data corresponding to a current user is stored;
and when the search shielding data is stored, searching by taking the search shielding data and the search keywords as search conditions to obtain a search result.
Of course, those skilled in the art will understand that the processor may also implement the technical solution of the search method provided in any embodiment of the present invention.
EXAMPLE five
This fifth embodiment provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the search method provided by any of the embodiments of the present invention, the method comprising:
acquiring a search keyword input by a current user;
detecting whether search shielding data corresponding to a current user is stored;
and when the search shielding data is stored, searching by taking the search shielding data and the search keywords as search conditions to obtain a search result.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer-readable storage medium may be, for example but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It will be understood by those skilled in the art that the modules or steps of the invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and optionally they may be implemented by program code executable by a computing device, such that it may be stored in a memory device and executed by a computing device, or it may be separately fabricated into various integrated circuit modules, or it may be fabricated by fabricating a plurality of modules or steps thereof into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (11)
1. A method of searching, comprising:
acquiring a search keyword input by a current user;
detecting whether search shielding data corresponding to the current user is stored or not;
and when the search shielding data is stored, searching by taking the search shielding data and the search keywords as search conditions to obtain a search result.
2. The method of claim 1, wherein searching using the search mask data and the search keyword as search conditions to obtain search results comprises:
determining each piece of search term data corresponding to the search keyword from a search database;
and filtering the shielding search term data corresponding to the search shielding data from each piece of search term data, and taking each piece of search term data obtained after filtering the shielding search term data as a search result.
3. The method according to claim 1, wherein before searching using the search mask data and the search keyword as search conditions, the method further comprises:
and if the search mask data contains the search keyword, deleting the search keyword in the search mask data.
4. The method of claim 1, wherein detecting whether search mask data corresponding to the current user is stored further comprises:
determining a current search shielding pool corresponding to the current user according to the user state of the current user;
and detecting whether the current search shielding pool stores the search shielding data corresponding to the current user.
5. The method of claim 4, wherein determining the current search mask pool corresponding to the current user according to the user status of the current user comprises:
if the user state of the current user is a login state, determining a current search shielding pool corresponding to the current user according to the corresponding relationship between the user and the search shielding pool;
and if the user state of the current user is a non-login state, determining the search shielding pool corresponding to the current search device as the current search shielding pool corresponding to the current user.
6. The method of claim 1, after obtaining the search results, further comprising:
displaying each piece of search term data in the search result on a display interface;
if the current user is detected to carry out shielding triggering operation on target search item data, shielding prompt information corresponding to the target search item data is displayed on the display interface;
and if a shielding instruction triggered by the current user aiming at the shielding prompt information is detected, storing the target search item data as search shielding data.
7. The method of claim 6, wherein storing the target search term data as search mask data comprises:
displaying shielding option information corresponding to the target search item data on the display interface, wherein the shielding option information comprises the target search item data and at least one piece of shielding data attribute information associated with the target search item data;
and if the target shielding data selected by the current user from the shielding option information is detected, storing the target shielding data as search shielding data.
8. The method according to any one of claims 1-7, further comprising:
if the shielded data viewing instruction triggered by the current user is detected, displaying the stored search shielded data corresponding to the current user on a display interface;
if the current user is detected to carry out shielding release operation on target shielding data in the search shielding data, displaying release prompt information corresponding to the target shielding data on a display interface;
and if a release instruction triggered by the current user aiming at the release prompt information is received, deleting the target shielding data in the search shielding data.
9. A search apparatus, comprising:
the search keyword acquisition module is used for acquiring search keywords input by a current user;
the search shielding data detection module is used for detecting whether the search shielding data corresponding to the current user is stored or not;
and the searching module is used for searching by taking the search mask data and the search keywords as search conditions to obtain a search result when the search mask data is stored.
10. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the search method steps recited in any of claims 1-8.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the search method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911242562.6A CN112287204A (en) | 2019-12-06 | 2019-12-06 | Searching method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911242562.6A CN112287204A (en) | 2019-12-06 | 2019-12-06 | Searching method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112287204A true CN112287204A (en) | 2021-01-29 |
Family
ID=74418889
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911242562.6A Pending CN112287204A (en) | 2019-12-06 | 2019-12-06 | Searching method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112287204A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113592523A (en) * | 2021-06-03 | 2021-11-02 | 山东大学 | Financial data processing system and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090063452A1 (en) * | 2007-08-29 | 2009-03-05 | Google Inc. | Search filtering |
CN102968418A (en) * | 2011-09-01 | 2013-03-13 | 阿里巴巴集团控股有限公司 | Website information search method and system |
CN105912578A (en) * | 2016-03-31 | 2016-08-31 | 北京奇虎科技有限公司 | Method and device for automatically filtering webpage content |
CN107911412A (en) * | 2017-10-16 | 2018-04-13 | 平安科技(深圳)有限公司 | Information screen method, apparatus, terminal and storage medium based on user behavior |
CN109948032A (en) * | 2017-08-21 | 2019-06-28 | 李华林 | Web search results ranking device, search engine and browser based on user preference |
-
2019
- 2019-12-06 CN CN201911242562.6A patent/CN112287204A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090063452A1 (en) * | 2007-08-29 | 2009-03-05 | Google Inc. | Search filtering |
CN101836208A (en) * | 2007-08-29 | 2010-09-15 | 谷歌公司 | Search is filtered |
CN102968418A (en) * | 2011-09-01 | 2013-03-13 | 阿里巴巴集团控股有限公司 | Website information search method and system |
CN105912578A (en) * | 2016-03-31 | 2016-08-31 | 北京奇虎科技有限公司 | Method and device for automatically filtering webpage content |
CN109948032A (en) * | 2017-08-21 | 2019-06-28 | 李华林 | Web search results ranking device, search engine and browser based on user preference |
CN107911412A (en) * | 2017-10-16 | 2018-04-13 | 平安科技(深圳)有限公司 | Information screen method, apparatus, terminal and storage medium based on user behavior |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113592523A (en) * | 2021-06-03 | 2021-11-02 | 山东大学 | Financial data processing system and method |
CN113592523B (en) * | 2021-06-03 | 2024-03-26 | 山东大学 | Financial data processing system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105528388B (en) | Search recommendation method and device | |
US10028116B2 (en) | De-siloing applications for personalization and task completion services | |
US9690851B2 (en) | Automatic generation of contextual search string synonyms | |
US20150074114A1 (en) | Tag management device, tag management method, tag management program, and computer-readable recording medium for storing said program | |
WO2017088496A1 (en) | Search recommendation method, device, apparatus and computer storage medium | |
CN111241387A (en) | Improving relevance of search results | |
EP2866168A1 (en) | Calibration of strategies for fraud detection | |
CN112258244B (en) | Method, device, equipment and storage medium for determining task to which target object belongs | |
CN109857853B (en) | Searching method based on electronic book, electronic equipment and computer storage medium | |
CN110619553A (en) | Commodity information display method and device, electronic equipment and storage medium | |
CN110489032B (en) | Dictionary query method for electronic book and electronic equipment | |
CN112199561A (en) | Application search method and device | |
CN111954079A (en) | Image processing method, image processing apparatus, electronic device, and medium | |
CN112287204A (en) | Searching method, device, equipment and storage medium | |
US11170039B2 (en) | Search system, search criteria setting device, control method for search criteria setting device, program, and information storage medium | |
CN112100463A (en) | Information processing method and device, electronic equipment and readable storage medium | |
CN112269869B (en) | Keyword query method and device | |
US8768975B2 (en) | Presenting intelligent tagging suggestions for a photograph | |
WO2017097102A1 (en) | Retrieval method and retrieval device | |
CN112215632A (en) | Method, device, system, equipment and medium for displaying item acquisition preference information | |
CN107832373B (en) | Data searching and displaying method and system, storage medium and electronic equipment | |
US11227005B2 (en) | Gesture-based database actions | |
US20180113918A1 (en) | Micro product specification update based on results to a search query | |
CN110795470A (en) | Associated data acquisition method, device, equipment and storage medium | |
CN112148963A (en) | Information query method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |