Update processing method, device, server, system, medium and program product
By utilizing subscription identification and notification message mechanisms in cloud storage sharing scenarios, the storage management server, subscription management server and business management server that work together realize real-time perception of file updates and reduce the amount of calculation, solving the problem of file updates in cloud storage. The problem of not real-time perception and excessive calculation amount.
Patent Information
- Application Number
- CN202410683548.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-05-29
AI Technical Summary
In cloud storage sharing scenarios, existing technologies are difficult to ensure real-time awareness of file updates and effectively reduce the amount of computing on the business service side, especially in large-scale file update flows, resulting in a waste of resources and excessive computing.
Through the collaborative work between the storage management server, subscription management server and business management server, the subscription identification and notification message mechanism are used to realize timely perception of the update status of the target object, and the target business identification is filtered through the subscription management server to reduce business management The computing power of the server.
It ensures quasi-real-time perception of file updates, reduces the amount of calculation on the business service side, improves resource utilization, and avoids ineffective processing and resource waste.
Smart Images

Figure CN118585220A
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 developed rapidly and become popular. Through this cloud storage service, users can remotely store, download, read, share, and update files, thus greatly improving the convenience and access flexibility of data. Summary of the invention
[0003] The embodiments of the present disclosure provide an update processing method, device, 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 realize 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 the 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 a target business identifier corresponding to the target object based on the notification message, and sending an update message corresponding to the update operation including 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; based on 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 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.
[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 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; a second determination unit, configured to determine a 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 and containing 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 a target object, and in response to determining that the target object is associated with the subscription identifier, send a notification message to a subscription management server; the subscription management server, configured to determine a 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 when the at least one processor executes, it can implement the update processing method described in any implementation method of the first to third aspects.
[0013] In the 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 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 by an embodiment of the present disclosure;
[0021] Figure 5 A flowchart of another update processing method provided by 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 by an embodiment of the present disclosure;
[0025] Figure 8 A structural block diagram of another update processing device provided by an embodiment of the present disclosure;
[0026] Fig. 9 A structural block diagram of another update processing device provided in an embodiment of the present disclosure;
[0027] Fig.10 A structural block diagram of an update processing system provided by an embodiment of the present disclosure;
[0028] Fig.11 A schematic diagram of the structure of an electronic device suitable for executing an update processing method provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0029] The following is a description of exemplary embodiments of the present disclosure 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 of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for 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 may be combined with each other without conflict.
[0030] It should be pointed out that in the technical solution of the present invention, 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, comply with the 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, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and servers 105, 106, 107. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105, and between the server 105, the server 106, and the server 107. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc. In the embodiment of the present disclosure, the server 105 may be a storage management server 105, the server 106 may be a subscription management server 106, and the server 107 may be a service management server 107.
[0033] Users can use terminal devices 101, 102, 103 to interact with the storage management server 105, subscription management server 106, and business management server 107 through network 104 to receive or send messages, etc. Various applications for realizing information communication between the terminal devices 101, 102, 103 and the storage management server 105, subscription management server 106, and business management server 107 can be installed, such as cloud storage service applications, shopping consumption applications, instant messaging applications, etc.
[0034] The terminal devices 101, 102, 103 and the storage management server 105, the subscription management server 106, and the 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 smart phones, 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 no specific limitation is made here. When the storage management server 105, the subscription management server 106, and the business management server 107 are hardware, they can be implemented as a distributed server cluster composed 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 no specific limitation is made 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 that the target object is pre-associated with a subscription identifier based on an update operation on the target object, the subscription management server 106 can be actively triggered to determine 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 the subscription identifier by promptly responding to the update operation on the target object, and if it is determined to be so, 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 business management server 107 side.
[0036] The subscription management server 106 can provide various services through various built-in applications. Taking the ability to provide cloud storage service-related applications based on subscription management as an example, the subscription management server 106 can achieve the following effects when running the cloud storage service-related applications based on subscription management: upon receiving a 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, the subscription management server 106 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 receiving the notification sent by the storage management server 105 that can characterize 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 that is pre-associated, the business management server 107 can promptly learn 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 determining 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 amount of calculation 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 only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[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, determining 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 whether the target object is pre-associated with a subscription identifier in response to the update operation. The target object may refer to a single object or multiple objects, and the number of target objects is not specifically limited here.
[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 represents that the target object is associated with a subscription identifier, and in response to the value of the subscription identifier being "0", it represents that the target object is not associated with the 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 "unassociated" 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 in the figure determines the target service identifier corresponding to the target object, and sends an update message corresponding to the update operation and 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 the figure 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 embodiment 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, actively trigger the determination of the target business 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 business identifier in the update message corresponding to the update operation and notify the business management server. In this way, the storage management server can determine whether the target object is associated with the subscription identifier by timely responding to the update operation on the target object, and when it is determined to be yes, timely trigger the subscription management server set between it and the business management server to actively determine the target business identifier corresponding to the target object, and further enable the subscription management server to send an update message containing the target business identifier to the business management server in a timely manner, so that the business management server can timely perceive the update status of the target object corresponding to the corresponding update operation, and at the same time, the additional subscription management server can realize the screening of the target business identifier, that is, there is no need for the business management server to screen the business targeted by the update, which can reduce the calculation amount of the business management server.
[0047] 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 the scenario of sharing in a user group of a 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 items). 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 files have been shared. Then, the corresponding file update information is pushed to the user who received the sharing. The overall computational workload is very large, and the quasi-real-time perception of file updates cannot be ensured. Obviously, for this scenario, the update processing scheme 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 embodiments of the present disclosure, 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. In this way, at least the business management side can be aware of the update status of 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 summary information of the target object includes the subscription identifier. It can be understood that when the summary information of the target object itself includes the subscription identifier, it can be determined that the target object is associated with the subscription identifier.
[0051] (2) The summary information of the parent folder of the target object includes a subscription identifier. It can be understood that when the summary information of the parent folder of the target object includes a subscription identifier, the target object can also be deemed to be associated with the subscription identifier, so as to avoid the situation where a corresponding update is performed on the target object but an update notification cannot be triggered, thereby ensuring the reliability of the update notification.
[0052] Through this solution, the scenarios of target objects being associated with subscription identifiers 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 summary information of the target object 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 summary information of the target object includes the subscription identifier, if it is included, it can be directly determined that the target object is associated with the subscription identifier; if it is not included, the parent folder of the target object can be further searched to determine whether the summary information of the parent folder includes the subscription identifier, if it is included, it can also be directly determined that the target object is associated with the subscription identifier, otherwise it is determined that the target object is not associated with the subscription identifier. Among them, in the case where the summary information of the parent folder of the target object 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 recorded 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 in FIG. 105 , after receiving an update operation for a target object, performs an update on the target object corresponding to the update operation, 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 and 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 above 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 the above 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 the 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 files and / or subfolders already existing 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, the new operation for the target folder in the network disk application includes not only the operation of uploading files and / or subfolders not stored in the network disk application to the target folder, but also 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 includes not only the operation of completely deleting the files or subfolders stored in the target folder from the network disk application, but also the operation of 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 update operation on the target object can be performed by the user who created the target object or by the user who has the operation authority for the target object through a user terminal (e.g. Figure 1 The process is 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 can also be sent to the subscription management server; wherein the update result can 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 can be notified to the subscription management server as part of the update result. (2) the description 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 can 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 include a step of establishing a corresponding association between the target object and the subscription identifier before the execution subject of the update processing method receives an update operation for the target object. Specifically, the association step can be triggered based on a tagging request initiated by the received subscription management server, and the subscription identifier is associated with the target object in response to the tagging request. In this way, the subsequent storage management server can send a notification message to the subscription management server to actively trigger the subscription management server to determine the target business identifier corresponding to the target object, thereby triggering the subscription management server to include the target business identifier in the update message corresponding to the update operation and notify the business management server, thereby providing an implementation basis for ensuring that the business management server can timely perceive the implementation reliability of the update status of 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 contents:
[0065] A tag response corresponding to the tag request is sent to the subscription management server; wherein the tag 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 tag result corresponding to the tag request through the tag response, so that the subscription management server can perform subsequent operations based on the successful tag 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 may specifically include a 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 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 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 limitations, please refer to Figure 3 The relevant descriptions in the corresponding embodiments are not repeated here.
[0066] 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: sharing the target object in the form of a sharing link; sending the target object to a single user or a user group. For specific restrictions on the subscription operation, see 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 between the subscription identifier and the identification information of the target object can be established; 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 between the subscription identifier and the identification information of the parent folder of the target object can be established.
[0070] In some optional implementations of the embodiments of the present disclosure, the summary information of the target object may also include at least one of the name, overview information, and sharing path information of the target object. The overview information of the target object may be used to represent an introduction to the content contained in the target object, and the sharing path information of the target object may be used to represent a storage path that can be used to obtain the target object.
[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 the figure receives a notification message sent 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 notification message is used to trigger the subscription management server to determine the target service identifier corresponding to the target object and send it to the service management server (for example Figure 1 The server 107 shown in FIG. 100 sends an update message containing the target service identifier and corresponding to the update operation. 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.
[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] In the update processing method provided by the embodiment of the present disclosure, 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, the subscription management server 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. In this way, the subscription management server, as an interactive bridge between the business management server and the storage management server, can promptly determine the target business identifier corresponding to the target object when receiving a notification sent by the storage management server that can characterize that the target object is associated with a subscription identifier, and promptly send an update message containing the target business identifier to the business management server, so that the business management server can promptly perceive the update status of the target object corresponding to the corresponding update operation, and at the same time, the additional subscription management server can realize 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 represents that the target object is associated with a subscription identifier, and in response to the value of the subscription identifier being "0", it represents that the target object is not associated with the 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 "unassociated" 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 embodiments of the present disclosure, 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. In this way, at least the business management side can be aware of the update status of 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 summary information of the target object includes the subscription identifier. It can be understood that when the summary information of the target object itself includes the subscription identifier, it can be determined that the target object is associated with the subscription identifier.
[0082] (2) The summary information of the parent folder of the target object includes a subscription identifier. It can be understood that when the summary information of the parent folder of the target object includes a subscription identifier, the target object can also be deemed to be associated with the subscription identifier, so as to avoid the situation where a corresponding update is performed on the target object but an update notification cannot be triggered, thereby ensuring the reliability of the update notification.
[0083] Through this solution, the scenarios of target objects being associated with subscription identifiers 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 target object's parent folder's summary information 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 is 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 target object's own summary information 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 according to 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 can be ensured that the target business identifier that matches at least one of the identification information of the above-mentioned 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 embodiments of the present disclosure, the identification information of the target object (such as the ID of the target object) may be included in the summary information of the target object. Further, when 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 parent folder of the target object may be included in the summary information of the parent folder of the target object. Further, in the case where the summary information of the parent folder of the target object includes both the subscription identifier and the identification information of the parent folder of the target object, an association may be established between the subscription identifier and the identification information of the parent folder of the target object.
[0087] In some optional implementations of the embodiments of the present disclosure, the summary information of the target object may also include at least one of the name, overview information, and sharing path information of the target object. The overview information of the target object may be used to represent an introduction to the content contained in the target object, and the sharing path information of the target object may be used to represent a storage path that can be used to obtain the target object.
[0088] In some optional implementations of the embodiments of the present disclosure, the update processing method may further include a step of sending an update result corresponding to the update operation to the service management server, wherein the specific definition of the update result can be found in Figure 2 The relevant description in the corresponding embodiment is not repeated here. The update result can be carried in the update message and sent to the service side.
[0089] In some optional implementation methods 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 a 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 a 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 a 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 characterize 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 when receiving a subscription request initiated by the business management server in response to a subscription operation for the target object, and to establish a correspondence between the target object associated with the subscription identifier and the business corresponding to the target object based on the successful tagging result in a timely manner when receiving a tagging response corresponding to the tagging request fed back by the business management server. The implementation of the instruction of the above subscription operation based on the above target business identifier can be referred to Figure 4 The relevant description about 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 the update operation on the target object, a corresponding association step between the target object and the subscription identifier may be established. Specifically, the association step may be triggered based on a tagging request initiated by the received subscription management server, and the subscription identifier may be associated with the target object in response to the tagging request. In this way, a basis may be provided for actively triggering the subscription management server to determine the target service identifier corresponding to the target object, and then triggering the subscription management server to include the target service identifier in the update message corresponding to the update operation to notify the service management server, thereby ensuring that the service management server can timely perceive the update status of the target object.
[0092] In the update processing method provided by some optional implementations of the embodiments of the present disclosure, the identification information of the target object (such as the ID of the target object) can be included in the summary information of the target object. Specifically, when the target object is a file, the identification information of the target object can be included in the summary information of the corresponding file. When the target object is a folder, the identification information of the target object can be included in the summary information of the corresponding folder.
[0093] 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: sharing the target object in the form of a sharing link; sending the target object to a single user or a user group. For specific restrictions on the subscription operation, see Figure 4 The relevant descriptions in the corresponding embodiments are not repeated here.
[0094] In some optional implementations of the embodiments of the present disclosure, the above-mentioned associating step further includes: sending 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. The service management server is informed of the successful subscription result corresponding to the subscription request through the subscription response, so that the service management server can promptly know that the target object has been successfully associated with the subscription identifier based on the successful subscription result, so as to smoothly perform subsequent operations on this basis.
[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 an execution subject service management server, 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 the embodiment of the present disclosure, the target service identifier corresponds to the target object associated with the subscription identifier, and the update message corresponds to the 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 the figure receives the notification message sent by the subscription management server in response to the storage management server, determines the target business identifier of the target object, and sends an update message containing the target business identifier, so that the target object corresponding to the target business identifier can be promptly informed that the target object is updated. The notification message is sent 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 embodiment of the present disclosure can timely learn that the target object has been updated when the service management server receives the update message containing the target service identifier sent by the subscription management server in response to the target service identifier corresponding to the target object, when the target object is determined to be associated with the subscription identifier based on the update operation on the target object. In this way, the service management server can timely perceive the update status of the target object corresponding to the corresponding update operation, and the target service identifier can be screened by the additional subscription management server, which can reduce the amount of calculation on the service management server side. The subscription management server actively triggers the sending of the update message to the service management server in response to the notification message sent by the storage management server in response to the storage management server determining that the target object is associated with the subscription identifier based on the update operation on the target object.
[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 represents that the target object is associated with a subscription identifier, and in response to the value of the subscription identifier being "0", it represents that the target object is not associated with the 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 "unassociated" 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 embodiments of the present disclosure, 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. In this way, at least the business management side can be aware of the update status of 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 summary information of the target object includes the subscription identifier. It can be understood that when the summary information of the target object itself includes the subscription identifier, it can be determined that the target object is associated with the subscription identifier.
[0106] (2) The summary information of the parent folder of the target object includes a subscription identifier. It can be understood that when the summary information of the parent folder of the target object includes a subscription identifier, the target object can also be deemed to be associated with the subscription identifier, so as to avoid the situation where a corresponding update is performed on the target object but an update notification cannot be triggered, thereby ensuring the reliability of the update notification.
[0107] Through this scheme, the scenario of the target object being associated with the subscription identifier is enriched, so that when determining whether the target object is associated with the above subscription identifier, it is possible to accurately judge by determining whether the summary information of the target object includes the above subscription identifier, and / or by determining whether the summary information of the target object's parent folder includes the above subscription identifier. Further, it can be specifically implemented as follows: determining whether the summary information of the target object includes the subscription identifier, if it is included, it can be directly determined that the target object is associated with the subscription identifier; if it is not included, the parent folder of the target object can be further searched to determine whether the summary information of the parent folder includes the subscription identifier, if it is included, it can also be directly determined that the target object is associated with the subscription identifier, otherwise it is determined that the target object is not associated with the subscription identifier. In this way, by judging the target object, or the target object and the parent folder of the target object, it is possible to quickly determine whether the update for the target is subscribed, and there is no need to judge whether other nodes that do not belong to the branch from the target object to its parent folder are updated, and there is no need to judge whether the nodes between the target object and its parent folder are updated, that is, there is no need to perform invalid processing, which greatly reduces the amount of calculation and improves resource utilization.
[0108] 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, taking the sharing scenario based on a network disk application as an example, for sharing scenarios in user groups 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). At this time, it is not considered whether the files in the network disk application have been shared. In general, since most files are not triggered for sharing by the business service side, the above processing of these files is invalid, resulting in a waste of resources. Obviously, for this scenario, the relevant solutions of this embodiment can avoid invalid 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 between the subscription identifier and the identification information of the target object can be established; 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 between the subscription identifier and the identification information of the parent folder of the target object can be established.
[0112] In some optional implementations of the embodiments of the present disclosure, the summary information of the target object may also include at least one of the name, overview information, and sharing path information of the target object. The overview information of the target object may be used to represent an introduction to the content contained in the target object, and the sharing path information of the target object may be used to represent a storage path that can be used to obtain the target object.
[0113] In some optional implementations of the embodiments of the present disclosure, the update processing method may further include a step of receiving an update result corresponding to the update operation sent by the subscription management server, wherein the specific definition of the update result can be found in Figure 2 The relevant description in the corresponding embodiment will not be repeated here. The update result may 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 disclosed embodiment, 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 learn about 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 and authenticity of update perception while improving the user's experience of perceived 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 the 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 obtaining 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; a subscription response corresponding to the subscription request is received from the subscription management server; wherein the subscription response is used to characterize that the subscription identifier has been associated with the target object.
[0121] The above steps are intended to enable the executor of the update processing method to initiate a subscription request to the subscription management server in response to a subscription operation on 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, to 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, wherein the sharing link can at least include the current storage path information or sharing path information of the target object, and the party receiving the sharing link can include a single user or a user group. At this time, the operation of sharing the above-mentioned 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 may refer to the identifier of the sharing service. Considering that the sharing service corresponds to the subscription operation for the target object, the target service identifier can be used to indicate the subscription operation. Specifically, the target service identifier corresponding to the target object can be accurately located to the sharing service corresponding to the target object, and further, according to the correspondence between the sharing service and the subscription operation, the 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 target service identifier can be used to indicate the subscription operation, so that the service management server can initiate a subscription request to the subscription management server in response to the subscription operation, thereby triggering the subsequent operation of 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 accepts 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 embodiment, when any of the above-mentioned sharing operations is performed, the above-mentioned subscription operation can be actively triggered, thereby triggering the subscription management server to send the above-mentioned tagging request to the storage management server in a timely manner to obtain a corresponding tagging response. Specifically, the process of triggering the above-mentioned subscription operation may include: when the sharing operation is performed, the business management server may be triggered to send a corresponding subscription request to the subscription management server, and then the subscription management server may send the above-mentioned 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 application related to cloud storage service based on storage management, the application related to cloud storage service based on storage management is a network disk application, and the business management server as a server providing the application related to cloud storage service 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 A flowchart of an update processing method provided in an embodiment of the present disclosure 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, according to 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 can, when the subscription management server receives a notification message sent by the storage management server when the target object is determined to be pre-associated with a subscription identifier based on an update operation on the target object, 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. In this way, the subscription management server, as an interactive bridge between the business management server and the storage management server, can promptly determine the target business identifier corresponding to the target object when receiving a notification sent by the storage management server that can characterize that the target object is associated with a subscription identifier, and promptly send an update message containing the target business identifier to the business management server, so that the business management server can promptly perceive the update status of the target object corresponding to the corresponding update operation, and 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.
[0133] In some optional implementations of the embodiments of the present disclosure, the method further includes: a user terminal in the system initiates 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 contents in each step involved in the method embodiment can be referred to. Figures 2 to 4 The corresponding contents in the method embodiment shown will not be repeated here.
[0135] To deepen understanding, the present disclosure also provides a specific implementation solution in combination with a specific application scenario, see Figure 6a The frame diagram 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)) application. 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 may 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: A user who is a sharer in a sharing scenario based on a network disk application can use a user terminal to store the data stored on the PCS server (corresponding to Figures 2 to 5 After the file or folder in the storage management server in any corresponding embodiment is shared, an update operation for any object (corresponding to the storage management server in any corresponding embodiment) can be initiated to the PCS server. Figures 2 to 4 Corresponding to any of the embodiments of the present invention, 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 may be initiated by 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 for 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. At this time, the shared file is the object of the update operation.
[0140] In some embodiments, a shared folder may be initiated by: Figure 6a The update triggering service module 601 shown in the figure performs upload, transfer, move and other operations. Among them, the upload operation can point to uploading new files and / or subfolders in the shared folder; at this time, the newly uploaded files and / or subfolders are the objects targeted by the update operation; the transfer operation can refer to transferring other files and / or folders in the PCS server except the shared folder to the shared folder; at this time, the transferred other files and / or folders are the objects targeted by the update operation; the move operation can refer to moving the files and / or subfolders in the shared folder to other locations in the PCS server except the shared folder; the move operation can also refer to moving other files and / or folders outside the shared folder to the shared folder; at this time, the files and / or subfolders moved out of the shared folder are the objects targeted by the update operation. Among them, the relevant files or folders can be stored in a database associated with the PCS server (corresponding to Figure 6a As shown, it can be a data module 603 constructed 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 The determination of whether the target object is associated with the relevant content of the subscription identifier in any corresponding embodiment 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 in this application.
[0143] When making a specific judgment, you can first determine whether the object itself is marked. If so, it can be determined that the object has been marked; if not, the PCS server can call the storage directory tree corresponding to the database, start from the child node corresponding to the object and traverse upward step by step until the parent node of the child node (that is, the parent folder of the object) is found, and determine whether the parent folder of the object is marked. If so, it can be determined that the object has been marked, otherwise it is determined that the object has not been marked. In this process, at most, it is only necessary 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 the object that triggers the subsequent steps of the update process 6-2 can be quickly locked. Specifically, the business server side does not need to subscribe to the update stream of the full file, nor does it need to query the user for the update corresponding to each update stream to see 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 calculation amount, 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 it is found that the object targeted by the update operation is marked, the query result is returned (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 the subscription process 6-2. Specifically, the subscription process 6-2 may include the following steps:
[0147] Step 6-2-1: After a user who is a sharer in the network disk application performs a sharing operation on a file or folder stored in the PCS server through his user terminal, he is deemed to have initiated a 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 service module 606 are shown, 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 other applications other than the application storing and managing the file or folder, and the group file subscription may include a subscription operation triggered by a sharing operation of directly sending the above-mentioned file or folder itself to a user or user group (corresponding to Figures 2 to 4 The relevant content of the subscription operation for the target object in any corresponding embodiment).
[0148] Step 6-2-2: In response to the sharing operation that triggered the subscription operation, the business server 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, the relevant content of the subscription identifier associated with the target object).
[0150] Step 6-2-4: The PCS server sets subscription information for the shared file or folder in response to the tagging request to achieve Figure 6a The PCS module 602 performs the subscription tag function shown in the figure, and writes the setting result into the database for storage. In which, 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 may establish a correspondence between the successfully marked shared file or folder and the service 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 service 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 of the subscription status related content in step 6-1-5; wherein, when implementing the above subscription status maintenance function, the above correspondence established can be stored in the following 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 a message 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 relevant content of the subscription response in any corresponding embodiment) is used to notify the business server that the shared file or folder has been successfully marked.
[0154] The query result may include the 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 ID of the object; 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 parent folder of the object.
[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, so as to achieve Figure 6a The functionality of update message delivery is shown to be 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 performed by the file subscription service module 604 shown in FIG. 6 further queries the subscription status (corresponding to Figures 2 to 4 The corresponding content of determining the target business identifier in any embodiment), that is, querying the business currently matching the query result, can specifically determine the identifier of the business matching the identifier information associated with the object targeted by the update operation contained in the query result (corresponding to Figures 2 to 4 The relevant content of the target business identifier in any corresponding embodiment) is used to determine which businesses 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 implement Figure 6aThe update message delivery function performed by the file subscription service module 604 shown in FIG. 6 includes the identifier of the service determined in step 6-1-5 (corresponding to 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 performing the above update operation on the object, and the update result may at least include storage path information of the object after performing the above update operation.
[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 a single user 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, and can also 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 executed 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 to be performed by the update-aware service module 606 .
[0162] The update processing scheme 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 assist in reducing the subsequent calculation amount, and the file update processing service changes the subscription information to subscribed in the file summary information; when the 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, queries 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 and create a retrieval index. 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 sharing link, the sharer updates the files in the shared folder. Through the update processing solution of the disclosed embodiment, the file update information can be quickly pushed to the subscriber, helping the subscriber to quickly obtain 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 device 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 determine whether the target object is associated with a subscription identifier in response to receiving an update operation for the target object; the first sending unit 702 is specifically configured to send a notification message to a subscription management server in response to 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 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 in 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: summary information of the target object includes the subscription identifier; summary information of a parent folder of the target object includes the subscription identifier.
[0170] In some optional implementations of the embodiments of the present disclosure, the update processing device 700 further includes: a first receiving unit 703 and an associating unit 704. The first receiving unit 703 is specifically configured to receive a marking request initiated by a subscription management server; the marking 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 marking 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 embodiments of the present disclosure, the update processing device 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 change operation, a new addition operation, and a deletion operation.
[0173] This embodiment exists as a device embodiment corresponding to the above method embodiment. The update processing device provided by the embodiment of the present disclosure can actively trigger the determination of the target service identifier corresponding to the target object by sending a notification message to the subscription management server, when the target object is determined to be pre-associated with the subscription identifier based on the update operation on the target object, thereby triggering the subscription management server to include the target service identifier in the update message corresponding to the update operation and notify the service management server. In this way, the storage management server can determine whether the target object is associated with the subscription identifier by timely responding to the update operation on the target object, and in the case of determining that it is yes, timely trigger the subscription management server set between it and the service management server to actively determine the target service identifier corresponding to the target object, and further enable the subscription management server to send an update message containing the target service identifier to the service management server in a timely manner, so that the service management server can timely perceive the update status of the target object corresponding to the corresponding update operation, and at the same time, the additional subscription management server can realize the screening of the target service identifier, which can reduce the calculation amount 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 according to 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 update processing device 800, the specific processing of the second receiving unit 801, the second determining unit 802, and the second sending unit 803 and the technical effects thereof can be referred to respectively. 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 according to 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 initiate a tagging request to the storage management server in response to receiving a subscription request sent by the service management server; wherein the subscription request is generated by the service management server based on a subscription operation for the target object, and the tagging request is used to trigger the storage management server to associate a subscription identifier with the target object; the establishing unit 805 is specifically configured to establish a corresponding relationship between the target service identifier and the identification information of the target object in response to a received tagging response corresponding to the tagging request; 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 a 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 a device embodiment corresponding to the above method embodiment. The update processing device provided by the embodiment of the present disclosure can actively determine the target business identifier corresponding to the target object in response to the notification message when receiving the notification message sent by the storage management server when the target object is determined to be pre-associated with a subscription identifier based on the update operation on the target object, and then notify the business management server of the target business identifier being included in the update message corresponding to the update operation. In this way, the subscription management server, as an interactive bridge between the business management server and the storage management server, can promptly determine the target business identifier corresponding to the target object when receiving the notification sent by the storage management server that can characterize that the target object is associated with a subscription identifier, and promptly send the update message containing the target business identifier to the business management server, so that the business management server can promptly perceive the update status of the target object corresponding to the corresponding update operation, and at the same time, the additional subscription management server can realize the screening of the target business identifier, which can reduce the amount of calculation on the business management server side.
[0183] Further references Fig. 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 device 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 for the target object; and the processing unit 902 is specifically configured to determine, according to 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 a 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: summary information of the target object includes the subscription identifier; summary information of a parent folder of the target object includes the subscription identifier.
[0189] In some optional implementations of the embodiments of the present disclosure, the update processing device further includes: a fourth sending unit 903. The fourth sending unit 903 is specifically configured to send a subscription request to the subscription management server in response to a subscription operation for the target object; 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 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 above 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 learn 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 Fig.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 embodiments shown correspond.
[0193] As shown in 10, the update processing system 1000 of this embodiment may include: a storage management server 1001, a subscription management server 1002, and a business 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 a subscription identifier, send a notification message to the subscription management server 1002; the subscription management server 1002 is specifically configured to determine the target business identifier corresponding to the target object according to the received notification message, and send an update message corresponding to the update operation and including the target business identifier to the business management server 1003; the business management server 1003 is configured to determine that the target object corresponding to the target business identifier is updated according to the received update message.
[0194] The update processing system 1000 provided in this embodiment can, when the subscription management server 1002 receives a notification message sent by the storage management server 1001 when the target object is determined to be pre-associated with a subscription identifier based on an update operation on the target object, actively determine the target service identifier corresponding to the target object in response to the notification message, and then include the target service identifier in the update message corresponding to the update operation to notify the service management server 1003. In this way, the subscription management server 1002, as an interactive bridge between the service management server 1003 and the storage management server 1001, can timely determine the target service identifier corresponding to the target object when receiving a notification sent by the storage management server 1001 that can indicate that the target object is associated with a subscription identifier, and timely send an update message containing the target service identifier to the service management server 1003, so that the service management server 1003 can timely perceive the update status of the target object corresponding to the corresponding update operation, and at the same time, the additional subscription management server 1002 can implement the screening of the target service identifier, which can reduce the amount of calculation on the side of the service management server 1003.
[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 in FIG. 1 and the technical effects thereof can be referred to in 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 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 executable 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.
[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 can implement the update processing method described in any of the above embodiments when executed by a processor.
[0201] Fig.11 A schematic block diagram of an example electronic device 1100 that can be used to implement an embodiment 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 processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0202] like Fig.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. In the RAM 1103, various programs and data required for the operation of the device 1100 can also be stored. 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] A number of components in the device 1100 are connected to the I / O interface 1105, including: an input unit 1106, such as a keyboard, a mouse, etc.; an output unit 1107, such as various types of displays, speakers, etc.; a storage unit 1108, such as a disk, an optical disk, etc.; and a communication unit 1109, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1109 allows the device 1100 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0204] The computing unit 1101 may 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 running 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 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1108. In some embodiments, part or all of the computer program may 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 may be performed. Alternatively, in other embodiments, the computing unit 1101 may be configured to perform the update processing method in any other appropriate manner (e.g., by means of firmware).
[0205] Various implementations of the systems and techniques described above 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), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including 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 may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0207] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may 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 may 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 may 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 with 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 may 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 the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain. Among them, a cloud server, also known as a cloud computing server or a cloud host, is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private servers (VPS, Virtual Private Server) services.
[0211] According to the technical solution of the embodiment of the present disclosure, when it is determined that the target object is pre-associated with a subscription identifier based on an update operation on the target object, the target service identifier corresponding to the target object can be actively triggered to be determined, and then the target service identifier is included in the update message corresponding to the update operation for notification. In this way, the notified party can perceive the update status of the target object in a timely manner.
[0212] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0213] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. An update processing method, applied to a storage management server, the method comprising: 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, a notification message is sent to a subscription management server; 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 and containing the target business identifier to the business management server.
2. The method according to claim 1, wherein: The target object includes a target file or a target folder.
3. The method according to claim 2, wherein: The target object is associated with a subscription identifier including at least one of the following: The summary information of the target object includes a subscription identifier; The summary information of the parent folder of the target object includes a subscription identifier.
4. The method according to claim 3, wherein: The subscription identifiers are associated through the following association steps: Receiving a tagging request initiated by the subscription management server; wherein the tagging request is generated based on a subscription operation for a target object; A subscription identifier is associated with the target object according to the tagging request.
5. The method according to claim 4, wherein the associating step further comprises: Sending a tag response corresponding to the tag request to the subscription management server; wherein the tag response is used to indicate that a subscription identifier has been associated with the target object.
6. The method according to any one of claims 1 to 5, 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.
7. An update processing method, applied to a subscription management server, the method 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 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.
8. The method according to claim 7, wherein: The target object includes a target file or a target folder.
9. The method according to claim 8, wherein: The target object is associated with a subscription identifier including at least one of the following: The summary information of the target object includes a subscription identifier; The summary information of the parent folder of the target object includes a subscription identifier.
10. The method according to claim 8, 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 identifications, the target service 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 is determined.
11. The method according to claim 10, 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 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; In response to the received tagging response corresponding to the tagging request, a correspondence is established 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 characterize that the storage management server has associated a subscription identifier with the target object.
12. The method according to claim 11, 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.
13. An update processing method, applied to a service management server, the method comprising: Receiving 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 for the target object; According to the update message, it is determined that the target object corresponding to the target service identifier is updated.
14. The method according to claim 13, wherein: The target object includes a target file or a target folder.
15. The method according to claim 13 or 14, 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 a subscription operation indicated by the target service identifier.
16. The method according to claim 15, wherein: The target object is associated with a subscription identifier including at least one of the following: The summary information of the target object includes a subscription identifier; The summary information of the parent folder of the target object includes a subscription identifier.
17. The method according to claim 16, wherein: The subscription identifiers are associated through the following association steps: In response to a subscription operation for a target object, a subscription request is sent 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.
18. The method according to claim 17, 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.
19. 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 determines, in response to receiving an update operation for a target object, whether the target object is associated with a subscription identifier, and in response to determining that the target object is associated with a subscription identifier, sends a notification message to the subscription management server; 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; The service management server determines, according to the received update message, that the target object corresponding to the target service identifier is updated.
20. An update processing device, applied to a storage management server, the device comprising: A first determining unit is configured to determine, in response to receiving an update operation for a target object, whether the target object is associated with a subscription identifier; The first sending unit is configured to send a notification message to a 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 and containing the target business identifier to the business management server.
21. The device according to claim 20, wherein: The target object includes a target file or a target folder.
22. The device according to claim 21, wherein The target object is associated with a subscription identifier including at least one of the following: The summary information of the target object includes a subscription identifier; The summary information of the parent folder of the target object includes a subscription identifier.
23. The device according to claim 22, wherein: The device also includes: A first receiving unit is configured to receive a tagging request initiated by the subscription management server; wherein the tagging request is generated based on a subscription operation for a target object; and An associating unit is configured to associate a subscription identifier with the target object according to the marking request.
24. The device according to claim 23, wherein: The first sending unit is further configured to: Sending a tag response corresponding to the tag request to the subscription management server; wherein the tag response is used to indicate that a subscription identifier has been associated with the target object.
25. The apparatus according to any one of claims 20 to 24, further comprising: An 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 changing operation, a adding operation, and a deleting operation.
26. An update processing device, applied to a subscription management server, the device comprising: A 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; A second determining unit is configured to determine a target service identifier corresponding to the target object according to the notification message; The second sending unit is configured to send an update message including the target service identifier and corresponding to the update operation to the service management server.
27. The device according to claim 26, wherein The target object includes a target file or a target folder.
28. The device according to claim 27, wherein The target object is associated with a subscription identifier including at least one of the following: The summary information of the target object includes a subscription identifier; The summary information of the parent folder of the target object includes a subscription identifier.
29. The device according to claim 27, 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 identifications, the target service 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 is determined.
30. The apparatus of claim 29, further comprising: A third sending unit is configured to initiate a tagging request to the storage management server in response to receiving a subscription request sent by the service 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; 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 tagging response corresponding to the tagging request; wherein the target business identifier is used to indicate the subscription operation, and the tagging response is used to characterize that the storage management server has associated a subscription identifier with the target object.
31. The device according to claim 30, 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.
32. 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, and the update message corresponds to an update operation for the target object; The processing unit is configured to determine, according to the update message, that the target object corresponding to the target service identifier is updated.
33. The device according to claim 32, wherein: The target object includes a target file or a target folder.
34. The apparatus according to claim 32 or 33, 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 a subscription operation indicated by the target service identifier.
35. The device according to claim 34, wherein The target object is associated with a subscription identifier including at least one of the following: The summary information of the target object includes a subscription identifier; The summary information of the parent folder of the target object includes a subscription identifier.
36. The apparatus of claim 35, 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.
37. The device according to claim 36, 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.
38. An update processing system comprising: a storage management server 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; a subscription management server configured to determine a target service identifier corresponding to the target object according to 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; The service management server is configured to determine, according to the received update message, that the target object corresponding to the target service identifier is updated.
39. The system of claim 38, wherein: The system also includes a user terminal configured to initiate the update operation to the storage management server.
40. 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 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 execute the update processing method executed by the storage management server as described in any one of claims 1-6, or execute the update processing method executed by the subscription management server as described in any one of claims 7-12, or execute the update processing method executed by the business management server as described in any one of claims 13-18.
41. 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-6, or the update processing method executed by the subscription management server as described in any one of claims 7-12, or the update processing method executed by the business management server as described in any one of claims 13-18.
42. A computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the update processing method performed by a storage management server according to any one of claims 1-6, or implements the steps of the update processing method performed by a subscription management server according to any one of claims 7-12, or implements the steps of the update processing method performed by a business management server according to any one of claims 13-18.
Citation Information
Patent Citations
Data updating method, apparatus and system
CN109284305A
Resource subscription method and apparatus, computer device, and storage medium
CN113940037A
Message processing method and system and medium
CN113973094A
Distributed cache publishing and subscribing method, system and device
CN117857627A
Method and apparatus for determining a synchronization of subscription-notification service subscriptions among multiple entities
US20140068091A1
