Page navigation method and device, computer readable storage medium and electronic equipment

By building a user-matched page navigation tree and using user historical access sequences to generate navigation information, it solves the problem of cumbersome user operations under the traditional web page navigation structure and improves the efficiency of page navigation.

CN118535814APending Publication Date: 2024-08-23INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410379924.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Traditional web page navigation has a single structure, which results in users needing to jump to multiple pages when looking for products. The operation is cumbersome. Existing technology cannot effectively solve this problem.

Method used

By judging the target user's historical page access sequence, a user-matching page navigation tree is constructed, including access probabilities of nodes and edges, and a page containing navigation information is generated to simplify the steps for users to find the desired product.

Benefits of technology

It realizes the generation of navigation structure based on users' historical access habits, simplifies the steps for users to find the products they need, and improves the efficiency of page navigation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535814A
    Figure CN118535814A
Patent Text Reader

Abstract

The invention discloses a page navigation method and device, a computer readable storage medium and electronic equipment. The method relates to the field of big data, and comprises the following steps: when an access request of a target user is received, judging whether a page navigation tree matched with the target user is stored in a target platform or not; if the page navigation tree matched with the target user is stored, a first page is generated according to the page navigation tree matched with the target user and the access request, and the first page comprises navigation information used for navigating a next to-be-accessed page for the target user. According to the method and the device, the technical problem that when products are recommended to users in related technologies, page navigation is carried out according to a unified page navigation structure, so that the operation of finding the required products by the users is tedious is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data, and in particular to a page navigation method, device, computer-readable storage medium and electronic device. Background Art

[0002] With the rapid development of the digital economy, the number of online users is also growing. Due to the different product preferences, large age spans, and wide ranges of occupations of each user, different users have different personalized page usage needs.

[0003] At present, traditional web page navigation is a fixed tree-like navigation structure with a single structural style. When displaying products through this type of structure, some products will be hidden deep. As a result, when page navigation is performed for all users based on a unified tree-like navigation structure, some users will always need to jump to multiple pages to find the products they need, which leads to cumbersome user operations.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] Embodiments of the present invention provide a page navigation method, device, computer-readable storage medium and electronic device to at least solve the technical problem in the related art that when recommending products to users, page navigation is performed according to a unified page navigation structure, which makes it cumbersome for users to find the desired products.

[0006] According to one aspect of an embodiment of the present invention, a page navigation method is provided, comprising: upon receiving an access request from a target user, determining whether a page navigation tree matching the target user is stored in a target platform, wherein the target platform stores page navigation trees matching each of a plurality of users, the page navigation tree being determined based on a historical page access sequence of the user on the target platform, the pages recorded in the historical page access sequence being arranged in the order of user access, the page navigation tree including nodes representing pages, edges representing an access sequence between pages, and an access probability of edge matching, the page including product information of a product to be recommended; if a page navigation tree matching the target user is stored, generating a first page based on the page navigation tree matching the target user and the access request, wherein the first page includes navigation information for navigating the target user to a next page to be visited.

[0007] Furthermore, the page navigation method also includes: clustering multiple users based on their historical page access sequences to obtain multiple user groups; determining a page navigation tree that matches the user group based on the historical page access sequences of all users in the user group; and for each user, determining the page navigation tree that matches the user group to which the user belongs as the page navigation tree that matches the user.

[0008] Furthermore, the page navigation method also includes: for each user, mining a sequence whose access frequency is greater than a preset frequency from the user's historical page access sequence based on an access sequence mining algorithm to obtain at least one frequent subsequence of the user, wherein the pages recorded in the frequent subsequence are part or all of the pages recorded in all historical page access sequences of the user; clustering multiple users based on the frequent subsequences of multiple users to obtain multiple user groups.

[0009] Furthermore, the page navigation method also includes: constructing an access sequence tree based on frequent subsequences of all users in the user group, wherein the user's frequent subsequences are mined from the user's historical page access sequence, and the access sequence tree includes nodes representing pages, edges representing the access order between pages, and the access frequency matched by each node; for each page recorded in the access sequence tree, filtering a target sequence with a length of a target value from the access sequence tree, wherein the target sequence refers to a sequence starting from the node representing the page; adding one to the target value to obtain an updated target value, and repeatedly performing the step of filtering a target sequence with a length of the updated target value from the access sequence tree until the target value is equal to a preset value; determining a page navigation tree based on all the obtained target sequences and the access frequencies matched by the nodes in each target sequence in the access sequence tree.

[0010] Furthermore, the page navigation method also includes: determining the nodes and edges in the page navigation tree to be generated based on all target sequences to obtain an initial page navigation tree; for each first target node in the initial page navigation tree, determining the previous node of the first target node in the initial page navigation tree, wherein the first target node refers to a node whose previous node in the initial page navigation tree is not a preset root node; taking the first target node or the previous node as the current node, determining the node corresponding to the current node in the target sequence to obtain at least one second target node, and determining the sum of the access frequencies of the nodes corresponding to the second target node in the access sequence tree as the access frequency matched by the current node; determining the access frequency of the edge matching between the first target node and the previous node based on the ratio between the access frequency matched by the first target node and the access frequency matched by the previous node; determining the access frequency of the edge matching between each first target node and the previous node as the attribute of the edge in the initial page navigation tree to obtain a page navigation tree.

[0011] Furthermore, the page navigation method also includes: determining the page requested to be accessed in the access request to obtain a second page; predicting the next page to be visited by the target user based on the page navigation tree and the second page; generating navigation information matching the next page to be visited by the target user to obtain target navigation information; importing the target navigation information into the second page to obtain the first page.

[0012] Furthermore, the page navigation method also includes: determining whether the target user has visited any page within a target time range, wherein the target time range refers to a time range before receiving an access request; if there is a visited page, determining the next node corresponding to the first page from the page navigation tree based on the visited page and the first page, and obtaining a candidate node; if there is no visited page, determining the next node corresponding to the first page from the page navigation tree based on the first page, and obtaining a candidate node; in the case of multiple candidate nodes, determining the next page to be visited based on the access frequency of the edge matching between the candidate node and the node corresponding to the first page in the page navigation tree.

[0013] According to another aspect of an embodiment of the present invention, a page navigation device is also provided, including: a judgment module, used to judge whether a page navigation tree matching the target user is stored in the target platform when an access request of the target user is received, wherein the target platform stores page navigation trees matching each user among multiple users, and the page navigation tree is determined based on the user's historical page access sequence on the target platform, and the pages recorded in the historical page access sequence are arranged in the order of user access, and the page navigation tree includes nodes representing pages, edges representing the access sequence between pages, and the access probability of edge matching, and the page includes product information of the product to be recommended; a generation module, used to generate a first page based on the page navigation tree matching the target user and the access request if a page navigation tree matching the target user is stored, wherein the first page includes navigation information for navigating the target user to the next page to be visited.

[0014] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned page navigation method when running.

[0015] According to another aspect of an embodiment of the present invention, an electronic device is also provided, which includes one or more processors; a memory for storing one or more programs, which, when the one or more programs are executed by the one or more processors, enables the one or more processors to run the programs, wherein the programs are configured to execute the above-mentioned page navigation method when running.

[0016] In an embodiment of the present invention, a method of performing page navigation for users based on a page navigation tree matched with the user is adopted. When an access request of the target user is received, it is determined whether a page navigation tree matching the target user is stored in the target platform. If a page navigation tree matching the target user is stored, a first page is generated based on the page navigation tree matching the target user and the access request. The target platform stores page navigation trees matched by each of a plurality of users. The page navigation tree is determined based on a historical page access sequence of the user on the target platform. The pages recorded in the historical page access sequence are arranged in the order of user access. The page navigation tree includes nodes representing pages, edges representing an access sequence between pages, and an access probability of edge matching. The page includes product information of a product to be recommended. The first page includes navigation information for navigating the target user to the next page to be visited.

[0017] In the above process, the page contains product information of the product to be recommended. By determining the page navigation tree matching the user based on the user's historical page access sequence on the target platform, a navigation structure for page navigation for the user is generated based on the user's historical page access habits (that is, the historical access habits for recommended products). By storing a page navigation tree matching the target user in the target platform, a first page containing navigation information is generated based on the page navigation tree and the access request. This allows the target user to quickly jump to the page through the navigation information in the first page, thereby effectively simplifying the operation steps for the user to find the desired product.

[0018] It can be seen that the solution provided by the present application achieves the purpose of performing page navigation for users based on the page navigation tree matched by the users, thereby achieving the technical effect of simplifying the operation steps for users to find the required products, and further solves the technical problem in the related technology that when recommending products to users, page navigation is performed based on a unified page navigation structure, which leads to cumbersome operations for users to find the required products. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0020] Figure 1 is a schematic diagram of an optional page navigation method according to an embodiment of the present invention;

[0021] Figure 2 is a schematic diagram of an optional access sequence tree according to an embodiment of the present invention;

[0022] Figure 3is a schematic diagram of an optional processed access sequence tree according to an embodiment of the present invention;

[0023] Figure 4 is a schematic diagram of an optional initial page navigation tree according to an embodiment of the present invention;

[0024] Figure 5 is a schematic diagram of an optional page navigation tree according to an embodiment of the present invention;

[0025] Figure 6 is a schematic diagram of an optional page navigation device according to an embodiment of the present invention;

[0026] Figure 7 is a schematic diagram of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0029] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards in the relevant regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0030] Example 1

[0031] According to an embodiment of the present invention, an embodiment of a page navigation method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0032] Figure 1 is a schematic diagram of an optional page navigation method according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:

[0033] Step S101, upon receiving an access request from a target user, determines whether a page navigation tree matching the target user is stored in the target platform, wherein the target platform stores page navigation trees matching each of a plurality of users, and the page navigation tree is determined based on the user's historical page access sequence on the target platform, and the pages recorded in the historical page access sequence are arranged in the order of user access, and the page navigation tree includes nodes representing pages, edges representing the access sequence between pages, and access probabilities of edge matching, and the pages contain product information of the products to be recommended.

[0034] Optionally, electronic devices, application systems, servers and other devices can be used as the execution subject of the present application. In this embodiment, the target platform is used as the execution subject to execute the page navigation method. The target platform can be a platform in a financial institution, and the target platform can display a page for the user, which contains product information of the financial products of the financial institution, so that the user can select the desired product according to the product information on the page.

[0035] The target user may be any user who accesses a page in the target platform. When the target platform receives an access request from the target user, the target platform determines whether it has a page navigation tree matching the target user stored in it. The page navigation tree is used to represent a navigation structure for page navigation for the user.

[0036] Optionally, multiple page navigation trees are pre-stored in the target platform, one page navigation tree matches one or more users, and different page navigation trees match different users. The target platform can count the historical page access sequences of multiple users on the target platform, so as to determine the navigation tree that matches the user based on the historical page access sequence of the user. Among them, the historical page access sequence refers to the page access sequence of the user in the target platform within the historical time range, and the time end point in the historical time range is earlier than the current time point. The historical page access sequence includes multiple elements arranged in order, one element represents a page, and the element can be a page identifier, and the pages recorded in the historical page access sequence are arranged in the order of user access. For example, an optional historical page access sequence is "abc", a, b, c represent page a, page b, and page c respectively, and the historical page access sequence can represent that the user first visited page a, then visited page b, and finally visited page c.

[0037] Step S102: if a page navigation tree matching the target user is stored, a first page is generated according to the page navigation tree matching the target user and the access request, wherein the first page includes navigation information for navigating the target user to the next page to be visited.

[0038] Optionally, if the target platform stores a page navigation tree matching the target user, the target platform may determine the next node of the node corresponding to the page requested by the access request in the page navigation tree, thereby determining the next node as the next page to be accessed.

[0039] Afterwards, the target platform can generate navigation information for navigating the target user to the next page to be visited, and import the navigation information into the page requested to be visited by the access request, thereby obtaining the first page, and displaying the first page to the user. After browsing to the first page, the user can quickly jump to the page through the navigation information in the first page.

[0040] Based on the scheme defined by the above steps S101 to S102, it can be known that in an embodiment of the present invention, a method of performing page navigation for users based on a page navigation tree matched by users is adopted. When receiving an access request from the target user, it is determined whether a page navigation tree matching the target user is stored in the target platform. If a page navigation tree matching the target user is stored, a first page is generated based on the page navigation tree matching the target user and the access request, wherein the target platform stores page navigation trees matched by each of a plurality of users, the page navigation tree is determined based on the user's historical page access sequence on the target platform, the pages recorded in the historical page access sequence are arranged in the order of user access, the page navigation tree includes nodes representing pages, edges representing the access order between pages, and edge matching access probabilities, the page includes product information of the product to be recommended, and the first page includes navigation information for navigating the target user to the next page to be visited.

[0041] It is easy to notice that in the above process, the page contains product information of the product to be recommended, and by determining the page navigation tree matching the user based on the user's historical page access sequence on the target platform, it is possible to generate a navigation structure for page navigation for the user based on the user's historical page access habits (that is, the historical access habits for recommended products). By storing a page navigation tree matching the target user in the target platform, a first page containing navigation information is generated based on the page navigation tree and the access request, which makes it easy for the target user to quickly jump to the page through the navigation information in the first page, thereby effectively simplifying the operation steps for the user to find the required product.

[0042] It can be seen that the solution provided by the present application achieves the purpose of performing page navigation for users based on the page navigation tree matched by the users, thereby achieving the technical effect of simplifying the operation steps for users to find the required products, and further solves the technical problem in the related technology that when recommending products to users, page navigation is performed based on a unified page navigation structure, which leads to cumbersome operations for users to find the required products.

[0043] In an optional embodiment, the target platform can determine the page navigation tree that matches each user in the following manner: cluster multiple users based on their historical page access sequences to obtain multiple user groups; determine the page navigation tree that matches the user group based on the historical page access sequences of all users in the user group; for each user, determine the page navigation tree that matches the user group to which the user belongs as the page navigation tree that matches the user.

[0044] Optionally, the target platform can cluster multiple users based on the similarity between their historical page access sequences. The target platform can also first process the historical page access sequences of multiple users, and then cluster multiple users based on the similarity between the processed historical page access sequences. Each user has at least one historical page access sequence, and the number of historical page access sequences depends on the number of times the user logs into the target platform. In layman's terms, each time a user logs into the target platform, a historical page access sequence needs to be generated.

[0045] After obtaining multiple user groups, the target platform can determine the page navigation tree that matches the user group based on the historical page access sequences of all users in the user group, thereby determining the page navigation tree that matches the user group as the navigation tree that matches the users in the user group.

[0046] It should be noted that by clustering multiple users according to their historical page access sequences, it is possible to cluster users according to their behaviors. By determining a page navigation tree that matches the user group based on the historical page access sequences of all users in the user group, it is possible to analyze product preferences of similar groups based on the historical access habits of multiple users, thereby improving the accuracy of the generated page navigation tree and avoiding the problems of high resource consumption and low generation efficiency caused by generating a page navigation tree for each user individually.

[0047] In an optional embodiment, in the process of clustering multiple users according to their historical page access sequences to obtain multiple user groups, for each user, the target platform can mine the user's access frequency greater than a preset frequency from the user's historical page access sequence according to an access sequence mining algorithm to obtain at least one frequent subsequence of the user, thereby clustering multiple users according to the frequent subsequences of the multiple users to obtain multiple user groups. The pages recorded in the frequent subsequences are part or all of the pages recorded in all the historical page access sequences of the user.

[0048] Optionally, the access sequence mining algorithm may be WAP-Tree (Web Access Pattern Tree), PLWAP-Tree (Pre-Order Linked WAP-Tree) and other algorithms, and the PLWAP-Tree algorithm is an improved algorithm based on the WAP-Tree algorithm. For example, if the historical page access sequence of a certain user is "abdac", "eaebcac", "babfaec", "afbacfc", the frequent subsequences mined may be "c", "aac", "bac", "abac", "ac", "abc", "bc", "aba", etc. Each frequent subsequence contains at least one element, one element represents a page, and the element may be a page identifier.

[0049] After obtaining the frequent subsequences of each user, the target platform can cluster multiple users according to the similarity of the frequent subsequences between multiple users to obtain multiple user groups. For example, the target platform can first select a user from all users as the first center point, and then use the users other than the user as the first center point as other users, and for each other user, calculate the similarity between the frequent subsequences of the other user and the frequent subsequences of the user as the first center point to obtain the similarity corresponding to the other user. Afterwards, the target platform can select N users with the smallest similarity from all other users, and use the N users as the second center point to the N+1th center point respectively. Among them, different center points belong to different user groups.

[0050] Afterwards, the target platform may determine the users who are not used as N+1 center points as the remaining users, and for each remaining user, calculate the similarity between the frequent subsequence of the remaining user and the frequent subsequence of each user used as the center point, and obtain the target similarity between the remaining user and each user used as the center point. Then, the target platform may determine the user group to which the center point with the largest target similarity belongs as the user group to which the remaining user belongs. Optionally, the target platform may also determine the user group to which the center point with the largest target similarity and a target similarity greater than a preset threshold belongs as the user group to which the remaining user belongs. If there is no target similarity greater than the preset threshold, it is determined that there is no corresponding user group for the remaining user, and the determination of the page navigation tree matching the remaining user is stopped.

[0051] Herein, a method for calculating the similarity between the frequent subsequences of two users is described. Assuming that there are user A and user B, the target platform can count the number of sequences of the frequent subsequences that user A and user B have in common to obtain a first number, and count the sum of the number of sequences of the frequent subsequences owned by user A and the frequent subsequences owned by user B to obtain a second number, so that the ratio between the first number and the second number is determined as the similarity between the frequent subsequences of user A and user B.

[0052] It should be noted that by mining frequent subsequences from the user's historical page access sequence, the user's historical access habits can be accurately determined, and by clustering users according to frequent subsequences to obtain user groups, the accuracy of user groups is improved.

[0053] In an optional embodiment, in the process of determining the page navigation tree matching the user group based on the historical page access sequence of all users in the user group, the target platform can construct an access sequence tree based on the frequent subsequences of all users in the user group, and then for each page recorded in the access sequence tree, filter the target sequence with a length of the target value from the access sequence tree, then add one to the target value to obtain the updated target value, and repeat the step of filtering the target sequence with a length of the updated target value from the access sequence tree until the target value is equal to the preset value, thereby determining the page navigation tree based on all the obtained target sequences and the access frequencies matched by the nodes in each target sequence in the access sequence tree. Among them, the user's frequent subsequence is mined from the user's historical page access sequence, and the access sequence tree includes nodes representing pages, edges representing the access order between pages, and the access frequency matched by each node, and the target sequence refers to a sequence starting from the node representing the page.

[0054] For example, Figure 2 is a schematic diagram of an optional access sequence tree according to an embodiment of the present invention. If the frequent subsequences of all users are "abac", "abacc", "abcac", "babac", the access sequence tree constructed is as follows: Figure 2 As shown. Figure 2 In , the access sequence tree constructed includes each frequent subsequence, and there may be multiple nodes representing the same page, and a node may correspond to elements in multiple frequent subsequences. For example, Figure 2 The "a:3" node below the "Root" node corresponds to the first "a" element in the three frequent subsequences "abac", "abacc", and "abcac". For example, Figure 2The "a:2" node below the "a:3" node corresponds to the third "a" element in the two frequent subsequences "abac" and "abacc" respectively.

[0055] In addition, if Figure 2 As shown, accessing the first element in all frequent subsequences in the sequence tree is the same as accessing the root node in the sequence tree (i.e. Figure 2 ) and Figure 2 The number after the element in each node in represents the access frequency matched by the node. For the access frequency matched by each node in the access sequence tree, the number of frequent subsequences corresponding to the node can be determined as the access frequency matched by the node. In the case where the node corresponds to an element in a frequent subsequence, it is determined that the node corresponds to the frequent subsequence. For example, Figure 2 The "a:2" node corresponds to the third "a" element in the two frequent subsequences "abac" and "abacc", so its access frequency is 2.

[0056] like Figure 2 As shown, the access sequence tree also includes a header table (i.e. Figure 2 The header table in the header table stores the different elements in the frequent subsequences of all users (i.e. Figure 2 The "a", "b", and "c" below the header table are equivalent to storing the elements corresponding to all pages recorded in the frequent subsequences of all users, and each element is followed by a linked list (i.e. Figure 2 The linked list stores the position of the element in the access sequence tree, which is equivalent to recording the position of the node representing the page in the access sequence tree.

[0057] After obtaining the access sequence tree, the target platform can filter the target sequence with the target length from the access sequence tree for each page recorded in the access sequence tree. The initial value of the target value can be 1. Optionally, the target platform can traverse the header table in the access sequence tree, and for each element in the header table, that is, for each page, the target platform can determine the target sequence with the target length by the following steps:

[0058] Step 1: Take the page represented by any element in the header table as the current page, find the first node representing the current page from the access sequence tree according to the linked list in the header table, and take the first node representing the current page as the current node, and then determine the target sequence corresponding to the current node according to the position of the current node in the access sequence tree and the target value;

[0059] Step 2: According to the linked list, the next node representing the current page after the current node is used as the new current node, and the operation of step 1 is repeated until there is no next node representing the current page after the current node;

[0060] Step 3: All target sequences obtained in steps 1 and 2 are determined as target sequences with a length equal to the target value.

[0061] After obtaining the target sequence with the target value as the length, the target platform can add one to the target value to obtain the updated target value, and then repeat the step of filtering the target sequence with the updated target value as the length from the access sequence tree until the target value is equal to the preset value, thereby obtaining all the target sequences corresponding to the current page. Among them, all the target sequences corresponding to the same target value on any page can be represented in the form of a cross linked list. For example, the last element in the target sequence is used as the horizontal item of the cross linked list, and the sequence before the last element in the target sequence is used as the vertical item of the cross linked list. When the target value is 1, the sequence before the last element refers to the root node.

[0062] Optionally, after obtaining all target sequences of all pages, the target platform may determine the page navigation tree according to all obtained target sequences and the access frequencies of the nodes in each target sequence that match in the access sequence tree.

[0063] It should be noted that by first determining the access sequence tree and then extracting sequences from the access sequence tree to determine the page navigation tree, the access features of each level in the access sequence tree are effectively extracted, thereby improving the accuracy of the generated page navigation tree.

[0064] In an optional embodiment, in the process of determining the page navigation tree according to all the obtained target sequences and the access frequencies matched by the nodes in each target sequence in the access sequence tree, the target platform can determine the nodes and edges in the page navigation tree to be generated according to all the target sequences to obtain the initial page navigation tree, and then for each first target node of the initial page navigation tree, determine the previous node of the first target node in the initial page navigation tree, then use the first target node or the previous node as the current node, determine the node corresponding to the current node in the target sequence, obtain at least one second target node, and determine the sum of the access frequencies of the nodes corresponding to the second target node in the access sequence tree as the access frequency matched by the current node, and then determine the access frequency of the edge matching between the first target node and the previous node according to the ratio between the access frequency matched by the first target node and the access frequency matched by the previous node, thereby determining the access frequency of the edge matching between the first target node and the previous node according to the ratio between the access frequency matched by the first target node and the access frequency matched by the previous node. Wherein, the first target node refers to a node whose previous node in the initial page navigation tree is not a preset root node.

[0065] Optionally, the target platform can construct an initial page navigation tree according to the way of constructing nodes and edges in the access sequence tree. That is, the constructed initial page navigation tree includes each target sequence, and there may be multiple nodes in the initial page navigation tree representing the same page, and the same node in the initial page navigation tree corresponds to at least one node in multiple target sequences.

[0066] After obtaining the initial page navigation tree, for each first target node, the target platform can determine the previous node of the first target node in the initial page navigation tree. Afterwards, with the first target node or the previous node as the current node, the target platform can determine the node corresponding to the current node in the target sequence, and obtain at least one second target node, thereby determining the sum of the access frequencies of the nodes corresponding to the second target node in the access sequence tree as the access frequency matched by the current node.

[0067] For example, Figure 3 is a schematic diagram of an optional processed access sequence tree according to an embodiment of the present invention. To facilitate explanation of the relationship between the first target node and the second target node, Figure 3 The nodes of the access sequence tree shown in are numbered to obtain Figure 3 The access sequence tree after processing is shown. Figure 4 is a schematic diagram of an optional initial page navigation tree according to an embodiment of the present invention, assuming that Figure 2 or Figure 3The target sequences of length 1 extracted from the access sequence tree in are "a(1)", "a(5)", "a(9)", "a(4)", "a(10)". Figure 2 or Figure 3 The target sequences of length 2 extracted from the access sequence tree in are "ab(3)", "ab(7)", "ac(8)", "ac(12)", and "ac(13)". The initial page navigation tree constructed based on the aforementioned target sequences is as follows: Figure 4 The numbers in the brackets in the target sequence above represent the number corresponding to the last node in the target sequence in the access sequence tree, that is, the position of the node.

[0068] exist Figure 4 In the example, the node "b" or the node "c" is equivalent to the first target node, and the node "a" is equivalent to the previous node of the first target node. In this case, if the current node is the first target node "b", the node b in "ab(3)" and the node b in "ab(7)" are equivalent to the second target node, and the access frequency of the current node is 3+1=4. If the current node is the previous node of the first target node "b", "a(1)", "a(5)", "a(9)", "a(4)", and "a(10)" are equivalent to the second target node, and the access frequency of the current node is 3+2+1+1+1=8. Further, it can be calculated that the access frequency of the edge matching between the first target node "b" and the previous node is 50%.

[0069] After calculating the access frequency of the edge matching between each first target node and the previous node, the target platform can determine the access frequency of the edge matching between each first target node and the previous node as the attribute of the edge in the initial page navigation tree, thereby obtaining the page navigation tree. That is, there is no matching access frequency for the edge connected to the root node. For example, Figure 5 is a schematic diagram of an optional page navigation tree according to an embodiment of the present invention.

[0070] It should be noted that by determining the page navigation tree according to the access frequency of each node in the access sequence tree and the target sequence, accurate determination of the page navigation tree is achieved.

[0071] In an optional embodiment, in the process of generating a first page based on a page navigation tree and an access request matching the target user, the target platform can determine the page requested to be accessed in the access request to obtain a second page, and then predict the next page to be visited by the target user based on the page navigation tree and the second page, and then generate navigation information matching the next page to be visited by the target user to obtain target navigation information, thereby importing the target navigation information into the second page to obtain the first page.

[0072] Optionally, the target platform can find a node representing the second page from the access request, thereby determining the page represented by the next node of the node as the next page to be visited. Afterwards, the target platform can generate navigation information matching the next page to be visited according to the web link and other information of the next page to be visited, obtain the target navigation information, and then import the target navigation information into the second page to obtain the first page. The second page does not contain the aforementioned navigation information of the next page to be visited.

[0073] It should be noted that by predicting the target user's next page to be visited based on the page navigation tree and the second page, the next page to be visited is predicted based on the user's historical visit habits and the current page visited, thereby improving the accuracy of the next page to be visited. Further, by generating the first page based on the navigation information matched by the next page to be visited, the user can quickly jump to the next page to be visited from the first page, thereby effectively simplifying the user operation.

[0074] In an optional embodiment, in the process of predicting the next page to be visited by the target user based on the page navigation tree and the second page, the target platform can determine whether the target user has visited any page within the target time range, so that if there is a visited page, the next node corresponding to the first page is determined from the page navigation tree based on the visited page and the first page to obtain a candidate node; if there is no visited page, the next node corresponding to the first page is determined from the page navigation tree based on the first page to obtain a candidate node; and then, in the case of multiple candidate nodes, the next page to be visited is determined based on the access frequency of the edge matching between the candidate node and the node corresponding to the first page in the page navigation tree, wherein the target time range refers to the time range before receiving the access request.

[0075] For example, the target time range may refer to the time range from the time point when the user logs into the target platform to the current time point. If there are pages that have been visited, the target platform may determine the target page access sequence based on the pages that the target user has visited and the first page, and then find the target page access sequence connected to the root node from the page navigation tree, thereby determining the first node after the target page access sequence in the page navigation tree as a candidate node. If there are no pages that have been visited, the target platform may find the node representing the first page connected to the root node from the page navigation tree, and determine the next node of the node as a candidate node.

[0076] In the case of multiple candidate nodes, the target platform can determine the next page to be visited based on the access frequency of the edge matching between the candidate node and the node corresponding to the first page in the page navigation tree. Figure 5The bottom-level "a" and "c" nodes are candidate nodes, and the page matched by the "a" node is the next page to be accessed. In the case of one candidate node, the page matched by the candidate node is directly determined as the next page to be accessed.

[0077] It should be noted that by determining the next page to be visited in combination with the user's historical visit information, the accuracy of the determined next page to be visited can be further improved.

[0078] It can be seen that the solution provided by the present application achieves the purpose of performing page navigation for users based on the page navigation tree matched by the users, thereby achieving the technical effect of simplifying the operation steps for users to find the required products, and further solves the technical problem in the related technology that when recommending products to users, page navigation is performed based on a unified page navigation structure, which leads to cumbersome operations for users to find the required products.

[0079] Example 2

[0080] According to an embodiment of the present invention, an embodiment of a page navigation device is provided, wherein: Figure 6 is a schematic diagram of an optional page navigation device according to an embodiment of the present invention, such as Figure 6 As shown, the device comprises:

[0081] The judgment module 601 is used to judge whether a page navigation tree matching the target user is stored in the target platform when receiving an access request from the target user, wherein the target platform stores a page navigation tree matching each user among multiple users, and the page navigation tree is determined based on the historical page access sequence of the user on the target platform, and the pages recorded in the historical page access sequence are arranged in the order of the user's access, and the page navigation tree includes nodes representing pages, edges representing the access sequence between pages, and access probabilities of edge matching, and the page includes product information of the product to be recommended;

[0082] The generation module 602 is used to generate a first page according to the page navigation tree matching the target user and the access request if a page navigation tree matching the target user is stored, wherein the first page includes navigation information for navigating the target user to the next page to be visited.

[0083] It should be noted that the above-mentioned judgment module 601 and generation module 602 correspond to steps S101 to S102 in the above-mentioned embodiment. The examples and application scenarios implemented by the two modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment 1.

[0084] Optionally, the page navigation device also includes: a processing module, used to cluster multiple users according to their historical page access sequences to obtain multiple user groups; a first determination module, used to determine a page navigation tree that matches the user group based on the historical page access sequences of all users in the user group; and a second determination module, used to determine, for each user, a page navigation tree that matches the user group to which the user belongs as a page navigation tree that matches the user.

[0085] Optionally, the processing module also includes: a first processing sub-module, used for, for each user, mining sequences whose access frequency is greater than a preset frequency from the user's historical page access sequence based on an access sequence mining algorithm to obtain at least one frequent sub-sequence of the user, wherein the pages recorded in the frequent sub-sequence are part or all of the pages recorded in all historical page access sequences of the user; and a second processing sub-module, used for clustering multiple users based on their frequent sub-sequences to obtain multiple user groups.

[0086] Optionally, the first determination module also includes: a construction submodule, which is used to construct an access sequence tree based on the frequent subsequences of all users in the user group, wherein the frequent subsequences of the users are mined from the historical page access sequences of the users, and the access sequence tree includes nodes representing pages, edges representing the access order between pages, and the access frequency matched by each node; a screening submodule, which is used to screen a target sequence with a length of a target value from the access sequence tree for each page recorded in the access sequence tree, wherein the target sequence refers to a sequence starting from the node representing the page; a third processing submodule, which is used to add one to the target value to obtain an updated target value, and repeatedly perform the step of screening the target sequence with a length of the updated target value from the access sequence tree until the target value is equal to a preset value; the first determination submodule is used to determine the page navigation tree based on all the obtained target sequences and the access frequency matched by the nodes in each target sequence in the access sequence tree.

[0087] Optionally, the first determination submodule also includes: a first determination unit, which is used to determine the nodes and edges in the page navigation tree to be generated based on all target sequences to obtain an initial page navigation tree; a second determination unit, which is used to determine the previous node of the first target node in the initial page navigation tree for each first target node in the initial page navigation tree, wherein the first target node refers to a node whose previous node in the initial page navigation tree is not a preset root node; a third determination unit, which is used to take the first target node or the previous node as the current node, determine the node corresponding to the current node in the target sequence, obtain at least one second target node, and determine the sum of the access frequencies of the nodes corresponding to the second target node in the access sequence tree as the access frequency matched by the current node; a fourth determination unit, which is used to determine the access frequency of the edge matching between the first target node and the previous node based on the ratio between the access frequency matched by the first target node and the access frequency matched by the previous node; a fifth determination unit, which is used to determine the access frequency of the edge matching between each first target node and the previous node as the attribute of the edge in the initial page navigation tree to obtain a page navigation tree.

[0088] Optionally, the generation module 602 also includes: a second determination submodule, used to determine the page requested to be accessed in the access request, and obtain the second page; a prediction submodule, used to predict the next page to be visited by the target user based on the page navigation tree and the second page; a generation submodule, used to generate navigation information matching the next page to be visited by the target user, and obtain target navigation information; a fourth processing submodule, used to import the target navigation information into the second page, and obtain the first page.

[0089] Optionally, the prediction submodule also includes: a judgment unit, used to judge whether the target user has visited any page within the target time range, wherein the target time range refers to the time range before receiving the access request; a sixth determination unit, used to determine the next node corresponding to the first page from the page navigation tree based on the visited page and the first page if there is a visited page, and obtain a candidate node; a seventh determination unit, used to determine the next node corresponding to the first page from the page navigation tree based on the first page if there is no visited page, and obtain a candidate node; an eighth determination unit, used to determine the next page to be visited based on the access frequency of the edge matching between the candidate node and the node corresponding to the first page in the page navigation tree when there are multiple candidate nodes.

[0090] Example 3

[0091] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned page navigation method when running.

[0092] Example 4

[0093] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, wherein: Figure 7 is a schematic diagram of an optional electronic device according to an embodiment of the present invention, such as Figure 7 As shown, the electronic device includes one or more processors; a memory for storing one or more programs, which, when the one or more programs are executed by the one or more processors, enables the one or more processors to run the programs, wherein the programs are configured to execute the above-mentioned page navigation method when running.

[0094] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0095] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0096] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0097] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0098] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0099] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0100] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A page navigation method, characterized in that: include: In the case of receiving an access request from a target user, determining whether a page navigation tree matching the target user is stored in the target platform, wherein the target platform stores a page navigation tree matching each user among a plurality of users, the page navigation tree is determined based on a historical page access sequence of the user on the target platform, the pages recorded in the historical page access sequence are arranged in the order of the user's access, the page navigation tree includes nodes representing pages, edges representing the access sequence between pages, and access probabilities of the edge matches, and the pages include product information of the products to be recommended; If a page navigation tree matching the target user is stored, a first page is generated according to the page navigation tree matching the target user and the access request, wherein the first page includes navigation information for navigating the target user to a next page to be visited.

2. The method according to claim 1, characterized in that The page navigation tree that matches each user is determined in the following way: Clustering the multiple users according to their historical page access sequences to obtain multiple user groups; Determine a page navigation tree matching the user group based on the historical page access sequences of all users in the user group; For each user, a page navigation tree that matches the user group to which the user belongs is determined as a page navigation tree that matches the user.

3. The method according to claim 2, characterized in that Clustering the multiple users according to their historical page access sequences to obtain multiple user groups, including: For each user, mining a sequence whose access frequency of the user is greater than a preset frequency from the user's historical page access sequence according to an access sequence mining algorithm to obtain at least one frequent subsequence of the user, wherein the pages recorded in the frequent subsequence are part or all of the pages recorded in all historical page access sequences of the user; The multiple users are clustered according to the frequent subsequences of the multiple users to obtain the multiple user groups.

4. The method according to claim 2, characterized in that: Determining a page navigation tree matching the user group based on the historical page access sequences of all users in the user group includes: According to the frequent subsequences of all users in the user group, an access sequence tree is constructed, wherein the frequent subsequences of the users are mined from the historical page access sequences of the users, and the access sequence tree includes nodes representing pages, edges representing the access order between pages, and the access frequency matched by each node; For each page recorded in the access sequence tree, a target sequence having a length equal to a target value is selected from the access sequence tree, wherein the target sequence refers to a sequence starting from a node representing the page; Adding one to the target value to obtain an updated target value, and repeatedly performing the step of selecting a target sequence having a length of the updated target value from the access sequence tree until the target value is equal to a preset value; The page navigation tree is determined according to all the obtained target sequences and the access frequencies of the nodes in each target sequence that match in the access sequence tree.

5. The method according to claim 4, characterized in that Determining the page navigation tree according to all the obtained target sequences and the access frequencies of the nodes in each target sequence matched in the access sequence tree includes: Determine the nodes and edges in the page navigation tree to be generated according to all target sequences, and obtain the initial page navigation tree; For each first target node of the initial page navigation tree, determining a previous node of the first target node in the initial page navigation tree, wherein the first target node refers to a node whose previous node in the initial page navigation tree is not a preset root node; Taking the first target node or the previous node as the current node, determining the node corresponding to the current node in the target sequence, obtaining at least one second target node, and determining the sum of the access frequencies of the nodes corresponding to the second target node in the access sequence tree as the access frequency matched by the current node; Determining the access frequency of the edge matching between the first target node and the previous node according to the ratio between the access frequency of the first target node matching and the access frequency of the previous node matching; The access frequency of the edge matching between each first target node and the previous node is determined as the attribute of the edge in the initial page navigation tree to obtain the page navigation tree.

6. The method according to claim 1, characterized in that Generating a first page according to the page navigation tree matched by the target user and the access request includes: Determine the page requested to be accessed in the access request, and obtain a second page; Predicting a next page to be visited by the target user based on the page navigation tree and the second page; Generate navigation information matching the next page to be visited by the target user to obtain target navigation information; The target navigation information is imported into the second page to obtain the first page.

7. The method according to claim 6, characterized in that Predicting the next page to be visited by the target user according to the page navigation tree and the second page includes: Determine whether the target user has visited any page within a target time range, wherein the target time range refers to a time range before receiving the access request; If the visited page exists, determining a next node corresponding to the first page from the page navigation tree according to the visited page and the first page, and obtaining a candidate node; If the visited page does not exist, determining a next node corresponding to the first page from the page navigation tree according to the first page to obtain a candidate node; In the case that there are multiple candidate nodes, the next page to be visited is determined according to the access frequency of the edge matching between the candidate nodes and the nodes corresponding to the first page in the page navigation tree.

8. A page navigation device, characterized in that: include: A judgment module, for judging whether a page navigation tree matching the target user is stored in the target platform upon receiving an access request from the target user, wherein the target platform stores a page navigation tree matching each user among a plurality of users, the page navigation tree is determined based on a historical page access sequence of the user on the target platform, the pages recorded in the historical page access sequence are arranged in a sequence of access by the user, the page navigation tree includes nodes representing pages, edges representing an access sequence between pages, and an access probability of the edge matching, and the page includes product information of the product to be recommended; A generation module is used to generate a first page according to the page navigation tree matching the target user and the access request if a page navigation tree matching the target user is stored, wherein the first page includes navigation information for navigating the target user to the next page to be visited.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the page navigation method described in any one of claims 1 to 7 when running.

10. An electronic device, characterized in that: The electronic device includes one or more processors; A memory for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to run the programs, wherein the programs are configured to execute the page navigation method described in any one of claims 1 to 7 when run.