Resource synchronization method, device, electronic device and storage medium

By receiving resource synchronization requests on the first application server and determining the bound account, resources are automatically obtained from the second application server, which solves the cumbersome problem of resource migration between applications, achieves efficient synchronization of cross-application resources, and improves user experience. .

CN118245550BActive Publication Date: 2024-09-13TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410633420.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-21
Publication Date
2024-09-13
Estimated Expiration
2044-05-21

AI Technical Summary

Technical Problem

In the existing technology, users need to manually download and import resources to migrate between applications, which is cumbersome and leads to poor user experience.

Method used

By receiving the resource synchronization request on the first application server, determining the account bound to the second application, and sending a resource acquisition request to the second application server based on the account and resource type, the resources of the second account are automatically synchronized to In the favorites list of the first account.

Benefits of technology

It realizes automatic synchronization of cross-application resources, improves the efficiency of collecting resources, reduces user operation steps, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118245550B
    Figure CN118245550B
Patent Text Reader

Abstract

The present application relates to the field of computers, and discloses a resource synchronization method, which is applied to a first application server of a first application, and the method comprises: receiving a resource synchronization request sent by a first client where a first account in the first application is located; determining, according to the resource synchronization request, a second account bound to the first account in a second application, where the second application is different from the first application; sending a resource acquisition request to the second application server based on the second account and a first resource type; receiving resource data returned by the second application server in response to the resource acquisition request, the resource data comprising resource information of a first resource that is collected by the second account in the second application and belongs to the first resource type; sending the resource information to the first client to add the first resource to the resource collection list of the first account, thereby realizing automatic synchronization of the resources collected in the second account bound to the second application by the first account to the resource collection list of the first account.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and more specifically, to a resource synchronization method, device, electronic device and storage medium. Background Art

[0002] Nowadays, users usually use multiple applications. If users want to migrate the collected resources in one application (assuming it is application A) to another application (assuming it is application B), they need to first download the collected resources in application A to the local computer one by one, and then import the downloaded resources to the local computer into application B. The operation is cumbersome and inconvenient, resulting in a poor user experience. Summary of the invention

[0003] In view of the above problems, the embodiments of the present application propose a resource synchronization method, device, electronic device and storage medium to improve the above problems.

[0004] According to one aspect of an embodiment of the present application, a resource synchronization method is provided, which is applied to a first application server of a first application, and the method includes:

[0005] Receiving a resource synchronization request sent by a first client of a first account in a first application, where the resource synchronization request includes a first resource type of a resource to be synchronized;

[0006] Determine, according to the resource synchronization request, a second account bound to the first account in the second application, where the second application is different from the first application;

[0007] Based on the second account and the first resource type, sending a resource acquisition request to a second application server of the second application;

[0008] Receiving resource data returned by the second application server in response to the resource acquisition request, the resource data including resource information of a first resource that is collected by the second account in the second application and belongs to the first resource type;

[0009] The resource information of the first resource is sent to the first client to add the first resource to the resource collection list of the first account.

[0010] According to one aspect of an embodiment of the present application, a resource synchronization method is provided, which is applied to a second application server of a second application, and the method includes:

[0011] receiving a resource acquisition request sent by a first application server of a first application; the resource acquisition request is sent by the first application server after receiving a resource synchronization request sent by a first client where a first account in the first application is located, based on a first resource type in the resource synchronization request and a second account bound to the first account in the second application; the second application is an application different from the first application;

[0012] In response to the resource acquisition request, obtaining resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type;

[0013] According to resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type, resource data is sent to the first application server to add the first resource to the resource collection list of the first account based on the resource data.

[0014] According to one aspect of an embodiment of the present application, a resource synchronization method is provided, which is applied to a first client where a first account in a first application is located, and the method includes:

[0015] If a triggered resource synchronization operation is detected in the display interface of the first client, a resource synchronization request is sent to the first application server of the first application; the resource synchronization request includes a first resource type;

[0016] receiving resource information of a first resource returned by the first application server; the first resource refers to a resource that is collected by a second account in a second application and belongs to the first resource type; the second account refers to an account bound to the first account in the second application; the resource information of the first resource is obtained by the first application server from a second application server of the second application according to the resource synchronization request, and the second application is an application different from the first application;

[0017] The first resource is displayed in a resource collection list of the first account according to the resource information of the first resource.

[0018] According to one aspect of an embodiment of the present application, a resource synchronization device is provided, which is applied to a first application server of a first application, and the device includes:

[0019] A first receiving module, configured to receive a resource synchronization request sent by a first client where a first account in a first application is located, where the resource synchronization request includes a first resource type of a resource to be synchronized;

[0020] A determination module, configured to determine, according to the resource synchronization request, a second account bound to the first account in the second application, where the second application is an application different from the first application;

[0021] A first sending module, configured to send a resource acquisition request to a second application server of a second application based on a second account and a first resource type;

[0022] A second receiving module is used to receive resource data returned by the second application server in response to the resource acquisition request, where the resource data includes resource information of a first resource that is collected by the second account in the second application and belongs to the first resource type;

[0023] The second sending module is used to send resource information of the first resource to the first client to add the first resource to the resource collection list of the first account.

[0024] Optionally, the resource synchronization device includes a resource addition module, which is used to receive resource addition notification information sent by the second application server to the second account. The resource addition notification information is sent by the second application server to the first application server after receiving the resource addition information sent by the second client where the second account is located. The resource addition notification information includes resource information of a second resource that is newly collected by the second account and belongs to the first resource type; the resource information of the second resource is sent to the first client to add the second resource to the resource collection list of the first account.

[0025] Optionally, a central storage area and a boundary storage area are provided in the first application server; the central storage area stores a resource collection set of each account in the first application; the resource collection set includes resource index information; the resource information includes resource content; the resource synchronization device includes a notification module, the notification module is used to store the resource content of the first resource in the boundary storage area, obtain the first storage address information of the first resource in the boundary storage area; generate the resource index information of the first resource based on the first storage address information, and store the resource index information of the first resource in the resource collection set of the first account in the central storage area; send a first update notification information to the first client; receive a collection resource pull request sent by the first client according to the first update notification information.

[0026] Optionally, the second sending module is further used to send collection resource data to the first client in response to the collection resource pull request, and the collection resource data includes obtaining resource content of the corresponding resource from the boundary storage area according to the resource index information in the resource collection set of the first account.

[0027] Optionally, the resource collection set also includes source information of resources corresponding to each resource index information; the resource synchronization device includes an update module, the update module is used to receive a resource synchronization shutdown instruction sent by the first client; in response to the resource synchronization shutdown instruction, according to the source information of the corresponding resources in the resource collection set of the first account, the resource index information of the resources originating from the second application is deleted in the resource collection set of the first account; and a second update notification information is sent to the first client, so that the first client responds to the second update notification information and updates the resource collection list of the first account according to the resource index information in the resource collection set of the first account.

[0028] Optionally, the resource synchronization device includes a third sending module, which is used to send a first prompt message to the second application server according to the resource synchronization closing instruction and based on the second account bound to the first account, and the first prompt message is used to indicate that the first account bound to the second account has closed resource synchronization.

[0029] Optionally, the resource synchronization device includes a generation module, which is used to generate and store a first record for the first account according to the resource synchronization request; the first record is used to indicate that the first account has enabled resource synchronization.

[0030] Optionally, the resource adding module is further configured to send resource information of the second resource to the first client if it is determined, based on the stored record for the first account, that the first account has enabled resource synchronization.

[0031] Optionally, the resource synchronization device includes a resource synchronization determination module, which is used to determine that resource synchronization is not required for the first account if it is determined based on the stored records for the first account that the first account has closed resource synchronization, and send a second prompt message to the second application server.

[0032] Optionally, the resource synchronization device includes a resource collection determination module, which is used to obtain resource collection information of the first account in the first application, the resource collection information indicating resources that the first account has collected and belong to the first resource type; based on the resource collection information and resource information of the second resource, determine in the second resource a second resource that the first account has not collected in the first application as the first target resource.

[0033] Optionally, the resource adding module is further used to send resource information of the first target resource to the first client.

[0034] Optionally, the resource information includes resource content; the resource collection information includes resource content of each resource; the resource collection determination module includes a first summary determination unit, a second summary determination unit and a target resource determination unit, wherein:

[0035] A first summary determination unit, configured to determine a first summary of each second resource according to the resource content of each second resource in the resource information of each second resource;

[0036] A second summary determination unit, configured to determine a second summary of each resource in the resource collection information according to the resource content of each resource in the resource collection information;

[0037] The target resource determining unit is used to determine, according to the first summary and the second summary, a second resource in the second resource that is not collected by the first account in the first application as the first target resource.

[0038] According to one aspect of an embodiment of the present application, a resource synchronization device is provided, which is applied to a first application server of a first application, and the device includes:

[0039] A third receiving module is used to receive a resource acquisition request sent by the first application server of the first application; the resource acquisition request is sent by the first application server after receiving a resource synchronization request sent by the first client where the first account in the first application is located, based on the first resource type in the resource synchronization request and the second account bound to the first account in the second application; the second application is an application different from the first application;

[0040] An acquisition module, configured to obtain, in response to a resource acquisition request, resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type;

[0041] The fourth sending module is used to send resource data to the first application server according to the resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type, so as to add the first resource to the resource collection list of the first account based on the resource data.

[0042] Optionally, the resource synchronization device includes a first resource adding module, the first resource adding module is used to receive resource adding information sent by a second client where a second account is located, the resource adding information is sent by the second account after adding a second resource belonging to the first resource type to the collection; obtain resource information of the second resource based on the resource adding information; send resource adding notification information to the first application server based on the resource information of the second resource, so as to add the second resource to the resource collection list of the first account based on the resource adding notification information.

[0043] Optionally, the first resource addition module includes a prompt information determination unit, which is used to send resource addition notification information to the first application server based on resource information of the second resource if it is determined that the first account has turned on resource synchronization based on the prompt information from the first application server.

[0044] Optionally, the resource synchronization device includes a first resource synchronization determination module, which is used to determine that resource synchronization is not required for the first account if it is determined that the first account has closed resource synchronization based on prompt information from the first application server.

[0045] Optionally, the resource acquisition request includes a first account and a second account; the resource synchronization device includes a verification module, and the verification module is used to verify the binding relationship between the first account and the second account based on the account binding information stored in the second application server to obtain a verification result.

[0046] Optionally, the acquisition module is further configured to, if the verification result indicates that the first account and the second account have a binding relationship, acquire resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type.

[0047] Optionally, the resource synchronization device includes a fourth receiving module, which is used to receive a first prompt message sent by the first application server, and the first prompt message is used to indicate that the first account bound to the second account has closed resource synchronization. The first prompt message is sent by the first application server after receiving the resource synchronization closing instruction sent by the first client.

[0048] According to one aspect of an embodiment of the present application, a resource synchronization device is provided, which is applied to a first client where a first account in a first application is located, and the device includes:

[0049] A fifth sending module, configured to send a resource synchronization request to a first application server of the first application if a triggered resource synchronization operation is detected in the display interface of the first client; the resource synchronization request includes a first resource type;

[0050] A fifth receiving module is used to receive resource information of a first resource returned by the first application server; the first resource refers to a resource that is collected by the second account in the second application and belongs to the first resource type; the second account refers to an account bound to the first account in the second application; the resource information is obtained by the first application server requesting the second application server of the second application according to the resource synchronization request, and the second application is an application different from the first application;

[0051] The display module is used to display the first resource in the resource collection list of the first account according to the resource information of the first resource.

[0052] According to one aspect of an embodiment of the present application, an electronic device is provided, including: a processor; a memory, wherein computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the processor, a resource synchronization method is implemented.

[0053] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor, a resource synchronization method is implemented.

[0054] According to one aspect of an embodiment of the present application, a computer program product is provided, including computer instructions, which implement a resource synchronization method when executed by a processor.

[0055] In the present application, after receiving a resource synchronization request sent by the first client where the first account in the first application is located, the first application server determines the second account bound to the first account in the second application according to the resource synchronization request, and then sends a resource acquisition request to the second application server of the second application based on the second account and the first resource type; thereafter, the second application server returns the resource information of the first resource that the second account has collected in the second application and belongs to the first resource type in response to the resource acquisition request; thereafter, the first application server sends the resource information of the first resource to the first client to add the first resource to the resource collection list of the first account. Based on the above process, it is possible to automatically synchronize the resources of the first resource type collected by the second account to the resource collection list of the first account, without the need for the user to manually store the resources collected by the second account locally and then upload them to the resource collection list of the first account, thereby improving the efficiency of automatic synchronization of collection resources across applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0057] Figure 1 It is a schematic diagram of an application scenario of a resource synchronization method according to an embodiment of the present application.

[0058] Figure 2 It is a schematic diagram of an application scenario of a resource synchronization method according to another embodiment of the present application.

[0059] Figure 3 The diagram is a flow chart of a resource synchronization method according to an embodiment of the present application.

[0060] Figure 4 It is a flowchart of a resource synchronization method according to another embodiment of the present application.

[0061] Figure 5 It is a schematic diagram of a display interface of a first client according to an embodiment of the present application.

[0062] Figure 6 It is a schematic diagram of a collection interface of a first client according to an embodiment of the present application.

[0063] Figure 7 is a flowchart of a resource synchronization method according to another embodiment of the present application.

[0064] Figure 8is a flowchart of a resource synchronization method according to another embodiment of the present application.

[0065] Fig. 9 is a flowchart of a resource synchronization method according to another embodiment of the present application.

[0066] Fig.10 It is a schematic diagram of an application scenario shown according to another embodiment of the present application.

[0067] Fig.11 It is a schematic diagram of performing resource synchronization after enabling the resource synchronization function according to a specific embodiment of the present application.

[0068] Fig.12 It is a schematic diagram showing synchronization of newly added favorite resources of a second account with a first account according to an embodiment of the present application.

[0069] Fig.13 It is a processing flow chart after turning off the resource synchronization function according to an embodiment of the present application.

[0070] Fig.14 It is a block diagram of a resource synchronization device according to an embodiment of the present application.

[0071] Fig.15 It is a block diagram of a resource synchronization device according to another embodiment of the present application.

[0072] Fig.16 It is a block diagram of a resource synchronization device according to another embodiment of the present application.

[0073] Fig.17 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0074] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.

[0075] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.

[0076] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0077] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0078] It should be noted that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0079] Nowadays, users usually use multiple applications. If users want to migrate the collected resources in one application (assuming it is application A) to another application (assuming it is application B), they need to first download the collected resources in application A to the local computer one by one, and then import the downloaded resources to the local computer into application B. The operation is cumbersome and inconvenient, resulting in a poor user experience.

[0080] Based on this, the present application provides a resource synchronization method, after receiving a resource synchronization request sent by a first client where a first account in a first application is located, the first application server determines the second account bound to the first account in the second application according to the resource synchronization request, and then sends a resource acquisition request to the second application server of the second application based on the second account and the first resource type; thereafter, the second application server returns the resource information of the first resource that the second account has collected in the second application and belongs to the first resource type in response to the resource acquisition request; thereafter, the first application server sends the resource information of the first resource to the first client to add the first resource to the resource collection list of the first account. Based on the above process, it is achieved that the resources of the first resource type collected by the second account are automatically synchronized to the resource collection list of the first account, without the user having to manually store the resources collected by the second account locally and then upload them to the resource collection list of the first account, thereby improving the efficiency of automatic synchronization of collection resources across applications.

[0081] Figure 1 A schematic diagram showing an application scenario to which the technical solution of an embodiment of the present application can be applied.

[0082] like Figure 1 As shown, the application scenario includes a terminal 101, a first application server 102 for a first application, and a second application server 103 for a second application, wherein the first application server 102 is used to provide services for the first application, and the second application server 103 is used to provide services for the second application, and the first application and the second application are different applications.

[0083] The first application server 102 and the second application server 103 can be independent physical servers, physical devices in a server cluster or distributed system, or devices that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, as well as big data and artificial intelligence platforms.

[0084] The terminal 101 may be a smart phone, a tablet computer, a laptop computer, an intelligent voice interaction device, a smart home device, a vehicle-mounted terminal, a smart speaker, a smart TV, etc. The terminal 101 may run a client, such as a client of a first application, a client of a second application, etc. Figure 1 exemplarily shows a first client running in the terminal 101 , where the first client is a client logged in to the first application by the first account.

[0085] The first application server 102 can be connected to the terminal 101 and the second application server 103 via wired or wireless communication.

[0086] like Figure 1 As shown, the first client can send a resource synchronization request to the first application server 102, and the resource synchronization request includes the first resource type to which the resource to be synchronized belongs; then, the first application server 102 can determine the second account bound to the first account in the second application in the binding relationship between the account in the first application and the account in the second application stored; then, the first application server 102 sends a resource acquisition request to the second application server, and the resource acquisition request is used to request to obtain the information of the resources belonging to the first resource type collected by the second account, and the resource acquisition request includes the second account; after receiving the resource acquisition request sent by the first application server 102, the second application server 103 can send the resource information of the first resource belonging to the first resource type collected by the second account to the first application server 102; then, the first client can add the first resource to the resource collection list of the first account. Based on the above process, the resources belonging to the first resource type collected by the second account in the second application are automatically synchronized to the first account associated with the second account in the first application, so that the user does not need to manually download the resources collected by the second account in the second application to the local computer first, and then upload them to the first application and collect them.

[0087] The first resource type involved in this application refers to the resource type to which the resources to be synchronized belong, such as audio (such as songs), blogs, articles, emoticons, videos, chat sessions, pictures, e-books, electronic maps, etc., which are not specifically limited here.

[0088] The first application and the second application may be different applications of the same type, for example, the first application and the second application are both instant messaging applications, the first application and the second application are both audio playback applications, the first application and the second application are both video playback applications, the first application and the second application are both reading applications, etc. Of course, in other embodiments, the first application and the second application may be applications of different types, but both have the function of displaying or playing the resources to be synchronized.

[0089] In some embodiments, the communication protocols used by the first application server 102 and the second application server 103 may be different. In this way, the second application server 103 cannot parse the message from the first application server 102 (for example, the resource acquisition request sent by the first application server 102), and the first application server 102 cannot parse the message from the second application server 103 (for example, the resource information of the first resource belonging to the first resource type collected by the first account). In this case, a transit node can be deployed between the first application server 102 and the second application server 103. The transit node is used to convert the format of the message, for example, converting the message sent by the first application server 102 to the second application server 103 into the format required by the communication protocol supported by the second application server 103, and converting the message sent by the second application server 103 to the first application server 102 into the format required by the communication protocol supported by the first application server 102.

[0090] Figure 2 is a schematic diagram of an application scenario according to another embodiment of the present application. Figure 1 The application scenario shown, Figure 2 In the application scenario shown, a transfer node 104 is provided between the first application server 102 and the second application server 103. The transfer node 104 may be a physical server or a cloud server, which is not specifically limited here.

[0091] like Figure 2As shown, after the first application server 102 sends a resource acquisition request to the transit node 104, the transit node 104 parses the resource acquisition request according to the communication protocol supported by the first application server 102, and converts the resource acquisition request into a format required by the communication protocol supported by the second application server 103, so that the resource acquisition request after format conversion meets the format required by the communication protocol supported by the second application server 103; thereafter, the transit node 104 sends the resource acquisition request after format conversion to the second application server.

[0092] Similarly, after receiving the resource information of the first resource that is collected by the second account and belongs to the first resource type and sent by the second application server 103, the transit node 104 parses the resource information of the first resource according to the format required by the communication protocol supported by the second application server 103, and converts the resource information of the first resource according to the format required by the communication protocol supported by the first application server 102, so that the resource information after format conversion meets the format required by the communication protocol supported by the first application server 102; thereafter, the resource information of the first resource after format conversion is sent to the first application server 102.

[0093] It is worth mentioning that in Figure 2 In the application scenario shown, the transfer node 104 pre-stores the communication protocol supported by the first application server and the communication protocol supported by the second application server, so as to facilitate the subsequent format conversion of the message transmitted between the first application server and the second application server.

[0094] exist Figure 2 The interaction process between the first application server and the terminal, and the execution process of the second application server and Figure 1 The above are basically the same and will not be repeated here.

[0095] In some embodiments, when the communication protocols adopted by the first application server 102 and the second application server 103 are different, the first application server 102 can store the communication protocol supported by the second application server 103, and the second application server 103 can store the communication protocol supported by the first application server 102; in this way, the first application server 102 can encapsulate the message to be sent to the second application server 103 according to the communication protocol adopted by the second application server 103; the second application server 103 can encapsulate the message to be sent to the second application server 103 according to the communication protocol supported by the first application server 102. In this way, there is no need to deploy a transit node on the first application server 102 and the second application server 103.

[0096] The implementation details of the technical solution of the embodiment of the present application are described in detail below:

[0097] Figure 3 FIG. 1 is a flowchart of a resource synchronization method according to an embodiment of the present application. Figure 3 As shown, the method at least includes steps S110 to S170. Figure 3 In the example, steps S110-S130 and steps S150-S160 are executed by the first application server, S140 is executed by the second application server, and S170 is executed by the first client. The details are as follows:

[0098] S110: Receive a resource synchronization request sent by a first client where a first account in a first application resides.

[0099] The resource synchronization request includes a first resource type of the resource to be synchronized.

[0100] In this application, for the sake of distinction, the application requesting resource synchronization is referred to as the first application, the server of the first application is referred to as the first application server, the account requesting resource synchronization in the first application is referred to as the first account, the resource type to which the resource to be synchronized in the resource synchronization request belongs is referred to as the first resource type, and the client logged in to the first account in the first application is referred to as the first client. In this application, the resource synchronization request is used to request synchronization of information of resources collected in another application, and the resource synchronization request may also be referred to as a collection resource synchronization request.

[0101] In some embodiments, if a triggered resource synchronization operation is detected in the display interface of the first client, the first client sends a resource synchronization request to the first application server of the first application. The resource synchronization operation may be a triggering operation for turning on a collection resource synchronization function. In other words, a collection resource synchronization function control may be displayed in the display interface of the first client, and the user may trigger (e.g., click, touch, slide, etc.) the collection resource synchronization function control to turn on the collection resource synchronization function, or turn off the collection resource synchronization function. Therefore, upon detecting a resource synchronization operation triggered for the collection resource synchronization function control, the first client may send a resource synchronization request to the first application server.

[0102] Among them, the resources to be synchronized can be emoticons, pictures, audio (such as music, conversational voice, conference voice), video, articles (such as blogs, etc.), commodities, etc. Therefore, the first resource type can be the resource type corresponding to the emoticon package, the resource type corresponding to the picture, the resource type corresponding to the audio, the resource type corresponding to the video, the resource type corresponding to the article, the resource type corresponding to the commodity, etc., which are not specifically limited here. Of course, the granularity of resource type division can be finer or coarser. For example, the resource type corresponding to the video can be further divided into the resource type corresponding to the short video with a duration less than the first duration, and the resource type corresponding to the long video with a duration not less than the first duration; for another example, the resource type to which audio and video belong can be unified into audio and video resource types.

[0103] In some embodiments, a resource synchronization function control may be provided for each resource type in the display interface of the first client. For example, if a resource synchronization function control for an emoticon package is displayed in the display interface of the first client, then in response to a user's function-enabling operation on the resource synchronization function control for the emoticon package, the first client sends a resource synchronization request to the first application server, and the first resource type in the resource synchronization request indicates a resource type for the emoticon package. If a collection resource synchronization function control for audio is displayed in the display interface of the first client, then in response to a user's function-enabling operation on the resource synchronization function control for audio, the first client sends a resource synchronization request to the first application server, and the first resource type in the resource synchronization request indicates a resource type for audio.

[0104] Figure 5 A schematic diagram showing a display interface of a first client is shown, such as Figure 5 As shown, the resource synchronization function for the emoticon package can be turned on or off by triggering the control 501 in the display interface, that is, the emoticon package is automatically synchronized. Figure 5 Other functions provided by the first client are also shown, such as automatic conversion of voice messages received in chat into text, message reading status, etc. After the user turns on automatic synchronization of emoticon packages, the user can return to the collection interface to view the emoticon packages synchronized to the first account based on the resource synchronization request. Figure 5 The display interface shown is merely an illustrative example and should not be considered as limiting the scope of use of this application.

[0105] In some embodiments, when the user triggers the collection resource synchronization function in the display interface of the first client, the user can select the resource type to which the resource to be synchronized belongs. In this case, the first resource type in the resource synchronization request is the resource type that is triggered and selected. In a specific embodiment, the selected first resource type can be one or more, which is not specifically limited here.

[0106] In some embodiments, the first resource type in the resource synchronization request may be set by default, for example, the default setting is to indicate the resource type of an emoticon package, in which case the resource synchronization request may also be referred to as an emoticon package synchronization request, for example, the default setting is to indicate the resource type of a commodity, in which case the resource synchronization request may be referred to as a commodity synchronization request. If a resource synchronization function control of a resource type is provided in the display interface of the first client, the first resource type in the resource synchronization request may be set by default.

[0107] In some embodiments, the resource synchronization request may also include the application identifiers of the first account and the second application, wherein the second application refers to the application of the collection resource source requested to be synchronized by the resource synchronization request, and the second application is an application different from the first application. In this way, it is convenient to subsequently determine the second account bound to the first account in the second application based on the application identifiers of the first account and the second application.

[0108] In some embodiments, before the user on the first client side starts the collection resource synchronization function, the user's first account in the first application can be bound to accounts in other applications in advance. The user can bind the first account in the first application to an account in one other application or to accounts in multiple other applications.

[0109] When the user binds the first account in the first application with accounts in multiple other applications, and when the user turns on the collection resource synchronization function, the user can select the application from which the collection resources to be synchronized come from (i.e., select the second application) in the display interface of the first client. Thus, the first client can send a resource synchronization request to the first application server based on the application identifier of the second application selected by the user. In the process of the collection resource synchronization function, the second application selected by the user can be one or more, which is not specifically limited here.

[0110] In some embodiments, when the first client only provides an entry for binding with an account in another application, that is, the first account of the first client is only bound to an account in a second application, the resource synchronization request may not carry the application identifier of the second application, that is, the first application server defaults that the resource synchronization request is for requesting synchronization of resources collected in the second application.

[0111] S120: Determine, according to the resource synchronization request, a second account bound to the first account in the second application.

[0112] The second application is an application different from the first application.

[0113] The second application refers to the application from which the requested resources to be synchronized come. The server of the second application is called the second application server, and the account bound to the first account in the second application is called the second account. It can be understood that the second account is a registered account in the second application.

[0114] The first application server can store account binding information, which is used to indicate that an account in the first application has a binding relationship with an account in another application. Therefore, after receiving a resource synchronization request, the first application server can query and determine the second account bound to the first account in the second application in the account binding information.

[0115] In the case where the resource synchronization request carries the application identifiers of multiple second applications, the first application server queries the account binding information to determine the second account to which the first account is bound in each second application. In some embodiments, the account in the first application and the account in the second application with a binding relationship can be stored in a third-party platform. After receiving the resource synchronization request sent by the first client where the first account is located, the first application server sends an account acquisition request to the third-party platform, and the third-party platform returns the second account bound to the first account in the second application in response to the account acquisition request.

[0116] S130: Send a resource acquisition request to a second application server of a second application based on the second account and the first resource type.

[0117] The resource acquisition request is used to acquire resources of the first resource type that are collected by the second account in the second application, and the resource acquisition request includes at least the first resource type and the second account. In some embodiments, the resource acquisition request may also include the first account.

[0118] It can be understood that, when multiple second applications are selected, a resource acquisition request is sent to the second application server of each second application.

[0119] S140. In response to the resource acquisition request, obtain resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type.

[0120] The resource information of the first resource may include a resource identifier of the first resource and resource content of the first resource.

[0121] In some embodiments, the resource collection list of each account in the second application can be stored in the second application server, and the second application server can also store the resource content of each resource. On this basis, after receiving the resource acquisition request, the second application server first obtains the resource collection list of the second account, and then, according to the first resource type, determines the resources belonging to the first resource type in the resource collection list of the second account, and correspondingly obtains the resource content of the resources belonging to the first resource type in the resource collection list of the second account from the stored resource content. For ease of description, the resources belonging to the first resource type collected by the second account in the second application are referred to as first resources.

[0122] In some embodiments, in the second application, the second application server can store resource collection lists of each account by resource type. For example, for the second account, the second account's emoticon collection list, the second account's music collection list, and the second account's article collection list can be stored. On this basis, the second application server can first determine the first resource collection list corresponding to the first resource type of the second account, that is, each resource in the first resource collection list belongs to the first resource type, and then obtain the resource information of each resource in the first resource collection list accordingly, and the resources in the first resource collection list are regarded as first resources. Among them, the resource collection list at least includes the resource identifier of each collected resource. In some embodiments, the resource collection list can also include the network address of the resource. Of course, for different resources, the information included in the resource collection list can be different. For example, the emoticon collection list can include emoticon pictures, the music collection list can include basic profile information of the music (such as music name, singer, etc.), and the article collection list can include article names, article links, etc.

[0123] In some embodiments, the resource collection list of each account in the second application can be stored in the client where the account is located. In this case, after receiving the resource acquisition request, the second application server can obtain the resource collection list of the second account from the second client where the second account is located, and then obtain the resource information of each resource in the resource collection list according to the resource collection list of the second account.

[0124] In some embodiments, the resource acquisition request may also include a first account. After the second application server receives the resource acquisition request, the second application server verifies the binding relationship between the first account and the second account based on the account binding information stored in the second application server to obtain a verification result; if the verification result indicates that the first account and the second account have a binding relationship, the second application server executes the step of obtaining resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type.

[0125] The binding relationship verification of the first account and the second account may be performed based on the account binding information stored in the second application server to verify whether the first account and the second account are already bound. If the account binding information stored in the second application server also indicates that the first account and the second account have a binding relationship, it is determined that the binding relationship verification has passed, otherwise, the binding relationship verification has failed.

[0126] In some embodiments, if the verification result indicates that the first account and the second account do not have a binding relationship, a prompt message is sent to the first application server, so that the first application server sends a binding error prompt message to the first client in response to the prompt message, and the binding error prompt message is used to prompt that the first account and the second account do not have a binding relationship.

[0127] S150: Receive resource data returned by the second application server in response to the resource acquisition request.

[0128] Among them, the resource data includes resource information of the first resource that is collected by the second account in the second application and belongs to the first resource type. The resource information may include resource identification, resource content, etc. The resource content may include image data of emoticons, audio data of music, etc. The resource information may also include storage address information of the resource.

[0129] S160: Send resource information of the first resource to the first client.

[0130] S170: Add the first resource to the resource collection list of the first account.

[0131] The resource collection list of the first account is used to indicate the resources collected by the first account in the first application.

[0132] After the first resource is added to the resource favorite list of the first account, the user can display the resource favorite list on the first client where the first account is located, and view or use the first resource.

[0133] In some embodiments, if the resource is an emoticon pack, the first resource can be presented in the favorites list of the first account in the form of an emoticon pack image or an emoticon pack thumbnail; in some embodiments, if the resource is a video, the first resource can be presented in the favorites list of the first account in the form of a video cover or a video name.

[0134] In some embodiments, the resource collection list of the first account further displays a source mark of the first resource, where the source mark is used to indicate that the first resource originates from the second application, so as to facilitate tracing the source of each resource in the resource collection list of the first account.

[0135] The source mark may be an icon of the second application, or may be a source mark customized for the second application in the first account.

[0136] When the first account shares the first resource with accounts bound to the first account in other applications, the source tag of the first resource can also be synchronized to the accounts bound to the first account in other applications, so as to trace the account that collected the first resource.

[0137] When the first account shares the first resource with an account that is not bound to the first account, the source tag of the first resource is not synchronized to the account that is not bound to the first account to protect the information security of the first account.

[0138] In some implementations, the resource collection list may be displayed on the collection interface of the first client. Figure 6 A schematic diagram of the collection interface of the first client is shown. A triggered resource synchronization operation is detected in the display interface of the first client, such as triggering control 501 to start automatic synchronization of emoticon packages. After the first client receives the first resource, such as an emoticon package, returned by the resource synchronization request sent by the first application server based on the triggered resource synchronization operation, the emoticon package synchronized from the second account bound to the first account in the second application is displayed on the display interface, and the source mark of the emoticon package is also displayed, such as Figure 6 The mark shown in 601. Figure 6 The collection interface shown is merely an illustrative example and should not be considered as limiting the scope of use of this application.

[0139] If each account in the first application has a resource collection list for different resource types, after the first client receives the resource information of the first resource, the first resource can be added to the resource collection list corresponding to the first resource type, for example, an emoticon package can be added to the emoticon package resource collection list, and an article can be added to the article collection list.

[0140] In some embodiments, in step S160, the resource information sent by the first application server to the first client may be a resource identifier of the first resource. After receiving the resource data returned by the second application server, the first application server may also store the resource content of the first resource on the first application server, so that if the first client subsequently requests to obtain the resource content of the first resource based on the resource collection list of the first account, the first application server may send the resource content of the first resource from the resource content stored by itself to the first client.

[0141] In other embodiments, when the resource content of the first resource is stored in the first application server, in step S160, the resource information sent by the first application server to the first client may be the resource identifier of the first resource and the storage address of the resource content of the first resource in the first application server.

[0142] In some embodiments, there may be an intersection between the resources of the first resource type collected by the second account in the second application and the resources of the first resource type collected by the first account in the first application. In this case, the first application server can send the full amount of resource information of the first resource to the first client. After that, the first client can determine the resources in the first resource that are not in the resource collection list of the first account based on the resources in the resource collection list of the first account and the resource information of the first resource received. For ease of description, the resources in the first resource that are not collected by the first account in the first application are referred to as second target resources. Afterwards, the first client can add the second target resource to the resource collection list of the first account, so as to avoid duplicate resources in the resource collection list of the first account.

[0143] In other embodiments, after receiving the resource data returned by the second application server, the first application server may first filter the resources to determine the resources that the first account has not collected in the first application in the first resource. In this way, the first application server does not need to send the resource information of the resources that the first account has collected to the first client, thus avoiding sending invalid data to the first client.

[0144] In this case, if Figure 4 As shown, after step S140, the method further includes:

[0145] S1510: Obtain resource collection information of the first account in the first application.

[0146] The resource collection information indicates the resources that have been collected by the first account and belong to the first resource type.

[0147] S1520. According to the resource collection information and the resource data, determine, in the first resource, a first resource that is not collected by the first account in the first application as a second target resource.

[0148] The resource collection information includes resource information of each resource that has been collected by the first account and belongs to the first resource type, and the second target resource is a first resource in the first resource that has not been collected by the first account in the first application.

[0149] In S1520, the resources that have been collected by the first account in the first application are compared with the first resource to determine, in the first resource, resources that have not been collected by the first account in the first application as second target resources.

[0150] In some embodiments, the first application server can store resource content of accessible resources in the first application, and the resource collection list of each account in the first application can store the client corresponding to each account. In this case, the first application server can request the resource collection list of the first account from the first client, and then, according to the resource collection list of the first account, obtain the resource content of the resources belonging to the first resource type in the resource collection list of the first account from the stored resource content.

[0151] In some embodiments, if each account in the first application maintains a resource collection list according to resource type, the first application server can request the first client for the resource collection list corresponding to the first resource type of the first account, and then, according to the resource collection list corresponding to the first resource type of the first account, obtain the resource content of each resource in the resource collection list from the stored resource content. It can be understood that the resources in the resource collection list corresponding to the first resource type of the first account belong to the first resource type.

[0152] In some embodiments, the first application server is provided with a central storage area and a boundary storage area; the central storage area stores the resource collection set of each account in the first application; the resource collection set includes resource index information; the resource collection set of an account is used to indicate the resources collected by the account in the first application, the resource collection set includes resource index information of each collected resource, and the boundary storage area is used to store the resource content of the resource. Among them, the central storage area can be a database set in the first application server, the boundary storage area can be set on the boundary server close to the user side in the first application server, or on the content distribution device close to the user side, and the boundary storage area can be one or more. Among them, the resource index information can be obtained by encrypting the storage address information of the resource, and the storage address information of the resource is used to indicate the storage address of the resource content of the resource on the boundary storage area. In this case, the first application server can obtain the resource collection set of the first account from the central storage area, and decrypt the resource index information of each item therein to obtain the storage address information of each resource collected by the first account, and then obtain the resource content of each resource collected by the first account from the boundary storage area according to the storage address information of each resource collected by the first account.

[0153] In some embodiments, the resource data includes the resource content of each first resource; the resource collection information includes the resource content of each resource; S1520 includes: determining a first summary of each first resource based on the resource content of each first resource in the resource data; determining a second summary of each resource in the resource collection information based on the resource content of each resource in the resource collection information; and determining, based on the first summary and the second summary, a first resource in the first resource that has not been collected by the first account in the first application as a second target resource.

[0154] The resource content of the resource may be binary data, and the resource content of the resource may be hashed to obtain a summary of the resource. The hash algorithm used for the hashing may be an information-digest algorithm (eg, information-digest algorithm 5), a secure hash algorithm, or the like.

[0155] After obtaining the first summary of each first resource and the second summary of each resource in the resource collection information, each second summary is compared with the first summary. If there is a first summary that is the same as the second summary, it is determined that the first resource corresponding to the first summary has been collected by the first account in the first application. On the contrary, if there is no summary that is the same as the first summary in the second summary, it is determined that the first resource corresponding to the first summary has not been collected by the first account in the first application, and the first resource corresponding to the first summary can be used as the second target resource.

[0156] Correspondingly, in Figure 4 In a corresponding embodiment, step S160 includes step S1610, sending resource information of the second target resource to the first client; step S170 includes step S1710, adding the second target resource to the resource collection list of the first account.

[0157] By determining the second target resource, the second target resource is added to the resource collection list of the first account, thereby avoiding duplicate collection of the resources in the first resource that have been collected in the first account during the resource synchronization process.

[0158] In the present application, after receiving a resource synchronization request sent by the first client where the first account in the first application is located, the first application server determines the second account bound to the first account in the second application according to the resource synchronization request, and then sends a resource acquisition request to the second application server of the second application based on the second account and the first resource type; thereafter, the second application server returns the resource information of the first resource that the second account has collected in the second application and belongs to the first resource type in response to the resource acquisition request; thereafter, the first application server sends the resource information of the first resource to the first client to add the first resource to the resource collection list of the first account. Based on the above process, it is possible to automatically synchronize the resources of the first resource type collected by the second account to the resource collection list of the first account, without the need for the user to manually store the resources collected by the second account locally and then upload them to the resource collection list of the first account, thereby improving the efficiency of automatic synchronization of collection resources across applications.

[0159] In one embodiment, a central storage area and a boundary storage area are provided in the first application server; the central storage area stores a resource collection set of each account in the first application; the resource collection set includes resource index information; the resource information includes resource content; Figure 7As shown, after S150, the method further includes the following S310-S340, which are described in detail as follows:

[0160] S310: Store the resource content of the first resource in the boundary storage area, and obtain first storage address information of the first resource in the boundary storage area.

[0161] Among them, the central storage area in the first application server can be a database deployed in the first application server, and the boundary storage area in the first application server can be an edge device deployed in the first application server close to the user, and the edge device can be a CDN (Content Delivery Network) device.

[0162] The resource index information may be obtained by encrypting the storage address information of the resource.

[0163] In some embodiments, the second application server may also deploy a first central storage area and a first boundary storage area; the first central storage area stores a resource collection set of each account in the second application; the resource collection set includes resource index information; and the first boundary storage area stores the resource content of the resources accessible in the second application. On this basis, in S150, the resource information in the resource data sent by the second application server to the first application server may be the resource index information of each first resource. Correspondingly, before step S310, the first application server may decrypt the resource index information of the first resource, obtain the storage address information of the resource content of the first resource in the first boundary storage area, and then obtain the resource content of the first resource from the first boundary storage area of ​​the second application server according to the storage address information.

[0164] Since in this case the first application server needs to obtain the resource content of the first resource from the boundary storage area of ​​the second application server, the decryption algorithm of the first application server needs to correspond to the encryption algorithm of the second application server, that is, the decoding algorithm deployed by the first application server can accurately decrypt the encrypted content obtained by encrypting the second application server.

[0165] S320: Generate resource index information of the first resource based on the first storage address information, and store the resource index information of the first resource in the resource collection set of the first account in the central storage area.

[0166] Specifically, the first storage address information may be encrypted by an encryption algorithm to obtain the resource index information of the first resource. The encryption algorithm is, for example, the hash algorithm mentioned above.

[0167] It can be understood that storing the resource index information of the first resource in the resource collection set of the first account in the central storage area corresponds to indicating that the resource collection set maintained for the first account on the first application server has been updated, that is, the resource collection list maintained by the first account has been updated. It is worth mentioning that in the above S310-320, the resource content of the first resource stored in the boundary storage area can be the resource content of the second target resource mentioned above, and correspondingly, the resource index information added to the resource collection set of the first account is also the resource index information of the second target resource.

[0168] S330: Send first update notification information to the first client.

[0169] The first update notification information is used to indicate that the resource collected by the first account has been updated.

[0170] S340: Receive a collection resource pull request sent by the first client according to the first update notification information.

[0171] The collection resource pull request is used to request to pull the resource content of each resource in the latest resource collection list of the first account.

[0172] Correspondingly, in Figure 7 In a corresponding embodiment, S160 includes S1620: in response to the collection resource pull request, sending collection resource data to the first client; the collection resource data includes obtaining resource content of the corresponding resource from the boundary storage area according to the resource index information in the resource collection set of the first account;

[0173] S170 includes S1720, updating the resource collection list of the first account.

[0174] That is, the collection resource data includes the resource content of all the collection resources of the first account. When the first client where the first account is located receives the collection resource data, the collection resources in the collection resource data can be displayed in the resource collection list of the first account.

[0175] In this embodiment, resource index information is stored in the central storage area and the resource content storage boundary storage area, which can significantly increase the transmission speed of resource content and improve user experience when the user uses or views the collected resources.

[0176] In one embodiment, if Figure 8 As shown, after S110, the method further includes the following steps S210-250, wherein S210-S220 are executed by the second application server, S230-S240 are executed by the first application server, and S250 is executed by the first client, which are described in detail as follows:

[0177] S210: Receive new resource information sent by the second client where the second account is located.

[0178] The resource addition information is sent by the second account after the second resource belonging to the first resource type is added to the collection.

[0179] It is understandable that after the second application server sends the resource information of the resources that the second account has collected to the first application server, the user on the second account side may collect new resources. Therefore, when the collection resource synchronization function is turned on on the first account side, when the second account adds new collection resources, the newly added collection resources of the second account can also be synchronized to the first account to add the newly added collection resources of the second account to the resource collection list of the first account.

[0180] In some embodiments, when the first account turns on the collection resource synchronization function, the second account side can store the collection resource synchronization function turning on record of the first account. For example, after the second application server receives the resource acquisition request sent by the first application server, the second application server can also respond to the resource acquisition request and send a collection resource synchronization function turning on notification information to the second client where the second account is located. The collection resource synchronization function turning on notification information is used to notify the first account that the collection resource synchronization function has started. The second client where the second account is located can generate a collection resource synchronization function turning on record for the first account according to the collection resource synchronization function turning on notification information.

[0181] In this way, in the subsequent process, when the second client determines that there is a record of turning on the collection resource synchronization function for the first account, after detecting that the second account has newly collected a resource belonging to the first resource type, the second client sends new resource information to the second application server, and the new resource information includes the resource identifier of the second resource that is newly collected by the second account and belongs to the first resource type.

[0182] In the present application, after S140, the resource that is newly added to the favorites of the second account and belongs to the first resource type is referred to as a second resource.

[0183] In some embodiments, when the second client maintains a record of enabling the collection resource synchronization function for the first account, if the resource type of the newly collected resource by the second account is not the first resource type, the second client may not send resource information of the newly collected resource to the second application server.

[0184] In some embodiments, after the second application server receives the resource acquisition request sent by the first application server, the second application server generates a record of enabling the collection resource synchronization function for the first account and stores the record. Afterwards, the second application server can send a new resource pull request to the second client according to the record of enabling the collection resource synchronization function of the first account at a preset time interval, and the second client can respond to the new resource pull request and send the new resource information to the second application server. The time interval can be set according to actual needs and is not specifically limited here.

[0185] In some embodiments, when the second application server synchronously stores the resource collection information of the second account, for example, when the second application server stores the resource collection collection of each account, the second client can actively send the resource information (such as resource identifier) ​​of the newly added collection resource to the second application server when determining that the second account has newly added collection resources, so that the second application server updates the resource collection collection of the second account according to the resource information of the newly added collection resources. It is worth mentioning that in this case, even if the resource type of the newly added collection resource of the second account is not the first resource type, the second client will send the resource information of the newly added collection resource to the second application server.

[0186] S220: Obtain resource information of the second resource according to the newly added resource information.

[0187] The resource information of the second resource obtained may include resource content of the second resource. The second application server may obtain the resource content of the second resource from the resource content stored in the second application server according to the resource identifier of the second resource in the newly added resource information.

[0188] S230: Receive resource addition notification information sent by the second application server to the second account.

[0189] Among them, the resource addition notification information is sent by the second application server to the first application server after receiving the resource addition information sent by the second client where the second account is located. The resource addition notification information includes resource information of the second resource that is newly collected by the second account and belongs to the first resource type.

[0190] That is, after obtaining the resource information of the second resource, the second application server can send resource addition notification information to the first application server based on the resource information of the second resource. The resource addition notification information can include the second account and the resource information of the second resource.

[0191] In the case where the second application server stores the relevant records of opening or closing the favorite resources of the first account, if the second application server determines that the first account has not opened the favorite resource synchronization (or the first account has closed the favorite resource synchronization) based on the records stored for the first account, there is no need to send the resource addition notification information sent to the second account to the first application server.

[0192] S240: Send resource information of the second resource to the first client.

[0193] In some embodiments, the newly added resource notification information may also include an account bound to the second account in the first application (normally the first account) queried on the second application server side. After receiving the newly added resource notification information, the first application server may verify the binding relationship between the two accounts in the newly added resource notification information based on the account binding information stored in the first application server. After the binding relationship verification passes, the resource information of the second resource is sent to the first client.

[0194] In some embodiments, since the second resource newly collected by the second account may have been collected on the first account side, in order to avoid sending invalid data to the first client, after S230, the method also includes: obtaining resource collection information of the first account in the first application, the resource collection information indicates the resources that the first account has collected and belong to the first resource type; based on the resource collection information and the resource information of the second resource, determining in the second resource the second resource that has not been collected by the first account in the first application as the first target resource.

[0195] In some embodiments, a summary of each second resource is determined based on the resource content of each second resource in the resource information of each second resource; a summary of each resource in the resource collection information is determined based on the resource content of each resource; and based on the summary of the second resource and the summary of each resource in the resource collection information, a second resource that has not been collected by the first account in the first application is determined in the second resources as the first target resource.

[0196] The process of determining the summary of a resource based on the resource content is similar to the above and will not be described in detail.

[0197] Of course, if it is determined that the first account has collected the second resource in the first application, there is no need to send the resource information of the second resource to the first client.

[0198] After the first target resource is determined, in S240 , resource information of the first target resource is sent to the first client.

[0199] By determining a first target resource that is collected by the second account in the second application and belongs to the first resource type but is not collected by the first account in the first application, the first target resource is added to the resource collection list of the first account, thereby avoiding repeated collection of resources that have been collected in the first account.

[0200] As above, in the case where the first application server is provided with a central storage area and a boundary storage area, after determining the first target resource, the first application server may first store the resource content of the first target resource in the boundary storage area, and obtain the second storage address information of the first target resource in the boundary storage area; then, generate the resource index information of the first target resource based on the second storage address information, and store the resource index information of the first target resource in the resource collection set of the first account in the central storage area; then, send the first update notification information to the first client; then, receive the collection resource pull request sent by the first account in response to the first update notification information; and in response to the collection resource pull request, send the collection resource data to the first client, the collection resource data including the resource content of all resources in the resource collection set of the first account, and then, the first account may update the resource collection list of the first account according to the collection resource data to ensure that the resources in the resource collection list in the first client where the first account is located are the same as the resources involved in the resource collection set stored for the first account in the first application server.

[0201] S250: Add the second resource to the resource collection list of the first account.

[0202] If the first target resource in the second resource that has not been collected by the first account in the first application has been determined in the first application server, in S250, the first target resource is added to the resource collection list of the first account. In some embodiments, if the first application server sends the resource information of the full amount of the second resource to the first client, the first client can determine whether the second resource is already in the resource collection list of the first account based on the resource collection list of the first account and the resource information of the second resource. If not, the second resource is added to the resource collection list of the first account. If yes, there is no need to add the second resource to the resource collection list of the first account.

[0203] In the above embodiment, after the first client turns on the function of synchronizing favorite resources, not only the first resource belonging to the first resource type collected by the second account associated with the first account in the second application is automatically synchronized to the first account and added to the resource collection list of the first account, but also, after the second account adds a second resource belonging to the first resource type to the collection, the newly added second resource is automatically synchronized to the first account and added to the resource collection list of the first account. After adding the favorite resource to the second account, the user does not need to manually download the newly added favorite resource to the local computer and then upload it to the collection list of the first client, which greatly reduces user operations and improves user experience.

[0204] In one embodiment, after S110, the method further includes: generating and storing a first record for the first account according to the resource synchronization request; the first record is used to indicate that the first account has enabled resource synchronization.

[0205] Correspondingly, S240 includes: if it is determined according to the stored record for the first account that the first account has enabled resource synchronization, sending resource information of the second resource to the first client.

[0206] If it is determined according to the stored record for the first account that resource synchronization has been turned off for the first account, it is determined that resource synchronization for the first account is not required, and a second prompt message is sent to the second application server.

[0207] The second prompt information is used to prompt the second application server that the first account has closed resource synchronization.

[0208] After the first client turns on resource synchronization, it may turn off resource synchronization again some time later. In the above embodiment, when the first client turns on or off the collection resource synchronization function, the first application server generates and stores the record accordingly. In this way, it can be determined whether the collection resource synchronization is currently turned on for the first account based on the latest record stored for the first account, so as to determine whether the resource information of the second resource needs to be sent to the first client, thereby avoiding sending the resource information of the second resource to the first client when the collection resource synchronization has been turned off on the first account side, resulting in a waste of communication resources.

[0209] In one embodiment, when the first application server stores the resource collection set of each account in the first application, the resource collection set also includes the source information of the resource corresponding to each resource index information; Fig. 9 As shown, the method further includes the following S410 to S430, which are described in detail as follows:

[0210] S410: Receive a resource synchronization closing instruction sent by a first client.

[0211] As described above, the client of the first application can display a collection resource synchronization function control, and the user can operate the collection resource synchronization function control to turn on or off the resource synchronization function. Therefore, the first client corresponding to the first account can detect the resource synchronization closing operation triggered by the user for the collection resource synchronization function control, and send a resource synchronization closing instruction to the first application server, and the resource synchronization closing instruction is used to instruct to close the synchronization of the collection resources on the other application side.

[0212] Among them, the resource synchronization shutdown instruction can indicate the resource type and the application of the resource source. For example, if the resource type indicated by the resource synchronization shutdown instruction is an emoticon resource type, and the application indicating the resource source is a second application, then the resource synchronization shutdown instruction is used to instruct to shut down the synchronization of the emoticon package collected in the second application.

[0213] In some embodiments, if the client of the first application provides the user with a resource type selection when turning on the resource synchronization function, correspondingly, the resource type for the user to select can also be provided when turning off the resource synchronization function. Therefore, in this case, the resource synchronization closing instruction can also indicate the resource type to which the resource to be turned off for synchronization belongs, wherein the resource type indicated by the resource synchronization closing instruction can be one or two. In the case of providing resource types for the user to select, the user can selectively turn off the synchronization of resources of one or more resource types as needed.

[0214] In other embodiments, the resource type of the resource to be closed for synchronization indicated by the resource synchronization closing instruction may be a default one, such as closing the synchronization of emoticon packages by default.

[0215] In some embodiments, since the account in the first application can be associated with accounts in multiple other applications, the client of the first application can provide the user with the option of selecting an application (i.e., selecting the application as the source of resources to be synchronized) when turning on the resource synchronization function. Correspondingly, the client of the first application can also provide the user with the option of selecting an application when turning off the resource synchronization function. In this way, the user can choose to turn off the synchronization of resources from one or more other applications as needed.

[0216] In other embodiments, the client of the first application may provide the resource synchronization function with options for selecting resource types and selecting applications, so that the user can select resource types and select applications according to actual needs.

[0217] If the client of the first application has default settings for other applications and resource types involved in the resource synchronization function, the user does not need to select the application from which the resources come and the resource type to which the resources belong. The resource type indicated by the resource synchronization shutdown instruction and the application from which the indicated resources come are both default settings.

[0218] In one embodiment, after S410, the method further includes: in response to a resource synchronization closing instruction, generating and storing a second record for the first account; the second record is used to prompt that the first account has closed resource synchronization.

[0219] The generated second record facilitates the first application server to timely record the status of the resource synchronization function on the first account side (i.e., on or off), so that it is convenient to determine whether to send resource information of the newly added favorite resources of the second account to the first client based on the status of the resource synchronization function of the first account.

[0220] In some embodiments, the second record also corresponds to the application identifier and resource type of the resource source application indicated by the resource synchronization shutdown instruction. In this way, based on the second record, the first application server receives resource information of a newly added favorite resource from an account (assuming account B, assuming that account B is an account bound to the first account) in another application (assuming application A). If it is determined that the newly added favorite resource belongs to the resource type in the second record and the second record includes the application identifier of application A, the first application server determines that it is not necessary to send the resource information of the newly added favorite resource to the first client; if the records stored by the first application server for the first account do not include records related to the resource type and application A to which the newly added favorite resource belongs, the first application server determines that it is necessary to send the resource information of the newly added favorite resource to the first client.

[0221] In another embodiment, after S410, the method further includes: according to the resource synchronization closing instruction, based on the second account bound to the first account, sending a first prompt message to the second application server, the first prompt message being used to indicate that the first account bound to the second account has closed resource synchronization.

[0222] That is, when the first application server determines that the first account has closed the resource synchronization function, it actively sends the first prompt information to the second application server. In this way, when the second application server determines that the second account has added a new favorite resource, if it determines based on the first prompt information that the first account has closed the resource synchronization, the second application server does not need to send the resource information of the second account's newly added favorite resource to the first application server, thereby reducing the waste of communication resources. The first prompt information at least includes the first account.

[0223] In some embodiments, the first prompt information also includes the resource type indicated by the resource synchronization shutdown instruction. In this way, the second application server can determine, based on the resource type in the first prompt information, that the newly added favorite resource of the second account belongs to the resource type in the first prompt information. In this way, the second application server does not need to send the resource information of the newly added favorite resource of the second account to the first application server.

[0224] S420. In response to the resource synchronization closing instruction, based on the source information of the corresponding resources in the resource collection set of the first account, delete the resource index information of the resources originating from the second application in the resource collection set of the first account.

[0225] Among them, the source information is used to indicate the application from which the resource comes. For example, if a resource is synchronized from the second application to the first application and is collected, the source information of the resource is used to indicate that the resource comes from the second application. If a resource is collected on the first application, the source information of the resource is used to indicate that the resource comes from the first application.

[0226] In the case that the application indicated by the resource synchronization closing instruction is the second application, in S420, resource index information of resources originating from the second application is deleted from the resource collection set of the first account.

[0227] In some embodiments, the first application server may also delete the resource content of the resources from the second application in the resource collection set corresponding to the first account in the central storage area in response to the resource synchronization closing instruction.

[0228] In some embodiments, the resource content of the resources originating from the second application in the resource collection set corresponding to the first account in the central storage area may not be deleted. That is to say, although the resources originating from the second application in the resource collection list of the first account are deleted, the resource content stored in the central storage area is not deleted, so that it can be accessed by various clients in the first application.

[0229] In some implementations, after receiving the resource synchronization shutdown instruction, the first application server adds an asynchronous task to the asynchronous queue of the first application server, and the asynchronous task is used to delete the resource index information of the resources from the second application in the resource collection set of the first account. After adding the asynchronous task to the asynchronous queue, a deletion response message is sent to the first client, and the deletion response message is used to indicate that the deletion has been performed. In this way, since it takes a long time to delete the resource index information of the resources from the second application in the resource collection set of the first account, if the deletion response message is sent to the first client after the deletion is completed, the first account side will wait for the deletion response message for a long time. Therefore, sending the deletion response message to the first client after successfully adding the asynchronous task can reduce the waiting time on the first account side and realize asynchronous information deletion.

[0230] S430: Send a second update notification message to the first client, so that the first client updates the resource collection list of the first account according to the resource index information in the resource collection set of the first account in response to the second update notification message.

[0231] The second update notification is used to notify the first account that the resource index information in the resource collection set of the first account in the first application server has been updated.

[0232] Since the resource collection set of the first account involves the entire collection of the first account, the resources that the first account re-pulls from the resource index information in the resource collection set of the first account based on the second update notification information do not include the resources originating from the second application. In this way, the resource content obtained based on the resource index information in the resource collection set of the first account does not include the collection resources synchronized from the second account in the second application in the resource collection list displayed on the first client. As a result, the collection resources originating from the second account in the second application are removed from the resource collection list of the first account.

[0233] In another embodiment, as described above, since it takes a long time to delete the resource index information of the resources originating from the second application in the resource collection set of the first account, it is possible to detect on the first client side whether the user triggers a resource synchronization closing operation. If the triggered resource synchronization closing operation is detected in the display interface of the first client, the first resource originating from the second application is removed from the resource collection list of the first account to reduce the waiting time on the first account side.

[0234] The method of the present application is described below in conjunction with a specific embodiment.

[0235] Fig.10 is a schematic diagram of an application scenario according to another embodiment of the present application, such as Fig.10 As shown, a first client for logging into a first account in a first application, a second client for logging into a second account in a second application, a first application server, a second application server, and a transfer node are shown, wherein the first application server is used to provide services for the first application, and the second application server is used to provide services for the second application; the first application server, the transfer node is connected to both the first application server and the second application server, and the transfer node is used to convert the format of data or instructions transmitted by the first application server and the second application server. The first account and the second account have a binding relationship.

[0236] like Fig.10 As shown, the first application server is provided with a database and a boundary storage area. The database can be regarded as the central storage area of ​​the first application server. The database can be used to store resource collection sets (such as emoticon collection sets) of each account in the first application. The resource collection set includes resource index information of resources collected under the account; further, the database can also be used to store account binding information, such as accounts with binding relationship between the first application and the second application. The boundary storage area is used to store resource content of resources for users to access in the first application.

[0237] The second application server is provided with a first database and a first boundary storage area. The first database can be regarded as the central storage area of ​​the second application server. The first database can be used to store resource collection sets (such as emoticon collection sets) of each account in the second application. The resource collection set includes resource index information of resources collected under the account; further, the first database can also be used to store account binding information, such as accounts with binding relationship between the first application and the second application. The first boundary storage area is used to store resource content of resources in the second application for users to access.

[0238] based on Fig.10 In the application scenario, the emoticon package collected by the second account can be synchronized to the first client where the first account is located. The user can interact with the first client based on the interface of the first client, such as triggering the resource synchronization function to be turned on or off. Correspondingly, the user can interact with the second client based on the interface of the second client, such as collecting a new emoticon package.

[0239] Fig.11 is a schematic diagram of performing resource synchronization after the resource synchronization function is enabled according to an embodiment of the present application, based on Fig.10 In the application scenario shown, you can follow the following steps A1 to A13 to synchronize the resources collected by the second account to the first account and add them to the resource collection list of the first account. The details are as follows:

[0240] A1. Enable resource synchronization function. As described above, the user can trigger the collection resource synchronization function control in the interface of the first client to enable the resource synchronization function. Assume that the enabled resource synchronization function synchronizes the collection of the emoticons in the second application account to the account in the first application by default.

[0241] A2. Send a resource synchronization request. In response to a resource synchronization operation triggered by a user on a collection resource synchronization function control, the first client may send a resource synchronization request to the first application server, the resource synchronization request including a first resource type. In this embodiment, the first resource type is a resource type indicating an emoticon package.

[0242] A3. Determine the second account bound to the first account in the second application. The first application server can determine the second account bound to the first account in the second application based on the account binding relationship stored in the database.

[0243] A4. Send a resource acquisition request, which includes the second account and the first resource type, and is used to request to obtain the emoticon package information of the emoticon package collected by the second account in the second application.

[0244] A5. Send the converted resource acquisition request. The process of format conversion performed by the transit node is described above and will not be repeated here.

[0245] A6. Verify the binding relationship between the first account and the second account. The second application server receives the resource acquisition request sent by the first application server, and based on the account binding information stored in the second application server, verifies the binding relationship between the first account and the second account carried in the resource acquisition request. If it is determined that the first account and the second account have a binding relationship, execute the subsequent steps.

[0246] A7. Obtain the resource collection set of the second account. After determining that the first account and the second account have a binding relationship, the second application server obtains the resource collection set of the second account from the first database. The resource collection set of the second account includes resource index information of each resource (emoticon package) collected by the second account, wherein the resource index information is obtained by performing a hash calculation on the storage address information of the resource.

[0247] A8. Obtain resource data of the second account. The second application server may decode the resource index information of each resource in the resource collection set of the second account, determine the storage address information of each resource in the resource collection set of the second account, and obtain the resource content of each resource in the resource collection set of the second account from the first boundary storage area according to the storage address information. The resources collected by the second account are referred to as first resources.

[0248] A9. Send resource data. The resource data includes resource information of the first resource collected by the second account, and the resource information includes at least resource content of the resource, such as binary data of an emoticon package.

[0249] A10. Storing the resource content of the first resource; after receiving the resource data, the first application server may store the resource content of the first resource in the boundary storage area to obtain the storage address information of the first resource. In some embodiments, the first application server may also obtain the resource collection information of the first account to determine the resources that are not collected by the first account in the first resource as the second target resource, to store the resource content of the second target resource, and to update the resource collection list of the first account based on the second target resource.

[0250] A11. Update the resource collection set of the first account. That is, the first application server performs a hash calculation on the storage address information of the second target resource to obtain the resource index information of the second target resource, and adds the resource index information of the second target resource to the resource collection set of the first account in the database.

[0251] A12. Send resource data. The resource data includes the resource content of each resource in the resource collection set of the first account. After updating the resource collection set of the first account, the first application server can send a first update notification message to the first client, so that the first client sends a collection resource pull request to the first application server based on the first update notification message; the first application server responds to the collection resource pull request and obtains the resource content of the corresponding resource from the boundary storage area according to the resource index information of each resource in the resource collection set of the first account.

[0252] A13. Update the resource collection list of the first account. That is, the first client can present the resources involved in the resource collection set of the first account in the resource collection list of the first account based on the resource data. It can be understood that after the update, the resource collection list of the second account includes the second target resource.

[0253] based on Fig.10 In the application scenario shown in the figure, when the second account adds a new favorite emoticon package, you can follow Fig.12 The process shown in FIG. 1 synchronizes the newly added favorite emoticon package of the second account to the resource collection list of the first account, such as Fig.12 As shown, it includes the following steps B1 to B10, which are described in detail as follows:

[0254] B1. Collecting the second resource: The user can collect a new resource in the second client, that is, collect the second resource. The second resource can be an emoticon package.

[0255] B2. Sending newly added resource information. The newly added resource information is used to notify the second application server that the second account has added a second resource to its collection.

[0256] B3. Storing the resource content of the second resource. The second application server stores the resource content of the second resource in the first boundary storage area, and obtains the storage address information of the second resource.

[0257] B4. Storing resource index information: The second application server may perform hash calculation based on the storage address information of the second resource to obtain resource index information of the second resource, and then add the resource index information of the second resource to the resource collection set of the second account in the first database.

[0258] B5. Sending resource addition notification information. The resource addition notification information includes at least the second account and the resource information of the second resource (eg, resource content).

[0259] B6. Send the notification information of the newly added resource after the format conversion. For the specific process of format conversion, please refer to the above description.

[0260] B7. Verify the binding relationship between the first account and the second account. The binding relationship verification process can be found above.

[0261] B8. Determine the first target resource. The first application server receives the resource addition notification information, obtains the favorite resource information of the first account, and determines the resource that is not favorited by the first account in the second resource according to the resource addition notification information as the first target resource.

[0262] B9. Storing the resource content of the first target resource. The first application server stores the resource content of the first target resource in the boundary storage area, and obtains the storage address information of the first target resource.

[0263] B10. Storing resource index information of the first target resource; the first application server performs hash calculation on the storage address information of the first target resource to obtain resource index information of the first target resource, and stores the resource index information of the first target resource in the resource collection set of the first account in the database.

[0264] B11. Send the collection resource data of the first account. The collection resource data includes the resource content of each resource involved in the resource collection set of the first account.

[0265] B12, updating the resource collection list of the first account. The implementation process of steps B11-B12 is similar to the process of A12-A13 above, and will not be repeated here.

[0266] based on Fig.10 In the application scenario shown in the figure, if the resource synchronization function is disabled for the first account, you can follow Fig.13 The process shown is processed as follows: Fig.13 As shown, it includes the following steps C1 to C8, which are described in detail as follows:

[0267] C1. Turn off the resource synchronization function. The user can trigger the resource synchronization turn-off operation for the collection resource synchronization function control in the display interface of the first client to turn off the resource synchronization function. It is assumed that the turned-off resource synchronization function turns off the synchronization of the emoticon package collected by the account in the second application to the account in the first application by default.

[0268] C2. Send resource synchronization close command.

[0269] C3. Write a second record. The second record is used to indicate that the first account has disabled the function of synchronizing the emoticon package collected by the account in the second application to the account in the first application.

[0270] C4. Delivering an asynchronous task. The asynchronous task is used to delete the information related to the resource collected by the first account and originating from the second application.

[0271] C5. Delete resource content.

[0272] C6. Delete resource index information. This asynchronous task can be performed asynchronously to delete the resource content of the resource from the second application collected by the first account in the boundary storage area, and delete the resource index information of the resource from the second application collected by the first account in the database.

[0273] C7. Send a second update notification message; after deleting the information related to the resources from the second application collected by the first account, send a second update notification message to the first client, so that the first account re-requests to pull the resource content of each resource in the first account's latest resource collection set according to the second update notification message.

[0274] C8. Update the resource collection list of the first account. The first client may update the resource collection list of the first account according to the resource content of each resource in the latest resource collection set of the first account pulled from the first application server, so as to ensure that the resources involved in the resource collection list of the first account are consistent with the resources involved in the latest resource collection set of the first account.

[0275] The following describes an apparatus embodiment of the present application, which can be used to execute the method in the above-mentioned embodiment of the present application. For details not disclosed in the apparatus embodiment of the present application, please refer to the above-mentioned method embodiment of the present application.

[0276] Fig.14 is a block diagram of a resource synchronization device according to an embodiment of the present application, which can be applied to a first application server of a first application, such as Fig.14 As shown, the resource synchronization device includes:

[0277] A first receiving module 910 is configured to receive a resource synchronization request sent by a first client where a first account in a first application resides, where the resource synchronization request includes a first resource type of a resource to be synchronized;

[0278] A determination module 920, configured to determine, according to the resource synchronization request, a second account bound to the first account in the second application, where the second application is different from the first application;

[0279] A first sending module 930, configured to send a resource acquisition request to a second application server of a second application based on the second account and the first resource type;

[0280] The second receiving module 940 is used to receive resource data returned by the second application server in response to the resource acquisition request, where the resource data includes resource information of a first resource that is collected by the second account in the second application and belongs to the first resource type;

[0281] The second sending module 950 is configured to send resource information of the first resource to the first client to add the first resource to the resource collection list of the first account.

[0282] Optionally, the resource synchronization device also includes a resource addition module, which is used to receive resource addition notification information sent by the second application server to the second account. The resource addition notification information is sent by the second application server to the first application server after receiving the resource addition information sent by the second client where the second account is located. The resource addition notification information includes resource information of a second resource that is newly collected by the second account and belongs to the first resource type; the resource information of the second resource is sent to the first client to add the second resource to the resource collection list of the first account.

[0283] Optionally, a central storage area and a boundary storage area are provided in the first application server; the central storage area stores a resource collection set of each account in the first application; the resource collection set includes resource index information; the resource information includes resource content; the resource synchronization device also includes a notification module, the notification module is used to store the resource content of the first resource in the boundary storage area, obtain the first storage address information of the first resource in the boundary storage area; generate the resource index information of the first resource based on the first storage address information, and store the resource index information of the first resource in the resource collection set of the first account in the central storage area; send a first update notification information to the first client; receive a collection resource pull request sent by the first client according to the first update notification information.

[0284] Optionally, the second sending module 950 is further used to send collection resource data to the first client in response to the collection resource pull request, and the collection resource data includes obtaining resource content of the corresponding resource from the boundary storage area according to the resource index information in the resource collection set of the first account.

[0285] Optionally, the resource collection set also includes source information of resources corresponding to each resource index information; the resource synchronization device also includes an update module, the update module is used to receive a resource synchronization shutdown instruction sent by the first client; in response to the resource synchronization shutdown instruction, based on the source information of the corresponding resources in the resource collection set of the first account, the resource index information of the resources originating from the second application is deleted in the resource collection set of the first account; and a second update notification information is sent to the first client, so that the first client responds to the second update notification information and updates the resource collection list of the first account according to the resource index information in the resource collection set of the first account.

[0286] Optionally, the resource synchronization device also includes a third sending module, which is used to send a first prompt message to the second application server according to the resource synchronization shutdown instruction and based on the second account bound to the first account, and the first prompt message is used to indicate that the first account bound to the second account has closed resource synchronization.

[0287] Optionally, the resource synchronization device further includes a generation module, which is used to generate and store a first record for the first account according to the resource synchronization request; the first record is used to indicate that the first account has enabled resource synchronization.

[0288] Optionally, the resource adding module is further configured to send resource information of the second resource to the first client if it is determined, based on the stored record for the first account, that the first account has enabled resource synchronization.

[0289] Optionally, the resource synchronization device also includes a resource synchronization determination module, which is used to determine that resource synchronization is not required for the first account if it is determined based on the stored records for the first account that the first account has closed resource synchronization, and send a second prompt message to the second application server.

[0290] Optionally, the resource synchronization device also includes a resource collection determination module, which is used to obtain resource collection information of the first account in the first application, the resource collection information indicating resources that the first account has collected and belong to the first resource type; based on the resource collection information and resource information of the second resource, determine in the second resource a second resource that the first account has not collected in the first application as the first target resource.

[0291] Optionally, the resource adding module is further used to send resource information of the first target resource to the first client.

[0292] Optionally, the resource information includes resource content; the resource collection information includes resource content of each resource; the resource collection determination module includes a first summary determination unit, a second summary determination unit and a target resource determination unit, wherein:

[0293] A first summary determination unit, configured to determine a first summary of each second resource according to the resource content of each second resource in the resource information of each second resource;

[0294] A second summary determination unit, configured to determine a second summary of each resource in the resource collection information according to the resource content of each resource in the resource collection information;

[0295] The target resource determining unit is used to determine, according to the first summary and the second summary, a second resource in the second resource that is not collected by the first account in the first application as the first target resource.

[0296] Fig.15is a block diagram of a resource synchronization device according to another embodiment of the present application, which can be applied to a second application server of a second application, such as Fig.15 As shown, the resource synchronization device includes:

[0297] The third receiving module 1010 is used to receive a resource acquisition request sent by the first application server of the first application; the resource acquisition request is sent by the first application server after receiving a resource synchronization request sent by the first client where the first account in the first application is located, based on the first resource type in the resource synchronization request and the second account bound to the first account in the second application; the second application is an application different from the first application;

[0298] An acquisition module 1020 is used to obtain resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type in response to the resource acquisition request;

[0299] The fourth sending module 1030 is used to send resource data to the first application server according to resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type, so as to add the first resource to the resource collection list of the first account based on the resource data.

[0300] Optionally, the resource synchronization device also includes a first resource adding module, which is used to receive resource adding information sent by a second client where the second account is located, and the resource adding information is sent by the second account after adding a second resource belonging to the first resource type to the collection; obtain resource information of the second resource based on the resource adding information; and send resource adding notification information to the first application server based on the resource information of the second resource, so as to add the second resource to the resource collection list of the first account based on the resource adding notification information.

[0301] Optionally, the first resource addition module includes a prompt information determination unit, which is used to send resource addition notification information to the first application server based on resource information of the second resource if it is determined that the first account has turned on resource synchronization based on the prompt information from the first application server.

[0302] Optionally, the resource synchronization device further includes a first resource synchronization determination module, which is used to determine that resource synchronization is not required for the first account if it is determined based on prompt information from the first application server that resource synchronization has been closed for the first account.

[0303] Optionally, the resource acquisition request includes a first account and a second account; the resource synchronization device also includes a verification module, which is used to verify the binding relationship between the first account and the second account based on the account binding information stored in the second application server to obtain a verification result.

[0304] Optionally, the acquisition module 1020 is further configured to acquire resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type if the verification result indicates that the first account and the second account have a binding relationship.

[0305] Optionally, the resource synchronization device includes a fourth receiving module, which is used to receive a first prompt message sent by the first application server, and the first prompt message is used to indicate that the first account bound to the second account has closed resource synchronization. The first prompt message is sent by the first application server after receiving the resource synchronization closing instruction sent by the first client.

[0306] Fig.16 is a block diagram of a resource synchronization device according to another embodiment of the present application, which can be applied to a first client where a first account in a first application is located, such as Fig.16 As shown, the resource synchronization device includes:

[0307] A fifth sending module 1110 is configured to send a resource synchronization request to a first application server of a first application if a triggered resource synchronization operation is detected in a display interface of the first client; the resource synchronization request includes a first resource type;

[0308] The fifth receiving module 1120 is used to receive resource information of the first resource returned by the first application server; the first resource refers to a resource that is collected by the second account in the second application and belongs to the first resource type; the second account refers to an account bound to the first account in the second application; the resource information is obtained by the first application server requesting the second application server of the second application according to the resource synchronization request, and the second application is an application different from the first application;

[0309] The display module 1130 is configured to display the first resource in the resource collection list of the first account according to the resource information of the first resource.

[0310] Optionally, the resource synchronization device includes a removal module, which is used to remove the first resource from the second application from the resource collection list of the first account if a triggered resource synchronization closing operation is detected in the display interface of the first client.

[0311] Fig.17 A structural schematic diagram of a computer system of an electronic device suitable for implementing an embodiment of the present application is shown. The electronic device can be an electronic device serving as a first application server or an electronic device serving as a second application server. The electronic device can be used to execute the method provided in the above method embodiment.

[0312] It should be noted that Fig.17The computer system 1200 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0313] like Fig.17 As shown, the computer system 1200 includes a central processing unit (CPU) 1201, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1202 or the program loaded from the storage part 1208 to the random access memory (RAM) 1203, such as executing the method in the above embodiment. Various programs and data required for system operation are also stored in the RAM 1203. The CPU 1201, ROM 1202 and RAM 1203 are connected to each other through a bus 1204. The input / output (I / O) interface 1205 is also connected to the bus 1204.

[0314] The following components are connected to the I / O interface 1205: an input section 1206 including a keyboard, a mouse, etc.; an output section 1207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1208 including a hard disk, etc.; and a communication section 1209 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1209 performs communication processing via a network such as the Internet. A drive 1210 is also connected to the I / O interface 1205 as needed. A removable medium 1211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1210 as needed so that a computer program read therefrom is installed into the storage section 1208 as needed.

[0315] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 1209, and / or installed from a removable medium 1211. When the computer program is executed by the central processing unit (CPU) 1201, various functions defined in the system of the present application are executed.

[0316] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a 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 above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0317] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0318] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0319] As another aspect, the present application further provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments; or may exist independently without being assembled into the electronic device. The above computer-readable storage medium carries computer-readable instructions, and when the computer-readable storage instructions are executed by a processor, the method in any of the above embodiments is implemented.

[0320] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of the overall module or unit of the module or unit function.

[0321] According to one aspect of the embodiments of the present application, a computer program product is provided, the computer program product including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the method in any of the above embodiments.

[0322] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0323] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution according to the implementation method of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation method of the present application.

[0324] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.

[0325] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A resource synchronization method, characterized in that: The method applied to a first application server of a first application includes: receiving a resource synchronization request sent by a first client of a first account in the first application, wherein the resource synchronization request includes a first resource type of a resource to be synchronized; upon detecting a resource synchronization operation triggered by a collection resource synchronization function control, the first client sends a resource synchronization request to a first application server; Determining, according to the resource synchronization request, a second account bound to the first account in a second application, where the second application is an application different from the first application; Based on the second account and the first resource type, sending a resource acquisition request to a second application server of the second application; receiving resource data returned by the second application server in response to the resource acquisition request, the resource data including resource information of a first resource that is collected by the second account in the second application and belongs to the first resource type; the resource information includes a resource identifier and resource content; Sending resource information of the first resource to the first client to add the first resource to a resource collection list of the first account; The first application server is provided with a central storage area and a boundary storage area; the central storage area stores a resource collection set of each account in the first application; the resource collection set includes resource index information; After receiving the resource data returned by the second application server in response to the resource acquisition request, the method further includes: Storing the resource content of the first resource in the boundary storage area, and obtaining first storage address information of the first resource in the boundary storage area; Generate resource index information of the first resource based on the first storage address information, and store the resource index information of the first resource in the resource collection set of the first account in the central storage area; Sending first update notification information to the first client; receiving a collection resource pull request sent by the first client according to the first update notification information; The sending the resource information of the first resource to the first client includes: In response to the collection resource pull request, collection resource data is sent to the first client, the collection resource data including resource content of the corresponding resource obtained from the boundary storage area according to resource index information in the resource collection set of the first account.

2. The method according to claim 1, characterized in that After receiving the resource synchronization request sent by the first client where the first account in the first application is located, the method further includes: receiving resource addition notification information sent by the second application server to the second account, wherein the resource addition notification information is sent by the second application server to the first application server after receiving the resource addition information sent by the second client where the second account is located, and the resource addition notification information includes resource information of a second resource that is newly collected by the second account and belongs to the first resource type; Send resource information of the second resource to the first client to add the second resource to the resource collection list of the first account.

3. The method according to claim 1, characterized in that The resource collection set also includes source information of resources corresponding to each resource index information; The method further comprises: Receiving a resource synchronization closing instruction sent by the first client; In response to the resource synchronization closing instruction, deleting resource index information of resources originating from the second application in the resource collection set of the first account according to source information of corresponding resources in the resource collection set of the first account; Sending second update notification information to the first client, so that the first client responds to the second update notification information and updates the resource collection list of the first account according to the resource index information in the resource collection set of the first account.

4. The method according to claim 3, characterized in that After receiving the resource synchronization closing instruction sent by the first client, the method further includes: According to the resource synchronization closing instruction, based on the second account bound to the first account, a first prompt message is sent to the second application server, wherein the first prompt message is used to indicate that the first account bound to the second account has closed resource synchronization.

5. The method according to claim 2, characterized in that: After receiving the resource synchronization request sent by the first client where the first account in the first application is located, the method further includes: Generate and store a first record for the first account according to the resource synchronization request; the first record is used to indicate that the first account has enabled resource synchronization; The sending the resource information of the second resource to the first client where the first account bound to the second account is located includes: If it is determined according to the stored record for the first account that the first account has enabled resource synchronization, the resource information of the second resource is sent to a first client where the first account bound to the second account is located.

6. The method according to claim 5, characterized in that After receiving the resource addition notification information sent by the second application server to the second account, the method further includes: If it is determined according to the stored record for the first account that the first account has closed resource synchronization, it is determined that resource synchronization for the first account is not required, and a second prompt message is sent to the second application server.

7. The method according to claim 2, characterized in that Before sending the resource information of the second resource to the first client, the method further includes: Acquire resource collection information of the first account in the first application, where the resource collection information indicates resources that the first account has collected and belong to the first resource type; According to the resource collection information and the resource information of the second resource, determining, in the second resource, a second resource that has not been collected by the first account in the first application as a first target resource; The sending the resource information of the second resource to the first client includes: Send resource information of the first target resource to the first client.

8. The method according to claim 7, characterized in that The resource collection information includes the resource content of each resource; The determining, in the second resource according to the resource collection information and the resource information of the second resource, a second resource that is not collected by the first account in the first application as a first target resource includes: Determining a first summary of each second resource according to the resource content of each second resource in the resource information of each second resource; Determining a second summary of each resource in the resource collection information according to the resource content of each resource in the resource collection information; According to the first summary and the second summary, a second resource that is not favorited by the first account in the first application is determined in the second resource as a first target resource.

9. A resource synchronization method, characterized in that: The second application server applied to the second application, the method comprising: receiving a resource acquisition request sent by a first application server of a first application; the resource acquisition request is sent by the first application server after receiving a resource synchronization request sent by a first client where a first account in the first application is located, based on a first resource type in the resource synchronization request and a second account bound to the first account in the second application; the first client sends a resource synchronization request to the first application server upon detecting a resource synchronization operation triggered by a collection resource synchronization function control; the second application is an application different from the first application; In response to the resource acquisition request, obtaining resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type; the resource information includes a resource identifier and resource content; Sending resource data to the first application server according to resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type, so as to add the first resource to the resource collection list of the first account based on the resource data; The first application server is provided with a central storage area and a boundary storage area; the central storage area stores a resource collection set of each account in the first application; the resource collection set includes resource index information; The first application server performs the following processing after receiving the resource data: stores the resource content of the first resource in the boundary storage area, and obtains the first storage address information of the first resource in the boundary storage area; generates resource index information of the first resource based on the first storage address information, and stores the resource index information of the first resource in the resource collection set of the first account in the central storage area; sends a first update notification message to the first client; if a collection resource pull request sent by the first client according to the first update notification message is received, sends collection resource data to the first client, and the collection resource data includes obtaining the resource content of the corresponding resource from the boundary storage area according to the resource index information in the resource collection set of the first account.

10. The method according to claim 9, characterized in that After receiving the resource acquisition request sent by the first application server of the first application, the method further includes: receiving resource addition information sent by a second client where the second account is located, wherein the resource addition information is sent by the second account after the second resource belonging to the first resource type is newly added to the collection; Acquire resource information of the second resource according to the newly added information of the resource; According to the resource information of the second resource, resource addition notification information is sent to the first application server, so as to add the second resource to the resource collection list of the first account according to the resource addition notification information.

11. The method according to claim 10, characterized in that The sending resource addition notification information to the first application server according to the resource information of the second resource includes: If it is determined according to the prompt information from the first application server that the first account has enabled resource synchronization, resource addition notification information is sent to the first application server according to the resource information of the second resource.

12. The method according to claim 10, characterized in that After receiving the resource addition information sent by the second client where the second account is located, the method further includes: If it is determined according to the prompt information from the first application server that the first account has closed resource synchronization, it is determined that resource synchronization to the first account is not required.

13. The method according to claim 9, characterized in that The resource acquisition request includes the first account and the second account; Before obtaining resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type, the method further includes: Based on the account binding information stored in the second application server, verify the binding relationship between the first account and the second account to obtain a verification result; The obtaining resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type includes: If the verification result indicates that the first account and the second account have a binding relationship, resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type is obtained.

14. The method according to claim 9, characterized in that The method further comprises: Receive first prompt information sent by the first application server, where the first prompt information is used to indicate that the first account bound to the second account has closed resource synchronization, and the first prompt information is sent by the first application server after receiving a resource synchronization closing instruction sent by the first client.

15. A resource synchronization method, characterized in that: Applied to a first client where a first account in a first application resides, the method includes: If a resource synchronization operation triggered by a collection resource synchronization function control is detected in the display interface of the first client, a resource synchronization request is sent to the first application server of the first application; the resource synchronization request includes a first resource type; a central storage area and a boundary storage area are provided in the first application server; the central storage area stores a resource collection set of each account in the first application; the resource collection set includes resource index information; Receive first update notification information sent by the first application server; the first update notification information is sent by the first application server after storing resource index information of the first resource in the resource collection set of the first account in the central storage area, and the resource index information of the first resource is generated by the first application server after storing the resource content of the first resource in the boundary storage area according to the first storage address information of the first resource in the boundary storage area; the first resource refers to a resource collected by the second account in the second application and belonging to the first resource type; the second account refers to an account bound to the first account in the second application; the resource information of the first resource is obtained by the first application server requesting the second application server of the second application according to the resource synchronization request, and the second application is an application different from the first application; the resource information includes a resource identifier and resource content; Based on the first update notification information, sending a collection resource pull request to the first application server; Receiving the collection resource data returned by the first application server in response to the collection resource pull request; the collection resource data includes obtaining resource content of the corresponding resource from the boundary storage area according to the resource index information in the resource collection set of the first account; The first resource is displayed in the resource collection list of the first account according to the resource information of the first resource in the collection resource data.

16. A resource synchronization device, characterized in that: The first application server applied to the first application includes: A first receiving module is configured to receive a resource synchronization request sent by a first client where a first account in the first application is located, wherein the resource synchronization request includes a first resource type of a resource to be synchronized; upon detecting a resource synchronization operation triggered by a collection resource synchronization function control, the first client sends a resource synchronization request to a first application server; A determination module, configured to determine, according to the resource synchronization request, a second account bound to the first account in a second application, where the second application is an application different from the first application; A first sending module, configured to send a resource acquisition request to a second application server of the second application based on the second account and the first resource type; A second receiving module is used to receive resource data returned by the second application server in response to the resource acquisition request, wherein the resource data includes resource information of a first resource that is collected by the second account in the second application and belongs to the first resource type; the resource information includes a resource identifier and resource content; a second sending module, configured to send resource information of the first resource to the first client, so as to add the first resource to a resource collection list of the first account; The first application server is provided with a central storage area and a boundary storage area; the central storage area stores a resource collection set of each account in the first application; the resource collection set includes resource index information; A notification module, configured to store the resource content of the first resource in the boundary storage area, obtain the first storage address information of the first resource in the boundary storage area; generate the resource index information of the first resource based on the first storage address information, and store the resource index information of the first resource in the resource collection set of the first account in the central storage area; send the first update notification information to the first client; receive the collection resource pull request sent by the first client according to the first update notification information; The sending the resource information of the first resource to the first client includes: In response to the collection resource pull request, collection resource data is sent to the first client, the collection resource data including resource content of the corresponding resource obtained from the boundary storage area according to resource index information in the resource collection set of the first account.

17. The device according to claim 16, characterized in that The resource synchronization device also includes: A resource addition module is used to receive resource addition notification information sent by the second application server to the second account, wherein the resource addition notification information is sent by the second application server to the first application server after receiving the resource addition information sent by the second client where the second account is located, and the resource addition notification information includes resource information of a second resource that is newly collected by the second account and belongs to the first resource type; and the resource information of the second resource is sent to the first client to add the second resource to the resource collection list of the first account.

18. The device according to claim 16, characterized in that The resource collection set also includes source information of resources corresponding to each resource index information; The resource synchronization device also includes: An update module is used to receive a resource synchronization shutdown instruction sent by the first client; in response to the resource synchronization shutdown instruction, delete the resource index information of the resources originating from the second application in the resource collection set of the first account according to the source information of the corresponding resources in the resource collection set of the first account; and send a second update notification message to the first client, so that the first client responds to the second update notification message and updates the resource collection list of the first account according to the resource index information in the resource collection set of the first account.

19. The device according to claim 18, characterized in that The resource synchronization device also includes: The third sending module is used to send a first prompt message to the second application server according to the resource synchronization closing instruction and based on the second account bound to the first account, wherein the first prompt message is used to indicate that the first account bound to the second account has closed resource synchronization.

20. The device according to claim 17, characterized in that The resource synchronization device also includes: A generating module, configured to generate and store a first record for the first account according to the resource synchronization request; the first record is used to indicate that the first account has enabled resource synchronization; The resource adding module is further configured to send resource information of the second resource to a first client where the first account bound to the second account is located if it is determined that the first account has enabled resource synchronization according to the stored record for the first account.

21. The device according to claim 20, characterized in that The resource synchronization device also includes: The resource synchronization determination module is used to determine that resource synchronization is not required for the first account if it is determined according to the stored record for the first account that the first account has closed resource synchronization, and send a second prompt message to the second application server.

22. The device according to claim 17, characterized in that The resource synchronization device also includes: a resource collection determination module, configured to obtain resource collection information of the first account in the first application, wherein the resource collection information indicates resources that the first account has collected and belong to the first resource type; and determine, in the second resource, a second resource that the first account has not collected in the first application as a first target resource according to the resource collection information and resource information of the second resource; The resource adding module is further used to send resource information of the first target resource to the first client.

23. The device according to claim 22, characterized in that The resource collection information includes the resource content of each resource; the resource collection determination module includes: A first summary determination unit, configured to determine a first summary of each second resource according to the resource content of each second resource in the resource information of each second resource; A second summary determination unit, configured to determine a second summary of each resource in the resource collection information according to the resource content of each resource in the resource collection information; The target resource determining unit is configured to determine, according to the first summary and the second summary, a second resource in the second resource that is not favorited by the first account in the first application, as a first target resource.

24. A resource synchronization device, characterized in that: The second application server applied to the second application includes: A third receiving module is used to receive a resource acquisition request sent by a first application server of a first application; the resource acquisition request is sent by the first application server after receiving a resource synchronization request sent by a first client where a first account in the first application is located, based on a first resource type in the resource synchronization request and a second account bound to the first account in the second application; the first client sends a resource synchronization request to the first application server upon detecting a resource synchronization operation triggered by a collection resource synchronization function control; the second application is an application different from the first application; an acquisition module, configured to, in response to the resource acquisition request, acquire resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type; the resource information includes a resource identifier and resource content; a fourth sending module, configured to send resource data to the first application server according to resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type, so as to add the first resource to the resource collection list of the first account based on the resource data; The first application server is provided with a central storage area and a boundary storage area; the central storage area stores a resource collection set of each account in the first application; the resource collection set includes resource index information; The first application server performs the following processing after receiving the resource data: stores the resource content of the first resource in the boundary storage area, and obtains the first storage address information of the first resource in the boundary storage area; generates resource index information of the first resource based on the first storage address information, and stores the resource index information of the first resource in the resource collection set of the first account in the central storage area; sends a first update notification message to the first client; if a collection resource pull request sent by the first client according to the first update notification message is received, sends collection resource data to the first client, and the collection resource data includes obtaining the resource content of the corresponding resource from the boundary storage area according to the resource index information in the resource collection set of the first account.

25. The device according to claim 24, characterized in that The resource synchronization device also includes: The first resource addition module is used to receive resource addition information sent by the second client where the second account is located, the resource addition information is sent by the second account after adding a second resource belonging to the first resource type to the collection; obtain resource information of the second resource based on the resource addition information; and send resource addition notification information to the first application server based on the resource information of the second resource, so as to add the second resource to the resource collection list of the first account based on the resource addition notification information.

26. The device according to claim 25, characterized in that The first resource new adding module includes: The prompt information determining unit is used to send resource addition notification information to the first application server according to the resource information of the second resource if it is determined that the first account has enabled resource synchronization according to the prompt information from the first application server.

27. The device according to claim 25, characterized in that The resource synchronization device also includes: The first resource synchronization determination module is used to determine that resource synchronization is not required for the first account if it is determined according to the prompt information from the first application server that the first account has closed resource synchronization.

28. The device according to claim 24, characterized in that The resource acquisition request includes the first account and the second account; The resource synchronization device also includes: A verification module, configured to verify the binding relationship between the first account and the second account based on the account binding information stored in the second application server, and obtain a verification result; The acquisition module is further configured to, if the verification result indicates that the first account and the second account have a binding relationship, acquire resource information of each first resource that is collected by the second account in the second application and belongs to the first resource type.

29. The device according to claim 24, characterized in that The resource synchronization device also includes: The fourth receiving module is used to receive the first prompt information sent by the first application server, where the first prompt information is used to indicate that the first account bound to the second account has closed resource synchronization, and the first prompt information is sent by the first application server after receiving the resource synchronization closing instruction sent by the first client.

30. A resource synchronization device, characterized in that: The first client of the first account in the first application includes: A fifth sending module is used to send a resource synchronization request to the first application server of the first application if a resource synchronization operation triggered by a collection resource synchronization function control is detected in the display interface of the first client; the resource synchronization request includes a first resource type; a central storage area and a boundary storage area are provided in the first application server; the central storage area stores a resource collection set of each account in the first application; the resource collection set includes resource index information; a fifth receiving module, configured to receive a first update notification message sent by the first application server; the first update notification message is sent by the first application server after storing the resource index information of the first resource in the resource collection set of the first account in the central storage area, and the resource index information of the first resource is generated by the first application server after storing the resource content of the first resource in the boundary storage area according to the first storage address information of the first resource in the boundary storage area; the first resource refers to a resource collected by the second account in the second application and belonging to the first resource type; the second account refers to an account bound to the first account in the second application; the resource information of the first resource is obtained by the first application server from the second application server of the second application according to the resource synchronization request, and the second application is an application different from the first application; the resource information includes a resource identifier and a resource content; based on the first update notification message, sending a collection resource pull request to the first application server; receiving the collection resource data returned by the first application server in response to the collection resource pull request; the collection resource data includes the resource content of the corresponding resource obtained from the boundary storage area according to the resource index information in the resource collection set of the first account; The display module is used to display the first resource in the resource collection list of the first account according to the resource information of the first resource in the collection resource data.

31. An electronic device, characterized in that: include: processor; A memory having computer instructions stored thereon, wherein when the computer instructions are executed by the processor, the method according to any one of claims 1 to 15 is implemented.

32. A computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the method according to any one of claims 1 to 15.

33. A computer program product comprising computer instructions, characterized in that When the computer instructions are executed by a processor, the method according to any one of claims 1 to 15 is implemented.