Using cache for content validation and error recovery
By establishing an interface between the cache memory and the verification component, data is directly read from the cache for verification and repair, which solves the problem of identifying and remediating content damage in distributed storage, achieving efficient content verification and repair, and improving improve processing efficiency and data storage availability.
Patent Information
- Application Number
- CN201980045686.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-07-09
- Filing Date
- 2019-06-19
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When existing technology handles content corruption in distributed storage, it is difficult to consistently identify the cause of the problem, and the damage remediation process is resource-intensive, which may cause a large amount of data to enter a damaged state, and regular processing does not update the basic data structure, which cannot effectively prevent further damage. .
Use the cache memory for content verification and error remediation by establishing an interface between the cache memory and the verification component, reading data directly from the cache for verification, and updating the content in the cache when corruption is found, and Propagate to persistent data storage for real-time or near-real-time content verification and repair.
It improves the processing efficiency of content verification, reduces latency and resource usage, enhances the availability and processing efficiency of the shared data storage system, can accurately detect and repair data invalidity, and prevents wider content corruption.
Smart Images

Figure CN112368682B_ABST
Abstract
Description
Background Art
[0001] Typically, data is accessed and modified in a distributed networking example where one or more users can update content through an application or service. A piece of data stored in a distributed storage device (e.g., a cloud storage device) may be updated by multiple users from multiple devices, and can also be updated by various services that act on the data. During the update process, the updated data may be corrupted. This may be due to problems on any client or service accessing the data, among other reasons.
[0002] Previously, in the case of content corruption, the cause of the problem was identified in an ad hoc manner, wherein an attempt was made to trace the problem to a specific client or service that may have accessed the distributed storage device. Any errors found were fixed. However, this process makes it difficult to consistently identify the cause of the problem and to identify data that may have entered a corrupted state in production. In addition, from a processing efficiency perspective, this type of processing is resource intensive, for example, occupying resources on the client side as well as on the server side, and also requiring additional processing operations to retrieve file data from the data storage device. The damage remediation service can be configured to resolve corruption issues one by one and does not recognize that the underlying data structure (for the file content) is invalid. Consider an instance in which an upload error occurs due to an error in the underlying data structure. Conventional damage remediation processing may not update the underlying data structure to prevent this problem from occurring, which means that a large amount of data is likely to enter a corrupted state. Summary of the invention
[0003] In view of the aforementioned technical challenges, the present disclosure relates to processing operations that enable the use of cache memory for content verification and error remediation of content. Caches are generally used to optimize performance by providing a temporary stop for data between a user and a permanent data storage device. In the examples described herein, the functionality of the cache is extended to enable an interface between the cache memory and a verification component, which is configured to verify data read directly from the cache memory. If the content is found to be damaged, the content can be updated in the cache memory and propagated to permanent data storage devices associated with applications / services, systems, etc. Using a cache may be optimal for recent and / or frequently accessed content and a means for unloading data processing operations from a permanent data storage device (e.g., a distributed data storage device). The examples described herein extend to those examples in which data associated with an electronic file has been stored in a cache memory and those examples in which the permanent data storage device is directly updated and then forwarded for verification processing. The update can be forwarded to the cache memory so that the user receives new (updated) data. The update process can also be used to verify data that has recently been updated in a permanent data storage device. For example, for an exemplary application / service, content that is not directly edited by the real-time processing system can be updated (e.g., by the system, another application, or service). In such a case, a notification can be provided that the content is to be added to a verification queue. The verification queue provides an asynchronous layer that listens to the transaction stream and verifies the queued data.
[0004] This summary is provided to introduce some concepts in a simplified form, which will be further described in the detailed description below. This summary is neither intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. Additional aspects, features and / or advantages of the examples will be set forth in part in the description below, and in part will be apparent from the description, or may be learned through practice of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] Non-limiting and non-exhaustive examples are described with reference to the following figures.
[0006] Figure 1 An exemplary process flow providing exemplary components for content verification in which aspects of the present disclosure may be practiced is illustrated.
[0007] Figure 2 Exemplary methods related to content verification in which aspects of the present disclosure may be practiced are illustrated.
[0008] Figure 3A computing system suitable for implementing the content verification process described herein is illustrated in which aspects of the present disclosure may be practiced. DETAILED DESCRIPTION
[0009] The present disclosure relates to processing operations that enable the use of cache memory for content verification and error remediation of content. Caches are generally used to optimize performance by providing a temporary stop for data between a user and a permanent data storage device. In the examples described herein, the functionality of the cache is extended to enable an interface between the cache memory and a verification component, which is configured to verify data read directly from the cache memory. If it is found that the content is damaged, the content can be updated in the cache memory and propagated to the permanent data storage device associated with the application / service, etc. Using a cache may be optimal for recent and / or frequently accessed content and a means for unloading data processing operations from a permanent data storage device (e.g., a distributed data storage device). The examples described herein extend to those examples in which data associated with an electronic file has been stored in a cache memory and those examples in which the permanent data storage device is directly updated. For example, content can be updated (e.g., by a system, another application or service) without being directly edited by a real-time processing system for use in an exemplary application / service. In such a case, a notification that content is added to a verification queue can be provided, in which data for verification can be propagated for verification processing. The update can be forwarded to the cache memory so that the user receives new (updated) data. The update process can also be used to verify the data that has been recently updated in the permanent data storage device. For example, for exemplary applications / services, content that is not directly edited by the real-time processing system can be updated (for example, by the system, another application or service). In such a case, a notification that the content is added to the verification queue can be provided. The verification queue provides an asynchronous layer that listens to the transaction flow and verifies the queued data.
[0010] In one non-limiting example, a data structure of an electronic file is read from a cache memory associated with an application or service. The content of the electronic file is verified based on an evaluation of the data structure read from the cache memory. For example, the verification process may include the application of exemplary verification rules, which can be used to evaluate any data associated with the data structure, including but not limited to: exemplary data nodes of the data structure; and attributes associated with those data nodes. The exemplary verification rules can programmatically evaluate a hierarchy of any type of data structure (e.g., a data graph, a data tree, a hash), including evaluating data nodes (e.g., parent nodes, child nodes), their corresponding child nodes, and attributes corresponding to each data node. Thus, in one example, the complete data structure of the electronic file can be evaluated compared to a situation in which only revisions to the electronic file are evaluated for correctness. This can increase the accuracy of detecting content invalidity, as well as enable repairs to prevent more extensive content corruption and future instances of content corruption.
[0011] Continuing with the above example, one or more invalidities in the content can be detected based on the results of the verification process. When a damaged instance is detected, a processing operation can be automatically performed to perform an in-memory repair of the data structure. That is, the exemplary data structure for the electronic file can be updated to correct one or more invalidities in the content of the electronic file. This can include direct repair of specific parts of the exemplary data structure (and corresponding data / metadata), as well as correction of the entirety of the damaged data structure. In one example, the update can be performed by a verification component, wherein the updated data structure can be propagated to a permanent data storage device associated with the exemplary application / service. In some cases, the cache memory can also be directly updated. The verification process enables direct access to the updated version of the electronic file from the cache memory, and the updated version of the electronic file can be retrieved from the permanent data storage device. In the case where the file data for the electronic file is cached and the permanent data storage device is a shared data storage device that can be accessed by other systems, applications / services, etc., it is important to update the permanent data storage device.
[0012] In any examples, the exemplary cache is configured to function as storage for detecting content that has reached a corrupted state. The technology may be utilized in any system (including distributed systems / services) that has access to a shared data storage device, including instances where data is not directly available for cache memory. An in-memory repair is performed to correct the invalidity of content in an electronic file. In some cases, the detection of invalidity may result in a determination that an entire data structure (for the electronic file) is corrupted. In such a case, the entire data structure (e.g., the complete data structure) may be re-rendered, for example, to prevent continued instances of corruption and to mitigate future (potentially unforeseen) problems.
[0013] Exemplary technical advantages provided by the processing described in the present disclosure include, but are not limited to: extending the functionality of cache memory beyond conventional means of use to enable interfacing for content verification; improving processing efficiency for content verification in real time (or near real time); reducing latency in distributed system / service examples that include distributed data storage devices; extending functionality and availability for shared data storage systems; improving processing efficiency for computing devices during content verification processing (e.g., reducing processing cycles, saving resources / bandwidth); programmatic application of customized verification rules to improve verification processing; the ability to correct invalidity of large amounts of data; and scalability for use with any type of data structure, as well as other technical advantages.
[0014] Figure 1 An exemplary process flow 100 providing exemplary components for content verification in which aspects of the present disclosure may be practiced is illustrated. As an example, the components of the process flow 100 may be provided as in Figure 3 The exemplary computing system (or multiple computing systems) described in the description of the process flow 100 is executed. The exemplary components described in the process flow 100 can be hardware and / or software components, which are programmed to perform the processing operations described in this article. In one example, each of the components of the process flow 100 can be one or more computing devices associated with the execution of a specific service. The exemplary service can be managed by an application platform, which also provides the component with access and understanding of other components associated with the application / service. In one instance, the processing operations described in the process flow 100 can be implemented by one or more components connected through a distributed network. The operations performed in the process flow 100 can correspond to the operations performed by the system and / or service, which execute computer programs, application programming interfaces (APIs), neural networks or machine learning processing, language understanding processing, search and filtering processing, and generating content for presentation through the user interface of the application / service, as well as other examples.
[0015] In the diagram of process flow 100, numbered process flow steps are provided to illustrate the steps in the process flow. Figure 1 For example, steps 1A-5 illustrate one exemplary process flow for performing the verification process described herein. Steps 1B-5 illustrate another exemplary process flow for performing the verification process. It should be appreciated that the numbered process flow steps are intended to illustrate Figure 1 The process flow between components may be changed without departing from the spirit of the present disclosure.
[0016] Process flow 100 includes (one or more) user computing devices 102 (eg, client computing devices). An example of a user computing device 102 is a Figure 3 A computing system (or multiple computing systems) described in the description of . A user can interact with the exemplary application / service (subsequently described in (one or more) components 116) through (one or more) user computing devices 102. For example, a user can connect to the application / service through any number of different device modalities. In some examples, a user can connect to an application / service (e.g., a distributed data storage service; a productivity service) through different user computing devices 102, where such non-limiting examples are: a smart phone, a laptop computer, a tablet computer, a desktop computer, etc. In other cases, a user can communicate with the application / service multimodally via multiple user computing devices. For example, a user may be accessing a first electronic file via a laptop computer or a tablet computer, and may also be connected to a collaboratively shared electronic file via a mobile computing device such as a cellular phone or a smart phone.
[0017] As described above, the exemplary application / service can interface with other components of process flow 100 to enhance processing efficiency and functionality as described herein. For example, specific components of process flow 100 can each be associated with one or more application / services to implement the functionality of each of the components. Application / service 116 can be any type of programming software. The exemplary application / service is a productivity application / service configured to execute to enable a user to complete tasks on a computing device, wherein the exemplary productivity service can be configured to access a network connection (e.g., the Internet, Infrared) retrieved electronic files / content. Examples of productivity services include, but are not limited to, word processing applications / services, spreadsheet applications / services, note / note taking applications / services, authoring applications / services, digital presentation applications / services, search engine applications / services, email applications / services, messaging applications / services, web browsing applications / services, collaborative team applications / services, digital assistant applications / services, directory applications / services, mapping services, calendar services, electronic payment services, digital data storage or distributed data storage applications / services, web conferencing applications / services, call communication applications / services, language understanding applications / services, robot framework applications / services, network applications / services, and social networking applications / services, as well as other examples. In some examples, an exemplary productivity application / service may be a component of a productivity application / service suite that may be configured to interface with other applications / services associated with an application platform. For example, a word processing service may be included in a bundled service (e.g., In addition, the exemplary productivity service may be configured to interface with other Internet sources / services, including third-party applications / services, e.g., to enhance the functionality of the productivity service during performance of operations such as retrieving file content, accessing file content, updating file content, verifying content, and storing content.
[0018] An exemplary electronic file (or digital document) is a representation of content in an electronic medium / electronic format such as a digital file. In the case where the file can be created to work with any type of application / service, the example of the electronic file can vary. The types of electronic files are known to those skilled in the art. For example, an electronic file can be created for a word processing service or a note-taking service, wherein the electronic file can include creative content. The electronic file can be accessed locally by an application stored on a user's computing device. In an alternative example, the electronic file can be accessed through a network connection, for example, where the electronic file is a web page accessed through a web browser or a distributed copy of a document that is being accessed but stored remotely in other data storage devices different from the user's computing device. Consider an instance in which a user accesses a note-taking service for free-form information collection and multi-user collaboration. The user may be using the note-taking service to access and edit a shared electronic file that is collaboratively accessed by a group of users. On the back end, the note-taking service itself may include a distributed data storage device (or shared data storage device) for the user to store the electronic file, and / or the note-taking service may interface with a data storage application / service to provide data storage for the electronic file.
[0019] The exemplary real-time processing system 104 is one or more components configured to execute data to provide quasi-instantaneous output of data between (one or more) user computing devices 102, hosting components 116 (e.g., applications, services, systems), and backend processing components (e.g., cache memory 106, queues 110, queue listeners 110, verification components 112, persistent data storage 114, and notification components 118). The real-time processing system 104 can interface directly with (one or more) user computing devices 102, as well as other components of the process flow 100. As an example, the real-time processing system 104 is configured so that data from the cache memory 106 is provided to the client. The real-time processing system 104 can be associated with tracking data from the cache memory 106 about content that is being accessed or recently accessed (within a predetermined time period specified by the developer and / or data retention policy). The data from the cache memory 106 is populated from the persistent data storage 114, which maintains data (e.g., electronic files, log data, version data) used to execute the exemplary hosting component 116. In execution, the real-time processing system 104 is configured to receive input of rapidly changing data and then provide output almost immediately, thereby efficiently updating the changes over time to the permanent data storage device 114 and making it easy for the user to view. For example, the real-time processing system 104 can detect user requests and / or accesses to electronic files and interface with the user computing device 102 to provide a representation of the electronic file on the surface through the user interface of the application or service. The cache memory 106 can store data for active access (or recent access) to the electronic file, wherein updates to the electronic file can be tracked and implemented on behalf of the user. Updates to the electronic file (e.g., via the user computing device 102) can be further propagated to the permanent data storage device 114 via components used to verify that the updates to the content are correct. The real-time processing system 104 can interface with other processing components of the process flow 100 through an API or the like. In some examples, the real-time processing system 104 can track the use of electronic files within a particular application service. In other examples, the real-time processing system 104 may include multiple components configured to track the use of electronic files across multiple applications / services that may share access to the persistent data storage 114 .
[0020] exist Figure 1 In one example shown in , the method steps for content verification processing can be initiated by the real-time processing system 104, wherein the real-time processing system 104 detects content for verification. In one example, the detection of content for verification ( Figure 1Step 1A) of may include detecting that the content of the electronic file has been edited or modified. This may include situations where a user makes changes to the content of the electronic file (without saving) as well as those situations where the user saves their changes. In another example, the detection of content for verification may include detecting that a user has accessed the electronic file, regardless of whether the content of the electronic file has been modified. The real-time processing system 104 may also be configured to interface with an exemplary queue 108 for verification (verification queue), wherein the real-time processing system 104 may send / submit an identification of the content (e.g., an electronic file) to the queue 108 for further verification processing. An exemplary identification (ID) of the content may be any type of data that indicates a specific electronic file and / or a reference to the location of the data of the electronic file within the cache memory 106, so that the data structure of the electronic file can be analyzed. The exemplary verification component 112 may be configured to retrieve data for the electronic file from the cache memory 106 using the ID to perform verification processing.
[0021] As described above, in addition to other components, cache memory 106 (or cache) can be interfaced with real-time processing system 104. Exemplary cache memory 106 is a hardware or software component that stores data so that future requests for data can be satisfied more quickly. As an example, cache memory 106 is a high-speed static random access memory (SRAM) that can be accessed more quickly (more efficiently) by a processing component (e.g., a processor or microprocessor) than a conventional random access memory (RAM), which can be used for permanent data storage 114. Caches are generally used to optimize performance by providing a temporary stop for data between a user and a permanent data storage device. In the example described herein, the functionality of cache memory 106 is extended to enable an interface between cache memory 106 and a verification component that is configured to verify data read directly from cache memory. In doing so, cache memory 106 is configured as a data storage for running verification on content. Based on an evaluation of the data structure of an electronic file read from cache memory 106, the content of the electronic file is verified.
[0022] The cache memory 106 may also interface directly with the verification component 112. By doing so, the cache memory 106 may provide access to data associated with the electronic file so that the verification component 112 may perform the verification process described herein. The cache memory 106 may be used to store any data (or metadata) associated with the electronic file, including (one or more) underlying data structures for the electronic file. Non-limiting examples of data structures include, but are not limited to: graphs; data trees; and hashes, among other examples. Real-time updates are typically incremental edits of data structures (e.g., graph structures) by each user. As previously described, data updates are not always performed directly by the real-time processing system 104. Other examples of verification are subsequently described, such as when direct editing of the permanent data storage device 114 is performed by other systems (applications / services) without using the cache memory 106. In such an example, a notification may be provided to the verification component 112 (providing a verification service) to perform verification processing on such content. In some examples, the permanent data storage device 114 interfaces with the cache memory 106 to store data structures for direct editing within the cache memory 106 for execution processing to be verified. In other alternative examples (not shown), the verification component 112 can be configured to interface directly with the persistent data store 114 to perform the verification process, thereby bypassing the use of cache memory.
[0023] As previously described, it is not always easy to find data for an electronic file in cache memory 106. A cache hit occurs when the requested data can be found in cache memory 106, and a cache miss occurs when the data is not found in cache memory 106. Cache hits are provided by reading the data from the cache, which is faster than recalculating the result or reading from a slower data store. Developers can configure settings for storing data in cache memory 106 for any length of time (including retention of data stored in the cache) without departing from the subject matter of the present disclosure. The parameters for storing data in cache memory 106 can comply with data retention policies / regulations and any user privacy regulations or practices.
[0024] The cache memory 106 may also interface with a permanent data storage device 114 for further authentication processing. The permanent data storage device 114 is a hardware data storage device or software component (e.g., a virtual data storage device) configured to store data. Examples of data storage devices and software components are known to those skilled in the art. The exemplary permanent data storage device 114 is used as a dedicated storage device for electronic files or other content associated with a user account (or group user account), a system, and / or one or more applications / services. For example, the permanent data storage device 114 may store content associated with a specific application / service. In another example, the permanent data storage device 114 may store content across multiple hosting components 116, which may include applications, services, and systems. In such an example, the permanent data storage device 114 is a shared data storage for various hosting components 116. In another example, the permanent data storage device 114 may be configured to store data associated with a user account, wherein any type of electronic file may be stored across a dedicated storage device associated with a user account.
[0025] As an example, the permanent data storage device 114 can be one or more distributed data storage devices that can be accessed through a network connection. An example of a distributed data storage device is a cloud-based data storage device. A piece of data stored in the cloud can be updated by multiple users from multiple devices, and can also be updated by various services that act on the data. Due to problems on any client or service accessing the data, the updated data may be damaged during the update process. However, once the data is updated in the cloud in such a damaged state due to any client or user or service, all users, devices and services accessing the data will obtain damaged content thereafter, and in some cases the data will not be displayed back to the user. This can be seen as data loss, or content damage that cannot be displayed across device synchronization data. Similarly, once the data enters this state, there is no recovery mechanism to restore it to a corrected state. In this way, the cache memory 106 and the processing components (e.g., verification components 112) for verification of the content are used to obtain the damaged data from its invalid state and recover for user use.
[0026] For example, in situations where the data is being actively accessed (or has been recently accessed), the persistent data storage 114 exchanges data with the cache memory 106. Furthermore, in one example, the data structure of the electronic file may be verified before persisting the updated version of the electronic file on the persistent data storage 114. In some alternative examples, the persistent data storage 114 may store any version of the electronic file, where updates to the content of the electronic file (or underlying data structures) may result in overwriting of a previous version of the electronic file.
[0027] The real-time processing system 104 may also interface with the exemplary queue 108 for verification processing (or verification queue). The queue 108 is configured to provide a queuing mechanism to systematically feed the content to be verified to the verification component 112. As known to those skilled in the art, any type of queuing mechanism may be implemented. In addition, the queue 108 may be further customized to manage the exemplary verification processing so as to reduce latency during system operation. The exemplary verification processing is intended to improve the processing efficiency of system operation and not interfere with the user's ability to access data. By inference, the content for verification may be detected by the real-time processing system 104 and propagated to the queue 108 for verification at a later point in time. The timing for the execution of the verification processing may be related to the point in time when the electronic file is no longer accessed so as not to affect service operation while accessing the content.
[0028] The exemplary queue 108 may be configured with processing rules that enable data verification processing for specific content to be prioritized (or de-prioritized). For example, processing rules may be set based on parameters including, but not limited to, the following: type of electronic file; type of modification to content; volume of visits; frequency of visits; specific users editing content; and other examples such as processing workload for verification. In some examples, the queue 108 may also apply criteria to evaluate whether to verify content modifications. The queue 108 may provide a decision point configured to determine whether to verify specific content or bypass verification processing. Some of these decisions may also occur as part of the real-time processing system 104 before the content is queued for verification. Examples of criteria for determining whether to verify content may include, but are not limited to: type of electronic file; type of modification to content; frequency of verification processing of content (e.g., a priori verification processing performed on electronic files); type of application / service associated with content; and identification of differences between versions of electronic files, among other examples. In an example where an update satisfies the criteria for selecting content to be verified, the content is queued for verification (with the identity of the content stored in the cache memory 106).
[0029] An exemplary queue listener 110 may establish an interface between the queue 108 and the verification component 112. The queue listener 110 is a data object (or multiple data objects) that acts as an asynchronous event handler for propagating content for verification to the verification component 112. The queue listener 110 may implement a messaging interface that initiates communication between the queue 108 and the verification component 112 to feed the identification of the content to the verification component 112 when the verification component 112 has bandwidth. In some cases, the queue listener 110 may propagate the identification of the content one by one. In other cases, the identification of the content for verification may be transmitted in batches. The queue listener 110 may be executed in Figure 1 In method step 3 shown in , a call is made to the verification component 112 to perform a verification process on a specific content (eg, an electronic file). Based on method step 3, the verification component 112 may perform a verification process.
[0030] As described above, the verification component 112 is implemented to perform a verification process on the content, wherein the invalidity of the content can be checked. The exemplary verification process may include an evaluation of the entire content of the electronic file, wherein the entire data structure for the electronic file can be evaluated. Thus, in some examples, the verification process may periodically check the data structure of the electronic file to actively identify and prevent potential problems that may arise during the execution of the exemplary application / service. In some alternative instances, the detection of content for verification may include the identification of specific content edited within the electronic file (e.g., a portion of the electronic file). It should be understood that the verification process described herein can be applied to instances in which the entire data structure is evaluated as well as those instances in which only a portion of the data structure (e.g., related to specific content within the file) is evaluated.
[0031] When the verification component 112 receives a message with the identity of the content to be verified from the queue listener 110, the verification component 112 uses the identity (ID) to fetch the latest content for the identity from the cache memory 106. Figure 1 Method step 4 shown in illustrates the interaction between the cache memory 106 and the verification component 112, wherein the verification component 112 can: 1) directly access the data structure (and associated data) for the electronic file in the cache memory 106; or 2) the cache memory 106 can propagate the data structure (and associated data) for the electronic file to the verification component 112 for further processing.
[0032] After the content is retrieved from the cache memory 106, a set of validation checks are run on the data structure of the content to check for inconsistencies / corruption in the data structure of the electronic file. The content of the electronic file is validated based on the evaluation of the data structure read from the cache memory 106. For example, the validation process may include the application of exemplary validation rules that can be used to evaluate any data associated with the data structure, including but not limited to: exemplary data nodes of the data structure; and attributes associated with those data nodes. The exemplary validation rules can programmatically evaluate a hierarchy of any type of data structure (e.g., data graph, data tree, hash), including evaluating data nodes (e.g., parent nodes, child nodes), their corresponding child nodes, and attributes corresponding to the respective data nodes. Thus, in one example, the complete data structure of the electronic file can be evaluated compared to a case where only revisions to the electronic file are evaluated for correctness. This can improve the accuracy of detection of content invalidity, as well as enable repair to prevent more extensive content corruption and future content corruption. This process may also be necessary because the evaluation of the complete content may be the only way to determine invalidity.
[0033] In performing the validation process, the validation component 112 may be configured to perform any of the following: a computer program, a software agent, an application programming interface (API), a neural network and / or a machine learning process, among other examples. For example, an exemplary machine learning model may be generated and trained by applying validation rules to evaluate a data structure for an electronic file, the validation rules identifying invalidities in the data structure (and specific attributes within the data structure), and determining and applying applicable in-memory repairs to update the data structure to remove any invalidities. The creation, training, and updating of machine learning models are known to those skilled in the art. In this example, the machine learning model may be further customized for the validation process using training data that adapts the machine learning model to detect invalidities in the file content and apply in-memory repairs to update the data structure of the electronic file. The validation component 112 is constructed using a set of validation checks, and it checks the consistency of each part of the data structure and detects whether the data is invalid. As an example, consider a graph as a basic data structure for content, which includes nodes of different types with multiple attributes, which are also cross-referenced in other nodes. In this example, a validation rule may be to check whether a node has a correct range of attribute values. Another possibility is to check that the graph has no missing child nodes or duplicate nodes. In another example, specific file attributes such as file extension, format, access privileges, etc. may be verified. The type of content verification may vary based on the data structure under consideration.
[0034] Once the validation component 112 has detected invalidity in the content using validation rules, the validation component 112 also attempts to perform in-memory repairs on the content based on programmed validation rules. Along with this type of invalid content detection, the validation rules may also have information about how to modify the data structure to correct the content within it so that the content enters a consistent state. An example of a repair for the "lost child node problem" may be to search the graph to find out whether the expected data in the lost child node exists elsewhere, and then recreate the child node with the data and replace the lost child node. Another repair for the "incorrect attribute value problem" may be to change the value of the attribute so that it is aligned with the valid attribute value for the node while maintaining consistency. In another example, validation rules may be set to evaluate the file extension associated with a specific content portion. In the case where the file extension is identified as a problem of content corruption, the in-memory repair of the data structure for the electronic file may include updating the file extension to, for example, an identified file extension to perform a processing operation for processing (e.g., displaying) the content.
[0035] When the version of the data structure is updated, the verification component 112 is programmed to write the updated content to the permanent data storage device 114 of the real-time system. Figure 1 Method step 5 illustrates the interaction between the verification component 112 and / or the cache memory 106 and the permanent data storage device 114. In one example, the verification component 112 writes the updated data structure to the cache memory 106 and instructs the cache memory 106 to forward the updated data structure to the permanent data storage device 114. In another example, the verification component 112 directly requests an update to the electronic file using the permanent data storage device 114. In this case, the verification component 112 propagates the updated data structure for the electronic file to the permanent data storage device 114. For example, the verification component 112 can obtain the updated data structure from the cache memory 106 and forward it to the permanent data storage device 114.
[0036] The process flow 100 may also include a hosting component 116. The hosting component 116 may include applications, services, and / or systems that may store data / content on the persistent data storage device 114 for execution. For example, the persistent data storage device 114 may serve multiple applications / services, where an application / service may be configured to work with the cache memory 106, while other applications / services may edit content without using the cache memory 106. Examples of applications and services have been provided in the previous description. The exemplary system may include hardware components, software components, or a combination thereof configured to process any type of data including content.
[0037] The process flow 100 may also include a notification component 118. An exemplary notification component 118 is one or more components configured to manage direct edits to the persistent data storage 114 related to non-cached content. For example, a user or system may make an update to an electronic file that is not cached in the cache memory 106. In such a case, the notification component 118 is configured to interface with the persistent data storage 114 and the queue 108 to initiate a validation process for the content (e.g., electronic file) that was edited directly on the persistent data storage 114. The notification component 118 is configured to interface with the persistent data storage 114 to receive notification(s) of direct updates to the file content stored on the persistent data storage 114. Figure 1 Method step 1B is illustrated, in which a notification of an update to the persistent data storage device 114 is sent to the notification component 118. The notification component 118 is also configured to interface with the queue 108 to provide a notification of the addition of content associated with the direct edit to the verification queue. In addition, the notification component 118 can be configured to instruct the cache memory 106 to retrieve the latest content from the persistent data storage device 114 so that the cache memory 106 has the latest content. Figure 1 Method step 2B is illustrated in which a notification is sent to the queue 108 to request that data associated with a direct update to the persistent data storage device 114 be sent to the notification component 118. In some examples, the notification component 118, similar to the real-time processing system 104, can provide a decision point configured to determine whether to verify particular content or bypass the verification process. Examples of criteria for determining whether to verify content may include, but are not limited to: the type of electronic file; the type of modification to the content; the frequency of verification processing performed on the content (e.g., a priori verification processing performed on the electronic file); the type of application / service associated with the content; and identification of differences between versions of the electronic file, among other examples. In examples where the update satisfies the criteria for selecting content to be verified, the content is queued for verification. In Figure 1 The remaining method steps (3, 4, 5) after steps 1A and 1B shown in FIG. 5 are the same as those described in the previous description.
[0038] Figure 2 An exemplary method 200 related to content verification in which aspects of the present disclosure may be practiced is illustrated. The processing operations described in method 200 may be performed by Figure 1), wherein the detailed description in process flow 100 supports and supplements the processing operations described in method 200. Interfaces and communications between exemplary components (such as those described in process flow 100) are known to those skilled in the art. For example, data requests and responses can be transmitted between applications / services to enable a particular application / service to process data retrieved from other applications / services. The format used for such communications can vary depending on the programming protocol implemented by the developer without departing from the subject matter of the present disclosure.
[0039] As an example, in Figure 3 As described in the description of , method 200 can be performed across an exemplary computing system (or multiple computing systems). The exemplary components described in method 200 can be hardware and / or software components that are programmed to perform the processing operations described herein. The operations performed in method 200 can correspond to operations performed by other examples such as systems and / or services that execute computer programs, software agents, intelligent robots, application programming interfaces (APIs), neural networks, and / or machine learning processes. In some examples, the processing operations described in method 200 can be performed by one or more applications / services associated with a network service that can access multiple applications / services, devices, knowledge resources, etc. In one instance, the processing operations described in method 200 can be implemented by one or more components connected through a distributed network.
[0040] Method 200 begins at processing operation 202, where access to an electronic file by an application / service is detected. Detection of access to an electronic file (processing operation 202) can take a variety of forms. As referenced in the foregoing description, access to an electronic file can be a trigger for performing a verification process. The verification process can evaluate the entire data structure of the electronic file. In some cases where the electronic file has not been accessed for a long time, the verification process may not have been performed for a long time (if at all). In that case, it may be useful to verify the (one or more) data structures of the electronic file for damage. This may help preventively remedy any potential errors in the data structure before problems occur during user use. Another technical advantage of verification of the entire data structure is to repair files that have entered a damaged state and therefore cannot properly display user content. Any further access to such a file may trigger a verification process that is capable of repairing the damaged file. Additional examples of detection of access to an electronic file (processing operation 202) include updating and direct editing of the content of the electronic file. In one instance, a user can access the electronic file via a network connection, where the electronic file is stored in a computer such as a server such as a server. Figure 1 In the data storage device of the permanent data storage device 114 described in.
[0041] In some examples, method 200 may proceed to process operation 204, where the data of the electronic file may be propagated to a cache memory (e.g., Figure 1 In one example, this may occur when access to the electronic file is detected (processing operation 102). In other examples, direct edits may be made to the persistent data store, where notifications are propagated to other processing components (e.g., Figure 1 108, and verification component 112). In such an example, propagation of electronic file data may occur at processing operation 208, where the data of the electronic file is verified. As referenced in the foregoing description, updates to the cache memory need not be made directly via the verification component. In other cases, the updated file data is propagated to a permanent data storage device, where the cache memory may then access the updated electronic file via an interface with the permanent data storage device.
[0042] Flow of method 200 may proceed to processing operation 206, where an exemplary verification queue may be updated with the identification of the electronic file. Processing operation 206 may be performed automatically based on the detection of an update to the content (e.g., the electronic file). In another example, propagating the identification of the electronic file to the verification queue may occur when access to the electronic file has ceased (e.g., the user has ceased making updates and / or closed the file). The exemplary verification queue is such as in Figure 1 The queue 108 described in the description of FIG. The processing details for queuing content for verification processing have been described in the previous description. As an example, the processing operation 206 may include submitting the identification of the electronic file to the verification queue. As shown in FIG. Figure 1 As described in the description of , content can be added to the verification queue by various processing components such as the real-time processing system 104 and the notification component 118.
[0043] At processing operation 208, a validation process is performed. The validation process includes validating the data structure of the electronic file (and associated content) to check for corruption and / or errors. During the validation process (processing operation 208), the exemplary data structure of the electronic file is read from a cache memory, for example, based on an identification of a submission received at a validation component of the exemplary system. The exemplary validation component may be, for example, a Figure 1The verification component 112 described. The processing operations for the verification process have been described in the foregoing description. As an example, the verification process can be initiated by reading the data structure for the electronic file from the cache memory. This may occur in any of the following situations: 1) when accessing the electronic file; 2) when access to the electronic file has been stopped; 3) after the content of the electronic file is updated; and 4) based on the priority setting of the verification queue.
[0044] As referenced in the foregoing description, the content of the electronic file is verified based on the evaluation of the data structure read from the cache memory. For example, the verification process may include the application of exemplary verification rules, which can be used to evaluate any data associated with the data structure, including but not limited to: exemplary data nodes of the data structure; and attributes associated with those data nodes. The exemplary verification rules can programmatically evaluate a hierarchy of any type of data structure (e.g., a data graph, a data tree, a hash), including evaluating data nodes (e.g., parent nodes, child nodes), their corresponding child nodes, and attributes corresponding to each data node. Thus, in one example, the complete data structure of the electronic file can be evaluated compared to a situation where only revisions to the electronic file are evaluated for correctness. This can improve the accuracy of detection of content invalidity, as well as enable repair to prevent more extensive content corruption and future content corruption situations.
[0045] Flow of method 200 may proceed to decision operation 210, where the result (or results) of the validation process is evaluated. In decision operation 210, based on the execution of the validation process, it is determined whether any invalidity is detected in the data structure (and corresponding content) of the electronic file. In the event that no invalidity is detected, decision operation 210 branches to "no", and processing of method 200 remains idle until subsequent data is identified for validation. In the example where one or more invalidities are detected in the data structure of the electronic file (e.g., the electronic file or the content of the electronic file is in a corrupted state), decision operation 210 branches to "yes", and processing of method 200 proceeds to processing operation 212.
[0046] In process operation 212, invalidities in the data structure of the electronic document are corrected. Figure 1Exemplary processing operations for remediating damage in the data structure of an electronic file have been described in the foregoing description. For example, when an instance of damage is detected, processing operations can be automatically performed to perform an in-memory repair of the data structure. That is, the exemplary data structure for the electronic file can be updated to correct one or more invalidities in the content of the electronic file. This can include direct repairs to specific portions of the exemplary data structure (and corresponding data / metadata), as well as correction of the entirety of the damaged data structure. As referenced in the foregoing description, the exemplary validation rules can be programmed to identify and correct invalidities in the data structure of the electronic file.
[0047] Flow of method 200 may proceed to processing operation 214, where the updated data structure may be propagated to a permanent data storage associated with the exemplary application / service. In one instance, the update may be performed by a validation component, where the updated data structure may be propagated to a permanent data storage associated with the exemplary application / service. In some cases, the cache memory may also be updated directly. The validation process enables direct access to the updated version of the electronic file from the cache memory, as well as retrieval of the updated version of the electronic file from the permanent data storage. Updating the permanent data storage is important in situations where file data for the electronic file is cached and where the permanent data storage is a shared data storage accessible by other systems, applications / services, etc.
[0048] At process operation 216, the exemplary user interface of the application / service is configured to present the updated electronic file. When the user next accesses the electronic file, the presentation may be performed on behalf of the user (process operation 216). In some examples, the exemplary electronic file may be updated while the user is still accessing a version of the electronic file. In such a case, the user interface of the application / service may be adapted to refresh the presentation of the electronic file so the user is accessing the electronic file in an uncorrupted state.
[0049] Figure 3 A computing system 301 suitable for implementing the content verification processing described herein in which various aspects of the present disclosure can be practiced is illustrated. Computing system 301 represents any system or collection of systems in which the various applications, services, scenarios, and processes disclosed herein can be implemented. Examples of computing system 301 include, but are not limited to, server computers, rack servers, network servers, cloud computing platforms, and data center equipment, as well as any other type of physical or virtual servers, containers, and any variations or combinations thereof. Other examples may include smartphones, laptops, tablet computers, desktop computers, hybrid computers, game consoles, virtual reality devices, smart TVs, smart watches, and other wearable devices, as well as any variations or combinations thereof.
[0050] The computing system 301 may be implemented as a single device, system or equipment, or may be implemented as multiple devices, systems or equipment in a distributed manner. For example, the computing system 301 may include one or more computing devices that perform processing for applications and / or services on a distributed network so that the processing operations described herein can be performed on one or more services. The computing system 301 may include a collection of devices that perform processing for front-end applications / services, back-end applications / services, or a combination thereof. The computing system 301 includes, but is not limited to, a processing system 302, a storage system 303, software 305, a communication interface system 307, and a user interface system 309. The processing system 302 is operably coupled to the storage system 303, the communication interface system 307, and the user interface system 309. The processing system 302 loads and executes the software 305 from the storage system 303. The software 305 includes one or more software components that are configured for cache data verification processing 306 and / or other applications / services of the application platform. The exemplary cache data validation process includes operations to access, read, validate, and update data in cache memory and / or interface with permanent data storage. When executed by processing system 302, software 305 directs processing system 302 to operate as described herein for the various processes, operating scenarios, and sequences discussed in at least the foregoing implementations. Computing system 301 may optionally include additional devices, features, or functions, which are not discussed for the sake of brevity.
[0051] Still reference Figure 3 , processing system 302 may include processors, microprocessors, and other circuits that retrieve and execute software 305 from storage system 303. Processing system 302 may be implemented within a single processing device, but may also be distributed across multiple processing devices or subsystems that collaborate to execute program instructions. Examples of processing system 302 include general-purpose central processing units, graphics processing units, special-purpose processors and logic devices, and any other type of processing device, combination, or variation thereof.
[0052] Storage system 303 may include any computer-readable storage medium that is readable by processing system 302 and capable of storing software 305. Storage system 303 may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storing information, such as computer-readable instructions, data structures, program modules, cache memory, or other data. Examples of storage media include random access memory, read-only memory, magnetic disks, optical disks, flash memory, virtual and non-virtual memory, cassettes, magnetic tape, disk storage or other magnetic storage devices, or other suitable storage media, except propagated signals. In any case, a computer-readable storage medium is not a propagated signal.
[0053] In addition to computer-readable storage media, in some implementations, storage system 303 may also include computer-readable communication media through which at least some of software 305 may communicate internally or externally. Storage system 303 may be implemented as a single storage device, but may also be implemented across multiple storage devices or subsystems that are co-located or distributed relative to each other. Storage system 303 may include additional elements, such as a controller, that can communicate with processing system 302 or possibly other systems.
[0054] The software 305 may be implemented in program instructions and, among other functions, when executed by the processing system 302, may direct the processing system 302 to operate as described in the various operational scenarios, sequences, and processes illustrated herein. For example, the software 305 may include program instructions for implementing the exemplary cache data validation process 306 and / or other applications / services of the application platform, as described in the foregoing description.
[0055] Specifically, the program instructions may include various components or modules, and the components or modules collaborate or otherwise interact to perform various processes and operation scenarios described herein. Various components or modules may be embodied in compiled or interpreted instructions, or may be embodied in some other variations or combinations of instructions. Various components or modules may be executed serially or in parallel in a single-threaded environment or multithreaded in a synchronous or asynchronous manner, or may be executed according to any other suitable execution paradigm, variation or combination. Software 305 may include additional processes, programs or components, such as operating system software, virtual machine software or other application software. Software 305 may also include firmware or some other form of machine-readable processing instructions that can be executed by processing system 302.
[0056] In general, software 305 can convert a suitable device, system, or apparatus (of which computing system 301 is representative) from a general purpose computing system as a whole when loaded into processing system 302 and executed to a special purpose computing system customized for processing data and responding to queries. In practice, the encoded software 305 on storage system 303 can convert the physical structure of storage system 303. The specific conversion of the physical structure can depend on various factors in different implementations of this description. Examples of such factors can include, but are not limited to, the technology of the storage medium used to implement storage system 303 and whether the computer storage medium is characterized as primary storage or secondary storage, as well as other factors.
[0057] For example, if the computer-readable storage medium is implemented as a semiconductor-based memory, when program instructions are encoded therein, the software 305 may transform the physical state of the semiconductor memory, such as by transforming the state of transistors, capacitors, or other discrete circuit elements that make up the semiconductor memory. Similar transformations may occur with respect to magnetic or optical media. Other transformations of the physical media are possible without departing from the scope of this specification, and the foregoing examples are provided merely to facilitate this discussion.
[0058] The communication interface system 307 may include communication connections and devices that allow communication with other computing systems (not shown) through a communication network (not shown). The communication interface system 307 may also be used to cover the interface between the processing components described herein. The examples of connections and devices that allow inter-system communication together may include network interface cards or devices, antennas, power amplifiers, RF circuits, transceivers, and other communication circuits. Connections and devices may communicate on a communication medium to exchange communications with other computing systems or system networks, such as metal, glass, air, or any other suitable communication medium. The aforementioned media, connections, and devices are well known and need not be discussed in detail herein.
[0059] The user interface system 309 is optional and may include a keyboard, a mouse, a voice input device, a touch input device for receiving touch gestures from a user, a motion input device for detecting non-touch gestures and other motions of a user, and other comparable input devices and associated processing elements capable of receiving user input from a user. Output devices such as displays, speakers, tactile devices, and other types of output devices may also be included in the user interface system 309. In some cases, input devices and output devices may be combined in a single device, such as a display capable of displaying images and receiving touch gestures. The aforementioned user input and output devices are well known in the art and do not need to be discussed in detail here.
[0060] The user interface system 309 may also include associated user interface software that can be executed by the processing system 302 to support the various user input and output devices discussed above. The user interface software and user interface devices, alone or in combination with each other and other hardware and software elements, may support a graphical user interface, a natural user interface, or any other type of user interface, such as implementing the front-end processing of the exemplary applications / services described herein, including productivity applications / services.
[0061] The communication between computing system 301 and other computing systems (not shown) can be carried out on one or more communication networks and according to various communication protocols, combinations of protocols or variations thereof. Examples include intranets, the Internet, the Internet, local area networks, wide area networks, wireless networks, wired networks, virtual networks, software-defined networks, data center buses, computing backplanes or any other type of networks, combinations of networks or variations thereof. The aforementioned communication networks and protocols are well known and do not need to be discussed in detail here. However, some communication protocols that can be used include, but are not limited to, Internet Protocol (IP, IPv4, IPv6, etc.), Transmission Control Protocol (TCP), User Datagram Protocol (UDP), and any other suitable communication protocol, variations thereof or combinations thereof.
[0062] In any of the above examples of exchanging data, content, or any other type of information, the exchange of information can be carried out according to any of a variety of protocols, including FTP (File Transfer Protocol), HTTP (Hypertext Transfer Protocol), REST (Representational State Transfer), WebSocket, DOM (Document Object Model), HTML (Hypertext Markup Language), CSS (Cascading Style Sheets), HTML5, XML (Extensible Markup Language), JavaScript, JSON (JavaScript Object Notation) and AJAX (Asynchronous JavaScript and XML), as well as any other suitable protocol, variations or combinations thereof.
[0063] The functional block diagrams, operation scenarios and sequences, and flow charts provided in the accompanying drawings represent exemplary systems, environments, and methods for performing novel aspects of the present disclosure. Although for the purpose of simplifying the description, the methods included herein may be in the form of functional diagrams, operation scenarios, or sequences or flow charts, and may be described as a series of actions, it should be understood and appreciated that these methods are not limited by the order of actions, because some actions may occur in an order different from the actions shown and described in this article and / or at the same time. For example, those skilled in the art will understand and appreciate that the method may alternatively be represented as a series of interrelated states or events, such as in a state diagram. In addition, for novel implementations, all actions illustrated in the method may not be required.
[0064] The description and drawings included herein depict specific implementations to teach those skilled in the art how to make and use the best options. In order to teach the principles of the invention, some conventional aspects have been simplified or omitted. Those skilled in the art will appreciate variations from these implementations that fall within the scope of the invention. Those skilled in the art will also appreciate that the above features can be combined in various ways to form multiple implementations. As a result, the present invention is not limited to the above-mentioned specific implementations, but is limited only by the claims and their equivalents.
[0065] Reference has been made throughout the specification to "one example" or "an example," which means that a particular described feature, structure, or characteristic is included in at least one example. Thus, use of such a phrase may relate to more than one example. Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more examples.
[0066] However, one skilled in the relevant art may recognize that the examples may be practiced without one or more of the specific details, or with other methods, resources, materials, etc. In other cases, well-known structures, resources, or operations are not shown or described in detail, merely to observe obscure aspects of the examples.
[0067] Although exemplary examples and applications have been shown and described, it should be understood that the examples are not limited to the precise configurations and resources described above. Various modifications, changes and variations that are obvious to those skilled in the art may be made to the arrangement, operation and details of the methods and systems disclosed herein without departing from the scope of the claimed examples.
Claims
1. A method for content verification and error remediation of content, comprising: submitting an identification of the electronic file to a verification queue based on detecting an update to data associated with the electronic file; reading a data structure for the electronic file from a cache memory associated with an application or service based on submitting the identification of the electronic file to the verification queue; validating the contents of the electronic document based on an evaluation of the data structure read from the cache memory, wherein the validating comprises applying a validation rule that evaluates the data structure and attributes associated with the data structure; detecting one or more invalidities in the content based on a result of the validating; updating the data structure in the cache memory to correct the one or more invalidities in the content; and The updated data structure is propagated from the cache memory to a persistent data storage device for the application or service for enabling subsequent access to the electronic file by the application or service.
2. The method according to claim 1, further comprising: detecting access to the electronic file through the application or service; and based on detecting the access to the electronic file, propagating the data structure for the electronic file from the persistent data storage device to the cache memory.
3. The method according to claim 1, further comprising: Based on detecting an update to the content of the electronic file, submitting an identification of the electronic file to a verification queue, wherein the data structure of the electronic file is read from the cache memory based on the submitted identification received at a verification component that verifies the content of the electronic file.
4. The method according to claim 1, further comprising: detecting an update to a version of the electronic document via the permanent data storage device; and propagating data associated with an updated electronic file to the cache memory, wherein the reading enables access to the data structure for the updated electronic file.
5. The method according to claim 1, wherein: The detection of the one or more invalidities includes: detecting the loss of a data node of the data structure, and wherein the updating of the data structure also includes: performing an in-memory repair of the data structure to recreate the lost data node, and wherein the updated data structure includes the recreated data node.
6. The method according to claim 1, wherein: The detecting of the one or more invalidities comprises detecting that a file extension of the content is invalid, and wherein the updating of the data structure further comprises performing an in-memory repair of the data structure updating the file extension, and wherein the updated data structure comprises the updated file extension.
7. The method according to claim 1, wherein: The detecting of the one or more invalidities comprises determining that the data structure is corrupted based on a threshold evaluation of the one or more invalidities, and wherein the updating of the data structure further comprises re-rendering the entire data structure based on a result of the threshold evaluation.
8. A system for content verification and error remediation of content, comprising: at least one processor; as well as a memory operably connected to the at least one processor, storing computer executable instructions that, when executed by the at least one processor, cause the at least one processor to perform a method comprising: submitting an identification of the electronic file to a verification queue based on detecting an update to data associated with the electronic file; reading a data structure for the electronic file from a cache memory associated with an application or service based on submitting the identification of the electronic file to the verification queue; validating the contents of the electronic document based on an evaluation of the data structure read from the cache memory, wherein the validating comprises applying a validation rule that evaluates the data structure and attributes associated with the data structure; detecting one or more invalidities in the content based on a result of the validating; updating the data structure in the cache memory to correct the one or more invalidities in the content; and The updated data structure is propagated from the cache memory to a persistent data storage device for the application or service for enabling subsequent access to the electronic file by the application or service.
9. The system according to claim 8, wherein: The performed method also includes detecting access to the electronic file by the application or service; and based on detecting the access to the electronic file, propagating the data structure for the electronic file from the persistent data storage device to the cache memory.
10. The system according to claim 8, wherein: The method performed also includes: submitting an identification of the electronic file to a verification queue based on the detection of an update to the content of the electronic file, wherein the data structure of the electronic file is read from the cache memory based on the submitted identification received at a verification component that verifies the content of the electronic file.
11. The system according to claim 8, wherein: The performed method also includes detecting an update to the version of the electronic file via the persistent data storage device; and propagating data associated with the updated electronic file to the cache memory, wherein the reading enables access to the data structure for the updated electronic file.
12. The system according to claim 8, wherein: The detection of the one or more invalidities includes: detecting the loss of a data node of the data structure, and wherein the updating of the data structure also includes: performing an in-memory repair of the data structure to recreate the lost data node, and wherein the updated data structure includes the recreated data node.
13. The system according to claim 8, wherein: The detecting of the one or more invalidities comprises detecting that a file extension of the content is invalid, and wherein the updating of the data structure further comprises performing an in-memory repair of the data structure that updates the file extension, and wherein the updated data structure comprises the updated file extension.
14. The system according to claim 8, wherein:The detecting of the one or more invalidities comprises determining that the data structure is corrupted based on a threshold evaluation of the one or more invalidities, and wherein the updating of the data structure further comprises re-rendering the entire data structure based on a result of the threshold evaluation.
15. A computer-readable storage medium storing computer-executable instructions which, when executed by at least one processor, cause the at least one processor to perform a method comprising: submitting an identification of the electronic file to a verification queue based on detecting an update to data associated with the electronic file; reading a data structure for the electronic file from a cache memory associated with an application or service based on submitting the identification of the electronic file to the verification queue; validating the contents of the electronic document based on an evaluation of the data structure read from the cache memory, wherein the validating comprises applying a validation rule that evaluates the data structure and attributes associated with the data structure; detecting one or more invalidities in the content based on a result of the validating; updating the data structure in the cache memory to correct the one or more invalidities in the content; and The updated data structure is propagated from the cache memory to a persistent data storage device for the application or service for enabling subsequent access to the electronic file by the application or service.
Citation Information
Patent Citations
Managing cache data and metadata
CN102216899A
Caching content addressable data chunks for storage virtualization
CN105144121A
Method and system for communicating validation information to a web cache
US20070067569A1
Method and apparatus for improved error handling
US20170286207A1
