Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The page personalized display method provided by the embodiment of the invention can be applied to the application environment shown in fig. 1. Specifically, the page personalized display method is applied to an application system corresponding to the APP, for example, the application system may be a transaction application system, and the transaction application system refers to an application system for performing product transaction; alternatively, the application system may be a management application system, which is an application system for implementing information management; alternatively, the application system may be an application system that can implement other functions. The application system comprises a client and a server shown in fig. 1, wherein the client and the server are in communication through a network and are used for displaying a target personalized page on the client when different users log in the application system through respective target accounts, the target personalized page can quickly display preloaded target data associated with the target accounts so as to reduce the display of page data irrelevant to the users, reduce the use of page operation modes drilled layer by layer, quickly look up the target data concerned by the target data, save the operation time and avoid the problems of page jump jamming and untimely page data display. The client is also called a user side, and refers to a program corresponding to the server and providing local services for the client. The client may be installed on, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The server may be implemented as a stand-alone server or as a server cluster consisting of a plurality of servers.
In an embodiment, as shown in fig. 2, a method for displaying a personalized page is provided, which is described by taking the application of the method to the server in fig. 1 as an example, and includes the following steps:
s201: and acquiring an account login request sent by the client, wherein the account login request comprises a target account and information to be verified.
The account login request is a request triggered by a user through a client to log in an application system. The target account is an account which is registered on the application system in advance by the user triggering the account login request at this time. The information to be verified is the information which is input and stored by the user triggering the account login request during the registration and is used for identity verification. The information to be verified can be text information, such as a login password, voice information, such as voice information for a user to reply a specific security problem, and image information, such as a face image or an iris image.
As an example, when a user logs in any application, the user may input a target account and information to be authenticated through the client, and click a "login" or other confirmation button, which may trigger an account login request, so that the server may obtain the account login request sent by the client.
S202: and preloading data to be selected corresponding to N topics to be selected related to the target account to a system cache, and performing identity verification based on the target account and information to be verified to obtain an identity verification result, wherein N is not less than 2.
In this embodiment, the application system divides all data to be displayed into a plurality of configuration topics according to different classification criteria in advance, where the configuration topics are topics preset by the application system and used for a user to select in a configuration process, and are the minimum units of data classification in the application system, and may be specifically understood as topic names corresponding to a certain page of data.
The selected topics are configuration topics related to the target account, and N is the number of the selected topics, wherein N is ≧ 2. The data to be selected is page data corresponding to the theme to be selected. For example, in the transaction application system, if a certain subject to be selected is "a traded product", the data to be selected corresponding to the subject name of "the traded product" is the product data of the user transacting in the transaction application system through the target account.
As an example, after receiving an account login request, the server calls a pre-loading thread and an authentication thread which are configured in advance in the parallel processor; executing a preloading thread, and preloading the data to be selected corresponding to the N topics to be selected related to the target account to a system cache so as to improve the display efficiency of the data to be selected at the client and avoid the situation that the page data is not displayed timely; and executing an identity authentication thread in parallel, performing identity authentication based on the target account and the information to be authenticated, acquiring an identity authentication result, and ensuring data security through the identity authentication. It can be understood that the parallel processing by the preloading thread and the identity verification thread is beneficial to improving the display efficiency of the page data.
As an example, the server preloading N candidate topics related to a target account into a system cache specifically includes: (1) and the server queries a system database according to the target account to acquire target user information corresponding to the target account. The target user information is information related to a user corresponding to a target account, which is pre-recorded by the application system, and may be information filled in and stored in a system database during the process of registering the target account for the user, including but not limited to a user role. (2) And the server determines the data to be selected corresponding to the N topics to be selected corresponding to the target user information based on the target user information. For example, the server may select a special topic related to the target user information from all the configuration topics according to the target user information, and determine the special topic as a topic to be selected. For another example, the server may select a general topic and a specific topic related to the target user information from all configuration topics according to the target user information, and determine the general topic and the specific topic as topics to be selected. The general theme refers to a configuration theme that all users can refer to. The special topic is a configuration topic which can be consulted only by a user corresponding to the target user information, and the special topic is a configuration topic related to a specific user. (3) The data to be selected corresponding to the N topics to be selected are preloaded to a system cache, so that after the target personalized page is determined, the corresponding data to be selected can be displayed quickly, the data display efficiency is improved, and the problem that the page data are not displayed timely is solved.
As an example, the server performs authentication based on the target account and the information to be authenticated, and obtains an authentication result, which specifically includes: and inquiring a system database based on the target account, acquiring registration verification information corresponding to the target account from the system database, and acquiring an identity verification result based on the information to be verified and the registration verification information. The registration verification information is information which is preset by the user and stored in a system database for identity verification. Because the information to be verified can be text information, voice information or image information, correspondingly, the registered verification information can also be text information, voice information or image information.
For example, if the information to be verified and the registration verification information are both text information, and the two text information are completely consistent, obtaining an identity verification result passing the verification; and if the two character messages are not completely consistent, acquiring an identity authentication result which fails to pass the authentication.
For another example, if the information to be verified and the registration verification information are both image information, performing similarity calculation on the two image information by using an image recognition algorithm to obtain image similarity; if the image similarity is larger than the first similarity threshold, acquiring an identity verification result which passes the verification; and if the image similarity is not greater than the first similarity threshold, acquiring an identity verification result which fails in verification. The first similarity threshold is a preset threshold for evaluating whether the image similarity of two pieces of image information reaches a threshold deemed to be the same user criterion.
For another example, if the information to be verified and the registration verification information are both voice information, performing similarity calculation on the two voice information by adopting a voiceprint recognition algorithm to obtain voiceprint similarity; if the voiceprint similarity is larger than the second similarity threshold, acquiring an identity verification result which passes the verification; and if the voiceprint similarity is not greater than the second similarity threshold, acquiring an identity authentication result which is not verified. The second similarity threshold is a preset threshold for evaluating whether the voiceprint similarity of the two voice messages reaches the standard of being regarded as the same user.
S203: and if the identity verification result is that the verification is passed, determining a target personalized page based on the target account, wherein the target personalized page comprises M target topics and topic display positions corresponding to the target topics, and M is not less than 2.
The target personalized page is a page related to the target account and used for realizing personalized display of page data, wherein the personalized display means that contents displayed on a client corresponding to each target account are different, and specifically means that a displayed target theme is different from a theme display position. The target theme is to display the theme to be selected related to the target account on the target personalized page, and M is the number of the target theme, wherein M is ≧ 2. The theme display position is the position of each target theme on the target personalized page.
As an example, when the authentication result is that the authentication is passed, that is, in a case of determining that the data is safe, the server needs to query the history in the database of the system based on the target account to determine a target personalized page corresponding to the target account, where the target personalized page includes M target topics and a topic display location corresponding to each target topic. The history record is formed by logging in the application system before the current time of the system, can be a personal record formed by logging in the application system by a user corresponding to the target account, and can determine the attention points of the user according to the personal record so as to determine M target subjects; alternatively, the history record may be an association record formed by a user associated with the target account logging in the application system, and the profile analysis may be performed according to the association record to determine the user interest points, so as to determine the M target topics. The user associated with the target account here may be a user associated with the target user information, e.g., a user with the same role.
For example, in the application system development process, a page layout corresponding to each login display interface is configured in advance, and the login display interfaces are divided into different M data display modules through the page layouts; after the server determines M target topics corresponding to the target account based on the historical records of the target account query system database, the server sequentially determines the data display module corresponding to each target topic so as to determine the corresponding topic display position, and therefore the target personalized page is obtained. For example, if the page layout corresponding to a login display interface is in a nine-square form, the page layout comprises 9 data display modules, the server determines 9 target topics and the data display module corresponding to each target topic based on the target account, and determines the position of the data display module on the login display interface as a topic display position.
The server determines a target personalized page based on the target account when the identity verification result is that the verification passes, wherein the target personalized page comprises M target topics related to the target account and topic display positions thereof, so that the target personalized page can display page data corresponding to different target topics, and the page data corresponding to different target topics are different in topic display positions of the target personalized page and are more suitable for the user to look up requirements, thereby reducing the frequent page jump of the user through a page operation mode of drilling down layer by layer, saving the operation time, and effectively avoiding the page jump jamming problem.
S204: and acquiring the data to be selected corresponding to the target theme from the system cache, and determining the data to be selected as the target data.
As an example, when determining the target personalized page based on the target account, the server may select, based on the target theme, the data to be selected corresponding to the theme to be selected that is the same as the target theme from all the data to be selected preloaded in the system cache, and determine the data to be selected as the target data. The target data is page data which is required to be displayed on the target personalized page and is related to the target subject. The target data are determined from the to-be-selected data preloaded in the system cache, so that the acquisition efficiency of the target data is improved, and the problem that the target data are not displayed timely can be effectively avoided.
S205: and displaying the target personalized page on the client, and displaying the target data on the theme display position corresponding to the target theme.
As an example, a server responds to an account login request sent by a client, a target personalized page is required to be displayed on the client, the target personalized page comprises M target topics, and preloaded target data acquired from a system cache is displayed at a topic display position corresponding to each target topic, so that the display content and the display position of the page data in the target personalized page corresponding to each target account are ensured to be personalized, page data concerned by a user can be displayed to the maximum extent, the frequent page jump by the user through a layer-by-layer page drill-down page operation mode is facilitated to be reduced, the operation time is saved, and the page jump jamming problem can be effectively avoided. In addition, the target data corresponding to each target theme on the target personalized page is the data to be selected preloaded in the system cache, so that the acquisition efficiency of the target data is improved, and the problem that the target data is not displayed timely can be effectively avoided.
Generally, the candidate data corresponding to the candidate topic may be hierarchical data, that is, data that needs to be divided into different hierarchies according to a specific hierarchical rule. And dividing the data to be selected corresponding to any one theme to be selected into at least two layers of page data according to a specific layering rule. For example, if the candidate data is divided into two layers, the candidate data includes first-layer data and second-layer data, and the second-layer data is last-layer data. If the data to be selected is divided into three layers, dividing the data to be selected into three layers of first-layer data, second-layer data and last-layer data, if the first-layer data of a certain subject to be selected is A, dividing the first-layer data according to a specific layering rule, and determining three second-layer data A1, A2 and A3; dividing the secondary layer data A1 according to a specific layering rule, and determining four final layer data A11, A12, A13 and A14 corresponding to the secondary layer data A1; dividing the secondary layer data A2 according to a specific layering rule, and determining three final layer data corresponding to the secondary layer data A2 as A21, A22 and A23; the sub-level data A3 is divided according to a specific hierarchical rule, and two end-level data a31 and a32 corresponding to the sub-level data A3 are determined. It can be understood that the specific hierarchical rule here is a preset rule for hierarchically displaying the to-be-selected data corresponding to the to-be-selected subject.
In a specific embodiment, the preloading of the to-be-selected data corresponding to the N to-be-selected topics related to the target account in the step S202 to the system cache specifically includes: and preloading the home page data corresponding to the N to-be-selected subjects relevant to the target account to a system cache. The first page data is data that needs to be displayed on the first page of the target personalized page, and may be first-layer data, or may be first-page data and second-layer data. The concept corresponding to the top page data is non-top page data, i.e., page data that need not be displayed on the top page of the target personalized page. The method and the device have the advantages that the home page data corresponding to the N to-be-selected topics are preloaded to the system cache, and the non-home page data do not need to be loaded to the system cache, so that the preloaded data amount is saved, and the loading efficiency is improved.
Accordingly, the displaying the target data at the theme display position corresponding to the target theme in step S205 includes: the method comprises the steps of displaying the first page data at a theme display position corresponding to a target theme, and loading the non-first page data corresponding to the target theme to a system cache in parallel, so that the non-first page data is loaded to the system cache while the first page data corresponding to the target theme is displayed, and therefore when a user looks up the first page data corresponding to the target theme, if the user needs to drill down to look up the non-first page data, the non-first page data can be directly obtained from the system cache and displayed, the display efficiency of the non-first page data is improved, and the problem that the page data is displayed untimely can be avoided.
In the method for displaying the page personalization provided by the embodiment, after the account login request corresponding to the target account is acquired, the operation of preloading the data to be selected and the authentication operation are executed in parallel, so that the processing efficiency is improved, the display efficiency of the page data is improved, and the data security is also improved; when the identity authentication result is that the identity authentication is passed, determining a target personalized page based on the target account so as to display target data corresponding to different target themes on different theme display positions of the target personalized page, thereby being beneficial to meeting personalized display requirements; determining target data corresponding to the target theme from the system cache, which is beneficial to improving the acquisition efficiency of the target data and avoiding the problem that the target data is not displayed timely; and then, target data are displayed at the theme display position corresponding to the target theme on the target personalized page, so that the personalized display of the user focus can be realized, the situation that the user frequently carries out page jump in a page operation mode of drilling down layer by layer is reduced, the operation time is saved, and the problem of page jump blockage can be effectively avoided.
In one embodiment, as shown in fig. 3, the determining the target personalized page based on the target account in step S203 includes:
s301: and inquiring a system database based on the target account to obtain the account login type corresponding to the target account.
The method comprises the following steps that account login types are used for reflecting whether a user logs in an application system for the first time, and the account login types comprise a first login type and a non-first login type, wherein the first login is the type of the first login after a target account registers the application system; accordingly, non-first-time login refers to other login situations than first-time login.
As an example, the server can query the system database based on the target account to determine a history record corresponding to the target account, and determine whether the target account is logged in for the first time according to the history record, so that the account login type is obtained, and the operation process is simple and convenient.
S302: and if the account login type is the first login, performing user portrait analysis on target user information based on the target user information corresponding to the target account to obtain a target label, and determining the target personalized page according to a standard personalized page corresponding to the target label.
The target user information is information related to a user corresponding to a target account, which is pre-recorded by the application system, and may be information filled in and stored in a system database during the process of registering the target account for the user, including but not limited to a user role. The target tag is a client tag determined by feature extraction and user profile analysis of the target user information. The standard personalized page is a pre-designed interface matched with the configuration tag and used for realizing personalized display. The configuration tag is a preconfigured customer tag.
As an example, when the account login type is first login, the server determines that the user corresponding to the target account has not logged in the application system based on the target account before the current time of the system, and at this time, the server may query the system database according to the target account to obtain the target user information corresponding to the target account; performing feature extraction and user portrait analysis on the target user information to obtain a target label corresponding to the target user information; and then, determining a standard personalized page corresponding to a configuration tag which is pre-stored in a system database and is the same as the target tag as a target personalized page to realize personalized display according to target user information, so that target data displayed on the target personalized page is matched with the target tag determined by user portrait analysis.
S303: and if the account login type is non-initial login, determining the latest historical personalized page corresponding to the target account as the target personalized page.
The historical personalized page is a personalized page formed when the system logs in the application system based on the target account before the current time of the system. The history personalized page can be a user personalized page which is configured by a user independently and corresponds to a target account, and can also be a default configuration personalized page of an application system, wherein the configuration personalized page is a personalized page which is configured in advance by the system.
As an example, when the account login type is non-initial login, the server determines that the user corresponding to the target account has logged in the application system based on the target account before the current time of the system, at this time, the server may determine, according to the history record corresponding to the target account, the most recent history personalized page corresponding to the target account as the target personalized page of the current login, and the target personalized page may be adapted to the personalized requirements of the user to the greatest extent, so that the target data most concerned by the user corresponding to the target account may be displayed on the target personalized page, the frequency of page skipping is reduced, the frequent page skipping by the user through a layer-by-layer page operation mode is effectively reduced, and page skipping is avoided.
In the page personalized display method provided by the embodiment, the standard personalized page and the historical personalized page are respectively selected according to the account login type corresponding to the target account and determined as the target personalized page, so that personalized display can be performed for the user corresponding to the target account, the target data which is most concerned by the user corresponding to the target account can be displayed on the target personalized page, the user requirements can be met, the frequency of page skipping is reduced, and the problem of page skipping and blocking is avoided.
In an embodiment, as shown in fig. 4, the performing user portrait analysis on the target user information in step S302 to obtain the target tag includes:
s401: and performing feature extraction on the target user information to obtain K portrait analysis factors and original portrait data corresponding to each portrait analysis factor.
The image analysis factor is a factor to be analyzed in the user image analysis process, and is specifically understood as an object name to be analyzed, K is the number of the image analysis factors, and K ≧ 2. The original portrait data is the object content in the target user information that is opposite to the portrait analysis factor.
As an example, after querying the system database based on the target account to determine the target user information corresponding to the target account, the server needs to perform feature extraction on the target user information to extract the original image data corresponding to the K image analysis factors. For example, the target user information includes, but is not limited to, identity information such as user role, user position, and user gender, and also includes user access behavior such as browsing content, clicking behavior, dwell time, favorite content, and the like. If the user role is A, the user role is an image analysis factor, and A is the original image data corresponding to the image analysis factor.
S402: and adopting a standardization processing logic corresponding to the image analysis factor to standardize the original image data corresponding to the image analysis factor to obtain standard image data corresponding to the image analysis factor.
The normalization processing logic is a logic configured in advance for performing normalization processing on the original image data corresponding to the corresponding image analysis factor.
As an example, the server performs normalization processing on the original portrait data corresponding to the portrait analysis factor by using a normalization processing logic corresponding to the portrait analysis factor, specifically including formatting and denoising the original portrait data to obtain standard portrait data, so as to ensure feasibility and accuracy of subsequent analysis processing. The formatting process is understood to be non-dimensionalization (nondimensionalization or dimensionless), which means that a part or all of the units of an equation relating to physical quantities are removed by a suitable variable substitution, so as to simplify the experiment or calculation and help to guarantee the feasibility of the subsequent analysis process. The denoising process here can be understood as a process of removing abnormal data, for example, a process of removing raw image data having a large difference from the mean value of all raw image data.
S403: and analyzing and processing the standard portrait data corresponding to the K portrait analysis factors by adopting a portrait analysis tool to obtain the target label.
The portrait analysis tool is based on a tool which is configured in advance and used for realizing the portrait analysis function. As an example, the server may employ an image analysis tool to analyze and process standard image data corresponding to K image analysis factors to obtain the target tag.
For example, an image analysis tool is used to perform weighting processing on the analysis factor weights corresponding to the K image analysis factors and the standard image data to obtain image analysis scores, and then a score tag matching table is queried based on the image analysis scores to determine a client tag corresponding to the image analysis scores as a target tag. The analysis factor weight is a weight previously allocated for each image analysis factor. The score tag matching table is a data table configured in advance for recording the corresponding relation between the portrait analysis score and the client tag.
For another example, an image analysis tool is adopted to map standard image data corresponding to K image analysis factors into a K-dimensional radar map to obtain a target radar map; and performing similarity calculation on the target radar map and a standard radar map which is stored in a system database in advance and corresponds to the client tag, and determining the client tag which corresponds to the standard radar map with the highest similarity as the target tag. The standard radar chart is a K-dimensional radar chart which is configured in advance and is related to a client tag.
In the method for displaying the page personalization provided by the embodiment, after K portrait analysis factors and corresponding original portrait data are extracted from target user information; firstly, the standardized processing logic is adopted to carry out standardized processing on the original portrait data to obtain the standard portrait data, which is beneficial to ensuring the feasibility and the accuracy of the portrait analysis of the subsequent user; and then, performing user portrait analysis processing on the standard portrait data corresponding to the K portrait analysis factors by adopting a portrait analysis tool to obtain a target tag, so that the target tag is determined according to the target user information and a target personalized page is determined based on the target tag, the target data which is most concerned by the user and corresponds to the target account can be displayed on the target personalized page, the personalized requirements of the user and corresponds to the target account are met, the frequency of page skipping is reduced, and page skipping is avoided.
In an embodiment, as shown in fig. 5, the displaying the target data at the theme display position corresponding to the target theme in step S205 includes:
s501: and acquiring the security attribute of the target theme.
The security attribute of the target subject is an attribute used for limiting whether page data corresponding to the target subject needs to be subjected to security processing. Generally, the security attribute of the target theme can be determined by a system administrator of the application system, and can also be set by the user according to the privacy requirement of the user.
S502: if the security attribute of the target theme is the confidential theme, displaying a confidential icon at the theme display position corresponding to the target theme, wherein the confidential icon is connected with a decryption page, receiving target decryption information fed back based on the decryption page, performing decryption verification on the target decryption information, obtaining a decryption verification result, and if the decryption verification result is successful, displaying target data at the theme display position corresponding to the target theme.
As an example, if the security attribute corresponding to the target subject is a confidential subject, it is described that target data corresponding to the target subject needs to be processed in a confidential manner and is only referred by a specific user, and therefore, the server needs to first control the client to display a confidential icon at a subject display position corresponding to the target subject, where the confidential icon is linked with a decryption page. Then, the server may receive target decryption information fed back based on the decryption page, specifically, the user may click a link corresponding to the security icon to switch to the decryption page, the decryption page displays the security problem and an information input box corresponding to the security problem, and after the user inputs and confirms the target decryption information corresponding to the security problem in the information input box, the server may receive the target decryption information fed back based on the decryption page. Then, the server needs to compare the received target decryption information with verification decryption information corresponding to the security problem and stored in a system database; if the target decryption information is consistent with the verification decryption information, a decryption verification result of successful decryption is obtained, and the client can be controlled to display the target data on the theme display position corresponding to the target theme; if the target decryption information is inconsistent with the verification decryption information, a decryption verification result of decryption failure is obtained, and the client can be controlled to display the decryption failure information.
S503: and if the security attribute of the target theme is a non-confidential theme, displaying the target data on a theme display position corresponding to the target theme.
As an example, if the security attribute of the target subject is a non-confidential subject, it is described that confidential processing is not required to be performed on the target data corresponding to the target subject, and the target data may be directly displayed at the subject display position corresponding to the target subject, so that the user corresponding to the target account may directly refer to the target data.
In the method for displaying the page personalization provided by this embodiment, when the security attribute corresponding to any target theme is a confidential theme, decryption verification is performed first, and then target data is displayed at a theme display position corresponding to the target theme, which is helpful for ensuring the security of the target data corresponding to the target theme. It can be understood that, by dividing the security attributes of the target theme, personalized setting of different target themes on the target personalized page can also be realized, so as to meet the personalized display requirements of the user corresponding to the target account.
In an embodiment, as shown in fig. 6, the displaying the target data at the theme display position corresponding to the target theme in step S205 includes:
s601: and acquiring the data attribute corresponding to the target subject.
The data attribute of the target theme is an attribute used for limiting whether the page data corresponding to the target theme is the hierarchical data. In this example, the data attributes corresponding to the target topic include hierarchical data and non-hierarchical data. The hierarchical data refers to data divided into different hierarchical levels according to a specific hierarchical rule. The non-hierarchical data refers to data that is not divided into different levels according to a specific hierarchical rule.
S602: and if the data attribute corresponding to the target theme is hierarchical data, displaying the target data on the theme display position corresponding to the target theme according to the terminal screen type corresponding to the client.
The terminal screen type corresponding to the client is determined by classifying the screen size of the computer equipment corresponding to the client according to the screen classification standard. The terminal screen types comprise a large screen type and a small screen type, wherein the large screen type refers to the screen type that the screen size of the computer equipment corresponding to the client is larger than the classification size threshold, for example, the computer is the large screen type; correspondingly, the small screen type refers to a screen type in which the screen size of the computer device corresponding to the client is not greater than the classification size threshold, for example, the smartphone is the small screen type. The classification size threshold is a preset threshold for dividing screen sizes of different terminal screen types.
As an example, if the data attribute corresponding to the target topic is hierarchical data, it indicates that the target data at least includes two layers of page data, that is, at least includes first-layer data and second-layer data; at this time, the server determines the terminal screen type corresponding to the client according to the terminal identifier carried in the received account login request. The terminal identifier is an identifier which is automatically carried by the client when the client triggers an account login request and is used for uniquely identifying the computer equipment corresponding to the client, for example, a factory equipment number.
As an example, when the data attribute corresponding to the target theme is hierarchical data, if the terminal screen type corresponding to the client is a large screen type, the server simultaneously displays two adjacent layers of page data on the theme display position corresponding to the target theme; and if the terminal screen type corresponding to the client is the small screen type, displaying a layer of page data at the theme display position corresponding to the target theme.
In this example, displaying two adjacent layers of page data at the same time at the theme display position corresponding to the target theme specifically includes: the theme display position corresponding to the target theme is divided into an upper layer display area and a lower layer display area which are distributed in parallel, and two layers of adjacent page data are displayed on the upper layer display area and the lower layer display area respectively, so that the two layers of adjacent page data are displayed simultaneously, page operation of drilling down layer by layer can be reduced, the operation time is saved, and the problem of blocking caused by frequent page jumping is avoided. For example, in the first layer data a, the second layer data a1/a2/A3, the last layer data a11/a12/a13/a14, a21/a22/a23 and a31/a32 of the target data, any one of the first layer data a and the second layer data a11/a12/a13/a14 may be displayed at the same time, and any one of the second layer data a1 and the last layer data a11/a12/a13/a14 may be displayed at the same time.
In the page personalized display method provided by this embodiment, based on the data attribute and the terminal screen type corresponding to the target theme, two adjacent layers of page data are displayed at the same time or only one layer of page data is displayed at the theme display position corresponding to the target theme, so as to implement the personalized display of the target data by adapting to different terminal screen types; when the data of two adjacent layers of pages are displayed simultaneously, the page operation of drilling down layer by layer can be reduced, the operation time is saved, and the problem of jamming caused by page jumping is avoided.
In an embodiment, as shown in fig. 7, after the target data is displayed at the theme display position corresponding to the target theme, the page personalized display method further includes:
s701: the method comprises the steps of obtaining a page configuration request which is triggered by a client and carries a target account, controlling the client to display a page configuration interface, and displaying at least one configuration format and at least one configuration theme on the page configuration interface.
The page configuration request is a request which is automatically triggered by a user and is used for configuring a user personalized page corresponding to the target account. The configuration layout is a page layout which is preset by the system and is used for being selected and used in the configuration process of the user. The configuration theme is a theme which is preset by the system and is selected by a user in the configuration process.
As an example, after acquiring a page configuration request carrying a target account triggered by a client, a server controls the client to jump to a page configuration interface, and at least one configuration format and at least one configuration theme are displayed on the page configuration interface, so that a user completes format configuration and theme configuration, and target data which is most concerned by the user and corresponds to the target account can be displayed on a target personalized page, which is beneficial to reducing page operation and jump times, reducing operation time, and avoiding page jump jamming.
S702: and determining a selected format based on at least one configuration format, and acquiring a selected theme corresponding to the display position of each theme in the selected format to form personalized configuration information.
As an example, a user corresponding to a target account may operate on a client, and select one of at least one configuration layout to determine as a selected layout, where M data display modules are formed on the selected layout, and each data display module corresponds to a theme display position; then, the user can operate on the client, the configuration theme corresponding to the page data required to be displayed on each data display module is determined to be the selected theme autonomously, and the personalized configuration information is formed based on the selected theme and the selected themes corresponding to the display positions of all the themes. The personalized configuration information is information formed by selecting a format and a theme for the user to configure independently. Further, the personalized configuration information further includes user configuration information related to each selected topic, for example, when the security attribute of the selected topic is a secret topic, user configuration information such as a secret problem and corresponding verification decryption information needs to be configured autonomously.
S703: and carrying out validity check on the personalized configuration information to obtain a validity check result.
As an example, after acquiring the personalized configuration information configured by the user autonomously, the server needs to perform validity check on the personalized configuration information, specifically, to check whether each selected theme is valid, so as to acquire a validity check result.
For example, the validity check may be a user right check, that is, the application system sets a user right corresponding to any configuration theme as a target right in advance; after acquiring the personalized configuration information, the server needs to acquire a user right corresponding to a target account, judges whether the user right corresponding to the target account is the target right or not, and if the user right corresponding to the target account is the target right, the validity check result passes the verification; otherwise, the validity check result is not verified, so that the safety and validity of the page data display are guaranteed.
For another example, the validity check may be a necessary condition check, that is, the application system sets any configuration theme as a preset target condition, for example, the target condition of a configuration theme is that user configuration information needs to be included; after acquiring the personalized configuration information, the server needs to judge whether the personalized configuration information contains user configuration information corresponding to the configuration theme, if the personalized configuration information contains the user configuration information, the server determines that target conditions are met, and the validity check result passes the verification; otherwise, the validity check result is not verified, so that the safety and validity of the page data display are guaranteed.
S704: and if the validity verification result is that the verification is passed, forming a user personalized page based on the personalized configuration information, and storing the target account and the user personalized page in a system database.
The user personalized page is a personalized page which is configured by a user independently, is formed on the basis of a selected format and all selected themes, and can realize personalized display for the user corresponding to the target account, so that the target data which is most concerned by the user and corresponds to the target account can be displayed on the target personalized page, page operation and skip frequency can be reduced, operation time is reduced, and page skip jamming is avoided.
As an example, the server forms a user personalized page based on the personalized configuration information when the validity check result is that the verification is passed, displays the user personalized page on the client, and displays the page data corresponding to the selected theme at the theme display position corresponding to the selected theme, so that the page data can meet the personalized display requirement to the greatest extent, which is beneficial to reducing the page operation and jump frequency, reducing the operation time, and avoiding page jump jamming.
As an example, after the user personalized page is displayed on the client, the target account and the user personalized page need to be stored in the system database in an associated manner, so that when a user corresponding to the target account triggers an account login request next time, the user personalized page can be determined as a last historical personalized page as a target personalized page, and page data corresponding to the user personalized page can be directly displayed when the user corresponding to the target account triggers the account login request next time, which is beneficial to reducing page operations and skip frequency, reducing operation time, and avoiding page skip jam.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In an embodiment, a page personalized display device is provided, and the page personalized display device corresponds to the page personalized display method in the embodiment one to one. As shown in fig. 8, the page personalization display apparatus includes an account loginrequest acquisition module 801, a load verificationparallel processing module 802, a target personalizationpage determination module 803, a targetdata determination module 804, and a targetdata display module 805. The functional modules are explained in detail as follows:
the account loginrequest obtaining module 801 is configured to obtain an account login request sent by a client, where the account login request includes a target account and information to be authenticated.
And a loading verificationparallel processing module 802, configured to preload to-be-selected data corresponding to N to-be-selected topics related to the target account into a system cache, perform identity verification based on the target account and information to be verified, and obtain an identity verification result, where N is ≧ 2.
And a target personalizedpage determining module 803, configured to determine, based on the target account, a target personalized page if the identity verification result is that the verification passes, where the target personalized page includes M target topics and topic display positions corresponding to the target topics, where M is ≧ 2.
And a targetdata determining module 804, configured to obtain, from the system cache, to-be-selected data corresponding to the target topic, and determine the to-be-selected data as target data.
And a targetdata display module 805, configured to display the target personalized page on the client, and display the target data at a theme display position corresponding to the target theme.
Preferably, the load verificationparallel processing module 802 is configured to preload the top page data corresponding to the N candidate topics related to the target account into the system cache.
And a targetdata display module 805, configured to display the top page data at the theme display position corresponding to the target theme, and load the non-top page data corresponding to the target theme into the system cache in parallel.
Preferably, the target personalizedpage determining module 803 includes:
and the account login type acquisition unit is used for inquiring the system database based on the target account and acquiring the account login type corresponding to the target account.
And the first target page determining unit is used for carrying out user portrait analysis on target user information based on the target user information corresponding to the target account if the account login type is the first login, acquiring a target tag, and determining a target personalized page according to a standard personalized page corresponding to the target tag.
And the second target page determining unit is used for determining the latest historical personalized page corresponding to the target account as the target personalized page if the account login type is non-initial login.
Preferably, the first target page determining unit includes:
and the characteristic extraction subunit is used for extracting the characteristics of the target user information and acquiring K portrait analysis factors and original portrait data corresponding to each portrait analysis factor.
And the standard data acquisition subunit is used for carrying out standardization processing on the original image data corresponding to the image analysis factor by adopting a standardization processing logic corresponding to the image analysis factor to acquire standard image data corresponding to the image analysis factor.
And the target label obtaining subunit is used for analyzing and processing the standard portrait data corresponding to the K portrait analysis factors by adopting a portrait analysis tool to obtain the target label.
Preferably, the targetdata display module 805 includes:
and the security attribute acquisition unit is used for acquiring the security attribute of the target theme.
And the confidential theme display unit is used for displaying a confidential icon at the theme display position corresponding to the target theme if the security attribute of the target theme is the confidential theme, the confidential icon is connected with the decryption page, receiving the target decryption information fed back based on the decryption page, carrying out decryption verification on the target decryption information to obtain a decryption verification result, and if the decryption verification result is successful, displaying the target data at the theme display position corresponding to the target theme.
And the non-confidential subject display unit is used for displaying the target data on the subject display position corresponding to the target subject if the security attribute of the target subject is the non-confidential subject.
Preferably, the targetdata display module 805 includes:
and the data attribute acquisition unit is used for acquiring the data attribute corresponding to the target theme.
And the screen adaptive display unit is used for displaying the target data on the theme display position corresponding to the target theme according to the terminal screen type corresponding to the client if the data attribute corresponding to the target theme is hierarchical data.
Preferably, the page personalized display device further comprises:
the page configuration request acquisition module is used for acquiring a page configuration request which is triggered by the client and carries the target account, and controlling the client to display a page configuration interface on which at least one configuration format and at least one configuration theme are displayed.
And the personalized configuration information forming module is used for determining a selected format based on at least one configuration format, acquiring a selected theme corresponding to the display position of each theme in the selected format and forming personalized configuration information.
And the validity check result acquisition module is used for carrying out validity check on the personalized configuration information and acquiring a validity check result.
And the user personalized page storage module is used for forming a user personalized page based on the personalized configuration information and storing the target account and the user personalized page in the system database if the validity verification result is that the verification is passed.
For specific definition of the page personalized display device, reference may be made to the above definition of the page personalized display method, which is not described herein again. The modules in the page personalized display device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for executing data adopted or generated in the process of the page personalized display method. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method for personalized display of pages.
In an embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the method for personalized page display in the foregoing embodiments is implemented, for example, S201-S205 shown in fig. 2, or shown in fig. 3 to 7, which is not described herein again to avoid repetition. Alternatively, the processor implements the functions of each module/unit in the embodiment of the page personalized display device when executing the computer program, for example, the functions of the account loginrequest obtaining module 801, the load verificationparallel processing module 802, the target personalizedpage determining module 803, the targetdata determining module 804 and the targetdata displaying module 805 shown in fig. 8, which are not described herein again to avoid repetition.
In an embodiment, a computer-readable storage medium is provided, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for displaying a personalized page in the foregoing embodiments is implemented, for example, S201 to S205 shown in fig. 2, or shown in fig. 3 to fig. 7, which is not described herein again to avoid repetition. Alternatively, when being executed by the processor, the computer program implements the functions of the modules/units in the above-mentioned embodiment of the page personalized display device, for example, the functions of the account loginrequest obtaining module 801, the load verificationparallel processing module 802, the target personalizedpage determining module 803, the targetdata determining module 804 and the targetdata displaying module 805 shown in fig. 8, and are not described herein again to avoid repetition.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.