CN113343133B - Display page generation method, related device and computer program product - Google Patents

Display page generation method, related device and computer program product Download PDF

Info

Publication number
CN113343133B
CN113343133B CN202110600185.XA CN202110600185A CN113343133B CN 113343133 B CN113343133 B CN 113343133B CN 202110600185 A CN202110600185 A CN 202110600185A CN 113343133 B CN113343133 B CN 113343133B
Authority
CN
China
Prior art keywords
link
display
display page
page
pages
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
CN202110600185.XA
Other languages
Chinese (zh)
Other versions
CN113343133A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110600185.XA priority Critical patent/CN113343133B/en
Publication of CN113343133A publication Critical patent/CN113343133A/en
Application granted granted Critical
Publication of CN113343133B publication Critical patent/CN113343133B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9558Details of hyperlinks; Management of linked annotations
    • 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/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure provides a display page generation method, a display page generation device, electronic equipment, a computer readable storage medium and a computer program product, and relates to the technical field of artificial intelligence such as big data processing and intelligent recommendation. One embodiment of the method comprises the following steps: and acquiring a weight configuration file, wherein the weight configuration file is used for determining the recommended priority of the link according to the attribute information of the link, prioritizing the links contained in the link database according to the weight configuration file, determining a target link based on a prioritized result, and generating a display page according to the target link. According to the embodiment, the content in the link database can be screened based on the matching of the attribute information in the links and the weight configuration file, so that after the links with higher use value are obtained, corresponding display pages are generated according to the obtained links, and the content quality of the display pages generated based on the links is improved.

Description

Display page generation method, related device and computer program product
Technical Field
The disclosure relates to the technical field of computers, in particular to the technical field of artificial intelligence such as big data processing and intelligent recommendation, and especially relates to a display page generation method, a device, electronic equipment, a computer readable storage medium and a computer program product.
Background
Because a large amount of data is generated in the internet every day, in order to facilitate the reading of users, the information interaction page usually presents part of key information only to the users and links with corresponding links, and when the users are interested in the part of key information, more specific contents are presented to the users in a page jumping and importing mode through the corresponding links.
Disclosure of Invention
The embodiment of the disclosure provides a display page generation method, a display page generation device, electronic equipment, a computer readable storage medium and a computer program product.
In a first aspect, an embodiment of the present disclosure provides a method for generating a display page, including: acquiring a weight configuration file, wherein the weight configuration file is used for determining the recommendation priority of the link according to the attribute information of the link; the links contained in the link database are prioritized according to the weight configuration file; and determining a target link based on the priority ranking result, and generating a display page according to the target link.
In a second aspect, an embodiment of the present disclosure provides a display page generating apparatus, including: a profile acquisition unit configured to acquire a weight profile for determining a recommendation priority of a link according to attribute information of the link; a prioritization unit configured to prioritize links contained in the link database according to the weight profile; and a display page generation unit configured to determine a target link based on the prioritized result and generate a display page from the target link.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to implement a display page generation method as described in any one of the implementations of the first aspect when executed.
In a fourth aspect, embodiments of the present disclosure provide a non-transitory computer-readable storage medium storing computer instructions for enabling a computer to implement a display page generation method as described in any one of the implementations of the first aspect when executed.
In a fifth aspect, embodiments of the present disclosure provide a computer program product comprising a computer program which, when executed by a processor, is capable of implementing a display page generation method as described in any one of the implementations of the first aspect.
The embodiment of the disclosure provides a display page generation method, a device, an electronic device, a computer readable storage medium and a computer program product, wherein a weight configuration file is obtained, the weight configuration file is used for determining the recommended priority of a link according to attribute information of the link, the links contained in a link database are subjected to priority ranking according to the weight configuration file, finally a target link is determined based on a priority ranking result, and a display page is generated according to the target link.
According to the method and the device, the content in the link database can be screened based on the matching of the attribute information in the links and the weight configuration files, the links in the link database can be screened under the condition that the weight configuration files are adjusted according to different screening requirements, corresponding display pages are generated after the links with higher use values are obtained, and the content quality of the display pages generated based on the links is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
Other features, objects and advantages of the present disclosure will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings:
FIG. 1 is an exemplary system architecture in which the present disclosure may be applied;
fig. 2 is a flowchart of a method for generating a display page according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of another method for generating a display page according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a method for generating a display page in an application scenario according to an embodiment of the present disclosure;
Fig. 5 is a block diagram of a display page generating apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device adapted to perform a method for generating a display page according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness. It should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other.
In addition, in the technical solution according to the present disclosure, the acquisition (for example, the user preference information for adjusting the weight configuration file, the user information related to the link data, etc.), the storage, the application, etc. of the related user personal information all conform to the rules of the related laws and regulations, and do not violate the public order colloquial.
FIG. 1 illustrates an exemplary system architecture 100 to which embodiments of the display page generation methods, apparatus, electronic devices, and computer-readable storage media of the present disclosure may be applied.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various applications for implementing information communication between the terminal devices 101, 102, 103 and the server 105, such as a web page optimization application, an intelligent recommendation application, an instant messaging application, and the like, may be installed on the terminal devices.
The terminal devices 101, 102, 103 and the server 105 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices with display screens, including but not limited to smartphones, tablets, laptop and desktop computers, etc.; when the terminal devices 101, 102, 103 are software, they may be installed in the above-listed electronic devices, which may be implemented as a plurality of software or software modules, or may be implemented as a single software or software module, which is not particularly limited herein. When the server 105 is hardware, it may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server; when the server is software, the server may be implemented as a plurality of software or software modules, or may be implemented as a single software or software module, which is not particularly limited herein.
The server 105 can provide various services through various built-in applications, and for example, can provide a webpage optimization class application based on the attention requirements of users, the server 105 can realize the following effects when running the webpage optimization class application: first, the server 105 may receive, through the network 104, a weight profile transmitted by the terminal devices 101, 102, 103 for determining a recommendation priority of the link according to attribute information of the link; the server 105 may then prioritize the links in the link database according to the weight profile; after completing the prioritization of the links, the server 105 may determine a target link for generating a display page based on the prioritization result, and generate a final display page according to the target link.
It should be noted that the weight profile may be stored in advance in the server 105 in various ways, in addition to being acquired from the terminal apparatuses 101, 102, 103 through the network 104. Thus, when the server 105 detects that such data has been stored locally (e.g., weight profiles determined from historical click data, heat information, etc. prior to beginning processing), such data may optionally be retrieved directly from locally, in which case the exemplary system architecture 100 may not include the terminal devices 101, 102, 103 and network 104.
Since the process of generating the display page based on the link needs to occupy more operation resources and stronger operation capability, the display page generation method provided in the subsequent embodiments of the present disclosure is generally executed by the server 105 having stronger operation capability and more operation resources, and accordingly, the display page generation device is also generally disposed in the server 105. However, it should be noted that, when the terminal devices 101, 102, 103 also have the required computing capability and computing resources, the terminal devices 101, 102, 103 may also complete each operation performed by the server 105 through the webpage optimization class application installed thereon, and further output the same result as the server 105. Especially in the case where there are a plurality of terminal devices having different computing capabilities at the same time, when the web page optimization class application determines that the terminal device where the web page optimization class application is located has a stronger computing capability and more computing resources remain, the terminal device may be allowed to perform the above-mentioned computation, so that the computing pressure of the server 105 is properly reduced, and accordingly, the display page generating device may also be provided in the terminal devices 101, 102, 103. In this case, the exemplary system architecture 100 may also not include the server 105 and the network 104.
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.
Referring to fig. 2, fig. 2 is a flowchart of a display page generating method according to an embodiment of the disclosure, where the flowchart 200 includes the following steps:
step 201, a weight profile is obtained.
In this embodiment, a weight configuration file is obtained by an execution body (for example, a server 105 shown in fig. 1) of a display page generating method, where the weight file is used to determine a recommendation priority of a link according to attribute information of the link, where the attribute information generally includes whether a display content corresponding to the link is visible, a specific position in a display page where the display content corresponding to the link is located, or an area ratio of the display content corresponding to the link in the display page where the display content corresponding to the link is located, and the weight configuration file is used to represent importance of each attribute information for generating the display page in the future.
Wherein the attribute information may generally include at least one of: the method comprises the functions of anchor text visibility corresponding to the links, display positions of display contents corresponding to the links, area occupation ratio of display contents corresponding to the links in a display page, maximum visible area of display contents corresponding to the links, minimum visible area of display contents corresponding to the links and links.
It should be noted that the weight configuration file may be obtained directly from a local storage device by the execution body, or may be obtained from a non-local storage device (for example, the terminal devices 101, 102, 103 shown in fig. 1). The local storage device may be a data storage module, such as a server hard disk, provided in the execution body, in which case the weight profile may be read quickly locally; the non-local storage device may also be any other electronic device arranged to store data, such as some user terminals or the like, in which case the executing entity may obtain the required weight profile by sending an acquisition command to the electronic device.
Further, the weight configuration file obtained by the execution body may be priority weight configuration information of the attribute information of the link, and after the execution body obtains the priority weight configuration information, the priority weight configuration information may be obtained based on a preference of a user obtaining the display page, and the obtaining manner may be according to active incoming of the user or may be determined based on click information in the user history data.
Step 202, prioritizing links contained in the link database according to the weight profile.
In this embodiment, at least one link is stored in the link database, where the links in the link database may originate from the same front-end display page or may originate from different front-end display pages, and after the execution body is based on the weight configuration file obtained in step 201, the evaluation rule and the weight relationship corresponding to the weight configuration file for evaluating the attribute information in the links may evaluate each link, so as to obtain the priority ranking of each link.
In practice, in order to facilitate prioritization, the evaluation result of the attribute information in the link information by the weight configuration file may be represented in a quantized form, for example, in the form of scoring, marking, and the like, and by way of example, two different links a and B, the score in the link a based on whether the display content is visible is 50, the score in the link B based on whether the display content is visible is 100, the area ratio score in the display page where the display content corresponding to the link a is located is 100, the area ratio score in the display page where the display content corresponding to the link B is located is 50, and according to the weight configuration file, the weight relationship between the area ratio in the display page where the display content visible and the display content corresponding to the link is located is 1: and 2, finally obtaining the score of the link A as 250, and the score of the link B as 200, and correspondingly determining that the priority of the link A is higher than that of the link B.
And 203, determining a target link based on the priority ranking result, and generating a display page according to the target link.
In this embodiment, after the priority ranking of each link is obtained in the above step 202, the target link is selected with reference to the priority ranking, and the display page is generated according to the corresponding relationship between the target link.
In order to facilitate the user to click in the link of the desired acquisition content according to the content of the display page, after the target link is determined, a corresponding content thumbnail frame, a prompt frame and the like can be generated according to the display content in the target link, and the generated content thumbnail frame, the generated prompt frame and the like are arranged in the display content to be displayed, so that the user can conveniently judge whether to enter the display page corresponding to the target link or not according to the information in the content thumbnail frame and the generated prompt frame, call the content in the target link, and promote the number of displayable content in the generated display page.
According to the display page generation method provided by the embodiment of the disclosure, the content in the link database can be screened based on the matching of the attribute information in the links and the weight configuration file, and the links in the link database can be screened under the condition that the weight configuration file is regulated only according to different screening requirements, so that the corresponding display page is generated after the links with higher values are used, and the content quality of the display page generated based on the links is improved.
In some optional implementations of this embodiment, in order to avoid that there is excessive content in the display page, not only affect the user to select the content, but also avoid that there is excessive content in the display page to cause too slow loading speed and waste loading resources, determine a target link based on the prioritized result, and generate the display page according to the target link, including: and determining the link information of the preset number of bits in the priority ordering result as a target link, and generating a display page according to the target link.
Specifically, after the links included in the link database are prioritized according to the weight configuration file, link information with a preset number of bits before the result of the prioritization may be selected as a target link based on the result of the prioritization, and the determining manner of the preset number of bits may at least include one of the following manners: the method comprises the steps of determining according to the supportable resolution of the terminal equipment for displaying the display page and the preferred presentation area corresponding to each link, determining according to the network transmission rate communicated with the user, determining according to the number of links which are selected by the user and are expected to be acquired and are selected by the user for receiving the display page, further optimizing the target links for generating the display page in the mode, and improving the link acquisition efficiency of the user under the condition that the quality of links acquired by the user is ensured.
In some optional implementations of this embodiment, because there may be a certain difference in content manners presented by links corresponding to different resource types, and in actual use, a user generally configures different link screening requirements according to different resource types, so in order to improve quality of the obtained target link, the method further includes: acquiring a link to be classified existing in a front chain page; and identifying the resource type of the link to be classified, and storing the link to be classified into a link database corresponding to the classification according to the resource type.
Specifically, when the link database is constructed, a plurality of classified link databases corresponding to the resource types are determined according to the resource types of the links, after the links to be classified exist from the front chain page, the resource information existing in the links to be classified is correspondingly classified into the resource types such as the video type resource types, the audio type resource types, the picture type resource types, the multi-document type resource types, the page dynamic resource/style type resource types and the like according to the resource information existing in the links to be classified, after the resource types of the links to be classified are determined, the corresponding link databases are correspondingly stored, so that the corresponding weight configuration files can be conveniently obtained according to the classification information of the link databases, the screening of the links with the same resource types can be realized, the flexible configuration can be realized according to the links with different resource types, the quality of the obtained target links can be improved, and the content quality of the finally obtained display page can be improved.
For example, when the resource information is avi, mov, rmvb, rm, flv, mp, 3gp, etc., a link database of video classification may be stored, the resource information is: mpeg, mp3, mpeg-4, midi, wma, etc. can be stored in a linked database of audio classifications, and the resource information is: jpg, image, png, gif, img, jpeg, etc., can store a link database of picture classification, and the resource information is: xsl, doc, pdf, rar, etc., can store a link database of document classifications, and the resource information is: js, css, etc., may be stored in a linked database of page dynamic resource/style classifications.
When there are multiple different link databases, the method for generating a display page may further integrate the display page generated based on each different link database, so as to perform different standard differential filtering on each part of content in the finally presented display page, where in some optional embodiments of the method for generating a display page further includes: in response to the existence of a plurality of classified link databases, respectively determining display pages corresponding to the classified link databases as display pages to be fused; and fusing the display pages to be fused with different classifications to generate a complete display page.
In another embodiment of the present disclosure, a specific implementation manner is provided, please refer to fig. 3, fig. 3 is a flowchart of another display page generating method provided in an embodiment of the present disclosure, wherein the flowchart 300 includes the following steps:
step 301, a weight configuration file corresponding to the classification link database is acquired.
In this embodiment, this step is similar to step 201 in the embodiment shown in fig. 2 described above, and the weight profile corresponding to the category link database is acquired by the execution subject of the display page generation method.
The classified link database stores links with the resource types belonging to the same category, and the weight configuration file corresponding to the classified link database is used for indicating that the recommendation priority relation among all links in the classified link database is determined according to the attribute information of the links included in the classified link database.
Step 302, prioritizing links included in the corresponding categorized link database according to the weight profile.
In this embodiment, the processing procedure of step 202 is the same as that of the embodiment shown in fig. 2, and will not be described again here.
And step 303, determining a target link based on the priority ranking result, and generating a database display page of the classified link according to the target link.
In this embodiment, according to the result of generating the priority ranking for the links in the classified link database, a target link is determined, and a display page corresponding to the classified link database is generated according to the target link, and the content in the display page is generated based on the links in the classified link database entirely.
And step 304, in response to the existence of the classified link databases of the plurality of classifications, respectively determining the display pages corresponding to the classified link databases as the display pages to be fused.
In this embodiment, after it is determined that display pages corresponding to respective classification databases are generated based on a plurality of different classification link databases, the pages are determined as display pages to be fused, respectively.
Step 305: and fusing the display pages to be fused to generate a complete display page.
In this embodiment, each page to be fused determined in the above steps is obtained, and each display page to be fused is fused to generate a complete display page.
When the display pages to be fused are fused, the fused display pages can be sequentially and transversely arranged and longitudinally arranged and then are spliced completely to obtain a complete display page, the content in the fused display pages can be respectively split into a plurality of independent display units, and the display units are spliced according to a preset rule or randomly to obtain the complete display page.
In this embodiment, further, when there are multiple categorized link databases, corresponding processing may be performed according to the requirements for links of each resource type, and the display pages corresponding to the categorized link databases may be fused to generate a complete display page, so as to perform differential processing for links of different resource types, thereby improving the effectiveness of resources that ultimately obtain the complete display page, and improving the quality of the generated display page.
It should be understood that when there are multiple classified link databases, a part of the classified link databases may be determined according to actual requirements to generate the complete display page, where each of the classified link databases refers to a part of the classified link databases determined according to actual requirements, and the generated display page corresponding to each of the classified link databases may also be selected to determine a page to be fused for generating the complete display page.
In some optional implementations of this embodiment, fusing each display page to be fused to generate a complete display page includes: determining page display proportion according to weight relation among the classified link databases; the size of the page to be displayed in a fusion mode corresponding to each classification link database is adjusted according to the page display proportion; and fusing the display pages to be fused according to the size-adjusted complete display pages.
Specifically, when the display pages to be fused are fused, the display proportion of the display pages to be fused can be determined according to the weight relation (for example, the weight relation among the determined resource types of different classifications) among the classification link databases corresponding to the display pages to be fused, the size of the display pages to be fused, which corresponds to the display pages to be fused, in the complete display pages is determined according to the size of the complete display pages to be finally generated, after the display pages to be fused are adjusted according to the size, the complete display pages are fused and generated based on the adjusted display pages to highlight the display pages corresponding to the classification link databases with higher weights, so that a user can conveniently obtain links with higher recommended levels and more important resource types classification.
In some optional implementations of this embodiment, the complete display page obtained by fusing the display pages to be fused according to the size adjusted display page includes: according to the initial display pages obtained by fusing the display pages to be fused after the size adjustment; and removing the to-be-fused display page with the size lower than a preset threshold value from the initial display page to obtain a complete display page.
Specifically, in the process of fusing the to-be-fused display pages, after the display proportion of each to-be-fused display page is determined according to the weight relation between the classification link databases corresponding to the to-be-fused display pages, each to-be-fused display page is adjusted according to the size, an initial display page is generated according to each adjusted to-be-fused display page, the to-be-fused display page corresponding to the part, with the size lower than the preset threshold value, in the initial display page is removed, and finally, according to each to-be-fused display page remaining after the removing operation, the complete display page is fused to be generated, so that low-value information which is undersized and is not easy to read in the finally generated complete display page is avoided.
The preset threshold of the size may be generally determined according to the display capability of the terminal device used to present the full display page, or may be determined according to information such as the size of the text in the initial display page.
Furthermore, when the complete display page is generated by fusing the rest display pages to be fused according to the rejection operation, the size of the rest display pages to be fused can be adjusted for the second time, so that blank areas in the generated complete display page are avoided after part of the display pages to be fused are deleted.
On the basis of any of the above embodiments, the source of the configuration file includes at least one of: the preference weight of the user on different attribute information, the ratio of the clicked frequency of each attribute information in the history data and the display content attribute of the display page.
Specifically, the weight configuration file is generally determined based on the preference degree of the attribute information in the links, so the executing body may acquire the preference weight of the user for each attribute information from the user in advance by sending a questionnaire to the user, or the executing body may determine the preference weight of the corresponding attribute information according to the preference selection of the same or different users for each attribute information in the history data, or determine the preference weight of the corresponding attribute information according to the click frequency data of the links corresponding to different attribute information, or determine the display content attribute of the finally obtained display page, for example, the finally obtained display page is a display page of a video website, and the attribute of the display content is video playing, so it may be determined that the area occupied in the display page corresponding to the links in the attribute information is higher than the function area occupied in the display page corresponding to the display page.
When determining the weight configuration file based on the ratio of the clicked frequency of each attribute information in the historical data, the historical data based on the same or different users can be selected according to different requirements to determine, when aiming at a specific individual, the historical data can be obtained based on the same user, and when aiming at an unspecified individual, the weight configuration file can be generated through analysis based on the historical data of each similar user.
In some optional embodiments, in the method for generating a display page, after a priority ordering result of links included in a link database is generated, a preset number of links with ordering order back are removed, so that low-quality links in the link database are removed, and link quality in the link database is ensured.
Furthermore, after the links are periodically captured from the network environment by the link database and stored, the links in the link database can be periodically sequenced according to the weight configuration file set by the service provider, and the links with the sequence order behind the preset number of links are removed, so that the links in the network environment can be automatically collected and cleaned.
For further understanding, the present disclosure also provides a specific implementation in connection with a specific application scenario, please refer to the flowchart 400 shown in fig. 4.
Step 401, obtaining a link to be classified existing in a front chain page.
Specifically, a link A to be classified and a link B to be classified are obtained from the front chain page.
And step 402, storing the links to be classified into a corresponding classified link database.
Specifically, the resource type of the link A to be classified and the resource type of the link B to be classified are respectively identified, the resource type of the link A to be classified is determined to be video classification, and the resource type of the link B to be classified is determined to be audio classification, so that the link A to be classified is stored in the video classification link database, and the link B to be classified is stored in the audio classification link database.
Step 403, obtaining a first weight configuration file corresponding to the video classification link database and a second weight configuration file corresponding to the audio classification database.
Step 404 prioritizes links in the video classification link database and prioritizes links in the audio classification database.
Specifically, the links included in the video classification link database and the audio classification link database are prioritized according to a first weight configuration file corresponding to the video classification link database and a second weight configuration file corresponding to the audio classification link database respectively, and a first prioritization result corresponding to the video classification link database and a second prioritization result corresponding to the audio classification link database are generated.
And step 405, generating a first to-be-fused display page and a second to-be-fused display page.
Specifically, a first target link and a second target link corresponding to the video classification link database and the audio classification link database are determined according to a first priority ranking result and a second priority ranking result respectively, and a first to-be-fused display page corresponding to the video classification link database and a second to-be-fused display page corresponding to the audio classification link database are generated.
In step 406, a complete display page is generated.
Specifically, the first fused display page and the second fused display page obtained in the step 405 are fused, and a complete display page is generated.
With further reference to fig. 5, as an implementation of the method shown in the foregoing figures, the present disclosure provides an embodiment of a display page generating apparatus, where an embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 5, the display page generation apparatus 500 of the present embodiment may include: a configuration file acquisition unit 501, a prioritization unit 502, and a display page generation unit 503. Wherein, the configuration file obtaining unit 501 is configured to obtain a weight configuration file, and the weight configuration file is used for determining the recommendation priority of the link according to the attribute information of the link; a prioritization unit 502 configured to prioritize links contained in the link database according to the weight profile; the display page generation unit 503 is configured to determine a target link based on the prioritized result, and generate a display page according to the target link.
In the present embodiment, in the display page generation apparatus 500: the specific processing of the configuration file obtaining unit 501, the prioritization unit 502, and the display page generating unit 503 and the technical effects thereof may refer to the relevant descriptions of steps 201 to 203 in the corresponding embodiment of fig. 2, and are not repeated herein.
In some optional implementations of this embodiment, the display page generating apparatus 500 further includes: the link extraction unit is configured to acquire links to be classified existing in the front chain page; and the link classification storage unit is configured to identify the resource type of the link to be classified and store the link to be classified into a classification link database corresponding to the classification according to the resource type.
In some optional implementations of this embodiment, the display page generating apparatus 500 further includes: a display page to be fused determining unit configured to determine display pages respectively corresponding to the respective classification link databases as display pages to be fused in response to the existence of the classification link databases of the plurality of classifications; the complete display page generation unit is configured to fuse the display pages to be fused to generate a complete display page.
In some optional implementations of the present embodiment, the complete display page generating unit includes: a display scale determination subunit configured to determine a page display scale according to a weight relationship between the classification link databases; the size adjustment subunit is configured to adjust the sizes of the pages to be fused, which are respectively corresponding to the classification link databases, according to the page display proportion; and the complete display page fusion subunit is configured to fuse the to-be-fused display pages according to the size-adjusted complete display pages.
In some optional implementations of this embodiment, the full display page fusion subunit includes: the initial display page generation module is configured to fuse the obtained initial display pages according to the display pages to be fused after the size adjustment; the low-size page eliminating module is configured to eliminate the to-be-fused display pages with the sizes lower than a preset threshold value in the initial display pages to obtain complete display pages.
In some optional implementations of this embodiment, the source of the weight profile includes at least one of: the preference weight of the user on different attribute information, the ratio of the clicked frequency of each attribute information in the history data and the display content attribute of the display page.
In some optional implementations of this embodiment, the display page generating unit 503 is further configured to determine the link information of the number of preset digits in the prioritized result as a target link, and generate the display page according to the target link.
The embodiment exists as an embodiment of a device corresponding to the embodiment of the method, and the display page generating device provided by the embodiment can screen contents in the link database based on the matching between attribute information in the links and the weight configuration file, and can screen the links in the link database under the condition of adjusting the weight configuration file according to different screening requirements, so that corresponding display pages are generated after the links with higher use values are obtained, and the content quality of the display pages generated based on the links is improved.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 6 illustrates a schematic block diagram of an example electronic device 600 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 may also be stored. The computing unit 601, ROM 602, and RAM 603 are connected to each other by a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Various components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, mouse, etc.; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the respective methods and processes described above, such as a display page generation method. For example, in some embodiments, the display page generation method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When a computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the display page generation method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the display page generation method in any other suitable way (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on 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.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user page or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of large management difficulty and weak service expansibility in the traditional physical host and virtual private server (VPS, virtual Private Server) service. Servers may also be divided into servers of a distributed system or servers that incorporate blockchains.
According to the technical scheme of the embodiment of the disclosure, the content in the link database can be screened based on the matching of the attribute information in the links and the weight configuration files, and the links in the link database can be screened under the condition that the weight configuration files are adjusted only according to different screening requirements, so that the corresponding display pages are generated after the links with higher use values are obtained, and the content quality of the display pages generated based on the links is improved.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel, sequentially, or in a different order, provided that the desired results of the technical solutions provided by the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (10)

1. A display page generation method, comprising:
acquiring a weight configuration file, wherein the weight configuration file is used for determining the recommendation priority of a link according to attribute information of the link, and the attribute information comprises at least one of whether display content corresponding to the link is visible, a specific position of presentation content corresponding to the link in a display page and an area occupation ratio of the presentation content corresponding to the link in the display page;
the links contained in the link database are prioritized according to the weight configuration file;
determining a target link based on a priority ranking result, and generating a display page according to the target link;
in response to the existence of a plurality of classified link databases, respectively determining display pages corresponding to the classified link databases as display pages to be fused;
determining page display proportion according to weight relation among the classified link databases;
the sizes of the pages to be fused, which are respectively corresponding to the classification link databases, are adjusted according to the page display proportion;
according to the initial display pages obtained by fusing the display pages to be fused after the size adjustment;
And eliminating the to-be-fused display pages with the sizes lower than a preset threshold value in the initial display pages to obtain complete display pages.
2. The method of claim 1, further comprising:
acquiring a link to be classified existing in a front chain page;
and identifying the resource type of the link to be classified, and storing the link to be classified into a classified link database corresponding to the classification according to the resource type.
3. The method of claim 1, wherein the source of the weight profile comprises at least one of:
the preference weight of the user on different attribute information, the ratio of the clicked frequency of each attribute information in the historical data and the display content attribute of the display page.
4. The method of claim 1, wherein the determining a target link based on the prioritization results and generating a display page from the target link comprises:
and determining the link information of the preset digits in the priority ordering result as a target link, and generating a display page according to the target link.
5. A display page generation apparatus comprising:
a configuration file obtaining unit, configured to obtain a weight configuration file, where the weight configuration file is configured to determine a recommendation priority of a link according to attribute information of the link, where the attribute information includes at least one of whether display content corresponding to the link is visible, a specific position of presentation content corresponding to the link in a display page where the presentation content corresponding to the link is located, and an area occupation ratio of the presentation content corresponding to the link in the display page where the presentation content corresponding to the link is located;
A prioritization unit configured to prioritize links contained in a link database according to the weight profile;
a display page generation unit configured to determine a target link based on a prioritized result and generate a display page according to the target link;
a display page to be fused determining unit configured to determine display pages respectively corresponding to the respective classification link databases as display pages to be fused in response to the existence of the classification link databases of the plurality of classifications;
a complete display page generation unit, the complete display page generation unit comprising: a display scale determination subunit configured to determine a page display scale according to a weight relationship between the classification link databases;
the size adjustment subunit is configured to adjust the sizes of the pages to be fused, which are respectively corresponding to the classification link databases, according to the page display proportion;
a complete display page fusion subunit, the complete display page fusion subunit comprising:
the initial display page generation module is configured to fuse the obtained initial display pages according to the display pages to be fused after the size adjustment;
And the low-size page eliminating module is configured to eliminate the to-be-fused display pages with the sizes lower than a preset threshold value in the initial display pages to obtain complete display pages.
6. The apparatus of claim 5, further comprising:
the link extraction unit is configured to acquire links to be classified existing in the front chain page;
and the link classification storage unit is configured to identify the resource type of the link to be classified and store the link to be classified into a classification link database corresponding to the classification according to the resource type.
7. The apparatus of claim 5, wherein the source of the weight profile comprises at least one of:
the preference weight of the user on different attribute information, the ratio of the clicked frequency of each attribute information in the historical data and the display content attribute of the display page.
8. The apparatus according to claim 5, wherein the display page generation unit is further configured to determine link information of a pre-set number of bits in the prioritization result as a target link, and generate the display page according to the target link.
9. An electronic device, comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the display page generation method of any one of claims 1-4.
10. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the display page generation method of any one of claims 1-4.
CN202110600185.XA 2021-05-31 2021-05-31 Display page generation method, related device and computer program product Active CN113343133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110600185.XA CN113343133B (en) 2021-05-31 2021-05-31 Display page generation method, related device and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110600185.XA CN113343133B (en) 2021-05-31 2021-05-31 Display page generation method, related device and computer program product

Publications (2)

Publication Number Publication Date
CN113343133A CN113343133A (en) 2021-09-03
CN113343133B true CN113343133B (en) 2024-01-09

Family

ID=77472660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110600185.XA Active CN113343133B (en) 2021-05-31 2021-05-31 Display page generation method, related device and computer program product

Country Status (1)

Country Link
CN (1) CN113343133B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934469B (en) * 2021-10-13 2023-11-24 北京有竹居网络技术有限公司 Template loading method, control method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019157894A1 (en) * 2018-02-13 2019-08-22 Oppo广东移动通信有限公司 Application page display method and apparatus, storage medium and electronic device
CN110781432A (en) * 2019-10-08 2020-02-11 北京字节跳动网络技术有限公司 Page jump method and device, electronic equipment and computer readable storage medium
CN112016026A (en) * 2020-07-24 2020-12-01 上海淇玥信息技术有限公司 Resource bit display method and device and electronic equipment
CN112733042A (en) * 2021-02-03 2021-04-30 北京百度网讯科技有限公司 Recommendation information generation method, related device and computer program product

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150286787A1 (en) * 2014-04-04 2015-10-08 Seamless Mobile Health Inc. System and method for managing healthcare

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019157894A1 (en) * 2018-02-13 2019-08-22 Oppo广东移动通信有限公司 Application page display method and apparatus, storage medium and electronic device
CN110781432A (en) * 2019-10-08 2020-02-11 北京字节跳动网络技术有限公司 Page jump method and device, electronic equipment and computer readable storage medium
CN112016026A (en) * 2020-07-24 2020-12-01 上海淇玥信息技术有限公司 Resource bit display method and device and electronic equipment
CN112733042A (en) * 2021-02-03 2021-04-30 北京百度网讯科技有限公司 Recommendation information generation method, related device and computer program product

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
William L. Formyduval ; David J. Thuente.Priority inversion and queue management for 802.11 priority WLANs.IEEE.2013,全文. *
基于Java EE的视频互动交友网站设计;李小武;周湘龙;;山西电子技术(第04期);全文 *
基于改进的Page Rank算法的网页主题相关度分析研究;普措才仁;齐爱琴;;电子技术与软件工程(第09期);全文 *

Also Published As

Publication number Publication date
CN113343133A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
CN109522483B (en) Method and device for pushing information
CN114329201B (en) Training method of deep learning model, content recommendation method and device
CN110929799B (en) Method, electronic device, and computer-readable medium for detecting abnormal user
CN110866040B (en) User portrait generation method, device and system
CN109862100B (en) Method and device for pushing information
CN114154013A (en) Video recommendation method, device, equipment and storage medium
CN109992719B (en) Method and apparatus for determining push priority information
CN110059172B (en) Method and device for recommending answers based on natural language understanding
CN113343133B (en) Display page generation method, related device and computer program product
CN113205189B (en) Method for training prediction model, prediction method and device
CN116955817A (en) Content recommendation method, device, electronic equipment and storage medium
CN114880498B (en) Event information display method and device, equipment and medium
CN114995719B (en) List rendering method, device, equipment and storage medium
CN112887426B (en) Information stream pushing method and device, electronic equipment and storage medium
CN115168732A (en) Resource recommendation method, device, equipment and storage medium
CN113127683A (en) Content recommendation method and device, electronic equipment and medium
CN114021642A (en) Data processing method and device, electronic equipment and storage medium
CN113051481A (en) Content recommendation method and device, electronic equipment and medium
CN112308074A (en) Method and device for generating thumbnail
CN113360765B (en) Event information processing method and device, electronic equipment and medium
CN113343090B (en) Method, apparatus, device, medium and product for pushing information
CN114528493A (en) Recommendation method and device, electronic equipment and storage medium
CN113852840B (en) Video rendering method, device, electronic equipment and storage medium
CN111460274B (en) Information processing method and device
CN108959346B (en) Method, device, medium and equipment for determining text file thumbnail information

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