CN114428901A - Personalized data loading method and device, electronic equipment and storage medium - Google Patents

Personalized data loading method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114428901A
CN114428901A CN202111629412.8A CN202111629412A CN114428901A CN 114428901 A CN114428901 A CN 114428901A CN 202111629412 A CN202111629412 A CN 202111629412A CN 114428901 A CN114428901 A CN 114428901A
Authority
CN
China
Prior art keywords
target
display
priority
page element
target page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111629412.8A
Other languages
Chinese (zh)
Inventor
杨昊一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhongyuan Network Co ltd
Original Assignee
Shanghai Zhongyuan Network Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhongyuan Network Co ltd filed Critical Shanghai Zhongyuan Network Co ltd
Priority to CN202111629412.8A priority Critical patent/CN114428901A/en
Publication of CN114428901A publication Critical patent/CN114428901A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a personalized data loading method and device, electronic equipment and a storage medium. The method is applicable to the client device, and comprises the following steps: responding to the target page access request, confirming a target account corresponding to the target page access request, and acquiring a historical access record of the target account from a local storage path; determining a display priority uniquely corresponding to the target page element according to historical access data; determining a display strategy for displaying the target page elements according to the display priority; rendering the target page elements on the target page according to the display strategy; and displaying the target page. The method and the device for the page element analysis of the target account have the advantages that historical access data of the target account are analyzed, the page element with the highest interest degree of the target account is determined, and the code of the page element is loaded. After the page element is clicked by the target account, the loading operation is not carried out any more, and the account is rapidly accessed.

Description

Personalized data loading method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of data processing, and in particular, to a method and an apparatus for loading personalized data, an electronic device, and a storage medium.
Background
When the current webpage needs to be individually displayed according to the use habits of the user, statistical data needs to be sent to the back end through the page buried points (for example, what the user clicks and what pages are visited), then the back end performs data analysis, and the statistical data is returned to the webpage at the front end through some API interfaces. Therefore, although the depth of user behavior analysis can be increased, and a server side can perform more complex operation, the system complexity is greatly improved, and the performance load of a webpage at the front end of the webpage (the fewer interfaces required to be called at the front end of the webpage are better); the front-end page has insufficient freedom to add small personalized configurations at any time, and the front-end page needs to be developed by combining the back end when needed; meanwhile, if personalized loading is required for some user behaviors, the operation can be carried out only after the interface is returned, but not when the page is initialized, so that the time for completely loading the page needs to be delayed, and 2 to 3 seconds are more likely to be added.
Therefore, currently, the personalized data of the web page is basically used for personalizing a data list (such as a video list) but not a more basic part of the website (such as a navigation bar and a module display sequence).
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the application provides a personalized data loading method, a personalized data loading device, an electronic device and a storage medium.
According to an aspect of the embodiments of the present application, there is provided a method for loading personalized data, where the method is applied to a client device, and includes:
responding to a target page access request, confirming a target account corresponding to the target page access request, and acquiring a historical access record of the target account from a local storage path, wherein the historical access record comprises target page elements accessed by the target account and historical access data corresponding to the target page elements;
determining the display priority uniquely corresponding to the target page element according to the historical access data;
determining a display strategy for displaying the target page elements according to the display priority;
rendering the target page element on the target page according to the display strategy;
and displaying the target page.
Optionally, as in the foregoing method, after the rendering the target page element on the target page according to the presentation policy, the method further includes:
determining the target page element as a high-priority page element under the condition that the display priority meets the requirement of a preset priority;
preloading display content corresponding to the high-priority page element;
and under the condition that the high-priority page element is detected to be executed with target operation, page rendering is carried out through the preloading display content.
Optionally, as in the foregoing method, the preloading presentation content corresponding to the high-priority target page element includes:
acquiring a designated link associated with the high-priority page element;
and requesting to obtain the preloading display content from a specified server according to the specified link, and storing the preloading display content at a local end.
Optionally, as the foregoing method, in the case that it is detected that a specified page element of the high-priority page elements is subjected to a targeting operation, performing page rendering by the preloaded presentation content includes:
determining at least one display object carried by the appointed preloading display content;
determining the access progress of the target account on the display object from the historical access data;
determining a sub-priority corresponding to the display object according to the access progress, wherein the sub-priority is determined according to the access progress from small to large, or the sub-priority is determined according to the access progress from large to small;
and rendering the display object to a sub-page corresponding to the high-priority page element according to the sub-priority.
Optionally, as in the foregoing method, the determining, according to the historical access data, a display priority uniquely corresponding to the target page element includes:
obtaining a first weight value of the target page element by determining the access times and the stay time corresponding to the target page element in the historical access data;
determining the display priority corresponding to the target page element according to a first weight value of the target page element and a second weight value of the candidate page element, wherein the display priority corresponding to the target page element is higher than the display priority corresponding to the candidate page element under the condition that the first weight value is larger than the second weight value.
Optionally, as in the foregoing method, the determining, according to the display priority, a display policy for displaying the target page element includes:
determining a preset priority corresponding to each display bit, wherein each display bit is used for displaying at least one page element;
according to the display priority corresponding to the target page element, determining a target display position with the preset priority being the same as the display priority in all the display positions;
and determining a display strategy for displaying the target page element according to the target display position.
Optionally, as in the foregoing method, after the page rendering is performed through the preloaded presentation content in the case that the target operation is detected to be performed on the high-priority page element, the method includes:
target feedback data used for evaluating a target display object are obtained, wherein the preloading display content comprises a display object;
determining a target sub-display weight corresponding to the target display object according to the corresponding relation between the display weight and the feedback data and the target feedback data;
and adjusting the display positions of all the display objects according to the target sub-display weight.
According to another aspect of the embodiments of the present application, there is also provided a personalized data loading apparatus, including: the apparatus is applicable to a client device, and comprises:
the acquisition module is used for responding to a target page access request, confirming a target account corresponding to the target page access request, and acquiring a historical access record of the target account from a local storage path, wherein the historical access record comprises target page elements accessed by the target account and historical access data corresponding to the target page elements;
the priority module is used for determining the display priority which is uniquely corresponding to the target page element according to the historical access data;
the strategy module is used for determining a display strategy for displaying the target page element according to the display priority;
the rendering module is used for rendering the target page element on the target page according to the display strategy;
and the display module is used for displaying the target page.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program that executes the above steps when the program is executed.
According to another aspect of the embodiments of the present application, there is also provided an electronic apparatus, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; wherein: a memory for storing a computer program; a processor for executing the steps of the method by running the program stored in the memory.
Embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the steps of the above method.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method and the device, through analyzing the historical access data of the target account, the target page element with the highest interest degree of the target account can be determined, codes of the target page element are loaded, and compared with the method and the device for loading after the account is clicked, loading time is saved, and meanwhile the access speed of the account during access is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a flowchart of a personalized data loading method according to an embodiment of the present application;
fig. 2 is a flowchart of a personalized data loading method according to another embodiment of the present application;
fig. 3 is a block diagram of a personalized data loading apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments, and the illustrative embodiments and descriptions thereof of the present application are used for explaining the present application and do not constitute a limitation to the present application. 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 application.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another similar entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiment of the application provides an account data processing method and device, electronic equipment and a storage medium. The method provided by the embodiment of the invention can be applied to any required electronic equipment, for example, the electronic equipment can be electronic equipment such as a server and a terminal, and the method is not particularly limited herein, and is hereinafter simply referred to as electronic equipment for convenience in description.
According to an aspect of an embodiment of the present application, an embodiment of a method for personalized data loading is provided. Fig. 1 is a flowchart of a personalized data loading method provided in an embodiment of the present application, where the method is applied to a client device, and as shown in fig. 1, the method includes:
step S11, in response to the target page access request, determining a target account corresponding to the target page access request, and obtaining a historical access record of the target account from the local storage path, where the historical access record includes historical page elements accessed by the target account and historical access data corresponding to the historical page elements.
The method provided by the embodiment of the application is suitable for the client side of a video platform or a live broadcast platform. When a user requests a specific page through a specific client or a webpage by a target page access request, a target account for accessing the specific page can be determined based on the target page access request. And acquiring a historical access record corresponding to the target account from the local storage path. The history page elements include: drama, art, movie, game, live, etc. The historical access data includes: access times, access duration, collection times, forwarding times, and the like, which are not specifically limited in this embodiment of the present application.
The local storage path may be path information for pointing to a local device where a history access record is stored, and the local storage path may be path information on a specified client or a local device where a web page is located.
The historical access data is mainly obtained in the following way:
when the user enters the page, the url of the page can be acquired, and if the url is based on front-end frames such as React/Vue, the routing name can be directly recorded. The system timestamp of when entering this page is also recorded. When leaving the page, the timestamp of the leaving time is recorded, so that the time of the page staying (the leaving time minus the entering time, namely the staying time) can be obtained. Meanwhile, if the user leaves the page because the user clicks a module of the current page, which is already buried (i.e. the buried point represents that we want to collect the data of the module), the name and the number of clicks +1 of the module are also recorded. The following data structure is finally formed:
Figure BDA0003440707900000091
if the access data of the page already exists, the current new access data is directly updated, the stayTime dwell time is added, and the count is added by 1.
Of course, a new user access behavior field may be added according to actual needs, and the most data needs to be recorded according to the needs of the user.
And step S12, determining the display priority uniquely corresponding to the target page element according to the historical access data.
In the embodiment of the present application, in step S12, determining the presentation priority uniquely corresponding to the target page element according to the historical access data, includes the following steps a 1-A3:
step A1, determining the corresponding access times and the stay time of the target page element in the historical access data to obtain a first weight value of the target page element;
step A2, determining a display priority corresponding to the target page element according to the first weight value of the target page element and the second weight value of the candidate page element, wherein the display priority corresponding to the target page element is higher than the display priority corresponding to the candidate page element when the first weight value is larger than the second weight value.
After the historical access data is determined, the number of accesses and the dwell time corresponding to the target page element in the historical access data may be determined, the number of accesses corresponding to the target page element may be the number of times that the target page element is accessed in a preset time period (e.g., a time period of a preset time period (e.g., one week, one day, etc.) before the current time point), and the dwell time may be the total time period in which the target page element is accessed.
In the embodiment of the application, a correspondence table of the access times, the dwell time and the weight values may be preset, and after the historical access data is obtained, the weight values corresponding to the historical access data are inquired from the correspondence table. For example: the weight corresponding to the access times is 0.5, and the weight corresponding to the access duration is 0.5; evaluation values corresponding to different access times and evaluation values corresponding to different stay time lengths can be determined, and in general, the sum of the weight corresponding to the access times and the weight corresponding to the access time lengths is 1; furthermore, the first weight value can be obtained based on information such as collection times corresponding to the target page element.
In the embodiment of the application, the product of each historical access data and the corresponding weight value is calculated first, and then the products are added to obtain the first weight value of the target page element.
For example: the access times are A, the access duration is B, and the weights are all 0.5. Then, calculating the product of each historical access data and the corresponding weight value thereof, wherein the product is as follows: 0.5A, 0.5B. And then adding the 0.5A and the 0.5B to finally obtain a first weight value of the target page element. The number of access times is A, the access duration is B, the collection times is C, and the weights are 0.4, 0.3 and 0.3 respectively. Then, calculating the product of each historical access data and the corresponding weight value thereof, wherein the product is as follows: 0.4A, 0.3B, 0.3C. And then adding the 0.4A, the 0.3B and the 0.3C to finally obtain a first weight value of the target page element.
After the first weight value of the target page element is determined, the display priority corresponding to the target page element can be determined based on the second weight values of other candidate page elements.
The candidate page elements may be other page elements than the target page element that need to be exposed in the target page. The method for calculating the second weight value of the candidate page element may refer to the method for calculating the first weight value, and is not described herein again. And when the first weight value is larger than the second weight value, the display priority corresponding to the target page element is higher than the display priority corresponding to the candidate page element. That is, the higher the weight value, the higher the presentation priority. Also, the higher the presentation priority, the more convenient the target page element is assigned to the click-through position, for example, the highest priority, the most forward position is assigned to the target page element.
By the method in the embodiment, the display priority corresponding to the target page element can be obtained, and then the target page element can be conveniently displayed at a later stage according to the display priority.
And step S13, determining a display strategy for displaying the target page element according to the display priority.
As an alternative implementation, the step S13, determining the presentation policy for presenting the target page element according to the presentation priority, includes the following steps C1-C3:
step B1, determining a preset priority corresponding to each display position, wherein each display position is used for displaying at least one page element;
step B2, according to the display priority corresponding to the target page element, determining a target display position with the preset priority being the same as the display priority in all the display positions;
and step B3, determining a display strategy for displaying the target page element according to the target display position.
After the display priority of the target page element is determined, the relevant steps of subsequently determining the display strategy corresponding to the target page element can be performed.
In an interface for displaying a target page element, a plurality of display positions for displaying each page element are generally preset in the interface, and the position of each display position in the interface is preset, and at least one page element is displayed.
The display positions are also preset with corresponding preset priorities, and the display positions are in one-to-one correspondence with the preset priorities and can be obtained by presetting configuration.
After the display priority of the target page element and the preset priority of the display positions are determined, the target display positions with the preset priority being the same as the display priority can be determined in all the display positions.
After the target display position is determined, the position occupied by the target page element in the later rendering process of the target page element can be determined, and then the display strategy corresponding to the target page element can be obtained.
When other page elements exist, the method in this embodiment may also be used to determine the display position corresponding to each page element, so as to obtain the display policy corresponding to all page elements.
By the method in the embodiment, the target display positions corresponding to the target page elements can be determined in all the display positions based on the display priority of the target page elements, so that the obtained effect that the display strategies correspond to the display priority of the target page elements can be achieved, and the method can be more suitable for the personalized requirements of each user.
And S14, rendering the target page element on the target page according to the display strategy.
And S15, displaying the target page.
After the display strategy is determined, rendering the target page element on the target page based on a code used for rendering the target page element in the local storage path, and obtaining the target page rendered with the target page element; and the target page is displayed on the corresponding client or webpage and other types of applications.
According to the method and the device, through analyzing the historical access data of the target account, the target page element with the highest interest degree of the target account can be determined, codes of the target page element are loaded, and compared with the method and the device for loading after the account is clicked, loading time is saved, and meanwhile the access speed of the account during access is improved.
As shown in fig. 2, as an optional implementation manner, after the step S14 renders the target page element on the target page according to the presentation policy, the method for loading personalized data further includes the following steps:
and step S21, determining the target page element as a high-priority page element under the condition that the display priority meets the preset priority requirement.
After the display priority is determined, whether the priority of the target page element meets the requirement of the preset priority can be judged.
The preset priority requirement may be preset, and is used to determine whether each page element is a requirement of a high-priority page element. For example, whether the priority of the target page element ranks at the top N bits in all the page elements, where N is an integer greater than or equal to 1, that is, when the display priority is top N high, the target page element is determined as a high-priority element; or, whether the priority of the target page element is M% top of all the page elements, M may be preset, and M ∈ (0,100), e.g., M ∈ (0,10), i.e., in the case of a priority of a page element exhibiting a priority at least higher than 90%, the target page element is determined to be a high-priority element.
And step S22, preloading the preloading display content corresponding to the high-priority page element.
After the target page element is determined to be the high-priority page element, requesting content corresponding to the high-priority page element from an access link corresponding to the high-priority page element, namely preloading display content corresponding to the high-priority page element; and the preloading display content is cached to the local end.
As an alternative embodiment, as an foregoing personalized data loading method, the step S22 pre-loads the pre-loaded display content corresponding to the high-priority target page element, which includes the following steps:
step C1, acquiring a designated link associated with the high-priority page element;
and step C2, obtaining the preloading display content from the appointed server according to the appointed link request, and storing the preloading display content at the local end.
The designated links associated with the high priority page elements may be obtained in a local storage path or during real-time access to the target page.
After the appointed link is obtained, a data request can be carried out from an appointed server corresponding to the appointed link so as to request to obtain the preloading display content, and the preloading display content is stored at the local end, so that the preloading display content can be directly obtained from the local end at a later stage and page rendering is carried out through the preloading display content.
In step S23, in the case where it is detected that the high-priority page element is subjected to the target operation, page rendering is performed by preloading the presentation content.
After the display content is preloaded, the preloaded display content is directly read from the cache and subjected to page rendering under the condition that the page rendering needs to be performed through the preloaded display content. And, the action of rendering the page may be performed upon detecting that the high priority page element is targeted for execution.
The target operation may be predetermined and may trigger an operation of rendering the page, for example, including but not limited to performing a click, a slide, and the like on a high priority page element.
By the method in the embodiment, the rendering efficiency of the page corresponding to the target page element can be effectively improved and the user experience is improved by preloading the display content under the condition that the display priority meets the preset priority requirement, namely, the probability that the target page element is triggered by the user is high.
As an alternative implementation, in the foregoing personalized data loading method, in the step S23, in the case that it is detected that the high-priority page element is targeted for operation, the page rendering by preloading the presentation content includes the following steps:
and D1, determining at least one display object carried by the appointed preloading display content.
After obtaining the preloaded presentation content, at least one presentation object carried by the preloaded presentation content may be determined. The presentation object may be an object in a sub-page of the preloaded presentation content for rendering, e.g., a video object, an audio object, etc.
And D2, determining the access progress of the target account to the display object from the historical access data.
After the display object is determined, the access progress of the target account on the display object may be determined from the historical access data, for example, when the display object is a video object, the access progress may be a video viewing progress of the video object, and when the display object is an audio object, the access progress may be an audio playing progress of the audio object.
And D3, determining the sub-priority corresponding to the display object according to the access progress, wherein the sub-priority is determined according to the access progress from small to large, or the sub-priority is determined according to the access progress from large to small.
After the access progress is determined, the sub-priority corresponding to the display object may be determined based on the access progress, that is, when there are a plurality of display objects, the sub-priority of each display object may be determined and obtained for all the display objects according to the access progress from small to large, or the sub-priority of each display object may be determined and obtained according to the access progress from large to small.
For example, when there are a display object a, a display object b, and a display object c, and the corresponding access schedules are 60%, 80%, and 0%, respectively, if the sub-priority is determined from large to small according to the access schedules, the sub-priority corresponding to the display object a may be 1, the sub-priority corresponding to the display object b may be 2, and the sub-priority corresponding to the display object c may be 3.
And D4, rendering the display object to the sub-page corresponding to the high-priority page element according to the sub-priority.
After the sub-priority of the display object is determined, the display object can be rendered to the sub-page corresponding to the high-priority page element according to the sub-priority.
The sub-page may be a sub-page that the target page jumps to after the target operation is performed on the target page element.
For example, a plurality of display bits may also exist in the sub-page, and each display bit may also have a corresponding priority, so that the display bit corresponding to the display object may be determined according to the sub-priority of the display object. And then the display object is rendered to the sub-page corresponding to the high-priority page element according to the sub-priority.
By the method in the embodiment, the sub-priority of the display object can be determined according to the access progress of each display object, so that the sub-page obtained in the later stage can better meet the personalized requirements of the user, and a better display effect can be achieved.
As an alternative implementation, the personalized data loading method as described above may include the following steps:
step S31, obtaining target feedback data for evaluating a target display object, wherein the preloading display content comprises a display object;
in an embodiment of the present application, the target feedback data may include evaluation data and/or interaction data corresponding to the target display object. The comment data may be, for example, a like or dislike of the presentation content by the target account when the presentation content on the client is viewed or accessed by the target account. The interactive data may be data evaluated on a specified segment of content of the video during video playing, or data generated by interacting with an account publishing the live broadcast during live broadcast, and for example, the interactive data may include: at least one of a number of votes, a number of forwardings, or gift information.
Step S32, determining a target sub-display weight corresponding to the target display object according to the corresponding relation between the display weight and the feedback data and the target feedback data;
in the embodiment of the application, by presetting the corresponding relation between the feedback data and the display weight, after the target feedback data of the target account is obtained, the target sub-display weight corresponding to the target feedback data can be directly determined according to the corresponding relation.
As an example, when the evaluation data of a target account for a certain target display content is like (good), the display weight of the target display content is increased by 10; when the target account has no evaluation data for a certain display content, the display weight of the target display content is reduced by 1; when the evaluation data of the target account for a certain target display content is dislike (bad evaluation), the display weight of the target display content is reduced by 5.
And step S33, adjusting the display positions of all the display objects according to the target sub-display weight.
In this embodiment of the present application, in step S33, adjusting the display positions of all the display objects according to the target sub-display weight includes: and under the condition that the target sub-display weight is used for indicating that the content quality of the target display content is low, acquiring a specified display object with the sub-display weight higher than the target sub-display weight from all the candidate display contents of the candidate display object set, and replacing the target display object with the specified display object.
According to another aspect of the present application, there is also provided an application example of the method according to any of the foregoing embodiments, as follows:
1. recording user access behaviors: when a user enters a corresponding target page (i.e., a sub-page) by clicking a certain navigation bar (i.e., a target page element) in the target page, the URL of the page can be acquired, and if the URL is based on a front-end frame such as fact/Vue, the routing name can also be directly recorded. The system timestamp of when entering this page is also recorded. When leaving the page, the timestamp of the leaving time is recorded, so that the time of staying on the page (the leaving time minus the entering time, namely, the staying time) can be obtained. Meanwhile, if the user leaves the page because the user clicks a module of the current page which is already buried (the buried point represents the data which is expected to collect the module), the name and the number of clicks +1 of the module are also recorded. The following data structure is finally formed:
Figure BDA0003440707900000191
if the historical access record of the page already exists, the current new access data is directly updated, the stayTime dwell time is added, and the count is added by one.
Of course, a new user access behavior field may be added according to actual needs, and the most data needs to be recorded according to the needs of the user.
2. Analyzing data: when a user enters a target page for the first time, the data are recorded to obtain a historical access record, so that analysis can be conveniently carried out on required conditions in the later period. For example, when it needs to consider which pages the user prefers to access (the access times are the most, and the stay time is the longest), the access records are sorted by comprehensively considering the access times and the stay time weight. In addition, for example, the number of clicks on the navigation item (i.e., page element) corresponding to each sub-page needs to be considered, and then all the navigation items are sorted according to the number of clicks.
3. The page application comprises the following steps:
navigation bar (an embodiment of a page element): the navigation items most frequently accessed by the user are placed at the top/front, so that the user can more conveniently access common pages.
Page part (another embodiment of page element): for example, a video website has modules such as movies, dramas, anaglyphs, short videos, cartoons, children, documentaries and the like from top to bottom, and the user prefers to watch the documentaries and needs to scroll to the lowest part of the page to see the modules each time. It is possible to decide to put the documentary module on top for rendering before page rendering.
Preloading codes: when a user enters a home page (namely a target page), when the fact that the user can access the page A (namely a sub-page) is judged according to the historical access records, the user does not wait for clicking a link of the page A, a code of the page A is loaded in advance (namely the display content is preloaded) after the home page is loaded, the user can jump instantly after clicking a specified navigation item or a page part, and the content of the page A can be displayed without waiting for 1 and 2 seconds for loading.
Fig. 3 is a block diagram of a personalized data loading apparatus provided in an embodiment of the present application, which may be implemented as part or all of an electronic device through software, hardware, or a combination of the two. The apparatus is suitable for a client device, and as shown in fig. 3, the apparatus includes:
the acquisition module 1 is configured to, in response to a target page access request, confirm a target account corresponding to the target page access request, and acquire a historical access record of the target account from a local storage path, where the historical access record includes target page elements accessed by the target account and historical access data corresponding to the target page elements;
the priority module 2 is used for determining the display priority which is uniquely corresponding to the target page element according to the historical access data;
the strategy module 3 is used for determining a display strategy for displaying the target page elements according to the display priority;
the rendering module 4 is used for rendering the target page element on the target page according to the display strategy;
and the display module 5 is used for displaying the target page.
Specifically, the specific process of implementing the functions of each module in the apparatus according to the embodiment of the present invention may refer to the related description in the method embodiment, and is not described herein again.
As an alternative implementation, the apparatus as described above, further comprising a preloading module configured to:
the high-priority unit is used for determining the target page element as a high-priority page element under the condition that the display priority meets the requirement of the preset priority;
the preloading unit is used for preloading the preloading display content corresponding to the high-priority page element;
and the rendering unit is used for performing page rendering by preloading the display content under the condition that the high-priority page element is detected to be executed with the target operation.
Specifically, the specific process of implementing the functions of each module in the apparatus according to the embodiment of the present invention may refer to the related description in the method embodiment, and is not described herein again.
As an alternative embodiment, the method as described above, the preloading unit is configured to:
acquiring a designated link associated with a high-priority page element; and requesting to obtain the preloading display content from the specified server according to the specified link, and storing the preloading display content at a local end.
Specifically, the specific process of implementing the functions of each module in the apparatus according to the embodiment of the present invention may refer to the related description in the method embodiment, and is not described herein again.
As an alternative implementation, the method as described above is implemented in a rendering unit, configured to:
determining at least one display object carried by the appointed preloading display content; determining the access progress of the target account to the display object from the historical access data; determining a sub-priority corresponding to the display object according to the access progress, wherein the sub-priority is determined according to the access progress from small to large, or the sub-priority is determined according to the access progress from large to small; and rendering the display object to the sub-page corresponding to the high-priority page element according to the sub-priority.
Specifically, the specific process of implementing the functions of each module in the apparatus according to the embodiment of the present invention may refer to the related description in the method embodiment, and is not described herein again.
As an alternative implementation, the method as described above, the priority module is configured to:
obtaining a first weighted value of the target page element by determining the access times and the stay time corresponding to the target page element in the historical access data; and determining a display priority corresponding to the target page element according to the first weight value of the target page element and the second weight value of the candidate page element, wherein the display priority corresponding to the target page element is higher than the display priority corresponding to the candidate page element under the condition that the first weight value is greater than the second weight value.
Specifically, the specific process of implementing the functions of each module in the apparatus according to the embodiment of the present invention may refer to the related description in the method embodiment, and is not described herein again.
As an alternative implementation, the method as described above, the policy module is configured to:
determining a preset priority corresponding to each display bit, wherein each display bit is used for displaying at least one page element; according to the display priority corresponding to the target page element, determining a target display position with the preset priority being the same as the display priority in all the display positions; and determining a display strategy for displaying the target page elements according to the target display positions.
Specifically, the specific process of implementing the functions of each module in the apparatus according to the embodiment of the present invention may refer to the related description in the method embodiment, and is not described herein again.
As an alternative implementation, the apparatus as aforementioned further includes an adjusting module, configured to:
acquiring target feedback data for evaluating a target display object, wherein the preloaded display content comprises the display object; determining a target sub-display weight corresponding to the target display object according to the corresponding relation between the display weight and the feedback data and the target feedback data; and adjusting the display positions of all the display objects according to the target sub-display weight.
Specifically, the specific process of implementing the functions of each module in the apparatus according to the embodiment of the present invention may refer to the related description in the method embodiment, and is not described herein again.
An embodiment of the present application further provides an electronic device, as shown in fig. 4, the electronic device may include: the system comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501 is configured to implement the steps of the above embodiments when executing the computer program stored in the memory 1503.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this is not intended to represent only one bus or type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In yet another embodiment provided by the present application, a computer-readable storage medium is further provided, which has instructions stored therein, and when the instructions are executed on a computer, the instructions cause the computer to execute the personalized data loading method described in any one of the above embodiments.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the personalized data loading method described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.
The previous description is only an example of the present application, and is provided to enable any person skilled in the art to understand or implement the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A personalized data loading method is applicable to a client device and comprises the following steps:
responding to a target page access request, confirming a target account corresponding to the target page access request, and acquiring a historical access record of the target account from a local storage path, wherein the historical access record comprises target page elements accessed by the target account and historical access data corresponding to the target page elements;
determining the display priority uniquely corresponding to the target page element according to the historical access data;
determining a display strategy for displaying the target page element according to the display priority;
rendering the target page element on the target page according to the display strategy;
and displaying the target page.
2. The method of claim 1, wherein after said rendering said target page element on said target page according to said presentation policy, said method further comprises:
determining the target page element as a high-priority page element under the condition that the display priority meets the requirement of a preset priority;
preloading display content corresponding to the high-priority page element;
and under the condition that the high-priority page element is detected to be executed with target operation, page rendering is carried out through the preloading display content.
3. The method of claim 2, wherein preloading the preloaded presentation content corresponding to the high-priority target page element comprises:
acquiring a designated link associated with the high-priority page element;
and requesting to obtain the preloading display content from a specified server according to the specified link, and storing the preloading display content at a local end.
4. The method according to claim 2, wherein the page rendering by the preloaded presentation content in case of detecting that a specified page element of the high priority page elements is subjected to a targeting operation comprises:
determining at least one display object carried by the appointed preloading display content;
determining the access progress of the target account on the display object from the historical access data;
determining a sub-priority corresponding to the display object according to the access progress, wherein the sub-priority is determined according to the access progress from small to large, or the sub-priority is determined according to the access progress from large to small;
and rendering the display object to a sub-page corresponding to the high-priority page element according to the sub-priority.
5. The method of claim 1, wherein determining a presentation priority that uniquely corresponds to the target page element based on the historical access data comprises:
obtaining a first weight value of the target page element by determining the access times and the stay time corresponding to the target page element in the historical access data;
determining the display priority corresponding to the target page element according to a first weight value of the target page element and a second weight value of the candidate page element, wherein the display priority corresponding to the target page element is higher than the display priority corresponding to the candidate page element under the condition that the first weight value is larger than the second weight value.
6. The method according to any one of claims 1 to 5, wherein the determining a presentation policy for presenting the target page element according to the presentation priority comprises:
determining a preset priority corresponding to each display bit, wherein each display bit is used for displaying at least one page element;
according to the display priority corresponding to the target page element, determining a target display position with the preset priority being the same as the display priority in all the display positions;
and determining a display strategy for displaying the target page element according to the target display position.
7. The method of claim 2, wherein after the page rendering by the preloaded presentation content in the event that the high priority page element is detected as being subject to the target operation, the method comprises:
target feedback data used for evaluating a target display object are obtained, wherein the preloading display content comprises a display object;
determining a target sub-display weight corresponding to the target display object according to the corresponding relation between the display weight and the feedback data and the target feedback data;
and adjusting the display positions of all the display objects according to the target sub-display weight.
8. A personalized data loading apparatus, wherein the apparatus is adapted for a client device, comprising:
the acquisition module is used for responding to a target page access request, confirming a target account corresponding to the target page access request, and acquiring a historical access record of the target account from a local storage path, wherein the historical access record comprises target page elements accessed by the target account and historical access data corresponding to the target page elements;
the priority module is used for determining the display priority which is uniquely corresponding to the target page element according to the historical access data;
the strategy module is used for determining a display strategy for displaying the target page element according to the display priority;
the rendering module is used for rendering the target page element on the target page according to the display strategy;
and the display module is used for displaying the target page.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program is operative to perform the method steps of any of the preceding claims 1 to 7.
10. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus; wherein:
a memory for storing a computer program;
a processor for performing the method steps of any of claims 1-7 by executing a program stored on a memory.
CN202111629412.8A 2021-12-28 2021-12-28 Personalized data loading method and device, electronic equipment and storage medium Pending CN114428901A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111629412.8A CN114428901A (en) 2021-12-28 2021-12-28 Personalized data loading method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111629412.8A CN114428901A (en) 2021-12-28 2021-12-28 Personalized data loading method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114428901A true CN114428901A (en) 2022-05-03

Family

ID=81310503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111629412.8A Pending CN114428901A (en) 2021-12-28 2021-12-28 Personalized data loading method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114428901A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115102770A (en) * 2022-06-24 2022-09-23 平安普惠企业管理有限公司 Resource access method, device and equipment based on user permission and storage medium
CN115776598A (en) * 2022-11-15 2023-03-10 聚好看科技股份有限公司 Server, display equipment and loading method of video playing component
CN117573847A (en) * 2024-01-16 2024-02-20 浙江同花顺智能科技有限公司 Visualized answer generation method, device, equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115102770A (en) * 2022-06-24 2022-09-23 平安普惠企业管理有限公司 Resource access method, device and equipment based on user permission and storage medium
CN115776598A (en) * 2022-11-15 2023-03-10 聚好看科技股份有限公司 Server, display equipment and loading method of video playing component
CN115776598B (en) * 2022-11-15 2024-05-03 聚好看科技股份有限公司 Server, display device and loading method of video playing component
CN117573847A (en) * 2024-01-16 2024-02-20 浙江同花顺智能科技有限公司 Visualized answer generation method, device, equipment and storage medium
CN117573847B (en) * 2024-01-16 2024-05-07 浙江同花顺智能科技有限公司 Visualized answer generation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
AU2018201459B2 (en) System and method for improving access to search results
US20180246862A1 (en) Methods for prerendering and methods for managing and configuring prerendering operations
CN114428901A (en) Personalized data loading method and device, electronic equipment and storage medium
US9530099B1 (en) Access to network content
US10789304B2 (en) Method and system for measuring user engagement with content items
US9195372B2 (en) Methods, systems, and computer program products for grouping tabbed portion of a display object based on content relationships and user interaction levels
US11474926B2 (en) Method and system for measuring user engagement with content items
US8812658B1 (en) Pre-fetching of network page content
US11019179B2 (en) Access to network content
US11094022B2 (en) Calculating lists of events in activity streams
US20180300418A1 (en) Recommending contents using a base profile
US20170046745A1 (en) Method and system for providing relevant advertisements
CN113656681B (en) Object evaluation method, device, equipment and storage medium
US10635277B2 (en) Dynamically selecting stored content for display based on real-time parameters calculated for operations performed on image data displayed by an electronic device
US9565224B1 (en) Methods, systems, and media for presenting a customized user interface based on user actions
CN113204704B (en) Content information display method and device, electronic equipment and readable medium
US20160358188A1 (en) Downstream utilities in a website using multi-objective optimization
CN107368533B (en) Content item recommendation method and device and electronic equipment
JP7523733B2 (en) Method for controlling automatic high-speed display of web content
CN113626698A (en) Video recommendation method and device, electronic equipment and readable storage medium
US20130124970A1 (en) News recapping
CN117591732A (en) Information recommendation method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination