CN117873442A - Page layout generation method, device, equipment and medium - Google Patents
Page layout generation method, device, equipment and medium Download PDFInfo
- Publication number
- CN117873442A CN117873442A CN202410053033.6A CN202410053033A CN117873442A CN 117873442 A CN117873442 A CN 117873442A CN 202410053033 A CN202410053033 A CN 202410053033A CN 117873442 A CN117873442 A CN 117873442A
- Authority
- CN
- China
- Prior art keywords
- page
- data set
- page element
- layout
- common
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000013475 authorization Methods 0.000 claims abstract description 19
- 238000004590 computer program Methods 0.000 claims description 19
- 230000002093 peripheral effect Effects 0.000 claims description 15
- 230000006399 behavior Effects 0.000 claims description 10
- 230000009471 action Effects 0.000 claims description 8
- 230000002596 correlated effect Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 13
- 238000012423 maintenance Methods 0.000 description 12
- 230000000875 corresponding effect Effects 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 230000015654 memory Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001149 cognitive effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Document Processing Apparatus (AREA)
Abstract
The disclosure provides a page layout generation method, which can be applied to the technical field of financial services. The page layout generation method comprises the following steps: under the condition of obtaining user authorization, acquiring a page element data set to be configured for a current user, wherein the page element data set to be configured comprises a common page element data set and a recommended page element data set; and generating a page layout scheme through the common page element data set and the recommended page element data set based on a preset page layout generation rule. The disclosure also provides a page layout generation method, device, equipment and medium.
Description
Technical Field
The disclosure relates to the technical field of financial science and technology, in particular to a page layout generation method, device, equipment and medium.
Background
The financial service page is provided with a plurality of payment transaction inlets and related recommendation areas, wherein the related recommendation areas comprise advertisements, rights and interests, feature services and the like, a plurality of page elements exist in each area, development and maintenance of the financial service page are relatively fixed, page change is difficult when the personalized requirements of the page are met, and popularization and user experience of financial service business are not facilitated.
Therefore, a corresponding page operation and maintenance platform is built, and the individuation degree of the financial service page is improved by dynamically generating/maintaining the page through manual participation, however, the generated page efficiency is lower when the manual participation in the generation/maintenance of the page exists, and the user experience is greatly reduced under the condition of not considering the habit of the user.
Disclosure of Invention
In view of the foregoing, the present disclosure provides a page layout generation method, apparatus, device, medium, and program product that improve page generation efficiency and user experience.
According to a first aspect of the present disclosure, there is provided a page layout generating method, including: under the condition of obtaining user authorization, acquiring a page element data set to be configured for a current user, wherein the page element data set to be configured comprises a common page element data set and a recommended page element data set; and generating a page layout scheme through the common page element data set and the recommended page element data set based on a preset page layout generation rule.
According to an embodiment of the present disclosure, the generating, based on a preset page layout generating rule, a page layout scheme through the common page element data set and the recommended page element data set includes: acquiring equipment information used by a current user; determining the number of page elements based on the equipment information, wherein the number of page elements is positively correlated with the screen size in the equipment information; and under the condition that the number of the page elements is limited, performing layout operation in a region to be configured on the distribution of the page elements in the common page element data set and the recommended page element data set.
According to an embodiment of the present disclosure, the area to be configured includes a sort layout area, and the performing, in a case where the number of page elements is defined, a layout operation of the distribution of page elements in the common page element dataset and the recommended page element dataset in the area to be configured includes: ordering according to the occurrence times of the page elements in the common page element dataset aiming at the ordering layout area; and/or sorting according to the recommendation scores of the page elements in the recommendation page element dataset.
According to an embodiment of the present disclosure, wherein the area to be configured comprises a planar layout area,
the step of performing layout operation in the area to be configured on the distribution of the page elements in the common page element data set and the recommended page element data set under the condition of limiting the number of the page elements comprises the following steps: aiming at the plane layout area, taking the page element with the largest occurrence frequency in the common page element data set as a central object and taking the page element of a non-central object in the common page element data set as a peripheral object; and/or taking the page element with the largest recommendation score in the recommendation page element data set as a central object and taking the page element of the non-central object in the recommendation page element data set as a peripheral object.
According to an embodiment of the present disclosure, the acquiring a page element data set to be configured for a current user, where the page element data set to be configured includes a common page element data set and a recommended page element data set, includes: respectively acquiring a transaction data set from a first data table and a page data set from a second data table aiming at the common page element data set; selecting the transaction data set and common page elements in the page data set, and generating the common page element data set; and storing the common page element data set in a third data table.
According to an embodiment of the present disclosure, before the acquiring the transaction data set from the first data table and the page data set of the second data table, the acquiring method of the transaction data set in the first data table includes: triggering page operation behaviors of a user under the condition of obtaining user authorization, and receiving a real-time page request; storing the real-time page request in a log as unstructured data; periodically scanning the real-time page request in the log, and converting the real-time page request into the page data set, wherein the page data set is structured data; and uploading the page dataset to a second data table in a data lake.
According to an embodiment of the present disclosure, before the acquiring the transaction data set from the first data table and the page data set of the second data table, the acquiring method of the page data set in the second data table includes: and under the condition of obtaining the authorization of the user, triggering the transaction action of the user, and storing transaction data related to the transaction action into a first data table.
According to an embodiment of the present disclosure, the acquiring a page element data set to be configured for a current user, where the page element data set to be configured includes a common page element data set and a recommended page element data set, further includes: and acquiring the recommended page element data set generated for the user portrait in the background aiming at the recommended page element data set.
A second aspect of the present disclosure provides a page layout generating apparatus, including: the data acquisition module is used for acquiring a page element data set to be configured for a current user under the condition of acquiring user authorization, wherein the page element data set to be configured comprises a common page element data set and a recommended page element data set; and the page layout generation module is used for generating a page layout scheme through the common page element data set and the recommended page element data set based on a preset page layout generation rule.
According to an embodiment of the disclosure, the page layout generating module includes: the device comprises a device information acquisition unit, a page element number determination unit and a layout unit, wherein the device information acquisition unit is used for acquiring device information used by a current user; the page element number determining unit is used for determining the page element number based on the equipment information, wherein the page element number is positively correlated with the screen size in the equipment information; and the layout unit is used for executing layout operation in the area to be configured on the distribution of the page elements in the common page element data set and the recommended page element data set under the condition that the number of the page elements is limited.
According to an embodiment of the present disclosure, the area to be configured includes a sort layout area, and the layout unit includes: a sorting layout subunit, configured to sort, for the sorting layout area, according to the occurrence number of the page elements in the common page element dataset; and/or sorting according to the recommendation scores of the page elements in the recommendation page element dataset.
According to an embodiment of the present disclosure, the area to be configured includes a planar layout area, and the layout unit includes: a plane layout subunit, configured to, for the plane layout area, use, as a central object, a page element with the largest occurrence number in the common page element dataset, and use, as a peripheral object, a page element of a non-central object in the common page element dataset; and/or taking the page element with the largest recommendation score in the recommendation page element data set as a central object and taking the page element of the non-central object in the recommendation page element data set as a peripheral object.
According to an embodiment of the disclosure, the data acquisition module includes: the system comprises an original data acquisition unit, a common data acquisition unit and a data storage unit, wherein the original data acquisition unit is used for respectively acquiring a transaction data set from a first data table and a page data set from a second data table aiming at the common page element data set; the common data acquisition unit is used for selecting the common page elements in the transaction data set and the page data set and generating the common page element data set; and the data storing unit is used for storing the common page element data set into a third data table.
According to an embodiment of the disclosure, the apparatus further comprises: the second data table maintenance module is used for triggering the page operation behavior of the user and receiving a real-time page request under the condition of obtaining the authorization of the user; storing the real-time page request in a log as unstructured data; periodically scanning the real-time page request in the log, and converting the real-time page request into the page data set, wherein the page data set is structured data; and uploading the page dataset to a second data table in a data lake.
According to an embodiment of the disclosure, the apparatus further comprises: and the first data table maintenance module is used for triggering the transaction behavior of the user under the condition of obtaining the authorization of the user and storing the transaction data related to the transaction behavior into the first data table.
According to an embodiment of the disclosure, the apparatus further comprises: the recommended page element acquisition module is used for acquiring a recommended page element data set generated for the user portrait in the background aiming at the recommended page element data set.
A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the page layout generation method described above.
A fourth aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the above-described page layout generation method.
The fifth aspect of the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the above-described page layout generation method.
In the embodiment of the disclosure, in order to solve the problem of insufficient efficiency of manual participation in page generation in the prior art, the method for acquiring the page element data set to be configured according to the embodiment of the disclosure obtains a generation scheme of page layout based on common page elements and recommended page elements through an automatic scheme. At least the following beneficial effects can be achieved: by adopting an automatic scheme, the page generation efficiency is greatly improved, the user experience is improved, and the popularization efficiency of financial services is improved.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be more apparent from the following description of embodiments of the disclosure with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates an application scenario diagram of a page layout generation method according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of a page layout generation method according to an embodiment of the disclosure;
FIG. 3 schematically illustrates a flow chart of a data acquisition method according to an embodiment of the disclosure;
FIG. 4 schematically illustrates a flow chart of another data acquisition method according to an embodiment of the disclosure;
FIG. 5 schematically illustrates a flow chart of a page layout scheme generation method according to an embodiment of the disclosure;
FIG. 6 schematically illustrates a schematic diagram of a sort layout region, according to an embodiment of the present disclosure;
FIG. 7 schematically illustrates a schematic view of a planar layout area according to an embodiment of the present disclosure;
fig. 8 schematically shows a block diagram of a structure of a page layout generating apparatus according to an embodiment of the present disclosure; and
fig. 9 schematically illustrates a block diagram of an electronic device adapted to implement a page layout generation method according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where expressions like at least one of "A, B and C, etc. are used, the expressions should generally be interpreted in accordance with the meaning as commonly understood by those skilled in the art (e.g.," a system having at least one of A, B and C "shall include, but not be limited to, a system having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In the technical scheme of the invention, the related user information (including but not limited to user personal information, user image information, user equipment information, such as position information and the like) and data (including but not limited to data for analysis, stored data, displayed data and the like) are information and data authorized by a user or fully authorized by all parties, and the processing of the related data such as collection, storage, use, processing, transmission, provision, disclosure, application and the like are all conducted according to the related laws and regulations and standards of related countries and regions, necessary security measures are adopted, no prejudice to the public welfare is provided, and corresponding operation inlets are provided for the user to select authorization or rejection.
The scheme of managing page layout by special personnel in the prior art has the following defects:
1. by adopting the technical scheme of special maintenance, the page layout is changed and the data maintenance efficiency is low, and particularly the problem of difficult change exists;
2. although the data can be dynamically maintained after the operation and maintenance platform is built, the content, the ordering layout and the like of all people are fixed and consistent, the popularization of related business of financial service and the improvement of user experience are not facilitated, and the user experience is greatly influenced.
In order to solve the technical problems in the prior art, an embodiment of the present disclosure provides a page layout generating method, including: under the condition of obtaining user authorization, acquiring a page element data set to be configured for a current user, wherein the page element data set to be configured comprises a common page element data set and a recommended page element data set; and generating a page layout scheme through the common page element data set and the recommended page element data set based on a preset page layout generation rule.
In the embodiment of the disclosure, in order to solve the problem of insufficient efficiency of manual participation in page generation in the prior art, the method for acquiring the page element data set to be configured according to the embodiment of the disclosure obtains a generation scheme of page layout based on common page elements and recommended page elements through an automatic scheme. At least the following beneficial effects can be achieved: by adopting an automatic scheme, the page generation efficiency is greatly improved, the user experience is improved, and the popularization efficiency of financial services is improved.
Fig. 1 schematically illustrates an application scenario diagram of a page layout generation method according to an embodiment of the present disclosure.
As shown in fig. 1, an application scenario 100 according to this embodiment 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 communication client applications, such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only) may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (by way of example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and process the received data such as the user request, and feed back the processing result (e.g., the web page, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that, the page layout generating method provided by the embodiments of the present disclosure may be generally executed by the server 105. Accordingly, the page layout generating apparatus provided by the embodiments of the present disclosure may be generally provided in the server 105. The page layout generation method provided by the embodiments of the present disclosure may also be performed by a server or a server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Accordingly, the page layout generating apparatus provided by the embodiments of the present disclosure may also be provided in a server or a server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The page layout generation method of the disclosed embodiment will be described in detail below by fig. 2 to 7 based on the scenario described in fig. 1.
Fig. 2 schematically shows a flowchart of a page layout generation method according to an embodiment of the present disclosure.
As shown in fig. 2, the page layout generation method of this embodiment includes operations S210 to S220, which can be performed by the server 105.
In embodiments of the present disclosure, the user's consent or authorization may be obtained prior to obtaining the user's information. For example, before operation S210, a request to acquire user information may be issued to the user. In case the user agrees or authorizes that the user information can be acquired, the operation S210 is performed.
In operation S210, in case of obtaining the user authorization, a page element data set to be configured for the current user is acquired, the page element data set to be configured including a common page element data set and a recommended page element data set.
The page elements to be configured are set for the personalized page formed by the user, in the process of generating the page layout, part of areas in the page can be selected for layout, the page elements to be configured for partial or total use in the page element data set are set at specific positions to improve user experience, for example, in the situation of financial service, a page comprises a financial area, an advertising area, a benefit area, a service area and the like, and each area in the financial area, the advertising area, the benefit area, the service area and the like comprises a plurality of page elements capable of being laid out, wherein the page elements of certain advertisements can be selected for layout in the advertising area where the page elements are located, and the size and the position of the page elements are set. It should be noted that, the page element to be configured may be, for example, a page element with a page jump and/or click button function, or may be a page element without the above page jump and/or click button function, which is not described herein.
The common page element data set refers to a set of page elements in a page when a user uses a financial service page in a statistical period, wherein each common page element in a plurality of common page elements stored in the common page element data set corresponds to a clicking frequency. For example, the number of times a user clicks on a pay page element is 20 times during the time of day.
The recommended page element data set refers to a set of recommended page element data formed based on a user portrait of the user in the background, wherein each recommended page element in a plurality of recommended page elements stored in the recommended page element data set corresponds to a recommendation score, and the recommendation score can be regarded as the relevance of the type of a certain page element and the user portrait. For example, in a financial services scenario, multiple page elements of an advertisement (advertisement or advertisement picture) are found that match the user based on the user's user image, wherein the page elements of each advertisement are rated according to a recommendation generated by the advertisement's relevance to the user's image.
The following will disclose the acquisition modes of the common page element data set and the recommended page element data set in detail, as follows:
Fig. 3 schematically illustrates a flow chart of a data acquisition method according to an embodiment of the disclosure.
As shown in fig. 3, a data acquisition method of this embodiment includes operations S310 to S330, and operations S310 to S330 may at least partially perform operation S210 described above.
In operation S310, a transaction dataset from a first data table and a page dataset from a second data table are acquired for the common page element dataset, respectively.
The information in the first data table and the second data table is stored in the background, and partial data in the first data table and the second data table can be directly acquired to form a transaction data set and a page data set respectively.
For example, the first data table includes information such as record of the client, the transaction code, the transaction time, the device ID, the client version, and the like, and relevant data (including the transaction code, the occurrence number of the transaction code and the occurrence time of the transaction code) of the transaction code corresponding to the client related to the current user in the first data table is taken out as the transaction data table.
For another example, the second data table comprises information such as the client, the area ID, the page element ID, and the clicking time, and relevant data (the relevant data comprises the area ID, the page element ID, the clicking times of the page element ID and the clicking time of the page element ID) corresponding to the client related to the current user in the second data table is taken out as a page data set.
According to an embodiment of the present disclosure, before the acquiring the transaction data set from the first data table and the page data set of the second data table, the acquiring method of the page data set in the second data table includes: and under the condition of obtaining the authorization of the user, triggering the transaction action of the user, and storing transaction data related to the transaction action into a first data table.
When a user performs a certain transaction, the background records transaction data such as transaction codes corresponding to the transaction, and stores the records in the first data table. For example, transaction codes such as usual payments, cards Bao Bangka, online payments, etc. are additionally stored into the first data table.
According to an embodiment of the present disclosure, before the acquiring the transaction data set from the first data table and the page data set of the second data table, the acquiring method of the transaction data set in the first data table includes: triggering page operation behaviors of a user under the condition of obtaining user authorization, and receiving a real-time page request; storing the real-time page request in a log as unstructured data; periodically scanning the real-time page request in the log, and converting the real-time page request into the page data set, wherein the page data set is structured data; and uploading the page dataset to a second data table in a data lake.
And the data in the second data table is acquired by implanting data acquisition codes in the user interface and the flow, and relevant data is acquired and stored in the second data table. By introducing code-free embedded point dependence, under the condition that a user performs page operation at the front end, the client side sends request data once to the server, and the server processes the request data and stores the request data into the second data table. For example, a Sugo track Hook code-free point burying technology can be used, and a component, that is, a reaction-active-sugo-track, is introduced to realize acquisition of user data, user behavior data and the like, such as: the current page URL, the current page number, the date when the client performs the current operation, the time node when the client performs the current operation, the current column ID, the current page name, etc. may be collected and recorded, and the floor ID (in the case of a list layout) of the category (advertisement, interest, service, etc.) of the click function of the user, the page element ID, the page element type, etc. may be obtained and stored in the second data table (into the lake table).
The specific embodiments are as follows:
firstly, defining a bridging method, transmitting buried point data to a client through the bridging method when burying points, and transmitting the data to a server by calling a buried point SDK method by the client; secondly, the server records the request in the web log in an accesslog mode through a reverse proxy mode, and stores the request as unstructured data; and finally, through pre-deployed td-agent software, scanning data containing isrealtelog=1 in a log, converting the data into structured data, uploading kafka, subscribing the message, entering a lake in near real time, and storing the data in a corresponding second data table.
In operation S320, the transaction data set and the common page elements in the page data set are selected, and the common page element data set is generated.
Specifically, the common page elements in the two data sets are selected, wherein the selecting mode can be to select the data before the fixed bit number as the common page element according to the ranking of the occurrence number/the clicking number, and the selecting mode can also be to select the data exceeding the preset number threshold in the occurrence number/the clicking number as the common page element.
For the transaction data set, corresponding page elements can be associated through transaction codes, so that common page elements are formed.
In operation S330, the common page element data set is stored in a third data table.
And storing the common page elements into a third data table, wherein the third data table is periodically maintained, for example, counting times of common transaction code numbers in the latest time period of the first data table and counting page elements of clicking advertisements, rights and feature services by a user of the second data table, and storing the counted common page elements into the third data table. It should be noted that, transaction data, page data and common data are respectively stored in different data tables, so as to facilitate management and maintenance of mass data.
Fig. 4 schematically illustrates a flow chart of another data acquisition method according to an embodiment of the disclosure.
As shown in fig. 4, another data acquisition method of this embodiment includes operation S410, and the operation S410 may at least partially perform operation S210 described above.
In operation S410, a recommended page element dataset generated for a user portrait in the background is acquired for the recommended page element dataset.
For the recommended page element data set, the recommended page element data set can be obtained based on a user portrait pre-stored in the background, and then the user portrait is used as the modeling data through a recommendation model trained in advance in the background.
It should be noted that, the above-mentioned common page element data set is page data that can implement page skip by operating a page or implement button click by clicking a page; the recommended page element data set can realize page skip by operating a page or page data clicked by clicking a page realization button, and the recommended page elements in the recommended page element data set can also be inoperable, non-clickable and only displayed page elements.
In operation S220, a page layout scheme is generated through the common page element data set and the recommended page element data set based on a preset page layout generation rule.
The background matches and lays out the acquired page elements such as advertisement, pictures and buttons maintained by the operation and maintenance platform through various page element types and corresponding occurrence times, and the data of a group of page layout schemes maintained according to the specified number is transmitted to the front end along with other data. The front end generates each page element according to the received page layout scheme so as to display the page elements to customers, for example, the front end dynamically generates functions such as payment, card package and the like of a financial area according to the page layout scheme and dynamically displays page elements such as advertising words or pictures and the like of an advertising area.
The manner in which the elements in the page are laid out will be disclosed in detail as follows:
fig. 5 schematically shows a flowchart of a page layout scheme generating method according to an embodiment of the present disclosure.
As shown in fig. 5, the page layout scheme generating method of this embodiment includes operations S510 to S530, and the operations S510 to S530 may at least partially perform the above-described operation S220.
In operation S510, device information used by a current user is acquired.
In operation S520, a number of page elements is determined based on the device information, wherein the number of page elements is positively correlated with a screen size in the device information.
The number of page elements may be the number of page elements of the entire page, e.g., the number of all elements in any page; the number of page elements may also be the number of page elements per particular region, e.g., the number of elements of an advertising region in a page.
In operation S530, a layout operation in the area to be configured is performed on the distribution of the page elements in the common page element dataset and the recommended page element dataset with the number of page elements defined.
The area to be configured refers to an area in a page where layout of page elements can be performed, and different from the area of columns such as a finance area, an advertisement area, a benefit area, a service area and the like, the area to be configured can be any one or more of the finance area, the advertisement area, the benefit area and the service area, and the area to be configured can also be other areas needing configuration in the page, which is not limited herein.
Acquiring relevant information of terminal equipment currently used by a user, judging the screen size of the terminal equipment currently used by the user, and determining the number of page elements in one page through the screen size, wherein the size of the number of page elements depends on the screen size, and the larger the screen is, the more the number of page elements can be. For example, for the same user, when the user uses a cell phone and tablet, the number of page elements is that the cell phone is smaller than the tablet.
It should be noted that, setting fewer elements on the page displayed on the terminal device with smaller screen can effectively avoid space crowding (space crowding is a subjective unpleasant feeling, is a state of psychological stress and cognitive overload), avoid overload of visual elements, and promote subjective experience perception of users.
According to an embodiment of the present disclosure, the area to be configured includes a sort layout area, and the performing, in a case where the number of page elements is defined, a layout operation of the distribution of page elements in the common page element dataset and the recommended page element dataset in the area to be configured includes: ordering according to the occurrence times of the page elements in the common page element dataset aiming at the ordering layout area; and/or sorting according to the recommendation scores of the page elements in the recommendation page element dataset.
Specifically, in the area where the sort layout is adopted, the ranking is performed by the order of the recommended number of times (from high to low) and/or the recommended score (from high to low) of the common page elements.
For example, the feature advertisement area IDs clicked by the user are counted, and the 5 advertisement area IDs with the largest click number are stored in the corresponding dictionary of the third data table. When the client enters the payment detail display page again the next day, the background reads the data in the second data table except for the fixed loading part of advertisements, and the data are sequenced and spliced to the fixed advertisements from more to less according to the clicking times and returned to the front end together, and the front end displays the fixed advertisements according to the data sequence, so that the client can see the normally clicked advertisements preferentially.
Fig. 6 schematically illustrates a schematic diagram of ordering layout areas according to an embodiment of the present disclosure.
As shown in fig. 6, under the financial column (which may also be referred to as a financial floor) in fig. 6, a plurality of page elements are arranged from top to bottom in a list form, each page element corresponds to a respective occurrence number or recommendation score, and is sequentially laid out from top to bottom in order from top to bottom.
According to an embodiment of the present disclosure, the area to be configured includes a planar layout area, and the performing, with the number of page elements being defined, a layout operation on a distribution of page elements in the common page element dataset and the recommended page element dataset in the area to be configured includes: aiming at the plane layout area, taking the page element with the largest occurrence frequency in the common page element data set as a central object and taking the page element of a non-central object in the common page element data set as a peripheral object; and/or taking the page element with the largest recommendation score in the recommendation page element data set as a central object and taking the page element of the non-central object in the recommendation page element data set as a peripheral object.
Wherein the area occupied by the central object is larger than the area occupied by the peripheral object.
Specifically, in an area in which a planar layout is adopted, page elements in a central area (i.e., as a central object) and page elements in an edge area (i.e., as a peripheral object) are distinguished by the recommended number and/or recommended score of commonly used page elements. It should be noted that, the page element of the peripheral object may be one or interfere with the page element of the central object, further affecting the perception of the crowding feeling of the user, so that the central area is highlighted, that is, the central object is enlarged compared with the peripheral object, so that the spatial crowding feeling can be significantly reduced.
Fig. 7 schematically illustrates a schematic diagram of a planar layout area according to an embodiment of the present disclosure.
As shown in fig. 7, under the financial column of fig. 7, a plurality of page elements are placed in the same area in a planar layout manner, and the page element 1 of the central object is distinguished from other page elements of the peripheral object, wherein the central object is not strictly central, but can be the most prominent place in the visual effect, and the page element 1 in both pages in fig. 7 is the page element of the central object.
In the embodiment of the disclosure, in order to solve the problem of insufficient efficiency of manual participation in page generation in the prior art, the method for acquiring the page element data set to be configured according to the embodiment of the disclosure obtains a generation scheme of page layout based on common page elements and recommended page elements through an automatic scheme. At least the following beneficial effects can be achieved: by adopting an automatic scheme, the page generation efficiency is greatly improved, the user experience is improved, and the popularization efficiency of financial services is improved.
Based on the page layout generating method, the disclosure further provides a page layout generating device. The device will be described in detail below in connection with fig. 8.
Fig. 8 schematically shows a block diagram of a structure of a page layout generating apparatus according to an embodiment of the present disclosure.
As shown in fig. 8, the page layout generating apparatus 800 of this embodiment includes a data acquisition module 810 and a page layout generating module 820.
The data acquisition module 810 is configured to acquire a to-be-configured page element data set for a current user, where the to-be-configured page element data set includes a common page element data set and a recommended page element data set, if the user is authorized. In an embodiment, the data acquisition module 810 and the operation S210 that may be used to perform the foregoing description are not described herein.
The page layout generating module 820 is configured to generate a page layout scheme based on a preset page layout generating rule through the common page element data set and the recommended page element data set. In an embodiment, the page layout generating module 820 may be used to perform the operation S220 described above, which is not described herein.
In the embodiment of the disclosure, in order to solve the problem of insufficient efficiency of manual participation in page generation in the prior art, the method for acquiring the page element data set to be configured according to the embodiment of the disclosure obtains a generation scheme of page layout based on common page elements and recommended page elements through an automatic scheme. At least the following beneficial effects can be achieved: by adopting an automatic scheme, the page generation efficiency is greatly improved, the user experience is improved, and the popularization efficiency of financial services is improved.
According to an embodiment of the disclosure, the page layout generating module includes: the device comprises a device information acquisition unit, a page element number determination unit and a layout unit, wherein the device information acquisition unit is used for acquiring device information used by a current user; the page element number determining unit is used for determining the page element number based on the equipment information, wherein the page element number is positively correlated with the screen size in the equipment information; and the layout unit is used for executing layout operation in the area to be configured on the distribution of the page elements in the common page element data set and the recommended page element data set under the condition that the number of the page elements is limited.
According to an embodiment of the present disclosure, the area to be configured includes a sort layout area, and the layout unit includes: a sorting layout subunit, configured to sort, for the sorting layout area, according to the occurrence number of the page elements in the common page element dataset; and/or sorting according to the recommendation scores of the page elements in the recommendation page element dataset.
According to an embodiment of the present disclosure, the area to be configured includes a planar layout area, and the layout unit includes: a plane layout subunit, configured to, for the plane layout area, use, as a central object, a page element with the largest occurrence number in the common page element dataset, and use, as a peripheral object, a page element of a non-central object in the common page element dataset; and/or taking the page element with the largest recommendation score in the recommendation page element data set as a central object and taking the page element of the non-central object in the recommendation page element data set as a peripheral object.
According to an embodiment of the disclosure, the data acquisition module includes: the system comprises an original data acquisition unit, a common data acquisition unit and a data storage unit, wherein the original data acquisition unit is used for respectively acquiring a transaction data set from a first data table and a page data set from a second data table aiming at the common page element data set; the common data acquisition unit is used for selecting the common page elements in the transaction data set and the page data set and generating the common page element data set; and the data storing unit is used for storing the common page element data set into a third data table.
According to an embodiment of the disclosure, the apparatus further comprises: the second data table maintenance module is used for triggering the page operation behavior of the user and receiving a real-time page request under the condition of obtaining the authorization of the user; storing the real-time page request in a log as unstructured data; periodically scanning the real-time page request in the log, and converting the real-time page request into the page data set, wherein the page data set is structured data; and uploading the page dataset to a second data table in a data lake.
According to an embodiment of the disclosure, the apparatus further comprises: and the first data table maintenance module is used for triggering the transaction behavior of the user under the condition of obtaining the authorization of the user and storing the transaction data related to the transaction behavior into the first data table.
According to an embodiment of the disclosure, the apparatus further comprises: the recommended page element acquisition module is used for acquiring a recommended page element data set generated for the user portrait in the background aiming at the recommended page element data set.
Any of the data acquisition module 810 and the page layout generation module 820 may be combined in one module to be implemented, or any of the modules may be split into multiple modules, according to embodiments of the present disclosure. Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of other modules and implemented in one module. According to embodiments of the present disclosure, at least one of the data acquisition module 810 and the page layout generation module 820 may be implemented at least in part as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or in hardware or firmware, such as any other reasonable manner of integrating or packaging the circuitry, or in any one of or a suitable combination of any of three implementations of software, hardware, and firmware. Alternatively, at least one of the data acquisition module 810 and the page layout generation module 820 may be at least partially implemented as computer program modules that, when executed, perform the corresponding functions.
Fig. 9 schematically illustrates a block diagram of an electronic device adapted to implement a page layout generation method according to an embodiment of the disclosure.
As shown in fig. 9, an electronic device 900 according to an embodiment of the present disclosure includes a processor 901 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 902 or a program loaded from a storage portion 908 into a Random Access Memory (RAM) 903. The processor 901 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. Processor 901 may also include on-board memory for caching purposes. Processor 901 may include a single processing unit or multiple processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
In the RAM 903, various programs and data necessary for the operation of the electronic device 900 are stored. The processor 901, the ROM 902, and the RAM 903 are connected to each other by a bus 904. The processor 901 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 902 and/or the RAM 903. Note that the program may be stored in one or more memories other than the ROM 902 and the RAM 903. The processor 901 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the disclosure, the electronic device 900 may also include an input/output (I/O) interface 905, the input/output (I/O) interface 905 also being connected to the bus 904. The electronic device 900 may also include one or more of the following components connected to the I/O interface 905: an input section 906 including a keyboard, a mouse, and the like; an output portion 907 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 908 including a hard disk or the like; and a communication section 909 including a network interface card such as a LAN card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as needed. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on the drive 910 so that a computer program read out therefrom is installed into the storage section 908 as needed.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 902 and/or RAM 903 and/or one or more memories other than ROM 902 and RAM 903 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowcharts. The program code, when executed in a computer system, causes the computer system to implement the item recommendation method provided by embodiments of the present disclosure.
The above-described functions defined in the system/apparatus of the embodiments of the present disclosure are performed when the computer program is executed by the processor 901. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed, and downloaded and installed in the form of a signal on a network medium, via communication portion 909, and/or installed from removable medium 911. The computer program may include program code that may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 909 and/or installed from the removable medium 911. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 901. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
According to embodiments of the present disclosure, program code for performing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, such computer programs may be implemented in high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. Programming languages include, but are not limited to, such as Java, c++, python, "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be provided in a variety of combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.
Claims (12)
1. A page layout generation method, comprising:
under the condition of obtaining user authorization, acquiring a page element data set to be configured for a current user, wherein the page element data set to be configured comprises a common page element data set and a recommended page element data set; and
And generating a page layout scheme through the common page element data set and the recommended page element data set based on a preset page layout generation rule.
2. The method of claim 1, wherein the generating a page layout scheme from the common page element dataset and the recommended page element dataset based on a preset page layout generation rule comprises:
acquiring equipment information used by a current user;
determining the number of page elements based on the equipment information, wherein the number of page elements is positively correlated with the screen size in the equipment information; and
and under the condition that the number of the page elements is limited, performing layout operation in a region to be configured on the distribution of the page elements in the common page element data set and the recommended page element data set.
3. The method of claim 2, wherein the area to be configured comprises a sort layout area,
the step of performing layout operation in the area to be configured on the distribution of the page elements in the common page element data set and the recommended page element data set under the condition of limiting the number of the page elements comprises the following steps:
Ordering according to the occurrence times of the page elements in the common page element dataset aiming at the ordering layout area; and/or
And sorting according to the recommendation scores of the page elements in the recommendation page element dataset.
4. The method of claim 2, wherein the area to be configured comprises a planar layout area,
the step of performing layout operation in the area to be configured on the distribution of the page elements in the common page element data set and the recommended page element data set under the condition of limiting the number of the page elements comprises the following steps:
aiming at the plane layout area, taking the page element with the largest occurrence frequency in the common page element data set as a central object and taking the page element of a non-central object in the common page element data set as a peripheral object; and/or
And taking the page element with the largest recommendation score in the recommendation page element data set as a central object, and taking the page element of the non-central object in the recommendation page element data set as a peripheral object.
5. The method according to any one of claims 1-4, wherein the obtaining a to-be-configured page element dataset for a current user, the to-be-configured page element dataset comprising a common page element dataset and a recommended page element dataset, comprises:
Respectively acquiring a transaction data set from a first data table and a page data set from a second data table aiming at the common page element data set;
selecting the transaction data set and common page elements in the page data set, and generating the common page element data set; and
and storing the common page element data set into a third data table.
6. The method of claim 5, wherein prior to the separately retrieving the transaction dataset from the first data table and the page dataset from the second data table,
the method for acquiring the transaction data set in the first data table comprises the following steps:
triggering page operation behaviors of a user under the condition of obtaining user authorization, and receiving a real-time page request;
storing the real-time page request in a log as unstructured data;
periodically scanning the real-time page request in the log, and converting the real-time page request into the page data set, wherein the page data set is structured data; and
and uploading the page data set to a second data table in the data lake.
7. The method of claim 5, wherein prior to the separately retrieving the transaction dataset from the first data table and the page dataset from the second data table,
The method for acquiring the page data set in the second data table comprises the following steps:
and under the condition of obtaining the authorization of the user, triggering the transaction action of the user, and storing transaction data related to the transaction action into a first data table.
8. The method of claim 5, wherein the obtaining a to-be-configured page element dataset for a current user, the to-be-configured page element dataset comprising a common page element dataset and a recommended page element dataset, further comprises:
and acquiring the recommended page element data set generated for the user portrait in the background aiming at the recommended page element data set.
9. A page layout generating apparatus comprising:
the data acquisition module is used for acquiring a page element data set to be configured for a current user under the condition of acquiring user authorization, wherein the page element data set to be configured comprises a common page element data set and a recommended page element data set; and
the page layout generation module is used for generating a page layout scheme through the common page element data set and the recommended page element data set based on a preset page layout generation rule.
10. An electronic device, comprising:
One or more processors;
storage means for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-8.
11. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method according to any of claims 1-8.
12. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410053033.6A CN117873442A (en) | 2024-01-12 | 2024-01-12 | Page layout generation method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410053033.6A CN117873442A (en) | 2024-01-12 | 2024-01-12 | Page layout generation method, device, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117873442A true CN117873442A (en) | 2024-04-12 |
Family
ID=90584358
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410053033.6A Pending CN117873442A (en) | 2024-01-12 | 2024-01-12 | Page layout generation method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117873442A (en) |
-
2024
- 2024-01-12 CN CN202410053033.6A patent/CN117873442A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11907237B2 (en) | Gathering and contributing content across diverse sources | |
US8756224B2 (en) | Methods, systems, and media for content ranking using real-time data | |
US20140372179A1 (en) | Real-time social analysis for multimedia content service | |
US20110055017A1 (en) | System and method for semantic based advertising on social networking platforms | |
US20110258560A1 (en) | Automatic gathering and distribution of testimonial content | |
US8645411B1 (en) | Method and system for generating a modified website | |
US20120316970A1 (en) | System and method for providing targeted content | |
WO2011123118A1 (en) | Multi-factor promotional offer suggestion | |
US10873548B2 (en) | Real-time messaging platform with enhanced privacy | |
CN112241327A (en) | Shared information processing method and device, storage medium and electronic equipment | |
US10976901B1 (en) | Method and system to share information | |
US11843815B2 (en) | Interfacing a television with a second device | |
US10496937B2 (en) | Travel service information display system, travel service information display method, travel service information display program, and information recording medium | |
CN117873442A (en) | Page layout generation method, device, equipment and medium | |
CN116703513A (en) | Product marketing method, device, equipment and medium based on digital human video | |
CN117932140A (en) | Feature generation method, device and readable storage medium for multimedia resource recommendation | |
CN114943005A (en) | Picture display processing method and device | |
CN114168849A (en) | Information recommendation method and device, computer readable medium and server | |
JP6486302B2 (en) | Information management system and information management apparatus | |
JP7302835B1 (en) | Caller Information Acquisition System, Control Method of Caller Information Acquisition System, and Program | |
KR101517611B1 (en) | Method for Providing Multimedia Except for Communication Load | |
KR20170027327A (en) | Method for Exchanging Data Except for Communication Load | |
CN118467844A (en) | Information recommendation method and device, equipment, storage medium and program product | |
CN118411257A (en) | Product recommendation method, device, equipment, storage medium and program product | |
CN117579748A (en) | Outbound method, apparatus, device, medium and program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |