Page update data processing method, system and equipment based on RN and H5

By evaluating the frequency of page access and the complexity of data generation, and filtering and caching key page modules, the problem of low efficiency in page update data processing in the existing technology is solved, and more efficient caching and user experience is achieved.

CN119226640AActive Publication Date: 2024-12-31SHENZHEN RONGJUHUI INFORMATION TECH CO LTD

Patent Information

Application Number
CN202411290580.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-12-31
Estimated Expiration
2044-09-14

AI Technical Summary

Technical Problem

Existing page update data processing is inefficient when processing multiple pages and complex templates, making it difficult to ensure user experience.

Method used

By obtaining page history access data and page loading data, calculate the access frequency index and data generation complexity index, evaluate cache requirements, filter pages to be cached, and perform module division and cache processing, and optimize cache strategies.

Benefits of technology

It improves system response speed and data access efficiency, rationally allocates cache resources, improves user experience, reduces network congestion, and optimizes page performance and structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119226640A_ABST
    Figure CN119226640A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of internet application, and particularly discloses a page update data processing method, system and equipment based on RN and H5, the method comprises the steps that page update data is acquired, and the page update data comprises page historical access data and page loading data; processing the page historical access data to obtain an access frequency index of each page, processing the page loading data to obtain a data generation complexity index of each page, and performing comprehensive analysis to obtain a cache demand evaluation value of each page; and performing caching processing on each content module of each to-be-cached page according to the content updating period of each content module of each to-be-cached page. By evaluating the page cache demand evaluation value, the overall response speed of the system can be increased, the response time of data access can be shortened, cache resources can be reasonably distributed according to actual demands, resource waste is avoided, the competitiveness of the page can be improved, and sustainable development can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet application technology, and specifically to a page update data processing method, system and device based on RN and H5. Background Art

[0002] At present, page update data processing is a very important part of the field of Internet application technology. With the advancement of technology and the growth of market demand, providing real-time and accurate page data has become the norm. Efficient and comprehensive page update data processing methods are of great significance to improving user experience and promoting technological innovation.

[0003] For example, the invention patent with the public number CN111857773B is a method for automatically updating pages based on the similarities and differences of elements in a web page, which belongs to the field of computer interface design technology. The method includes: marking and saving the modification of the m page in the A template, and publishing the modified A template; after the A template is published, updating the version number of the A template and the version number of the modified m page to obtain the actual version number of the m page; after comparing the actual version number of the m page with the recorded version number, displaying the update mark of the A template; the recorded version number is the version number recorded by the n page that references the m page in the A template; according to the update mark of the A template displayed by the system, determining whether to start the page upgrade; and, when it is determined to start the page upgrade, updating the n page according to the similarities and differences of the elements of the m page after the A template is updated. For example, the invention patent with the public number CN109857403B is a page update, page processing method and device. The page update method includes: when compiling based on the local code of the target project, using the isomorphic compilation plug-in to perform isomorphic compilation conversion of the local code to the cross-platform mobile application development framework RN to obtain the RN executable file; storing the RN executable file in the offline file where the local offline resource file of the target project is located; updating the local business page based on the RN executable file and the local offline resource file in the offline file.

[0004] However, in the process of implementing the technical solution of the invention in the embodiments of the present application, it was found that the above-mentioned technology has at least the following technical problems: At present, page update data processing has made significant progress in improving page synchronization and automation. For example, by marking page modifications in templates and saving them, and then publishing updates and automatically comparing version numbers to display update marks, the pages that reference the templates can be upgraded synchronously. However, when processing updates of multiple pages and complex templates, the efficiency of outputting page update data is limited, and user experience is difficult to guarantee. Summary of the invention

[0005] In view of the deficiencies in the prior art, the present invention provides a page update data processing method, system and device based on RN and H5, which can effectively solve the problems involved in the above-mentioned background technology.

[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions: The first aspect of the present invention provides a page update data processing method based on RN and H5, including: obtaining page update data, the page update data including page history access data and page loading data.

[0007] The historical page access data is processed to obtain the access frequency index of each page, the page loading data is processed to obtain the data generation complexity index of each page, and the cache demand evaluation value of each page is obtained through comprehensive analysis.

[0008] Each page is screened according to the cache demand evaluation value to obtain each page to be cached, and each page to be cached is divided into modules and marked as each content module of each page to be cached.

[0009] The content update period of each content module of each to-be-cached page is obtained, and the content modules of each to-be-cached page are cached according to the content update period of each content module of each to-be-cached page.

[0010] As a further method, the page historical access data is processed to obtain the access frequency index of each page. The specific processing process is: the page historical access data includes the cumulative number of visits to each page at each time node, user access frequency and user access duration.

[0011] The critical cumulative number of visits, critical user access frequency and critical user access duration are extracted from the page update database, and the access frequency index of each page is obtained through comprehensive analysis.

[0012] As a further method, the page loading data is processed to obtain the data generation complexity index of each page. The specific processing process is: the page loading data specifically includes the number of page elements, page loading speed and static content ratio of each page.

[0013] The critical number of page elements, critical page loading speed and critical static content ratio are extracted from the page update database, and the data generation complexity index of each page is obtained through comprehensive analysis.

[0014] As a further method, the comprehensive analysis obtains the cache demand evaluation value of each page, and the specific analysis process is: extracting the critical page access frequency index and the critical page data generation complexity index from the page update database.

[0015] According to the access frequency index of each page and the data generation complexity index, a comprehensive analysis is performed to obtain the cache demand evaluation value of each page.

[0016] As a further method, each page is screened according to the cache requirement evaluation value to obtain each page to be cached. The specific screening process is: extracting the cache requirement evaluation threshold in the page update database, comparing the cache requirement evaluation value of each page with the cache requirement evaluation threshold, if the cache requirement evaluation value of a page is greater than or equal to the cache requirement evaluation threshold, then the page is marked as a page to be cached, if the cache requirement evaluation value of a page is less than the cache requirement evaluation threshold, then the page is marked as a non-cached page.

[0017] As a further method, the access frequency index of each page is a quantitative indicator obtained by analyzing the cumulative number of visits to each page at each time node, the user access frequency and the user access duration, and is used to quantify the access frequency of the page.

[0018] As a further method, the access frequency index of each page is specifically expressed as:

[0019]

[0020] Among them, B i represents the access frequency index of the i-th page, e represents a natural constant, and A ij represents the cumulative number of visits to the i-th page at the j-th time node, A0 represents the set critical cumulative number of visits, and p ij represents the user access frequency of the i-th page at the j-th time node, p0 represents the set critical user access frequency, Q i represents the user access time of the i-th page, Q0 represents the set critical user access time, ∈1 represents the page access frequency assessment impact factor corresponding to the set cumulative number of visits, ∈2 represents the page access frequency assessment impact factor corresponding to the set user access frequency, ∈3 represents the page access frequency assessment impact factor corresponding to the set user access time, i represents the page number, i=1,2,3,...,m, m represents the total number of page numbers, j represents the time node number, j=1,2,3,...,n, n represents the total number of time node numbers.

[0021] As a further method, the data of each page generates a complexity index, and the specific numerical expression is:

[0022]

[0023] Among them, C i represents the complexity index of page data generation of the i-th page, si represents the number of page elements of the i-th page, s0 represents the set critical number of page elements, d i represents the page loading speed of the i-th page, d0 represents the set critical page loading speed, and f i represents the static content ratio of the i-th page, f0 represents the set critical static content ratio, ρ1 represents the page data generation complexity assessment impact factor corresponding to the set number of page elements, ρ2 represents the page data generation complexity assessment impact factor corresponding to the set page loading speed, ρ3 represents the page data generation complexity assessment impact factor corresponding to the set static content ratio, i represents the page number, i=1,2,3,...,m, m represents the total number of page numbers.

[0024] The second aspect of the present invention provides a page update data processing system based on RN and H5, including: a page update data acquisition module for acquiring page update data, wherein the page update data includes page history access data and page loading data.

[0025] The page cache demand evaluation value analysis module is used to process the page historical access data to obtain the access frequency index of each page, process the page loading data to obtain the data generation complexity index of each page, and comprehensively analyze to obtain the cache demand evaluation value of each page.

[0026] The to-be-cached page screening module is used to screen each page according to the cache demand evaluation value to obtain each to-be-cached page, and divide each to-be-cached page into modules, marking them as content modules of each to-be-cached page.

[0027] The cache processing module is used to obtain the content update cycle of each content module of each page to be cached, and perform cache processing on each content module of each page to be cached according to the content update cycle of each content module of each page to be cached.

[0028] The page update database is used to store page update related data, including the page access frequency assessment influence factor corresponding to the set cumulative number of visits, the page access frequency assessment influence factor corresponding to the set user access frequency, the page access frequency assessment influence factor corresponding to the user access time, the critical page loading speed, the critical page loading speed, the critical static content ratio, the page cache requirement assessment influence factor corresponding to the page data generation complexity index, the page cache requirement assessment influence factor corresponding to the page access frequency index and the cache requirement assessment threshold and other indicators.

[0029] The third aspect of the present invention provides a page update data processing device based on RN and H5, including: a processor and a memory and a network interface connected to the processor; the network interface is connected to a non-volatile memory in a server; the processor calls a computer program from the non-volatile memory through the network interface during operation, and runs the computer program through the memory to execute any one of the methods described in the present invention.

[0030] Compared with the prior art, the embodiments of the present invention have at least the following advantages or beneficial effects:

[0031] (1) The present invention can improve the overall response speed of the system and the response time of data access by evaluating the page cache demand evaluation value, and can reasonably allocate cache resources according to actual needs to avoid resource waste. At the same time, it can improve user experience and reduce the risk of network congestion, which is helpful to improve the competitiveness of the page, meet user needs, and achieve sustainable development.

[0032] (2) By evaluating the page access frequency index, the present invention can gain a deep understanding of user needs and interests, optimize website structure and navigation, formulate precise marketing strategies, improve page performance and stability, and evaluate page value and influence, which helps to better grasp user behavior and market trends and achieve page optimization.

[0033] (3) By evaluating the complexity index of page data generation, the present invention can find out which parts are most time-consuming or occupy the most resources, and then perform targeted optimization. By optimizing the page elements with high complexity, the loading time can be reduced and the user experience can be improved, ensuring that the page is responsive and easy to use, thereby improving user satisfaction, and helping to predict page cache requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The present invention is further described using the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the present invention. A person skilled in the art can obtain other drawings based on the following drawings without creative work.

[0035] Figure 1 It is a schematic diagram of the method flow of the present invention.

[0036] Figure 2 It is a schematic diagram of system module connection of the present invention.

[0037] Figure 3 It is a schematic diagram of the functional relationship between the page cache demand evaluation value and the page access frequency index of the present invention. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Figure 1 As shown, the first aspect of the present invention provides a page update data processing method based on RN and H5, including: obtaining page update data, wherein the page update data includes page history access data and page loading data.

[0039] The historical page access data is processed to obtain the access frequency index of each page, the page loading data is processed to obtain the data generation complexity index of each page, and the cache demand evaluation value of each page is obtained through comprehensive analysis.

[0040] Each page is screened according to the cache demand evaluation value to obtain each page to be cached, and each page to be cached is divided into modules and marked as each content module of each page to be cached.

[0041] The content update period of each content module of each to-be-cached page is obtained, and the content modules of each to-be-cached page are cached according to the content update period of each content module of each to-be-cached page.

[0042] Specifically, each page to be cached is divided into modules and marked as content modules of each page to be cached. The specific division process is: first identify which content in the page needs to be cached and which content is dynamically changing, which usually includes static text, pictures, videos, JavaScript files, SS style sheets, etc., and then divide the page into different modules using RN and H5 according to the page structure and content logic. These modules can be functional areas such as navigation bars, sidebars, main content areas, components such as buttons, forms, carousels or page fragments such as article paragraphs and product lists. Each module should have relatively independent functions and data to facilitate subsequent cache management and updates.

[0043] In a specific embodiment, the content update period of each content module of each page to be cached can be obtained through RN and H5. A longer cache validity period is set for content modules with a longer update period, a shorter cache validity period is set for content modules with a shorter update period, and a moderate cache validity period is set for content modules with a moderate update period. For content modules with extremely high real-time requirements and which require the latest data almost every time they are accessed, you can choose not to cache them. Once the validity period expires, new data is requested and the cache is updated.

[0044] Specifically, the page historical access data is processed to obtain the access frequency index of each page, and the specific processing process is: the page historical access data includes the cumulative number of visits to each page at each time node, the user access frequency and the user access duration.

[0045] The critical cumulative number of visits, critical user access frequency and critical user access duration are extracted from the page update database, and the access frequency index of each page is obtained through comprehensive analysis.

[0046] It should be explained that in this embodiment, the cumulative number of visits refers to the total number of times users visit a page in a time node, the user visit frequency refers to the ratio of the number of times users visit a page in a time node to the length of this time, and the user visit duration refers to the total time that users stay on the page. The cumulative number of visits, user visit frequency and user visit duration of each page at each time node can be obtained through RN and H5. By monitoring the cumulative number of visits, it is helpful to measure the user's attention to the page. By monitoring the user visit frequency, the user's activity and stickiness can be measured, thereby optimizing the user experience. If the visit frequency of a page suddenly drops, it may mean that the content is outdated, the function fails, or there are other problems. By promptly discovering the problem and taking measures to solve it, user satisfaction and loyalty can be maintained. By monitoring the user visit duration, it is helpful to measure the attractiveness of the content and evaluate the value of the page.

[0047] Specifically, the critical cumulative number of visits refers to the maximum cumulative number of visits that a page can withstand within a time node, the critical user access frequency refers to the maximum number of requests initiated by users to the page within a time node, and the critical user access duration refers to the longest time that a user can continuously access the page without triggering any timeout or limit.

[0048] Specifically, the access frequency index of each page is expressed as follows:

[0049]

[0050] Among them, B i represents the access frequency index of the i-th page, e represents a natural constant, and A ij represents the cumulative number of visits to the i-th page at the j-th time node, A0 represents the set critical cumulative number of visits, and p ij represents the user access frequency of the i-th page at the j-th time node, p0 represents the set critical user access frequency, Q irepresents the user access time of the i-th page, Q0 represents the set critical user access time, ∈1 represents the page access frequency assessment impact factor corresponding to the set cumulative number of visits, ∈2 represents the page access frequency assessment impact factor corresponding to the set user access frequency, ∈3 represents the page access frequency assessment impact factor corresponding to the set user access time, i represents the page number, i=1,2,3,...,m, m represents the total number of page numbers, j represents the time node number, j=1,2,3,...,n, n represents the total number of time node numbers.

[0051] The algorithm of this embodiment combines the cumulative number of visits, user visit frequency and user visit duration of each page at each time node, and comprehensively analyzes to obtain the dependent variable. There is usually a positive correlation between the cumulative number of visits and the user visit frequency, that is, users with a large number of cumulative visits tend to have a higher visit frequency. This is because high-frequency visits will naturally lead to an increase in the cumulative number of user visits. There may also be a positive correlation between the user visit duration and the cumulative number of visits, especially when the user has strong interest or demand. A long stay may prompt the user to make multiple visits, thereby increasing the cumulative number of visits. The extension of the user's visit duration may also affect the user's visit frequency. If the user has a good experience and finds valuable content in a certain visit, they may be more inclined to visit the page again. Comprehensive analysis can obtain a more comprehensive, accurate and in-depth page visit frequency index.

[0052] It should be explained that three key factors are considered in this embodiment, namely, the cumulative number of user visits, the frequency of user visits, and the duration of user visits, which helps to understand user engagement and measure user interest in pages. At the same time, enterprises can find out which pages or functions are most popular with users and which are less visited. This helps enterprises optimize the layout, navigation, and content of pages to provide a smoother and more attractive user experience, and enterprises can provide users with more personalized recommended content and services. For example, for users with high frequency visits, more in-depth and professional information or discounts can be provided, and for users with low frequency visits, relevant content or activities can be pushed to attract their attention again. By standardizing the cumulative number of user visits, user visit frequency, and user visit duration at different time nodes of different pages, ensuring that they are compared at the same level, the fairness and comparability of the evaluation are improved, and the active time periods of users can be revealed. For example, some pages may have higher visits in the evening or on weekends, while other pages may be more popular during specific time periods on weekdays, which is essential for formulating targeted marketing strategies and operation plans. By weighting the impact of the cumulative number of user visits, user visit frequency, and user visit duration, their relative importance in the evaluation index is reflected. The weights of different factors can be adjusted according to different needs, making the model highly adaptable. It is not difficult to see that the greater the cumulative number of user visits, user visit frequency, or user visit duration, the greater the page visit frequency index. By evaluating the page visit frequency index, we can gain a deeper understanding of user needs and interests, optimize website structure and navigation, develop precise marketing strategies, improve page performance and stability, and evaluate page value and influence, which helps to better grasp user behavior and market trends and achieve sustainable development and optimization of pages.

[0053] It should be understood that, in this embodiment, ∈1 is the page access frequency assessment impact factor corresponding to the cumulative number of accesses preset in the page update database, which represents the numerical value of the impact of the cumulative number of accesses on the access frequency of each page. When used, the page access frequency assessment impact factor corresponding to the cumulative number of accesses can be directly obtained from the page update database, and the corresponding relationship can be a preset mapping relationship. For example, the cumulative number of accesses at each time node and the page access frequency assessment impact factor corresponding to the cumulative number of accesses preset in the page update database form a mapping set, and the real-time cumulative number of accesses is input into the mapping set to obtain the page access frequency assessment impact factor corresponding to the cumulative number of accesses, wherein the mapping relationship can be one-to-one or many-to-one. In this example, its value range is between 0 and 1; ∈2 is the page access frequency assessment impact factor corresponding to the user access frequency preset in the page update database, which represents the numerical value of the impact of the user access frequency on the access frequency of each page. When used, the page access frequency assessment impact factor corresponding to the user access frequency can be directly obtained from the page update database, and the corresponding relationship can be a preset mapping relationship. For example, the user access frequency of each time node and the page access frequency assessment influence factor corresponding to the user access frequency preset in the page update database form a mapping set, and the real-time user access frequency is input into the mapping set to obtain the page access frequency assessment influence factor corresponding to the user access frequency, wherein the mapping relationship can be one-to-one or many-to-one, and its value range in this example is between 0 and 1; ∈3 is the page access frequency assessment influence factor corresponding to the user access time preset in the page update database, which represents the numerical value of the influence of the user access time on the access frequency of each page. When used, the page access frequency assessment influence factor corresponding to the user access time can be directly obtained from the page update database, and its corresponding relationship can be a preset mapping relationship. For example, the user access time and the page access frequency assessment influence factor corresponding to the user access time preset in the page update database form a mapping set, and the real-time user access time is input into the mapping set to obtain the page access frequency assessment influence factor corresponding to the user access time, wherein the mapping relationship can be one-to-one or many-to-one, and its value range in this example is between 0 and 1.

[0054] It should be explained that the access frequency index of each page in this embodiment is a quantitative indicator obtained by analyzing the cumulative number of visits to each page at each time node, user access frequency and user access duration, and is used to quantify the access frequency of the page.

[0055] Specifically, the page loading data is processed to obtain the data generation complexity index of each page, and the specific processing process is: the page loading data specifically includes the number of page elements, page loading speed and static content ratio of each page.

[0056] The critical number of page elements, critical page loading speed and critical static content ratio are extracted from the page update database, and the data generation complexity index of each page is obtained through comprehensive analysis.

[0057] It should be explained that, in this embodiment, the number of page elements refers to the number of elements returned from the server during the browsing of a page. These elements include but are not limited to pictures, scripts, CSS files, Flash objects, etc., which together constitute the content and function of the page. The page loading speed refers to the time required for the web page to be completely displayed on the browser from the time the user initiates a request. The static content ratio refers to the proportion of static resources in the web page. Static resources refer to files with the same data accessed in different requests, such as pictures, videos, CSS files, JavaScript files, etc. The number of page elements, page loading speed and static content ratio of each page can be obtained through RN and H5. By considering the number of page elements, unnecessary elements can be reduced, making the page structure clearer, which is conducive to search engine crawling and ranking. Too many page elements often lead to a messy page layout, affecting the user's reading experience and ease of operation. By streamlining the number of elements, the page can be made more concise and clear, improving user satisfaction and retention rate. By considering the page loading speed, user satisfaction and loyalty can be significantly improved, while also increasing the page conversion rate. By considering the static content ratio, the loading speed can be increased, which helps to protect the security and stability of the website and reduce the losses and risks caused by hacker attacks.

[0058] It should be explained that in this embodiment, the critical number of page elements refers to the maximum number of elements that can be accommodated on the page, the critical page loading speed refers to the upper limit of the page loading time that the user can accept, and the critical static content ratio refers to the maximum proportion of static content in a page.

[0059] Specifically, the data generation complexity index of each page is expressed as follows:

[0060]

[0061] Among them, C i represents the complexity index of page data generation of the i-th page, s i represents the number of page elements of the i-th page, s0 represents the set critical number of page elements, d i represents the page loading speed of the i-th page, d0 represents the set critical page loading speed, and f irepresents the static content ratio of the i-th page, f0 represents the set critical static content ratio, ρ1 represents the page data generation complexity assessment impact factor corresponding to the set number of page elements, ρ2 represents the page data generation complexity assessment impact factor corresponding to the set page loading speed, ρ3 represents the page data generation complexity assessment impact factor corresponding to the set static content ratio, i represents the page number, i=1,2,3,...,m, m represents the total number of page numbers.

[0062] The algorithm of this embodiment combines the number of page elements, page loading speed and static content ratio of each page, and comprehensively analyzes to obtain the dependent variable. The page loading speed refers to the page loading time. The increase in the number of page elements usually increases the page loading time. At the same time, increasing the static content ratio usually helps to reduce the page loading time. By increasing the static content ratio, the server load can be reduced and the page rendering speed can be accelerated. The number of page elements does not directly determine the level of the static content ratio, but there is a mutual influence between the two. On the one hand, if the number of page elements is too large, it may contain a large amount of dynamic content, which will reduce the static content ratio. On the other hand, by optimizing the page structure, reducing unnecessary elements and merging resource files, the number of page elements can be reduced without reducing the page function, and the static content ratio may be indirectly increased. Comprehensive analysis can obtain a more comprehensive, accurate and in-depth page data generation complexity index.

[0063] Table 1. Example of page data generation complexity index data

[0064]

[0065]

[0066] As shown in Table 1, the page data generation complexity index is jointly determined by the number of page elements, the page loading speed and the proportion of page static content. In a specific embodiment, i=1, the critical number of page elements is 500, the critical page loading speed is 4s, the critical page static content proportion is 80%, the page data generation complexity assessment impact factor corresponding to the set number of page elements is 0.3, the page data generation complexity assessment impact factor corresponding to the set page loading speed is 0.4, and the page data generation complexity assessment impact factor corresponding to the set page static content proportion is 0.3. This formula takes into account three key factors, namely the number of page elements, the page loading speed and the proportion of page static content, which can significantly improve the performance and user experience of the page, and is also conducive to improving the security of the page. By optimizing these factors, faster, simpler and safer pages can be created. By standardizing the number of page elements, page loading speed and page static content proportion of different pages, it is ensured that they are compared at the same level, which improves the fairness and comparability of the evaluation. By weighting the impact of the number of page elements, page loading speed, and the proportion of static content on the page, their relative importance in the evaluation index is reflected. The weights of different factors can be adjusted according to different needs, making the model highly adaptable. It is not difficult to see that the greater the number of page elements, the greater the page loading speed, or the smaller the proportion of static content on the page, the greater the page data generation complexity index. By evaluating the page data generation complexity index, it is possible to find out which parts are the most time-consuming or resource-intensive to generate, and then optimize them in a targeted manner. By optimizing highly complex page elements, loading time can be reduced and user experience can be improved, ensuring that the page is responsive and easy to use, thereby improving user satisfaction, and helping to predict page cache requirements.

[0067] It should be understood that, in this embodiment, ρ1 is the page data generation complexity assessment influence factor corresponding to the number of page elements preset in the page update database, which represents the numerical value of the influence of the number of page elements on the complexity of each page data generation. When used, the page data generation complexity assessment influence factor corresponding to the number of page elements can be directly obtained from the page update database, and the corresponding relationship can be a preset mapping relationship. For example, the number of page elements and the page data generation complexity assessment influence factor corresponding to the number of page elements preset in the page update database form a mapping set, and the real-time number of page elements is input into the mapping set to obtain the page data generation complexity assessment influence factor corresponding to the number of page elements, wherein the mapping relationship can be one-to-one or many-to-one. In this example, its value range is between 0 and 1; ρ2 is the page data generation complexity assessment influence factor corresponding to the page loading speed preset in the page update database, which represents the numerical value of the influence of the page loading speed on the complexity of each page data generation. When used, the page data generation complexity assessment influence factor corresponding to the page loading speed can be directly obtained from the page update database, and the corresponding relationship can be a preset mapping relationship. For example, the page loading speed The page data generation complexity assessment influence factor corresponding to the page loading speed preset in the page update database is formed into a mapping set, and the real-time page loading speed is input into the mapping set to obtain the page data generation complexity assessment influence factor corresponding to the page loading speed, wherein the mapping relationship can be one-to-one or many-to-one, and its value range in this example is between 0 and 1; ρ3 is the page data generation complexity assessment influence factor corresponding to the page static content ratio preset in the page update database, which represents the numerical value of the influence degree of the page static content ratio on the data generation complexity of each page. When used, the page data generation complexity assessment influence factor corresponding to the page static content ratio can be directly obtained from the page update database, and its corresponding relationship can be a preset mapping relationship. For example, the page static content ratio and the page data generation complexity assessment influence factor corresponding to the page static content ratio preset in the page update database form a mapping set, and the real-time page static content ratio is input into the mapping set to obtain the page data generation complexity assessment influence factor corresponding to the page static content ratio, wherein the mapping relationship can be one-to-one or many-to-one, and its value range in this example is between 0 and 1.

[0068] It should be explained that the data generation complexity index of each page in this embodiment is a quantitative indicator obtained by analyzing the number of page elements, page loading speed and page static content ratio of each page, and is used to quantify the data generation complexity of the page.

[0069] Specifically, a cache demand evaluation value of each page is obtained through comprehensive analysis. The specific analysis process is as follows: extracting a critical page access frequency index and a critical page data generation complexity index from a page update database.

[0070] According to the access frequency index of each page and the data generation complexity index, a comprehensive analysis is performed to obtain the cache demand evaluation value of each page.

[0071] Specifically, the cache demand evaluation value of each page is expressed as follows:

[0072] D i =tanh[θ1*C i +θ2*B i ];

[0073] Among them, D i represents the page cache demand evaluation value of the i-th page, C i represents the complexity index of page data generation of the i-th page, B i represents the page access frequency index of the i-th page, θ1 represents the page cache demand assessment impact factor corresponding to the set page data generation complexity index, θ2 represents the page cache demand assessment impact factor corresponding to the set page access frequency index, i represents the page number, i=1, 2, 3, ..., m, m represents the total number of page numbers.

[0074] In a specific embodiment, the algorithm of this embodiment combines the data generation complexity index and the access frequency index of each page, and comprehensively analyzes to obtain the page cache demand evaluation value. In some cases, pages with high data generation complexity may attract a large number of users to visit due to the provision of high-quality and valuable content or services, thereby showing a high access frequency. However, not all pages with high data generation complexity can obtain high visits. If the page content is too professional, obscure or does not meet the needs of the public, no one may be interested even if the data processing is complex. On the contrary, some simple, easy-to-understand and practical pages may be more likely to gain the favor of users and frequent visits, and in some specific scenarios, there may be no significant correlation between the data generation complexity and the access frequency. For example, some pages such as internal management systems or background databases may have a high data generation complexity, but because they are only used by internal personnel and have limited access rights, the access frequency is not high. Comprehensive analysis obtains a more accurate, comprehensive and reliable page cache demand evaluation value.

[0075] like Figure 3 As shown, in a specific embodiment, i = 1, θ1 = 0.5, θ2 = 0.3. i=0.1, the functional relationship between the page cache demand evaluation value and the page access frequency index is shown in curve a; when C i =0.5, the functional relationship between the page cache demand evaluation value and the page access frequency index is shown in curve b; when C i When =1, the functional relationship between the page cache demand evaluation value and the page access frequency index is shown as curve c.

[0076] It should be explained that in this embodiment, two key factors, namely the page data generation complexity index and the page access frequency index, are comprehensively considered, which can deeply understand the user behavior and demand characteristics, provide strong support for data analysis and decision-making, further optimize the website structure and functional layout, and improve the overall performance and user experience of the page. By weighting the influence of the page data generation complexity index and the page access frequency index, it reflects their relative importance in the evaluation index, and the weights of different factors can be adjusted according to different needs, so that the model has good adaptability. It is not difficult to see that the larger the page data generation complexity index or the page access frequency index, the larger the page cache demand evaluation value. By evaluating the page cache demand evaluation value, the overall response speed of the system and the response time of data access can be improved, and cache resources can be reasonably allocated according to actual needs to avoid resource waste. At the same time, the user experience can be improved, and the risk of network congestion can be reduced, which helps to improve the competitiveness of the page, meet user needs, and achieve sustainable development.

[0077] It should be understood that, in this embodiment, θ1 is the page cache demand assessment impact factor corresponding to the page data generation complexity index preset in the page update database, which represents the numerical value of the influence of the page data generation complexity index on the page cache demand assessment value. When used, the page cache demand assessment impact factor corresponding to the page data generation complexity index can be directly obtained from the page update database, and the corresponding relationship can be a preset mapping relationship. For example, the page data generation complexity index and the page cache demand assessment impact factor corresponding to the page data generation complexity index preset in the page update database form a mapping set, and the real-time page data generation complexity index is input into the mapping set to obtain the page cache demand assessment impact factor corresponding to the page data generation complexity index. The mapping relationship can be one-to-one or many-to-one. In this example, Its value range is between 0 and 1; θ2 is the page cache demand assessment impact factor corresponding to the page access frequency index preset in the page update database, which represents the numerical value of the influence of the page access frequency index on the page cache demand assessment value. When used, the page cache demand assessment impact factor corresponding to the page access frequency index can be directly obtained from the page update database, and the corresponding relationship can be a preset mapping relationship. For example, the page access frequency index and the page cache demand assessment impact factor corresponding to the page access frequency index preset in the page update database form a mapping set, and the real-time page access frequency index is input into the mapping set to obtain the page cache demand assessment impact factor corresponding to the page access frequency index. The mapping relationship can be one-to-one or many-to-one. In this example, its value range is between 0 and 1.

[0078] In a specific embodiment, the page cache demand evaluation value is a quantitative index obtained by analyzing the page data generation complexity index and the page access frequency index, and is used to quantify the cache demand of the page.

[0079] In a specific embodiment, each page is screened according to the cache requirement evaluation value to obtain each page to be cached. The specific screening process is: extracting the cache requirement evaluation threshold in the page update database, comparing the cache requirement evaluation value of each page with the cache requirement evaluation threshold, if the cache requirement evaluation value of a page is greater than or equal to the cache requirement evaluation threshold, then the page is marked as a page to be cached, if the cache requirement evaluation value of a page is less than the cache requirement evaluation threshold, then the page is marked as a non-cached page.

[0080] Reference Figure 2 As shown, the second aspect of the present invention provides a page update data processing system based on RN and H5, including: a page update data acquisition module, used to obtain page update data, and the page update data includes page historical access data and page loading data.

[0081] The page cache demand evaluation value analysis module is used to process the page historical access data to obtain the access frequency index of each page, process the page loading data to obtain the data generation complexity index of each page, and comprehensively analyze to obtain the cache demand evaluation value of each page.

[0082] The to-be-cached page screening module is used to screen each page according to the cache demand evaluation value to obtain each to-be-cached page, and divide each to-be-cached page into modules, marking them as content modules of each to-be-cached page.

[0083] The cache processing module is used to obtain the content update cycle of each content module of each page to be cached, and perform cache processing on each content module of each page to be cached according to the content update cycle of each content module of each page to be cached.

[0084] The page update database is used to store page update related data, including the page access frequency assessment influence factor corresponding to the set cumulative number of visits, the page access frequency assessment influence factor corresponding to the set user access frequency, the page access frequency assessment influence factor corresponding to the user access time, the critical page loading speed, the critical page loading speed, the critical static content ratio, the page cache requirement assessment influence factor corresponding to the page data generation complexity index, the page cache requirement assessment influence factor corresponding to the page access frequency index and the cache requirement assessment threshold and other indicators. The data in the page update database are obtained by collecting data from multiple page update experiments.

[0085] The above contents are merely examples and explanations of the structure of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the structure of the invention or exceed the scope defined by the present invention, they should all fall within the protection scope of the present invention.

Claims

1. A page update data processing method based on RN and H5, characterized in that: include: Obtaining page update data, wherein the page update data includes page history access data and page loading data; The page historical access data is processed to obtain the access frequency index of each page, the page loading data is processed to obtain the data generation complexity index of each page, and the cache demand evaluation value of each page is obtained through comprehensive analysis; Screening each page according to the cache demand evaluation value to obtain each page to be cached, and dividing each page to be cached into modules, marking each content module of each page to be cached; The content update period of each content module of each to-be-cached page is obtained, and the content modules of each to-be-cached page are cached according to the content update period of each content module of each to-be-cached page.

2. The page update data processing method based on RN and H5 according to claim 1 is characterized in that: The page historical access data is processed to obtain the access frequency index of each page. The specific processing process is as follows: The page history access data includes the cumulative number of visits to each page at each time point, user access frequency and user access duration; The critical cumulative number of visits, critical user access frequency and critical user access duration are extracted from the page update database, and the access frequency index of each page is obtained through comprehensive analysis.

3. The page update data processing method based on RN and H5 according to claim 1 is characterized in that: The page loading data is processed to obtain the data generation complexity index of each page, and the specific processing process is as follows: The page loading data specifically includes the number of page elements, page loading speed and static content ratio of each page; The critical number of page elements, critical page loading speed and critical static content ratio are extracted from the page update database, and the data generation complexity index of each page is obtained through comprehensive analysis.

4. The page update data processing method based on RN and H5 according to claim 1 is characterized in that: The comprehensive analysis obtains the cache demand evaluation value of each page, and the specific analysis process is as follows: Extracting the critical page access frequency index and the critical page data generation complexity index from the page update database; According to the access frequency index of each page and the data generation complexity index, a comprehensive analysis is performed to obtain the cache demand evaluation value of each page.

5. The page update data processing method based on RN and H5 according to claim 1 is characterized in that: The pages are screened according to the cache demand evaluation value to obtain the pages to be cached. The specific screening process is as follows: The cache requirement assessment threshold is extracted from the page update database, and the cache requirement assessment value of each page is compared with the cache requirement assessment threshold. If the cache requirement assessment value of a page is greater than or equal to the cache requirement assessment threshold, the page is marked as a page to be cached. If the cache requirement assessment value of a page is less than the cache requirement assessment threshold, the page is marked as a non-cached page.

6. The page update data processing method based on RN and H5 according to claim 2 is characterized in that: The access frequency index of each page is a quantitative index obtained by analyzing the cumulative number of visits to each page at each time node, the user access frequency and the user access duration, and is used to quantify the access frequency of the page.

7. The page update data processing method based on RN and H5 according to claim 2 is characterized in that: The access frequency index of each page is expressed as follows: Among them, B i represents the access frequency index of the i-th page, e represents a natural constant, and A ij represents the cumulative number of visits to the i-th page at the j-th time node, A0 represents the set critical cumulative number of visits, and p ij represents the user access frequency of the i-th page at the j-th time node, p0 represents the set critical user access frequency, Q i represents the user access time of the i-th page, Q0 represents the set critical user access time, ∈1 represents the page access frequency assessment impact factor corresponding to the set cumulative number of visits, ∈2 represents the page access frequency assessment impact factor corresponding to the set user access frequency, ∈3 represents the page access frequency assessment impact factor corresponding to the set user access time, i represents the page number, i=1,2,3,...,m, m represents the total number of page numbers, j represents the time node number, j=1,2,3,...,n, n represents the total number of time node numbers.

8. The page update data processing method based on RN and H5 according to claim 3 is characterized in that: The data generation complexity index of each page is expressed as follows: Among them, C i represents the complexity index of page data generation of the i-th page, s i represents the number of page elements of the i-th page, s0 represents the set critical number of page elements, d i represents the page loading speed of the i-th page, d0 represents the set critical page loading speed, and f i represents the static content ratio of the i-th page, f0 represents the set critical static content ratio, ρ1 represents the page data generation complexity assessment impact factor corresponding to the set number of page elements, ρ2 represents the page data generation complexity assessment impact factor corresponding to the set page loading speed, ρ3 represents the page data generation complexity assessment impact factor corresponding to the set static content ratio, i represents the page number, i=1,2,3,...,m, m represents the total number of page numbers.

9. A page update data processing system based on RN and H5, applying a page update data processing method based on RN and H5 as claimed in any one of claims 1 to 8, characterized in that: include: A page update data acquisition module is used to obtain page update data, wherein the page update data includes page history access data and page loading data; The page cache demand evaluation value analysis module is used to process the page historical access data to obtain the access frequency index of each page, process the page loading data to obtain the data generation complexity index of each page, and comprehensively analyze to obtain the cache demand evaluation value of each page; The to-be-cached page screening module is used to screen each page according to the cache demand evaluation value to obtain each to-be-cached page, and divide each to-be-cached page into modules, marking each to-be-cached page as each content module; A cache processing module, used to obtain the content update cycle of each content module of each page to be cached, and perform cache processing on each content module of each page to be cached according to the content update cycle of each content module of each page to be cached; The page update database is used to store page update related data, including the page access frequency assessment influence factor corresponding to the set cumulative number of visits, the page access frequency assessment influence factor corresponding to the set user access frequency, the page access frequency assessment influence factor corresponding to the user access time, the critical page loading speed, the critical page loading speed, the critical static content ratio, the page cache requirement assessment influence factor corresponding to the page data generation complexity index, the page cache requirement assessment influence factor corresponding to the page access frequency index and the cache requirement assessment threshold and other indicators.

10. A page update data processing device based on RN and H5, characterized in that: include: Processors and memory and network interfaces connected to the processors; The network interface is connected to a non-volatile memory in the server; When running, the processor retrieves a computer program from the non-volatile memory through the network interface, and runs the computer program through the memory to execute the method described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method for improving interactive page caching system through multiple-dimension technology

    CN106709062A

  • Webpage cache updating method and device, electronic equipment and storage medium

    CN113010816A

  • Page loading method and device, equipment and storage medium

    CN117632291A

  • Webview characteristic-based method, apparatus and device, and medium

    CN118069950A

  • Use of cache for content validation and error remediation

    US20200012553A1

Cited By

  • Gplates and Vue-based palaeographic map online visualization method and system

    CN120296102A

  • Multi-service scene fusion applet management system and method

    CN120848918A