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

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

Info

Publication number
CN111736825B
CN111736825B CN202010331734.3A CN202010331734A CN111736825B CN 111736825 B CN111736825 B CN 111736825B CN 202010331734 A CN202010331734 A CN 202010331734A CN 111736825 B CN111736825 B CN 111736825B
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.)
Active
Application number
CN202010331734.3A
Other languages
Chinese (zh)
Other versions
CN111736825A (en
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/CN111736825B/en
Publication of CN111736825A publication Critical patent/CN111736825A/en
Application granted granted Critical
Publication of CN111736825B publication Critical patent/CN111736825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

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

Abstract

The embodiment of the invention discloses an information display method, an information display device, information display equipment and a storage medium, wherein the information display 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 provided by 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
Embodiments of the present invention relate to computer technologies, and in particular, to an information display method, an apparatus, a device, and a storage medium.
Background
With the rapid development of computer technology, the data screening function in the page can be developed so as to display screened specific data in the page, improve the data viewing efficiency and meet the personalized requirements of users.
At present, screening codes corresponding to each screening item in a page can be written based on service 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 inventors found that at least the following problems exist in the prior art:
When a filtering item needs to be newly added in the page, for example, when a filtering item with a name different from that of the filtering item of the existing filtering item is newly added, a developer also needs to recode a filtering code corresponding to the newly added filtering item and package 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 page development efficiency and reducing 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 identification in the first screening item configuration information;
And creating the first screening item according to the target screening component and 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 display 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 the 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 identification in the first screening item configuration information;
and the first screening item display module is used for creating the first screening item according to the target screening component and 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, including:
one or more processors;
A memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to 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 program is executed by a processor to implement an information presentation method according to any embodiment of the present invention.
The embodiments of the above invention have the following advantages or benefits:
At least one preset screening component is preset, and different preset screening components can correspond to different screening modes. The method comprises the steps that a target screening component identifier corresponding to a first screening item can be configured in advance based on a screening mode corresponding to the first screening item to be displayed in a target page, target screening configuration information of the first screening item can be configured based on service requirements of the first screening item, corresponding first screening item configuration information is obtained, accordingly, the target screening component can be determined from preset screening components based on the target screening component identifier in the first screening item configuration information, and the first screening item can be quickly established and displayed according to the target screening component and the target screening configuration information. When a first screening item is needed to be newly added in the target page, only the configuration information of the newly added first screening item can be written, and the newly added first screening item can be quickly created in a mode of multiplexing a preset screening component without writing screening codes of the newly 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 display method according to a first embodiment of the present invention;
FIG. 2 is an illustration of a first screening option according to a first aspect of the present invention;
fig. 3 is a flowchart of an information display method according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an information display device 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 invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of an information display method according to an embodiment of the present invention, where the embodiment is applicable to a case of displaying a filtering item for filtering page data in a page. The method can be performed by an information presentation device, which can be implemented in software and/or hardware, and integrated into 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, acquiring first screening item configuration information corresponding to a first screening item to be displayed in a target page.
The target page may refer to a page to be currently displayed. The screening item may refer to a user operation item for screening data. For example, the screening options may be, but are not limited to: time screening options and channel screening options. The time filtering item may be a filtering item for filtering out page data at a specific time. Channel screening may be a screening for screening out page data obtained under a particular channel. The first filtering item may refer to a filtering item preset with configuration information in the target page, so that the first filtering item may be created and displayed based on the first filtering item configuration information. The number of the first screening items to be displayed in the target page can be one or more, and the specific number of the first screening items can be preset based on service requirements.
Specifically, each first filtering item to be displayed in each page can be configured in advance, so that first filtering item configuration information corresponding to each first filtering item is obtained. For each page, the first screening item configuration information corresponding to all the first screening items in the page can be stored in one screening item configuration file in advance, and the corresponding relation 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 can be obtained based on the corresponding relation 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 can be obtained from the target screening item configuration file.
S120, determining a target screening component corresponding to the first screening item from preset screening components according to the target screening component identification in the configuration information of the first screening item.
The preset filtering component may be a preset component that filters page data by using a specific filtering mode. The preset filtering component in this embodiment may be a component that is not configured with filtering item information. The number of preset screening components may be at least one. Different preset screening components can correspond to different screening modes. For example, the preset screening component may include: at least one of a drop down selection component, a drop down multiple selection component, a cascaded single selection component, and a cascaded multiple selection component. Wherein the drop down selection component may be a component that selects one or more screening dimension values in the screening item by a drop down manner. The drop-down selection component can support two screening modes, namely a drop-down single-choice mode and a drop-down multiple-choice mode. The drop down multiple choice component may be a component that selects multiple screening dimension values in a screening item by a drop down manner, which supports only one screening manner, the drop down multiple choice manner. The cascading radio component may be a component that selects one screening dimension value in each dimension in the screening item by a pull-down manner. For example, when the time screening options include three dimensions of year, month, and day, the time screening options may be generated using a hierarchical radio component. The cascading multiple-choice component may be a component that selects multiple screening dimension values at each level of dimension in the screening item in a drop-down manner. According to the embodiment, corresponding preset screening components can be preset based on a common screening mode, and each preset screening component can be provided with a component identifier so as to distinguish different preset screening components.
Specifically, when generating the configuration information of each first filtering item, the target filtering component identifier corresponding to each first filtering item may be configured in advance based on the filtering mode corresponding to each first filtering item, so that the target filtering component corresponding to the first filtering item may be determined from preset filtering components according to the target filtering component identifier in the configuration information of the first filtering item. For example, the target screening component identifier may be matched with the preset screening component identifier, and the preset screening component that is successfully matched may be determined as the target screening component, so as to obtain the target screening component that may support the screening manner of the first screening item.
S130, creating a first screening item according to the target screening component and 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 correspond to the first screening item. Fig. 2 gives an example of a first screening option. As shown in fig. 2, if the first filtering item is a time filtering item, the first filtering item is named: time; the first screening dimension value is: each time dimension value in the year, month, and day dimensions. If the first filtering item is a channel filtering item, the first filtering item name is: a channel; the first screening dimension values are all, APP and PC, wherein 'APP' is used for representing data acquired from a channel of an APP mobile terminal; the PC is used for representing the data acquired from the channel of the PC computer end; "all" is used to characterize the data acquired on both the APP Mobile side and the PC computer side.
Specifically, the first filtering item can be quickly created by injecting the target filtering configuration information in the first filtering item configuration information into the target filtering component. The first filtering item may be rendered based on a default presentation style in the cascading style sheet (CASCADING STYLE SHEETS, CSS) such that the first filtering item may be presented in the target page in the default presentation style.
Illustratively, "creating a first screening item from the target screening component and the target screening configuration information in the first screening item configuration information" in S130 may include: configuring the component name of the target screening component according to the first screening item name; configuring component screening dimension values of the target screening component according to the first screening dimension values; and creating a first screening item based on the target screening component after information configuration.
Specifically, the component name of the target filtering component may be updated to the configured first filtering item name, so that the target filtering component may be exposed with the first filtering item name. The component screening dimension value of the target screening component may be updated to the configured first screening dimension value such that the target screening component may exhibit the first screening dimension value such that a user may 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. By means of information configuration of the target screening component, the first screening item can be quickly and conveniently created, and configurability of the first screening item and high multiplexing of codes are achieved.
It should be noted that, each first filtering item to be displayed in the target page may be created and displayed in the manner of the steps S110 to S130, so that each first filtering item may be displayed in the target page, as shown in fig. 2. If at least two first screening options with the same screening mode exist in the target page, the at least two first screening options can correspond to the same preset screening component, so that each first screening option can be quickly created by using the preset screening component for multiple times. When a first screening item is needed to be newly added in the target page, only the configuration information of the newly added first screening item can be written, and the newly added first screening item can be quickly created in a mode of multiplexing a preset screening component without writing screening codes of the newly 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 method comprises the steps that a target screening component identifier corresponding to a first screening item can be configured in advance based on a screening mode corresponding to the first screening item to be displayed in a target page, target screening configuration information of the first screening item can be configured based on service requirements of the first screening item, corresponding first screening item configuration information is obtained, accordingly, the target screening component can be determined from preset screening components based on the target screening component identifier in the first screening item configuration information, and the first screening item can be quickly established and displayed according to the target screening component and the target screening configuration information. When a first screening item is needed to be newly added in the target page, only the configuration information of the newly added first screening item can be written, and the newly added first screening item can be quickly created in a mode of multiplexing a preset screening component without writing screening codes of the newly 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: the target screening manner corresponding to the first screening item may be configured in advance based on at least two screening manners supported by the target screening component. When the target screening component corresponding to the first screening item can support at least two screening modes, for example, when the target screening component is a pull-down selection component, the target screening mode corresponding to the first screening item can be configured in the target screening configuration information, so as to limit the target screening component to perform the screening operation in the target screening mode.
Accordingly, before the first filtering item is created based on the target filtering component after the information configuration, 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 single-selection mode and a drop-down multiple-selection mode, and the first screening item only needs to perform the screening operation by the drop-down single-selection mode, the target screening mode corresponding to the first screening item can be set to be the drop-down single-selection mode, so that the component screening mode of the target screening component can be configured to be the drop-down single-selection mode, so that the target screening component performs the screening operation by the drop-down single-selection mode, and by configuring the target screening mode, the reuse degree 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: the initial first screening dimension value corresponding to the first screening item may be used to characterize a first screening dimension value selected by default by 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 be "all", so that page data obtained on two channels, i.e. the APP mobile end and the PC computer end, may be obtained by default. If the user does not want to select this initial first screening dimension value, the initial first screening dimension value may be modified to obtain page data that the user thought of as.
Accordingly, before the first filtering item is created based on the target filtering component after the information configuration, 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 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 can be updated to be the configured initial first screening dimension value, so that the first screening dimension value selected by default by the first screening item can be displayed in a preset selection frame of the first screening item, and the initial first screening dimension value selected by default by the user is prompted. By configuring the initial first screening dimension values, the dynamic configuration of the first screening dimension values selected by default can be realized, and the personalized requirements of users are met.
On the basis of the above technical solution, the target screening configuration information may further include: and displaying the style identifier by a preset screening item corresponding to the first screening item. The preset screening item display style may be a display style customized by a user based on a service requirement in advance. The preset screening item presentation style identification may be, but is not limited to: the method comprises the steps of presetting a style name or a style storage path of a display style of a screening item.
Accordingly, creating a first screening item based on the information configured target screening component 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 information configured target screening component, 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 can be obtained by calling an interface corresponding to the preset screening item display style identifier. The target screening component after information configuration can be used as a first screening item which is created, and the first screening item is rendered based on a preset screening item display style, so that the first screening item can be displayed in a target page in the preset screening item display style. By configuring the preset screening item display style identification, the user definition of the screening item display style can be realized, the diversity of the display style is improved, and the personalized requirements of users are further met.
Based on the technical scheme, the method can further comprise the following steps: acquiring the Dom information of a preset document object model 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 filtering item may refer to a filtering item corresponding to a filtering manner used once. For example, if only one screening item is used in a certain screening manner in all the screening manners, the screening item can be used as a second screening item, and a preset screening component corresponding to the screening manner is not required to be set at this time, so that the situation that the preset screening component cannot be reused is avoided. The preset document object model Dom (Document Object Model) information may be programming interface information corresponding to a screen code of the second screen option which is pre-written.
Specifically, preset document object model Dom information corresponding to the second filtering item to be displayed in each page can be configured in advance, and each preset document object model Dom information in each page is stored in a filtering item configuration file of the corresponding page, so that the preset document object model Dom information corresponding to each second filtering item to be displayed in the target page can be obtained based on the target filtering item configuration file corresponding to the target page. And obtaining screening codes of each second screening item by calling an interface corresponding to the Dom information of each preset document object model, and rapidly creating and displaying the corresponding second screening item based on the obtained screening codes, so that the created first screening item and second screening item can be displayed in the target page. The second screening item is created by configuring the preset document object model Dom information, so that the resource waste caused by the fact that the screening component cannot be reused can be avoided, the resource utilization rate is improved, the flexibility of creating the screening item is improved, and the personalized requirements of users are further met.
Example two
Fig. 3 is a flowchart of an information display method according to a second embodiment of the present invention, where a manner of performing page data screening based on a displayed first screening item is described based on the foregoing embodiment. Wherein the same or corresponding terms as those of the above-described embodiments are not explained in detail herein.
Referring to fig. 3, the information display method provided in this embodiment specifically includes the following steps:
s210, acquiring first screening item configuration information corresponding to a first screening item to be displayed in a target page.
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 configuration information of the first screening item.
S230, creating a first screening item according to the target screening component and target screening configuration information in the first screening item configuration information, and displaying the first screening item in the target page.
S240, determining target screening conditions corresponding to the target pages based on data screening operation triggered by the user aiming at the first screening item.
The data filtering operation may include a change operation of a first filtering dimension value selected by the user by default for the first filtering item, so as to change the first filtering dimension value selected currently. The data filtering operation may further include a filtering determination operation by which the user confirms that the first filtering dimension value currently selected by the first filtering item is correct, such as by clicking a "determine" button in fig. 2. The target screening condition may refer to a condition that is satisfied by target page data intended by the user.
Specifically, the target first screening dimension value currently selected by each first screening item can be obtained based on the data screening operation triggered by the user for each first screening item displayed in the target page, so that a target screening condition containing the target first screening dimension value can be generated. For example, a storage object may be created, a first filtering item identifier corresponding to a first filtering item is used as key information in key value pair information, a target first filtering dimension value currently selected by the first filtering item is used as value information, key value pair information corresponding to the first filtering item is generated, the key value pair information corresponding to each first filtering item is stored in the storage object, and the storage object is returned, so that the target first filtering dimension value currently selected by each first filtering item can be quickly acquired through the returned storage object, and the determination efficiency of the target filtering condition is further improved.
Illustratively, the first filtering item configuration information may further include: and a dimension value change function corresponding to the first screening item. The dimension value change function may be a predefined function for obtaining the changed filter dimension value. Accordingly, S240 may include: if the screening dimension value changing operation triggered by the user aiming at the first screening item is detected, a target first screening dimension value currently selected by the first screening item is obtained by calling a dimension value changing 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.
Specifically, when the user wants to change the initial first filtering dimension value selected by default by the first selection frame, the filtering dimension value changing operation can be triggered by clicking the target first filtering dimension value to be selected. When the triggering screening dimension value changing operation is detected, the target first screening dimension value currently selected by the first screening item can be quickly obtained by calling the dimension value changing function corresponding to the first screening item, so that the changing efficiency is improved. And updating the storage object, and updating the value information corresponding to the first screening item stored in the storage object to the currently selected target first screening dimension value so that the storage object stores the target first screening dimension value which is selected latest. According to the embodiment, corresponding target screening conditions can be generated in real time according to dimension value changing operation triggered by a user, so that real-time updating of page data is realized; when detecting the screening determination operation triggered by the user confirming the first screening dimension value currently selected by the first screening item without any error, corresponding target screening conditions can be generated according to the target first screening dimension values of the first screening items, so that page data can be updated based on the user determination operation, and the resource utilization rate can be further improved.
It should be noted that, when the first filtering item and the second filtering item are displayed 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.
S250, generating a data acquisition request according to the target screening conditions, and sending the data acquisition request to the server so that the server determines target page data meeting the target screening conditions based on the data acquisition request.
Specifically, a data acquisition request including a target screening condition may be generated and sent to a server storing a page database, 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, obtain target page data satisfying the target screening condition, and return the target page data as response information.
S260, receiving target page data returned by the server and displaying the target page data.
Specifically, the received target page data can be displayed based on a preset page data display mode, for example, in a graphic or table mode, so that the data viewing efficiency is improved. The target page data can be displayed in a target page or in other preset pages, so that a user can view the screened target page data.
According to the technical scheme, the target page data meeting the target screening conditions can be obtained and displayed by sending the data acquisition request to the server, so that a user can view the page data screened out based on the screening items, and the data viewing efficiency is improved.
The following is an embodiment of an information display device provided by the embodiment of the present invention, which belongs to the same inventive concept as the information display method of the above embodiments, and details of the embodiment of the information display device, which are not described in detail, may refer to the embodiment of the information display method.
Example III
Fig. 4 is a schematic structural diagram of an information display device according to a third embodiment of the present invention, where the present embodiment is applicable to a case of displaying a filtering item for filtering page data in a page. As shown in fig. 4, the apparatus specifically includes: a first screen configuration information acquisition module 310, a target screen component determination module 320, and a first screen presentation 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, from preset screening components, a target screening component corresponding to the first screening item according to the target screening component identifier in the configuration information of the first screening item; the first filtering item display module 330 is configured to create a first filtering item according to the target filtering component and target filtering configuration information in the first filtering item configuration information, and display 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 method comprises the steps that a target screening component identifier corresponding to a first screening item can be configured in advance based on a screening mode corresponding to the first screening item to be displayed in a target page, target screening configuration information of the first screening item can be configured based on service requirements of the first screening item, corresponding first screening item configuration information is obtained, accordingly, the target screening component can be determined from preset screening components based on the target screening component identifier in the first screening item configuration information, and the first screening item can be quickly established and displayed according to the target screening component and the target screening configuration information. When a first screening item is needed to be newly added in the target page, only the configuration information of the newly added first screening item can be written, and the newly added first screening item can be quickly created in a mode of multiplexing a preset screening component without writing screening codes of the newly 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 screen item display 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;
The first screening item creating unit is used for creating a first screening item based on the target screening component after 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 term display module 330 further includes:
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 based on the target screening component after the information configuration.
Optionally, the target screening configuration information further includes: the first screening method comprises the steps of selecting a first screening item, wherein the first screening item corresponds to an initial first screening dimension value, and the initial first screening dimension value is used for representing the first screening dimension value selected by default by the first screening item;
the first filtering term display module 330 further includes:
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 first screening item is created based on the target screening component after the information configuration so as to display the initial first screening dimension value 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 screening item creation 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 information configured target screening component, 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 target screening conditions 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 conditions and sending the data acquisition request to the server so that the server determines target page data meeting the target screening conditions 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 changing operation triggered by the user aiming at the first screening item is detected, a target first screening dimension value currently selected by the first screening item is obtained by calling a dimension value changing 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.
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 includes: at least one of a drop down selection component, a drop down multiple selection component, a cascaded single selection component, and a cascaded multiple 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 display apparatus, each unit and module included are only divided according to the functional logic, but not limited to the above-mentioned division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
Example IV
Fig. 5 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention. Fig. 5 shows 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 merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 5, device 12 is in the form of a general purpose computing device. Components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include 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 can 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 or write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard disk drive"). Although not shown in fig. 5, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, 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 or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with device 12, and/or any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, device 12 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, via network adapter 20. As shown, network adapter 20 communicates with other modules of device 12 over bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the steps of an information presentation method provided in the present embodiment, 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 technical solution of the method for determining the reserved inventory provided in any embodiment of the present invention.
Example five
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the 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.
The computer storage media of embodiments of the invention may take the form of 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 a combination of any of the foregoing. 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 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.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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 of the present invention may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ 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 kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
It will be appreciated by those of ordinary skill in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device, or distributed over a network of computing devices, or they may alternatively be implemented in program code executable by a computer device, such that they are stored in a memory device and executed by the computing device, or they may be separately fabricated as individual integrated circuit modules, or multiple modules or steps within them may be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. 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, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (10)

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 identification in the first screening item configuration information;
Creating the first screening item according to the target screening component and target screening configuration information in the first screening item configuration information, and displaying the first screening item in the target page;
If the screening dimension value changing operation triggered by the user aiming at the first screening item is detected, a target first screening dimension value currently selected by the first screening item is obtained by calling a dimension value changing function corresponding to the first screening item in the first screening item configuration information; determining a target screening condition corresponding to the target page according to the target first screening dimension value;
generating a data acquisition request according to the target screening conditions, and sending the data acquisition request to a server so that the server determines target page data meeting the target screening conditions based on the data acquisition request;
and receiving the target page data returned by the server and displaying the target page data.
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 filtering item according to the target filtering component and the target filtering configuration information in the first filtering item configuration information, including:
Configuring the component name of the target screening component according to the first screening item name;
configuring component screening dimension values of the target screening components according to the first screening dimension values;
and creating a first screening item based on the target screening component after information configuration.
3. The method of claim 2, wherein the target screening configuration information further comprises: the target screening mode corresponding to the first screening item is configured in advance based on at least two screening modes supported by the target screening component;
Before creating the first filtering item based on the target filtering component after the information configuration, the method further comprises:
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: the initial first screening dimension value corresponding to the first screening item is used for representing a first screening dimension value selected by default by the first screening item;
Before creating the first filtering item based on the target filtering component after the information configuration, the method further comprises:
and configuring the initial screening dimension value of the target screening component according to the initial first screening dimension value 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: displaying a style identifier by a preset screening item corresponding to the first screening item;
creating a first screening item based on the information configured target screening component, including:
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 pattern and the information configured target screening component, so that the created first screening item is displayed in the preset screening item display pattern.
6. The method according to claim 1, wherein the method further comprises:
Acquiring the Dom information of a preset document object model 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.
7. The method of any one of claims 1-6, wherein the pre-set screening component comprises: at least one of a drop down selection component, a drop down multiple selection component, a cascaded single selection component, and a cascaded multiple selection component.
8. An information display 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 the 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 identification 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 target screening configuration information in the first screening item configuration information and displaying the first screening item in the target page;
the target screening condition determining module is used for obtaining a target first screening dimension value currently selected by the first screening item by calling a dimension value changing function corresponding to the first screening item in the first screening item configuration information if screening dimension value changing operation triggered by a user aiming at the first screening item is detected; determining a target screening condition corresponding to the target page according to the target first screening dimension value;
The data acquisition request sending module is used for generating a data acquisition request according to the target screening conditions and sending the data acquisition request to the server so that the server determines target page data meeting the target screening conditions 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.
9. An information presentation apparatus, the apparatus comprising:
one or more processors;
A memory for storing one or more programs;
when executed by the one or more processors, causes the one or more processors to implement the information presentation method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the information presentation method as claimed in any one of claims 1-7.
CN202010331734.3A 2020-04-24 2020-04-24 Information display method, device, equipment and storage medium Active CN111736825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010331734.3A CN111736825B (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 CN111736825B (en) 2020-04-24 2020-04-24 Information display method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111736825A CN111736825A (en) 2020-10-02
CN111736825B true CN111736825B (en) 2024-05-17

Family

ID=72646734

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN111736825B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112817515B (en) * 2021-01-29 2022-07-22 北京达佳互联信息技术有限公司 Data display method and device, electronic equipment and storage medium
CN115062077A (en) * 2022-06-15 2022-09-16 北京搜房科技发展有限公司 Information display method and device, storage medium and electronic equipment

Citations (8)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5695005B2 (en) * 2012-09-05 2015-04-01 東芝テック株式会社 Information processing apparatus and program

Patent Citations (8)

* 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
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
ASP.NET用户控件技术在新闻列表页面中的研究与应用;王军伟;李建民;林振荣;;计算机与现代化;20100415(04);全文 *
基于配置文件的web页面自动生成系统;尹航;詹舒波;;软件;20141231;35(10);全文 *

Also Published As

Publication number Publication date
CN111736825A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
CN105787077A (en) Data synchronizing method and device
CN109857506B (en) Method and device for realizing guide information, electronic equipment and storage medium
CN105335132B (en) Method, device and system for customizing application program function
CN111045653B (en) System generation method and device, computer readable medium and electronic equipment
CN111736825B (en) Information display method, device, equipment and storage medium
CN109885781B (en) Mixed page unified browsing method, device, equipment and storage medium
CN113204345A (en) Page generation method and device, electronic equipment and storage medium
CN112558967A (en) Page automatic generation method and device, electronic equipment and storage medium
CN111984239A (en) Page configuration method, device, server and storage medium
CN115795211A (en) Page display method, device, system, equipment and storage medium
US9934292B2 (en) Dynamic presentation of a results set by a form-based software application
US20220050562A1 (en) Methods and apparatuses for generating a hosted application
CN111258998A (en) Data verification method, device, medium and electronic equipment
CN113434063B (en) Information display method, device and equipment
CN114048415A (en) Form generation method and device, electronic equipment and computer readable storage medium
CN110333859B (en) Page creation method, page creation device, electronic device and computer readable storage medium
CN111061522B (en) Method, device, equipment and storage medium for generating front-end card assembly based on back end
CN105739717B (en) Data inputting method and device
CN112114804A (en) Application program generation method, device and system
CN115793911A (en) Data processing method and device, electronic equipment and storage medium
CN112068895B (en) Code configuration method, device, video playing equipment and storage medium
CN109948251B (en) CAD-based data processing method, device, equipment and storage medium
CN114594945A (en) Method, device, system, equipment and medium for generating advanced popup selection frame
US8775936B2 (en) Displaying dynamic and shareable help data for images a distance from a pointed-to location
CN111209739A (en) Electronic form, electronic device, storage medium, and electronic form verification method

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