Intelligent cache management method and device for page data

By generating target control fields and performing intelligent cache control operations, the problem of page browsing records not being cached was solved, improving the caching efficiency and accuracy of page data, and enhancing user experience and system performance.

CN116244540BActive Publication Date: 2026-05-22SHENZHEN COMTOP INFORMATION TECH
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN COMTOP INFORMATION TECH
Filing Date
2022-12-27
Publication Date
2026-05-22

AI Technical Summary

Technical Problem

In existing technologies, the lack of caching of page browsing history forces users to search again, affecting user experience and product performance, and the accuracy and reliability of page data recording are insufficient.

Method used

By generating target control fields and detecting page status, intelligent cache control operations are performed on pages to be updated, including conditional search and page data editing. Combined with authentication permission management and cache control conditions, intelligent cache management of page data is achieved.

Benefits of technology

It improves the efficiency and accuracy of page data caching management, enhances user experience and system performance, and ensures the reliability and security of data records.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116244540B_ABST
    Figure CN116244540B_ABST
Patent Text Reader

Abstract

The application discloses a kind of intelligent cache management methods and devices of page data, the method includes: according to the target page management component of pre-set target management field is generated, and then according to target management field, determine all target management pages of the target management field management;The page state corresponding to each target management page is detected, and page state includes the update state or no update state needing to execute page cache management operation;When detecting that there is update page, according to target management field, according to the modification data corresponding to update page, update page is executed page cache management operation, and the management result corresponding to update page is obtained, and update page is updated according to management result, and update page is the page of the page data of some target management page, and there is data update record and / or page access record.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of page data processing technology, and in particular to an intelligent caching and management method and apparatus for page data. Background Technology

[0002] Current web-based products often require caching of page browsing history based on user experience. Typical page lists include various search criteria such as company, project, region, name, ID, and page number. When a user filters based on these criteria, navigates to a details page, and returns to the list, if the filtered criteria are not cached, subsequent searches based on those criteria require the user to re-filter, significantly degrading the user experience. Interfaces such as company lists also need to re-submit requests, impacting product performance. Therefore, providing a solution to these problems while improving the accuracy and reliability of page data recording is crucial. Summary of the Invention

[0003] The technical problem to be solved by the present invention is to provide an intelligent caching and management method and device for page data, which can realize intelligent caching and management of page data and improve the accuracy and reliability of page data recording.

[0004] To address the aforementioned technical problems, the first aspect of this invention discloses an intelligent caching and management method for page data, the method comprising:

[0005] Based on the preset target page control component, a target control field is generated. The target control field is used to control the page caching items corresponding to the control page corresponding to the target control field.

[0006] Based on the target control field, determine all target control pages controlled by that target control field;

[0007] Detect the page status corresponding to each target management page, including the pending update status or no update status where page cache management operation needs to be performed.

[0008] When it is detected that there is a page to be updated among all the target management pages, according to the target management field and the modified data corresponding to the page to be updated, a page cache management operation is performed on the page to be updated to obtain the management result corresponding to the page to be updated, and the page to be updated is updated according to the management result. The page to be updated is a page whose page data of a certain target management page has data update records and / or page access records, and the page status corresponding to the page to be updated is the pending update status.

[0009] As an optional implementation, in the first aspect of the present invention, when it is detected that there is a page to be updated among all the target management pages, the step of performing a page caching management operation on the page to be updated according to the target management field and the modification data corresponding to the page to be updated, to obtain the management result corresponding to the page to be updated, includes:

[0010] Analyze the modified data corresponding to the page to be updated, and obtain the modification type corresponding to the modified data. The modification type includes a first modification type or a second modification type. The first modification type is the type corresponding to the conditional search operation performed on the page to be updated, and the second modification type is the type corresponding to the page data editing operation performed on the page to be updated.

[0011] When it is determined that the modification type corresponding to the modified data is the first modification type, the index information corresponding to the conditional search operation performed on the page to be updated is determined according to the target control field, and the index information is stored in a predetermined first cache path as the control result corresponding to the page to be updated.

[0012] As an optional implementation, in the first aspect of the present invention, when it is determined that the modification type corresponding to the modified data is the second modification type, the method further includes:

[0013] Based on the target control field, target editing information corresponding to the page to be updated is determined. The target editing information includes page update information corresponding to the page data editing operation performed on the page to be updated and operation access information corresponding to the page data editing operation performed. The operation access information is used to determine the access object corresponding to the operation access information.

[0014] A preset information processing function is invoked to perform information control operations on the target edit information, and the information control result corresponding to the target edit information is obtained, which is used as the control result corresponding to the page to be updated.

[0015] As an optional implementation, in the first aspect of the present invention, determining all target control pages controlled by the target control field based on the target control field includes:

[0016] Detect whether the target page operation terminal includes an authentication permission identifier, which is used to authorize the use of the target control field;

[0017] When it is detected that the target page operation terminal does not include the authentication permission identifier, a verification feedback message is generated. The verification feedback message is used to temporarily authorize the target page operation terminal to call the target control field.

[0018] After detecting a temporary authorization identifier or the authentication permission identifier, all target control pages controlled by the target control field are determined based on the temporary authorization identifier or the authentication permission identifier and the target control field.

[0019] The temporary authorization identifier is an identifier generated by the target page operation terminal after performing the verification operation corresponding to the verification feedback information.

[0020] As an optional implementation, in the first aspect of the present invention, after updating the page to be updated according to the control result, the method further includes:

[0021] Determine whether the page to be updated meets the preset cache control conditions. When it is determined that the page to be updated meets the cache control conditions, update the number of times the page cache control operation is performed on the page to be updated.

[0022] The cache control conditions are used to determine the cache control status of the page to be updated. The cache control status includes a first-level authorization status or a non-first-level authorization status. The first-level authorization status is the status that allows the page cache control operation to be performed on the page to be updated based on the target control field.

[0023] As an optional implementation, in the first aspect of the present invention, when it is determined that the page to be updated does not meet the cache control conditions, the method further includes:

[0024] Detect whether there is a permission update instruction, which is used to increase the number of times the page cache control operation is performed on the page to be updated and / or extend the control period for performing the page cache control operation on the page to be updated;

[0025] When it is detected that the permission update instruction does not exist, the cache control status corresponding to the page to be updated is switched to the non-level 1 authorization status according to the target control field, so as to prohibit the page cache control operation from being performed on the page to be updated based on the target control field;

[0026] When the permission update instruction is detected, the control count and / or control period corresponding to the page to be updated are updated according to the permission update instruction.

[0027] As an optional implementation, in the first aspect of the present invention, each target control page has a cached control count, a rated cached control count, and an expected control period corresponding to the target control page;

[0028] When the number of cached control measures corresponding to a certain target control page is equal to the number of rated cache control measures, it is determined that the target control page does not meet the cache control conditions, and / or;

[0029] When the current control date corresponding to a certain target control page exceeds the expiration date corresponding to the expected control period, it is determined that the target control page does not meet the cache control conditions.

[0030] A second aspect of the present invention discloses an intelligent caching and management device for page data, the device comprising:

[0031] The generation module is used to generate target control fields based on preset target page control components. The target control fields are used to control page caching items corresponding to the control page corresponding to the target control field.

[0032] The determination module is used to determine all target control pages controlled by the target control field based on the target control field.

[0033] The detection module is used to detect the page status corresponding to each target control page, including the page status of pending update or no update status that requires page cache control operation;

[0034] The cache management module is used to perform page cache management operations on the page to be updated according to the target management field and the modified data corresponding to the page to be updated when it is detected that there is a page to be updated in all the target management pages, so as to obtain the management result corresponding to the page to be updated.

[0035] The update module is used to update the page to be updated according to the control result. The page to be updated is a page whose page data has data update records and / or page access records for a certain target control page, and the page status corresponding to the page to be updated is the pending update status.

[0036] As an optional implementation, in the second aspect of the present invention, the cache management module performs page cache management operations on the page to be updated according to the target management field and the modified data corresponding to the page to be updated, and obtains the management result corresponding to the page to be updated in the following specific ways:

[0037] When it is detected that there is a page to be updated in all the target management pages, the modification data corresponding to the page to be updated is analyzed to obtain the modification type corresponding to the modification data. The modification type includes a first modification type or a second modification type. The first modification type is the type corresponding to the conditional search operation performed on the page to be updated, and the second modification type is the type corresponding to the page data editing operation performed on the page to be updated.

[0038] When it is determined that the modification type corresponding to the modified data is the first modification type, the index information corresponding to the conditional search operation performed on the page to be updated is determined according to the target control field, and the index information is stored in a predetermined first cache path as the control result corresponding to the page to be updated.

[0039] As an optional implementation, in a second aspect of the invention, the cache management module is further configured to:

[0040] When it is determined that the modification type corresponding to the modified data is the second modification type, the target editing information corresponding to the page to be updated is determined according to the target control field. The target editing information includes page update information corresponding to the page data editing operation performed on the page to be updated and operation access information corresponding to the page data editing operation performed. The operation access information is used to determine the access object corresponding to the operation access information.

[0041] A preset information processing function is invoked to perform information control operations on the target edit information, and the information control result corresponding to the target edit information is obtained, which is used as the control result corresponding to the page to be updated.

[0042] As an optional implementation, in the second aspect of the present invention, the method by which the determining module determines all target management pages controlled by the target management field specifically includes:

[0043] Detect whether the target page operation terminal includes an authentication permission identifier, which is used to authorize the use of the target control field;

[0044] When it is detected that the target page operation terminal does not include the authentication permission identifier, a verification feedback message is generated. The verification feedback message is used to temporarily authorize the target page operation terminal to call the target control field.

[0045] After detecting a temporary authorization identifier or the authentication permission identifier, all target control pages controlled by the target control field are determined based on the temporary authorization identifier or the authentication permission identifier and the target control field.

[0046] The temporary authorization identifier is an identifier generated by the target page operation terminal after performing the verification operation corresponding to the verification feedback information.

[0047] As an optional implementation, in a second aspect of the invention, the apparatus further includes:

[0048] The judgment module is used to determine whether the page to be updated meets the preset cache control conditions after the update module updates the page to be updated according to the control result;

[0049] The update module is further configured to update the number of times the page cache control operation is performed on the page to be updated when the judgment module determines that the page to be updated meets the cache control conditions;

[0050] The cache control conditions are used to determine the cache control status of the page to be updated. The cache control status includes a first-level authorization status or a non-first-level authorization status. The first-level authorization status is the status that allows the page cache control operation to be performed on the page to be updated based on the target control field.

[0051] As an optional implementation, in the second aspect of the present invention, the detection module is further configured to detect whether there is a permission update instruction when the judgment module determines that the page to be updated does not meet the cache control conditions. The permission update instruction is used to increase the number of times the page cache control operation is performed on the page to be updated and / or extend the control period for performing the page cache control operation on the page to be updated.

[0052] The device further includes:

[0053] The switching module is used to switch the cache control status of the page to be updated to the non-first-level authorization status according to the target control field when the permission update instruction is detected to be absent, so as to prohibit the page cache control operation from being performed on the page to be updated based on the target control field.

[0054] The update module is further configured to, when the existence of the permission update instruction is detected, update the number of control operations and / or the control period corresponding to the page to be updated according to the permission update instruction.

[0055] As an optional implementation, in the second aspect of the present invention, each target control page has a cached control count, a rated cached control count, and an expected control period corresponding to the target control page;

[0056] When the number of cached control measures corresponding to a certain target control page is equal to the number of rated cache control measures, it is determined that the target control page does not meet the cache control conditions, and / or;

[0057] When the current control date corresponding to a certain target control page exceeds the expiration date corresponding to the expected control period, it is determined that the target control page does not meet the cache control conditions.

[0058] A third aspect of the present invention discloses another intelligent cache management device for page data, the device comprising:

[0059] Memory containing executable program code;

[0060] A processor coupled to the memory;

[0061] The processor calls the executable program code stored in the memory to execute the intelligent caching and management method for page data disclosed in the first aspect of the present invention.

[0062] The fourth aspect of the present invention discloses a computer storage medium storing computer instructions, which, when invoked, are used to execute the intelligent caching and management method for page data disclosed in the first aspect of the present invention.

[0063] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0064] This invention provides an intelligent caching management method for page data. The method includes: generating a target management field based on a preset target page management component, wherein the target management field is used to manage page caching matters corresponding to the managed page corresponding to the target management field; determining all target managed pages managed by the target management field based on the target management field; detecting the page status corresponding to each target managed page, wherein the page status includes a pending update status or a no-update status requiring page caching management operation; when a pending update page is detected among all target managed pages, performing a page caching management operation on the pending update page according to the target management field and the modified data corresponding to the pending update page, obtaining the management result corresponding to the pending update page, and updating the pending update page according to the management result, wherein the pending update page is a page whose page data of a certain target managed page has data update records and / or page access records, and the page status corresponding to the pending update page is a pending update status. As can be seen, implementing this invention can intelligently generate target control fields based on the target page control component, thereby improving the generation efficiency and accuracy of target control fields; it can also intelligently manage all target control pages controlled by the target control field based on the target control field, and automatically perform page cache control and data update operations for existing pages to be updated, thereby improving the cache control efficiency and accuracy of cache control for page data to be updated. Attached Figure Description

[0065] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0066] Figure 1 This is a flowchart illustrating an intelligent caching and management method for page data disclosed in an embodiment of the present invention;

[0067] Figure 2 This is a flowchart illustrating another intelligent caching and management method for page data disclosed in an embodiment of the present invention;

[0068] Figure 3 This is a schematic diagram of the structure of an intelligent cache management device for page data disclosed in an embodiment of the present invention;

[0069] Figure 4 This is a schematic diagram of another intelligent cache management device for page data disclosed in an embodiment of the present invention;

[0070] Figure 5 This is a schematic diagram of the structure of another intelligent cache management device for page data disclosed in an embodiment of the present invention. Detailed Implementation

[0071] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0072] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or end that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or ends.

[0073] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0074] This invention discloses an intelligent caching management method and apparatus for page data. It can intelligently generate target management fields based on target page management components, improving the generation efficiency and accuracy of target management fields. Furthermore, it can intelligently manage all target management pages controlled by the target management field, and automatically perform page caching management and data update operations for existing pages awaiting updates, improving the caching management efficiency and accuracy for page data awaiting updates. These will be described in detail below.

[0075] Example 1

[0076] Please see Figure 1 , Figure 1 This is a flowchart illustrating an intelligent caching and management method for page data disclosed in an embodiment of the present invention. Figure 1 The described intelligent caching and management method for page data can be applied to intelligent caching and management devices for page data, and this embodiment of the invention is not limited thereto. Figure 1 As shown, the intelligent caching management method for this page data can include the following operations:

[0077] 101. Based on the preset target page control component, generate target control fields. Target control fields are used to control page caching items corresponding to the control page corresponding to the target control field.

[0078] In this embodiment of the invention, the target page control component can specifically be the keep-alive component provided by Vue2.

[0079] 102. Based on the target control field, determine all target control pages controlled by that target control field.

[0080] 103. Detect the page status corresponding to each target control page. The page status includes the pending update status or the no-update status that requires page cache control operations.

[0081] In this embodiment of the invention, optionally, the page status is displayed in the form of a page interface button in actual application. If the interface button is in the startup state (displaying "Allow interface caching"), it is the corresponding state to be updated. Furthermore, if the interface has user-side editing (browsing / modification) records, it is the state that requires current data update.

[0082] 104. When an update-pending page is detected among all target control pages, according to the target control field and the corresponding modified data of the update-pending page, perform page caching control operation on the update-pending page to obtain the control result of the update-pending page, and update the update-pending page according to the control result.

[0083] In this embodiment of the invention, the page to be updated is a page whose page data has data update records and / or page access records, and the page status corresponding to the page to be updated is pending update.

[0084] It is evident that implementation Figure 1 The described intelligent caching and management method for page data can intelligently generate target management fields based on the target page management component, improving the generation efficiency and accuracy of target management fields; it can also intelligently manage all target management pages controlled by the target management field based on the target management field, and automatically perform page caching and data update operations for existing pages that need to be updated, improving the caching and management efficiency and accuracy of page data to be updated.

[0085] In an optional embodiment, the method of performing page caching control operations on the page to be updated based on the target control field and the modified data corresponding to the page to be updated, to obtain the control result corresponding to the page to be updated, specifically includes:

[0086] Analyze the modified data corresponding to the obtained page to be updated to obtain the modification type corresponding to the modified data. The modification type includes a first modification type or a second modification type. The first modification type is the type corresponding to the conditional search operation performed on the page to be updated, and the second modification type is the type corresponding to the page data editing operation performed on the page to be updated.

[0087] When it is determined that the modification type corresponding to the modified data is the first modification type, the index information corresponding to the conditional search operation for the page to be updated is determined according to the target control field, and the index information is stored in the pre-determined first cache path as the control result corresponding to the page to be updated.

[0088] Optionally, when it is determined that the modification type corresponding to the modified data is the second modification type, the method further includes:

[0089] Based on the target control field, determine the target editing information corresponding to the page to be updated. The target editing information includes the page update information corresponding to the page data editing operation performed on the page to be updated and the operation access information corresponding to the page data editing operation. The operation access information is used to determine the access object corresponding to the operation access information.

[0090] The preset information processing function is called to perform information control operations on the target edit information, and the information control result corresponding to the target edit information is obtained as the control result of the page to be updated.

[0091] Specifically, the information processing function can be the lifecycle hook function of keep-alive, but this embodiment of the invention does not limit it.

[0092] As can be seen, in this optional embodiment, the modified data can be automatically analyzed to obtain the modification type, and then, for different modification types, the corresponding index information storage operation or editing information control operation can be performed in conjunction with the target control field. This improves the processing accuracy for different modified data / modification types and also helps to improve the cache control efficiency of page cache processing.

[0093] In another optional embodiment, the method of determining all target control pages controlled by the target control field based on the target control field specifically includes:

[0094] Detect whether the target page operation terminal includes an authentication permission identifier, which is used to authorize the use of the target control field;

[0095] When it is detected that the target page operation terminal does not include the authentication permission identifier, a verification feedback message is generated. The verification feedback message is used to temporarily authorize the target page operation terminal to call the target controlled field.

[0096] After detecting a temporary authorization identifier or authentication permission identifier, determine all target control pages controlled by that target control field based on the temporary authorization identifier or authentication permission identifier and the target control field;

[0097] The temporary authorization identifier is generated by the target page operator after performing a verification operation corresponding to the verification feedback information.

[0098] As can be seen, in this optional embodiment, the target management page is determined based on the authentication permission identifier, which improves the security of calling the target management field. Even if the target page operation terminal does not include the authentication permission identifier, verification feedback information can be automatically generated. After determining the verification operation corresponding to the verification feedback information, temporary authorization is granted to a certain page operation terminal, thus realizing the flexibility of calling the target management field.

[0099] Example 2

[0100] Please see Figure 2 , Figure 2 This is a flowchart illustrating another intelligent caching and management method for page data disclosed in an embodiment of the present invention. Figure 2 The described intelligent caching and management method for page data can be applied to intelligent caching and management devices for page data, and this embodiment of the invention is not limited thereto. Figure 2 As shown, the intelligent caching management method for this page data can include the following operations:

[0101] 201. Based on the preset target page control component, generate target control fields. Target control fields are used to control page caching items corresponding to the control page corresponding to the target control field.

[0102] 202. Based on the target control field, determine all target control pages controlled by that target control field.

[0103] 203. Detect the page status corresponding to each target control page. The page status includes the pending update status or no update status that requires page cache control operations.

[0104] 204. When an update-pending page is detected among all target control pages, according to the target control field and the corresponding modified data of the update-pending page, perform page caching control operation on the update-pending page to obtain the control result of the update-pending page, and update the update-pending page according to the control result.

[0105] For further descriptions of steps 201-204 in this embodiment of the invention, please refer to the other specific descriptions of steps 101-104 in Embodiment 1. These descriptions will not be repeated in this embodiment of the invention.

[0106] 205. Determine whether the page to be updated meets the preset cache control conditions.

[0107] 206. When it is determined that the page to be updated meets the cache control conditions, update the number of times the page cache control operation is performed on the page to be updated.

[0108] In this embodiment of the invention, cache control conditions are used to determine the cache control status of the page to be updated. The cache control status includes a first-level authorized status or a non-first-level authorized status. The first-level authorized status is the status that allows page cache control operations to be performed on the page to be updated based on the target control field.

[0109] In this embodiment of the invention, optionally, when it is determined that the page to be updated does not meet the cache control conditions, the method further includes:

[0110] Detect whether there is a permission update instruction. The permission update instruction is used to increase the number of times page cache control operations are performed on the page to be updated and / or extend the control period for performing page cache control operations on the page to be updated.

[0111] When no permission update instruction is detected, the cache control status of the page to be updated is switched to a non-level 1 authorization status based on the target control field, so as to prevent page cache control operations from being performed on the page to be updated based on the target control field.

[0112] When a permission update instruction is detected, the number of control cycles and / or control period corresponding to the page to be updated are updated according to the permission update instruction.

[0113] In this embodiment of the invention, it should be noted that each target management page has the corresponding number of cached management times, the rated number of cached management times, and the expected management period;

[0114] When the number of cached control measures corresponding to a certain target control page is equal to the number of rated cache control measures, it is determined that the target control page does not meet the cache control conditions, and / or;

[0115] When the current control date for a target control page exceeds the expected deadline of the control period, the target control page is determined not to meet the cache control conditions.

[0116] It is evident that implementation Figure 2The described intelligent caching management method for page data can automatically determine whether each page to be updated meets the caching management conditions. For pages that do not meet the caching management conditions, it automatically checks for permission update instructions to increase the number of management operations and / or extend the management period. If so, it automatically updates the number of management operations and / or the management period. If not, it switches the caching management status of the page to be updated to a non-first-level authorization status. This achieves intelligent monitoring of the caching management status of each page, which improves the accuracy and security of page caching management to a certain extent.

[0117] Example 3

[0118] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of an intelligent caching and management device for page data disclosed in an embodiment of the present invention. The intelligent caching and management device for page data can be an intelligent caching and management terminal, an intelligent caching and management equipment, an intelligent caching and management system, or an intelligent caching and management server. The intelligent caching and management server can be a local server, a remote server, or a cloud server (also known as a cloud-based server). When the intelligent caching and management server is not a cloud server, it can communicate with the cloud server. This embodiment of the present invention does not impose any limitations. Figure 3 As shown, the intelligent cache management device for this page data may include a generation module 301, a determination module 302, a detection module 303, a cache management module 304, and an update module 305, wherein:

[0119] The generation module 301 is used to generate target control fields based on the preset target page control components. The target control fields are used to control the page cache items corresponding to the control page corresponding to the target control field.

[0120] The determination module 302 is used to determine all target control pages controlled by the target control field based on the target control field.

[0121] The detection module 303 is used to detect the page status corresponding to each target control page. The page status includes the pending update status or the no-update status that requires page cache control operation.

[0122] The cache management module 304 is used to perform page cache management operation on the page to be updated according to the target management field and the modified data corresponding to the page to be updated when it is detected that there is a page to be updated in all target management pages, so as to obtain the management result corresponding to the page to be updated.

[0123] The update module 305 is used to update the page to be updated based on the control results. The page to be updated is a page whose page data has data update records and / or page access records for a certain target control page, and the page status corresponding to the page to be updated is pending update.

[0124] It is evident that implementation Figure 3 The described intelligent cache management device for page data can intelligently generate target management fields based on target page management components, improving the generation efficiency and accuracy of target management fields; it can also intelligently manage all target management pages controlled by the target management field based on the target management field, and automatically perform page cache management and data update operations for existing pages to be updated, improving the cache management efficiency and accuracy of page data to be updated.

[0125] In an optional embodiment, the cache management module 304 performs page cache management operations on the page to be updated based on the target management field and the modified data corresponding to the page to be updated, and obtains the management result corresponding to the page to be updated in the following specific ways:

[0126] When an update-pending page is detected in all target control pages, the modified data corresponding to the update-pending page is analyzed to obtain the modification type corresponding to the modified data. The modification type includes a first modification type or a second modification type. The first modification type is the type corresponding to the conditional search operation performed on the update-pending page, and the second modification type is the type corresponding to the page data editing operation performed on the update-pending page.

[0127] When it is determined that the modification type corresponding to the modified data is the first modification type, the index information corresponding to the conditional search operation for the page to be updated is determined according to the target control field, and the index information is stored in the pre-determined first cache path as the control result corresponding to the page to be updated.

[0128] Optionally, the cache management module 304 is also used for:

[0129] When it is determined that the modification type corresponding to the modified data is the second modification type, the target editing information corresponding to the page to be updated is determined according to the target control field. The target editing information includes the page update information corresponding to the page data editing operation performed on the page to be updated and the operation access information corresponding to the page data editing operation. The operation access information is used to determine the access object corresponding to the operation access information.

[0130] The preset information processing function is called to perform information control operations on the target edit information, and the information control result corresponding to the target edit information is obtained as the control result of the page to be updated.

[0131] As can be seen, in this optional embodiment, the modified data can be automatically analyzed to obtain the modification type. Then, for different modification types, the corresponding index information storage operation or editing information control operation is performed in conjunction with the target control field. This improves the processing accuracy for different modified data / modification types and also helps improve the cache control efficiency of page caching.

[0132] In another optional embodiment, the method by which the determining module 302 determines all target management pages controlled by the target management field specifically includes:

[0133] Detect whether the target page operation terminal includes an authentication permission identifier, which is used to authorize the use of the target control field;

[0134] When it is detected that the target page operation terminal does not include the authentication permission identifier, a verification feedback message is generated. The verification feedback message is used to temporarily authorize the target page operation terminal to call the target controlled field.

[0135] After detecting a temporary authorization identifier or authentication permission identifier, determine all target control pages controlled by that target control field based on the temporary authorization identifier or authentication permission identifier and the target control field;

[0136] The temporary authorization identifier is generated by the target page operator after performing a verification operation corresponding to the verification feedback information.

[0137] As can be seen, in this optional embodiment, the target management page is determined based on the authentication permission identifier, which improves the security of calling the target management field. Even if the target page operation terminal does not include the authentication permission identifier, verification feedback information can be automatically generated. After determining the verification operation corresponding to the verification feedback information, temporary authorization is granted to a certain page operation terminal, thus realizing the flexibility of calling the target management field.

[0138] In yet another alternative embodiment, such as Figure 4 As shown, the device also includes a judgment module 306, wherein:

[0139] The judgment module 306 is used to determine whether the page to be updated meets the preset cache control conditions after the update module 305 updates the page to be updated according to the control result.

[0140] The update module 305 is also used to update the number of times the page cache control operation is performed on the page to be updated when the judgment module 306 determines that the page to be updated meets the cache control conditions;

[0141] Among them, cache control conditions are used to determine the cache control status of the page to be updated. The cache control status includes a first-level authorized status or a non-first-level authorized status. The first-level authorized status is the status that allows page cache control operations to be performed on the page to be updated based on the target control field.

[0142] In this optional embodiment, the detection module 303 is further configured to detect whether there is a permission update instruction when the judgment module 306 determines that the page to be updated does not meet the cache control conditions. The permission update instruction is used to increase the number of page cache control operations performed on the page to be updated and / or extend the control period for performing page cache control operations on the page to be updated.

[0143] like Figure 4 As shown, the device also includes a switching module 307, wherein:

[0144] The switching module 307 is used to switch the cache control status of the page to be updated to a non-level-one authorization status based on the target control field when it is detected that there is no permission update instruction, so as to prevent the execution of page cache control operations on the page to be updated based on the target control field.

[0145] The update module 305 is also used to update the number of control operations and / or control period corresponding to the page to be updated according to the control operation instruction when a permission update instruction is detected.

[0146] It should be noted that each target control page contains the number of cached control measures, the number of cached control measures allowed, and the expected control period.

[0147] When the number of cached control measures corresponding to a certain target control page is equal to the number of rated cache control measures, it is determined that the target control page does not meet the cache control conditions, and / or;

[0148] When the current control date for a target control page exceeds the expected expiration date of the control period, the target control page is determined not to meet the cache control conditions.

[0149] It is evident that implementation is as follows Figure 4 The described intelligent caching and management device for page data can automatically determine whether each page to be updated meets the caching and management conditions. For pages that do not meet the caching and management conditions, it automatically checks whether there are permission update instructions to increase the number of management operations and / or extend the management period. If so, it automatically updates the number of management operations and / or the management period. If not, it switches the caching and management status of the page to be updated to a non-first-level authorization status. This achieves intelligent monitoring of the caching and management status of each page, which improves the accuracy and security of page caching and management to a certain extent.

[0150] Example 4

[0151] Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of another intelligent caching and management device for page data disclosed in an embodiment of the present invention. For example... Figure 5 As shown, the intelligent caching and management device for this page data may include:

[0152] Memory 401 storing executable program code;

[0153] Processor 402 coupled to memory 401;

[0154] The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the intelligent caching and management method for page data described in Embodiment 1 or Embodiment 2 of the present invention.

[0155] Example 5

[0156] This invention discloses a computer storage medium storing computer instructions. When these computer instructions are invoked, they are used to execute the steps in the intelligent caching and management method for page data described in Embodiment 1 or Embodiment 2 of this invention.

[0157] Example 6

[0158] This invention discloses a computer program product, which includes a non-transitory computer storage medium storing a computer program, and the computer program is operable to cause a computer to perform the steps in the intelligent caching management method for page data described in Embodiment 1 or Embodiment 2.

[0159] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0160] Through the detailed description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0161] Finally, it should be noted that the intelligent caching and management method and apparatus for page data disclosed in the embodiments of the present invention are merely preferred embodiments of the present invention and are only used to illustrate the technical solutions of the present invention, not to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for intelligent caching and management of page data, characterized in that, The method includes: Based on the preset target page control component, a target control field is generated. The target control field is used to control the page caching items corresponding to the control page corresponding to the target control field. Based on the target control field, determine all target control pages controlled by that target control field; Detect the page status corresponding to each target management page, including the pending update status or no update status where page cache management operation needs to be performed. When it is detected that there is a page to be updated in all the target management pages, according to the target management field and the modified data corresponding to the page to be updated, a page cache management operation is performed on the page to be updated to obtain the management result corresponding to the page to be updated, and the page to be updated is updated according to the management result. The page to be updated is a page whose page data of a certain target management page has data update records and / or page access records, and the page status corresponding to the page to be updated is the pending update status. When it is detected that there is a page to be updated among all the target management pages, the step of performing a page caching management operation on the page to be updated according to the target management field and the modified data corresponding to the page to be updated, to obtain the management result corresponding to the page to be updated, includes: Analyze the modified data corresponding to the page to be updated, and obtain the modification type corresponding to the modified data. The modification type includes a first modification type or a second modification type. The first modification type is the type corresponding to the conditional search operation performed on the page to be updated, and the second modification type is the type corresponding to the page data editing operation performed on the page to be updated. When it is determined that the modification type corresponding to the modified data is the first modification type, the index information corresponding to the conditional search operation performed on the page to be updated is determined according to the target control field, and the index information is stored in a predetermined first cache path as the control result corresponding to the page to be updated; When it is determined that the modification type corresponding to the modified data is the second modification type, the method further includes: Based on the target control field, target editing information corresponding to the page to be updated is determined. The target editing information includes page update information corresponding to the page data editing operation performed on the page to be updated and operation access information corresponding to the page data editing operation performed. The operation access information is used to determine the access object corresponding to the operation access information. A preset information processing function is invoked to perform information control operations on the target edit information, and the information control result corresponding to the target edit information is obtained, which is used as the control result corresponding to the page to be updated.

2. The intelligent caching and management method for page data according to claim 1, characterized in that, The step of determining all target control pages controlled by the target control field based on the target control field includes: Detect whether the target page operation terminal includes an authentication permission identifier, which is used to authorize the use of the target control field; When it is detected that the target page operation terminal does not include the authentication permission identifier, a verification feedback message is generated. The verification feedback message is used to temporarily authorize the target page operation terminal to call the target control field. After detecting a temporary authorization identifier or the authentication permission identifier, all target control pages controlled by the target control field are determined based on the temporary authorization identifier or the authentication permission identifier and the target control field. The temporary authorization identifier is an identifier generated by the target page operation terminal after performing the verification operation corresponding to the verification feedback information.

3. The intelligent caching and management method for page data according to claim 2, characterized in that, After updating the page to be updated based on the control result, the method further includes: Determine whether the page to be updated meets the preset cache control conditions. When it is determined that the page to be updated meets the cache control conditions, update the number of times the page cache control operation is performed on the page to be updated. The cache control conditions are used to determine the cache control status of the page to be updated. The cache control status includes a first-level authorization status or a non-first-level authorization status. The first-level authorization status is the status that allows the page cache control operation to be performed on the page to be updated based on the target control field.

4. The intelligent caching and management method for page data according to claim 3, characterized in that, When it is determined that the page to be updated does not meet the cache control conditions, the method further includes: Detect whether there is a permission update instruction, which is used to increase the number of times the page cache control operation is performed on the page to be updated and / or extend the control period for performing the page cache control operation on the page to be updated; When it is detected that the permission update instruction does not exist, the cache control status corresponding to the page to be updated is switched to the non-level 1 authorization status according to the target control field, so as to prohibit the page cache control operation from being performed on the page to be updated based on the target control field; When the permission update instruction is detected, the control count and / or control period corresponding to the page to be updated are updated according to the permission update instruction.

5. A method for intelligent caching and management of page data according to claim 3 or 4, characterized in that, Each target management page contains the number of cached management attempts, the number of cached management attempts, and the expected management period for that target management page. When the number of cached control measures corresponding to a certain target control page is equal to the number of rated cache control measures, it is determined that the target control page does not meet the cache control conditions, and / or; When the current control date corresponding to a certain target control page exceeds the expiration date corresponding to the expected control period, it is determined that the target control page does not meet the cache control conditions.

6. A smart caching and management device for page data, characterized in that, The device includes: The generation module is used to generate target control fields based on preset target page control components. The target control fields are used to control page caching items corresponding to the control page corresponding to the target control field. The determination module is used to determine all target control pages controlled by the target control field based on the target control field. The detection module is used to detect the page status corresponding to each target control page, including the page status of pending update or no update status that requires page cache control operation; The cache management module is used to perform page cache management operations on the page to be updated according to the target management field and the modified data corresponding to the page to be updated when it is detected that there is a page to be updated in all the target management pages, so as to obtain the management result corresponding to the page to be updated. The update module is used to update the page to be updated according to the control result. The page to be updated is a page whose page data has data update records and / or page access records for a certain target control page, and the page status corresponding to the page to be updated is the pending update status. The cache management module performs page cache management operations on the page to be updated according to the target management field and the modified data corresponding to the page to be updated, and obtains the management result corresponding to the page to be updated in the following specific ways: When it is detected that there is a page to be updated in all the target management pages, the modification data corresponding to the page to be updated is analyzed to obtain the modification type corresponding to the modification data. The modification type includes a first modification type or a second modification type. The first modification type is the type corresponding to the conditional search operation performed on the page to be updated, and the second modification type is the type corresponding to the page data editing operation performed on the page to be updated. When it is determined that the modification type corresponding to the modified data is the first modification type, the index information corresponding to the conditional search operation performed on the page to be updated is determined according to the target control field, and the index information is stored in a predetermined first cache path as the control result corresponding to the page to be updated; The cache management module is also used for: When it is determined that the modification type corresponding to the modified data is the second modification type, the target editing information corresponding to the page to be updated is determined according to the target control field. The target editing information includes page update information corresponding to the page data editing operation performed on the page to be updated and operation access information corresponding to the page data editing operation performed. The operation access information is used to determine the access object corresponding to the operation access information. A preset information processing function is invoked to perform information control operations on the target edit information, and the information control result corresponding to the target edit information is obtained, which is used as the control result corresponding to the page to be updated.

7. A smart caching and management device for page data, characterized in that, The device includes: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the intelligent caching management method for page data as described in any one of claims 1-5.

8. A computer storage medium, characterized in that, The computer storage medium stores computer instructions, which, when invoked, are used to execute the intelligent caching and management method for page data as described in any one of claims 1-5.