Updating processing method, device, server, system, medium and program product
By leveraging the collaborative work of storage management servers, subscription management servers, and business management servers, and utilizing the association mechanism between subscription identifiers and business identifiers, the problem of untimely file updates in cloud storage sharing scenarios is solved, achieving near real-time perception and optimization of computing resources.
Patent Information
- Application Number
- CN202410683548.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2044-05-29
AI Technical Summary
In cloud storage sharing scenarios, existing technologies struggle to achieve near real-time awareness of file updates, and the large computational load on the business service side leads to untimely update notifications and wasted computing resources.
By leveraging the collaborative work between the storage management server, subscription management server, and business management server, and utilizing the association mechanism between subscription identifiers and business identifiers, timely detection and notification of update operations on target objects can be achieved, reducing the computational load on the business management server.
This ensures near real-time awareness of file updates by the business management server, reduces the consumption of computing resources, and improves the reliability and efficiency of update notifications.
Smart Images

Figure CN118585220B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, specifically to file management related technologies, and more particularly to an update processing method, an update processing device, a server, an update processing system, a computer-readable storage medium, and a computer program product. Background Art
[0002] With the rapid development of Internet technology, cloud storage services for files have also grown rapidly and become more widespread. Through these cloud storage services, users can remotely store, download, read, share, and update files, significantly improving the convenience and access flexibility of data. Summary of the Invention
[0003] The embodiments of the present disclosure provide an update processing method, apparatus, update processing system, server, computer-readable storage medium, and computer program product. The update processing solution provided by the embodiments of the present disclosure can achieve timely perception of the update status of the target object.
[0004] In the first aspect, an embodiment of the present disclosure proposes an update processing method, which is applied to a storage management server, including: in response to receiving an update operation for a target object, determining whether the target object is associated with a subscription identifier; in response to determining that the target object is associated with a subscription identifier, sending a notification message to a subscription management server; wherein the notification message is used to trigger the subscription management server to determine a target business identifier corresponding to the target object, and send an update message corresponding to the update operation containing the target business identifier to the business management server.
[0005] In the second aspect, an embodiment of the present disclosure proposes an update processing method, which is applied to a subscription management server, including: receiving a notification message sent by a storage management server; wherein the notification message is issued by the storage management server in response to receiving an update operation for a target object and determining that the target object is associated with a subscription identifier; determining the target business identifier corresponding to the target object based on the notification message, and sending an update message corresponding to the update operation containing the target business identifier to the business management server.
[0006] In the third aspect, an embodiment of the present disclosure proposes an update processing method, which is applied to a business management server, including: receiving an update message containing a target business identifier sent by a subscription management server; wherein the target business identifier corresponds to a target object associated with a subscription identifier, and the update message corresponds to an update operation on the target object; according to the update message, determining that the target object corresponding to the target business identifier is updated.
[0007] In a fourth aspect, an embodiment of the present disclosure proposes an update processing method, which is applied to a file processing system including a storage management server, a subscription management server and a business management server, including: the storage management server determines whether the target object is associated with a subscription identifier in response to receiving an update operation for the target object, and sends a notification message to the subscription management server in response to determining that the target object is associated with the subscription identifier; the subscription management server determines the target business identifier corresponding to the target object based on the received notification message, and sends an update message corresponding to the update operation and including the target business identifier to the business management server; the business management server determines that the target object corresponding to the target business identifier is updated based on the received update message.
[0008] In the fifth aspect, an embodiment of the present disclosure proposes an update processing device, which is applied to a storage management server, including: a first determination unit, configured to determine whether the target object is associated with a subscription identifier in response to receiving an update operation for the target object; a first sending unit, configured to send a notification message to the subscription management server in response to determining that the target object is associated with a subscription identifier; wherein the notification message is used to trigger the subscription management server to determine the target business identifier corresponding to the target object, and send an update message corresponding to the update operation containing the target business identifier to the business management server.
[0009] In the sixth aspect, an embodiment of the present disclosure proposes an update processing device, which is applied to a subscription management server, including: a second receiving unit, configured to receive a notification message sent by a storage management server; wherein the notification message is issued by the storage management server in response to receiving an update operation for a target object and determining that the target object is associated with a subscription identifier; a second determination unit, configured to determine the target business identifier corresponding to the target object based on the notification message; and a second sending unit, configured to send an update message corresponding to the update operation, including the target business identifier, to the business management server.
[0010] In the seventh aspect, an embodiment of the present disclosure proposes an update processing device, which is applied to a business management server, including: a third receiving unit, configured to receive an update message containing a target business identifier sent by a subscription management server; wherein the target business identifier corresponds to a target object associated with a subscription identifier, and the update message corresponds to an update operation on the target object; a processing unit, configured to determine that the target object corresponding to the target business identifier is updated based on the update message.
[0011] In the eighth aspect, an embodiment of the present disclosure provides an update processing system, including: a storage management server, configured to determine whether the target object is associated with a subscription identifier in response to receiving an update operation for the target object, and in response to determining that the target object is associated with the subscription identifier, send a notification message to the subscription management server; the subscription management server, configured to determine the target business identifier corresponding to the target object based on the received notification message, and send an update message corresponding to the update operation and containing the target business identifier to the business management server; the business management server, configured to determine that the target object corresponding to the target business identifier is updated based on the received update message.
[0012] In the ninth aspect, an embodiment of the present disclosure provides a server comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can implement the update processing method described in any one of the implementation methods in the first to third aspects when executing the instructions.
[0013] In a tenth aspect, an embodiment of the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, which are used to enable a computer to implement the update processing method described in any implementation method of the first to third aspects when executed.
[0014] In an eleventh aspect, an embodiment of the present disclosure provides a computer program product comprising a computer program, which, when executed by a processor, can implement the update processing method described in any one of the implementation modes of the first to third aspects.
[0015] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Other features, objects and advantages of the present disclosure will become more apparent from a reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
[0017] Figure 1 is an exemplary system architecture in which the present disclosure may be applied;
[0018] Figure 2 A flowchart of an update processing method provided by an embodiment of the present disclosure;
[0019] Figure 3 A flowchart of another update processing method provided by an embodiment of the present disclosure;
[0020] Figure 4 A flowchart of another update processing method provided in an embodiment of the present disclosure;
[0021] Figure 5 A flowchart of another update processing method provided in an embodiment of the present disclosure;
[0022] Figure 6a An overall framework diagram for performing update processing in an application scenario provided by an embodiment of the present disclosure;
[0023] Figure 6b The embodiment of the present disclosure provides Figure 6a A flowchart of the update processing method implemented under the framework diagram shown;
[0024] Figure 7 A structural block diagram of an update processing device provided in an embodiment of the present disclosure;
[0025] Figure 8 A structural block diagram of another update processing device provided in an embodiment of the present disclosure;
[0026] Figure 9 A structural block diagram of another update processing device provided in an embodiment of the present disclosure;
[0027] Figure 10 A structural block diagram of an update processing system provided in an embodiment of the present disclosure;
[0028] Figure 11 A schematic structural diagram of an electronic device suitable for executing an update processing method provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0029] The following description of exemplary embodiments of the present disclosure is made in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description. It should be noted that the embodiments in the present disclosure and the features in the embodiments can be combined with each other unless there is a conflict.
[0030] It should be pointed out that in the technical solutions disclosed herein, the collection, acquisition, storage, processing, transmission, provision, disclosure and application of user personal information (such as file sharing records, etc.) are all carried out with the user's knowledge and explicit authorization, and are in compliance with relevant laws and regulations and do not violate public order and good morals.
[0031] Figure 1An exemplary system architecture 100 is shown to which embodiments of the update processing scheme of the present disclosure may be applied.
[0032] like Figure 1 As shown, system architecture 100 may include terminal devices 101, 102, and 103, a network 104, and servers 105, 106, and 107. Network 104 is a medium for providing communication links between terminal devices 101, 102, and 103 and server 105, and between servers 105, 106, and 107. Network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables. In the embodiment of the present disclosure, server 105 may be a storage management server 105, server 106 may be a subscription management server 106, and server 107 may be a service management server 107.
[0033] Users can use terminal devices 101, 102, and 103 to interact with the storage management server 105, subscription management server 106, and service management server 107 via network 104 to receive or send messages, etc. Various applications for enabling information communication between the terminal devices 101, 102, and 103 and the storage management server 105, subscription management server 106, and service management server 107 can be installed, such as cloud storage service applications, shopping and consumption applications, and instant messaging applications.
[0034] The terminal devices 101, 102, 103 and the storage management server 105, subscription management server 106, and business management server 107 can be hardware or software. When the terminal devices 101, 102, and 103 are hardware, they can be various electronic devices with display screens, including but not limited to smartphones, tablet computers, laptop computers, and desktop computers, etc.; when the terminal devices 101, 102, and 103 are software, they can be installed in the electronic devices listed above, which can be implemented as multiple software or software modules, or as a single software or software module, and are not specifically limited here. When the storage management server 105, subscription management server 106, and business management server 107 are hardware, they can be implemented as a distributed server cluster consisting of multiple servers, or as a single server; when the server is software, it can be implemented as multiple software or software modules, or as a single software or software module, and are not specifically limited here.
[0035] The storage management server 105 can provide various services through various built-in applications. Taking the provision of cloud storage service related applications based on storage management as an example, the storage management server 105 can achieve the following effects when running the cloud storage service related applications based on storage management: when it is determined based on the update operation on the target object that the target object is pre-associated with a subscription identifier, it can actively trigger the determination of the target business identifier corresponding to the target object by sending a notification message to the subscription management server 106, thereby triggering the subscription management server 106 to include the target business identifier in the update message corresponding to the update operation and notify the business management server 107. In this way, the storage management server 105 can determine whether the target object is associated with a subscription identifier by promptly responding to the update operation on the target object, and if it is determined to be so, it can promptly trigger the subscription management server 106 set between it and the business management server 107 to actively determine the target business identifier corresponding to the target object, and further enable the subscription management server 106 to promptly send an update message containing the target business identifier to the business management server 107, so that the business management server 107 can promptly perceive the update status of the target object corresponding to the corresponding update operation. At the same time, the additional subscription management server 106 can realize the screening of the target business identifier, which can reduce the computing power on the side of the business management server 107.
[0036] The subscription management server 106 can provide various services through various built-in applications. Taking the cloud storage service related application based on subscription management as an example, the subscription management server 106 can achieve the following effects when running the cloud storage service related application based on subscription management: when receiving the notification message sent by the storage management server 105 when it determines that the target object is pre-associated with a subscription identifier based on an update operation on the target object, it can actively determine the target business identifier corresponding to the target object in response to the notification message, and then include the target business identifier in the update message corresponding to the update operation to notify the business management server 107. In this way, the subscription management server 106 serves as an interactive bridge between the business management server 107 and the storage management server 105. When it receives a notification from the storage management server 105 that can indicate that the target object is associated with a subscription identifier, it can promptly determine the target business identifier corresponding to the target object, and promptly send an update message containing the target business identifier to the business management server 107, so that the business management server 107 can promptly perceive the update status of the target object corresponding to the corresponding update operation. At the same time, the additional subscription management server 106 can realize the screening of the target business identifier, which can reduce the computing power on the business management server 107 side.
[0037] The business management server 107 can provide various services through various built-in applications. Taking the business management-based cloud storage service related applications as an example, the business management server 107 can achieve the following effects when running the business management-based cloud storage service related applications: when it is determined based on the update operation on the target object that the target object is associated with a subscription identifier in advance, the business management server 107 can promptly know that the target object has been updated after receiving the update message containing the target business identifier sent by the subscription management server 106 in response to the target business identifier corresponding to the target object. In this way, the business management server 107 can promptly perceive the update status of the target object corresponding to the corresponding update operation. At the same time, the added subscription management server 106 can implement the screening of the target business identifier, which can reduce the computing power on the business management server 107 side.
[0038] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.
[0039] Please refer to Figure 2 , Figure 2 This is a flowchart of an update processing method provided by an embodiment of the present disclosure. The update processing method is executed by an execution subject storage management server, wherein process 200 includes the following steps:
[0040] Step 201: In response to receiving an update operation for a target object, determine whether the target object is associated with a subscription identifier.
[0041] This step is intended to be performed by the above-mentioned execution subject of the update processing method (for example Figure 1 The server 105 shown receives an update operation for a target object and determines, in response to the update operation, whether the target object is previously associated with a subscription identifier. The target object may refer to a single object or multiple objects, and the number of target objects is not specifically limited.
[0042] In some embodiments, whether the target object is associated with a subscription identifier can be represented by setting different values of the subscription identifier. In one example, in response to the value of the subscription identifier being "1", it is represented that the target object is associated with a subscription identifier, and in response to the value of the subscription identifier being "0", it is represented that the target object is not associated with a subscription identifier (and vice versa). In another example, the purpose of determining whether the target object is associated with a subscription identifier can also be achieved by setting other values for the subscription identifier, such as setting "associated" and "not associated" respectively. In yet another example, in response to the existence of the subscription identifier, it can be represented that the target object is associated with the subscription identifier, and in response to the absence of the subscription identifier, it can be represented that the target object is not associated with the subscription identifier. At this time, the specific presentation form of the subscription identifier is not specifically limited, for example, it can be represented by the string "subscription".
[0043] Step 202: In response to determining that the target object is associated with a subscription identifier, a notification message is sent to a subscription management server.
[0044] In the embodiment of the present disclosure, the above notification message is used to trigger the subscription management server (eg Figure 1 The server 106 shown determines the target service identifier corresponding to the target object, and sends an update message corresponding to the update operation including the target service identifier to the service management server.
[0045] On the basis of step 201, this step aims at the execution subject sending a notification message to the subscription management server when it is determined that the target object is pre-associated with the subscription identifier, so as to trigger the subscription management server to determine the target service identifier corresponding to the target object through the notification message, and after determining the target service identifier, the subscription management server sends a notification message to the service management server (for example, Figure 1 The server 107 shown in FIG. 107 ) sends an update message including the target service identifier, wherein the update message corresponds to the above-mentioned update operation for the target object.
[0046] The update processing method provided by the embodiments of the present disclosure can, when it is determined that the target object is pre-associated with a subscription identifier based on an update operation on the target object, proactively trigger the subscription management server to determine the target service identifier corresponding to the target object by sending a notification message to the subscription management server, thereby triggering the subscription management server to include the target service identifier in an update message corresponding to the update operation and notify the service management server. In this way, the storage management server can promptly respond to the update operation on the target object to determine whether the target object is associated with the subscription identifier, and if the determination is yes, promptly trigger the subscription management server provided between the storage management server and the service management server to proactively determine the target service identifier corresponding to the target object, and further cause the subscription management server to promptly send an update message containing the target service identifier to the service management server, so that the service management server can promptly perceive the update status of the target object corresponding to the corresponding update operation. At the same time, the additional subscription management server can filter the target service identifier, that is, the service management server does not need to filter the services targeted by the update, which can reduce the computational workload of the service management server.
[0047] In some implementations of related technologies, in cloud storage sharing scenarios, taking the sharing scenario based on a network disk application as an example, users can view the latest files in the folder shared by the sharer in the following ways: For the sharing scenario in the user group of the network disk application, it is necessary to subscribe to the update stream of all files in the network disk application (which may reach hundreds of millions of files). Based on the file update information corresponding to the above update stream fed back by the network disk application, the business service side needs to traverse which files the sharer has shared, and further confirm where the files have been shared if the sharing is confirmed, and then push the corresponding file update information to the user who received the sharing. The overall computational workload is very large, and it cannot ensure the quasi-real-time perception of file updates. Obviously, for this scenario, the update processing solution of this embodiment can ensure the quasi-real-time perception of file updates by the business service side, and can reduce the computational workload on the business service side.
[0048] In some optional implementations of the disclosed embodiments, the target object includes, but is not limited to, a target file or a target folder. That is, the type of the target object may include, but is not limited to, a file type or a folder type. This allows the service management side to at least be aware of updates to the file or folder in a timely manner.
[0049] In some optional implementations of the embodiments of the present disclosure, the target object is associated with a subscription identifier including at least one of the following:
[0050] (1) The target object's summary information includes a subscription identifier. It can be understood that when the target object's summary information includes a subscription identifier, it can be determined that the target object is associated with the subscription identifier.
[0051] (2) The summary information of the target object's parent folder includes a subscription identifier. It can be understood that if the summary information of the target object's parent folder includes a subscription identifier, the target object can also be deemed to be associated with the subscription identifier. This avoids the situation where an update is performed on the target object but an update notification is not triggered, thereby ensuring the reliability of the update notification.
[0052] Through this solution, the scenarios in which the target object is associated with the subscription identifier are enriched, so that when determining whether the target object is associated with the above-mentioned subscription identifier, an accurate judgment can be made by determining whether the target object's summary information includes the above-mentioned subscription identifier, and / or by determining whether the summary information of the target object's parent folder includes the above-mentioned subscription identifier. Further, it can be specifically implemented as follows: determining whether the target object's summary information includes the subscription identifier, and if so, it can be directly determined that the target object is associated with the subscription identifier; if not, the target object's parent folder can be further searched to determine whether the summary information of the parent folder includes the subscription identifier, and if so, it can also be directly determined that the target object is associated with the subscription identifier, otherwise it can be determined that the target object is not associated with the subscription identifier. Among them, in the case where the summary information of the target object's parent folder includes the subscription identifier, the summary information of the target object (itself) may not be associated with the subscription identifier.
[0053] In some optional implementations of the embodiments of the present disclosure, in addition to the contents described in steps 201 to 202 above, the update processing method may further include the following contents:
[0054] The target object is updated according to an update operation; wherein the update operation includes at least one of the following: a change operation, a new addition operation, and a deletion operation.
[0055] This step is intended to be performed by the execution subject of the update processing method (such as Figure 1 The server 105 shown) performs an update on the target object corresponding to the update operation after receiving the update operation for the target object, so as to further trigger the sending of a notification message to the subscription management server, thereby triggering the subscription management server to determine the target business identifier corresponding to the target object, and send an update message corresponding to the update operation containing the target business identifier to the business management server, so as to make an update notification in a timely manner.
[0056] In some optional implementations of the embodiments of the present disclosure, the step of updating the target object according to the update operation is performed before the operation of sending a notification message to the subscription management server in step 202 is performed.
[0057] In an embodiment of the present disclosure, when the above-mentioned target object is the above-mentioned target file, the above-mentioned update operation on the target object may be a change operation; wherein, the change operation may involve a change to at least one of the name, content, overview information, and sharing path information of the target file.
[0058] In an embodiment of the present disclosure, when the target object is the target folder, the update operation on the target object may include at least one of a change operation, a new operation, and a delete operation. The change operation may involve changing at least one of the name, overview information, sharing path information, and any object (file or subfolder) included in the target folder; the new operation may involve uploading, moving, copying, or transferring new files and / or subfolders to the target folder; and the delete operation may involve deleting or removing existing files and / or subfolders in the target folder.
[0059] Taking the above-mentioned storage management server as a server that provides cloud storage service-related applications based on storage management, and the cloud storage service-related applications based on storage management as a network disk application as an example for explanation, the new operation for the target folder in the network disk application, in addition to including the operation of uploading files and / or subfolders not stored in the network disk application to the target folder, may also include the operation of transferring, copying or moving files and / or subfolders stored in a storage location other than the target folder in the network disk application to the target folder. The deletion operation for the target folder in the network disk application, in addition to including the operation of completely deleting the files or subfolders stored in the target folder from the network disk application, may also include moving the files or subfolders in the target folder to a storage location other than the target folder in the network disk application.
[0060] In some optional implementations of the embodiments of the present disclosure, the above-mentioned update operation on the target object can be performed by the user who created the target object or the user who has the operation authority for the target object through the user terminal (for example, Figure 1 Initiated by the terminal devices 101, 102, 103 shown.
[0061] In some optional implementations of the disclosed embodiments, after the update operation on the target object is completed, the update result corresponding to the update operation may be sent to the subscription management server; wherein the update result may include at least one of the following: (1) the storage path information and / or identification information of the updated target object. Taking the above-mentioned addition operation on the target folder as an example, the current storage path information and / or identification information (such as ID) of the newly added file or subfolder may be notified to the subscription management server as part of the update result. (2) the descriptive information corresponding to the update operation. Taking the above-mentioned deletion operation on the target folder as an example, the update dynamics such as the deletion or removal of the file or subfolder and the name of the related file may be notified to the subscription management server as part of the update result.
[0062] In some optional implementations of the embodiments of the present disclosure, the above-mentioned subscription identifier can be associated through the following association steps: receiving a tagging request initiated by a subscription management server; wherein the tagging request is generated based on a subscription operation for a target object; and associating the subscription identifier with the target object according to the tagging request.
[0063] This step is intended to involve the execution subject of the update processing method, before receiving an update operation for a target object, further including establishing a corresponding association between the target object and the subscription identifier. Specifically, this association step can be triggered based on a tagging request initiated by a subscription management server, and the subscription identifier is associated with the target object in response to the tagging request. This provides a basis for the subsequent storage management server to send a notification message to the subscription management server to proactively trigger the subscription management server to determine the target service identifier corresponding to the target object, thereby triggering the subscription management server to include the target service identifier in an update message corresponding to the update operation and notify the service management server, thereby ensuring the reliability of the service management server's ability to promptly perceive updates to the target object.
[0064] In some optional implementations of the embodiments of the present disclosure, the above-mentioned associating step may further include the following:
[0065] Send a tagging response corresponding to the tagging request to the subscription management server; wherein the tagging response is used to indicate that a subscription identifier has been associated with the target object. In this way, the subscription management server is informed of the successful tagging result corresponding to the tagging request through the tagging response, so that the subscription management server can perform subsequent operations based on the successful tagging result, such as timely establishing a correspondence between the target object associated with the subscription identifier and the business corresponding to the target object, which can specifically include the correspondence between the object's identification information and the business identifier, thereby facilitating the subsequent smooth determination of the target business identifier corresponding to the target object. In some embodiments, the above-mentioned notification message may include at least one of the identification information of the target object and the identification information of the parent folder of the target object, so that when the subscription management server is triggered to determine the target business identifier, the target business identifier can be accurately located based on the above-mentioned correspondence and at least one of the identification information of the target object and the identification information of the parent folder of the target object. For specific definitions, please refer to Figure 3 The relevant descriptions in the corresponding embodiments are not repeated here.
[0066] In some optional implementations of the disclosed embodiments, the subscription operation for the target object may be triggered based on one of the following operations initiated on the service management server: sharing the target object in the form of a sharing link; sending the target object to a single user or a user group. Figure 4 The relevant descriptions in the corresponding embodiments are not repeated here.
[0067] In some optional implementations of the embodiments of the present disclosure, after a subscription identifier is associated with a target object, the execution subject of the update processing method can also execute an unsubscribe operation initiated by a user who subscribes to the target object through a user terminal for the target object, thereby canceling the subscription identifier previously associated with the target object.
[0068] In some optional implementations of the embodiments of the present disclosure, the summary information of the above-mentioned target object may include identification information of the target object, such as the ID (Identifier) of the target object, and the summary information of the parent folder of the above-mentioned target object may include identification information of the parent folder of the target object, such as the ID of the parent folder of the target object.
[0069] In some optional implementations of the embodiments of the present disclosure, when the summary information of the above-mentioned target object includes both the subscription identifier and the identification information of the target object, an association can be established between the subscription identifier and the identification information of the target object; and when the summary information of the parent folder of the above-mentioned target object includes both the subscription identifier and the identification information of the parent folder of the target object, an association can be established between the subscription identifier and the identification information of the parent folder of the target object.
[0070] In some optional implementations of the disclosed embodiments, the target object's summary information may further include at least one of the target object's name, overview information, and sharing path information. The target object's overview information may be used to provide an introduction to the content contained within the target object, and the target object's sharing path information may be used to indicate a storage path where the target object can be accessed.
[0071] Please refer to Figure 3 , Figure 3 This is a flowchart of another update processing method provided by an embodiment of the present disclosure. The update processing method is executed by a subscription management server as an execution subject, wherein process 300 includes the following steps:
[0072] Step 301: Receive a notification message sent by a storage management server.
[0073] In an embodiment of the present disclosure, the notification message is sent by the storage management server in response to receiving an update operation for a target object and determining that the target object is associated with a subscription identifier.
[0074] Step 302: Determine the target service identifier corresponding to the target object according to the notification message, and send an update message corresponding to the update operation and including the target service identifier to the service management server.
[0075] This step is intended to be performed by the execution subject of the update processing method (such as Figure 1 The server 106 shown in FIG. 106 receives a notification message sent by the storage management server in response to receiving an update operation for a target object and determining that the target object is associated with a subscription identifier. The notification message is used to trigger the subscription management server to determine the target service identifier corresponding to the target object and send a notification message to the service management server (e.g. Figure 1 The server 107 shown in FIG. 107 sends an update message containing the target service identifier corresponding to the update operation. The update operation includes at least one of the following: a change operation, a new operation, or a delete operation. For a detailed description of the update operation, please refer to Figure 2 The relevant descriptions in the corresponding embodiments are not repeated here.
[0076] In some optional implementations of the embodiments of the present disclosure, the target object may refer to a single object or multiple objects, and the number of target objects is not specifically limited herein.
[0077] The update processing method provided by the embodiment of the present disclosure is that when the subscription management server receives a notification message sent by the storage management server when it determines that the target object is pre-associated with a subscription identifier based on an update operation on the target object, it can proactively determine the target business identifier corresponding to the target object in response to the notification message, and then include the target business identifier in the update message corresponding to the update operation to notify the business management server. In this way, the subscription management server acts as an interactive bridge between the business management server and the storage management server. When it receives a notification sent by the storage management server that can indicate that the target object is associated with a subscription identifier, it can promptly determine the target business identifier corresponding to the target object, and by promptly sending an update message containing the target business identifier to the business management server, the business management server can promptly perceive the update status of the target object corresponding to the corresponding update operation. At the same time, the additional subscription management server can implement the screening of the target business identifier, which can reduce the amount of calculation on the business management server side.
[0078] In some embodiments, whether the target object is associated with a subscription identifier can be represented by setting different values of the subscription identifier. In one example, in response to the value of the subscription identifier being "1", it is represented that the target object is associated with a subscription identifier, and in response to the value of the subscription identifier being "0", it is represented that the target object is not associated with a subscription identifier (and vice versa). In another example, the purpose of determining whether the target object is associated with a subscription identifier can also be achieved by setting other values for the subscription identifier, such as setting "associated" and "not associated" respectively. In yet another example, in response to the existence of the subscription identifier, it can be represented that the target object is associated with the subscription identifier, and in response to the absence of the subscription identifier, it can be represented that the target object is not associated with the subscription identifier. At this time, the specific presentation form of the subscription identifier is not specifically limited, for example, it can be represented by the string "subscription".
[0079] In some optional implementations of the disclosed embodiments, the target object includes, but is not limited to, a target file or a target folder. That is, the type of the target object may include, but is not limited to, a file type or a folder type. This allows the service management side to at least be aware of updates to the file or folder in a timely manner.
[0080] In some optional implementations of the embodiments of the present disclosure, the target object is associated with a subscription identifier including at least one of the following:
[0081] (1) The target object's summary information includes a subscription identifier. It can be understood that when the target object's summary information includes a subscription identifier, it can be determined that the target object is associated with the subscription identifier.
[0082] (2) The summary information of the target object's parent folder includes a subscription identifier. It can be understood that if the summary information of the target object's parent folder includes a subscription identifier, the target object can also be deemed to be associated with the subscription identifier. This avoids the situation where an update is performed on the target object but an update notification is not triggered, thereby ensuring the reliability of the update notification.
[0083] Through this solution, the scenarios in which the target object is associated with the subscription identifier are enriched, so that when determining whether the target object is associated with the above-mentioned subscription identifier, an accurate judgment can be made by determining whether the target object's summary information includes the above-mentioned subscription identifier, and / or by determining whether the summary information of the target object's parent folder includes the above-mentioned subscription identifier. Furthermore, it can be specifically implemented as follows: determining whether the target object's summary information includes the subscription identifier, and if so, it can be directly determined that the target object is associated with the subscription identifier; if not, the target object's parent folder can be further searched to determine whether the summary information of the parent folder includes the subscription identifier, and if so, it can also be directly determined that the target object is associated with the subscription identifier, otherwise it can be determined that the target object is not associated with the subscription identifier. Among them, in the case where the summary information of the target object's parent folder includes the subscription identifier, the summary information of the target object itself may not be associated with the subscription identifier.
[0084] In the update processing method provided by some optional implementations of the embodiments of the present disclosure, in the case where the above-mentioned notification message includes at least one of the identification information of the target object and the identification information of the parent folder of the target object, the step of determining the target business identifier associated with the target object based on the notification message in the above-mentioned step 302 can be specifically performed as follows: according to the correspondence between different identification information and different business identifiers, determine the target business identifier that matches at least one of the identification information of the target object and the identification information of the parent folder of the target object. In this way, by pre-establishing the correspondence between different identification information and different business identifiers, it is possible to ensure that the target business identifier that matches at least one of the identification information of the target object and the identification information of the parent folder of the target object is accurately and efficiently screened out.
[0085] In some optional implementations of the disclosed embodiments, the identification information of the target object (e.g., the ID of the target object) may be included in the summary information of the target object. Furthermore, if the summary information of the target object includes both the subscription identifier and the identification information of the target object, an association may be established between the subscription identifier and the identification information of the target object.
[0086] In some optional implementations of the embodiments of the present disclosure, the identification information of the target object's parent folder may be included in the summary information of the target object's parent folder. Furthermore, when the summary information of the target object's parent folder includes both the subscription identifier and the identification information of the target object's parent folder, an association may be established between the subscription identifier and the identification information of the target object's parent folder.
[0087] In some optional implementations of the disclosed embodiments, the target object's summary information may further include at least one of the target object's name, overview information, and sharing path information. The target object's overview information may be used to provide an introduction to the content contained within the target object, and the target object's sharing path information may be used to indicate a storage path where the target object can be accessed.
[0088] In the update processing method provided by some optional implementations of the embodiments of the present disclosure, the update result corresponding to the update operation may also be sent to the service management server. For the specific definition of the update result, please refer to Figure 2 The relevant descriptions in the corresponding embodiments are not repeated here. The update result can be carried in the update message and sent to the service side.
[0089] In some optional implementations of the embodiments of the present disclosure, the above-mentioned subscription identifier can be associated through the following association steps: in response to receiving a subscription request sent by the business management server, initiating a tagging request to the storage management server; wherein, the subscription request is generated by the business management server based on the subscription operation for the target object, and the tagging request is used to trigger the storage management server to associate the subscription identifier with the target object; in response to the received tagging response corresponding to the tagging request, establishing a correspondence between the target business identifier and the identification information of the target object; wherein, the target business identifier is used to indicate the subscription operation, and the tagging response is used to indicate that the storage management server has associated the subscription identifier with the target object.
[0090] The above steps are intended to enable the execution subject of the update processing method to send a tagging request to the storage management server upon receiving a subscription request initiated by the service management server in response to a subscription operation for a target object, and to promptly establish a correspondence between the target object associated with the subscription identifier and the service corresponding to the target object based on the successful tagging result upon receiving a tagging response corresponding to the tagging request fed back by the service management server. For the implementation of the instruction of the above subscription operation based on the above target service identifier, please refer to Figure 4 The relevant description of the triggering method of the subscription operation in the corresponding embodiment will not be repeated here.
[0091] In an embodiment of the present disclosure, before performing an update operation on a target object, a corresponding association step may be included between the target object and the subscription identifier. Specifically, this association step may be triggered based on a tagging request received from a subscription management server, and the subscription identifier is associated with the target object in response to the tagging request. This provides a basis for subsequently proactively triggering the subscription management server to determine the target service identifier corresponding to the target object, and further triggering the subscription management server to include the target service identifier in an update message corresponding to the update operation and notify the service management server, thereby ensuring the reliability of the service management server's timely perception of the update status of the target object.
[0092] In the update processing methods provided by some optional implementations of the disclosed embodiments, the identification information of the target object (e.g., the ID of the target object) may be included in the summary information of the target object. Specifically, if the target object is a file, the identification information of the target object may be included in the summary information of the corresponding file. If the target object is a folder, the identification information of the target object may be included in the summary information of the corresponding folder.
[0093] In some optional implementations of the disclosed embodiments, the subscription operation for the target object may be triggered based on one of the following operations initiated on the service management server: sharing the target object in the form of a sharing link; sending the target object to a single user or a user group. Figure 4 The relevant descriptions in the corresponding embodiments are not repeated here.
[0094] In some optional implementations of the disclosed embodiments, the associating step further includes: sending a subscription response corresponding to the subscription request to the service management server; wherein the subscription response indicates that the subscription identifier has been associated with the target object. The subscription response notifies the service management server of a successful subscription result corresponding to the subscription request, so that the service management server can promptly learn, based on the successful subscription result, that the target object has been successfully associated with the subscription identifier, thereby smoothly performing subsequent operations based on this success.
[0095] Please refer to Figure 4 , Figure 4 This is a flowchart of another update processing method provided by an embodiment of the present disclosure. The update processing method is executed by a service management server as an execution subject, wherein process 400 includes the following steps:
[0096] Step 401: Receive an update message including a target service identifier sent by a subscription management server.
[0097] In an embodiment of the present disclosure, the target service identifier corresponds to a target object associated with a subscription identifier, and the update message corresponds to an update operation on the target object.
[0098] Step 402: According to the update message, it is determined that the target object corresponding to the target service identifier is updated.
[0099] This step is intended to be performed by the execution subject of the update processing method (such as Figure 1 The server 107 shown in FIG. 107 ) receives a notification message from the subscription management server in response to the storage management server, determines the target business identifier of the target object, and issues an update message containing the target business identifier. The server 107 can promptly learn that the target object corresponding to the target business identifier has been updated. The notification message is issued by the storage management server in response to receiving an update operation for the target object and determining that the target object is associated with a subscription identifier. The update operation includes at least one of the following: a change operation, a new operation, and a delete operation. For a detailed description of the update operation, please refer to Figure 2 The relevant descriptions in the corresponding embodiments are not repeated here.
[0100] In some optional implementations of the embodiments of the present disclosure, the target object may refer to a single object or multiple objects, and the number of target objects is not specifically limited herein.
[0101] The update processing method provided by the embodiments of the present disclosure can promptly notify a service management server of the update status of the target object corresponding to the target service identifier, upon receiving an update message containing the target service identifier sent by the subscription management server in response to the target object being determined to be associated with the target object based on an update operation. This allows the service management server to promptly perceive the update status of the target object corresponding to the corresponding update operation. Simultaneously, the target service identifier is screened by the additional subscription management server, which can reduce the computational complexity on the service management server side. The subscription management server proactively triggers the sending of the update message to the service management server in response to a notification message sent by the storage management server in response to the storage management server determining that the target object was pre-associated with the subscription identifier based on the update operation.
[0102] In some embodiments, whether the target object is associated with a subscription identifier can be represented by setting different values of the subscription identifier. In one example, in response to the value of the subscription identifier being "1", it is represented that the target object is associated with a subscription identifier, and in response to the value of the subscription identifier being "0", it is represented that the target object is not associated with a subscription identifier (and vice versa). In another example, the purpose of determining whether the target object is associated with a subscription identifier can also be achieved by setting other values for the subscription identifier, such as setting "associated" and "not associated" respectively. In yet another example, in response to the existence of the subscription identifier, it can be represented that the target object is associated with the subscription identifier, and in response to the absence of the subscription identifier, it can be represented that the target object is not associated with the subscription identifier. At this time, the specific presentation form of the subscription identifier is not specifically limited, for example, it can be represented by the string "subscription".
[0103] In some optional implementations of the disclosed embodiments, the target object includes, but is not limited to, a target file or a target folder. That is, the type of the target object may include, but is not limited to, a file type or a folder type. This allows the service management side to at least be aware of updates to the file or folder in a timely manner.
[0104] In some optional implementations of the embodiments of the present disclosure, the target object is associated with a subscription identifier including at least one of the following:
[0105] (1) The target object's summary information includes a subscription identifier. It can be understood that when the target object's summary information includes a subscription identifier, it can be determined that the target object is associated with the subscription identifier.
[0106] (2) The summary information of the target object's parent folder includes a subscription identifier. It can be understood that if the summary information of the target object's parent folder includes a subscription identifier, the target object can also be deemed to be associated with the subscription identifier. This avoids the situation where an update is performed on the target object but an update notification is not triggered, thereby ensuring the reliability of the update notification.
[0107] This solution enriches the scenarios in which target objects are associated with subscription identifiers. Thus, when determining whether a target object is associated with the subscription identifier, accurate judgment can be achieved by determining whether the target object's summary information includes the subscription identifier and / or whether the target object's parent folder's summary information includes the subscription identifier. Furthermore, the solution can be specifically implemented as follows: determining whether the target object's summary information includes the subscription identifier; if so, the target object is directly determined to be associated with the subscription identifier; if not, the target object's parent folder is further searched to determine whether the parent folder's summary information includes the subscription identifier; if so, the target object is also directly determined to be associated with the subscription identifier; otherwise, the target object is determined to be unassociated with the subscription identifier. Thus, by determining the target object, or the target object and its parent folder, it is possible to quickly determine whether updates to the target object have been subscribed. There is no need to determine whether updates to other nodes that are not part of the branch from the target object to its parent folder have been updated, nor is there any need to determine whether nodes that exist between the target object and its parent folder have been updated, thereby eliminating the need for invalidation processing. This significantly reduces computational complexity while improving resource utilization.
[0108] Wherein, in the case where the summary information of the parent folder of the target object includes a subscription identifier, the summary information of the target object itself may not be associated with the subscription identifier.
[0109] In some implementations of related technologies, in cloud storage sharing scenarios, such as those based on network disk applications, sharing within a user group of the network disk application requires subscribing to the update stream of all files in the network disk application (which may reach hundreds of millions of files). Whether the files in the network disk application have been shared is not considered at this time. Typically, since most files are not triggered for sharing by the business service side, the above-mentioned processing of these files is ineffective, resulting in a waste of resources. Clearly, for this scenario, the relevant solutions of this embodiment can avoid ineffective processing and improve resource utilization.
[0110] In some optional implementations of the embodiments of the present disclosure, the summary information of the above-mentioned target object may include identification information of the target object, such as the ID (Identifier) of the target object, and the summary information of the parent folder of the above-mentioned target object may include identification information of the parent folder of the target object, such as the ID of the parent folder of the target object.
[0111] In some optional implementations of the embodiments of the present disclosure, when the summary information of the above-mentioned target object includes both the subscription identifier and the identification information of the target object, an association can be established between the subscription identifier and the identification information of the target object; and when the summary information of the parent folder of the above-mentioned target object includes both the subscription identifier and the identification information of the parent folder of the target object, an association can be established between the subscription identifier and the identification information of the parent folder of the target object.
[0112] In some optional implementations of the disclosed embodiments, the target object's summary information may further include at least one of the target object's name, overview information, and sharing path information. The target object's overview information may be used to provide an introduction to the content contained within the target object, and the target object's sharing path information may be used to indicate a storage path where the target object can be accessed.
[0113] In the update processing method provided by some optional implementations of the embodiments of the present disclosure, the step of receiving the update result corresponding to the update operation sent by the subscription management server may also be included. For the specific definition of the update result, please refer to Figure 2 The relevant descriptions in the corresponding embodiments are not repeated here. The update result can be carried in the update message.
[0114] In some optional implementations of the embodiments of the present disclosure, in addition to the steps 401 to 402 described above, the update processing method may further include at least one of the following steps:
[0115] Step 1: Push an update message to the user associated with the target business ID.
[0116] In the embodiment of the present disclosure, after the business management server promptly perceives the update status of the target object, it can further actively push updates to users associated with the target business identifier, so that relevant users can also promptly know the update status of the target object. In this way, the user does not need to actively check whether the time information when the target object is operated (such as upload or creation time, modification or editing time) has changed to confirm whether there is an update. This ensures the timeliness of update perception and improves the user's experience of perception of updates.
[0117] In some implementations of the related technology, in a cloud storage sharing scenario, taking a sharing scenario based on a network disk application as an example, a user can view the latest files in the folder shared by the sharer in the following ways: For a scenario based on a network disk application sharing a link to a user or user group in other applications other than the network disk application, the user needs to actively view the time information when the file in the above-mentioned shared folder is operated, such as when the recorded upload (or creation) time is different from the modification (or editing) time, or when there are different modification (or editing) times, to confirm that the file has been updated. It can be seen that if the user does not perform the above-mentioned viewing operation, the quasi-real-time perception of the file update cannot be ensured. Obviously, for this scenario, the update processing scheme of this embodiment can determine the punctuality of the user's perception of the update, thereby improving the user's experience of perceived updates.
[0118] Step 2: Set index information corresponding to the update message; wherein the index information is associated with the subscription operation indicated by the target service identifier.
[0119] In an embodiment of the present disclosure, after the business management server promptly perceives the update status of the target object, index information corresponding to the current update status can be set so that the user can quickly and efficiently search through the index information associated with the subscription operation indicated by the target business identifier, thereby knowing the current update status.
[0120] In some optional implementations of the embodiments of the present disclosure, the above-mentioned subscription identifier can be associated through the following association steps: in response to a subscription operation for a target object, a subscription request is sent to a subscription management server; wherein the subscription request is used to trigger the subscription management server to initiate a marking request, and the marking request is used to trigger the storage management server to associate the subscription identifier with the target object; receiving a subscription response corresponding to the subscription request sent by the subscription management server; wherein the subscription response is used to indicate that the subscription identifier has been associated with the target object.
[0121] The above steps are intended to enable the executing entity of the update processing method to initiate a subscription request to the subscription management server in response to the subscription operation for the target object, so as to trigger the subscription management server to send a marking request to the storage management server, and through the subscription response sent by the subscription management server after receiving the marking result corresponding to the marking request fed back by the business management server, promptly know that the target object targeted by the current subscription operation has been successfully associated with the subscription identifier, thereby laying a foundation for the business management server side to promptly perceive the update status of the target object.
[0122] In some optional implementations of the embodiments of the present disclosure, the subscription operation for the target object may be triggered based on one of the following operations initiated on the service management server side:
[0123] (1) Sharing the target object in the form of a sharing link. By sharing the target object in the form of a sharing link, the party receiving the sharing link can obtain the target object based on the sharing link. The sharing link can at least include the current storage path information or sharing path information of the target object. The party receiving the sharing link can include a single user or a user group. At this time, the operation of sharing the target object in the form of a sharing link can be regarded as a sharing service.
[0124] (2) Sending the target object to a single user or user group. In this way, the sharing operation can be completed by directly sending the target object itself to a single user or user group. In this case, the operation of sending the target object to a single user or user group can be regarded as a sharing service.
[0125] In some embodiments, the target service identifier corresponding to the target object can refer to the identifier of the sharing service. Considering that the sharing service corresponds to the subscription operation for the target object, the subscription operation can be indicated by the target service identifier. Specifically, the sharing service corresponding to the target object can be accurately located based on the target service identifier corresponding to the target object, and further, based on the correspondence between the sharing service and the subscription operation, an association between the target service identifier and the subscription operation is established, so that when the sharing service corresponding to one of the above operations is implemented, the corresponding subscription operation is triggered based on the sharing service. At this time, the subscription operation can be indicated by the target service identifier, so that the service management server can initiate a subscription request to the subscription management server in response to the subscription operation, thereby triggering subsequent operations related to associating the subscription identifier for the target object. In some embodiments, the identifier of the sharing service can be determined based on the identifier (for example) of the shared end (user or user group) that receives the sharing service and the relevant information of the target object. Among them, the identifier of the shared end can include name, ID, QR code information, etc., and the relevant information of the target object can include the current storage path information (or sharing path information), name, ID, version information, etc. of the target object.
[0126] In the disclosed embodiments, when any of the aforementioned sharing operations is performed, the aforementioned subscription operation may be proactively triggered, thereby triggering the subscription management server to promptly send the aforementioned tagging request to the storage management server to obtain a corresponding tagging response. Specifically, the process of triggering the aforementioned subscription operation may include: when the sharing operation is performed, the service management server may be triggered to send a corresponding subscription request to the subscription management server, and the subscription management server may then send the aforementioned tagging request to the storage management server in response to the subscription request.
[0127] Taking the above-mentioned storage management server as a server corresponding to the cloud storage service type application based on storage management, the cloud storage service type application based on storage management is a network disk application, and the business management server as a server providing cloud storage service type application based on business management as an example for explanation, the business management server is used to provide cloud storage sharing services, wherein sharing the target object in the form of a sharing link specifically includes sending the target object in the form of a sharing link to users or user groups of one or more applications other than the network disk application (such as users or user groups in instant messaging applications, users or user groups in shopping consumption applications) to complete the sharing. Sending the target object to a single user or user group can specifically include sending the target object itself directly to a single user or user group in the network disk application to complete the sharing. In this way, a variety of sharing scenarios can be covered.
[0128] Please refer to Figure 5 , Figure 5 This is a flowchart of an update processing method provided in an embodiment of the present disclosure. The update processing method is applied to a file processing system including a storage management server, a subscription management server, and a service management server, wherein process 500 includes the following steps:
[0129] Step 501: In response to receiving an update operation for a target object, the storage management server determines whether the target object is associated with a subscription identifier, and in response to determining that the target object is associated with the subscription identifier, sends a notification message to the subscription management server.
[0130] Step 502: The subscription management server determines the target service identifier corresponding to the target object according to the received notification message, and sends an update message corresponding to the update operation and including the target service identifier to the service management server.
[0131] Step 503: The service management server determines, based on the received update message, that the target object corresponding to the target service identifier is updated.
[0132] The update processing method provided in this embodiment allows, upon receiving a notification message from a storage management server indicating that a target object is pre-associated with a subscription identifier based on an update operation on the target object, the subscription management server can proactively determine the target service identifier corresponding to the target object in response to the notification message, and then notify the service management server of the target service identifier by including it in an update message corresponding to the update operation. Thus, the subscription management server, acting as an interactive bridge between the service management server and the storage management server, can promptly determine the target service identifier corresponding to the target object upon receiving a notification from the storage management server indicating that the target object is associated with a subscription identifier. By promptly sending an update message containing the target service identifier to the service management server, the service management server can promptly perceive the update status of the target object corresponding to the corresponding update operation. Furthermore, the added subscription management server can filter the target service identifier, thereby reducing the computational complexity on the service management server side.
[0133] In some optional implementations of the embodiments of the present disclosure, the method further includes: a user terminal in the system initiating an update operation to the storage management server.
[0134] This embodiment exists as a method embodiment corresponding to the above method embodiment. The present disclosure provides a method embodiment applied to a system including a storage management server, a subscription management server, and a service management server. The specific definition of the relevant content in each step involved in this method embodiment can be referred to. Figures 2 to 4 The corresponding contents in the method embodiment shown are not repeated here.
[0135] To deepen understanding, this disclosure also provides a specific implementation solution in combination with a specific application scenario, see Figure 6a The frame diagram shown and Figure 6b The process shown.
[0136] In the cloud storage sharing scenario, it can be specifically a sharing scenario based on a network disk (such as personal cloud storage (PCS)). The network disk application is an online storage service launched by an Internet company. Users can use the network disk application to implement remote storage, reading and sharing of files. When implementing the update processing method of the embodiment of the present disclosure, at least the following can be included: Figure 6b The two processes shown are update process 6-1 and subscription process 6-2.
[0137] The update process 6-1 may include the following steps:
[0138] Step 6-1-1: The user who is the sharer in the sharing scenario based on the network disk application can use the user terminal to store the data stored on the PCS server (corresponding to Figures 2 to 5 After the files or folders in the storage management server in any embodiment are shared, an update operation for any object (corresponding to the storage management server in any embodiment) can be initiated to the PCS server. Figures 2 to 4 Corresponding to any embodiment of the update operation for the target object), such as Figure 6a The update shown in triggers the operation performed by the service module 601 to implement the update of the shared file or folder.
[0139] In some embodiments, the shared file can be Figure 6a The renaming operation (corresponding to Figures 2 to 4 The corresponding content of the change operation in any embodiment) is used to implement the corresponding naming update. The update operation on the file includes but is not limited to the renaming operation, and may also include other forms of changes, such as modifying the content of the file. In this case, the shared file is the target of the update operation.
[0140] In some embodiments, a shared folder may be opened by initiating Figure 6a The update triggering business module 601 shown in performs operations such as uploading, transferring, and moving. The upload operation may point to uploading new files and / or subfolders to the shared folder; in this case, the newly uploaded files and / or subfolders are the objects targeted by the update operation; the transfer operation may refer to transferring other files and / or folders in the PCS server other than the shared folder to the shared folder; in this case, the transferred other files and / or folders are the objects targeted by the update operation; the move operation may refer to moving files and / or subfolders in the shared folder to other locations in the PCS server other than the shared folder; the move operation may also refer to moving other files and / or folders outside the shared folder to the shared folder; in this case, the files and / or subfolders moved out of the shared folder are the objects targeted by the update operation. The relevant files or folders may be stored in a database associated with the PCS server (corresponding to Figure 6a As shown, it can be a data module 603 built based on the relational database management system MySQL and the cache service Cache).
[0141] Step 6-1-2: When the above update operation is triggered, the PCS server queries the database to see whether the object targeted by the update operation is marked, so as to achieve Figure 6aThe subscription-aware function shown is performed by the PCS module 602; wherein, the description of the object targeted by the update operation can be found in the relevant content of the above step 6-1-1, which will not be repeated here.
[0142] Whether the object targeted by the above update operation is marked (corresponding to Figures 2 to 4 In any corresponding embodiment, determining whether the target object is associated with content associated with the subscription identifier may include at least one of the following situations: (1) the object itself is marked; (2) the parent folder of the object is marked. Further, in situation (2), the object may not be marked.
[0143] When making a specific judgment, you can first determine whether the object itself is marked. If so, you can determine that the object has been marked; if not, you can call the storage directory tree corresponding to the database according to the PCS server, start from the child node corresponding to the object and traverse upward step by step until you find the parent node of the child node (that is, the parent folder of the object), and determine whether the parent folder of the object is marked. If so, you can determine that the object has been marked, otherwise it is determined that the object has not been marked. In this process, at most, you only need to make the above-mentioned judgment on whether the object and the parent folder of the object are marked. There is no need to judge the objects corresponding to all nodes in the storage directory tree, and you can quickly lock the object that triggers the subsequent steps of the update process 6-2. Specifically, the business server side does not need to subscribe to the update stream of the entire file, nor does it need to query the user for the update corresponding to each update stream whether the user shares the object targeted by the update, and find the sharing path if it is shared. It only needs to lock the associated user for the object associated with the successfully marked identifier, avoiding invalid processing of objects that have not been shared and objects that have not been marked, greatly reducing the overall computing power, and saving resources.
[0144] Step 6-1-3: The database returns the result of whether the object targeted by the above update operation is marked to the PCS server.
[0145] Furthermore, when the object targeted by the update operation is found to be marked, the query result (corresponding to Figures 2 to 4 The relevant content of the notification message in any corresponding embodiment).
[0146] The process of marking the object targeted by the update operation may refer to the process shown in subscription process 6-2. Specifically, subscription process 6-2 may include the following steps:
[0147] Step 6-2-1: After the user who is the sharer in the network disk application performs the sharing operation on the file or folder stored in the PCS server through his user terminal, he is deemed to have initiated the subscription operation for the shared file or folder, which may include the following: Figure 6a The external link subscription and group file subscription processed by the update awareness business module 606 are shown as follows, wherein the external link subscription may include a subscription operation triggered by a sharing operation of sending the above-mentioned file or folder in the form of a sharing link to a user or user group corresponding to an application other than the application that stores and manages the file or folder, and the group file subscription may include a subscription operation triggered by a sharing operation of sending the above-mentioned file or folder itself directly to a user or user group (corresponding to Figures 2 to 4 (corresponding to any embodiment of the subscription operation for the target object).
[0148] Step 6-2-2: The business server responds to the sharing operation that triggers the above subscription operation and sends a request to the file subscription server (corresponding to Figures 2 to 5 The subscription management server in any corresponding embodiment) sends a subscription request.
[0149] Step 6-2-3: The file subscription server sends a tagging request for the shared file or folder to the PCS server in response to the subscription request, so as to initiate the following steps: Figure 6a The subscription process from the file subscription service module 604 to the PCS module 602 (corresponding to Figures 2 to 4 In any corresponding embodiment, it is the relevant content of the subscription identifier associated with the target object).
[0150] Step 6-2-4: The PCS server responds to the tagging request and sets subscription information for the shared file or folder to achieve Figure 6a The PCS module 602 performs the subscription tag function shown in FIG. 6 and writes the setting result into the database for storage. The subscription information can be added to the summary information of the file or folder.
[0151] Step 6-2-5: After completing the above marking process, the PCS server returns the marking result to the file subscription server (corresponding to Figures 2 to 4 The relevant content of the marking response in any corresponding embodiment) is used to notify the file subscription server that the shared file or folder has been successfully marked.
[0152] Furthermore, the file subscription server can establish a correspondence between the successfully marked shared file or folder and the business corresponding to the above-mentioned sharing operation (corresponding Figures 2 to 4 In any corresponding embodiment, the corresponding content between the identification information of the object and the business identification is established to achieve Figure 6a The subscription status maintenance function performed by the file subscription service module 604 is shown to provide a query basis for the subsequent file subscription server to perform the query related content of the subscription status in step 6-1-5; wherein, when implementing the above subscription status maintenance function, the above correspondence established can be stored in Figure 6a In the data module 605 shown, which is constructed based on the relational database management system MySQL and the cache service Cache.
[0153] Step 6-2-6: After receiving the marking result, the file subscription server sends the result to the business server (corresponding to Figures 2 to 5 The service management server in any embodiment corresponding to the subscription result (corresponding to Figures 2 to 4 The corresponding content of the subscription response in any embodiment) is used to notify the business server that the shared file or folder has been successfully marked.
[0154] The query result may include identification information associated with the object targeted by the update operation. If the object itself is marked, the identification information associated with the object includes the object's ID; if the object itself is not marked and its parent folder is marked, the identification information associated with the object includes the ID of the object's parent folder.
[0155] Furthermore, the query result may also include an update result obtained after the above update operation is performed on the object, and the update result may at least include storage path information of the object after the above update operation is performed.
[0156] Step 6-1-4: PCS server sends a request to the file subscription server (corresponding to Figures 2 to 4 The subscription management server in any corresponding embodiment) returns the query result to notify the file subscription server of the update to achieve Figure 6a The functionality of update message delivery is shown as being performed by the PCS module 602 .
[0157] Step 6-1-5: The file subscription server responds to the received query result to implement Figure 6a The update message receiving function executed by the file subscription service module 604 is shown to further query the subscription status (corresponding to Figures 2 to 4 The corresponding content of determining the target business identifier in any embodiment) is to query the business currently matching the query result. Specifically, the business identifier that matches the identification information associated with the object targeted by the update operation contained in the query result can be determined based on the correspondence between the identification information of different objects and the identification of different businesses (corresponding to Figures 2 to 4 The relevant content of the target service identifier in any corresponding embodiment) is used to determine which services are associated with the update corresponding to the update operation.
[0158] Step 6-1-6: The file subscription server sends an update message to the business server to achieve Figure 6aThe update message delivery function executed by the file subscription service module 604 shown in FIG6-1-5 includes the business identifier (corresponding to the business identifier) determined in step 6-1-5. Figures 2 to 4 The relevant content of the update message in any corresponding embodiment).
[0159] Furthermore, the update message may also include an update result obtained after the above update operation is performed on the object. The update result may at least include storage path information of the object after the above update operation is performed.
[0160] Step 6-1-7: The service server performs service processing in response to the received update message.
[0161] Specifically, on the one hand, the business server can accurately locate the corresponding sharing business according to the identification of the above-mentioned business, and thus provide the receiving users associated with the sharing business (including single users and / or users in a user group, the user group can refer to the user group in the application related to the cloud storage service provided by the above-mentioned PCS server, or can refer to the user group in other applications other than the application related to the cloud storage service (such as instant messaging applications, etc.)). On the other hand, the business server can also establish index information corresponding to the object after the above-mentioned update operation is performed according to the identification of the above-mentioned business, and the index information is used for users to perform corresponding retrieval, which can achieve Figure 6a The group file search functionality is shown as being performed by the update-aware service module 606 .
[0162] The update processing solution of the disclosed embodiment adds an independent file update subscription layer and adds subscription information to the file summary information. When sharing, the business side requests the file update subscription service through the subscription interface. The file update subscription layer stores the business information (such as the sharing ID, etc.) to help reduce the subsequent calculation amount, and the file update processing service changes the subscription information to subscribed in the file summary information; when a file is updated, the file update processing service can check whether the file is subscribed, or traverse the summary information of its parent folder to query whether the parent folder is subscribed. If the file or its parent folder is subscribed, the relevant information of the updated file and the summary information of the subscribed file are pushed to the message queue; the file update subscription layer consumes the update information of the subscribed file in the message queue to query which business parties are currently subscribed to the update of the file, and pushes the relevant information of the updated file together with the queried business information to the business side. After receiving the update information, the business party can accurately locate the relevant business according to the business information and perform subsequent processing, such as update push, creation of retrieval index, etc. In this way, quasi-real-time update notifications can be achieved, thereby serving various sharing scenarios. Business parties and / or users can perceive relevant updates in a more real-time manner, while reducing the amount of computing required in the entire update perception process.
[0163] For subscription scenarios triggered by sharing links based on network disk applications, when a subscriber subscribes to updates of a shared link, the sharer updates the files in the shared folder. Through the update processing solution of the embodiment of the present disclosure, the file update information can be quickly pushed to the subscriber, helping the subscriber to quickly obtain the updated resources.
[0164] For subscription scenarios triggered by sharing in user groups of cloud disk applications, users can quickly check which shared resources in the current group have been updated, and can also search for the latest resources in the group in a timely manner.
[0165] Further references Figure 7 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an update processing device 700. Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various storage management servers.
[0166] like Figure 7As shown, the update processing apparatus 700 of the embodiment of the present disclosure may include: a first determining unit 701 and a first sending unit 702. The first determining unit 701 is specifically configured to, in response to receiving an update operation for a target object, determine whether the target object is associated with a subscription identifier; the first sending unit 702 is specifically configured to, in response to determining that the target object is associated with a subscription identifier, send a notification message to a subscription management server; the notification message is used to trigger the subscription management server to determine a target service identifier corresponding to the target object, and to send an update message corresponding to the update operation and including the target service identifier to the service management server.
[0167] In the embodiment of the present disclosure, in the update processing device 700, the specific processing of the first determining unit 701 and the first sending unit 702 and the technical effects thereof can be referred to respectively. Figure 2 The relevant descriptions of steps 201-202 in the corresponding embodiment are not repeated here.
[0168] In some optional implementations of the embodiments of the present disclosure, the target object includes a target file or a target folder.
[0169] In some optional implementations of the embodiments of the present disclosure, the target object being associated with a subscription identifier includes at least one of the following: the target object's summary information includes the subscription identifier; the target object's parent folder's summary information includes the subscription identifier.
[0170] In some optional implementations of the embodiments of the present disclosure, the update processing apparatus 700 further includes: a first receiving unit 703 and an associating unit 704. The first receiving unit 703 is specifically configured to receive a tagging request initiated by a subscription management server; the tagging request is generated based on a subscription operation for a target object; and the associating unit 704 is specifically configured to associate a subscription identifier with the target object according to the tagging request.
[0171] In some optional implementations of the embodiments of the present disclosure, the first sending unit 702 is further configured to: send a marking response corresponding to the marking request to the subscription management server; wherein the marking response is used to indicate that a subscription identifier has been associated with the target object.
[0172] In some optional implementations of the disclosed embodiments, the update processing apparatus 700 further includes an update unit 705. The update unit 705 is specifically configured to update the target object according to an update operation, wherein the update operation includes at least one of the following: a modification operation, a new addition operation, and a deletion operation.
[0173] This embodiment exists as an apparatus embodiment corresponding to the above-described method embodiment. The update processing apparatus provided in this disclosed embodiment, upon determining, based on an update operation on a target object, that the target object is pre-associated with a subscription identifier, can proactively trigger the determination of the target service identifier corresponding to the target object by sending a notification message to the subscription management server. This in turn triggers the subscription management server to include the target service identifier in an update message corresponding to the update operation, notifying the service management server. In this manner, the storage management server can promptly respond to the update operation on the target object to determine whether the target object is associated with a subscription identifier. If so, the storage management server can promptly trigger a subscription management server located between the storage management server and the service management server to proactively determine the target service identifier corresponding to the target object. Furthermore, the subscription management server can promptly send an update message containing the target service identifier to the service management server, enabling the service management server to promptly detect updates to the target object corresponding to the corresponding update operation. Furthermore, the additional subscription management server can filter the target service identifier, reducing the computational complexity on the service management server side.
[0174] Further references Figure 8 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an update processing device 800. Figure 3 Corresponding to the method embodiment shown, the device can be specifically applied to various subscription management servers.
[0175] like Figure 8 As shown, the update processing device 800 of the embodiment of the present disclosure may include: a second receiving unit 801, a second determining unit 802, and a second sending unit 803. The second receiving unit 801 is configured to receive a notification message sent by a storage management server; wherein the notification message is sent by the storage management server in response to receiving an update operation for a target object and determining that the target object is associated with a subscription identifier; the second determining unit 802 is configured to determine a target service identifier corresponding to the target object based on the notification message; and the second sending unit 803 is configured to send an update message corresponding to the update operation and including the target service identifier to the service management server.
[0176] In the disclosed embodiment, the update processing device 800 includes the second receiving unit 801, the second determining unit 802, and the second sending unit 803. The specific processing and technical effects thereof can be referred to in the respective Figure 3 The relevant descriptions of steps 301-302 in the corresponding embodiment are not repeated here.
[0177] In some optional implementations of the disclosed embodiment, the target object includes a target file or a target folder.
[0178] In some optional implementations of the disclosed embodiment, the target object being associated with a subscription identifier includes at least one of the following: summary information of the target object includes the subscription identifier; summary information of a parent folder of the target object includes the subscription identifier.
[0179] In some optional implementations of the disclosed embodiment, the above-mentioned notification message includes at least one of the identification information of the target object and the identification information of the parent folder of the target object; and the above-mentioned second determination unit 802 is specifically configured to: determine the target business identification that matches at least one of the identification information of the target object and the identification information of the parent folder of the target object based on the correspondence between different identification information and different business identifications.
[0180] In some optional implementations of the disclosed embodiment, the update processing device 800 further includes: a third sending unit 804 and an establishing unit 805. The third sending unit 804 is specifically configured to, in response to receiving a subscription request sent by the service management server, initiate a tagging request to the storage management server; wherein the subscription request is generated by the service management server based on a subscription operation for a target object, and the tagging request is used to trigger the storage management server to associate a subscription identifier with the target object; and the establishing unit 805 is specifically configured to, in response to receiving a tagging response corresponding to the tagging request, establish a correspondence between the target service identifier and the identification information of the target object; wherein the target service identifier is used to indicate a subscription operation, and the tagging response is used to indicate that the storage management server has associated the subscription identifier with the target object.
[0181] In some optional implementations of the disclosed embodiment, the second sending unit 803 is further configured to: send a subscription response corresponding to the subscription request to the service management server; wherein the subscription response is used to indicate that the subscription identifier has been associated with the target object.
[0182] This embodiment exists as an apparatus embodiment corresponding to the above-mentioned method embodiment. The update processing apparatus provided by the disclosed embodiment can, upon receiving a notification message sent by a storage management server when determining that a target object is pre-associated with a subscription identifier based on an update operation on a target object, proactively determine the target service identifier corresponding to the target object in response to the notification message, and then notify the service management server of the target service identifier by including it in an update message corresponding to the update operation. In this way, the subscription management server, acting as an interactive bridge between the service management server and the storage management server, can promptly determine the target service identifier corresponding to the target object upon receiving a notification sent by the storage management server that indicates that a target object is associated with a subscription identifier, and promptly send an update message containing the target service identifier to the service management server, so that the service management server can promptly perceive the update status of the target object corresponding to the corresponding update operation. At the same time, the additional subscription management server can implement the screening of the target service identifier, which can reduce the computational complexity on the service management server side.
[0183] Further references Figure 9 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an update processing device 900. Figure 4 Corresponding to the method embodiment shown, the device can be specifically applied to various business management servers.
[0184] As shown in Figure 9, the update processing apparatus 900 of the embodiment of the present disclosure may include: a third receiving unit 901 and a processing unit 902. The third receiving unit 901 is specifically configured to receive an update message including a target service identifier sent by a subscription management server; wherein the target service identifier corresponds to a target object associated with a subscription identifier, and the update message corresponds to an update operation on the target object; and the processing unit 902 is specifically configured to determine, based on the update message, that the target object corresponding to the target service identifier is updated.
[0185] In the embodiment of the present disclosure, in the update processing device 900, the specific processing of the third receiving unit 901 and the processing unit 902 and the technical effects thereof can be referred to respectively. Figure 4 The relevant descriptions of steps 401-402 in the corresponding embodiment are not repeated here.
[0186] In some optional implementations of the embodiments of the present disclosure, the target object includes a target file or a target folder.
[0187] In some optional implementations of the embodiments of the present disclosure, the above-mentioned processing unit 902 is also configured to perform at least one of the following: push an update message to the user associated with the target business identifier; set index information corresponding to the update message; wherein the index information is associated with the subscription operation indicated by the target business identifier.
[0188] In some optional implementations of the embodiments of the present disclosure, the target object being associated with a subscription identifier includes at least one of the following: the target object's summary information includes the subscription identifier; the target object's parent folder's summary information includes the subscription identifier.
[0189] In some optional implementations of the embodiments of the present disclosure, the update processing apparatus further includes: a fourth sending unit 903. The fourth sending unit 903 is specifically configured to, in response to a subscription operation for a target object, send a subscription request to a subscription management server; the subscription request is used to trigger the subscription management server to initiate a tagging request, and the tagging request is used to trigger the storage management server to associate a subscription identifier with the target object; and the third receiving unit 901 is further configured to receive a subscription response corresponding to the subscription request, sent by the subscription management server; the subscription response is used to indicate that the subscription identifier has been associated with the target object.
[0190] In some optional implementations of the embodiments of the present disclosure, the subscription operation is triggered based on one of the following: sharing the target object in the form of a sharing link; sending the target object to a single user or a user group.
[0191] This embodiment exists as an apparatus embodiment corresponding to the above-mentioned method embodiment. The update processing apparatus provided by the disclosed embodiment can promptly know that the target object has been updated upon receiving an update message containing the target business identifier sent by the subscription management server in response to determining the target business identifier corresponding to the target object, when the target object is determined to be pre-associated with a subscription identifier based on an update operation on the target object. In this way, the business management server can promptly perceive the update status of the target object corresponding to the corresponding update operation. At the same time, the added subscription management server can implement screening of the target business identifier, which can reduce the amount of calculation on the business management server side.
[0192] Further references Figure 10 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an update processing system 1000. Figures 2 to 5 The method embodiment shown corresponds to the embodiment shown.
[0193] As shown in Figure 10, the update processing system 1000 of this embodiment may include: a storage management server 1001, a subscription management server 1002, and a service management server 1003. The storage management server 1001 is specifically configured to, in response to receiving an update operation for a target object, determine whether the target object is associated with a subscription identifier, and, in response to determining that the target object is associated with the subscription identifier, send a notification message to the subscription management server 1002; the subscription management server 1002 is specifically configured to determine, based on the received notification message, a target service identifier corresponding to the target object, and send an update message corresponding to the update operation and including the target service identifier to the service management server 1003; and the service management server 1003 is configured to determine, based on the received update message, that the target object corresponding to the target service identifier is updated.
[0194] In the update processing system 1000 provided in this embodiment, upon receiving a notification message from the storage management server 1001 indicating that a target object has been pre-associated with a subscription identifier based on an update operation on the target object, the subscription management server 1002 can proactively determine the target service identifier corresponding to the target object in response to the notification message, and then include the target service identifier in an update message corresponding to the update operation and notify the service management server 1003. In this way, the subscription management server 1002, acting as an interface between the service management server 1003 and the storage management server 1001, can promptly determine the target service identifier corresponding to the target object upon receiving a notification from the storage management server 1001 indicating that the target object has been pre-associated with a subscription identifier. By promptly sending an update message containing the target service identifier to the service management server 1003, the service management server 1003 can promptly perceive the update status corresponding to the target object in response to the corresponding update operation. Furthermore, the added subscription management server 1002 can filter the target service identifier, thereby reducing the computational complexity on the service management server 1003 side.
[0195] In this embodiment, in the update processing system 1000: the storage management server 1001 (corresponding to Figure 1 Server 105 shown), subscription management server 1002 (corresponding to Figure 1 Server 106 shown), business management server 1003 (corresponding to Figure 1 The specific processing of the server 107 shown and the technical effects thereof can be referred to respectively. Figures 2 to 5 The relevant descriptions of the corresponding steps in the corresponding embodiments are not repeated here.
[0196] In some optional implementations of this embodiment, the update processing system 1000 further includes a user terminal 1004 (corresponding to Figure 1The terminal devices 101, 102, 103 shown in FIG, the user terminal 1004 is specifically configured to initiate an update operation to the storage management server 1001.
[0197] In some optional implementations of this embodiment, the update processing system 1000 may specifically be a file processing system.
[0198] According to an embodiment of the present disclosure, the present disclosure also provides a server, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the update processing method described in any of the above embodiments can be implemented when the at least one processor executes them.
[0199] According to an embodiment of the present disclosure, the present disclosure further provides a readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to implement the update processing method described in any of the above embodiments when executed.
[0200] According to an embodiment of the present disclosure, the present disclosure further provides a computer program product, which, when executed by a processor, can implement the update processing method described in any of the above embodiments.
[0201] Figure 11 A schematic block diagram of an example electronic device 1100 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are provided as examples only and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0202] like Figure 11 As shown, the electronic device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1102 or a computer program loaded from a storage unit 1108 into a random access memory (RAM) 1103. Various programs and data required for the operation of the device 1100 can also be stored in the RAM 1103. The computing unit 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0203] Various components in device 1100 are connected to I / O interface 1105, including an input unit 1106, such as a keyboard and mouse; an output unit 1107, such as various types of displays and speakers; a storage unit 1108, such as a magnetic disk and optical disk; and a communication unit 1109, such as a network card, a modem, a wireless communication transceiver, etc. Communication unit 1109 allows device 1100 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0204] The computing unit 1101 can be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1101 performs the various methods and processes described above, such as the update processing method. For example, in some embodiments, the update processing method can be implemented as a computer software program that is tangibly contained in a machine-readable medium, such as the storage unit 1108. In some embodiments, part or all of the computer program can be loaded and / or installed on the device 1100 via the ROM 1102 and / or the communication unit 1109. When the computer program is loaded into the RAM 1003 and executed by the computing unit 1101, one or more steps of the update processing method described above can be performed. Alternatively, in other embodiments, the computing unit 1101 can be configured to perform the update processing method by any other appropriate means (e.g., by means of firmware).
[0205] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0206] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0207] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0208] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0209] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.
[0210] A computer system may include a client and a server. The client and server are generally remote from each other and typically interact via a communication network. This client-server relationship is established by computer programs running on the respective computers, establishing a client-server relationship. The server may be a cloud server, a server in a distributed system, or a server integrated with a blockchain. A cloud server, also known as a cloud computing server or cloud host, is a host product within the cloud computing service ecosystem. It addresses the management difficulties and poor scalability of traditional physical hosts and virtual private server (VPS) services.
[0211] According to the technical solution of the embodiments of the present disclosure, if an update operation on a target object determines that the target object is pre-associated with a subscription identifier, the target service identifier corresponding to the target object can be proactively determined, and then the target service identifier can be included in the update message corresponding to the update operation for notification. This allows the notified party to promptly perceive the update status of the target object.
[0212] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved. This is not a limitation herein.
[0213] The above specific embodiments do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure shall be included within the scope of protection of this disclosure.
Claims
1. An update processing method, applied to a storage management server, comprising: In response to receiving an update operation for a target object, determining whether the target object is associated with a subscription identifier, the target object including a target file or a target folder; In response to determining that the target object is associated with a subscription identifier, a notification message is sent to the subscription management server, and the target object is associated with a subscription identifier including at least one of the following: the summary information of the target object includes the subscription identifier; the summary information of the parent folder of the target object includes the subscription identifier; wherein the notification message is used to trigger the subscription management server to determine the target business identifier corresponding to the target object, and send an update message corresponding to the update operation containing the target business identifier to the business management server, and the target business identifier is used to indicate the subscription operation for the target object.
2. The method according to claim 1, wherein The subscription identifiers are associated through the following association steps: receiving a marking request initiated by the subscription management server; wherein the marking request is generated based on the subscription operation; A subscription identifier is associated with the target object according to the tagging request.
3. The method according to claim 2, wherein the associating step further comprises: Sending a tagging response corresponding to the tagging request to the subscription management server; wherein the tagging response is used to indicate that a subscription identifier has been associated with the target object.
4. The method according to any one of claims 1 to 3, further comprising: The target object is updated according to the update operation; wherein the update operation includes at least one of the following: a change operation, a new addition operation, and a deletion operation.
5. An update processing method, applied to a subscription management server, comprising: Receiving a notification message sent by a storage management server; wherein the notification message is sent by the storage management server in response to receiving an update operation for a target object and determining that the target object is associated with a subscription identifier, the target object includes a target file or a target folder, and the subscription identifier associated with the target object includes at least one of the following: summary information of the target object includes the subscription identifier; summary information of a parent folder of the target object includes the subscription identifier; The target service identifier corresponding to the target object is determined according to the notification message, and an update message corresponding to the update operation and including the target service identifier is sent to the service management server, where the target service identifier is used to indicate a subscription operation for the target object.
6. The method according to claim 5, wherein: The notification message includes at least one of identification information of the target object and identification information of a parent folder of the target object; The determining, according to the notification message, a target service identifier associated with the target object includes: According to the correspondence between different identification information and different service identifiers, the target service identifier that matches at least one of the identification information of the target object and the identification information of the parent folder of the target object is determined.
7. The method according to claim 6, wherein: The subscription identifiers are associated through the following association steps: In response to receiving a subscription request sent by the service management server, initiating a tagging request to the storage management server; wherein the subscription request is generated by the service management server based on the subscription operation, and the tagging request is used to trigger the storage management server to associate a subscription identifier with the target object; In response to a received tagging response corresponding to the tagging request, a correspondence between the target service identifier and the identification information of the target object is established; wherein the tagging response is used to indicate that the storage management server has associated a subscription identifier with the target object.
8. The method according to claim 7, wherein the associating step further comprises: A subscription response corresponding to the subscription request is sent to the service management server; wherein the subscription response is used to indicate that a subscription identifier has been associated with the target object.
9. An update processing method, applied to a service management server, comprising: Receive an update message including a target service identifier sent by a subscription management server; wherein the target service identifier corresponds to a target object associated with a subscription identifier, the update message corresponds to an update operation on the target object, the target object includes a target file or a target folder, the target service identifier is used to indicate a subscription operation on the target object, and the subscription identifier associated with the target object includes at least one of the following: summary information of the target object includes the subscription identifier; summary information of a parent folder of the target object includes the subscription identifier; According to the update message, it is determined that the target object corresponding to the target service identifier is updated.
10. The method according to claim 9, further comprising at least one of the following: Pushing the update message to the user associated with the target service identifier; Set the index information corresponding to the update message; wherein, The index information is associated with the subscription operation.
11. The method according to claim 9, wherein The subscription identifiers are associated through the following association steps: In response to the subscription operation, sending a subscription request to the subscription management server; wherein the subscription request is used to trigger the subscription management server to initiate a tagging request, and the tagging request is used to trigger the storage management server to associate a subscription identifier with the target object; A subscription response corresponding to the subscription request and sent by the subscription management server is received; wherein the subscription response is used to indicate that a subscription identifier has been associated with the target object.
12. The method according to claim 11, wherein The subscription operation is triggered based on one of the following: Sharing the target object in the form of a sharing link; Send the target object to a single user or a group of users.
13. An update processing method, wherein: The method is applied to a file processing system including a storage management server, a subscription management server, and a service management server, and includes: The storage management server, in response to receiving an update operation for a target object, determines whether the target object is associated with a subscription identifier, and in response to determining that the target object is associated with the subscription identifier, sends a notification message to the subscription management server, wherein the target object includes a target file or a target folder, and the target object being associated with a subscription identifier includes at least one of the following: summary information of the target object includes the subscription identifier; summary information of a parent folder of the target object includes the subscription identifier; The subscription management server determines a target service identifier corresponding to the target object according to the received notification message, and sends an update message corresponding to the update operation and including the target service identifier to the service management server, where the target service identifier is used to indicate a subscription operation for the target object; The service management server determines, according to the received update message, that the target object corresponding to the target service identifier is updated.
14. An update processing device, applied to a storage management server, comprising: a first determining unit configured to, in response to receiving an update operation for a target object, determine whether the target object is associated with a subscription identifier, the target object including a target file or a target folder; The first sending unit is configured to send a notification message to the subscription management server in response to determining that the target object is associated with a subscription identifier, where the target object is associated with a subscription identifier including at least one of the following: the summary information of the target object includes the subscription identifier; the summary information of the parent folder of the target object includes the subscription identifier; wherein the notification message is used to trigger the subscription management server to determine the target business identifier corresponding to the target object, and send an update message corresponding to the update operation containing the target business identifier to the business management server, where the target business identifier is used to indicate a subscription operation for the target object.
15. The device according to claim 14, wherein The device further comprises: A first receiving unit is configured to receive a marking request initiated by the subscription management server; wherein the marking request is generated based on the subscription operation; and An associating unit is configured to associate a subscription identifier with the target object according to the marking request.
16. The device according to claim 15, wherein The first sending unit is further configured to: Sending a tagging response corresponding to the tagging request to the subscription management server; wherein the tagging response is used to indicate that a subscription identifier has been associated with the target object.
17. The apparatus according to any one of claims 14 to 16, further comprising: The updating unit is configured to update the target object according to the updating operation; wherein the updating operation includes at least one of the following: a modification operation, a new addition operation, and a deletion operation.
18. An update processing device, applied to a subscription management server, comprising: The second receiving unit is configured to receive a notification message sent by the storage management server; wherein the notification message is sent by the storage management server in response to receiving an update operation for a target object and determining that the target object is associated with a subscription identifier, the target object includes a target file or a target folder, and the subscription identifier associated with the target object includes at least one of the following: summary information of the target object includes the subscription identifier; summary information of a parent folder of the target object includes the subscription identifier; A second determining unit is configured to determine a target service identifier corresponding to the target object according to the notification message, where the target service identifier is used to indicate a subscription operation for the target object; The second sending unit is configured to send an update message corresponding to the update operation and including the target service identifier to the service management server.
19. The device according to claim 18, wherein The notification message includes at least one of identification information of the target object and identification information of a parent folder of the target object; The second determining unit is specifically configured to: According to the correspondence between different identification information and different service identifiers, the target service identifier that matches at least one of the identification information of the target object and the identification information of the parent folder of the target object is determined.
20. The apparatus according to claim 19, further comprising: a third sending unit configured to, in response to receiving a subscription request sent by the service management server, initiate a tagging request to the storage management server; wherein the subscription request is generated by the service management server based on the subscription operation, and the tagging request is used to trigger the storage management server to associate a subscription identifier with the target object; An establishing unit is configured to establish a correspondence between the target business identifier and the identification information of the target object in response to a received marking response corresponding to the marking request; wherein the marking response is used to indicate that the storage management server has associated a subscription identifier with the target object.
21. The device according to claim 20, wherein The second sending unit is further configured to: A subscription response corresponding to the subscription request is sent to the service management server; wherein the subscription response is used to indicate that a subscription identifier has been associated with the target object.
22. An update processing device, applied to a service management server, comprising: A third receiving unit is configured to receive an update message including a target service identifier sent by a subscription management server; wherein the target service identifier corresponds to a target object associated with a subscription identifier, the update message corresponds to an update operation on the target object, the target object includes a target file or a target folder, the target service identifier is used to indicate a subscription operation on the target object, and the subscription identifier associated with the target object includes at least one of the following: summary information of the target object includes the subscription identifier; summary information of a parent folder of the target object includes the subscription identifier; The processing unit is configured to determine, according to the update message, that the target object corresponding to the target service identifier is updated.
23. The apparatus according to claim 22, wherein the processing unit is further configured to perform at least one of the following: Pushing the update message to the user associated with the target service identifier; Set the index information corresponding to the update message; wherein, The index information is associated with the subscription operation.
24. The apparatus according to claim 22, further comprising: a fourth sending unit, configured to send a subscription request to the subscription management server in response to a subscription operation for the target object; wherein the subscription request is used to trigger the subscription management server to initiate a tagging request, and the tagging request is used to trigger the storage management server to associate a subscription identifier with the target object; and The third receiving unit is further configured to receive a subscription response corresponding to the subscription request and sent by the subscription management server; wherein the subscription response is used to indicate that a subscription identifier has been associated with the target object.
25. The apparatus according to claim 24, wherein The subscription operation is triggered based on one of the following: Sharing the target object in the form of a sharing link; Send the target object to a single user or a group of users.
26. An update processing system comprising: The storage management server is configured to, in response to receiving an update operation for a target object, determine whether the target object is associated with a subscription identifier, and, in response to determining that the target object is associated with the subscription identifier, send a notification message to a subscription management server, wherein the target object includes a target file or a target folder, and the target object being associated with the subscription identifier includes at least one of the following: summary information of the target object includes the subscription identifier; summary information of a parent folder of the target object includes the subscription identifier; a subscription management server configured to determine a target service identifier corresponding to the target object based on the received notification message, and send an update message corresponding to the update operation and including the target service identifier to the service management server, wherein the target service identifier is used to indicate a subscription operation for the target object; The service management server is configured to determine, based on the received update message, that the target object corresponding to the target service identifier is updated.
27. The system of claim 26, wherein: The system further includes a user terminal configured to initiate the update operation to the storage management server.
28. A server comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the update processing method executed by the storage management server as described in any one of claims 1-4, or execute the update processing method executed by the subscription management server as described in any one of claims 5-8, or execute the update processing method executed by the business management server as described in any one of claims 9-12.
29. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the update processing method executed by the storage management server as described in any one of claims 1-4, or the update processing method executed by the subscription management server as described in any one of claims 5-8, or the update processing method executed by the business management server as described in any one of claims 9-12.
30. A computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the update processing method performed by the storage management server according to any one of claims 1-4, or implements the steps of the update processing method performed by the subscription management server according to any one of claims 5-8, or implements the steps of the update processing method performed by the business management server according to any one of claims 9-12.
Citation Information
Patent Citations
Data updating method, apparatus and system
CN109284305A
Message processing method and system and medium
CN113973094A