CN-122018882-A - Page configuration and dynamic display method, device, equipment and medium
Abstract
The invention relates to the technical field of data analysis and discloses a method, a device, equipment and a medium for page configuration and dynamic display, which comprise the steps of receiving a page template file and extracting page element information to form a page template resource library; the method comprises the steps of generating a page display strategy through visual configuration interaction, collecting user portrait data and user behavior data, inputting a personalized recommendation model to obtain a page template combination, dynamically generating page codes and rendering a display target page based on the page display strategy and the page template combination, recording the interaction behavior data, feeding back to the personalized recommendation model and the page display strategy, and updating and optimizing. The invention can be applied to business scenes such as financial science and technology, and the page display has continuous optimization capability through page template management, strategy configuration, user feature matching, dynamic generation and behavior feedback, and the display flexibility and matching accuracy are improved.
Inventors
- LI RUI
Assignees
- 平安健康保险股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260303
Claims (10)
- 1. The page configuration and dynamic display method is characterized by comprising the following steps: receiving page template files in various formats, wherein the page template files contain page element information, performing classified storage and version control operation on the page template files, and generating a page template resource library; responding to configuration operation aiming at the page element information through a visual configuration interaction interface, and generating a page display strategy; collecting user portrait data and user behavior data of a target user, inputting the user portrait data and the user behavior data into a preset personalized recommendation model to execute feature matching, and obtaining a page template combination corresponding to the target user; According to the page display strategy and the page template combination, page element information is called from the page template resource library to dynamically generate page codes, and rendering operation is executed to display a target page; And recording interaction behavior data generated by the target user on the target page, and feeding the interaction behavior data back to the personalized recommendation model and the page display strategy so as to update parameters of the personalized recommendation model and optimize the page display strategy.
- 2. The page configuration and dynamic display method of claim 1, wherein receiving a plurality of formats of page template files, the page template files containing page element information, performing classification storage and version control operations on the page template files, generating a page template repository, comprises: receiving uploaded page template files in various formats through a file transmission interface, and executing file format validity verification on the page template files to obtain files passing verification; Identifying and extracting page element information from the file passing the verification by using a parser, and determining service classification metadata based on the page element information; according to the business classification metadata, matching the corresponding archive catalogue, writing the files passing the verification into the archive catalogue, and obtaining the storage paths of the files passing the verification in the archive catalogue; Determining the content check code of the file passing the check, generating a unique version identifier based on the content check code and a file uploading time stamp, and recording a change log corresponding to the file passing the check; And constructing an index database comprising the storage path, the unique version identifier, the page element information and the change log, and generating a page template resource library.
- 3. The page configuration and dynamic presentation method of claim 1, wherein generating a page presentation policy in response to a configuration operation for the page element information through a visual configuration interactive interface comprises: Rendering a visual configuration interactive interface, and loading and displaying the page element information in a component library area of the visual configuration interactive interface; detecting a drag layout action and an attribute adjustment action aiming at the page element information in a canvas area of the visual configuration interactive interface, and identifying the drag layout action and the attribute adjustment action as configuration operations; Determining the coordinate position parameters and the hierarchical stacking sequence of the page elements according to the configuration operation, and generating a page layout structure; responding to a logic binding instruction aiming at the page layout structure, selecting attribute dimension of user portrait data, setting a display threshold condition, and establishing a mapping relation between the user portrait data and the page layout structure; And packaging the page layout structure and the mapping relation into a structured configuration file to generate a page display strategy.
- 4. The page configuration and dynamic display method of claim 1, wherein collecting user portrait data and user behavior data of a target user, inputting the user portrait data and the user behavior data into a preset personalized recommendation model to perform feature matching, and obtaining a page template combination corresponding to the target user, comprises: Identifying a target user initiating an access request, extracting user portrait data associated with the target user from a user database, and reading user behavior data of the target user from a log system; performing feature vectorization processing on the user portrait data and the user behavior data to construct an input feature vector representing the features of the target user; inputting the input feature vector into a preset personalized recommendation model, and determining a matching probability value of the input feature vector and each template in a page template resource library by using the personalized recommendation model; and sorting and screening all templates in the page template resource library according to the matching probability value, and combining the screened templates as page templates corresponding to the target user.
- 5. The page configuration and dynamic display method according to claim 1, wherein according to the page display policy and the page template combination, page element information is called from the page template resource library to dynamically generate page codes, and rendering operation is performed to display a target page, comprising: analyzing the page display strategy to obtain a page layout structure, analyzing the page template combination and obtaining a template identification; Retrieving and calling corresponding page element information from the page template resource library according to the template identification; embedding the called page element information into the corresponding position in the page layout structure to generate a page code; analyzing the page codes by using a rendering engine and loading associated resources to execute rendering operation, so as to generate a rendered page; and displaying the rendered page serving as a target page in the user terminal.
- 6. The page configuration and dynamic display method of claim 5, wherein parsing the page code and loading associated resources with a rendering engine to perform rendering operations generates a rendered page comprises: Performing lexical analysis and grammar analysis on the page codes by using a rendering engine, constructing a document object model tree, and identifying related resources referenced in the page codes; Initiating a resource acquisition request according to the resource attribute type of the associated resource so as to load the associated resource; In the process of loading the associated resources, aiming at the associated resources belonging to the static resources, searching a local cache system, and if the search hits, reading the associated resources; Registering a visual area monitoring event aiming at the associated resource belonging to the non-first screen resource in the process of loading the associated resource, and executing asynchronous loading when the associated resource enters a screen visual area; Constructing a rendering tree according to the document object model tree and the loaded associated resources, determining geometrical layout coordinates of page elements based on the rendering tree, and executing drawing; and synthesizing the drawn layers to generate a rendered page.
- 7. The method for configuring and dynamically displaying a page according to claim 1, wherein recording the interactive behavior data generated by the target user on the target page, and feeding back the interactive behavior data to the personalized recommendation model and the page display policy, so as to update the parameters of the personalized recommendation model and optimize the page display policy, comprises: deploying a front-end monitoring probe on the target page, and capturing click events, rolling depth and stay time of the target user in real time by using the front-end monitoring probe to generate interaction behavior data; determining conversion contribution degree of the target user based on the interactive behavior data, constructing a model rewarding signal based on the conversion contribution degree, and adjusting parameters of the personalized recommendation model by utilizing the model rewarding signal; and analyzing the conversion rate expression of the interactive behavior data, and adjusting the mapping relation between the user portrait data defined in the page display strategy and the page layout structure according to the conversion rate expression so as to optimize the page display strategy.
- 8. A page configuration and dynamic display device, characterized in that the page configuration and dynamic display device comprises: the page template management module is used for receiving page template files in various formats, wherein the page template files contain page element information, and performing classified storage and version control operation on the page template files to generate a page template resource library; the strategy generation module is used for responding to configuration operation aiming at the page element information through a visual configuration interaction interface and generating a page display strategy; the recommendation matching module is used for collecting user portrait data and user behavior data of a target user, inputting the user portrait data and the user behavior data into a preset personalized recommendation model to execute feature matching, and obtaining a page template combination corresponding to the target user; the page generation module is used for dynamically generating page codes by calling page element information from the page template resource library according to the page display strategy and the page template combination, and executing rendering operation to display a target page; and the feedback optimization module is used for recording the interactive behavior data generated by the target user on the target page, and feeding the interactive behavior data back to the personalized recommendation model and the page display strategy so as to update the parameters of the personalized recommendation model and optimize the page display strategy.
- 9. A computer device comprising a memory, a processor and a page configuration and dynamic presentation program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the page configuration and dynamic presentation method as claimed in any one of claims 1 to 7.
- 10. A computer readable storage medium, wherein a page configuration and dynamic presentation program is stored on the storage medium, which when executed by a processor implements the steps of the page configuration and dynamic presentation method according to any of claims 1-7.
Description
Page configuration and dynamic display method, device, equipment and medium Technical Field The present invention relates to the field of data analysis technologies, and in particular, to a method, an apparatus, a device, and a medium for page configuration and dynamic display. Background In the field of financial and scientific business, along with gradual online insurance business, an insurance page is generally displayed by adopting a preset template, and page structures, element layout and display contents are fixed in a design stage. The page has the advantages that the presentation forms are highly consistent when different users visit, targeted change is difficult to carry out according to the difference of customer groups, and the users lack of presentation contents matched with own requirements in the browsing process, so that the application experience is affected. The configuration mode of the existing insuring page usually depends on front end code modification or manual editing of a template file, the position relation and the display logic of page elements are realized by a technician through a program, and business personnel are difficult to directly participate in page layout and rule configuration. When the business strategy or the market demand changes, the page update needs to go through the development and online flow, the adjustment period is longer, and the flexibility of the page configuration is insufficient. Meanwhile, effective linkage between page presentation logic and user portrait data and user behavior data is lacking. The page content is determined before the user accesses, and proper page templates or element patterns cannot be dynamically matched according to the user characteristics. The interaction behavior of the user in the page is not continuously recorded and fed back to the page configuration logic, and the page display strategy is difficult to continuously optimize according to the real interaction condition. Disclosure of Invention The invention mainly aims to provide a page configuration and dynamic display method, device, equipment and storage medium, and aims to solve the technical problem that an existing page display mode is used for fixing a page template and display logic before display and cannot dynamically generate and continuously optimize page display content based on user portrait data and user behavior data. In order to achieve the above object, the present invention provides a method for configuring and dynamically displaying a page, including: receiving page template files in various formats, wherein the page template files contain page element information, performing classified storage and version control operation on the page template files, and generating a page template resource library; responding to configuration operation aiming at the page element information through a visual configuration interaction interface, and generating a page display strategy; collecting user portrait data and user behavior data of a target user, inputting the user portrait data and the user behavior data into a preset personalized recommendation model to execute feature matching, and obtaining a page template combination corresponding to the target user; According to the page display strategy and the page template combination, page element information is called from the page template resource library to dynamically generate page codes, and rendering operation is executed to display a target page; And recording interaction behavior data generated by the target user on the target page, and feeding the interaction behavior data back to the personalized recommendation model and the page display strategy so as to update parameters of the personalized recommendation model and optimize the page display strategy. Further, in order to achieve the above object, the present invention provides a page configuration and dynamic display device, including: the page template management module is used for receiving page template files in various formats, wherein the page template files contain page element information, and performing classified storage and version control operation on the page template files to generate a page template resource library; the strategy generation module is used for responding to configuration operation aiming at the page element information through a visual configuration interaction interface and generating a page display strategy; the recommendation matching module is used for collecting user portrait data and user behavior data of a target user, inputting the user portrait data and the user behavior data into a preset personalized recommendation model to execute feature matching, and obtaining a page template combination corresponding to the target user; the page generation module is used for dynamically generating page codes by calling page element information from the page template resource library according to the page display strategy and the page