CN115730165A - Page generation method and device, electronic equipment and storage medium - Google Patents

Page generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115730165A
CN115730165A CN202211515586.6A CN202211515586A CN115730165A CN 115730165 A CN115730165 A CN 115730165A CN 202211515586 A CN202211515586 A CN 202211515586A CN 115730165 A CN115730165 A CN 115730165A
Authority
CN
China
Prior art keywords
page
initial
jump
information
recommended
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
CN202211515586.6A
Other languages
Chinese (zh)
Inventor
杨文强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202211515586.6A priority Critical patent/CN115730165A/en
Publication of CN115730165A publication Critical patent/CN115730165A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a page generation method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of computers. The method comprises the following steps: responding to the content browsing request, and determining an initial information flow matched with the content browsing request; the initial information flow comprises at least one initial recommendation page; acquiring a page content type corresponding to each initial recommended page in the initial information flow; acquiring pre-constructed page jump general fields, and generating secondary page jump information corresponding to at least one initial recommended page according to the content type of each page and the page jump general fields; and adding the generated secondary page jump information to the corresponding initial recommended page to obtain a target recommended page so as to generate a target information stream. The method realizes the general construction of the second-level page jump information by constructing the page jump general field, is favorable for the convergence of a second-level page mount interface protocol, and reduces the maintenance cost and the development cost of the protocol.

Description

Page generation method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a page generation method, a page generation apparatus, an electronic device, and a computer-readable storage medium.
Background
With the popularization of the internet, the creation level of network contents is continuously improved, and the presentation of the network contents is exponentially and explosively increased. With content explosion and the squeezing of user time, content streams (feed streams) are generally adopted to recommend content of interest to a user.
In a common short video-like Application (App), a user can open a specific feed stream page for video consumption. In order to improve the consumption experience of the user and the permeability of other pages, the user can quickly jump between the pages, for example, a page of interest can be quickly jumped to when a friend page. To provide this ability to quickly transition pages, the application App may provide a corresponding quick jump entry on top of the feed stream page.
However, in the common secondary page mount method, the corresponding protocol interaction is generally performed according to the type of the secondary page entry to be newly added. However, the secondary pages are various in types, and the types of the quick jump entries are complex, so that multiple sets of secondary page quick jump entry protocols exist between the server and the client, and the maintenance cost of the protocols is high. In addition, when a secondary page type is newly added, a new entry protocol needs to be agreed again, and the development cost is high.
Disclosure of Invention
The present disclosure provides a page generation method, a page generation device, an electronic device, a computer-readable storage medium, and a computer program product, so as to at least solve the problem in the related art that the development cost and the maintenance cost of a two-level page shortcut jump entry protocol are high due to the fact that two-level pages are various and the style of a shortcut jump entry is complex. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a page generation method is provided, which is applied to a server and includes: in response to a content browsing request, determining an initial information stream matched with the content browsing request; the initial information flow comprises at least one initial recommendation page; acquiring a page content type corresponding to each initial recommended page in the initial information flow; acquiring pre-constructed general page jump fields, and generating secondary page jump information corresponding to at least one initial recommended page according to each page content type and the general page jump fields; and adding the generated secondary page jump information to a corresponding initial recommendation page to obtain a target recommendation page so as to generate a target information stream based on the target recommendation page.
In an exemplary embodiment of the present disclosure, the page jump general field is obtained by: acquiring a plurality of historical recommendation pages; determining candidate secondary page jump information corresponding to each historical recommendation page; the candidate secondary page jump information comprises at least one page jump field; and carrying out information integration processing on page jump fields corresponding to the candidate secondary page jump information respectively to obtain the page jump general fields.
In an exemplary embodiment of the present disclosure, the page jump general field includes any one or more of a page jump prompt text, a page jump link, a page jump show icon, and a page entry type in combination.
In an exemplary embodiment of the present disclosure, the number of the initial recommendation pages is plural; generating secondary page jump information corresponding to at least one initial recommended page according to each page content type and the page jump general field, wherein the secondary page jump information comprises: determining page sorting results corresponding to the plurality of initial recommended pages; determining a first initial page from the plurality of initial recommended pages according to the page sorting result, wherein the first initial page is an initial recommended page with a first page sorting order; acquiring a first page type corresponding to the first initial page; and performing field instantiation processing on the page jump general field according to the first page type to generate first secondary page jump information corresponding to the first initial page.
In an exemplary embodiment of the present disclosure, the generating, according to each of the page content types and the page jump general field, secondary page jump information corresponding to at least one of the initial recommended pages further includes: obtaining page sequencing results corresponding to the plurality of initial recommended pages; acquiring a second initial page from the plurality of initial recommended pages according to the page sorting result, wherein the second initial page is other initial recommended pages except the first initial page; acquiring a second page type corresponding to each second initial page, wherein the second initial pages comprise pages of the same type, and the pages of the same type are determined based on the second page type; and generating second-level page jump information corresponding to the pages of the same type according to the page types of the pages of the same type and the page jump general field.
In an exemplary embodiment of the present disclosure, the generating, according to the page types of the multiple pages of the same type and the page jump general field, second level page jump information corresponding to the pages of the same type includes: performing page classification on the second initial pages based on the second page type to obtain at least one page set of the same type; determining a first page of the same type from the page set of the same type according to the page sorting result; the first page of the same type is a page of the same type with a first-order page sequence; and generating second-level page jump information corresponding to the first page of the same type according to the page type of the first page of the same type and the page jump general field.
In an exemplary embodiment of the present disclosure, the generating, according to each of the page content types and the page jump general field, secondary page jump information corresponding to at least one of the initial recommended pages further includes: determining target user information based on the content browsing request; the target user information comprises user browsing preference data; determining a jump page to be mounted from the at least one initial recommended page according to the page content type and the user browsing preference data; and generating third secondary page skipping information corresponding to the skipping page to be mounted.
According to a second aspect of the embodiments of the present disclosure, there is provided a page generation method applied to a client, including: receiving a target information stream returned by a server based on a content browsing request, wherein the target information stream comprises a target recommendation page; the target recommendation page comprises secondary page jump information, and the secondary page jump information is generated by performing field instantiation on a page jump general field according to the page content type; and displaying the target recommended page, providing a secondary page jump control through the target recommended page, and jumping to a secondary page corresponding to the target recommended page through the secondary page jump control, wherein the secondary page jump control is generated based on the secondary page jump information.
According to a third aspect of the embodiments of the present disclosure, there is provided a page generating apparatus, applied to a server, including: the information flow determining module is used for responding to a content browsing request and determining an initial information flow matched with the content browsing request; the initial information flow comprises at least one initial recommendation page; a page type obtaining module, configured to obtain a page content type corresponding to each initial recommended page in the initial information stream; the skip information generation module is used for acquiring pre-constructed general page skip fields and generating secondary page skip information corresponding to at least one initial recommended page according to each page content type and the general page skip fields; and the target page generation module is used for adding the generated secondary page jump information to the corresponding initial recommendation page to obtain a target recommendation page so as to generate a target information stream based on the target recommendation page.
In an exemplary embodiment of the present disclosure, the page generating apparatus further includes a general field generating module, configured to obtain a plurality of history recommendation pages; determining candidate secondary page jump information corresponding to each historical recommendation page; the candidate secondary page jump information comprises at least one page jump field; and carrying out information integration processing on page jump fields corresponding to the candidate secondary page jump information respectively to obtain the page jump general fields.
In an exemplary embodiment of the present disclosure, the number of the initial recommendation pages is plural; the skip information generating module includes a first skip information generating unit configured to: determining page sorting results corresponding to the plurality of initial recommended pages; determining a first initial page from the plurality of initial recommended pages according to the page sorting result, wherein the first initial page is an initial recommended page with a first page sorting order; acquiring a first page type corresponding to the first initial page; and performing field instantiation processing on the page jump general field according to the first page type to generate first secondary page jump information corresponding to the first initial page.
In an exemplary embodiment of the present disclosure, the skip information generating module further includes a second skip information generating unit configured to: obtaining page sequencing results corresponding to the plurality of initial recommended pages; acquiring a second initial page from the plurality of initial recommended pages according to the page sorting result, wherein the second initial page is other initial recommended pages except the first initial page; acquiring a second page type corresponding to each second initial page, wherein the second initial pages comprise pages of the same type, and the pages of the same type are determined based on the second page type; and generating second-level page jump information corresponding to the pages of the same type according to the page types of the pages of the same type and the page jump general field.
In an exemplary embodiment of the present disclosure, the second skip information generating unit includes a skip information generating subunit operable to: performing page classification on the second initial pages based on the second page type to obtain at least one page set with the same type; determining a first page of the same type from the page set of the same type according to the page sorting result; the first page of the same type is a page of the same type with a first-order page sequence; and generating second-level page jump information corresponding to the first page of the same type according to the page type of the first page of the same type and the page jump general field.
In an exemplary embodiment of the present disclosure, the skip information generating module further includes a third skip information generating unit, configured to: determining target user information based on the content browsing request; the target user information comprises user browsing preference data; determining a jump page to be mounted from the at least one initial recommended page according to the page content type and the user browsing preference data; and generating third secondary page skipping information corresponding to the skipping page to be mounted.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a page generating apparatus, applied to a client, including: the page data receiving module is used for receiving a target information stream returned by a server based on a content browsing request, wherein the target information stream comprises a target recommendation page; the target recommendation page comprises secondary page jump information, and the secondary page jump information is generated by performing field instantiation on a page jump general field according to the page content type; and the target page display module is used for displaying the target recommended page, providing a secondary page jump control through the target recommended page, and jumping to a secondary page corresponding to the target recommended page through the secondary page jump control, wherein the secondary page jump control is generated based on the secondary page jump information.
According to a fifth aspect of the present disclosure, there is provided an electronic device comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement any one of the above-mentioned page generation methods.
According to a sixth aspect of the present disclosure, there is provided a computer-readable storage medium, wherein instructions of the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform any one of the above-mentioned page generation methods.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program/instructions, wherein the computer program/instructions, when executed by a processor, implement the page generating method of any one of the above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: the method has the advantages that the page jump general fields of various different page content types are constructed in advance, and the corresponding second-level page jump information is generated for the recommended pages of different types, so that the general construction of the second-level page jump information is realized, the convergence of a second-level page mount interface protocol is facilitated, and the maintenance cost and the development cost of the protocol are reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a flowchart illustrating a page generation method according to an exemplary embodiment.
FIG. 2 is an overall architecture diagram illustrating one method of page generation in accordance with an exemplary embodiment.
FIG. 3 is a flow diagram illustrating another page generation method in accordance with an exemplary embodiment.
FIG. 4 is an effect diagram illustrating a target recommendation page according to an example embodiment.
Fig. 5 is a block diagram illustrating a page generating apparatus according to an example embodiment.
Fig. 6 is a block diagram illustrating a page generating apparatus according to an example embodiment.
Fig. 7 schematically illustrates a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in other sequences than those illustrated or described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In a common short video class App, a user can open a specific Feed stream page for video consumption. In order to improve the consumption experience of the user and the permeability of the rest pages, the short video App expects that the user can quickly jump between pages, for example, a friend page can quickly jump to a concerned page. In order to provide this ability to quickly transition pages, a corresponding quick jump entry needs to be provided at the top of the feed stream page. In a common secondary page mount method, the corresponding protocol interaction is generally performed according to the style of the secondary page entry to be newly added.
However, in the above solution, because the secondary pages are various in types and the types of the quick jump entries are complex, multiple sets of protocols for the quick jump entries of the secondary pages may exist between the server and the client, and the maintenance cost of the protocols is high. In addition, when a secondary page type is newly added, a new protocol needs to be agreed again, and the new protocol can be realized only by collaborative development of developers at a server side and a client side, so that the development cost is high.
Based on this, according to the embodiments of the present disclosure, a page generation method, a page generation apparatus, an electronic device, a computer-readable storage medium, and a computer program product are provided.
In this context, it is to be understood that the term referred to, e.g. feed stream, may be an information stream that is continuously updated and presented to the user content. For example, in a short video recommendation scenario, where each work is a feed, multiple feeds may make up a feed stream. The second-level page may refer to a jump from the current page to another page, and may call the other page as the second-level page of the current page.
Fig. 1 is a flowchart illustrating a page generation method according to an exemplary embodiment, and as shown in fig. 1, the page generation method may be used in a server which may be configured in a computer device, wherein the computer device described in the present disclosure may include a mobile terminal device such as a mobile phone, a tablet computer, a notebook computer, a palm top computer, a Personal Digital Assistant (PDA), and a fixed terminal device such as a desktop computer. The exemplary embodiment is illustrated by applying the method to a computer device, and it is understood that the method may also be applied to a server, and may also be applied to a system including a computer device and a server, and is implemented by interaction of the computer device and the server. The method specifically comprises the following steps.
In step S110, in response to the content browsing request, determining an initial information stream matching the content browsing request; the initial information flow comprises at least one initial recommendation page.
In an exemplary embodiment of the present disclosure, the content browsing request may be a corresponding request generated by a user performing a content browsing operation through a client. The initial information stream may be a set of recommended content information streams determined based on user information contained in the content browsing request. The initial recommendation page may be a plurality of recommendation pages included in the initial information stream, i.e., the content of the work included in the feed stream.
Referring to fig. 2, fig. 2 is an overall architecture diagram illustrating a page generation method according to an exemplary embodiment. As can be seen from fig. 2, a user may perform a content browsing operation through a client, and in step S201, the client generates a content browsing request according to the content browsing operation of the user to request a recommendation page. For example, when a user starts a certain application App and clicks to enter a certain feed stream page, it may be considered that the user needs to perform a content browsing operation next time, at this time, the client generates a corresponding content browsing request according to the content browsing operation, and the generated content browsing request may include user information of the user; the user information may include user basic information and user browsing preference information.
The method comprises the steps that a client sends a content browsing request to a server to request an interface of a feed stream of the server, when the server receives the content browsing request, the server responds to the content browsing request and determines an initial information stream matched with user browsing preference information, the initial information stream comprises at least one initial recommended page, and the initial recommended page does not comprise corresponding secondary page skipping information.
In step S120, a page content type corresponding to each initial recommended page in the initial information stream is obtained.
In an exemplary embodiment of the present disclosure, the page content type may be a specific type of recommended content included in the initial recommended page, and the page content type may be divided according to the specific type of recommended content.
After at least one initial recommended page included in the initial information flow is obtained, the page content type corresponding to each initial recommended page can be obtained. For example, the page content types may include, but are not limited to, a type of content of a fun, a type of content of a sporting event, a type of content of a documentary, a type of content of a movie clip, and so forth.
In step S130, a pre-constructed page jump general field is obtained, and secondary page jump information corresponding to at least one initial recommended page is generated according to each page content type and the page jump general field.
In an exemplary embodiment of the present disclosure, the page jump general field may be a general field generated by encapsulating a plurality of different secondary page jump entry patterns. The secondary page jump information may be page jump information used when jumping to a secondary page corresponding to the browsed page through the current browsed page.
With continued reference to FIG. 2, in step S202, a secondary page entry is obtained. After the page content type corresponding to each initial recommended page is obtained, a pre-constructed page jump general field can be obtained. The page jump general field can be generated after the secondary page entry styles of a plurality of different recommended pages are encapsulated, so when a new secondary page entry is generated for an initial recommended page, each field attribute in the page jump general field can be instantiated according to different page content types, a specific field value is given, and secondary page jump information corresponding to each initial recommended page is generated.
In step S140, the generated secondary page jump information is added to the corresponding initial recommended page to obtain a target recommended page, so as to generate a target information stream based on the target recommended page.
In an exemplary embodiment of the present disclosure, the target recommendation page may be a recommendation page generated after the secondary page jump information is added to the initial recommendation page. The target information flow may be an information flow generated correspondingly after a secondary page entry mount operation is added to the initial information flow.
After the secondary page skip information is generated, the generated secondary page skip information can be added to the corresponding initial recommended page, so that the service end can perform a series of processing such as feed stream rendering, analysis and the like according to each initial recommended page and the respective corresponding secondary page skip information to generate a corresponding target recommended page. With continued reference to FIG. 2, in step S203, feed stream data (i.e., the destination information stream) carrying the secondary page entries is returned. The server side sends the generated target recommendation page to the client side, and the target recommendation page comprises secondary page jump information matched with each recommendation page, so that the user can jump to a page which is more interesting to the user more conveniently and quickly, and the use experience of the user is improved.
According to the page generation method in the embodiment of the invention, the page jump general fields of various different page content types are constructed in advance, and the corresponding second-level page jump information is generated for the different types of recommended pages, so that the general construction of the second-level page jump information is realized, the convergence of a second-level page mount interface protocol is facilitated, and the maintenance cost and the development cost of the protocol are reduced.
Next, a page generation method in the present exemplary embodiment will be further explained.
In an exemplary embodiment of the present disclosure, the page jump general field is constructed by the following steps: acquiring a plurality of historical recommendation pages; determining candidate secondary page skipping information corresponding to each historical recommended page; the candidate secondary page jump information comprises at least one page jump field; and carrying out information integration processing on page jump fields corresponding to the candidate secondary page jump information respectively to obtain a page jump general field.
The historical recommendation page can be different types of recommendation pages displayed for the user when the user browses feed stream content in the past, and the historical recommendation page can contain secondary page jump information corresponding to the historical recommendation page. The candidate secondary page jump information may be secondary page jump information that matches the historical recommended page. The page jump field may be a page jump attribute field included in the candidate secondary page jump information. The information integration processing may be a process of integrating and encapsulating page jump fields included in each of the plurality of candidate secondary page jump information.
The method aims to solve the problems that in the existing two-level page mounting scheme, the types of two-level pages are various, the types of quick jump entries are complex, and multiple sets of two-level page quick jump entry protocols are caused. In this embodiment, a plurality of history browsing pages may be obtained, where each history browsing page includes respective corresponding secondary page jump information, that is, candidate secondary page jump information. Each candidate secondary page jump information comprises one or more page jump fields, for example, the page jump fields may comprise a prompt text field, a presentation icon field, a jump link address field, a secondary page entry type field, and the like when the secondary page jumps.
With continued reference to fig. 2, in the present embodiment, the service end provides a generic entry mounting module, and the generic entry mounting module can provide mounting condition determination, generic field configuration, multi-entry field configuration, and other functions. For the general field construction, after the server side carries out information integration processing on the page jump fields in the multiple candidate secondary page jump information, a general secondary page entry pattern in the feed stream, namely the general page jump field, can be obtained. For example, in the process of information integration processing of common page jump fields in a history browsing page, attribute fields required to be used for each page jump can be abstracted, the fields are packaged to obtain page jump general fields, and corresponding secondary page jump entries are added to different types of recommended pages through the page jump general fields.
In an exemplary embodiment of the present disclosure, the page jump general field includes any one or more of a page jump prompt text, a page jump link, a page jump show icon, and a page entry type in combination.
The page jump prompt text can be the prompt text displayed at the secondary page jump entry. The page jump link may be a link address used to jump to a corresponding secondary page. The page jump showing icon can be a prompt icon provided for the user to perform the page jump operation. The page entry type may be a specific type of secondary page entry.
After information integration processing is performed on a plurality of page jump fields, the obtained page jump general field (second entry) can be as follows:
Figure BDA0003970435360000091
wherein, the field 'text' can represent a page jump prompt text, namely an entry display text of a secondary page corresponding to the recommended page; the field 'linkUrl' can represent a jump link when the secondary page entry is clicked; the field "iconUrl" may represent a page jump display icon, that is, an icon to be displayed at a secondary page entrance corresponding to the recommended page; the field "type" may indicate a page entry type.
After the second entry field is constructed, the stream fed with the second entry field can be sent down, that is, the stream can be sent down in the 1 st recommended page and the nth recommended page of the stream, and after the client receives the stream fed with the second entry field, different secondary page quick jump entries can be displayed on different videos respectively in the process of Feed stream consumption, so that the quick jump of a user is facilitated. Specifically, determining the secondary page skip information corresponding to each recommended page in the feed stream may be performed in the following manner.
In an exemplary embodiment of the disclosure, page ranking results corresponding to a plurality of initial recommended pages are determined; determining a first initial page from the plurality of initial recommended pages according to the page sequencing result, wherein the first initial page is an initial recommended page with the first page sequencing; acquiring a first page type corresponding to a first initial page; and carrying out field instantiation processing on the page jump general field according to the first page type to generate first secondary page jump information corresponding to the first initial page.
Wherein the page ranking result may be a ranking order of the plurality of initial recommended pages. The first initial page may be an initial recommended page of the plurality of initial recommended pages, the page ranking result of which is the first. The first page type may be a page content type of the first initial page. The field instantiation process may be a process of assigning a specific field attribute value to each attribute field in the page jump generic field. The first secondary page jump information may be secondary page jump information corresponding to the first initial page.
When the server side acquires original feed stream information from the recommendation interface, namely after acquiring a plurality of initial recommendation pages, in an analysis rendering stage, a judgment logic of a page content type (feed type) is added, which specifically comprises the following steps: when the plurality of initial recommended pages are obtained, the plurality of initial recommended pages can be sequenced to obtain corresponding page sequencing results, and the subsequent server can determine the display sequence of the plurality of initial recommended pages at the client according to the page sequencing results. And selecting an initial recommended page with the page sequence at the head as a first initial page from the obtained page sequence result, judging a first page type corresponding to the first initial page, namely the type of a feed work contained in the first initial page, and performing field instantiation processing on a page jump general field corresponding to the first initial page according to the first page type.
For example, when the first page type is a type of fun, a corresponding "more fun" secondary page entry is issued in the first initial page. Specifically, "text" in the general field of page jump can be configured as "more funny works"; the field "linkUrl" is configured as a link address of a work of funny; the field "iconUrl" is configured as an icon of a work of funny; the field "type" is configured to be "99" (99 may indicate entry of a work of funny). Through the processing, the first secondary page jump information corresponding to the first initial page can be obtained, so that the user can jump to the corresponding secondary page through the first browsed page, and a more convenient and faster page jump scheme is provided for the user.
In an exemplary embodiment of the present disclosure, generating secondary page jump information corresponding to at least one initial recommended page according to each page content type and a page jump general field, further includes: obtaining page sequencing results corresponding to a plurality of initial recommended pages; acquiring a second initial page from the plurality of initial recommended pages according to the page sorting result, wherein the second initial page is other initial recommended pages except the first initial page; acquiring a second page type corresponding to each second initial page, wherein the second initial pages comprise pages of the same type, and the pages of the same type are determined based on the second page type; and generating second-level page jump information corresponding to the pages of the same type according to the page types of the pages of the same type and the page jump general field.
Wherein the second initial page may be other initial recommended pages in the plurality of initial recommended pages except the first initial page. The second page type may be a page content type corresponding to the second initial page. The second secondary page jump information may be secondary page jump information corresponding to the second initial page.
After determining the first secondary page skip information corresponding to the first initial page, the server may continue to determine the page content types (i.e., feed stream types) corresponding to the other initial recommended pages. And taking other initial recommended pages except the first initial page as second initial pages in the initial recommended pages determined according to the content browsing request, and acquiring second page types corresponding to all the second initial pages. According to all the determined second page types, a corresponding secondary page inlet can be mounted in a certain recommended page with the same page type. When two identical feed stream types appear, for example, when continuous 'movie fragment' works appear, the server can show a secondary page entry of 'more movies' on a certain 'movie fragment' work.
In an exemplary embodiment of the disclosure, page classification is performed on a plurality of second initial pages based on a second page type, so as to obtain at least one page set of the same type; determining a first page of the same type from the page set of the same type according to the page sorting result; the first page of the same type is a page of the same type with the page sequence as the head; and generating second-level page jump information corresponding to the first page of the same type according to the page type of the first page of the same type and the page jump general field.
The page classification may be a process of classifying the initial recommended page according to the page content type. The same type page set may be a page set consisting of a second initial page of the same page content type. The first page of the same type can be a page of the same type with a first page sorting result in the page set of the same type.
When the page types corresponding to the multiple second initial pages are obtained, the multiple second initial pages may be subjected to page classification according to the second page types, and pages belonging to the same page type in the multiple second initial pages are classified into one type, so as to obtain one or more page sets of the same type, where the page sets of the same type may include one or more pages of the same type. After the same-type page sets are obtained, one same-type page set can comprise one or more pages of the same type, and when the same-type page set comprises a plurality of pages of the same type, the page of the same type with the page sequence as the head, namely the first same-type page, can be determined from the same-type page set.
When the first page of the same type is determined, the field instantiation processing can be carried out on the page jump general field of the page according to the page type of the first page of the same type, and the second-level page jump information corresponding to the first page of the same type, namely the second-level page jump information, is obtained. For example, when the second initial page includes two recommended pages of a "sports event" type and three recommended pages of a "movie clip" type, the secondary page jump information corresponding to the "sports event" type page may be determined in the above manner, and the secondary page entries of "more sports events" are mounted on the determined first recommended page. Likewise, a secondary page entry for "more movie fragments" may be mounted on the first "movie fragment" type of recommendation page. Through the processing process, a secondary page mount entry can be added to the corresponding recommended page in the initial information flow, so that rapid page skipping can be performed through the secondary page mount entry in the subsequent process.
In an exemplary embodiment of the present disclosure, target user information is determined based on a content browsing request; the target user information comprises user browsing preference data; determining a jump page to be mounted from at least one initial recommendation page according to the page content type and user browsing preference data; and generating third secondary page skipping information corresponding to the skipping page to be mounted.
The user browsing preference data may be preference data determined according to the historical browsing behavior of the user. The jump page to be mounted can be a recommended page to which a second-level page jump entry is to be added. The third secondary page jump information may be secondary page jump information corresponding to a jump page to be mounted.
If the initial information flow determined at this time does not contain the recommended pages of the same type, the secondary page jump information can be specifically determined to be added to which recommended page in the initial information flow according to the user browsing preference data. Upon receiving a content browsing request from a client, target user information may be determined from the content browsing request, for example, the target user information may include basic user information of the client user and user browsing preference data. The user browsing preference data may be generated based on the operation behavior of the user, and may contain the content types that the user prefers to browse. For example, users have browsed more times for "movie clips" and "sporting events" types of content.
After the initial information flow is determined, the page content type corresponding to each initial recommended page in the initial information flow can be determined, and because the user prefers to browse the contents of the types of the movie fragments and the sports events, when the initial information flow contains the initial recommended pages of the types of the movie fragments and the sports events, the initial recommended pages of the types can be used as the jump pages to be mounted, and corresponding secondary page inlets are added to the jump pages to be mounted. And according to the page type of the jump page to be mounted, carrying out field instantiation processing on the general field of the secondary page in the page to obtain the jump information of the third secondary page corresponding to the jump page to be mounted, thereby realizing the function of judging the mounting condition of each initial recommended page in the initial information flow by the general entry mounting module.
In some other exemplary embodiments of the present disclosure, one or more initial recommended pages may also be randomly determined from the initial information stream as the to-be-mounted jump pages, and field instantiation processing may be performed on the page general field according to the page type corresponding to the to-be-mounted jump pages, so as to generate corresponding secondary page jump information. Specifically, the server may issue the second entry field along with the feed stream data, that is, may issue the page jump general field in both the 1 st recommended content and the nth recommended content of the feed stream, so that the client may respectively display different second-level page quick jump entries on different videos in the feed stream consumption process, thereby facilitating quick jump of the user.
Through the processing steps, the universal entry mounting module can provide a multi-entry field construction function and add corresponding secondary page entries to a plurality of initial recommended pages in the initial information flow. For example, after a series of feed stream rendering, parsing and general construction of a secondary page entry by the server, feed stream data returned by the server to the client is as follows:
Figure BDA0003970435360000121
Figure BDA0003970435360000131
the feed data can indicate that corresponding secondary page entries are shown in the first recommended page and the third recommended page in the current feed stream set, so that the user can jump to a secondary page which is possibly more interested through the secondary page entries provided in the first recommended page or the third recommended page more conveniently and quickly.
Fig. 3 is a flowchart illustrating a page generation method according to an exemplary embodiment, and as shown in fig. 3, the page generation method may be applied to a client, which may be configured in a computer device, wherein the computer device described in the present disclosure may include a mobile terminal device such as a mobile phone, a tablet computer, a notebook computer, a palm top computer, a Personal Digital Assistant (PDA), and a fixed terminal device such as a desktop computer. The exemplary embodiment is illustrated by applying the method to a computer device, and specifically includes the following steps.
In step S310, receiving a target information stream returned by the server based on the content browsing request, where the target information stream includes a target recommendation page; the target recommendation page comprises secondary page jump information, and the secondary page jump information is generated by performing field instantiation on a page jump general field according to the page content type.
In an exemplary embodiment of the present disclosure, when a target user performs a content browsing operation through a client, a corresponding content browsing request may be generated according to the content browsing operation of the target user. For example, when a target user starts a target App through a client, the target user may click to enter a certain feed stream page, that is, a default recommendation page, and the target user defaults to the App to perform a content browsing operation through the client, the client may generate a corresponding content browsing request according to the content browsing operation, the generated content browsing request may include account information (userId) of the target user, and user browsing preference data of the target user may be determined according to the account information of the target user, so that the server may determine a corresponding initial information stream according to the user browsing preference data, and the initial information stream may include a plurality of target recommendation pages.
The target recommendation page returned by the server can be a content recommendation page containing secondary page jump information, and the secondary page jump information is generated by performing field instantiation on a page jump general field according to the page content type. The specific process of generating the secondary page jump information has been described in detail above, and is not described herein again.
In step S320, the target recommended page is displayed, a secondary page jump control is provided through the target recommended page, so as to jump to a secondary page corresponding to the target recommended page through the secondary page jump control, and the secondary page jump control is generated based on the secondary page jump information.
In an exemplary embodiment of the present disclosure, the secondary page jump control may be a virtual control provided by the client to the user for use in performing a secondary page jump operation.
After receiving a target initial information stream composed of target recommendation pages returned by the server, the client can display the target recommendation pages according to the received data, generate corresponding secondary page jump controls through secondary page jump information mounted in the target recommendation pages, and provide the corresponding secondary page jump controls through the target recommendation pages. Referring to FIG. 4, FIG. 4 is an effect diagram of a target recommendation page shown in accordance with an exemplary embodiment. A corresponding secondary page jump control 410 is provided in the target recommendation page 400, and a user can jump to the corresponding secondary page from the currently displayed target recommendation page through the secondary page jump control 410.
By the page generation method, the user can enter the secondary page corresponding to a certain page through the secondary page jump control generated based on the secondary page jump information, so that the user can jump to the secondary page which is possibly more interested, more conveniently and quickly, and the user experience is effectively improved.
In summary, the page generation method of the present disclosure, in response to a content browsing request, determines an initial information stream matched with the content browsing request; the initial information flow comprises at least one initial recommendation page; acquiring a page content type corresponding to each initial recommended page in the initial information flow; acquiring page jump general fields which are constructed in advance, and generating secondary page jump information corresponding to at least one initial recommended page according to the content type of each page and the page jump general fields; and adding the generated secondary page jump information to the corresponding initial recommendation page to obtain a target recommendation page so as to generate a target information stream based on the target recommendation page. On one hand, the page jump general fields of various different page content types are constructed in advance, and the corresponding second-level page jump information is generated for the recommended pages of different types, so that the general construction of the second-level page jump information is realized, the convergence of a second-level page mount interface protocol is facilitated, and the maintenance cost and the development cost of the protocol are reduced. On the other hand, corresponding secondary page skipping information is issued for different types of recommended pages, a secondary page skipping function is provided for different recommended pages, and user experience is improved.
Fig. 5 is a block diagram illustrating a page generation apparatus according to an example embodiment. Referring to fig. 5, the page generating apparatus 500 may be applied to a server, and includes: an information flow determining module 510, a page type obtaining module 520, a skip information generating module 530, and a target page generating module 540.
Specifically, the information flow determining module 510 is configured to determine, in response to the content browsing request, an initial information flow matching the content browsing request; the initial information flow comprises at least one initial recommendation page; a page type obtaining module 520, configured to obtain a page content type corresponding to each initial recommended page in the initial information stream; a skip information generating module 530, configured to obtain pre-constructed page skip general fields, and generate secondary page skip information corresponding to at least one initial recommended page according to each page content type and the page skip general fields; and the target page generating module 540 is configured to add the generated secondary page jump information to the corresponding initial recommended page to obtain a target recommended page, so as to generate a target information stream based on the target recommended page.
In an exemplary embodiment of the present disclosure, the page generating apparatus 500 further includes a general field generating module, configured to obtain a plurality of historical recommendation pages; determining candidate secondary page skipping information corresponding to each historical recommended page; the candidate secondary page jump information comprises at least one page jump field; and carrying out information integration processing on page jump fields corresponding to the candidate secondary page jump information respectively to obtain a page jump general field.
In an exemplary embodiment of the present disclosure, the number of the initial recommendation pages is plural; the jumping information generating module 530 includes a first jumping information generating unit to: determining page sequencing results corresponding to the plurality of initial recommended pages; determining a first initial page from the plurality of initial recommended pages according to the page sequencing result, wherein the first initial page is an initial recommended page with the first page sequencing; acquiring a first page type corresponding to a first initial page; and carrying out field instantiation processing on the page jump general field according to the first page type to generate first secondary page jump information corresponding to the first initial page.
In an exemplary embodiment of the present disclosure, the skip information generating module 530 further includes a second skip information generating unit for: obtaining page sequencing results corresponding to a plurality of initial recommended pages; acquiring a second initial page from the plurality of initial recommended pages according to the page sorting result, wherein the second initial page is other initial recommended pages except the first initial page; acquiring a second page type corresponding to each second initial page, wherein the second initial pages comprise pages of the same type, and the pages of the same type are determined based on the second page type; and generating second-level page jump information corresponding to the pages of the same type according to the page types of the pages of the same type and the page jump general field.
In an exemplary embodiment of the present disclosure, the second skip information generating unit includes a skip information generating subunit operable to: performing page classification on the plurality of second initial pages based on the second page type to obtain at least one same type page set; determining a first page of the same type from the page set of the same type according to the page sorting result; the first page of the same type is a page of the same type with the page sequence as the head; and generating second-level page jump information corresponding to the first page of the same type according to the page type of the first page of the same type and the page jump general field.
In an exemplary embodiment of the present disclosure, the skip information generating module 530 further includes a third skip information generating unit configured to: determining target user information based on the content browsing request; the target user information comprises user browsing preference data; determining a jump page to be mounted from at least one initial recommendation page according to the page content type and user browsing preference data; and generating third secondary page skipping information corresponding to the skipping page to be mounted.
FIG. 6 is a block diagram illustrating another page generation apparatus according to an example embodiment. Referring to fig. 6, the page generating apparatus 600 may be applied to a client, and includes: a page data receiving module 610 and a target page presenting module 620.
Specifically, the page data receiving module 610 is configured to receive a target information stream returned by the server based on the content browsing request, where the target information stream includes a target recommendation page; the target recommendation page comprises secondary page jump information, and the secondary page jump information is generated by performing field instantiation on a page jump general field according to the page content type; and a target page display module 620, configured to display the target recommended page, provide a secondary page jump control through the target recommended page, and jump to a secondary page corresponding to the target recommended page through the secondary page jump control, where the secondary page jump control is generated based on secondary page jump information.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An electronic device 700 according to such an embodiment of the present disclosure is described below with reference to fig. 7. The electronic device 700 shown in fig. 7 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, electronic device 700 is in the form of a general purpose computing device. The components of the electronic device 700 may include, but are not limited to: the at least one processing unit 710, the at least one memory unit 720, a bus 730 connecting different system components (including the memory unit 720 and the processing unit 710), and a display unit 740.
Wherein the storage unit stores program code that is executable by the processing unit 710 to cause the processing unit 710 to perform steps according to various exemplary embodiments of the present disclosure as described in the above section "exemplary methods" of this specification.
The storage unit 720 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM) 721 and/or a cache memory unit 722, and may further include a read only memory unit (ROM) 723.
The memory unit 720 may include a program/utility 724 having a set (at least one) of program modules 725, such program modules 725 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 730 may represent one or more of any of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 700 may also communicate with one or more external devices 770 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 700, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 700 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 750. Also, the electronic device 700 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 760. As shown, the network adapter 760 communicates with the other modules of the electronic device 700 via the bus 730. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as a memory comprising instructions, executable by a processor of an apparatus to perform the page generation method described above is also provided. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product comprising a computer program/instructions, characterized in that the computer program/instructions, when executed by a processor, implement the page generating method of any one of the above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A page generation method is applied to a server and comprises the following steps:
in response to a content browsing request, determining an initial information stream matched with the content browsing request; the initial information flow comprises at least one initial recommendation page;
acquiring a page content type corresponding to each initial recommended page in the initial information flow;
acquiring a page jump general field which is constructed in advance, and generating secondary page jump information corresponding to at least one initial recommended page according to each page content type and the page jump general field;
and adding the generated secondary page jump information to a corresponding initial recommendation page to obtain a target recommendation page, and generating a target information stream based on the target recommendation page.
2. The method of claim 1, wherein the page jump generic field is constructed by:
acquiring a plurality of historical recommendation pages;
determining candidate secondary page jump information corresponding to each historical recommendation page; the candidate secondary page jump information comprises at least one page jump field;
and performing information integration processing on page jump fields corresponding to the candidate secondary page jump information respectively to obtain the page jump general fields.
3. The method according to claim 1 or 2, wherein the page jump general field comprises any one or more of a combination of a page jump prompt text, a page jump link, a page jump show icon and a page entry type.
4. The method of claim 1, wherein the number of the initial recommended pages is plural; generating secondary page jump information corresponding to at least one initial recommended page according to each page content type and the page jump general field, wherein the secondary page jump information comprises:
determining page sorting results corresponding to the plurality of initial recommended pages;
determining a first initial page from the plurality of initial recommended pages according to the page sorting result, wherein the first initial page is an initial recommended page with a first page sorting order;
acquiring a first page type corresponding to the first initial page;
and performing field instantiation processing on the page jump general field according to the first page type to generate first secondary page jump information corresponding to the first initial page.
5. The method according to claim 1 or 4, wherein the generating of the secondary page jump information corresponding to at least one of the initially recommended pages according to each of the page content types and the page jump general field further comprises:
obtaining page sequencing results corresponding to the plurality of initial recommended pages;
acquiring a second initial page from the plurality of initial recommended pages according to the page sorting result, wherein the second initial page is other initial recommended pages except the first initial page;
acquiring a second page type corresponding to each second initial page, wherein the second initial pages comprise pages of the same type, and the pages of the same type are determined based on the second page type;
and generating second-level page jump information corresponding to the pages of the same type according to the page types of the pages of the same type and the page jump general field.
6. The method as claimed in claim 5, wherein the generating of the second-level page jump information corresponding to the pages of the same type according to the page types of the pages of the same type and the page jump general field comprises:
performing page classification on the second initial pages based on the second page type to obtain at least one page set of the same type;
determining a first page of the same type from the page set of the same type according to the page sorting result; the first page of the same type is a page of the same type with a first-order page sequence;
and generating second-level page jump information corresponding to the first page of the same type according to the page type of the first page of the same type and the page jump general field.
7. The method of claim 1, wherein generating secondary page jump information corresponding to at least one of the initial recommended pages according to each of the page content types and the page jump generic field, further comprises:
determining target user information based on the content browsing request; the target user information comprises user browsing preference data;
determining a jump page to be mounted from the at least one initial recommended page according to the page content type and the user browsing preference data;
and generating third secondary page skipping information corresponding to the skipping page to be mounted.
8. A page generation method is applied to a client and comprises the following steps:
receiving a target information stream returned by a server based on a content browsing request, wherein the target information stream comprises a target recommendation page; the target recommendation page comprises secondary page jump information, and the secondary page jump information is generated by performing field instantiation on a page jump general field according to the page content type;
and displaying the target recommended page, providing a secondary page jump control through the target recommended page, and jumping to a secondary page corresponding to the target recommended page through the secondary page jump control, wherein the secondary page jump control is generated based on the secondary page jump information.
9. A page generating device is applied to a server and comprises:
the information flow determining module is used for responding to a content browsing request and determining an initial information flow matched with the content browsing request; the initial information flow comprises at least one initial recommendation page;
a page type obtaining module, configured to obtain a page content type corresponding to each initial recommended page in the initial information stream;
the skip information generation module is used for acquiring pre-constructed general page skip fields and generating secondary page skip information corresponding to at least one initial recommended page according to each page content type and the general page skip fields;
and the target page generation module is used for adding the generated secondary page jump information to the corresponding initial recommendation page to obtain a target recommendation page so as to generate a target information stream based on the target recommendation page.
10. A page generating device is applied to a client and comprises the following components:
the page data receiving module is used for receiving a target information stream returned by a server based on a content browsing request, wherein the target information stream comprises a target recommendation page; the target recommendation page comprises secondary page jump information, and the secondary page jump information is generated by performing field instantiation on a page jump general field according to the page content type;
and the target page display module is used for displaying the target recommended page, providing a secondary page jump control through the target recommended page, and jumping to a secondary page corresponding to the target recommended page through the secondary page jump control, wherein the secondary page jump control is generated based on the secondary page jump information.
11. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page generation method of any of claims 1 to 8.
12. A computer-readable storage medium whose instructions, when executed by a processor of an electronic device, enable the electronic device to perform the page generation method of any of claims 1 to 8.
CN202211515586.6A 2022-11-29 2022-11-29 Page generation method and device, electronic equipment and storage medium Pending CN115730165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211515586.6A CN115730165A (en) 2022-11-29 2022-11-29 Page generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211515586.6A CN115730165A (en) 2022-11-29 2022-11-29 Page generation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115730165A true CN115730165A (en) 2023-03-03

Family

ID=85299201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211515586.6A Pending CN115730165A (en) 2022-11-29 2022-11-29 Page generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115730165A (en)

Similar Documents

Publication Publication Date Title
US9934515B1 (en) Content recommendation system using a neural network language model
US10783151B1 (en) Popularity-based content feed management system
KR100898454B1 (en) Integrated search service system and method
CN111143686B (en) Resource recommendation method and device
US20150169710A1 (en) Method and apparatus for providing search results
US11601724B2 (en) Method, apparatus, and system for displaying comment information
CN111651141B (en) Method and device for showing landing page of applet, electronic equipment and storage medium
CN104731870A (en) Method and device for providing recommendation information
WO2023005197A1 (en) Content display method and terminal
CN102449604B (en) Distributed processing method and system in virtual desktop
CN109818880B (en) Method, device and system for dynamically allocating work and providing resources
CN112000911A (en) Page management method and device, electronic equipment and storage medium
CN111915383A (en) Window-based article cold start recommendation method and device
CN108366275B (en) Method and apparatus for providing video stream
US20190065454A1 (en) Distributed dynamic display of content annotations
CN111010453B (en) Service request processing method, system, electronic device and computer readable medium
CN116955817A (en) Content recommendation method, device, electronic equipment and storage medium
WO2023115974A1 (en) Multimedia resource recommendation method and apparatus and object representation network generation method and apparatus
CN115730165A (en) Page generation method and device, electronic equipment and storage medium
CN115357800A (en) Resource association method, device, electronic equipment, storage medium and program product
CN114140162A (en) Advertisement putting method and device, electronic equipment and computer readable storage medium
CN113515701A (en) Information recommendation method and device
CN115248891A (en) Page display method and device, electronic equipment and storage medium
US11673044B1 (en) Contextual recommendations in media streaming
CN112543356B (en) Video pushing method and device, computer equipment and storage medium

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