CN111736825A - Information display method, device, equipment and storage medium - Google Patents

Information display method, device, equipment and storage medium Download PDF

Info

Publication number
CN111736825A
CN111736825A CN202010331734.3A CN202010331734A CN111736825A CN 111736825 A CN111736825 A CN 111736825A CN 202010331734 A CN202010331734 A CN 202010331734A CN 111736825 A CN111736825 A CN 111736825A
Authority
CN
China
Prior art keywords
screening
target
item
component
configuration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010331734.3A
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 Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology 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 Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202010331734.3A priority Critical patent/CN111736825A/en
Publication of CN111736825A publication Critical patent/CN111736825A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The embodiment of the invention discloses an information display method, an information display device, information display equipment and a storage medium, wherein the method comprises the following steps: acquiring first screening item configuration information corresponding to a first screening item to be displayed in a target page; determining a target screening component corresponding to the first screening item from preset screening components according to the target screening component identification in the first screening item configuration information; and creating a first screening item according to the target screening component and the target screening configuration information in the first screening item configuration information, and displaying the first screening item in the target page. By the technical scheme of the embodiment of the invention, the page development efficiency can be improved, and the page maintenance cost can be reduced.

Description

Information display method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to computer technology, in particular to an information display method, an information display device, information display equipment and a storage medium.
Background
With the rapid development of computer technology, a data screening function in a page can be developed so as to display screened specific data in the page, improve data viewing efficiency and meet personalized requirements of users.
At present, the screening codes corresponding to each screening item in a page may be written based on business requirements, the screening codes corresponding to all the screening items in all the pages are packaged together, and corresponding screening items are opened for different pages.
However, in the process of implementing the present invention, the inventor finds that at least the following problems exist in the prior art:
when a new screening item is required to be added to the page, for example, when a screening item which is only different from the screening item name of the existing screening item is newly added, a developer also needs to re-encode the screening code corresponding to the newly added screening item and encapsulate the code, so that the page development efficiency is reduced, and the page maintenance cost is increased.
Disclosure of Invention
The embodiment of the invention provides an information display method, an information display device, information display equipment and a storage medium, which are used for improving the page development efficiency and reducing the page maintenance cost.
In a first aspect, an embodiment of the present invention provides an information display method, including:
acquiring first screening item configuration information corresponding to a first screening item to be displayed in a target page;
determining a target screening component corresponding to the first screening item from preset screening components according to the target screening component identifier in the first screening item configuration information;
and creating the first screening item according to the target screening component and the target screening configuration information in the first screening item configuration information, and displaying the first screening item in the target page.
In a second aspect, an embodiment of the present invention further provides an information displaying apparatus, including:
the first screening item configuration information acquisition module is used for acquiring first screening item configuration information corresponding to a first screening item to be displayed in a target page;
the target screening component determining module is used for determining a target screening component corresponding to the first screening item from preset screening components according to the target screening component identifier in the first screening item configuration information;
the first screening item display module is used for creating the first screening item according to the target screening component and the target screening configuration information in the first screening item configuration information, and displaying the first screening item in the target page.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the information presentation method according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the information presentation method according to any embodiment of the present invention.
The embodiment of the invention has the following advantages or beneficial effects:
through presetting at least one and predetermine the screening subassembly to different predetermine the screening subassembly can correspond different screening modes. The target screening component identification corresponding to the first screening item can be configured in advance based on the screening mode corresponding to the first screening item to be displayed in the target page, the target screening configuration information of the first screening item can be configured based on the service requirement of the first screening item, and the corresponding first screening item configuration information is obtained, so that the target screening component can be determined from the preset screening components based on the target screening component identification in the first screening item configuration information, and the first screening item can be quickly created and displayed according to the target screening component and the target screening configuration information. When a first screening item needs to be added in a target page, only configuration information of the added first screening item can be written, and the added first screening item can be quickly created by multiplexing the preset screening components without writing a screening code of the added first screening item, so that the page development efficiency is improved, and the page maintenance cost is reduced.
Drawings
Fig. 1 is a flowchart of an information displaying method according to an embodiment of the present invention;
FIG. 2 is an example of a first sifting section in accordance with an embodiment of the present invention;
fig. 3 is a flowchart of an information displaying method according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an information display apparatus according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an information displaying method according to an embodiment of the present invention, which is applicable to a situation where a filtering item for filtering page data in a page is displayed in this embodiment. The method can be executed by an information presentation apparatus, which can be implemented by software and/or hardware, and integrated in a device with a page presentation function, such as a computer, a personal computer, a mobile phone, and the like. As shown in fig. 1, the method specifically includes the following steps:
s110, first screening item configuration information corresponding to a first screening item to be displayed in the target page is obtained.
The target page may refer to a page to be currently displayed. The filtering item may refer to a user operation item for filtering data. For example, a filter term may be, but is not limited to: a time screening option and a channel screening option. The time filtering option may be a filtering option for filtering out page data at a specific time. The channel filter item may be a filter item for filtering out page data obtained under a specific channel. The first filter item may refer to a filter item in which configuration information is preset in the target page, so that the first filter item may be created and exhibited based on the first filter item configuration information. The number of the first screening items to be displayed in the target page may be one or more, and the specific number may be preset based on business requirements.
Specifically, each first filtering item to be displayed in each page may be configured in advance to obtain first filtering item configuration information corresponding to each first filtering item. For each page, the first screening item configuration information corresponding to all the first screening items in the page may be stored in one screening item configuration file in advance, and the corresponding relationship between each page identifier and the screening item configuration file is established, so that the target screening item configuration file corresponding to the target page may be obtained based on the corresponding relationship and the target page identifier, and the first screening item configuration information corresponding to each first screening item to be displayed in the target page may be obtained from the target screening item configuration file.
And S120, determining a target screening component corresponding to the first screening item from preset screening components according to the target screening component identifier in the first screening item configuration information.
The preset screening component may be a preset component that screens the page data by using a specific screening manner. The preset filtering component in this embodiment may be a component that is not configured with the filtering item information. The number of preset screening components may be at least one. Different preset screening components may correspond to different screening modes. For example, the preset screening component may include: at least one of a pull-down selection component, a pull-down multi-selection component, a cascade single-selection component and a cascade multi-selection component. Wherein the drop-down selection component may be a component that selects one or more of the screening items by a drop-down manner to screen the dimension values. The pull-down selection component can support two screening modes, namely a pull-down single selection mode and a pull-down multiple selection mode. The pull-down multi-selection component may be a component that selects a plurality of screening dimension values in the screening items by a pull-down manner, which supports only one screening manner, i.e., a pull-down multi-selection manner. The cascade singleton component may be a component that selects one filter dimension value under each dimension in the filter items by a pull-down manner. For example, when the time-screening option includes three dimensions of year, month, and day, the time-screening option may be generated using a cascading singleton component. The cascade multi-selection component may be a component that selects multiple screening dimension values at each level of dimension in the screening items by a pull-down manner. This embodiment can preset out corresponding each and predetermine the screening subassembly based on the screening mode commonly used, and each predetermines the screening subassembly and can set up a subassembly sign to distinguish different predetermine the screening subassembly.
Specifically, when generating each first filtering item configuration information, the target filtering component identifier corresponding to each first filtering item may be configured in advance based on the filtering manner corresponding to each first filtering item, so that the target filtering component corresponding to the first filtering item may be determined from the preset filtering components according to the target filtering component identifier in the first filtering item configuration information. For example, the target screening component identifier may be matched with a preset screening component identifier, and the preset screening component successfully matched with the target screening component may be determined as the target screening component, so as to obtain the target screening component capable of supporting the screening manner of the first screening item.
S130, creating a first screening item according to the target screening component and the target screening configuration information in the first screening item configuration information, and displaying the first screening item in the target page.
The target screening configuration information may be screening information of a first screening item configured in advance based on the service requirement. Illustratively, the target screening configuration information may include, but is not limited to: and the first screening item name and the first screening dimension value corresponding to the first screening item. An example of a first sifting option is shown in fig. 2. As shown in fig. 2, if the first filtering item is a time filtering item, the first filtering item name is: time; the first screening dimension value is: each time dimension value in the year, month, day dimension. If the first filtering item is a channel filtering item, the first filtering item name is as follows: a channel; the first screening dimension values comprise all APP and PC, wherein the APP is used for representing data acquired from a channel of an APP mobile terminal; the PC is used for representing data acquired from a channel of a PC computer end; all is used for representing data acquired from two channels of the APP mobile terminal and the PC computer terminal.
Specifically, the first filter item can be quickly created by injecting the target filter configuration information in the first filter item configuration information into the target filter component. The first filtering item may be rendered based on a default presentation style in a Cascading Style Sheets (CSS) so that the first filtering item may be presented in the target page in the default presentation style.
Illustratively, "creating a first filter item according to the target filter configuration information in the target filter component and the first filter item configuration information" in S130 may include: configuring the component name of the target screening component according to the first screening item name; according to the first screening dimension value, configuring a component screening dimension value of the target screening component; and creating a first screening item based on the target screening component after the information configuration.
Specifically, the component name of the target screening component may be updated to the configured first screening item name, so that the target screening component may be exposed with the first screening item name. The component screening dimension value of the target screening component can be updated to the configured first screening dimension value such that the target screening component can exhibit the first screening dimension value such that the user can perform a data screening operation with respect to the first screening dimension value. The target screening component configured with the first screening item name and the first screening dimension value may be used as the created first screening item. The first screening item can be quickly and conveniently created in a mode of configuring information of the target screening component, and the first screening item can be configured and codes can be highly reused.
It should be noted that each first filter item to be displayed in the target page may be created and displayed in the manner of the above steps S110 to S130, so that each first filter item may be displayed on the target page, as shown in fig. 2. If at least two first screening items with the same screening mode exist in the target page, the at least two first screening items can correspond to the same preset screening component, and therefore each first screening item can be quickly created in a mode of using the preset screening component for multiple times. When a first screening item needs to be added in a target page, only configuration information of the added first screening item can be written, and the added first screening item can be quickly created by multiplexing the preset screening components without writing a screening code of the added first screening item, so that the page development efficiency is improved, and the page maintenance cost is reduced.
According to the technical scheme, at least one preset screening component is preset, and different preset screening components can correspond to different screening modes. The target screening component identification corresponding to the first screening item can be configured in advance based on the screening mode corresponding to the first screening item to be displayed in the target page, the target screening configuration information of the first screening item can be configured based on the service requirement of the first screening item, and the corresponding first screening item configuration information is obtained, so that the target screening component can be determined from the preset screening components based on the target screening component identification in the first screening item configuration information, and the first screening item can be quickly created and displayed according to the target screening component and the target screening configuration information. When a first screening item needs to be added in a target page, only configuration information of the added first screening item can be written, and the added first screening item can be quickly created by multiplexing the preset screening components without writing a screening code of the added first screening item, so that the page development efficiency is improved, and the page maintenance cost is reduced.
On the basis of the above technical solution, the target screening configuration information may further include: and the target screening mode corresponding to the first screening item, wherein the target screening mode can be configured in advance based on at least two screening modes supported by the target screening component. When the target screening component corresponding to the first screening item can support at least two screening manners, for example, when the target screening component is a pull-down selection component, the target screening manner corresponding to the first screening item may be configured in the target screening configuration information to limit the target screening component to perform the screening operation in the target screening manner.
Accordingly, before the target screening component configured based on the information creates the first screening item, the method may further include: and configuring the component screening mode of the target screening component according to the target screening mode. For example, if the target screening component corresponding to the first screening item can support at least two screening modes, such as a drop-down list selection mode and a drop-down multiple selection mode, and the first screening item only needs to perform a screening operation in the drop-down list selection mode, the target screening mode corresponding to the first screening item can be set as the drop-down list selection mode, so that the component screening mode of the target screening component can be configured as the drop-down list selection mode, the target screening component performs the screening operation in the drop-down list selection mode, and thus by configuring the target screening mode, the reusability of the target screening component can be further improved, and the development efficiency is further improved.
On the basis of the above technical solution, the target screening configuration information may further include: and the initial first screening dimension value corresponds to the first screening item, wherein the initial first screening dimension value can be used for representing the first screening dimension value of the default selection of the first screening item. For example, when the first filtering item is a channel filtering item, the initial first filtering dimension value may be set to "all", so that the page data obtained in the two channels, i.e., the APP mobile terminal and the PC computer terminal, may be acquired by default. If the user does not want to select the initial first filtering dimension value, the initial first filtering dimension value may be modified to obtain the page data thought by the user.
Accordingly, before the target screening component configured based on the information creates the first screening item, the method may further include: and configuring the initial screening dimension value of the target screening component according to the initial first screening dimension value so as to display the initial first screening dimension value in a preset selection frame of the created first screening item.
Specifically, the initial screening dimension value of the target screening component may be updated to the configured initial first screening dimension value, so that the first screening dimension value selected by default by the first screening item may be displayed in the preset selection frame of the first screening item, so as to prompt the user of the initial first screening dimension value selected by default currently. By configuring the initial first screening dimension value, the dynamic configuration of the default selected first screening dimension value can be realized, and the individual requirements of the user are met.
On the basis of the above technical solution, the target screening configuration information may further include: and displaying the style identification of the preset screening item corresponding to the first screening item. The preset screening item display style can be a user-defined display style based on the service requirement in advance. The preset screening item presentation style identification may be, but is not limited to: and presetting a style name or a style storage path of the screening item presentation style.
Accordingly, creating a first sifting option based on the target sifting component after the information configuration may include: determining a preset screening item display style corresponding to the first screening item according to the preset screening item display style identification; and creating a first screening item based on the preset screening item display style and the target screening component after information configuration, so that the created first screening item is displayed in the preset screening item display style.
Specifically, the preset screening item display style corresponding to the first screening item may be obtained by calling an interface corresponding to the preset screening item display style identifier. The target screening component after the information configuration can be used as the created first screening item, and the first screening item is rendered based on the preset screening item display style, so that the first screening item can be displayed in the target page in the preset screening item display style. By configuring the preset screening item display style identification, the user-defined screening item display style can be realized, the diversity of the display style is improved, and the individual requirements of users are further met.
On the basis of the above technical solution, the method may further include: acquiring preset document object model (Dom) information corresponding to a second screening item to be displayed in a target page; and creating a second screening item according to the preset document object model (Dom) information, and displaying the second screening item in the target page.
The second screening item may be a screening item corresponding to a screening method that is used once. For example, if only one screening item is used in a certain screening manner among all the screening items, the screening item may serve as the second screening item, and at this time, a preset screening component corresponding to the screening manner does not need to be set, so as to avoid that the preset screening component cannot be reused. The preset document Object model dom (document Object model) information may be programming interface information corresponding to the filter code of the second filter item written in advance.
Specifically, preset document object model Dom information corresponding to the second filtering item to be displayed in each page may be configured in advance, and each preset document object model Dom information in each page may be stored in a filtering item configuration file of a corresponding page, so that the preset document object model Dom information corresponding to each second filtering item to be displayed in the target page may be obtained based on the target filtering item configuration file corresponding to the target page. And obtaining the screening code of each second screening item by calling the interface corresponding to each preset document object model (Dom) information, and quickly creating and displaying the corresponding second screening item based on the obtained screening code, so that the created first screening item and the created second screening item can be displayed in the target page. The second screening item is created by configuring the Dom information of the preset document object model, so that the resource waste condition caused by the fact that the screening component cannot be reused can be avoided, the resource utilization rate is improved, the creation flexibility of the screening item is improved, and the personalized requirements of users are further met.
Example two
Fig. 3 is a flowchart of an information displaying method according to a second embodiment of the present invention, and this embodiment describes a manner of performing page data screening based on a displayed first screening item on the basis of the second embodiment. Wherein explanations of the same or corresponding terms as those of the above-described embodiments are omitted.
Referring to fig. 3, the information display method provided in this embodiment specifically includes the following steps:
s210, first screening item configuration information corresponding to a first screening item to be displayed in the target page is obtained.
S220, determining a target screening component corresponding to the first screening item from preset screening components according to the target screening component identification in the first screening item configuration information.
S230, creating a first screening item according to the target screening component and the target screening configuration information in the first screening item configuration information, and displaying the first screening item in the target page.
S240, determining a target screening condition corresponding to the target page based on the data screening operation triggered by the user aiming at the first screening item.
The data filtering operation may include a user's change operation on the first filtering dimension value selected by the first filtering item by default so as to change the currently selected first filtering dimension value. The data filtering operations may also include a user-error-free filtering determination operation for the currently selected first filtering dimension value of the first filtering item, for example, the user may trigger the filtering determination operation by clicking an "ok" button in fig. 2. The target filtering condition may refer to a condition that the target page data desired by the user satisfies.
Specifically, the target first screening dimension value currently selected by each first screening item may be obtained based on the data screening operation triggered by the user for each first screening item displayed in the target page, so that the target screening condition including the target first screening dimension value may be generated. For example, a storage object may be created, the identifier of the first screening item corresponding to the first screening item is used as key information in the key value pair information, and the target first screening dimension value currently selected by the first screening item is used as value information, to generate key value pair information corresponding to the first screening item, and store the key value pair information corresponding to each first screening item in the storage object, and return the storage object, so that the target first screening dimension value currently selected by each first screening item may be quickly obtained by the returned storage object, and the determination efficiency of the target screening condition is further improved.
Illustratively, the first filter item configuration information may further include: and the dimension value change function corresponding to the first screening item. The dimension value modification function may be a predefined function for obtaining the modified screening dimension value. Accordingly, S240 may include: if the screening dimension value change operation triggered by the user aiming at the first screening item is detected, obtaining a target first screening dimension value currently selected by the first screening item by calling a dimension value change function corresponding to the first screening item; and determining a target screening condition corresponding to the target page according to the first screening dimension value of the target.
Specifically, when the user wants to change the initial first screening dimension value selected by the first selection box by default, the screening dimension value change operation may be triggered by clicking the target first screening dimension value to be selected. When the triggering screening dimension value change operation is detected, the first screening dimension value of the target currently selected by the first screening item can be quickly obtained by calling the dimension value change function corresponding to the first screening item, and the change efficiency is improved. The storage object may be updated, and the value information corresponding to the first filtering item stored in the storage object is updated to the currently selected target first filtering dimension value, so that the storage object stores the target first filtering dimension values that are all newly selected. According to the embodiment, the corresponding target screening conditions can be generated in real time according to the user-triggered dimension value change operation, so that the real-time update of the page data is realized; or when a screening determination operation triggered by the user when the first screening dimension value currently selected by the first screening item is determined to be correct is detected, generating a corresponding target screening condition according to the target first screening dimension values of the first screening items, so as to update page data based on the user determination operation, and further improve the resource utilization rate.
It should be noted that, when the first filtering item and the second filtering item are exhibited in the target page, the target first filtering dimension value currently selected by each first filtering item and the target first filtering dimension value currently selected by each second filtering item may be obtained based on the data filtering operation triggered by the user for the first filtering item and the second filtering item, so that the target filtering condition including the target first filtering dimension value may be generated.
And S250, generating a data acquisition request according to the target screening condition, and sending the data acquisition request to the server so that the server determines target page data meeting the target screening condition based on the data acquisition request.
Specifically, a data acquisition request including the target screening condition may be generated, and the data acquisition request may be sent to a server in which a page database is stored, so that the server may acquire the target screening condition based on the data acquisition request, perform data screening on the page database based on the target screening condition, acquire target page data that satisfies the target screening condition, and return the target page data as response information.
And S260, receiving the target page data returned by the server and displaying the target page data.
Specifically, the received target page data may be displayed based on a preset page data display mode, for example, in a graph or table mode, so as to improve data viewing efficiency. The target page data can be displayed in the target page, and can also be displayed in other preset pages, so that the user can view the screened target page data.
According to the technical scheme, the target page data meeting the target screening condition can be obtained by sending the data acquisition request to the server, and the target page data is displayed, so that the user can check the page data screened based on the screening items, and the data checking efficiency is improved.
The following is an embodiment of an information display apparatus provided in an embodiment of the present invention, and the apparatus and the information display method of each embodiment belong to the same inventive concept, and details that are not described in detail in the embodiment of the information display apparatus may refer to the embodiment of the information display method.
EXAMPLE III
Fig. 4 is a schematic structural diagram of an information displaying apparatus according to a third embodiment of the present invention, which is applicable to a situation where a filtering item for filtering page data in a display page is provided. As shown in fig. 4, the apparatus specifically includes: a first filtering item configuration information obtaining module 310, a target filtering component determining module 320 and a first filtering item presenting module 330.
The first filtering item configuration information obtaining module 310 is configured to obtain first filtering item configuration information corresponding to a first filtering item to be displayed in a target page; the target screening component determining module 320 is configured to determine, according to the target screening component identifier in the first screening item configuration information, a target screening component corresponding to the first screening item from preset screening components; the first filtering item presenting module 330 is configured to create a first filtering item according to the target filtering component and the target filtering configuration information in the first filtering item configuration information, and present the first filtering item in the target page.
According to the technical scheme, at least one preset screening component is preset, and different preset screening components can correspond to different screening modes. The target screening component identification corresponding to the first screening item can be configured in advance based on the screening mode corresponding to the first screening item to be displayed in the target page, the target screening configuration information of the first screening item can be configured based on the service requirement of the first screening item, and the corresponding first screening item configuration information is obtained, so that the target screening component can be determined from the preset screening components based on the target screening component identification in the first screening item configuration information, and the first screening item can be quickly created and displayed according to the target screening component and the target screening configuration information. When a first screening item needs to be added in a target page, only configuration information of the added first screening item can be written, and the added first screening item can be quickly created by multiplexing the preset screening components without writing a screening code of the added first screening item, so that the page development efficiency is improved, and the page maintenance cost is reduced.
Optionally, the target screening configuration information includes: a first screening item name and a first screening dimension value corresponding to the first screening item;
the first filtering item presentation module 330 includes:
the component name configuration unit is used for configuring the component name of the target screening component according to the first screening item name;
the component screening dimension value configuration unit is used for configuring the component screening dimension value of the target screening component according to the first screening dimension value;
and the first screening item creating unit is used for creating a first screening item based on the target screening component after the information configuration.
Optionally, the target screening configuration information further includes: the target screening method corresponding to the first screening item is configured in advance based on at least two screening methods supported by the target screening component;
the first filtering item presenting module 330 further includes:
and the component screening mode configuration unit is used for configuring the component screening mode of the target screening component according to the target screening mode before the first screening item is created by the target screening component configured based on the information.
Optionally, the target screening configuration information further includes: the initial first screening dimension value corresponding to the first screening item is used for representing the first screening dimension value of the default selection of the first screening item;
the first filtering item presenting module 330 further includes:
and the initial screening dimension value configuration unit is used for configuring the initial screening dimension value of the target screening component according to the initial first screening dimension value before the target screening component configured based on the information creates the first screening item, so that the initial first screening dimension value is displayed in a preset selection frame of the created first screening item.
Optionally, the target screening configuration information further includes: a preset screening item display style identifier corresponding to the first screening item;
the first filtering item creating unit is specifically configured to: determining a preset screening item display style corresponding to the first screening item according to the preset screening item display style identification; and creating a first screening item based on the preset screening item display style and the target screening component after information configuration, so that the created first screening item is displayed in the preset screening item display style.
Optionally, the apparatus further comprises:
the target screening condition determining module is used for determining a target screening condition corresponding to the target page based on data screening operation triggered by a user aiming at the first screening item after the first screening item is displayed in the target page;
the data acquisition request sending module is used for generating a data acquisition request according to the target screening condition and sending the data acquisition request to the server so that the server can determine target page data meeting the target screening condition based on the data acquisition request;
and the target page data display module is used for receiving the target page data returned by the server and displaying the target page data.
Optionally, the first filtering item configuration information includes: a dimension value change function corresponding to the first screening item;
the target screening condition determining module is specifically configured to: if the screening dimension value change operation triggered by the user aiming at the first screening item is detected, obtaining a target first screening dimension value currently selected by the first screening item by calling a dimension value change function corresponding to the first screening item;
and determining a target screening condition corresponding to the target page according to the first screening dimension value of the target.
Optionally, the apparatus further comprises:
the preset document object model Dom information acquisition module is used for acquiring preset document object model Dom information corresponding to a second screening item to be displayed in the target page;
and the second screening item display module is used for creating a second screening item according to the preset document object model (Dom) information and displaying the second screening item in the target page.
Optionally, the preset screening component comprises: at least one of a pull-down selection component, a pull-down multi-selection component, a cascade single-selection component and a cascade multi-selection component.
The information display device provided by the embodiment of the invention can execute the information display method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the information display method.
It should be noted that, in the embodiment of the information displaying apparatus, the units and modules included in the embodiment are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Example four
Fig. 5 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention. Fig. 5 illustrates a block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention. The device 12 shown in fig. 5 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present invention.
As shown in FIG. 5, device 12 is in the form of a general purpose computing device. The components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with device 12, and/or with any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, to implement an information presentation method provided by the embodiment of the present invention, the method includes:
acquiring first screening item configuration information corresponding to a first screening item to be displayed in a target page;
determining a target screening component corresponding to the first screening item from preset screening components according to the target screening component identification in the first screening item configuration information;
and creating a first screening item according to the target screening component and the target screening configuration information in the first screening item configuration information, and displaying the first screening item in the target page.
Of course, those skilled in the art will appreciate that the processor may also implement the solution of the method for determining the reserved inventory provided by any embodiment of the present invention.
EXAMPLE five
The present embodiment provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of an information presentation method according to any embodiment of the present invention, the method comprising:
acquiring first screening item configuration information corresponding to a first screening item to be displayed in a target page;
determining a target screening component corresponding to the first screening item from preset screening components according to the target screening component identification in the first screening item configuration information;
and creating a first screening item according to the target screening component and the target screening configuration information in the first screening item configuration information, and displaying the first screening item in the target page.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer-readable storage medium may be, for example but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It will be understood by those skilled in the art that the modules or steps of the invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and optionally they may be implemented by program code executable by a computing device, such that it may be stored in a memory device and executed by a computing device, or it may be separately fabricated into various integrated circuit modules, or it may be fabricated by fabricating a plurality of modules or steps thereof into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (12)

1. An information display method, comprising:
acquiring first screening item configuration information corresponding to a first screening item to be displayed in a target page;
determining a target screening component corresponding to the first screening item from preset screening components according to the target screening component identifier in the first screening item configuration information;
and creating the first screening item according to the target screening component and the target screening configuration information in the first screening item configuration information, and displaying the first screening item in the target page.
2. The method of claim 1, wherein the target screening configuration information comprises: a first screening item name and a first screening dimension value corresponding to the first screening item;
creating the first filter item according to the target filter component and the target filter configuration information in the first filter item configuration information, including:
configuring the component name of the target screening component according to the first screening item name;
according to the first screening dimension value, configuring a component screening dimension value of the target screening component;
and creating a first screening item based on the target screening component after the information configuration.
3. The method of claim 2, wherein the target screening configuration information further comprises: a target screening manner corresponding to the first screening item, wherein the target screening manner is configured in advance based on at least two screening manners supported by the target screening component;
before the target screening component configured based on the information creates the first screening item, the method further includes:
and configuring the component screening mode of the target screening component according to the target screening mode.
4. The method of claim 2, wherein the target screening configuration information further comprises: an initial first screening dimension value corresponding to the first screening item, wherein the initial first screening dimension value is used for representing a first screening dimension value of the first screening item default selection;
before the target screening component configured based on the information creates the first screening item, the method further includes:
and configuring the initial screening dimension value of the target screening component according to the initial first screening dimension value so as to display the initial first screening dimension value in a preset selection frame of the created first screening item.
5. The method of claim 2, wherein the target screening configuration information further comprises: a preset screening item display style identifier corresponding to the first screening item;
creating a first screening item based on the target screening component after information configuration, wherein the first screening item comprises:
determining a preset screening item display style corresponding to the first screening item according to the preset screening item display style identification;
and creating a first screening item based on the preset screening item display style and the target screening component after information configuration, so that the created first screening item is displayed in the preset screening item display style.
6. The method of claim 1, after exhibiting the first filter item in the target page, further comprising:
determining a target screening condition corresponding to the target page based on data screening operation triggered by a user aiming at the first screening item;
generating a data acquisition request according to the target screening condition, and sending the data acquisition request to a server so that the server determines target page data meeting the target screening condition based on the data acquisition request;
and receiving the target page data returned by the server and displaying the target page data.
7. The method of claim 6, wherein the first filter configuration information comprises: a dimension value change function corresponding to the first screening item;
determining a target screening condition corresponding to the target page based on data screening operation triggered by the user for the first screening item, wherein the target screening condition comprises:
if the screening dimension value change operation triggered by the user aiming at the first screening item is detected, obtaining a target first screening dimension value currently selected by the first screening item by calling a dimension value change function corresponding to the first screening item;
and determining a target screening condition corresponding to the target page according to the target first screening dimension value.
8. The method of claim 1, further comprising:
acquiring preset document object model (Dom) information corresponding to a second screening item to be displayed in the target page;
and creating the second screening item according to the preset document object model (Dom) information, and displaying the second screening item in the target page.
9. The method of any one of claims 1-8, wherein the predetermined screening component comprises: at least one of a pull-down selection component, a pull-down multi-selection component, a cascade single-selection component and a cascade multi-selection component.
10. An information presentation device, comprising:
the first screening item configuration information acquisition module is used for acquiring first screening item configuration information corresponding to a first screening item to be displayed in a target page;
the target screening component determining module is used for determining a target screening component corresponding to the first screening item from preset screening components according to the target screening component identifier in the first screening item configuration information;
the first screening item display module is used for creating the first screening item according to the target screening component and the target screening configuration information in the first screening item configuration information, and displaying the first screening item in the target page.
11. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the information presentation method of any one of claims 1-9.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the information presentation method according to any one of claims 1 to 9.
CN202010331734.3A 2020-04-24 2020-04-24 Information display method, device, equipment and storage medium Pending CN111736825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010331734.3A CN111736825A (en) 2020-04-24 2020-04-24 Information display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010331734.3A CN111736825A (en) 2020-04-24 2020-04-24 Information display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111736825A true CN111736825A (en) 2020-10-02

Family

ID=72646734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010331734.3A Pending CN111736825A (en) 2020-04-24 2020-04-24 Information display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111736825A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112817515A (en) * 2021-01-29 2021-05-18 北京达佳互联信息技术有限公司 Data display method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789457A (en) * 2011-05-17 2012-11-21 航天信息股份有限公司 Method for dynamically customizing filter conditions
US20140067561A1 (en) * 2012-09-05 2014-03-06 Toshiba Tec Kabushiki Kaisha Information processing device and program
CN105701183A (en) * 2016-01-07 2016-06-22 无锡天脉聚源传媒科技有限公司 User personalized template implementation method and apparatus
CN108595681A (en) * 2018-05-02 2018-09-28 恒生电子股份有限公司 Method, apparatus and system for list displaying
CN109388395A (en) * 2018-09-06 2019-02-26 顺丰科技有限公司 A kind of instrument board configuration rendering method, system, equipment and storage medium
CN109871500A (en) * 2019-01-24 2019-06-11 平安科技(深圳)有限公司 Page loading method, device, computer equipment and storage medium
CN110209378A (en) * 2019-04-26 2019-09-06 平安科技(深圳)有限公司 Page generation method, device, terminal and storage medium
CN110968379A (en) * 2018-09-29 2020-04-07 北京京东尚科信息技术有限公司 Page control method and device of electronic equipment and electronic equipment
CN111045655A (en) * 2019-12-18 2020-04-21 广州市百果园信息技术有限公司 Page rendering method and device, rendering server and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789457A (en) * 2011-05-17 2012-11-21 航天信息股份有限公司 Method for dynamically customizing filter conditions
US20140067561A1 (en) * 2012-09-05 2014-03-06 Toshiba Tec Kabushiki Kaisha Information processing device and program
CN105701183A (en) * 2016-01-07 2016-06-22 无锡天脉聚源传媒科技有限公司 User personalized template implementation method and apparatus
CN108595681A (en) * 2018-05-02 2018-09-28 恒生电子股份有限公司 Method, apparatus and system for list displaying
CN109388395A (en) * 2018-09-06 2019-02-26 顺丰科技有限公司 A kind of instrument board configuration rendering method, system, equipment and storage medium
CN110968379A (en) * 2018-09-29 2020-04-07 北京京东尚科信息技术有限公司 Page control method and device of electronic equipment and electronic equipment
CN109871500A (en) * 2019-01-24 2019-06-11 平安科技(深圳)有限公司 Page loading method, device, computer equipment and storage medium
CN110209378A (en) * 2019-04-26 2019-09-06 平安科技(深圳)有限公司 Page generation method, device, terminal and storage medium
CN111045655A (en) * 2019-12-18 2020-04-21 广州市百果园信息技术有限公司 Page rendering method and device, rendering server and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
尹航;詹舒波;: "基于配置文件的web页面自动生成系统", 软件, vol. 35, no. 10, 31 December 2014 (2014-12-31) *
王军伟;李建民;林振荣;: "ASP.NET用户控件技术在新闻列表页面中的研究与应用", 计算机与现代化, no. 04, 15 April 2010 (2010-04-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112817515A (en) * 2021-01-29 2021-05-18 北京达佳互联信息技术有限公司 Data display method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US9032309B2 (en) Temporal task-based tab management
CN112651691A (en) Warehouse inventory processing method and device based on network sales order and electronic equipment
CN112732386A (en) Message processing method, device, terminal and storage medium
CN112558967A (en) Page automatic generation method and device, electronic equipment and storage medium
US9934292B2 (en) Dynamic presentation of a results set by a form-based software application
CN111258998A (en) Data verification method, device, medium and electronic equipment
CN112035555B (en) Information display method, device and equipment
CN111736825A (en) Information display method, device, equipment and storage medium
CN110333859B (en) Page creation method, page creation device, electronic device and computer readable storage medium
CN110674426B (en) Webpage behavior reporting method and device
CN110113443B (en) Social role management method, computer device and storage medium
CN115309470B (en) Method, device, equipment and storage medium for loading widget
CN115793911A (en) Data processing method and device, electronic equipment and storage medium
CN115795211A (en) Page display method, device, system, equipment and storage medium
CN113485686B (en) Information system program generation method and device, electronic equipment and storage medium
CN112416374B (en) Data processing method, device, terminal and storage medium
CN112104745A (en) Information configuration system, method, electronic device and storage medium
CN111399823A (en) Page component layout method, system and foreground terminal
CN112308580A (en) Resource bit providing method, device, equipment and readable storage medium
CN110659089A (en) Boarder application recommendation method, equipment and storage medium
US9904739B2 (en) Service provider system and service provider method
CN115509630B (en) Control processing method and device, electronic equipment and medium
CN111126737B (en) Cross-scene cross analysis method and device, electronic equipment and storage medium
CN116774984A (en) Calendar display assembly processing method and device, electronic equipment and storage medium
CN115934232A (en) View display method, device, medium and computing 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