[go: up one dir, main page]

CN111368226A - Screening method and device, electronic equipment and computer readable storage medium - Google Patents

Screening method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN111368226A
CN111368226A CN202010172297.5A CN202010172297A CN111368226A CN 111368226 A CN111368226 A CN 111368226A CN 202010172297 A CN202010172297 A CN 202010172297A CN 111368226 A CN111368226 A CN 111368226A
Authority
CN
China
Prior art keywords
identification information
candidate
selectors
displaying
combined filter
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
CN202010172297.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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN202010172297.5A priority Critical patent/CN111368226A/en
Publication of CN111368226A publication Critical patent/CN111368226A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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 OR CALCULATING; 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

The embodiment of the invention provides a screening method, a screening device, electronic equipment and a computer readable storage medium. The method comprises the following steps: determining a plurality of selectors to be combined in a website; generating and displaying combined filter windows corresponding to the selectors; wherein, the combined filter window displays the identification information of a plurality of selectors; when any identification information is selected, displaying a candidate label corresponding to the selected identification information; generating search instructions corresponding to the selected candidate labels; and sending the searching instruction to a server corresponding to the website to obtain a screening result taking the selected candidate tags as the search conditions. Therefore, the times of sending the search request to the server can be reduced, the computing resources are saved, and the user can quickly obtain the content which the user wants to search, so that the user experience is improved.

Description

Screening method and device, electronic equipment and computer readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a screening method, an apparatus, an electronic device, and a computer-readable storage medium.
Background
At present, a plurality of screening conditions are often set in some websites, and contents to be searched by a user can be screened according to the screening conditions selected by the user, so that a screening result is obtained. For example, a shopping website is often provided with screening conditions such as brands, functions, and materials, and candidate tags corresponding to the screening conditions are displayed under each screening condition. In addition, the shopping website can screen out clothes, shoes, household appliances and the like which are searched by the user according to the candidate tags selected by the user under various screening conditions. Wherein a screening condition may also be referred to as a selector.
However, in the current screening method, each time a user selects a screening condition, a website needs to send a search request to a server corresponding to the website. Therefore, when a user selects a plurality of screening conditions, the website needs to send a plurality of search requests to the server, so that more computing resources need to be consumed to send the search requests, the user needs to wait for a longer time to obtain the content to be searched, and the user experience is not high.
Disclosure of Invention
Embodiments of the present invention provide a screening method, an apparatus, an electronic device, and a computer-readable storage medium, so as to save computing resources and enable a user to quickly obtain a content that the user wants to search for, thereby improving user experience. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a screening method, which may include:
determining a plurality of selectors to be combined in a website;
generating and displaying combined filter windows corresponding to the selectors; wherein, the combined filter window displays the identification information of a plurality of selectors;
when any identification information is selected, displaying a candidate label corresponding to the selected identification information;
generating search instructions corresponding to the selected candidate labels;
and sending the searching instruction to a server corresponding to the website to obtain a screening result taking the selected candidate tags as the search conditions.
Optionally, generating and displaying a combined filter window corresponding to the plurality of selectors may include:
obtaining configuration files of the combined filter corresponding to the selectors; the configuration file records identification information of a plurality of selectors and candidate tags corresponding to each identification information;
and generating and displaying combined filter windows corresponding to the plurality of selectors according to the combined filter configuration file.
Optionally, the combined filter configuration file is a java script object notation JSON file.
Optionally, the candidate tags comprise N-level candidate tags; wherein N is an integer greater than 1;
accordingly, in one implementation, after any one of the identification information is selected, displaying the candidate tag corresponding to the selected identification information may include:
when any identification information is selected, displaying a primary candidate label corresponding to the selected identification information;
and after the primary candidate label is selected, displaying the secondary candidate label corresponding to the selected primary candidate label until the Nth-level candidate label corresponding to the selected identification information is displayed.
Optionally, in another implementation manner, after any one of the identification information is selected, displaying the candidate tag corresponding to the selected identification information may include:
after any identification information is selected, judging whether the number of candidate labels corresponding to the selected identification information is greater than a preset threshold value;
and if the number of the labels is larger than the preset threshold value, displaying the candidate label corresponding to the selected identification information and a search box aiming at the candidate label.
Optionally, after displaying the candidate tags corresponding to the selected identification information, before generating the search instruction corresponding to the selected multiple candidate tags, the method may further include:
for each selected identification information, when the candidate label corresponding to the identification information has the selected candidate label, generating and displaying a quick selection operation frame aiming at the identification information;
when a user clicks the quick selection operation box, displaying the selected candidate label in the selected state corresponding to the identification information and the unselected candidate label in the selected state;
and modifying the selected state of the corresponding candidate tag based on the operation instruction of the user for each candidate tag in the quick selection operation frame.
Optionally, after generating and displaying a quick selection operation box for the identification information, the method may further include:
when the user clicks to close the quick selection operation box, deleting the quick selection operation box;
and modifying the selected candidate label corresponding to the identification information in the combined filter window into a non-selected candidate label.
In a second aspect, an embodiment of the present invention further provides a screening apparatus, which may include:
the determining module is used for determining a plurality of selectors to be combined in the website;
the processing module is used for generating and displaying combined filter windows corresponding to the selectors; wherein, the combined filter window displays the identification information of a plurality of selectors;
the first display module is used for displaying the candidate label corresponding to the selected identification information after any identification information is selected;
the first generation module is used for generating search instructions corresponding to the selected candidate labels;
and the sending module is used for sending the searching instruction to a server corresponding to the website so as to obtain a screening result taking the selected candidate tags as the searching conditions.
Optionally, in this embodiment of the present invention, the processing module may include:
an obtaining unit, configured to obtain a combined filter configuration file corresponding to the plurality of selectors; the configuration file records identification information of a plurality of selectors and candidate tags corresponding to each identification information;
and the processing unit is used for generating and displaying the combined filter windows corresponding to the selectors according to the combined filter configuration file.
Optionally, in an embodiment of the present invention, the combined filter configuration file is a java script object notation JSON file.
In an embodiment of the present invention, the candidate tags include N-level candidate tags; wherein N is an integer greater than 1;
in one implementation, the first display module may include:
the first display unit is used for displaying the primary candidate label corresponding to the selected identification information after any identification information is selected;
and the second display unit is used for displaying the second-level candidate label corresponding to the selected first-level candidate label until the Nth-level candidate label corresponding to the selected identification information is displayed after the first-level candidate label is selected.
Optionally, in another implementation, the first display module includes:
the judging unit is used for judging whether the number of the candidate labels corresponding to the selected identification information is larger than a preset threshold value or not after any identification information is selected;
and the third display unit is used for displaying the candidate label corresponding to the selected identification information and the search box aiming at the candidate label if the selected identification information is larger than the preset threshold.
Optionally, in an embodiment of the present invention, the apparatus may further include:
the second generation module is used for generating and displaying a quick selection operation frame aiming at the identification information aiming at each selected identification information after the candidate labels corresponding to the selected identification information are displayed and before the search instructions corresponding to the selected candidate labels are generated;
the second display module is used for displaying the selected candidate label in the selected state corresponding to the identification information and the unselected candidate label in the selected state when the user clicks the quick selection operation box;
and the first modification module is used for modifying the selected state of the corresponding candidate tag based on the operation instruction of the user on each candidate tag in the quick selection operation frame.
Optionally, in an embodiment of the present invention, the apparatus may further include:
the deleting module is used for deleting the quick selection operation frame when a user clicks to close the quick selection operation frame after the quick selection operation frame aiming at the identification information is generated and displayed;
and the second modification module is used for modifying the selected candidate tag corresponding to the identification information in the combined filter window into a non-selected candidate tag.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor adapted to perform the method steps of any of the first aspect when executing a program stored in the memory.
In a fourth aspect, the present invention further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the method steps in any one of the first aspect are implemented.
In a fifth aspect, an embodiment of the present invention further provides a computer program product, which when run on an electronic device, causes the electronic device to perform: the method steps of any one of the first aspect.
In the embodiment of the invention, a plurality of selectors to be combined in a website can be determined, and then combined filter windows corresponding to the selectors can be generated and displayed. Wherein the combined filter window displays identification information of the plurality of selectors. After any identification information is selected, the candidate tag corresponding to the selected identification information can be displayed. Then, search instructions corresponding to the selected candidate tags may be generated. Then, the search instruction may be sent to a server corresponding to the website, so as to obtain a screening result using the selected candidate tags as search conditions.
Therefore, the times of sending the search request to the server can be reduced, the computing resources are saved, and the user can quickly obtain the content which the user wants to search. In addition, the identification information of a plurality of selectors to be combined can be displayed through the display combination filter window, and the candidate label corresponding to the identification information is displayed after the user selects the identification information. Therefore, the condition that the interface content is complicated due to the fact that the content needs to be displayed by the website under the condition that the screening condition and the candidate labels under the screening condition are more is avoided, and the website interface is simpler and more attractive.
Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a screening method according to an embodiment of the present invention;
FIG. 2 is a diagram of a combined filter window according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another combined filter window provided in accordance with an embodiment of the present invention;
FIG. 4 is a diagram illustrating a quick selection box according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a screening apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to solve the problems in the prior art, embodiments of the present invention provide a screening method, an apparatus, an electronic device, and a computer-readable storage medium.
The screening method provided by the embodiment of the present invention is described below with reference to fig. 1.
It can be understood that the screening method provided by the embodiment of the invention can be applied to electronic equipment. The electronic device includes, but is not limited to, a computer and a mobile phone. Referring to fig. 1, the screening method provided in the embodiment of the present invention may include the following steps:
s101: determining a plurality of selectors to be combined in a website;
s102: generating and displaying combined filter windows corresponding to the selectors; wherein, the combined filter window displays the identification information of a plurality of selectors;
s103: when any identification information is selected, displaying a candidate label corresponding to the selected identification information;
s104: generating search instructions corresponding to the selected candidate labels;
s105: and sending the searching instruction to a server corresponding to the website to obtain a screening result taking the selected candidate tags as the search conditions.
In the embodiment of the invention, a plurality of selectors to be combined in a website can be determined, and then combined filter windows corresponding to the selectors can be generated and displayed. Wherein the combined filter window displays identification information of the plurality of selectors. After any identification information is selected, the candidate tag corresponding to the selected identification information can be displayed. Then, search instructions corresponding to the selected candidate tags may be generated. Then, the search instruction may be sent to a server corresponding to the website, so as to obtain a screening result using the selected candidate tags as search conditions.
Therefore, the times of sending the search request to the server can be reduced, the computing resources are saved, and the user can quickly obtain the content which the user wants to search. In addition, the identification information of a plurality of selectors to be combined can be displayed through the display combination filter window, and the candidate label corresponding to the identification information is displayed after the user selects the identification information. Therefore, the situation that the interface content is complicated due to the fact that the website needs to display all the content under the condition that the selector and the candidate labels under the selector are more is avoided, and the website interface is simpler and more attractive.
The screening method shown in FIG. 1 will be described in detail below by way of specific examples.
S101: determining a plurality of selectors to be combined in a website;
the websites in the embodiment of the invention include, but are not limited to, a shopping website, a background management website and a project management website.
It is understood that, in the related art, the shopping website may include filtering conditions such as brands, functions, and materials, and each filtering condition displays a candidate tag corresponding to the filtering condition. Specifically, the candidate tags may be displayed below the brand: brand 1, Brand 2, … …, Brand 50, function below may be displayed with candidate labels: function 1, function 2, … …, function 10, the material may be shown with candidate labels below: function 1, function 2, … …, function 8, etc. Wherein a screening condition may also be referred to as a selector.
In addition, in the related art, the project management website may include filtering conditions such as a service line, an OTA (Over the air technology) version, and an enterprise, and each filtering condition displays a candidate tag corresponding to the filtering condition. Specifically, the candidate tags may be displayed below the service line: service 1, service 2, … …, service 6, OTA version the following candidate tags may be displayed: v5.1, V5.2, V4.23, and V4.24, the business may have candidate tags shown below: business 1, business 2, … …, business 2000, etc.
As can be seen from the above, in the related art, the content to be displayed by websites such as shopping websites and project management websites is large, for example, brands 1 to 50 need to be displayed by using 5 lines, so that the website interface is not simple and beautiful. In the embodiment of the invention, a plurality of selectors to be combined in the website can be determined, so that the plurality of selectors can be combined, and the problem that the website interface is not concise and attractive can be solved. The manner for solving the problem of the website interface being not simple and beautiful in the embodiments of the present invention will be discussed later, and will not be described in detail herein.
For example, in the embodiment of the present invention, it may be determined that the plurality of selectors to be combined in the shopping website are a brand selector, a function selector, and a material selector. As another example, the plurality of selectors to be combined in the project management website may be determined to be a line of business selector, an OTA version selector, and an enterprise selector.
S102: generating and displaying combined filter windows corresponding to the selectors; wherein, the combined filter window displays the identification information of a plurality of selectors;
after determining a plurality of selectors to be combined in a website, generating a combined filter window corresponding to the plurality of selectors, and displaying the combined filter window. The combined filter window displays identification information for the plurality of selectors.
It will be appreciated that it is reasonable that the combined filter window may be displayed after receiving a user click command for a filter button displayed in the web site. In addition, the identification information of the selector includes, but is not limited to, a name and an icon of the selector.
Fig. 2 is a schematic diagram of a combined filter window according to an embodiment of the present invention. Referring to fig. 2, after determining that a plurality of selectors to be combined in a project management website are a service line selector, an OTA version selector and an enterprise selector and receiving a click command for a filter key, a combined filter window displaying names of the plurality of selectors may be generated at a website interface as shown in fig. 2. Therefore, the situation that the contents need to be displayed by the website under the condition that the selector and the candidate labels under the selector are more can be avoided, and the website interface is more concise and attractive.
It is understood that the combined filter window may be a floating window displayed by the website interface, or may be a window embedded in the website interface, but is not limited thereto.
The manner of generating and displaying the combined filter windows corresponding to the plurality of selectors may specifically be:
obtaining configuration files of the combined filter corresponding to the selectors; the configuration file records identification information of a plurality of selectors and candidate tags corresponding to each identification information; and generating and displaying combined filter windows corresponding to the plurality of selectors according to the combined filter configuration file.
It will be appreciated that the composite filter window may be generated from a composite filter profile corresponding to the plurality of selectors. In this way, a combined filter window may be generated simply and quickly by combining filter profiles.
The configuration file of the combination filter may be a JSON (java script Object Notation) file. The JSON file is a lightweight data exchange format, is based on a subset of Java script JavaScript, is easy for human writing and reading, and is easy for machine analysis.
It is understood that the JSON file may have stored therein Key-Value data. The Key may be unique identification information of a plurality of selectors to be combined, and the Value data may include identification information of the plurality of selectors to be combined and a candidate tag corresponding to each identification information.
In addition, the Value data may further include initial data corresponding to each selector to be combined (for example, a search pattern prompt: more candidate tags are selected through a drop-down box, and display parameters about the candidate tags), content of a request interface corresponding to the selector to be combined (for example, an interface address, interface parameters, and a format to be converted), level data about whether the candidate tags belong to a first-level candidate tag or other-level candidate tags, a cascade relationship between the candidate tags, and the like.
The JSON file can be simply and quickly configured by technicians, and then the combined filter window can be quickly generated through the JSON file, so that the efficiency of generating the combined filter window is improved.
S103: when any identification information is selected, displaying a candidate label corresponding to the selected identification information;
it can be understood that, in the embodiment of the present invention, after the identification information of the combined filter window is selected by the user, the candidate tag corresponding to the selected identification information is displayed. Therefore, the candidate labels corresponding to the identification information can be gradually displayed according to the user requirements, so that the website interface is concise and attractive.
The operation of displaying the candidate tag corresponding to the selected identification information after any one of the identification information is selected when the candidate tag includes N-level candidate tags and N is an integer greater than 1 may specifically include:
when any identification information is selected, displaying a primary candidate label corresponding to the selected identification information;
and after the primary candidate label is selected, displaying the secondary candidate label corresponding to the selected primary candidate label until the Nth-level candidate label corresponding to the selected identification information is displayed.
Fig. 3 is a schematic diagram of another combined filter window according to an embodiment of the present invention. Referring to fig. 3, when the candidate tag whose identification information is a service line includes a level 2 candidate tag and the identification information is selected, the level one candidate tag corresponding to the service line may be displayed: service 1, service 2 … …, service 6. And, after the primary candidate tag service 1 is selected, the secondary candidate tag corresponding to the service 1 may be displayed: service 1.1 and service 1.2. Therefore, the candidate labels corresponding to the identification information can be displayed step by step according to the user requirements, so that the website interface is concise and attractive.
In another embodiment, the operation of displaying the candidate tag corresponding to the selected identification information after any one of the identification information is selected may specifically include:
after any identification information is selected, judging whether the number of candidate labels corresponding to the selected identification information is greater than a preset threshold value;
and if the number of the labels is larger than the preset threshold value, displaying the candidate label corresponding to the selected identification information and a search box aiming at the candidate label.
For example, after the enterprise is selected as the identification information, it may be determined whether the number 2000 of candidate tags corresponding to the selected identification information is greater than the preset threshold 10. As can be seen, if the number is greater than the preset threshold, the candidate tag corresponding to the enterprise may be displayed, and the search box for the candidate tag may be displayed. Therefore, the user can input the candidate tag to be searched in the search box, the speed of searching the candidate tag by the user is increased, and the speed of obtaining the content to be searched by the user is increased.
In addition, in order to provide a simpler combined filter window for the user, after the enterprise is selected as the identification information, it may be further determined whether the number 2000 of the candidate tags corresponding to the selected identification information is greater than the display number 50 of the candidate tags. As can be seen, the number is greater than the number of displayed candidate tags, then only 50 candidate tags corresponding to the enterprise may be displayed in the combined filter window, and after the user clicks the pull-down load key each time, another 50 candidate tags corresponding to the enterprise are displayed. Therefore, the content displayed by the combined filter window is simple, and the loading items of the website content can be reduced, so that the website page jamming can be avoided, and the website use experience of the user can be improved.
It is understood that the above embodiments of displaying the candidate tag corresponding to the selected identification information may also be combined into a scheme of displaying the candidate tag more specifically, which is reasonable.
S104: generating search instructions corresponding to the selected candidate labels;
in order to avoid a situation that a plurality of search instructions still need to be generated due to the fact that a user modifies the selected situation of the candidate tags, the embodiment of the present invention may perform the following operations before generating search instructions corresponding to the selected candidate tags:
for each selected identification information, when the candidate label corresponding to the identification information has the selected candidate label, generating and displaying a quick selection operation frame aiming at the identification information;
when a user clicks the quick selection operation box, displaying the selected candidate label in the selected state corresponding to the identification information and the unselected candidate label in the selected state;
and modifying the selected state of the corresponding candidate tag based on the operation instruction of the user for each candidate tag in the quick selection operation frame.
Fig. 4 is a schematic diagram of a quick selection operation box according to an embodiment of the present invention. Referring to fig. 4, after the user selects a candidate tag corresponding to any identification information, a quick selection operation box for the identification information may be displayed. Specifically, after the user selects the candidate tag V5.2 corresponding to the OTA version of the identification information, a quick selection operation box recorded with the OTA version being "V5.2" as shown in fig. 4 may be displayed.
When the user clicks the quick selection operation box, the selected candidate tag V5.2 corresponding to the OTA version and the candidate tag V5.1 not selected in the selected state can be displayed. And the user can send an operation instruction to modify the selected state of the candidate tag V5.1 to be selected at the moment. In this way, the user can re-determine the selected candidate tag through the quick selection operation box.
In addition, after the operation of the quick selection operation frame for the identification information is generated and displayed, the quick selection operation frame can be deleted when the user clicks to close the quick selection operation frame. And the selected candidate label corresponding to the identification information in the combined filter window can be modified to be not selected. Therefore, the user can modify all candidate labels corresponding to the identification information into unselected labels through one-key operation, and the modification speed is improved.
S105: and sending the searching instruction to a server corresponding to the website to obtain a screening result taking the selected candidate tags as the search conditions.
After the user selects the multiple candidate tags, the search instruction corresponding to the selected multiple candidate tags may be generated. Then, the search instruction may be sent to a server corresponding to the website, so that a screening result using the selected candidate tags as search conditions may be obtained. Therefore, the number of generated search requests can be reduced, the times of sending the search requests to the server are reduced, and computing resources are saved. In addition, the user can quickly obtain the content which the user wants to search, and therefore user experience is improved. In addition, the embodiment of the invention can combine a plurality of selectors into a simpler combined filter window for operation, thereby improving the visual perception and the filtering efficiency of users.
Corresponding to the method embodiment, the embodiment of the invention also provides a screening device. Referring to fig. 5, the apparatus may include:
a determining module 501, configured to determine multiple selectors to be combined in a website;
a processing module 502, configured to generate and display a combined filter window corresponding to a plurality of selectors; wherein, the combined filter window displays the identification information of a plurality of selectors;
a first display module 503, configured to display a candidate tag corresponding to any selected identification information after the identification information is selected;
a first generating module 504, configured to generate search instructions corresponding to the selected multiple candidate tags;
a sending module 505, configured to send the search instruction to a server corresponding to the website, so as to obtain a screening result with the selected multiple candidate tags as the search condition.
In the embodiment of the invention, a plurality of selectors to be combined in a website can be determined, and then combined filter windows corresponding to the selectors can be generated and displayed. Wherein the combined filter window displays identification information of the plurality of selectors. After any identification information is selected, the candidate tag corresponding to the selected identification information can be displayed. Then, search instructions corresponding to the selected candidate tags may be generated. Then, the search instruction may be sent to a server corresponding to the website, so as to obtain a screening result using the selected candidate tags as search conditions.
Therefore, the times of sending the search request to the server can be reduced, the computing resources are saved, and the user can quickly obtain the content which the user wants to search. In addition, the identification information of a plurality of selectors to be combined can be displayed through the display combination filter window, and the candidate label corresponding to the identification information is displayed after the user selects the identification information. Therefore, the condition that the interface content is complicated due to the fact that the content needs to be displayed by the website under the condition that the screening condition and the candidate labels under the screening condition are more is avoided, and the website interface is simpler and more attractive.
Optionally, the processing module 502 comprises:
an obtaining unit, configured to obtain a combined filter configuration file corresponding to the plurality of selectors; the configuration file records identification information of a plurality of selectors and candidate tags corresponding to each identification information;
and the processing unit is used for generating and displaying the combined filter windows corresponding to the selectors according to the combined filter configuration file.
Optionally, the combined filter configuration file is a java script object notation JSON file.
Optionally, the candidate tags comprise N-level candidate tags; wherein N is an integer greater than 1;
the first display module 503 includes:
the first display unit is used for displaying the primary candidate label corresponding to the selected identification information after any identification information is selected;
and the second display unit is used for displaying the second-level candidate label corresponding to the selected first-level candidate label until the Nth-level candidate label corresponding to the selected identification information is displayed after the first-level candidate label is selected.
Optionally, the first display module 503 includes:
the judging unit is used for judging whether the number of the candidate labels corresponding to the selected identification information is larger than a preset threshold value or not after any identification information is selected;
and the third display unit is used for displaying the candidate label corresponding to the selected identification information and the search box aiming at the candidate label if the selected identification information is larger than the preset threshold.
Optionally, in an embodiment of the present invention, the apparatus may further include:
the second generation module is used for generating and displaying a quick selection operation frame aiming at the identification information aiming at each selected identification information after the candidate labels corresponding to the selected identification information are displayed and before the search instructions corresponding to the selected candidate labels are generated;
the second display module is used for displaying the selected candidate label in the selected state corresponding to the identification information and the unselected candidate label in the selected state when the user clicks the quick selection operation box;
and the first modification module is used for modifying the selected state of the corresponding candidate tag based on the operation instruction of the user on each candidate tag in the quick selection operation frame.
Optionally, in an embodiment of the present invention, the apparatus may further include:
the deleting module is used for deleting the quick selection operation frame when a user clicks to close the quick selection operation frame after the quick selection operation frame aiming at the identification information is generated and displayed;
and the second modification module is used for modifying the selected candidate tag corresponding to the identification information in the combined filter window into a non-selected candidate tag.
Corresponding to the method embodiment, the embodiment of the invention also provides electronic equipment. Referring to fig. 6, the system comprises a processor 601, a communication interface 602, a memory 603 and a communication bus 604, wherein the processor 601, the communication interface 602 and the memory 603 complete communication with each other through the communication bus 604;
a memory 603 for storing a computer program;
the processor 601 is configured to implement the method steps of any of the screening methods described above when executing the program stored in the memory 603.
In the embodiment of the invention, the electronic device may determine a plurality of selectors to be combined in the website, and then may generate and display a combined filter window corresponding to the plurality of selectors. Wherein the combined filter window displays identification information of the plurality of selectors. After any identification information is selected, the candidate tag corresponding to the selected identification information can be displayed. Then, search instructions corresponding to the selected candidate tags may be generated. Then, the search instruction may be sent to a server corresponding to the website, so as to obtain a screening result using the selected candidate tags as search conditions.
Therefore, the times of sending the search request to the server can be reduced, the computing resources are saved, and the user can quickly obtain the content which the user wants to search. In addition, the identification information of a plurality of selectors to be combined can be displayed through the display combination filter window, and the candidate label corresponding to the identification information is displayed after the user selects the identification information. Therefore, the condition that the interface content is complicated due to the fact that the content needs to be displayed by the website under the condition that the screening condition and the candidate labels under the screening condition are more is avoided, and the website interface is simpler and more attractive.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps of any of the above screening methods.
After the computer program stored in the computer-readable storage medium provided by the embodiment of the present invention is executed by the processor of the electronic device, the electronic device may determine a plurality of selectors to be combined in the website, and then may generate and display a combined filter window corresponding to the plurality of selectors. Wherein the combined filter window displays identification information of the plurality of selectors. After any identification information is selected, the candidate tag corresponding to the selected identification information can be displayed. Then, search instructions corresponding to the selected candidate tags may be generated. Then, the search instruction may be sent to a server corresponding to the website, so as to obtain a screening result using the selected candidate tags as search conditions.
Therefore, the times of sending the search request to the server can be reduced, the computing resources are saved, and the user can quickly obtain the content which the user wants to search. In addition, the identification information of a plurality of selectors to be combined can be displayed through the display combination filter window, and the candidate label corresponding to the identification information is displayed after the user selects the identification information. Therefore, the condition that the interface content is complicated due to the fact that the content needs to be displayed by the website under the condition that the screening condition and the candidate labels under the screening condition are more is avoided, and the website interface is simpler and more attractive.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a computer program product, which when run on an electronic device, causes the electronic device to perform: method steps of any of the above screening methods.
After the computer program product provided by the embodiment of the invention is executed by the processor of the electronic device, the electronic device can determine a plurality of selectors to be combined in a website, and then can generate and display combined filter windows corresponding to the plurality of selectors. Wherein the combined filter window displays identification information of the plurality of selectors. After any identification information is selected, the candidate tag corresponding to the selected identification information can be displayed. Then, search instructions corresponding to the selected candidate tags may be generated. Then, the search instruction may be sent to a server corresponding to the website, so as to obtain a screening result using the selected candidate tags as search conditions.
Therefore, the times of sending the search request to the server can be reduced, the computing resources are saved, and the user can quickly obtain the content which the user wants to search. In addition, the identification information of a plurality of selectors to be combined can be displayed through the display combination filter window, and the candidate label corresponding to the identification information is displayed after the user selects the identification information. Therefore, the condition that the interface content is complicated due to the fact that the content needs to be displayed by the website under the condition that the screening condition and the candidate labels under the screening condition are more is avoided, and the website interface is simpler and more attractive.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, electronic device, and computer-readable storage medium embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A screening method, comprising:
determining a plurality of selectors to be combined in a website;
generating and displaying combined filter windows corresponding to the selectors; wherein the combined filter window displays identification information of the plurality of selectors;
when any one of the identification information is selected, displaying a candidate label corresponding to the selected identification information;
generating search instructions corresponding to the selected candidate labels;
and sending the search instruction to a server corresponding to the website to obtain a screening result taking the selected candidate tags as search conditions.
2. The method of claim 1, wherein generating and displaying the combined filter window corresponding to the plurality of selectors comprises:
obtaining a combined filter configuration file corresponding to the plurality of selectors; the configuration file records identification information of the selectors and candidate tags corresponding to each identification information;
and generating and displaying combined filter windows corresponding to the selectors according to the combined filter configuration file.
3. The method according to claim 2, wherein the composition filter configuration file is a java script object notation JSON file.
4. The method of claim 1, wherein the candidate tags comprise N-level candidate tags; wherein N is an integer greater than 1;
after any one of the identification information is selected, displaying the candidate tag corresponding to the selected identification information, including:
when any one of the identification information is selected, displaying a primary candidate label corresponding to the selected identification information;
and after the primary candidate label is selected, displaying a secondary candidate label corresponding to the selected primary candidate label until an Nth-level candidate label corresponding to the selected identification information is displayed.
5. The method of claim 1, wherein displaying the candidate tag corresponding to the selected identification information after any one of the identification information is selected comprises:
after any one piece of identification information is selected, judging whether the number of candidate labels corresponding to the selected identification information is larger than a preset threshold value or not;
and if the number of the candidate labels is larger than the preset threshold value, displaying the candidate labels corresponding to the selected identification information and the search box aiming at the candidate labels.
6. The method of claim 1, after displaying the candidate labels corresponding to the selected identification information, and before generating the search instruction corresponding to the selected candidate labels, further comprising:
for each selected identification information, when the candidate label corresponding to the identification information has the selected candidate label, generating and displaying a quick selection operation frame for the identification information;
when the user clicks the quick selection operation box, displaying the candidate label with the selected state corresponding to the identification information as the selected candidate label and the candidate label with the selected state as the unselected candidate label;
and modifying the selected state of the corresponding candidate tag based on the operation instruction of the user on each candidate tag in the quick selection operation frame.
7. The method of claim 6, wherein after generating and displaying a quick selection box for the identification information, further comprising:
when the user clicks to close the quick selection operation frame, deleting the quick selection operation frame;
and modifying the selected candidate label corresponding to the identification information in the combined filter window into a non-selected candidate label.
8. A screening apparatus, comprising:
the determining module is used for determining a plurality of selectors to be combined in the website;
the processing module is used for generating and displaying combined filter windows corresponding to the selectors; wherein the combined filter window displays identification information of the plurality of selectors;
the first display module is used for displaying the candidate label corresponding to the selected identification information after any identification information is selected;
the first generation module is used for generating search instructions corresponding to the selected candidate labels;
and the sending module is used for sending the searching instruction to a server corresponding to the website so as to obtain a screening result taking the selected candidate tags as the searching conditions.
9. The apparatus of claim 8, wherein the processing module comprises:
an obtaining unit, configured to obtain a combined filter configuration file corresponding to the plurality of selectors; the configuration file records identification information of the selectors and candidate tags corresponding to each identification information;
and the processing unit is used for generating and displaying the combined filter windows corresponding to the selectors according to the combined filter configuration file.
10. The apparatus of claim 9, wherein the composition filter configuration file is a java script object notation JSON file.
CN202010172297.5A 2020-03-12 2020-03-12 Screening method and device, electronic equipment and computer readable storage medium Pending CN111368226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010172297.5A CN111368226A (en) 2020-03-12 2020-03-12 Screening method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010172297.5A CN111368226A (en) 2020-03-12 2020-03-12 Screening method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111368226A true CN111368226A (en) 2020-07-03

Family

ID=71208888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010172297.5A Pending CN111368226A (en) 2020-03-12 2020-03-12 Screening method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111368226A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113515663A (en) * 2021-08-03 2021-10-19 广州酷狗计算机科技有限公司 Comment information display method and device, electronic equipment and storage medium
CN113688228A (en) * 2021-08-27 2021-11-23 北京房江湖科技有限公司 Data screening method, device and system
CN113923131A (en) * 2021-09-10 2022-01-11 北京世纪互联宽带数据中心有限公司 Monitoring information determination method and device, computing equipment and storage medium
CN113934778A (en) * 2020-07-13 2022-01-14 腾讯科技(深圳)有限公司 User data display method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102612687A (en) * 2009-11-12 2012-07-25 微软公司 Web service interface and querying
US20140188894A1 (en) * 2012-12-27 2014-07-03 Google Inc. Touch to search
CN106599263A (en) * 2016-12-21 2017-04-26 广州阿里巴巴文学信息技术有限公司 Content screening method and system, and user terminal
CN109426415A (en) * 2017-08-31 2019-03-05 北京国双科技有限公司 A kind of method and device generating cascade selector
CN109471694A (en) * 2018-10-29 2019-03-15 恒生电子股份有限公司 Drop-down list management method and drop-down list

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102612687A (en) * 2009-11-12 2012-07-25 微软公司 Web service interface and querying
US20140188894A1 (en) * 2012-12-27 2014-07-03 Google Inc. Touch to search
CN106599263A (en) * 2016-12-21 2017-04-26 广州阿里巴巴文学信息技术有限公司 Content screening method and system, and user terminal
CN109426415A (en) * 2017-08-31 2019-03-05 北京国双科技有限公司 A kind of method and device generating cascade selector
CN109471694A (en) * 2018-10-29 2019-03-15 恒生电子股份有限公司 Drop-down list management method and drop-down list

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934778A (en) * 2020-07-13 2022-01-14 腾讯科技(深圳)有限公司 User data display method and device, storage medium and electronic equipment
CN113515663A (en) * 2021-08-03 2021-10-19 广州酷狗计算机科技有限公司 Comment information display method and device, electronic equipment and storage medium
CN113688228A (en) * 2021-08-27 2021-11-23 北京房江湖科技有限公司 Data screening method, device and system
CN113688228B (en) * 2021-08-27 2024-03-22 贝壳找房(北京)科技有限公司 Data screening method, device and system
CN113923131A (en) * 2021-09-10 2022-01-11 北京世纪互联宽带数据中心有限公司 Monitoring information determination method and device, computing equipment and storage medium
CN113923131B (en) * 2021-09-10 2023-08-22 北京世纪互联宽带数据中心有限公司 Monitoring information determining method and device, computing equipment and storage medium

Similar Documents

Publication Publication Date Title
US11755387B1 (en) Updating code of an app feature based on a value of a query feature
US11438227B2 (en) Iteratively updating a collaboration site or template
US8756593B2 (en) Map generator for representing interrelationships between app features forged by dynamic pointers
US8589876B1 (en) Detection of central-registry events influencing dynamic pointers and app feature dependencies
CN111368226A (en) Screening method and device, electronic equipment and computer readable storage medium
CN110968314B (en) Page generation method and device
KR20140126702A (en) Extension activation for related documents
US10135800B2 (en) Electronic discovery insight tool
US9633386B1 (en) Display of items from search
CN105354195A (en) Information search method and apparatus
CN110941752A (en) Information searching method, data processing method and equipment
CN105739717B (en) Data inputting method and device
CN111367703A (en) Troubleshooting method and device
CN112433778A (en) Mobile equipment page display method and device, electronic equipment and storage medium
CN108804195B (en) Page display method and device, server and client
CN110989893A (en) Click operation response method and device and electronic equipment
US8972373B2 (en) Customization of the appearance of a user interface
CN113282285B (en) Code writing method, device, electronic equipment and storage medium
CN112307723B (en) Method and device for generating code document and electronic equipment
CN110532155B (en) Behavior data acquisition method, system, readable storage medium and terminal
US20220100805A1 (en) Method for collecting component model in component e-commerce platform
CN108647197B (en) Information processing method, device and storage medium
CN116561071B (en) Document retrieval methods and devices, storage media and electronic equipment
CN110888690A (en) Application starting method and device, electronic equipment and storage medium
CN113177157B (en) Label separation 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200703