CN110704735A - Front-end implementation method and device of list page - Google Patents
Front-end implementation method and device of list page Download PDFInfo
- Publication number
- CN110704735A CN110704735A CN201910904068.5A CN201910904068A CN110704735A CN 110704735 A CN110704735 A CN 110704735A CN 201910904068 A CN201910904068 A CN 201910904068A CN 110704735 A CN110704735 A CN 110704735A
- Authority
- CN
- China
- Prior art keywords
- list page
- retrieval
- retrieval service
- service
- background system
- 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.)
- Granted
Links
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/9535—Search customisation based on user profiles and personalisation
-
- 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/9538—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a front-end implementation method and a front-end implementation device of a list page, wherein the list page is connected with a first retrieval service and a second retrieval service which are provided by a background system aiming at list page data, the background system uses the first retrieval service to retrieve the list page data when the first retrieval service is normal, and uses the second retrieval service to retrieve the list page data when the first retrieval service is abnormal; the method comprises the following steps: sending a list page request generated by user triggering to a background system; receiving the list page response returned by the background system; determining the retrieval service used by the background system for the retrieval according to the retrieval service indication information carried by the list page response, and selecting the screening item suitable for the retrieval service from the screening items configured for the list page in advance; and displaying the screening items suitable for the retrieval service in the control area of the list page, and displaying the list page data carried by the list page response in the list area of the list page.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for implementing a front end of a list page.
Background
A List page is an aggregated page that groups several contents together in a certain dimension, also called a List page.
In a large background system, usually only a database retrieval service is provided for list page data, that is, after receiving a list page request, the list page data corresponding to the list page request is obtained by querying in a database storing the list page data, however, as the list page often has a very complicated screening requirement, and as the screening conditions and the data amount increase, the large background system often needs to spend a longer time to search in the database and generate the list page meeting the screening conditions of the user, the retrieval efficiency is low.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for implementing a front end of a list page, which can improve the response speed of a background system to a list page request and adaptively adjust the screening items in the list page.
In order to achieve the purpose, the invention provides the following technical scheme:
a front-end realization method of a list page is applied to a front end, the list page is connected with a first retrieval service and a second retrieval service which are provided by a background system aiming at list page data, the background system uses the first retrieval service to retrieve the list page data when the first retrieval service is normal, and uses the second retrieval service to retrieve the list page data when the first retrieval service is abnormal; wherein the first retrieval service has a higher retrieval efficiency than the second retrieval service; the method comprises the following steps:
sending a list page request to the background system so that the background system retrieves the list page data corresponding to the list page request, and returning a list page response carrying retrieval service indication information indicating the retrieval service used by the retrieval and the list page data corresponding to the list page request;
receiving the list page response returned by the background system;
determining the retrieval service used by the background system for the retrieval according to the retrieval service indication information carried by the list page response, and selecting a screening item suitable for the retrieval service from screening items configured for the list page in advance;
and displaying the filter items suitable for the retrieval service on the list page, and the list page data carried by the list page response.
Preferably, the first and second liquid crystal films are made of a polymer,
the retrieval service indication information includes: the degraded retrieval mark has two values, which are respectively: marking a first value of the first retrieval service and marking a second value of the second retrieval service;
according to the retrieval service indication information carried by the list page response, determining the retrieval service used by the background system for the retrieval, comprising:
if the retrieval service indication information carried by the list page response is the first value, determining that the retrieval service used by the background system for the retrieval is the first retrieval service;
and if the retrieval service indication information carried by the list page response is the second value, determining that the retrieval service used by the background system for the retrieval is the second retrieval service.
Preferably, the first and second liquid crystal films are made of a polymer,
when the screening items are configured for the list page in advance, configuring the display condition of each screening item, wherein the display condition indicates the retrieval service applicable to the screening item;
the method for selecting the screening items suitable for the retrieval service from the screening items configured for the list page in advance comprises the following steps: for each screening item configured for the list page in advance, if the display condition of the screening item indicates that the search service applicable to the screening item includes the search service, determining that the screening item is applicable to the search service.
Preferably, the first and second liquid crystal films are made of a polymer,
the second retrieval service is: a database retrieval service;
the first retrieval service is: a search service generated based on the list page data in the database on which the second search service is based, the search efficiency being higher than that of the second search service.
A front-end realization device of a list page is applied to a front end, the list page is connected with a first retrieval service and a second retrieval service which are provided by a background system aiming at list page data, the background system uses the first retrieval service to retrieve the list page data when the first retrieval service is normal, and uses the second retrieval service to retrieve the list page data when the first retrieval service is abnormal, wherein the retrieval efficiency of the first retrieval service is higher than that of the second retrieval service; the device includes:
the configuration unit is used for configuring screening items for the list page in advance;
the sending unit is used for sending a list page request to the background system so that the background system retrieves the list page data corresponding to the list page request, and returning a list page response carrying retrieval service indication information used for indicating the retrieval service used by the retrieval and the list page data corresponding to the list page request;
the receiving unit is used for receiving the list page response returned by the background system;
the processing unit is used for determining the retrieval service used by the background system for the retrieval according to the retrieval service indication information carried by the list page response, and selecting the screening item suitable for the retrieval service from the screening items configured for the list page in advance;
and the display unit is used for displaying the screening items suitable for the retrieval service in the list page and the list page data carried by the list page response.
Preferably, the first and second liquid crystal films are made of a polymer,
the retrieval service indication information includes: the degraded retrieval mark has two values, which are respectively: marking a first value of the first retrieval service and marking a second value of the second retrieval service;
the processing unit determines the retrieval service used by the background system for the retrieval according to the retrieval service indication information carried by the list page response, and includes:
if the retrieval service indication information carried by the list page response is the first value, determining that the retrieval service used by the background system for the retrieval is the first retrieval service;
and if the retrieval service indication information carried by the list page response is the second value, determining that the retrieval service used by the background system for the retrieval is the second retrieval service.
Preferably, the first and second liquid crystal films are made of a polymer,
the configuration unit is used for configuring the screening items for the list page in advance and also configuring the display conditions of each screening item, wherein the display conditions indicate the retrieval service applicable to the screening item;
the processing unit, when selecting the filter item suitable for the search service from the filter items configured for the list page in advance, is configured to: for each screening item configured for the list page in advance, if the display condition of the screening item indicates that the search service applicable to the screening item includes the search service, determining that the screening item is applicable to the search service.
Preferably, the first and second liquid crystal films are made of a polymer,
the second retrieval service is: a database retrieval service;
the first retrieval service is: a search service generated based on the list page data in the database on which the second search service is based, the search efficiency being higher than that of the second search service.
A non-transitory computer readable storage medium storing one or more computer programs which, when executed by a processor, implement a front-end implementation of the above list page.
An electronic device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of the front-end realization method of the list page.
According to the technical scheme, in the invention, the list page docking background system provides the first retrieval service and the second retrieval service for the list page data, the background system uses the first retrieval service for list page data retrieval when the first retrieval service is normal, and when the first retrieval service is abnormal, using a second retrieval service to retrieve the list page data, so that after the front end sends a list page request to the background system, the background system can use different retrieval services to obtain list page data corresponding to the list page request according to whether the first retrieval service is normal or not, and returns list page response carrying the list page data and the retrieval service indication information, therefore, the front end can determine the retrieval service used by the background system for the retrieval according to the retrieval service indication information carried in the list page response, and further displaying the filter items suitable for the retrieval service and the list page data in a list page. Therefore, in the invention, the front end can adaptively adjust the screening items in the list page according to the retrieval service used in the background system retrieval.
Drawings
FIG. 1 is a flow chart of a method for front-end implementation of a list page in accordance with an embodiment of the present invention;
FIG. 2 is a schematic diagram of the components of a list page component provided by an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a front-end implementation apparatus of a list page according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention are described in detail below with reference to the accompanying drawings according to embodiments.
In the invention, aiming at the problem of low retrieval efficiency of database retrieval service, a specific retrieval service with higher retrieval efficiency than the database retrieval service is provided for the tabular page data in a background system, and the specific retrieval service is a retrieval service with higher retrieval efficiency generated based on the data in the database (namely, the database storing the tabular page data) depended by the database retrieval service. The background system preferentially uses the specific retrieval service to retrieve the list page data when the specific retrieval service is normal, and uses the database retrieval service to query the list page data only when the specific retrieval service is abnormal and cannot provide the retrieval service, so that the retrieval efficiency of the background system on the list page data can be improved.
Hereinafter, the specific search service will be referred to as a first search service, and the database search service will be referred to as a second search service, and a method for implementing the present invention will be described in detail.
The following detailed description of the implementation method of the invention is provided with the accompanying drawings:
referring to fig. 1, fig. 1 is a flowchart of a front-end implementation method of a list page according to an embodiment of the present invention, where the method is applied to a front end, where the list page interfaces with a first retrieval service and a second retrieval service provided by a background system for list page data, the background system uses the first retrieval service to perform list page data retrieval when the first retrieval service is normal, and uses the second retrieval service to perform list page data retrieval when the first retrieval service is abnormal; wherein the first retrieval service has a higher retrieval efficiency than the second retrieval service; as shown in fig. 1, the method mainly comprises the following steps:
In this embodiment of the present invention, the list page may be generated by using a pre-packaged list page component, and the list page may include a control area and a list area, where the control area is used to display a filter item (i.e., a filter item component), and the list area is used to display list page data, as shown in fig. 2, which is a schematic composition diagram of a list page provided in this embodiment of the present invention.
In the embodiment of the present invention, when configuring the screening items for the list page, a display condition corresponding to each screening item needs to be configured, where the display condition of the screening item indicates the search service applicable to the screening item, and the screening item is displayed in the list page only when the search service currently used by the background system is the search service applicable to the screening item.
For example, one filtering item (assumed to be filtering item 1) is applicable only to the first retrieval service, and the other filtering item (assumed to be filtering item 2) is applicable to both the first retrieval service and the second retrieval service. Then, when the background system is determined to be currently using the first retrieval service for searching the data of the list page, simultaneously displaying the above filter item 1 and filter item 2 in the control area of the list page; when the background system is determined to be currently using the second retrieval service for searching the data of the list page, displaying the screening item 2 in the control area of the list page, but not displaying the screening item 1.
If all the filter items are applicable to the first search service and only part of the filter items are applicable to the second search service, in this embodiment of the present invention, the presentation condition of the filter item may be represented by isDegraded, for example, isDegraded indicates that the filter item is applicable to only the first search service, and isDegraded indicates that the filter item is applicable to both the first search service and the second search service.
In practical implementation, a user may trigger a list page request by inputting a list page address in a web page or clicking a list page link in a web page, and for a list page request triggered in this way, all the filter options configured for the list page in advance are usually displayed in the list page request. The user can also trigger a list page request in the control area of the list page by changing the screening conditions of the screening items, and for the list page request triggered in this way, the list page request carries the screening conditions corresponding to the screening items in the control area of the list page before the user triggers the list page request.
After the front end sends the list page request to the background system, the background system retrieves list page data corresponding to the list page request and returns list page response carrying retrieval service indication information indicating the retrieval service used in the retrieval and the list page data corresponding to the list page request, specifically, when the background system is normal in the first retrieval service, the background system retrieves list page data corresponding to the list page request by using the first retrieval service and returns list page response carrying retrieval service indication information indicating the first retrieval service and the list page data corresponding to the list page request; and when the first retrieval service is abnormal, using the second retrieval service to retrieve and obtain list page data corresponding to the list page request, and returning a list page response carrying retrieval service indication information for indicating the second retrieval service and the list page data corresponding to the list page request.
And 103, receiving a list page response returned by the background system.
And after retrieving the list page data corresponding to the list page request, the background system carries the list page data in a list page response and returns the list page data to the front-end server, and meanwhile, the returned list page response also carries retrieval service indication information used for indicating the retrieval service used by the retrieval. The front end can determine which kind of retrieval service is used by the background system for the retrieval according to the retrieval service indication information carried in the received list page response.
And 104, determining the retrieval service used by the background system for the retrieval according to the retrieval service indication information carried by the list page response, and selecting the screening item suitable for the retrieval service from the screening items configured for the list page in advance.
In the invention, the mode that the background system uses the second retrieval service to perform the list page data is called degraded retrieval. In the embodiment of the present invention, the retrieval service indication information may be represented by a degraded retrieval flag (isDegraded), where the degraded retrieval flag has two values, which are: a first value (e.g., 0) indicating the first search service and a second value (e.g., 1) indicating the second search service. When the retrieval service indication information in the list page response received by the front end indicates the first value of the first retrieval service, it may be determined that the background system uses the first retrieval service for the retrieval this time, and when the retrieval service indication information in the list page response received by the front end indicates the second value of the second retrieval service, it may be determined that the background system uses the second retrieval service for the retrieval this time.
Therefore, in this step 104, determining the retrieval service used by the background system for the current retrieval according to the retrieval service indication information carried in the list page response includes:
if the retrieval service indication information carried by the list page response is the first value marking the first retrieval service, determining that the retrieval service used by the background system for the retrieval is the first retrieval service;
and if the retrieval service indication information carried by the list page response is the second value marking the second retrieval service, determining that the retrieval service used by the background system for the retrieval is the second retrieval service.
It should be noted that, in the embodiment of the present invention, the first retrieval service is: a search service generated based on the list page data in the database on which the second search service is based, the search efficiency being higher than that of the second search service. And the second retrieval service may be a database retrieval service.
As mentioned above, the display condition of the filter item indicates the search service to which the filter item is applicable, and the filter item is displayed in the list page only when the search service currently used by the background system is the search service to which the filter item is applicable. Therefore, in the embodiment of the present invention, after determining the retrieval service used by the background system for the current retrieval, it may be determined that the retrieval service is the retrieval service currently used by the background system, and at this time, it is necessary to further determine the screening items that may be displayed in the list page, that is: selecting the screening items suitable for the retrieval service from the screening items configured for the list page in advance, wherein the specific method comprises the following steps: for each filter item configured for the list page in advance, if the display condition of the filter item indicates that the search service to which the filter item is applicable includes the search service, determining that the filter item is applicable to the search service.
And 105, displaying the screening items suitable for the retrieval service in the list page, and the list page data carried by the list page response.
In the invention, after the screening items required to be displayed in the list page are determined, and the list page data corresponding to the list page request is carried in the list page response, the screening items suitable for the retrieval service and the list page data carried in the list page response can be displayed in the list page, so that the list page is displayed for a user.
In practical applications, the display logic and the control logic may be processed separately, and therefore, there may be a case where a certain filter item in the current list page has been deleted/hidden, but when the user triggers the list page request again, if no intervention is made, the newly generated list page request still includes the filter condition corresponding to the filter item.
In order to solve the above problem, in the embodiment of the present invention, after the filtering item applicable to the search service is displayed in the current list page, if the user triggers the list page request again, the filtering condition corresponding to the filtering item that is not displayed in the list page needs to be filtered when a new list page request is generated, and finally, the list page request sent to the background system only carries the filtering condition corresponding to each filtering item currently displayed in the list page.
It should be noted that, in the present invention, the list page can be generated using a pre-packaged list page component, and the list page component and the filter items in the list page component may be a exact component (a UI component based on exact implementation), if the display condition corresponding to the screening item changes, a render method of the life cycle needs to be called to re-render the page, and during the process of rendering the page, the presentation condition field of each screening item can be processed, for example, when the presentation condition is represented by isDegraded, the isdograded in the display condition character string can be completely replaced by 'this.programs.isdograded' by utilizing the canonical and character string replacement method, and then when a user carries out real-time query on the list page, the eval method can be utilized to analyze the display condition value of each screening item, and whether the screening item is rendered in the list page or not is dynamically controlled according to the retrieval service used by the background during real-time query.
The foregoing describes in detail a front-end implementation method of a list page according to an embodiment of the present invention, and the present invention further provides a front-end implementation apparatus of a list page, which is described in detail below with reference to fig. 3.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a front-end implementation apparatus of a list page according to an embodiment of the present invention, where the list page interfaces a first retrieval service and a second retrieval service provided by a background system for list page data, the background system uses the first retrieval service to perform list page data retrieval when the first retrieval service is normal, and uses the second retrieval service to perform list page data retrieval when the first retrieval service is abnormal, where retrieval efficiency of the first retrieval service is higher than that of the second retrieval service; as shown in fig. 3, the apparatus includes:
a configuration unit 301, configured to configure a screening item for the list page in advance;
a sending unit 302, configured to send a list page request to the background system, so that the background system retrieves the list page data corresponding to the list page request, and returns a list page response carrying retrieval service indication information indicating a retrieval service used in the retrieval and the list page data corresponding to the list page request;
a receiving unit 303, configured to receive the list page response returned by the background system;
a processing unit 304, configured to determine, according to the retrieval service indication information carried in the list page response, a retrieval service used by the background system for the retrieval of this time, and select a filter item suitable for the retrieval service from filter items configured for the list page in advance;
a display unit 305, configured to display the filter item applicable to the search service in the list page, and the list page data carried by the list page response.
In the device shown in figure 3 of the drawings,
the retrieval service indication information includes: the degraded retrieval mark has two values, which are respectively: marking a first value of the first retrieval service and marking a second value of the second retrieval service;
the processing unit 304, according to the retrieval service instruction information carried in the list page response, determines a retrieval service used by the background system for the current retrieval, including:
if the retrieval service indication information carried by the list page response is the first value, determining that the retrieval service used by the background system for the retrieval is the first retrieval service;
and if the retrieval service indication information carried by the list page response is the second value, determining that the retrieval service used by the background system for the retrieval is the second retrieval service.
In the device shown in figure 3 of the drawings,
the configuration unit 301, when configuring the screening items for the list page in advance, further configures a display condition of each screening item, where the display condition indicates a search service applicable to the screening item;
the processing unit 304, when selecting a filter item applicable to the search service from the filter items configured for the list page in advance, is configured to: for each screening item configured for the list page in advance, if the display condition of the screening item indicates that the search service applicable to the screening item includes the search service, determining that the screening item is applicable to the search service.
In the device shown in figure 3 of the drawings,
the second retrieval service is: a database retrieval service;
the first retrieval service is: and the retrieval efficiency is higher than that of the second retrieval service generated according to the list page data in the database based on the second retrieval service.
Embodiments of the present invention also provide a non-transitory computer-readable storage medium storing one or more computer programs that, when executed by a processor, implement a front-end implementation method of a list page as shown in fig. 1.
An embodiment of the present invention further provides an electronic device, as shown in fig. 4, where the electronic device 400 includes a memory 401, a processor 402, and a computer program stored on the memory 401 and executable on the processor 402, and when the processor 402 executes the computer program, the steps in the front-end implementation method of the list page shown in fig. 1 are implemented.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (10)
1. A front-end realization method of a list page is applied to a front end and is characterized in that the list page is connected with a first retrieval service and a second retrieval service which are provided by a background system aiming at list page data, the background system uses the first retrieval service to retrieve the list page data when the first retrieval service is normal, and uses the second retrieval service to retrieve the list page data when the first retrieval service is abnormal; wherein the first retrieval service has a higher retrieval efficiency than the second retrieval service; the method comprises the following steps:
sending a list page request to the background system so that the background system retrieves the list page data corresponding to the list page request, and returning a list page response carrying retrieval service indication information indicating the retrieval service used by the retrieval and the list page data corresponding to the list page request;
receiving the list page response returned by the background system;
determining the retrieval service used by the background system for the retrieval according to the retrieval service indication information carried by the list page response, and selecting a screening item suitable for the retrieval service from screening items configured for the list page in advance;
and displaying the filter items suitable for the retrieval service on the list page, and the list page data carried by the list page response.
2. The method of claim 1,
the retrieval service indication information includes: the degraded retrieval mark has two values, which are respectively: marking a first value of the first retrieval service and marking a second value of the second retrieval service;
according to the retrieval service indication information carried by the list page response, determining the retrieval service used by the background system for the retrieval, comprising:
if the retrieval service indication information carried by the list page response is the first value, determining that the retrieval service used by the background system for the retrieval is the first retrieval service;
and if the retrieval service indication information carried by the list page response is the second value, determining that the retrieval service used by the background system for the retrieval is the second retrieval service.
3. The method of claim 1,
when the screening items are configured for the list page in advance, configuring the display condition of each screening item, wherein the display condition indicates the retrieval service applicable to the screening item;
the method for selecting the screening items suitable for the retrieval service from the screening items configured for the list page in advance comprises the following steps: for each screening item configured for the list page in advance, if the display condition of the screening item indicates that the search service applicable to the screening item includes the search service, determining that the screening item is applicable to the search service.
4. The method according to any one of claims 1 to 3,
the second retrieval service is: a database retrieval service;
the first retrieval service is: a search service generated based on the list page data in the database on which the second search service is based, the search efficiency being higher than that of the second search service.
5. A front-end implementation device of a list page is applied to a front end, and is characterized in that the list page is connected with a first retrieval service and a second retrieval service which are provided by a background system aiming at list page data, the background system uses the first retrieval service to perform list page data retrieval when the first retrieval service is normal, and uses the second retrieval service to perform list page data retrieval when the first retrieval service is abnormal, wherein the retrieval efficiency of the first retrieval service is higher than that of the second retrieval service; the device includes:
the configuration unit is used for configuring screening items for the list page in advance;
the sending unit is used for sending a list page request to the background system so that the background system retrieves the list page data corresponding to the list page request, and returning a list page response carrying retrieval service indication information used for indicating the retrieval service used by the retrieval and the list page data corresponding to the list page request;
the receiving unit is used for receiving the list page response returned by the background system;
the processing unit is used for determining the retrieval service used by the background system for the retrieval according to the retrieval service indication information carried by the list page response, and selecting the screening item suitable for the retrieval service from the screening items configured for the list page in advance;
and the display unit is used for displaying the screening items suitable for the retrieval service in the list page and the list page data carried by the list page response.
6. The apparatus of claim 5,
the retrieval service indication information includes: the degraded retrieval mark has two values, which are respectively: marking a first value of the first retrieval service and marking a second value of the second retrieval service;
the processing unit determines the retrieval service used by the background system for the retrieval according to the retrieval service indication information carried by the list page response, and includes:
if the retrieval service indication information carried by the list page response is the first value, determining that the retrieval service used by the background system for the retrieval is the first retrieval service;
and if the retrieval service indication information carried by the list page response is the second value, determining that the retrieval service used by the background system for the retrieval is the second retrieval service.
7. The apparatus of claim 5,
the configuration unit is used for configuring the screening items for the list page in advance and also configuring the display conditions of each screening item, wherein the display conditions indicate the retrieval service applicable to the screening item;
the processing unit, when selecting the filter item suitable for the search service from the filter items configured for the list page in advance, is configured to: for each screening item configured for the list page in advance, if the display condition of the screening item indicates that the search service applicable to the screening item includes the search service, determining that the screening item is applicable to the search service.
8. The apparatus of claim 5,
the second retrieval service is: a database retrieval service;
the first retrieval service is: a search service generated based on the list page data in the database on which the second search service is based, the search efficiency being higher than that of the second search service.
9. A non-transitory computer readable storage medium, wherein the computer readable storage medium stores one or more computer programs that, when executed by a processor, implement the method of any of claims 1-4.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method according to any of claims 1-4 when executing the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910904068.5A CN110704735B (en) | 2019-09-24 | 2019-09-24 | Front-end implementation method and device of list page |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910904068.5A CN110704735B (en) | 2019-09-24 | 2019-09-24 | Front-end implementation method and device of list page |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110704735A true CN110704735A (en) | 2020-01-17 |
CN110704735B CN110704735B (en) | 2022-01-28 |
Family
ID=69194836
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910904068.5A Active CN110704735B (en) | 2019-09-24 | 2019-09-24 | Front-end implementation method and device of list page |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110704735B (en) |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102612687A (en) * | 2009-11-12 | 2012-07-25 | 微软公司 | Web service interface and querying |
CN103092945A (en) * | 2013-01-11 | 2013-05-08 | 北京百度网讯科技有限公司 | Searching method and device based on interface returning |
CN104462134A (en) * | 2013-09-23 | 2015-03-25 | 北大方正集团有限公司 | Retrieval method and system |
CN105574755A (en) * | 2015-12-22 | 2016-05-11 | 北京奇虎科技有限公司 | Method and device of providing front-end service |
CN106548402A (en) * | 2016-10-18 | 2017-03-29 | 财付通支付科技有限公司 | Resource transfers monitoring method and device |
CN106598967A (en) * | 2015-10-14 | 2017-04-26 | 北京国双科技有限公司 | Quick query method and device |
CN106933875A (en) * | 2015-12-31 | 2017-07-07 | 北京城市网邻信息技术有限公司 | Data query method and device |
CN107145296A (en) * | 2017-05-05 | 2017-09-08 | 携程旅游网络技术(上海)有限公司 | The interface method to set up and system of information retrieval |
CN107256109A (en) * | 2017-05-27 | 2017-10-17 | 北京小米移动软件有限公司 | Method for information display, device and terminal |
CN107870805A (en) * | 2016-09-23 | 2018-04-03 | 腾讯科技(深圳)有限公司 | The information processing method and device of task system |
US20180144290A1 (en) * | 2016-11-22 | 2018-05-24 | OrderGroove, Inc. | Consumable usage sensors and applications to facilitate automated replenishment of consumables via an adaptive distribution platform |
CN108563708A (en) * | 2018-03-27 | 2018-09-21 | 广州供电局有限公司 | Facility information search method, device and computer equipment |
CN108846055A (en) * | 2018-05-31 | 2018-11-20 | 北京五八信息技术有限公司 | Search processing method, device, electronic equipment and readable storage medium storing program for executing |
US20180367668A1 (en) * | 2017-06-15 | 2018-12-20 | Microsoft Technology Licensing, Llc | Information retrieval using natural language dialogue |
CN109254810A (en) * | 2018-08-03 | 2019-01-22 | 五八有限公司 | List methods of exhibiting, device, computer equipment and computer readable storage medium |
CN109523235A (en) * | 2018-11-14 | 2019-03-26 | 合肥智慧联接科技有限公司 | A kind of big data detection cloud platform |
CN109885784A (en) * | 2019-01-17 | 2019-06-14 | 平安城市建设科技(深圳)有限公司 | Screen content loading method, device, equipment and computer readable storage medium |
-
2019
- 2019-09-24 CN CN201910904068.5A patent/CN110704735B/en active Active
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102612687A (en) * | 2009-11-12 | 2012-07-25 | 微软公司 | Web service interface and querying |
CN103092945A (en) * | 2013-01-11 | 2013-05-08 | 北京百度网讯科技有限公司 | Searching method and device based on interface returning |
CN104462134A (en) * | 2013-09-23 | 2015-03-25 | 北大方正集团有限公司 | Retrieval method and system |
CN106598967A (en) * | 2015-10-14 | 2017-04-26 | 北京国双科技有限公司 | Quick query method and device |
CN105574755A (en) * | 2015-12-22 | 2016-05-11 | 北京奇虎科技有限公司 | Method and device of providing front-end service |
CN106933875A (en) * | 2015-12-31 | 2017-07-07 | 北京城市网邻信息技术有限公司 | Data query method and device |
CN107870805A (en) * | 2016-09-23 | 2018-04-03 | 腾讯科技(深圳)有限公司 | The information processing method and device of task system |
CN106548402A (en) * | 2016-10-18 | 2017-03-29 | 财付通支付科技有限公司 | Resource transfers monitoring method and device |
US20180144290A1 (en) * | 2016-11-22 | 2018-05-24 | OrderGroove, Inc. | Consumable usage sensors and applications to facilitate automated replenishment of consumables via an adaptive distribution platform |
CN107145296A (en) * | 2017-05-05 | 2017-09-08 | 携程旅游网络技术(上海)有限公司 | The interface method to set up and system of information retrieval |
CN107256109A (en) * | 2017-05-27 | 2017-10-17 | 北京小米移动软件有限公司 | Method for information display, device and terminal |
US20180367668A1 (en) * | 2017-06-15 | 2018-12-20 | Microsoft Technology Licensing, Llc | Information retrieval using natural language dialogue |
CN108563708A (en) * | 2018-03-27 | 2018-09-21 | 广州供电局有限公司 | Facility information search method, device and computer equipment |
CN108846055A (en) * | 2018-05-31 | 2018-11-20 | 北京五八信息技术有限公司 | Search processing method, device, electronic equipment and readable storage medium storing program for executing |
CN109254810A (en) * | 2018-08-03 | 2019-01-22 | 五八有限公司 | List methods of exhibiting, device, computer equipment and computer readable storage medium |
CN109523235A (en) * | 2018-11-14 | 2019-03-26 | 合肥智慧联接科技有限公司 | A kind of big data detection cloud platform |
CN109885784A (en) * | 2019-01-17 | 2019-06-14 | 平安城市建设科技(深圳)有限公司 | Screen content loading method, device, equipment and computer readable storage medium |
Non-Patent Citations (3)
Title |
---|
古可等: "一种个性化信息检索服务界面的设计与实现", 《图书情报工作》 * |
拇指风云: "react实现筛选条件组件", 《HTTPS://BLOG.CSDN.NET/WP12345666666/ARTICLE/DETAILS/72781274》 * |
韩笑: "信息检索技术应用", 《电脑知识与技术》 * |
Also Published As
Publication number | Publication date |
---|---|
CN110704735B (en) | 2022-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11868158B1 (en) | Generating search commands based on selected search options | |
US11816108B1 (en) | Dynamic alert messages using tokens based on searching events | |
US20210049150A1 (en) | Generating and distributing delta files associated with mutable events in a distributed system | |
US10200262B1 (en) | Continuous anomaly detection service | |
US9680782B2 (en) | Identifying relevant content in email | |
CN111708537A (en) | Page rendering method and device based on component template and readable storage medium | |
US9736228B2 (en) | Method, apparatus, and system for distributing information in graphic code | |
CN113454632A (en) | Intelligent content and format reuse | |
US9779181B2 (en) | Dynamic folding of listed items for display | |
US10311043B2 (en) | Log query user interface | |
KR102233867B1 (en) | Extracting similar group elements | |
US11360653B2 (en) | Synchronized presentation of data in different representations | |
US20210105314A1 (en) | Associating browser with application | |
US20200167133A1 (en) | Web service mashup orchestrator | |
CN110019974B (en) | Chart drill-down implementation method and device | |
CN110704735B (en) | Front-end implementation method and device of list page | |
CN112882789A (en) | Information display method and device, electronic equipment and storage medium | |
US20210097091A1 (en) | Offline defaulting service | |
CN110622135B (en) | System and method for providing content items in situations involving suboptimal network conditions | |
CN112148279B (en) | Log information processing method, device, electronic equipment and storage medium | |
US20160335328A1 (en) | System and Methods for Retrieving Content Based on Context in a Mobile Environment | |
CN104462319A (en) | Processing method and device for webpage information | |
CN111367860A (en) | File refreshing method and device | |
CN107045521B (en) | Signal source grouping management method, device and system | |
CN118733900A (en) | Data processing method and device and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |