CN115329232A - Page display method, device, equipment and medium - Google Patents

Page display method, device, equipment and medium Download PDF

Info

Publication number
CN115329232A
CN115329232A CN202210958113.7A CN202210958113A CN115329232A CN 115329232 A CN115329232 A CN 115329232A CN 202210958113 A CN202210958113 A CN 202210958113A CN 115329232 A CN115329232 A CN 115329232A
Authority
CN
China
Prior art keywords
information
display
content information
attribute content
target
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
CN202210958113.7A
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.)
CCB Finetech Co Ltd
Original Assignee
CCB Finetech 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 CCB Finetech Co Ltd filed Critical CCB Finetech Co Ltd
Priority to CN202210958113.7A priority Critical patent/CN115329232A/en
Publication of CN115329232A publication Critical patent/CN115329232A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Abstract

The disclosure provides a page display method which can be applied to the technical field of computers and the technical field of finance. The page display method comprises the following steps: responding to a page display request from a client, acquiring attribute information of an object to be displayed and size information of a target page, wherein the attribute information of the object to be displayed comprises M pieces of attribute content information and display size information corresponding to each attribute content, the display size information represents size information required for displaying the attribute content information on the target page, and M is a positive integer greater than 1; generating display sequence information according to the attribute content information and a preset rule; determining target attribute content information from the M pieces of attribute content information according to the display sequence information, the display size information and the size information of the target page; and displaying the target attribute content information on the target page according to the display sequence information.

Description

Page display method, device, equipment and medium
Technical Field
The present disclosure relates to the field of computer technologies and financial technologies, and in particular, to a page display method, apparatus, device, medium, and program product.
Background
In the process of displaying content on a web page, a traditional mode is column-by-column display, and when the content on the web page cannot display all the content, the content to be displayed is displayed in a manner similar to paging in a sliding process by generally adopting a slider bar manner.
In the process of implementing the inventive concept disclosed by the present disclosure, the inventor finds that, by adopting the traditional display mode, the contents to be displayed in the limited page space are complicated and disordered, and important information is difficult to find.
Disclosure of Invention
In view of the foregoing, the present disclosure provides page display methods, apparatuses, devices, media, and program products.
According to one aspect of the present disclosure, there is provided a page display method, including:
responding to a page display request from a client, acquiring attribute information of an object to be displayed and size information of a target page, wherein the attribute information of the object to be displayed comprises M pieces of attribute content information and display size information corresponding to each attribute content, the display size information represents size information required for displaying the attribute content information on the target page, and M is a positive integer greater than 1;
generating display sequence information according to the attribute content information and a preset rule;
determining target attribute content information from the M pieces of attribute content information according to the display sequence information, the display size information and the size information of the target page; and
and displaying the target attribute content information on the target page according to the display sequence information.
According to the embodiment of the disclosure, generating the display sequence information according to the attribute content information and the preset rule, includes:
determining a display weight corresponding to the attribute content information according to the attribute content information and a preset rule;
and generating display sequence information according to the display weight.
According to the embodiment of the disclosure, determining the display weight corresponding to the attribute content information according to the attribute content information and the preset rule includes:
determining a first weight and a second weight according to the attribute content information and a preset rule, wherein the first weight represents the weight corresponding to the attribute content information, and the second weight represents the weight corresponding to the object to be displayed;
and determining the display weight corresponding to the display content information according to the first weight and the second weight.
According to the embodiment of the disclosure, determining target attribute content information from attribute content information of an object to be displayed according to display sequence information, display size information and size information of a target page includes:
calculating size information of a target area according to the display size information corresponding to each attribute content and the display sequence information, wherein the target area represents an area required for displaying K attribute content information on a target page;
and determining K-1 attribute content information as the target attribute content information when the size information of the target area is larger than the size information of the target page, wherein K is a positive integer less than or equal to M.
According to the embodiment of the disclosure, calculating the size information of the target area according to the display size information corresponding to each attribute content and the display sequence information includes:
screening K attribute content information from the M attribute content information according to the display sequence information;
and calculating the size information of the target area according to the display size information corresponding to the K attribute content information.
According to the embodiment of the disclosure, displaying the target attribute content information on the target page according to the display sequence information comprises:
sequencing the target attribute content information according to the display sequence information to obtain a sequencing result;
dividing N target subregions on the target page according to the sequencing result, wherein each target subregion is used for displaying attribute content information, and N is a positive integer smaller than M;
on the target page, separating an Nth target sub-area and an N-1 th target sub-area by using an identifier;
and displaying the Nth target attribute content information in the Nth target subarea.
According to an embodiment of the present disclosure, the page display method further includes:
and responding to the clicking operation aiming at the Nth target sub-area, and displaying the attribute type information and the attribute content information corresponding to the Nth target attribute content information through a floating window.
Another aspect of the present disclosure provides a page displaying apparatus, including: the display device comprises an acquisition module, a generation module, a determination module and a first display module. The acquisition module is used for responding to a page display request from a client and acquiring attribute information of an object to be displayed and size information of a target page, wherein the attribute information of the object to be displayed comprises M pieces of attribute content information and display size information corresponding to each attribute content, the display size information represents the size information required for displaying the attribute content information on the target page, and M is a positive integer greater than 1. And the generating module is used for generating the display sequence information according to the attribute content information and the preset rule. And the determining module is used for determining target attribute content information from the M pieces of attribute content information according to the display sequence information, the display size information and the size information of the target page. And the first display module is used for displaying the target attribute content information on the target page according to the display sequence information.
According to an embodiment of the present disclosure, a generation module includes a first determination unit and a generation unit. The first determining unit is used for determining the display weight corresponding to the attribute content information according to the attribute content information and a preset rule. And the generating unit is used for generating the display sequence information according to the display weight.
According to an embodiment of the present disclosure, the first determination unit includes a first determination subunit and a second determination subunit. The first determining subunit is configured to determine, according to the attribute content information and according to a preset rule, a first weight and a second weight, where the first weight represents a weight corresponding to the attribute content information, and the second weight represents a weight corresponding to the object to be displayed. And the second determining subunit is used for determining the display weight corresponding to the display content information according to the first weight and the second weight.
According to an embodiment of the present disclosure, the determination module includes a calculation unit and a second determination unit. The calculating unit is used for calculating the size information of the target area according to the display size information corresponding to each attribute content and the display sequence information, wherein the target area represents the area required for displaying the K attribute content information on the target page. And a second determining unit configured to determine K-1 pieces of attribute content information as the target attribute content information, where K is a positive integer less than or equal to M, in a case where the size information of the target area is larger than the size information of the target page.
According to an embodiment of the present disclosure, a computing unit includes a screening subunit and a computing subunit. The screening subunit is configured to screen the K attribute content information from the M attribute content information according to the presentation sequence information. And the calculating subunit is used for calculating the size information of the target area according to the display size information corresponding to the K pieces of attribute content information.
According to an embodiment of the present disclosure, the first display module includes a sorting unit, a dividing unit, a separating unit, and a display unit. The sorting unit is used for sorting the target attribute content information according to the display sequence information to obtain a sorting result. And the dividing unit is used for dividing N target sub-areas on the target page according to the sequencing result, wherein each target sub-area is used for displaying attribute content information, and N is a positive integer smaller than M. And the separation unit is used for separating the Nth target sub-area and the (N-1) th target sub-area on the target page by using the identifier. And the display unit is used for displaying the Nth target attribute content information in the Nth target subarea.
According to an embodiment of the present disclosure, the page displaying apparatus further includes a second displaying module, configured to display, through a floating window, attribute type information and attribute content information corresponding to an nth target attribute content information in response to a click operation for the nth target sub-region.
Another aspect of the present disclosure provides an electronic device including: one or more processors; a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the page presentation method described above.
Another aspect of the present disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the above page showing method.
Another aspect of the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the page presentation method described above.
According to the embodiment of the disclosure, the attribute information of the object to be displayed and the size information of the target page are acquired, the display sequence information is generated according to the attribute content information and the preset rule, the target attribute content information is determined according to the display sequence information, the display size information and the size information of the target page, and the target display content information is displayed on the target page according to the display sequence information. The target attribute content information is determined according to the display sequence information, the display size information and the size information of the target page, so that the attribute information of the object to be displayed can be displayed on the limited target page in order, and the display sequence of all the target display content information is generated according to the preset rule, so that the problems that the attribute of the object to be displayed is complicated and disordered and the important attribute information is not convenient to find in the traditional page display method are solved.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following description of embodiments of the disclosure, taken in conjunction with the accompanying drawings of which:
FIG. 1 schematically illustrates an application scenario diagram of a page presentation method, apparatus, device, medium and program product according to embodiments of the disclosure;
FIG. 2 schematically shows a flow chart of a page presentation method according to an embodiment of the present disclosure;
FIG. 3 schematically shows a flowchart for presenting content information of a target attribute on a target page according to presentation order information according to a page presentation method of an embodiment of the present disclosure;
FIG. 4a is a schematic diagram that illustrates presenting target property content information on a target page, according to an embodiment of the disclosure;
FIG. 4b is a schematic diagram illustrating the presentation of attribute type information and attribute content information corresponding to the Nth target attribute content information through a floating window according to an embodiment of the disclosure;
FIG. 5 schematically shows a block diagram of a page presentation apparatus according to an embodiment of the present disclosure; and
fig. 6 schematically shows a block diagram of an electronic device adapted to implement a page presentation method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B, and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B, and C" would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and/or A, B, and C together, etc.).
It should be noted that the page display method and apparatus disclosed herein may be used in the field of computer technology and financial technology, and may also be used in any field other than the financial field and the field of computer technology.
The embodiment of the disclosure provides a page display method, which includes the steps of obtaining attribute information of an object to be displayed and size information of a target page, generating display sequence information according to attribute content information and a preset rule, determining the target attribute content information according to the display sequence information, the display size information and the size information of the target page, and displaying the target display content information on the target page according to the display sequence information. The target attribute content information is determined according to the display sequence information, the display size information and the size information of the target page, so that the attribute information of the object to be displayed can be displayed on the limited target page in order, and the display sequence of all the target display content information is generated according to the preset rule, so that the problems that the attribute of the object to be displayed is complicated and disordered and the important attribute information is not convenient to find in the traditional page display method are solved.
Fig. 1 schematically shows an application scenario diagram of a page presentation method according to an embodiment of the present disclosure.
As shown in fig. 1, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the page display method provided by the embodiment of the present disclosure may be generally executed by the server 105. Accordingly, the page display apparatus provided by the embodiment of the present disclosure may be generally disposed in the server 105. The page display method provided by the embodiment of the present disclosure may also be executed by a server or a server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Correspondingly, the page display device provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The page display method of the disclosed embodiment will be described in detail below with reference to fig. 2 to 4 based on the scenario described in fig. 1.
Fig. 2 schematically shows a flow chart of a page presentation method according to an embodiment of the present disclosure.
As shown in fig. 2, the page presentation of this embodiment includes operations S210 to S240.
In operation S210, in response to a page display request from a client, attribute information of an object to be displayed and size information of a target page are obtained, where the attribute information of the object to be displayed includes M pieces of attribute content information and display size information corresponding to each piece of attribute content, where the display size information represents size information required for displaying the attribute content information on the target page, and M is a positive integer greater than 1.
According to an embodiment of the present disclosure, the attribute content information may be an attribute value corresponding to a certain attribute type of the object to be displayed, for example: the object to be displayed may be a dog, and the attribute content information may be an attribute value corresponding to a variety attribute of the object to be displayed, for example: sammor jeans. The display size information corresponding to each attribute content may be 90% quantiles of the length occupied by the attribute content information on the target page.
In operation S220, presentation order information is generated according to the attribute content information and a preset rule.
According to the embodiment of the disclosure, the preset rule may be that display order information is generated from high to low according to the display necessity of the attribute content information. For example: the display necessity of the attribute content information a is 95%, the display necessity of the attribute content information B is 50%, and it can be determined according to a preset rule that the display sequence information is that the attribute content information a is displayed first and then the attribute content information B is displayed.
In operation S230, target attribute content information is determined from the M pieces of attribute content information according to the presentation order information, the presentation size information, and the size information of the target page.
According to an embodiment of the present disclosure, for example: the display sequence information generated according to the preset rule is as follows: attribute content information A 1 Attribute content information A 2 . m . The display size information is attribute content information A 1 The length required for display on the target page is L 1 Attribute content information A 2 The length required for display on the target page is L 2 . m Length L required for presentation on the target page m . The size information of the target page may be length information L of the target page p The attribute content information A can be selected according to the presentation sequence information 1 The length required for display on the target page is L 1 In turn, down with attribute content information A 2 Show on target pageThe required length is L 2 . k Length L required for presentation on the target page k Adding to obtain display attribute content information A 1 ~A k Required total length L s(k) When the total length L is s(k) Greater than L p And L is s(k-1) Less than L p In the case of (2), it is possible to determine the target attribute content information as A from the M pieces of attribute content information 1 ~A k-1
In operation S240, the target property content information is presented on the target page according to the presentation order information.
According to an embodiment of the present disclosure, for example: the target attribute content information can be displayed on the target page according to the display sequence information: attribute content information A 1 Attribute content information A 2 Attribute content information a k-1
According to the embodiment of the disclosure, the attribute information of the object to be displayed and the size information of the target page are acquired, the display sequence information is generated according to the attribute content information and the preset rule, the target attribute content information is determined according to the display sequence information, the display size information and the size information of the target page, and the target display content information is displayed on the target page according to the display sequence information. Because the target attribute content information is determined according to the display sequence information, the display size information and the size information of the target page, the attribute information of the object to be displayed can be displayed on the limited target page in order, and the display sequence of all the target display content information is generated according to the preset rule, so that the problems that the attribute of the object to be displayed is complicated and disordered and important attribute information is not convenient to find in the traditional page display method are solved.
According to the embodiment of the disclosure, generating the display sequence information according to the attribute content information and the preset rule comprises:
determining a display weight corresponding to the attribute content information according to the attribute content information and a preset rule;
and generating display sequence information according to the display weight.
According to an embodiment of the present disclosure, the attribute content information of the object to be displayed may include: attribute content information A 1 Attribute content information A 2 Attribute content information a m Determining the attribute content information A according to a preset rule 1 Is given a display weight of w 1 Attribute content information A 2 Is given a display weight of w 2 Attribute content information a m Is given a display weight of w m . For example: show weight w 1 、w 2 、...、w m Sequentially reducing, generating display sequence information as attribute content information A 1 Attribute content information A 2 Attribute content information a m
According to the embodiment of the present disclosure, the preset rule may be to determine the display weight according to the display detail degree of the object to be displayed, for example: the objects to be displayed comprise an article A, an article B and an article C, wherein the display content of the article A comprises picture content and text content, the display content of the article B only comprises the picture content, the display content of the article C only comprises the text content, according to a preset rule, the display weight configured for the article A is W1, the display weight configured for the article B is W2, and the display weight configured for the article C is W3, wherein W1 is larger than W2 and larger than W3.
According to the embodiment of the present disclosure, the preset rule may be to determine the display weight according to the special display identifier of the object to be displayed, and the special display identifier may be used to represent the importance degree of the object to be displayed in a certain display period, for example: in a first display period, if the article A is provided with a special display identifier, the display weight configured for the article A according to a preset rule is greater than the display weights of other articles; in the second display period, if the article B has a special display identifier, the display weight configured for the article B according to the preset rule is greater than the display weights of other articles. When more than two articles are provided with special display marks in the same display period, the corresponding weight can be determined according to the detail degree of the display content.
According to the embodiment of the disclosure, the display weight corresponding to the attribute content information is determined according to the preset rule, important attribute content information can be preferentially displayed on a limited target page, and the information display efficiency is improved.
According to the embodiment of the disclosure, determining the display weight corresponding to the attribute content information according to the attribute content information and the preset rule comprises:
determining a first weight and a second weight according to the attribute content information and a preset rule, wherein the first weight represents the weight corresponding to the attribute content information, and the second weight represents the weight corresponding to the object to be displayed;
and determining the display weight corresponding to the display content information according to the first weight and the second weight.
According to the embodiment of the disclosure, for the condition that a plurality of objects to be displayed need to be displayed on the target page, the weight of the attribute content information to be displayed can be determined together according to the weight corresponding to the objects to be displayed and the weight corresponding to the attribute content information of the objects to be displayed. For example: the weight corresponding to the object A to be displayed is W a The weight corresponding to the object B to be displayed is W b The object A to be displayed comprises M attribute content information: attribute content information A 1 Attribute content information A 2 Attribute content information a m Attribute content information A 1 The corresponding weight may be w 1 Attribute content information A 2 The corresponding weight may be w 2 Attribute content information a m The corresponding weight may be w m . The object B to be displayed comprises N attribute content information: attribute content information B 1 Attribute content information B 2 Attribute content information B n Attribute content information B 1 The corresponding weight may be w 1’ Attribute content information B 2 The corresponding weight may be w 2' Attribute content information B n The corresponding weight may be w n’
According to an embodiment of the present disclosure, a presentation weight corresponding to the presentation attribute content information may be determined according to a product of the first weight and the second weight. For example: the weight corresponding to the object A to be displayed is W a Attribute content information A thereof 1 Corresponding toWeight of w 1 Then attribute content information A 1 Corresponding display weight is W a w 1 . The weight corresponding to the object B to be displayed is W b Attribute content information B thereof 1 The corresponding weight may be w 1’ Then attribute content information B 1 Corresponding display weight is W b w 1’
According to the embodiment of the disclosure, the display weight of the attribute content information can be determined together according to the weight of the object to be displayed and the weight of the attribute content information of the object to be displayed, so that the important object to be displayed and the important attribute content information thereof can be displayed preferentially, and the information display effectiveness is improved.
According to the embodiment of the disclosure, determining target attribute content information from attribute content information of an object to be displayed according to display sequence information, display size information and size information of a target page includes:
calculating size information of a target area according to the display size information corresponding to each attribute content and the display sequence information, wherein the target area represents an area required for displaying K attribute content information on a target page;
and determining K-1 attribute content information as the target attribute content information when the size information of the target area is larger than the size information of the target page, wherein K is a positive integer less than or equal to M.
According to an embodiment of the present disclosure, for example: for the object A to be displayed, according to the display sequence, the display content information sequentially comprises: attribute content information A 1 Attribute content information A 2 . m . The display size information is attribute content information A 1 The length required for display on the target page is L 1 Attribute content information A 2 Length L required for presentation on the target page 2 . m Length L required for presentation on the target page m . The size information of the target area may be a length L of an area required for presenting the K pieces of attribute content information on the target page S(k) . At L S(k) Is greater than the length L of the target page p In the case of (2), the attribute content information a may be 1 Attribute content information A 2 Attribute content information a k-1 The content information is determined as the target attribute.
According to the embodiment of the disclosure, calculating the size information of the target area according to the display size information corresponding to each attribute content and the display sequence information includes:
screening K attribute content information from the M attribute content information according to the display sequence information;
and calculating the size information of the target area according to the display size information corresponding to the K attribute content information.
According to an embodiment of the present disclosure, at L S(k) Less than length L of target page p In the case of (2), the length L of the area required for presenting the K pieces of attribute content information S(k) On the basis of the attribute content information L of the (K + 1) th attribute content information k+1 Adding is carried out until the adding result is larger than the length L of the target page p
According to the embodiment of the disclosure, the total length L of all M attribute content information of the object A to be displayed S(m) Less than length L of target page p In the case of (2), the M pieces of attribute content information may each be determined as target attribute content information.
According to the embodiment of the disclosure, the total length L of all M attribute content information of the object A to be displayed S(m) Less than length L of target page p And the total length L of the M attribute content information is shown on the target page S(m) Is less than the display length L of the object A to be displayed on the target page a In this case, the display length L of the object a to be displayed on the target page may be set a The total length required to present the M attribute content information on the target page is determined.
According to an embodiment of the present disclosure, at L S(k) Is greater than the length L of the target page p In the case of (2), the attribute content information a may be 1 Attribute content information A 2 . k-1 The content information is determined as the target attribute. At this time, if the attribute content information A 1 Attribute content information A 2 Attribute content information a k-1 Total length L required for presentation on the target page S(k-1) Is less than the display length L of the object A to be displayed on the target page a The display length L of the object A to be displayed on the target page a The total length required to present the K-1 attribute content information on the target page is determined.
According to the embodiment of the disclosure, the size information of the target area is calculated by sequentially adding the display size information corresponding to each attribute content information according to the display sequence information, and under the condition that the size information of the target area is larger than the size information of the target page, the target attribute content information is selected to be the last corresponding attribute content information before the size information of the target page.
Fig. 3 schematically shows a flowchart for presenting the target attribute content information on the target page according to the presentation order information according to the page presentation method of the embodiment of the present disclosure.
As shown in fig. 3, the method of presenting the target property content information of this embodiment includes operations S310 to S340.
In operation S310, the target attribute content information is sorted according to the display order information to obtain a sorting result.
According to an embodiment of the present disclosure, for example: sequencing the target attribute content information according to the display sequence information, wherein the obtained sequencing result can be as follows: attribute content information A 1 Attribute content information A 2 Attribute content information a n
In operation S320, according to the sorting result, N target sub-regions are divided on the target page, where each target sub-region is used to display one attribute content information, where N is a positive integer smaller than M.
According to the embodiment of the present disclosure, according to the sorting result, N target sub-regions may be divided on the target page, for example: the 1 st target subregion can be used for showing' attribute content information A 1 ", the 2 nd target subregion can be used to show" attribute content information A 2 The target subarea of the 'N', 'N' can be used for showing the attribute content information A n ”。
In operation S330, an Nth target sub-area and an N-1 th target sub-area are separated by an identifier on a target page.
According to an embodiment of the present disclosure, the identifier may be ": "each target sub-area may be provided with a display frame, and each display frame is arranged between adjacent display frames": and isolating.
In operation S340, the nth target attribute content information is presented in the nth target sub-area.
According to the embodiment of the disclosure, the arrangement sequence of the target sub-regions may be the same as the display sequence, and each piece of display content information is sequentially displayed in the corresponding target sub-region according to the display sequence.
Fig. 4a schematically shows a schematic diagram of presenting target property content information on a target page according to an embodiment of the present disclosure.
As shown in fig. 4a, N target sub-regions are set on the target page 400, each target sub-region corresponds to one display frame, and a "is adopted between each display frame and an adjacent display frame: "separation: the 1 st display frame 410 shows the attribute content information A 1 ", the 2 nd display frame 420" attribute content information A 2 "attribute content information a" is shown in the "target sub-region 4N0 of the" target object "" n ”。
According to the embodiment of the disclosure, the target page is divided into the plurality of target sub-areas according to the display sequence, and the adjacent target sub-areas are separated by the identifiers, so that the attribute content information of the object to be displayed is displayed on the target page in order, and the user can conveniently identify the important attribute content information.
According to an embodiment of the present disclosure, the page display method further includes:
and responding to the clicking operation aiming at the Nth target sub-area, and displaying the attribute type information and the attribute content information corresponding to the Nth target attribute content information through a floating window.
According to an embodiment of the present disclosure, since space on the target page is limited, for relatively unimportant information, presentation may be performed in the form of a floating window. For example: and clicking the Nth target sub-area, and displaying the attribute type information and the attribute content information corresponding to the Nth target attribute content information in the floating window. The following steps can be adopted between the display frame of the attribute type information and the display frame of the attribute content information: "to separate.
FIG. 4b is a schematic diagram illustrating the presentation of attribute type information and attribute content information corresponding to the Nth target attribute content information through a floating window according to an embodiment of the disclosure;
as shown in fig. 4b, the nth target attribute content information may correspond to one attribute type information, or may correspond to a plurality of sub-attribute type information and sub-attribute content information. Displaying in a floating window: attribute type information A and attribute content information A corresponding to the attribute type information A; attribute type information B and attribute content information B corresponding to the attribute type information B; attribute type information C, and attribute content information C corresponding to the attribute type information C, and the like.
According to the embodiment of the disclosure, the attribute type information and the attribute content information are displayed through the floating window, so that more important attribute information can be displayed in a limited target page, and the attribute type information with lower importance is displayed through the floating window, so that the attribute information of the object to be displayed can be displayed more comprehensively and orderly on the premise of ensuring the tidiness of the page.
Based on the page display method, the disclosure also provides a page display device. The apparatus will be described in detail below with reference to fig. 5.
Fig. 5 schematically shows a block diagram of a structure of a page presentation apparatus according to an embodiment of the present disclosure.
As shown in fig. 5, the page displaying apparatus 500 of this embodiment includes an obtaining module 510, a generating module 520, a determining module 530, and a first displaying module 540.
The obtaining module 510 is configured to, in response to a page display request from a client, obtain attribute information of an object to be displayed and size information of a target page, where the attribute information of the object to be displayed includes M pieces of attribute content information and display size information corresponding to each piece of attribute content, where the display size information represents size information required for displaying the attribute content information on the target page, and M is a positive integer greater than 1. In an embodiment, the obtaining module 510 may be configured to perform the operation S210 described above, which is not described herein again.
The generating module 520 is configured to generate the display sequence information according to the attribute content information and the preset rule. In an embodiment, the generating module 520 may be configured to perform the operation S220 described above, which is not described herein again.
The determining module 530 is configured to determine the target attribute content information from the M pieces of attribute content information according to the display order information, the display size information, and the size information of the target page. In an embodiment, the determining module 530 may be configured to perform the operation S230 described above, which is not described herein again.
The first display module 540 is configured to display the target attribute content information on the target page according to the display sequence information. In an embodiment, the first display module 540 may be configured to perform the operation S240 described above, which is not described herein again.
According to an embodiment of the present disclosure, a generation module includes a first determination unit and a generation unit. The first determining unit is used for determining the display weight corresponding to the attribute content information according to the attribute content information and a preset rule. And the generating unit is used for generating the display sequence information according to the display weight.
According to an embodiment of the present disclosure, the first determination unit includes a first determination subunit and a second determination subunit. The first determining subunit is configured to determine, according to the attribute content information and according to a preset rule, a first weight and a second weight, where the first weight represents a weight corresponding to the attribute content information, and the second weight represents a weight corresponding to the object to be displayed. And the second determining subunit is used for determining the display weight corresponding to the display content information according to the first weight and the second weight.
According to an embodiment of the present disclosure, the determination module includes a calculation unit and a second determination unit. The calculating unit is used for calculating the size information of the target area according to the display size information corresponding to each attribute content and the display sequence information, wherein the target area represents the area required for displaying the K attribute content information on the target page. And a second determining unit, configured to determine K-1 attribute content information as the target attribute content information, where K is a positive integer less than or equal to M, if the size information of the target area is greater than the size information of the target page.
According to an embodiment of the present disclosure, a computing unit includes a screening subunit and a computing subunit. And the screening subunit is used for screening the K attribute content information from the M attribute content information according to the display sequence information. And the calculating subunit is used for calculating the size information of the target area according to the display size information corresponding to the K attribute content information.
According to an embodiment of the present disclosure, the first display module includes a sorting unit, a dividing unit, a separating unit, and a display unit. The sorting unit is used for sorting the target attribute content information according to the display sequence information to obtain a sorting result. And the dividing unit is used for dividing N target sub-areas on the target page according to the sequencing result, wherein each target sub-area is used for displaying attribute content information, and N is a positive integer smaller than M. And the separation unit is used for separating the Nth target sub-area and the (N-1) th target sub-area by using the identifier on the target page. And the display unit is used for displaying the Nth target attribute content information in the Nth target subarea.
According to an embodiment of the present disclosure, the page display apparatus further includes a second display module, configured to display, through a floating window, attribute type information and attribute content information corresponding to an nth target attribute content information in response to a click operation for the nth target sub-region.
According to an embodiment of the present disclosure, any plurality of the obtaining module 510, the generating module 520, the determining module 530, and the first presenting module 540 may be combined into one module to be implemented, or any one of the modules may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the disclosure, at least one of the obtaining module 510, the generating module 520, the determining module 530 and the first presenting module 540 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware and firmware, or any suitable combination of any of them. Alternatively, at least one of the obtaining module 510, the generating module 520, the determining module 530 and the first presenting module 540 may be at least partially implemented as a computer program module, which when executed may perform a corresponding function.
Fig. 6 schematically shows a block diagram of an electronic device adapted to implement a page presentation method according to an embodiment of the present disclosure.
As shown in fig. 6, an electronic device 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. Processor 601 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 601 may also include onboard memory for caching purposes. The processor 601 may comprise a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are stored. The processor 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. The processor 601 performs various operations of the method flows according to embodiments of the present disclosure by executing programs in the ROM 602 and/or RAM 603. It is to be noted that the programs may also be stored in one or more memories other than the ROM 602 and RAM 603. The processor 601 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
Electronic device 600 may also include input/output (I/O) interface 605, input/output (I/O) interface 605 also connected to bus 604, according to an embodiment of the disclosure. The electronic device 600 may also include one or more of the following components connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that the computer program read out therefrom is mounted in the storage section 608 as necessary.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: 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), 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 present disclosure, 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. For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 602 and/or RAM 603 described above and/or one or more memories other than the ROM 602 and RAM 603.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method illustrated in the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the method provided by the embodiment of the disclosure.
The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 601. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed in the form of signals over a network medium, downloaded and installed via the communication section 609, and/or installed from a removable medium 611. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program, when executed by the processor 601, performs the above-described functions defined in the system of the embodiments of the present disclosure. The above described systems, devices, apparatuses, modules, units, etc. may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments of the present disclosure and/or the claims may be made without departing from the spirit and teachings of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (11)

1. A page display method comprises the following steps:
responding to a page display request from a client, acquiring attribute information of an object to be displayed and size information of a target page, wherein the attribute information of the object to be displayed comprises M pieces of attribute content information and display size information corresponding to each attribute content, the display size information represents size information required for displaying the attribute content information on the target page, and M is a positive integer greater than 1;
generating display sequence information according to the attribute content information and a preset rule;
determining target attribute content information from the M pieces of attribute content information according to the display sequence information, the display size information and the size information of the target page; and
and displaying the target attribute content information on the target page according to the display sequence information.
2. The method of claim 1, wherein the generating presentation order information according to the attribute content information and according to a preset rule comprises:
determining a display weight corresponding to the attribute content information according to the preset rule and the attribute content information;
and generating the display sequence information according to the display weight.
3. The method of claim 2, wherein the determining, according to the attribute content information and according to the preset rule, the presentation weight corresponding to the attribute content information comprises:
determining a first weight and a second weight according to the attribute content information and the preset rule, wherein the first weight represents the weight corresponding to the attribute content information, and the second weight represents the weight corresponding to the object to be displayed;
and determining the display weight corresponding to the display content information according to the first weight and the second weight.
4. The method according to claim 1, wherein the determining target attribute content information from the attribute content information of the object to be displayed according to the display sequence information, the display size information and the size information of the target page comprises:
according to the display size information corresponding to each attribute content, calculating the size information of a target area according to the display sequence information, wherein the target area represents the areas required for displaying K pieces of attribute content information on the target page;
and under the condition that the size information of the target area is larger than the size information of the target page, determining K-1 attribute content information as target attribute content information, wherein K is a positive integer less than or equal to M.
5. The method according to claim 4, wherein the calculating the size information of the target area according to the presentation size information corresponding to each attribute content and the presentation order information comprises:
screening the K pieces of attribute content information from the M pieces of attribute content information according to the display sequence information;
and calculating the size information of the target area according to the display size information corresponding to the K pieces of attribute content information.
6. The method of claim 1, wherein said presenting said target property content information on said target page according to said presentation order information comprises:
sequencing the target attribute content information according to the display sequence information to obtain a sequencing result;
dividing N target subregions on the target page according to the sequencing result, wherein each target subregion is used for displaying one piece of attribute content information, and N is a positive integer smaller than M;
on the target page, separating an Nth target sub-area and an Nth) 1 st target sub-area by using identifiers;
and displaying the Nth target attribute content information in the Nth target subarea.
7. The method of claim 6, further comprising:
and responding to the clicking operation aiming at the Nth target sub-area, and displaying the attribute type information and the attribute content information corresponding to the Nth target attribute content information through a floating window.
8. A page display apparatus comprising:
an obtaining module, configured to obtain attribute information of an object to be displayed and size information of a target page in response to a page display request from a client, where the attribute information of the object to be displayed includes M pieces of attribute content information and display size information corresponding to each of the attribute contents, where the display size information represents size information required to display the attribute content information on the target page, and M is a positive integer greater than 1;
the generating module is used for generating display sequence information according to the attribute content information and a preset rule;
a determining module, configured to determine target attribute content information from the M pieces of attribute content information according to the display sequence information, the display size information, and the size information of the target page; and
and the first display module is used for displaying the target attribute content information on the target page according to the display sequence information.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method recited in any of claims 1-7.
10. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 7.
11. A computer program product comprising a computer program which, when executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202210958113.7A 2022-08-10 2022-08-10 Page display method, device, equipment and medium Pending CN115329232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210958113.7A CN115329232A (en) 2022-08-10 2022-08-10 Page display method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210958113.7A CN115329232A (en) 2022-08-10 2022-08-10 Page display method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN115329232A true CN115329232A (en) 2022-11-11

Family

ID=83921870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210958113.7A Pending CN115329232A (en) 2022-08-10 2022-08-10 Page display method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115329232A (en)

Similar Documents

Publication Publication Date Title
CN112395027B (en) Widget interface generation method and device, storage medium and electronic equipment
CN113505302A (en) Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment
CN113434241A (en) Page skipping method and device
CN115357761A (en) Link tracking method and device, electronic equipment and storage medium
CN114237651A (en) Installation method and device of cloud native application, electronic equipment and medium
CN111427637A (en) Page rendering method and device
CN112965916A (en) Page testing method, page testing device, electronic equipment and readable storage medium
CN115982491A (en) Page updating method and device, electronic equipment and computer readable storage medium
CN114237765B (en) Functional component processing method, device, electronic equipment and medium
CN113535565B (en) Interface use case generation method, device, equipment and medium
CN110888583B (en) Page display method, system and device and electronic equipment
CN113656041A (en) Data processing method, device, equipment and storage medium
CN115329232A (en) Page display method, device, equipment and medium
CN114218283A (en) Abnormality detection method, apparatus, device, and medium
CN113326079A (en) Service version switching method, switching device, electronic equipment and storage medium
CN114168607A (en) Global serial number generation method, device, equipment, medium and product
CN113448578A (en) Page data processing method, processing system, electronic device and readable storage medium
CN113553123A (en) Data processing method and device, electronic equipment and storage medium
CN114140091A (en) Operation record display method, device, equipment and medium
CN114510309B (en) Animation effect setting method, device, equipment and medium
CN114417091A (en) Data screening method and device, electronic equipment and storage medium
CN114268558B (en) Method, device, equipment and medium for generating monitoring graph
CN115828019A (en) Page generation method, device, equipment and storage medium
CN107870679B (en) Polyphone processing method and system
CN114385170A (en) Form generation method, device, equipment, medium and program product

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