Information sharing methods, devices, terminals and storage media

Information sharing applications allow target users to join shared information sets and view historical changes to shared information, overcoming the limitations of existing technologies that rely on friend relationships and enabling broader information sharing application scenarios and resource savings.

CN114840279BActive Publication Date: 2026-05-26TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2021-01-14
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Existing information sharing technologies mainly rely on friendships or following relationships between users, which limits their application scenarios and prevents their widespread adoption.

Method used

Information sharing applications allow target users to join shared information sets and display historical changes to the shared information. Regardless of whether the sharing users are friends, users can see the changes to the shared information, and the terminal or server does not need to maintain friend relationships.

Benefits of technology

It enriches the application scenarios of information sharing, saves the resource consumption of storing user friend relationships, and improves the efficiency of information sharing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114840279B_ABST
    Figure CN114840279B_ABST
Patent Text Reader

Abstract

This invention discloses an information sharing method, apparatus, terminal, and storage medium. The method includes: displaying a user interface of an information sharing application, the user interface including a marker for at least one shared information set joined by a target user and a browsing trigger option; if the browsing trigger option is selected, switching from displaying the user interface to displaying a content sharing interface within the information sharing application, and displaying historical change information of shared information in each of the at least one shared information set in the content sharing interface; wherein, the historical change information of shared information in any shared information set is used to indicate shared information newly added or deleted by a non-contact user of the target user in any shared information set at any historical time. This invention enriches the sharing methods and application scenarios of information sharing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the Internet field, and more particularly to an information sharing method, apparatus, terminal, and storage medium. Background Technology

[0002] In a broad sense, information sharing refers to the exchange and sharing of information and information products between information systems at different levels and in different departments. It involves sharing information—a resource whose importance is increasingly evident in the internet age—with others to achieve more rational resource allocation, save social costs, and create more wealth. For example, employees within the same company can share necessary office information resources such as website addresses, photos, and data.

[0003] Information sharing is a crucial means of improving information resource utilization and avoiding duplication and waste in information collection, storage, and management in the modern era. Currently, most technologies for information sharing are based on the premise that users are friends or follow each other. For example, in social applications, users who are friends can browse and share each other's photo albums and other information; similarly, on some information publishing platforms, readers need to follow the information publisher to view their posts. Because the application scenarios of this method of information sharing are relatively limited, it cannot be widely adopted. Therefore, how to effectively achieve information sharing has become a hot research topic in the field today. Summary of the Invention

[0004] This invention provides an information sharing method, apparatus, terminal, and storage medium, which can enrich the sharing methods and application scenarios of information sharing.

[0005] On one hand, embodiments of the present invention provide an information sharing method, including:

[0006] The user interface of the information sharing application is displayed. The user interface includes a flag for at least one shared information set that the target user has joined and a browsing trigger option for triggering browsing of the historical change information of shared information in each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined the at least one shared information set, and the at least one sharing user includes the target user and non-contact users of the target user.

[0007] If the browsing trigger option is selected, the display user interface will switch to the content sharing interface in the information sharing application. The content sharing interface will display the historical change information of the shared information in each of at least one shared information set. The historical change information of the shared information in any shared information set is used to indicate any shared information newly added or deleted by any sharing user in any shared information set at any historical time.

[0008] On one hand, embodiments of the present invention provide an information sharing device, including:

[0009] The display unit is used to display the user interface of the information sharing application. The user interface includes a flag indicating that the target user has joined at least one shared information set and a browsing trigger option. The browsing trigger option is used to trigger browsing of the historical change information of the shared information in each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined any shared information set. The at least one sharing user includes the target user and non-contact users of the target user.

[0010] The display unit is also configured to switch from displaying the user interface to displaying the content sharing interface in the information sharing application if the browsing trigger option is selected, and to display historical change information of the shared information in each of the at least one shared information set in the content sharing interface. The historical change information of the shared information in any shared information set is used to indicate any shared information newly added or deleted by any sharing user in any shared information set at any historical time.

[0011] In one embodiment, the display unit is further configured to, if the tag of any shared information set in the user interface is triggered, display a browsing interface corresponding to any shared information set, and display shared information in any shared information set in the browsing interface; the browsing interface includes a management trigger option for managing any shared information set; if the management trigger option is triggered, a first management interface for managing any shared information set is displayed.

[0012] In one embodiment, if the target user is a sharer of any shared information set, the first management interface includes any one or more of the following: a first invitation option to invite new sharers to join any shared information set, personal information of each sharer among at least one sharer, an exit option to exit any shared information set, and a setting control for the display position of any shared information set in the user interface.

[0013] If the target user is the creator of any shared information set, the first management interface includes any one or more of the following: a first invitation option to invite new shared users to join any shared information set, a management option to manage at least one shared user, personal information of each of the at least one shared user, a setting control for the display position of any shared information set in the user interface, and a delete option to delete any shared information set.

[0014] The personal information of any sharing user includes the user's identifier and the number of shared information that the user has published in any shared information set; if the display location setting control is in the target state, the identifier of any shared information set is displayed at the target location of the user interface.

[0015] In one embodiment, the information sharing device further includes a processing unit; if the target user is the creator of any shared information set, and the first management interface includes management options for managing at least one shared user;

[0016] The acquisition unit is also used to display a second management interface for managing at least one shared user if the management option is triggered. The second management interface includes the user identifier of each shared user among the at least one shared user, and a delete option corresponding to the user identifiers of other shared users besides the target user.

[0017] The processing unit is also configured to delete the target shared user from at least one shared user in any shared information set if the deletion option corresponding to the user identifier of the target shared user among other shared users is triggered.

[0018] In one embodiment, the browsing interface further includes a second invitation option to invite new sharing users to join any shared information set; the display unit is further configured to: select the second invitation option and display invitation information to join any shared information set, the invitation information being used to instruct the target user to send the invitation information to the target session;

[0019] If any participant in the target session triggers the invitation message, the user ID of that participant in the information sharing application will be displayed in the browsing interface.

[0020] In one embodiment, if the target user is the creator of any shared information set, then any shared information set belongs to the target user's source shared information set; if the target user is the sharer of any shared information set, then any shared information set belongs to the target user's soft link shared information set.

[0021] In one embodiment, each shared information set in at least one shared information set corresponds to an information index; if any shared information set belongs to the source shared information set of the target user, the information index corresponding to any shared information set includes the following fields: the identifier field of any shared information set, the creator field of any shared information set, and the user information field of each shared user among at least one shared user who has joined any shared information set.

[0022] If any shared information set belongs to the target user's soft link shared information set, then the information index corresponding to any shared information set includes the following fields: the creator field of the source shared information set corresponding to any shared information set and the identifier field of the source shared information set corresponding to any shared information set.

[0023] The user information field of any shared user includes any one or more of the following fields: the sharing status field of any shared user in any shared information set, the user identifier field of any shared user in any shared information set, the information sharing permission field set by any shared user in any shared information set, the tag of the soft link information set joined by any shared user, and the relevant information for inviting any shared user to join any shared information set.

[0024] In one embodiment, the information sharing device further includes an acquisition unit; the acquisition unit is further configured to acquire a target distributed lock corresponding to any shared information set if there is a management operation on the first management interface to manage any shared information set; the management operation includes any one or more of the following: inviting a new shared user to join any shared information set, deleting an existing shared user from at least one shared user, and exiting any shared information set; the processing unit is further configured to manage any shared information set according to the management operation if the target distributed lock is successfully acquired, and release the target distributed lock after the management of any shared information set is completed.

[0025] In one embodiment, after the target distributed lock is successfully acquired, the processing unit is further configured to: release the target distributed lock if it is not released within a preset time.

[0026] In one embodiment, if any shared information set belongs to the target user's soft link shared information set, the display unit performs the following steps when displaying the shared information of any shared information set in the browsing interface:

[0027] If the flag of any shared information set is triggered, the terminal sends the identifier of any shared information set to the server, which instructs the server to determine whether any shared information set belongs to a soft link shared information set based on the length of the identifier of any shared information set, obtain the target source information set corresponding to any shared information set, and return the shared information in the target source information set as the shared information in any shared information set to the terminal; the received shared information in any shared information set is displayed in the browsing interface corresponding to any shared information set.

[0028] In one embodiment, when the display unit displays historical change information of shared information in each of at least one shared information set in the content sharing interface, it performs the following steps:

[0029] If the browsing trigger option is triggered, obtain the identifier of each shared information set in at least one shared information set;

[0030] Based on the correspondence between the identifier of each shared information set and the historical change information of the shared information in each shared information set, as well as the identifier of each shared information set, the historical change information of the shared information in each shared information set is obtained through the information flow pull interface, and the historical change information of the shared information in each shared information set is displayed in the content sharing interface in the order of the change time from latest to earliest.

[0031] In one embodiment, the information sharing device further includes an output unit; the output unit is configured to output a prompt message for viewing the new change information in the content sharing interface when the content sharing interface of the information sharing application is displayed, if any shared information set has new change information; the processing unit is further configured to refresh the content sharing interface if there is a viewing operation based on the prompt message input; the display unit is further configured to display the new change information in the refreshed content sharing interface, and the new change information is displayed first in the refreshed content sharing interface.

[0032] On one hand, embodiments of the present invention provide a terminal, including: a processor adapted to implement one or more computer programs; and a computer storage medium storing one or more computer programs, the one or more computer programs being adapted to be loaded and executed by the processor.

[0033] The user interface of the information sharing application is displayed. The user interface includes a flag for at least one shared information set that the target user has joined and a browsing trigger option. The browsing trigger option is used to trigger browsing of the historical change information of shared information in each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined any shared information set. The at least one sharing user includes the target user and non-contact users of the target user.

[0034] If the browsing trigger option is selected, the content sharing interface in the information sharing application is displayed, and the historical change information of the shared information in each of at least one shared information set is displayed in the content sharing interface. The historical change information of the shared information in any shared information set is used to indicate any shared information newly added or deleted by any sharing user in any shared information set at any historical time.

[0035] On one hand, embodiments of the present invention provide a computer storage medium storing a computer program, which, when executed by a processor, is used to perform:

[0036] The user interface of the information sharing application is displayed. The user interface includes a flag for at least one shared information set that the target user has joined and a browsing trigger option for triggering browsing of the historical change information of shared information in each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined any shared information set. The at least one sharing user includes the target user and non-contact users of the target user.

[0037] If the browsing trigger option is selected, the content sharing interface in the information sharing application is displayed, and the historical change information of the shared information in each of at least one shared information set is displayed in the content sharing interface. The historical change information of the shared information in any shared information set is used to indicate any shared information newly added or deleted by any sharing user in any shared information set at any historical time.

[0038] On one hand, embodiments of the present invention provide a computer program product or a computer program, the computer program product including a computer program stored in a computer storage medium; a terminal's processor reads the computer program from the computer storage medium, and the processor executes the computer program, causing the terminal to perform:

[0039] The user interface of the information sharing application is displayed. The user interface includes a flag for at least one shared information set that the target user has joined and a browsing trigger option for triggering browsing of the historical change information of shared information in each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined any shared information set. The at least one sharing user includes the target user and non-contact users of the target user.

[0040] If the browsing trigger option is selected, the content sharing interface in the information sharing application is displayed, and the historical change information of the shared information in each of at least one shared information set is displayed in the content sharing interface. The historical change information of the shared information in any shared information set is used to indicate any shared information newly added or deleted by any sharing user in any shared information set at any historical time.

[0041] In this embodiment of the invention, when the target user's information sharing application is running, the user interface of the target user's information sharing application is displayed on the terminal. This user interface displays by default a marker indicating at least one shared information set that the target user has joined, and a browsing trigger option to trigger browsing the historical changes of shared information in each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined that shared information set, including the target user and non-contact users of the target user. When the browsing trigger option in the user interface is selected, the display switches from the user interface to the content sharing interface, which displays the historical changes of shared information in each of the at least one shared information set. The historical changes of shared information in any shared information set indicate any shared information newly added or deleted by any sharing user in any shared information set at any historical time. The notification information regarding changes to shared information in any shared information set may be generated based on modification operations performed by non-contact users of the target user on the shared information in any shared information set.

[0042] As can be seen in the above information sharing process, the target user and non-contact users of the target user can join the same shared information set and can upload shared information in the shared information set. Furthermore, the target user can also view the historical change information generated by the modification operations of non-contact users on the shared information in any shared information set. In other words, the information sharing method proposed in this embodiment of the invention does not limit users in the same shared information set to be friends. Compared with the prior art, it enriches the application scenarios of information sharing and saves the storage resources for storing the friendship relationship between users, thus saving resource consumption during information sharing. Attached Figure Description

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

[0044] Figure 1aThis is a schematic diagram of the structure of an information sharing system provided in an embodiment of the present invention;

[0045] Figure 1b This is a schematic diagram illustrating a server supporting the operation of an information sharing application, provided by an embodiment of the present invention.

[0046] Figure 2 This is a flowchart illustrating an information sharing method provided in an embodiment of the present invention;

[0047] Figure 3a This is a schematic diagram of the user interface of an information sharing application provided in an embodiment of the present invention;

[0048] Figure 3b This is a schematic diagram of a browsing interface for any shared information set provided in an embodiment of the present invention;

[0049] Figure 3c This is a schematic diagram of a content sharing interface provided in an embodiment of the present invention;

[0050] Figure 3d This is a schematic diagram of a refreshed content sharing interface provided in an embodiment of the present invention;

[0051] Figure 3e This is a schematic diagram of another content sharing interface refresh provided by an embodiment of the present invention;

[0052] Figure 3f This is a schematic diagram of another refreshed content sharing interface provided by an embodiment of the present invention;

[0053] Figure 4 This is a flowchart illustrating another information sharing method provided in an embodiment of the present invention;

[0054] Figure 5a This is a schematic diagram illustrating a user joining a shared information set according to an embodiment of the present invention;

[0055] Figure 5b This is a schematic diagram of an information index for a source-shared information set and a soft-link-shared information set provided in an embodiment of the present invention;

[0056] Figure 5c This is a schematic diagram illustrating the generation of a soft link identifier according to an embodiment of the present invention;

[0057] Figure 6a This is a schematic diagram of a first management interface for managing any shared information set, provided by an embodiment of the present invention;

[0058] Figure 6b This is a schematic diagram of another first management interface for managing any shared information set provided in an embodiment of the present invention;

[0059] Figure 6c This is a schematic diagram of a second management interface for managing shared users in any shared information set, provided by an embodiment of the present invention;

[0060] Figure 7 This is a schematic diagram of the structure of an information sharing device provided in an embodiment of the present invention;

[0061] Figure 8 This is a schematic diagram of the structure of a terminal provided in an embodiment of the present invention. Detailed Implementation

[0062] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.

[0063] Research into information sharing has revealed that current methods rely on mutual following among users. For example, each information publisher has their own inbox (which in some applications might be represented as "My Posts"), and each time a publisher sends a new message (also called a post), it's stored in their inbox. When a reader who follows that publisher comes to read the message, the system first needs to retrieve all the publishers the reader is following, then iterate through all the publishers' inboxes to find their posts, and finally display them to the reader in chronological order. This method of information sharing, dependent on "following," has limitations in its application scenarios.

[0064] Based on this, an information sharing scheme is proposed in this embodiment of the invention. This scheme can achieve information sharing through an information sharing application. A target user (who can refer to any user) can log in to the information sharing application using a pre-registered account. After successful login, the target user can create new shared information sets or join shared information sets created by other users already logged into the application. Multiple users who join the same shared information set are referred to as the sharing users of that shared information set.

[0065] After a target user joins a shared information set, they can publish shared information or read shared information already published by other users in the set. For any shared information set, if the shared information in that set is changed due to a modification by a user, all users who have joined that set will see the change, regardless of whether they are friends with the user who made the modification or whether they follow each other. Therefore, the information sharing method in this embodiment is applicable to more application scenarios, and in this embodiment, the terminal or server does not need to maintain friend relationships, saving the resources consumed by storing friend relationships.

[0066] Based on the information sharing scheme provided in the embodiments of the present invention, the present invention provides an information sharing system for implementing the above-mentioned information sharing scheme. See also... Figure 1a This is a schematic diagram of the structure of an information sharing system provided in an embodiment of the present invention. Figure 1a The information sharing system shown may include a terminal 101 and a server 102, and a connection may be established between the terminal 101 and the server 102 for data transmission.

[0067] In one embodiment, terminal 101 may be a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smartwatch, smart vehicle, etc., but is not limited to these; server 102 may be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.

[0068] In one embodiment, a message-sharing application may run on terminal 101. This application can be a standalone application or a subroutine running within a social application; for example, it could be a picture-viewing mini-program running within WeChat. If the application is a standalone application, the target user can pre-register an account within it and subsequently log in. If the application is a subroutine running within a social application, the target user can log in using their account within the social application. Server 102 provides support for the operation of the message-sharing application.

[0069] In specific implementation, the embodiments of the present invention use... Figure 1b This section details how server 102 supports shared applications running in terminal 101. Figure 1b The information sharing application described herein can be any information sharing application. Figure 1b The image uses a photo sharing application as an example. This application can be a mini-program running within the WeChat application, often simply called a photo viewing mini-program. Figure 1b As can be seen, server 102 may include shared information uploading module 1021 and shared information reading and writing module 1022.

[0070] In one embodiment, when a target user uploads shared information to any shared information set of an information sharing application, terminal 101 sends a shared information upload request to the server; the upload authentication proxy submodule in the shared information upload module 1021 verifies the target user's login identity information in the information sharing application, such as verifying whether the target user's identity is legitimate or whether the target user's login in the information sharing application is valid.

[0071] After successful verification, the upload authentication proxy submodule assigns the shared information upload task to the upload process submodule based on the shared information upload request. The upload process submodule consists of file.so and a business plugin. file.so is responsible for fragment collection, endpoint management, and file caching, while the business plugin is responsible for business operations after the files are collected. The upload process submodule is mainly used to store the shared information uploaded by the target user into any shared information set. Before uploading, the legality of the upload can also be verified, such as verifying the existence of any shared information set or verifying whether any shared information set allows the target user to upload shared information. After the upload process submodule completes the upload, it stores the shared information uploaded by the target user through preset storage. In this embodiment of the invention, assuming that the shared information uploaded by the target user is an image, the preset storage may include an image storage platform, which is responsible for storing album indexes, image indexes, and image content.

[0072] Optional, in Figure 1a In the information sharing system shown, the shared information stored in the pre-set storage of server 102 can be saved to the blockchain. Blockchain is a ledger technology that is jointly maintained by multiple parties, uses cryptography to ensure secure transmission and access, and can achieve consistent data storage, tamper-proof nature, and non-repudiation. Due to this advantage of blockchain, storing the shared information in the pre-set storage can improve the security of the shared information.

[0073] In one embodiment, when a target user wants to browse shared information in any shared information set, terminal 101 sends a shared information browsing request to server 102. After receiving the shared information browsing request, the access layer (webapp) or presentation layer on the shared information reading side of server 102's shared information read-write module 1022 assembles the browsing interface for any shared information set through the business logic layer (photodata) on the shared information read side. After assembly, the webapp displays the browsing interface for any shared information set. The shared information required for assembly by the business logic layer (photodata) can be obtained from a preset storage location by the underlying logic layer and protocol transition layer (photo_data2) on the shared information read side of the shared information read-write module 1022.

[0074] In one embodiment, when a target user inputs a modification operation on any shared information set, the dispatch layer 1023 in server 102 generates historical change information of any shared information set based on the modification operation input by the target user, and sends the historical change information to information center 1024, so that users who subsequently join any shared information set can view the historical change information of any shared information set in their respective content sharing interfaces.

[0075] Based on the aforementioned information sharing system and information sharing scheme, this invention provides an information sharing method, see below. Figure 2 This is a flowchart illustrating an information sharing method provided in an embodiment of the present invention. Figure 2 The information sharing method shown can be executed by the terminal, specifically by the terminal's processor. Figure 2 The information sharing method shown may include the following steps:

[0076] Step S201: Display the user interface of the information sharing application, which includes browsing trigger options and a marker for at least one shared information set joined by the target user.

[0077] As mentioned above, a messaging application can be a standalone application; alternatively, it can be a subroutine running within a social application. Optionally, target users can log in to the messaging application using a pre-registered account.

[0078] In one embodiment, if the messaging application is a standalone application, the pre-registered account of the target user may include one or more of the following: an account registered within the messaging application and an account from a social application associated with the messaging application. If the messaging application is a sub-application of a social application, the pre-registered account of the target user refers to an account within the social application.

[0079] After the target user logs into the information sharing application, if the information sharing application is launched, the terminal displays the user interface of the information sharing application. For example, assuming the information sharing application is a picture viewer mini-program running within the WeChat application (unless otherwise specified, the following examples illustrate the information sharing application as a picture viewer mini-program), see [link to example]. Figure 3a This is a schematic diagram of the user interface of an information sharing application provided in an embodiment of the present invention.

[0080] In one embodiment, the user interface of the information sharing application may include a tag for at least one shared information set joined by the target user. The tags for any shared information set will differ depending on the type of information to be shared in the information sharing application. Specifically, if the type of information to be shared in the information sharing application is an image, then the information set type of any shared information set may be a photo album, and the tag for any shared information set may include the name of the shared information set and / or the cover image of the shared information set; if the type of information to be shared in the information sharing application is a URL or a document, then the information set type of any shared information set may be a folder, and the tag for any shared information set may include the name of the shared information set.

[0081] It should be understood that, for convenience, unless otherwise specified, in the following description, it is assumed that the information to be shared in the information sharing application belongs to the information type of images, and that any shared information set belongs to the information set type of a photo album.

[0082] For example, in Figure 3a The user interface shown may include a label for the shared information set 300, which includes the name of the shared information set 300, expressed as "Zoo Visit", and a cover image of the shared information set 300 as shown in 301. Optionally, the cover image of any shared information set may be selected from the shared information included in any shared information set, or the cover image of any shared information set may be pre-specified by the target user.

[0083] In one embodiment, if a flag for any shared information set in the user interface is triggered, the terminal displays a browsing interface corresponding to that shared information set, and displays the shared information within that set in the browsing interface. For example, suppose in Figure 3a When the flag for shared information set 300 in the user interface is triggered, the terminal switches from displaying the user interface to displaying the browsing interface corresponding to shared information set 300, such as... Figure 3b As shown in 030.

[0084] In any shared information set, the shared information is uploaded by at least one sharing user who has joined that shared information set. As mentioned above, the user interface displayed on the terminal is the user interface of the information sharing application logged into the target user's account; that is, any shared information set displayed in the user interface has been joined by the target user. Therefore, the target user is included among the at least one sharing user who has joined any shared information set. Furthermore, the target user may also be included among the at least one sharing user who is not a contact of the target user.

[0085] It should be understood that if the messaging application is a standalone application, then a non-contact user of the target user can refer to a user who is not a friend of the target user in the messaging application; or, a non-contact user can refer to a user who is not following the target user in the messaging application or who is not following the target user. If the messaging application is a subroutine running within a social application, then a non-contact user of the target user can refer to a user who is not a friend of the target user in the social application.

[0086] In one embodiment, the browsing interface corresponding to any shared information set can display all the shared information included in that shared information set, such as... Figure 3b In the diagram, 310 and 311 represent the shared information included in any shared information set. Optionally, the browsing interface may also include the time when each piece of shared information was uploaded to the any shared information set, such as... Figure 3b Assuming that shared information 311 was uploaded to any shared information set on June 16, 2020, it is represented as "16 / 06 / 2020"; and shared information 310 was uploaded to any shared information set on June 22, 2020, it is represented as "22 / 06 / 2020". As a possible implementation, all shared information in any shared information set can be displayed on the browsing interface in ascending order of the time each piece of shared information was uploaded to that shared information set.

[0087] In one embodiment, the user identifier of the user who uploaded the shared information can also be displayed at the location of each shared information in any shared information set displayed in the browsing interface. For example, in Figure 3b In the example, if shared information 310 is uploaded to any shared information set by shared user Zhang, then the location where shared information 310 is displayed in the browsing interface can also display the words "uploaded by Zhang". Similarly, if shared information 311 is uploaded to any shared information set by shared user Li, then the location where shared information 311 is displayed in the browsing interface can also display the user identifier of shared user B, such as user B's nickname Li.

[0088] In one embodiment, the browsing interface may also include an upload option for uploading new shared information, such as... Figure 3bAs shown in 3A, the target user can add new shared information to any shared information set by triggering the upload option 3A. Specifically, if upload option 3A is selected, an add window for new shared information will be displayed. This add window can display various ways to add new shared information, such as editing a new shared information in real time, retrieving a shared information from the terminal's local storage, etc. If the added window contains selected shared information and the "OK" button in the add window is triggered, the selected shared information will be displayed in the browsing interface of any shared information set.

[0089] Step S202: If the browsing trigger option is triggered, the display user interface is switched to the display content sharing interface in the information sharing application, and the historical change information of each shared information set in at least one shared information set is displayed in the content sharing interface.

[0090] In one embodiment, the user interface may also include browsing trigger options, such as... Figure 3a As shown in 302, the browsing trigger option is used to trigger browsing of the historical change information of shared information in each of the at least one shared information set.

[0091] In one embodiment, when the browsing trigger option in the user interface is triggered, the terminal switches from displaying the user interface to displaying the content sharing interface, for example... Figure 3a If the browsing trigger option 302 is triggered, the content sharing interface will be displayed as shown. Figure 3c As shown in Figure 31.

[0092] Optionally, the content sharing interface displays historical change information for shared information in each of at least one shared information set joined by the target user. This historical change information can be viewed as an information stream (or feed stream). A feed stream is the smallest unit of information aggregation; each status or message is a feed. A feed can be simply understood as a stream of information continuously emerging whenever the terminal receives a downward swipe operation. Common feed streams can include text streams, image streams, and video streams. Historical change information for shared information in any shared information set can be generated based on modifications made to shared information in that shared information set by non-contact users of the target user who joined that shared information set; alternatively, changes can also be generated based on modifications made to shared information in that shared information set by contact users of the target user who joined that shared information set. Historical change information for shared information in any shared information set indicates any shared information newly added or deleted by any sharing user in that shared information set at any given historical time.

[0093] It can be seen therefrom that the modification operation on the shared information in any shared information set may include: adding new shared information to any shared information set; or deleting the existing shared information from any shared information set.

[0094] In one embodiment, if the modification operation on the shared information in any shared information set refers to adding new shared information to any shared information set, the manifestation form of the historical change information of the shared information in any shared information set may be: displaying the newly added shared information and the name of any shared information set; or displaying the newly added shared information, the name of any shared information set, and the text description corresponding to the modification operation. Optionally, the historical change information may further include the historical time of the change of the shared information in any shared information set.

[0095] For example, assume that the shared information to be shared in the information sharing application is a picture, and any shared information set is any shared photo album. The content sharing interface displayed after the browsing trigger option in the information sharing application is triggered may be as shown in Figure 3c Figure 31. The change information of the shared picture in any shared photo album in Figure 3c may consist of two parts, 32 and 33. In 32, the newly added shared picture 3A is displayed; in 33, the newly added shared picture 3A, the name 3B of any shared photo album, and the text description corresponding to the modification operation are displayed, which is shown as "Huifei's Eyebrow Curve added 1 photo". The historical change information includes the time when Huifei's Eyebrow Curve added this photo, which is shown as "November 17th".

[0096] In one embodiment, the content sharing interface may further include an interaction option for the historical change information of the shared information in any shared information set, as shown in Figure 3c Figures 34 and 35; the shared users who join the shared information in any shared information set can input interaction operations by triggering this interaction option. The interaction operation may refer to any one or more of operations such as liking, commenting, forwarding, and adding and publishing shared information, etc.

[0097] In one embodiment, when displaying the content sharing interface in the information sharing application, if there is new update information in any shared information set, a prompt message for viewing the new change information may be output in the content sharing interface; if there is a viewing operation input based on the prompt message in the content sharing interface, the content sharing interface is refreshed, and the new change information is displayed in the refreshed content sharing interface, and the order of the new change information displayed in the refreshed content sharing interface is the first.

[0098] In other words, when a target user is browsing historical change information on the content sharing interface, if a user who has joined any shared information set modifies the shared information in that set, resulting in new changes in that set, a prompt message can be displayed on the content sharing interface to remind the target user to view the new changes.

[0099] As an optional implementation, the prompt message for viewing new changes may include: displaying a pop-up window in the content sharing platform interface, showing the prompt message for viewing new changes. For example, when the target user is browsing... Figure 3c When viewing the historical change information in the content sharing interface described in section 31, if new change information is detected in any shared information set "Favorite Anime", a prompt window can pop up in the content sharing interface 31, such as... Figure 3d As shown in 33A, the prompt message displayed in 33A to view new change information can be expressed as: XXX has added a photo to his favorite anime.

[0100] In one embodiment, the prompt window displaying the prompt information may further include an "Immediately View" button and a "View Later" button, as shown in 33A; if the target user triggers the "Immediately View" button in 33A, it is determined that a viewing operation based on the prompt information input exists, and the content sharing interface is refreshed. The refreshed content sharing interface can be as follows: Figure 3d As shown in 001, the new change information is displayed first in the content sharing interface, meaning it is the first change information displayed on the content sharing interface.

[0101] As another optional implementation, the output prompt to view new change information may further include: displaying a floating window in the content sharing platform interface, showing the number of new change information entries. For example, in Figure 3e In the content sharing interface 31, a floating window 33B is displayed, which only shows the number of new change information.

[0102] In this scenario, if the target user triggers the floating window, it can be determined that a viewing operation based on the input of the aforementioned prompt information exists in the content sharing interface. Therefore, the content sharing interface is refreshed, and the refreshed content sharing interface will appear as follows: Figure 3e As shown in 002.

[0103] As another optional implementation, the output prompt to view the new change information may further include: displaying the prompt information at any location on the content sharing platform interface, typically at the top of the sharing platform interface, with the prompt information stating, "New shared information exists in 'My Favorite Anime,' double-click to view." Figure 3f As shown, 33C indicates a prompt message for viewing new change information. If the target user double-clicks the location indicated in the prompt message, the content sharing interface will be refreshed. The refreshed content sharing interface will look like... Figure 3f As shown in 003.

[0104] It should be understood that Figure 2 From a product perspective, the information sharing method shown not only enables users to see changes made to the shared information in the same information set by other users without needing to follow or become friends with the user, but also gives the information sharing application a sharing attribute. This also enriches the application scenarios of the information sharing application, making the sharing application more attractive and increasing user activity.

[0105] In this embodiment of the invention, when the target user's information sharing application is running, the user interface of the target user's information sharing application is displayed on the terminal. This user interface displays by default a marker indicating at least one shared information set that the target user has joined, and a browsing trigger option to access the historical change information of shared information in each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined that shared information set, and this at least one sharing user includes the target user and non-contact users of the target user. When the browsing trigger option in the user interface is selected, the display switches from the user interface to the content sharing interface of the target user in the information sharing application, and the content sharing interface displays the historical change information of shared information in each of the at least one shared information set. The historical change information of shared information in any shared information set indicates any shared information newly added or deleted by the target user's non-contact users in that shared information set at any given historical time.

[0106] As can be seen in the above information sharing process, the target user and non-contact users of the target user can join the same shared information set, and both can upload shared information in the shared information set. In addition, the target user can view any shared information newly added or deleted from any shared information set by non-contact users at any historical time through the content sharing interface. That is to say, the information sharing method proposed in this embodiment of the invention does not limit users in the same shared information set to be friends. Compared with the prior art, it enriches the application scenarios of information sharing and saves the storage resources for storing the friendship relationship between users, thus saving resource consumption during information sharing.

[0107] Based on the above-described information sharing method, this embodiment of the invention also provides another information sharing method, see [link to relevant documentation]. Figure 4 This is a flowchart illustrating another information sharing method provided in an embodiment of the present invention. Figure 4 The information sharing method shown can be executed by the terminal, specifically by the terminal's processor. Figure 4 The information sharing method shown may include the following steps:

[0108] Step S401: Display the user interface of the information sharing application, which includes a tag for at least one shared information set joined by the target user and browsing trigger options.

[0109] Step S402: If the browsing trigger option is triggered, the display user interface is switched to the display content sharing interface in the information sharing application, and the content sharing interface displays the change information of shared information in each shared information set of at least one shared information set.

[0110] As mentioned above, there is at least one sharing user joining any shared information set. Among these at least one sharing user, there is a user who created any shared information set, and there are also users who joined any shared information set later. To easily distinguish between these two types of users, in this embodiment of the invention, the user who created any shared information set is called the creator of that shared information set, and the user who joined any shared information set later is called the sharer of that shared information set. Based on this, this embodiment of the invention introduces the concepts of source shared information sets and soft link shared information sets.

[0111] Specifically, if the target user is the creator of any shared information set, then that shared information set belongs to the target user's source shared information set; if the target user is a sharer of any shared information set, then that shared information set belongs to the target user's soft link shared information set. Simply put, if a sharing user creates a shared information set, then that shared information set is that user's source shared information set; if a user joins a shared information set created by another user in some way, then that shared information set is that user's soft link shared information set.

[0112] To facilitate the management of shared information sets, the server stores each shared information set in association with its corresponding information index. The content included in the information index differs for different types of shared information sets.

[0113] Specifically, if any shared information set belongs to the source shared information set of the target user, the information index corresponding to any shared information set may include the following fields: the identifier field of any shared information set, the creator field of any shared information set, and the user information field of each shared user among at least one shared user who has joined any shared information set; if any shared information set belongs to the soft link shared information set of the target user, the information index corresponding to any shared information set may include the following fields: the creator field of any shared information set and the identifier field of any shared information set.

[0114] The identifier field of any shared information set stores an identifier that uniquely identifies the shared information set. The identifiers are different between different shared information sets. The identifier field of any shared information set is a pre-stored ID generated for the target user, which can be called the source. The creator field of any shared information set can store the creator information of the shared information set. Here, any shared information set is created by the target user. Therefore, the creator field of the information index corresponding to any shared information set can store the user identifier of the target user, such as the target user's identity identifier or the target user's identifier in the information sharing application, such as nickname or avatar.

[0115] Optionally, the user field of each of the at least one sharing users who have joined any of the shared information sets may include any one or more of the following fields: the sharing status field of any sharing user in the shared information set, the user identifier field of any sharing user in the shared information set, the information sharing permission field set by any sharing user in the shared information set, the soft link information set joined by any sharing user, and related information for inviting any sharing user to join the shared information set.

[0116] In one embodiment, the sharing status of any sharing user in any shared information set may include one or more of the following: the creator (also known as the owner) of any shared information set issues an invitation; any sharing user (also known as the sharer) confirms joining the shared information set; any sharing user joins through a public URL; the creator deletes any sharing user from any shared information set; any sharing user voluntarily leaves any shared information set; any sharing user applies to join any shared information set, but the creator has not yet approved it; any sharing user applies to join any shared information set, and the creator has approved it.

[0117] In one embodiment, the relevant information for inviting any shared user to join any shared information set may include: the time the invitation was sent, the time when any shared user accepted the invitation, and the shared user who sent the invitation.

[0118] In one embodiment, if any shared information set belongs to the source shared information set of the target user, the information index corresponding to any shared information set can be represented by the following code:

[0119] struct share_attr

[0120] {

[0121] 0 optional map<unsigned int, uin_attr> shares_attr; / / The creator stores all sharers, including the creator. Only the role is active at this point.

[0122] / / Other users only have their own information; in this case, only the role is effective.

[0123] 1 optional string source; / / Identifier (id) of the source shared information set

[0124] 2 optional unsigned int owner; / / Creator of the source shared information set

[0125] };

[0126] The storage of shared user information, with the user identifier (which can be represented as uin) of each of at least one shared user as the dimension, can be represented by the following code:

[0127] struct uin_attr{

[0128] 0 optional share_status status = eStatusDefault; / / Sharer status

[0129] 1 optional string nick; / / User identifier (e.g., nickname) of the person sharing the information in any shared information set.

[0130] 2 optional byte priv = 3; / / Permissions set by the sharer for the shared information they publish, only effective for the contact users of that sharer.

[0131] 3 optional string share_albumid; / / Shared information set with a soft link to the sharer

[0132] 4 optional unsigned int add_time = 0; / / Invitation issuance time

[0133] 5 optional string qa; / / The sharer sets permissions for the shared information they publish, including questions and answers. Only the sharer who answers the questions correctly can view it.

[0134] 6 optional unsigned int join_time = 0; / / Time for the person sharing the invitation to accept it

[0135] 7 optional unsigned int inviter; / / Shared inviter

[0136] 8 optional int total; / / The number of shared information uploaded by the sharer

[0137] };

[0138] The `status` parameter indicates the status of a sharer in the shared album. There are the following statuses:

[0139] enum share_status

[0140] {

[0141] eStatusDefault = 0,

[0142] eStatusInvite = 1, / / The creator sends the invitation

[0143] eStatusConfirm = 2, / / Shared user confirms joining

[0144] eStatusUrl = 3, / / The user joins via a public URL

[0145] eStatusDel = 4, / / The creator deletes the sharer from any shared information set.

[0146] eStatusExit = 5, / / A user actively exits any shared information set.

[0147] eStatusApply = 6, / / A user has applied to join, but the creator has not yet approved.

[0148] eStatusAllow = 7, / / The user who shared the data has applied to join, and the creator has approved it.

[0149] }

[0150] In one embodiment, displaying the user interface of the information sharing application in step S401 may include: when there is a startup operation to launch the information sharing application, the terminal sends a user interface display request to the server; the server returns a list of structures to the terminal based on the information index corresponding to each shared information set joined by the target user, and the terminal displays the user interface based on the list of structures. The list of structures displays the user identifiers of the users who have joined at least one shared information set in each shared information set, such as user nickname, avatar, and gender.

[0151] Optionally, the server typically returns a vector to the terminal.<photo_share_struct::client_attr> The structure, where client_attr can be represented by the following code:

[0152] struct client_attr

[0153] {

[0154] 0 optional unsigned int uin;

[0155] 1 optional uin_attr attr;

[0156] 2 optional string qq_nick;

[0157] 3 optional share_action action; / / Effective for write operations, ignored for read operations

[0158] 4 optional unsigned int gender = 0; / / gender 1==male 2==female 0==not filled

[0159] }

[0160] It should be understood that displaying changes to shared information within each shared information set on the content sharing interface is equivalent to displaying friends' posts on the content sharing interface of a social application, such as displaying posts from QQ friends on QQ Space, or posts from WeChat friends on WeChat Moments. Currently, this implementation of displaying posts on the content sharing interface is based on a pull-based model. The general principle is as follows: using a user's user identifier as a dimension, each user's posted status is associated with and stored with that identifier; when a post needs to be displayed on the content sharing interface, the target user's friend relationship chain within the social application is first retrieved; then, posts from each friend in the friend relationship chain are retrieved from the information management section and displayed on the content sharing interface.

[0161] However, as mentioned above, users who join the same shared information set in an information-sharing application are not necessarily friends. Therefore, in order to ensure that users who join any shared information set can view changes to the shared information in that set on the content sharing interface, in this embodiment of the invention, users who join the same shared information set are set as friends. For example, see... Figure 5a As shown, user with the identifier uin1 has joined shared information sets album1 and album4, while user with the identifier uin2 has joined shared information sets album2, album3, and album4. Since both user with the identifier uin1 and user with the identifier uin2 have joined shared information set album4, these two users can be considered friends.

[0162] Furthermore, the identifier of the source shared information set corresponding to any shared information set is used as the key for the change information flow. This means that change information generated based on any user's modification of any shared information set is associated with and stored in the source shared information set corresponding to that set. Each piece of shared information uploaded to the source shared information set generates a change information record stored under that key. When it is necessary to display the change information of shared information in each shared information set on the target user's content sharing interface, the corresponding change information is retrieved based on the identifier of the source shared information set corresponding to each shared information set.

[0163] Step S403: If the tag of any shared information set is triggered, the browsing interface corresponding to any shared information set is displayed, and the shared information in any shared information set is displayed in the browsing interface. The browsing interface includes management trigger options for managing any shared information set.

[0164] As mentioned above, the information index corresponding to a source shared information set can retain all the information of that source shared information set, allowing access to the shared information within it. However, the information index corresponding to a soft link shared information set only retains the identifier field of its corresponding source shared information set and the creator field of the original shared information set. The shared information included in a soft link shared information set does not actually belong to that soft link shared information set; rather, it belongs to the source shared information set corresponding to that soft link shared information set. In other words, the shared information in a source shared information set is actually stored only once.

[0165] See Figure 5b This is a schematic diagram illustrating an information index corresponding to a shared information set, provided in an embodiment of the present invention. Figure 5b Assume a source shared information set is represented as shared information set AlbumA. The information index corresponding to source shared information set AlbumA stores the user information field of each shared user among all shared users who have joined shared information set AlbumA. As mentioned above, the user information field of each shared user is stored with the user identifier of the corresponding shared user as the dimension. Therefore, in Figure 5b The user identifier for each shared user indicates the user information field corresponding to the shared user included in the information index of the source shared information set. That is, assuming user A's user identifier is represented as uin2 and user B's user identifier as uin3, then in... Figure 5b In the information index of the shared information set Album A, uin2 indicates that the information index stores the user information field of user A; similarly, in Figure 5b In the information index of the shared information set Album A, uin3 indicates that the information index stores the user information field of user B.

[0166] Suppose that the shared information set joined by user A, corresponding to the soft link shared information set Album A, is represented as Album B. The information index corresponding to Album B only stores the identifier field "source" and the creator field "owner" of the source shared information set Album A. Similarly, the shared information set joined by user B, corresponding to the soft link shared information set Album A, is represented as Album C. Likewise, the information index corresponding to Album C also only stores the identifier field "source" and the creator field "owner" of the source shared information set Album A.

[0167] Suppose that in at least one shared information set displayed on the user interface, any shared information set belongs to the target user's soft link shared information set. When the target user wants to view the shared information in any shared information set, they can find the information index corresponding to the source shared information set by using the creator field of the source shared information set and the identifier field of the original shared information set included in the information index corresponding to any shared information set. Then, the shared information can be retrieved according to the information index corresponding to the source shared information set and displayed in the browsing interface.

[0168] The following section details how to retrieve shared information from the source shared information set corresponding to any shared information set and display it in the browsing interface when the flag of any shared information set is triggered.

[0169] In existing technologies, after a creator creates a target shared information set (which can refer to any shared information set), the pre-store generates an identifier for the creator that identifies the target shared information set. Similarly, the predictive storage also generates an identifier for each sharer who joins the target shared information set. This identifier is used to identify a virtual target shared information set, or in other words, to identify a soft link shared information set corresponding to a target shared information set. For example, if a target user creates a shared information set A, the predictive storage creates an identifier A corresponding to the target user's shared information set A. That is, if shared information set A is triggered on the target user's terminal, the terminal obtains the identifier A of shared information set A and sends it to the server. The server obtains the information index corresponding to shared information set A based on identifier A, determines through the information index that shared information set A belongs to the source target information set, and then retrieves the shared information from the source target information set and returns it to the terminal.

[0170] Suppose that user A joins a shared information set A. The default storage creates a virtual identifier B for user A belonging to shared information set A. That is, if shared information set A is triggered on user A's terminal, the terminal obtains the identifier B of the shared information set and sends it to the server. The server retrieves the information index corresponding to the virtual shared information set A based on identifier B. According to this information index, it discovers that the virtual shared information set A is a soft link shared information set belonging to shared information set A. At this point, it needs to locate shared information set A based on the identifier field of the source shared information set included in the information index corresponding to the virtual shared information set A, in order to retrieve the shared information from shared information set A and return it to the terminal for display.

[0171] As can be seen, in this way, every time a marker operation for a shared information set is triggered in the terminal, the server will retrieve the information index and determine whether a shared information set is a soft link shared information set or a source shared information set based on the information index corresponding to the shared information set. This method is complex and wastes server power. To solve this problem, in this embodiment of the invention, a new identifier for the target shared information set belonging to the sharer can be generated based on the identifier of the sharer that is predicted and stored for the sharer joining the target shared information set, and the identifier of the creator that is preset and stored for the creator of the target shared information set. This identifier can be called a soft link identifier.

[0172] Since the length of the soft link identifier is greater than either of the two identifiers mentioned above, when the tag of any shared information set is triggered, the terminal sends the soft link identifier to the server, instructing the server to determine whether the soft link identifier belongs to the soft link shared information set based on its length, and to obtain the target source information set corresponding to the soft link. The server then returns the shared information in the target source information set as the shared information in the soft link shared information set to the terminal. Upon receiving this information, the terminal displays the shared information in the soft link shared information set in the browsing interface corresponding to the soft link shared information set.

[0173] For example, a soft link identifier can be composed of... Figure 5c As shown, by Figure 5c As can be seen, a soft link identifier can include a pre-defined identifier generated for the corresponding soft link shared information set, denoted as "current," and a pre-defined identifier generated for the source shared information set corresponding to the soft link shared information set, denoted as "source." The soft link identifier may also include other components, such as the length of the creator user's identifier string, the creator string, etc. Figure 5c The generated soft link identifier can be one of the following two types: "sa14V12wIJL02HAGVk3286cc447f096baac8711202e79dcd0ab314V12R0K6Y4D5WLk"

[0174] "sa14V11ygjdU3VkprY32bde609018aee987cee72db98c1e9cc5414V10gglQN3ZVDwT".

[0175] Step S404: If the management trigger option in the browsing interface is triggered, the first management interface for managing any shared information set is displayed.

[0176] As mentioned above, the browsing interface for browsing shared information in any shared information set can include not only the shared information but also management trigger options. If the browsing trigger option is triggered, the terminal can display a first management interface for managing any shared information set.

[0177] In one embodiment, if the target user is a sharer of any shared information set, the first management interface includes any one or more of the following: a first invitation option to invite new sharers to join the shared information set, personal information of each of the at least one sharers, an exit option to exit the shared information set, and a setting control for the display position of the shared information set in the user interface. The personal information of any sharer includes the user identifier of the sharer and the number of shared information items published by the sharer in the shared information set. If the setting control for the display position is in a target state, the identifier of the shared information set is displayed at the target position in the user interface. Optionally, the setting control for the display position may consist of a first sub-component and a second sub-component. When the first sub-component is located to the right of the second sub-component, it indicates that the setting control is in a target state; conversely, when the first sub-component is located to the left of the second sub-component, it indicates that the setting control is in a non-target state.

[0178] For example, suppose the target user is a sharer of any shared information set, and the browsing interface corresponding to any shared information set is as follows: Figure 3b As shown, in Figure 3b In the middle, 330 indicates a management trigger option that enables the management of any shared information set; when management trigger option 330 is triggered, the first management interface for managing any shared information is displayed, such as... Figure 6a As shown in 600. The first management interface shown in 600 includes a first invitation option 6A to invite new shared users to join any of the shared information sets, and also includes personal information 6B of each of the at least one shared users, such as a shared user nicknamed "Jingjing" whose corresponding avatar is 6C. Jingjing joined any of the shared information sets on June 10, 2019, by invitation from the shared user Dongji.

[0179] Optionally, the first management interface also includes an exit option 6D for exiting any shared information set. If the target user triggers the exit option 6D, it indicates that the target user has exited any shared information set, and that shared information set disappears from the user interface of the target user's information sharing application.

[0180] Optionally, the first management interface may also include a setting control for the display position of any shared information set in the user interface, which can be represented as "pinned album".

[0181] In one embodiment, if the target user is the creator of any shared information set, the first management interface includes any one or more of the following: a first invitation option to invite new shared users to join the any shared information set, a management option to manage the at least one shared user, personal information of each of the at least one shared user, a setting control for the display position of the any shared information set in the user interface, and a delete option to delete the any shared information set.

[0182] For example, assuming the target user is the creator of any shared information set, the first management interface for managing any shared information set could be as follows: Figure 6b As shown in Figure 602. In addition to including personal information, settings controls, and a first invitation option for each shared user among at least one shared user, Figure 602 may also include a delete option for deleting any shared information set, such as... Figure 6b As shown in 6E; when the deletion option 6E is triggered, no shared information set exists.

[0183] Optionally, the first management interface shown in 602 may also include management options for managing at least one shared user, such as... Figure 6b As shown in option 6F; if the target user triggers option 6F, the terminal can display a second management interface for managing at least one shared user, such as... Figure 6c As shown in Figure 603; the second management interface may include the user identifier of each of the at least one shared users. The user identifiers of other shared users, except for the target user, correspond to a deletion option. For example, the shared user "Wanfeng" corresponds to a deletion option 6G. If the deletion option 6G is triggered, "Wanfeng" will be removed from any shared information set. This shared information set will not appear in the user interface of "Wanfeng"'s terminal. The change information of the shared information in any subsequent shared information set will not be pushed to "Wanfeng".

[0184] The second management interface shown in 603 may also include information about historical users who have exited any shared information set, such as the exit time and exit method.

[0185] Optionally, the first management interface shown in 602 may also include a control on whether to allow users to upload shared information, which is displayed as "Allow members to upload photos". This control may consist of a first sub-component 61 and a second sub-component 62. When the first sub-component 61 is located to the right of the second sub-component 62, it indicates that members are allowed to upload photos; when the first sub-component 61 is located to the left of the second sub-component 62, it indicates that members are not allowed to upload photos.

[0186] In one embodiment, the browsing interface corresponding to any shared information set may include, in addition to the management trigger option, a second invitation option to invite new shared users to join any shared information set, for example... Figure 6a In the browsing interface 030 shown, 061 represents the second invitation option.

[0187] When the second invitation option in the browsing interface or the first invitation option in the first management interface for managing any shared information set is triggered, the terminal generates and displays invitation information for that shared information set. The target user can send this invitation information to the target session. If any participant in the target session triggers the invitation information, the user identifier of that participant in the information sharing application is displayed in the browsing interface or the first management interface. The invitation information can be a link or a URL.

[0188] In one embodiment, for any shared information set, the server stores only one list of shared users added to that shared information set. As mentioned earlier, each shared user can invite new shared users to join or leave any shared information set (these operations can be called write operations). However, if two or more shared users simultaneously perform write operations on shared users in any shared information set, such as inviting new shared users to join or the creator deleting any shared user, data consistency processing is required to avoid problems such as dirty writes. Therefore, in this embodiment of the invention, a distributed lock is set for each shared information set. If you want to modify a shared user in an information sharing set, you need to obtain the distributed lock corresponding to that information sharing set before you can perform the modification operation.

[0189] In a specific implementation, if there is a management operation to manage any of the shared information sets, then the target distributed lock corresponding to any of the shared information sets is acquired; the management operation includes any one or more of the following: inviting new shared users to join any of the shared information sets, deleting existing shared users from the at least one shared user, and exiting any of the shared information sets; if the target distributed lock is successfully acquired, then the shared information set is managed according to the management operation, and the target distributed lock is released after the management of any of the shared information sets is completed.

[0190] After a terminal completes its management of any shared information set according to the management operation, it needs to promptly release the acquired target distributed lock so that other user terminals can acquire the distributed lock. Optionally, if the target distributed lock is not released within a preset time after acquisition, it will be automatically released to prevent a terminal from occupying the target distributed lock for an extended period.

[0191] In this embodiment of the invention, when the target user's information sharing application is running, the user interface of the target user's information sharing application is displayed on the terminal. This user interface displays by default a marker indicating at least one shared information set that the target user has joined, and a browsing trigger option to browse changes in shared information within each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined that shared information set, and this at least one sharing user includes the target user and non-contact users of the target user. When the browsing trigger option in the user interface is selected, the content sharing interface of the target user in the information sharing application is displayed, and the historical change information of shared information in each of the at least one shared information set is displayed in the content sharing interface. The historical change information of shared information in any shared information set can be used to indicate any newly added or deleted shared information by the target user's non-contact users in that shared information set at any historical time.

[0192] It should be understood that the target user and non-contact users of the target user can join the same shared information set and can upload shared information in the shared information set. Furthermore, the target user can also view the historical change information generated by the modification operations of non-contact users on the shared information in any shared information set. In other words, the information sharing method proposed in this embodiment of the invention does not limit users in the same shared information set to be friends. Compared with the prior art, it enriches the application scenarios of information sharing and saves the storage resources for storing the friendship relationship between users, thus saving resource consumption during information sharing.

[0193] Furthermore, when a flag for any shared information set is triggered in the user interface, the corresponding browsing interface for that shared information set is displayed, showing the shared information within that set. Thus, all users who have joined any shared information set can view the shared information within that set. The browsing interface for any shared information set may include a management interface for managing that set. Through this management interface, users in any shared information set can invite new users to join or leave the set, and as the creator of the set, can also delete it.

[0194] Based on the above-described information sharing method embodiments, this invention provides an information sharing device. Figure 7 This is a schematic diagram of the structure of an information sharing device provided in an embodiment of the present invention. Figure 7 The information sharing device shown can operate the following units:

[0195] Display unit 701 is used to display the user interface of the information sharing application. The user interface includes a flag indicating that the target user has joined at least one shared information set and a browsing trigger option. The browsing trigger option is used to trigger browsing of the historical change information of the shared information in each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined the at least one shared information set. The at least one sharing user includes the target user and non-contact users of the target user.

[0196] The display unit 701 is further configured to, if the browsing trigger option is selected, switch from displaying the user interface to displaying the content sharing interface in the information sharing application, and display historical change information of the shared information in each of the at least one shared information set in the content sharing interface. The historical change information of the shared information in any shared information set is used to indicate the shared information newly added or deleted by the non-contact user of the target user in any shared information set at any historical time.

[0197] In one embodiment, the display unit 701 is further configured to: if the marker of any shared information set in the user interface is triggered, display a browsing interface corresponding to the shared information set, and display shared information in the shared information set in the browsing interface; the browsing interface includes a management trigger option for managing the shared information set; if the management trigger option is triggered, display a first management interface for managing the shared information set.

[0198] In one embodiment, if the target user is a sharer of any shared information set, the first management interface includes any one or more of the following: a first invitation option to invite new shared users to join the any shared information set, personal information of each of the at least one shared users, an exit option to exit the any shared information set, and a setting control for the display position of the any shared information set in the user interface;

[0199] If the target user is the creator of any of the shared information sets, then the first management interface includes any one or more of the following: a first invitation option to invite new shared users to join the shared information set, a management option to manage the at least one shared user, personal information of each of the at least one shared user, a setting control for the display position of the shared information set in the user interface, and a delete option to delete the shared information set.

[0200] The personal information of any sharing user includes the user identifier of the sharing user and the number of shared information that the sharing user has published in any shared information set; if the display location setting control is in the target state, the identifier of any shared information set is displayed at the target location of the user interface.

[0201] In one embodiment, if the target user is the creator of any of the shared information sets, and the first management interface includes management options for managing the at least one shared user; the information sharing device further includes a processing unit 702.

[0202] The display unit 701 is further configured to display a second management interface for managing the at least one shared user if the management option is triggered. The second management interface includes a user identifier for each of the at least one shared user and a deletion option corresponding to the user identifiers of other shared users besides the target user. The processing unit 702 is configured to delete the target shared user from at least one shared user in any shared information set if the deletion option corresponding to the user identifier of the target shared user among the other shared users is triggered.

[0203] In one embodiment, the browsing interface further includes a second invitation option to invite new sharing users to join any of the shared information sets; the display unit 701 is further configured to select the second invitation option and display invitation information for joining any of the shared information sets, the invitation information being used to instruct the target user to send the invitation information to the target session; if any session participant of the target session triggers the invitation information, the user identifier of the session participant in the information sharing application is displayed in the browsing interface.

[0204] In one embodiment, if the target user is the creator of any shared information set, then the any shared information set belongs to the target user's source shared information set; if the target user is the sharer of any shared information set, then the any shared information set belongs to the target user's soft link shared information set.

[0205] In one embodiment, each shared information set in the at least one shared information set corresponds to an information index. If any shared information set belongs to the source shared information set of the target user, the information index corresponding to any shared information set includes the following fields: the identifier field of any shared information set, the creator field of any shared information set, and the user information field of each shared user among the at least one shared user who has joined the any shared information set.

[0206] If any of the shared information sets belongs to the soft link shared information set of the target user, then the information index corresponding to any of the shared information sets includes the following fields: the creator field of the source shared information set corresponding to any of the shared information sets and the identifier field of the source shared information set corresponding to any of the shared information sets.

[0207] The user information field of any shared user includes any one or more of the following fields: the sharing status field of any shared user in any shared information set, the user identifier field of any shared user in any shared information set, the information sharing permission field set by any shared user in any shared information set, the tag of the soft link information set joined by any shared user, and the relevant information for inviting any shared user to join the any shared information set.

[0208] In one embodiment, the information sharing device may further include an acquisition unit 703, which is configured to acquire a target distributed lock corresponding to any shared information set if a management operation for managing any shared information set exists on the first management interface; the management operation includes any one or more of the following: inviting a new shared user to join the shared information set, deleting an existing shared user from the at least one shared user, or exiting the shared information set; the processing unit 702 is further configured to manage the shared information set according to the management operation if the target distributed lock is successfully acquired, and release the target distributed lock after the management of the shared information set is completed.

[0209] In one embodiment, the processing unit 702 is further configured to release the target distributed lock if the target distributed lock is not released within a preset time after the target distributed lock is successfully acquired.

[0210] In one embodiment, if any shared information set belongs to the soft link shared information set of the target user, then any shared information set corresponds to a target source information set. When the display unit 701 displays the shared information of any shared information set in the browsing interface, it performs the following steps:

[0211] If the tag of any shared information set is triggered, the terminal sends the identifier of any shared information set to the server, which instructs the server to determine that any shared information set belongs to a soft link shared information set based on the length of the identifier of any shared information set, obtain the target source information set corresponding to any shared information set, and return the shared information in the target source information set as the shared information in any shared information set to the terminal; the received shared information in any shared information set is displayed in the browsing interface corresponding to any shared information set.

[0212] In one embodiment, when the display unit 701 displays historical change information of shared information in each of the at least one shared information set in the content sharing interface, it performs the following steps:

[0213] If the browsing trigger option is triggered, the identifier of each shared information set in at least one shared information set is obtained; based on the correspondence between the identifier of each shared information set and the historical change information of the shared information in each shared information set, and the identifier of each shared information set, the historical change information of the shared information in each shared information set is obtained through the information flow pull interface, and the historical change information of the shared information in each shared information set is displayed in the content sharing interface in the order of the change time from latest to earliest.

[0214] In one embodiment, the information sharing application refers to a subroutine running within a social application; the user identifier of any sharing user refers to the user identifier of any sharing user within the social application.

[0215] In one embodiment, the information sharing device further includes an output unit 704; the output unit 704 is configured to output a prompt message for viewing the new change information in the content sharing interface when the content sharing interface of the information sharing application is displayed, if any shared information set has new change information; the processing unit 702 is further configured to refresh the content sharing interface if there is a viewing operation based on the prompt message input; the display unit 701 is further configured to display the new change information in the refreshed content sharing interface, and the new change information is displayed first in the refreshed content sharing interface.

[0216] According to one embodiment of the present invention, Figure 2 and Figure 4 The steps involved in the information sharing method shown can be derived from... Figure 7 This is performed by the various units within the information sharing device shown. For example, Figure 2 Both steps S201 and S202 can be performed by... Figure 7 The information sharing device shown uses the display unit 701 to perform this function; for example, Figure 4 Steps S401-S404 shown can all be generated by Figure 7 The information sharing device shown uses the display unit 701 to perform this function.

[0217] According to another embodiment of the present invention, Figure 7The units in the information sharing device shown can be individually or entirely merged into one or more other units, or some of the units can be further divided into multiple functionally smaller units. This achieves the same operation without affecting the technical effects of the embodiments of the present invention. The above-mentioned units are divided based on logical functions. In practical applications, the function of one unit can be implemented by multiple units, or the function of multiple units can be implemented by one unit. In other embodiments of the present invention, the information sharing device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented collaboratively by multiple units.

[0218] According to another embodiment of the present invention, it is possible to perform operations such as... by running on a general-purpose computing device, such as a computer, which includes processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM). Figure 2 and Figure 4 The computer program (including program code) for each step involved in the corresponding method shown, to construct such... Figure 7 The information sharing apparatus shown herein, and the information sharing method for implementing embodiments of the present invention, are described. The computer program may be recorded on, for example, a computer-readable storage medium, loaded onto the aforementioned computing device via the computer-readable storage medium, and run therein.

[0219] In this embodiment of the invention, when the target user's information sharing application is running, the user interface of the target user's information sharing application is displayed on the terminal. This user interface displays by default a marker indicating at least one shared information set that the target user has joined, and a browsing trigger option to browse changes in shared information within each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined that shared information set, and this at least one sharing user includes the target user and non-contact users of the target user. When the browsing trigger option in the user interface is selected, the content sharing interface of the target user in the information sharing application is displayed, and the historical change information of shared information in each of the at least one shared information set is displayed in the content sharing interface. The change information of shared information in any shared information set is used to indicate any shared information newly added or deleted by the target user's non-contact users in that shared information set at any given historical time.

[0220] As can be seen in the above information sharing process, the target user and non-contact users of the target user can join the same shared information set and can upload shared information in the shared information set. Furthermore, the target user can also view the changes generated by the modification operations of non-contact users on the shared information in any shared information set. In other words, the information sharing method proposed in this embodiment of the invention does not limit users in the same shared information set to be friends. Compared with the prior art, it enriches the application scenarios of information sharing and saves the storage resources for storing the friendship relationship between users, thus saving resource consumption during information sharing.

[0221] Based on the above method and device embodiments, this invention also provides a terminal. See also... Figure 8 This is a schematic diagram of the structure of a terminal provided in an embodiment of the present invention. Figure 8 The terminal shown may include at least a processor 801, an input interface 802, an output interface 803, and a computer storage medium 804. The processor 801, input interface 802, output interface 803, and computer storage medium 804 may be connected via a bus or other means.

[0222] The computer storage medium 804 can be stored in the terminal's memory. The computer storage medium 804 is used to store computer programs, including programmatic computer programs. The processor 801 is used to execute the programmatic computer programs stored in the computer storage medium 804. The processor 801 (or CPU (Central Processing Unit)) is the terminal's computing and control core, suitable for implementing one or more computer programs, specifically suitable for loading and executing:

[0223] The user interface of the information sharing application is displayed. The user interface includes a flag for at least one shared information set joined by the target user and a browsing trigger option. The browsing trigger option is used to trigger browsing of the historical change information of shared information in each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined the at least one shared information set. The at least one sharing user includes the target user and non-contact users of the target user.

[0224] If the browsing trigger option is selected, the content sharing interface of the information sharing application is displayed, and the historical change information of the shared information in each of the at least one shared information set is displayed in the content sharing interface. The historical change information of the shared information in any shared information set is used to indicate the shared information newly added or deleted by the non-contact user of the target user in any shared information set at any historical time.

[0225] This invention also provides a computer storage medium (memory), which is a memory device in a terminal used to store programs and data. It is understood that the computer storage medium here can include the terminal's built-in storage medium, or it can include extended storage media supported by the terminal. The computer storage medium provides storage space, which stores the terminal's operating system. Furthermore, this storage space also stores one or more computer programs suitable for loading and execution by the processor 801. These computer programs can be one or more computer programs (including program code). It should be noted that the computer storage medium here can be high-speed RAM, or non-volatile memory, such as at least one disk storage device; optionally, it can also be at least one computer storage medium located remotely from the aforementioned processor.

[0226] In one embodiment, the computer storage medium may be loaded and executed by the processor 801, along with one or more computer programs stored in the computer storage medium, to achieve the aforementioned... Figure 2 and Figure 4 The corresponding steps of the information sharing method shown are as follows. In specific implementation, one or more computer programs in the computer storage medium are loaded by the processor 801 and executed as follows:

[0227] The user interface of the information sharing application is displayed. The user interface includes a flag for at least one shared information set joined by the target user and a browsing trigger option. The browsing trigger option is used to trigger browsing of the historical change information of shared information in each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined the at least one shared information set. The at least one sharing user includes the target user and non-contact users of the target user.

[0228] If the browsing trigger option is selected, the content sharing interface of the information sharing application is displayed, and the historical change information of the shared information in each of the at least one shared information set is displayed in the content sharing interface. The historical change information of the shared information in any shared information set is used to indicate the shared information newly added or deleted by the non-contact user of the target user in any shared information set at any historical time.

[0229] In one embodiment, the processor 801 is further configured to: if a marker for any shared information set in the user interface is triggered, display a browsing interface corresponding to the shared information set, and display shared information in the shared information set in the browsing interface; the browsing interface includes a management trigger option for managing the shared information set; if the management trigger option is triggered, display a first management interface for managing the shared information set.

[0230] In one embodiment, if the target user is a sharer of any shared information set, the first management interface includes any one or more of the following: a first invitation option to invite new shared users to join the any shared information set, personal information of each of the at least one shared users, an exit option to exit the any shared information set, and a setting control for the display position of the any shared information set in the user interface;

[0231] If the target user is the creator of any of the shared information sets, then the first management interface includes any one or more of the following: a first invitation option to invite new shared users to join the shared information set, a management option to manage the at least one shared user, personal information of each of the at least one shared user, a setting control for the display position of the shared information set in the user interface, and a delete option to delete the shared information set.

[0232] The personal information of any sharing user includes the user identifier of the sharing user and the number of shared information that the sharing user has published in any shared information set; if the display location setting control is in the target state, the identifier of any shared information set is displayed at the target location of the user interface.

[0233] In one embodiment, if the target user is the creator of any shared information set, and the first management interface includes management options for managing the at least one shared user, the processor 801 is further configured to: if the management option is triggered, display a second management interface for managing the at least one shared user, the second management interface including a user identifier for each of the at least one shared user, and a deletion option corresponding to the user identifiers of other shared users besides the target user; if the deletion option corresponding to the user identifier of the target shared user among the other shared users is triggered, then delete the target shared user from at least one shared user in any shared information set.

[0234] In one embodiment, the browsing interface further includes a second invitation option to invite new sharing users to join any of the shared information sets. The processor 801 is further configured to: select the second invitation option and display invitation information for joining the any of the shared information sets, wherein the invitation information is used to instruct the target user to send the invitation information to the target session; if any session participant of the target session triggers the invitation information, the user identifier of the session participant in the information sharing application is displayed in the browsing interface.

[0235] In one embodiment, if the target user is the creator of any shared information set, then the any shared information set belongs to the target user's source shared information set; if the target user is the sharer of any shared information set, then the any shared information set belongs to the target user's soft link shared information set.

[0236] In one embodiment, each shared information set in the at least one shared information set corresponds to an information index. If any shared information set belongs to the source shared information set of the target user, the information index corresponding to any shared information set includes the following fields: the identifier field of any shared information set, the creator field of any shared information set, and the user information field of each shared user among the at least one shared user who has joined the any shared information set.

[0237] If any of the shared information sets belongs to the soft link shared information set of the target user, then the information index corresponding to any of the shared information sets includes the following fields: the creator field of the source shared information set corresponding to any of the shared information sets and the identifier field of the source shared information set corresponding to any of the shared information sets.

[0238] The user information field of any shared user includes any one or more of the following fields: the sharing status field of any shared user in any shared information set, the user identifier field of any shared user in any shared information set, the information sharing permission field set by any shared user in any shared information set, the tag of the soft link information set joined by any shared user, and the relevant information for inviting any shared user to join the any shared information set.

[0239] In one embodiment, the processor 801 is further configured to: if there is a management operation on the first management interface to manage any shared information set, then acquire a target distributed lock corresponding to any shared information set; the management operation includes any one or more of the following: inviting a new shared user to join the any shared information set, deleting an existing shared user from the at least one shared user, or exiting the any shared information set; if the target distributed lock is successfully acquired, then manage the any shared information set according to the management operation, and release the target distributed lock after the management of the any shared information set is completed.

[0240] In one embodiment, after the target distributed lock is successfully acquired, the processor 801 is further configured to release the target distributed lock if the target distributed lock is not released within a preset time.

[0241] In one embodiment, when the processor 801 displays the shared information of any shared information set in the browsing interface if any shared information set belongs to the soft link shared information set of the target user, and the shared information of any shared information set corresponds to a target source information set, the following steps are performed: if the tag of any shared information set is triggered, the terminal sends the identifier of any shared information set to the server, which instructs the server to determine that any shared information set belongs to the soft link shared information set based on the length of the identifier of any shared information set, obtain the target source information set corresponding to any shared information set, and return the shared information in the target source information set as the shared information in any shared information set to the terminal; the received shared information in any shared information set is displayed in the browsing interface corresponding to any shared information set.

[0242] In one embodiment, when the processor 801 displays historical change information of shared information in each of the at least one shared information set in the content sharing interface, it performs the following steps: if the browsing trigger option is triggered, it obtains the identifier of each shared information set in at least one shared information set;

[0243] Based on the correspondence between the identifier of each shared information set and the change information of the shared information in each shared information set, as well as the identifier of each shared information set, the historical change information of the shared information in each shared information set is obtained through the information flow pull interface, and the historical change information of the shared information in each shared information set is displayed in the content sharing interface in the order of change time from latest to earliest.

[0244] In one embodiment, the information sharing application refers to a subroutine running within a social application; the user identifier of any sharing user refers to the user identifier of any sharing user within the social application.

[0245] In one embodiment, the processor 801 is further configured to: when displaying the content sharing interface of the information sharing application, if any shared information set has new change information, output a prompt message for viewing the new change information in the content sharing interface; if the content sharing interface has a viewing operation based on the prompt message, refresh the content sharing interface and display the new change information in the refreshed content sharing interface, wherein the new change information is displayed first in the refreshed content sharing interface.

[0246] In this embodiment of the invention, when the target user's information sharing application is running, the user interface of the target user's information sharing application is displayed on the terminal. This user interface displays by default a marker indicating at least one shared information set that the target user has joined, and a browsing trigger option to browse changes in shared information within each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined that shared information set, and this at least one sharing user includes the target user and non-contact users of the target user. When the browsing trigger option in the user interface is selected, the content sharing interface of the target user in the information sharing application is displayed, and the historical change information of shared information in each of the at least one shared information set is displayed in the content sharing interface. The historical change information of shared information in any shared information set can be information generated based on modification operations of shared information in any shared information set by the target user's non-contact users, or in other words, the historical change information of shared information in any shared information set is used to indicate newly added or deleted shared information in any shared information set by the target user's non-contact users at any historical time.

[0247] As can be seen in the above information sharing process, the target user and non-contact users of the target user can join the same shared information set and upload shared information in the shared information set. Furthermore, the target user can also view the historical change information generated by the modification operations of non-contact users on the shared information in any shared information set. In other words, the information sharing method proposed in this embodiment of the invention does not limit users in the same shared information set to be friends. Compared with the prior art, it enriches the application scenarios of information sharing and saves the storage resources for storing the friendship relationship between users, thus saving resource consumption during information sharing.

[0248] According to one aspect of this application, embodiments of the present invention also provide a computer product or computer program, the computer product or computer program including a computer program stored in a computer-readable storage medium. A processor 801 reads the computer program from the computer-readable storage medium, and the processor 801 executes the computer program, causing a terminal to perform... Figure 2 and Figure 4 The information sharing method shown is as follows:

[0249] The user interface of the information sharing application is displayed. The user interface includes a flag for at least one shared information set joined by the target user and a browsing trigger option. The browsing trigger option is used to trigger browsing of the historical change information of shared information in each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined the at least one shared information set. The at least one sharing user includes the target user and non-contact users of the target user.

[0250] If the browsing trigger option is selected, the display user interface is switched to display the content sharing interface in the information sharing application, and the historical change information of the shared information in each of the at least one shared information set is displayed in the content sharing interface. The historical change information of the shared information in any shared information set is used to indicate the shared information newly added or deleted by the non-contact user of the target user in any shared information set at any historical time.

[0251] In this embodiment of the invention, when the target user's information sharing application is running, the user interface of the target user's information sharing application is displayed on the terminal. This user interface displays by default a marker indicating at least one shared information set that the target user has joined, and a browsing trigger option to browse changes in shared information within each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined that shared information set, and this at least one sharing user includes the target user and non-contact users of the target user. When the browsing trigger option in the user interface is selected, the target user's content sharing interface in the information sharing application is displayed, and the historical change information of shared information in each of the at least one shared information set is displayed in the content sharing interface. The notification information regarding changes to shared information in any shared information set may be information generated based on modification operations performed by non-contact users of the target user on shared information in any shared information set. Alternatively, the historical change information of shared information in any shared information set is used to indicate any newly added or deleted shared information by the target user's non-contact users in that shared information set at any historical time.

[0252] As can be seen in the above information sharing process, the target user and non-contact users of the target user can join the same shared information set and upload shared information in the shared information set. Furthermore, the target user can also view the historical change information generated by the modification operations of non-contact users on the shared information in any shared information set. In other words, the information sharing method proposed in this embodiment of the invention does not limit users in the same shared information set to be friends. Compared with the prior art, it enriches the application scenarios of information sharing and saves the storage resources for storing the friendship relationship between users, thus saving resource consumption during information sharing.

Claims

1. An information sharing method, characterized in that, include: The user interface of the information sharing application is displayed. The user interface includes a flag for at least one shared information set joined by the target user and a browsing trigger option. The browsing trigger option is used to trigger browsing of the historical change information of shared information in each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined the at least one shared information set. The at least one sharing user includes the target user and non-contact users of the target user. If the browsing trigger option is selected, the display of the user interface is switched to the display of the content sharing interface in the information sharing application, and the historical change information of the shared information in each of the at least one shared information set is displayed in the content sharing interface. The historical change information of the shared information in any shared information set is used to indicate the shared information newly added or deleted by the non-contact user of the target user in any shared information set at any historical time. If the marker of any shared information set in the user interface is triggered, the browsing interface corresponding to the shared information set is displayed, and the shared information in the shared information set is displayed in the browsing interface; the browsing interface includes management trigger options for managing the shared information set. If the management trigger option is triggered, a first management interface for managing any of the shared information sets is displayed; If the first management interface has a management operation to manage any of the shared information sets, then the target distributed lock corresponding to any of the shared information sets is obtained; the management operation includes any one or more of the following: inviting new shared users to join any of the shared information sets, deleting existing shared users from the at least one shared user, and exiting any of the shared information sets; If the target distributed lock is successfully acquired, the management operation is performed on any shared information set, and the target distributed lock is released after the management of any shared information set is completed.

2. The method as described in claim 1, characterized in that, The method further includes: If the target user is a sharer of any of the shared information sets, then the first management interface includes any one or more of the following: a first invitation option to invite new sharers to join the shared information set, personal information of each of the at least one sharers, an exit option to exit the shared information set, and a setting control for the display position of the shared information set in the user interface; If the target user is the creator of any of the shared information sets, then the first management interface includes any one or more of the following: a first invitation option to invite new shared users to join the shared information set, a management option to manage the at least one shared user, personal information of each of the at least one shared user, a setting control for the display position of the shared information set in the user interface, and a delete option to delete the shared information set. The personal information of any sharing user includes the user identifier of the sharing user and the number of shared information that the sharing user has published in any shared information set; if the display location setting control is in the target state, the identifier of any shared information set is displayed at the target location of the user interface.

3. The method of claim 2, wherein if the target user is the creator of any of the shared information sets, and the first management interface includes management options for managing the at least one shared user, the method further includes: If the management option is triggered, a second management interface for managing the at least one shared user is displayed. The second management interface includes the user identifier of each of the at least one shared user and a delete option corresponding to the user identifiers of other shared users besides the target user. If the deletion option corresponding to the user identifier of the target shared user among the other shared users is triggered, then the target shared user will be deleted from at least one shared user in any shared information set.

4. The method as described in claim 1, characterized in that, The browsing interface also includes a second invitation option to invite new sharing users to join any of the shared information sets, and the method further includes: Selecting the second invitation option displays an invitation message to join any of the shared information sets. The invitation message is used to instruct the target user to send the invitation message to the target session. If any participant in the target session triggers the invitation message, the user ID of that participant in the information sharing application will be displayed in the browsing interface.

5. The method as described in claim 1, characterized in that, The method further includes: If the target user is the creator of any of the shared information sets, then any of the shared information sets belongs to the target user's source shared information set; if the target user is the sharer of any of the shared information sets, then any of the shared information sets belongs to the target user's soft link shared information set.

6. The method as described in claim 5, characterized in that, Each of the at least one shared information set corresponds to an information index, and the method further includes: If any of the shared information sets belongs to the source shared information set of the target user, then the information index corresponding to any of the shared information sets includes the following fields: the identifier field of any of the shared information sets, the creator field of any of the shared information sets, and the user information field of each of the at least one shared user who has joined any of the shared information sets. If any of the shared information sets belongs to the soft link shared information set of the target user, then the information index corresponding to any of the shared information sets includes the following fields: the creator field of the source shared information set corresponding to any of the shared information sets and the identifier field of the source shared information set corresponding to any of the shared information sets; The user information field of any shared user includes any one or more of the following fields: the sharing status field of any shared user in any shared information set, the user identifier field of any shared user in any shared information set, the information sharing permission field set by any shared user in any shared information set, the tag of the soft link information set joined by any shared user, and the relevant information for inviting any shared user to join the any shared information set.

7. The method as described in claim 1, characterized in that, After the target distributed lock is successfully acquired, the method further includes: If the target distributed lock is not released within the preset time, then the target distributed lock will be released.

8. The method as described in claim 5, characterized in that, If any of the shared information sets belongs to the soft link shared information set of the target user, then any of the shared information sets corresponds to a target source information set, and displaying the shared information of any of the shared information sets in the browsing interface includes: If the tag of any shared information set is triggered, the identifier of any shared information set is sent to the server to instruct the server to determine that any shared information set belongs to the soft link shared information set of the target user based on the length of the identifier of any shared information set, and to obtain the target source information set corresponding to any shared information set, as well as the shared information in the target source information set, and return the obtained shared information as the shared information in any shared information set. The shared information received from any shared information set will be displayed in the browsing interface corresponding to that shared information set.

9. The method as described in claim 1, characterized in that, The step of displaying historical change information of shared information in each of the at least one shared information set in the content sharing interface includes: If the browsing trigger option is triggered, then obtain the identifier of each shared information set in at least one shared information set; Based on the correspondence between the identifier of each shared information set and the historical change information of the shared information in each shared information set, and the identifier of each shared information set, the historical change information of the shared information in each shared information set is obtained through the information flow pull interface, and the historical change information of the shared information in each shared information set is displayed in the content sharing interface in the order of change time from latest to earliest.

10. The method as described in claim 2, characterized in that, The information sharing application refers to a subroutine running within a social application; the user identifier of any sharing user refers to the user identifier of any sharing user within the social application.

11. The method as described in claim 9, characterized in that, The method further includes: When the content sharing interface of the information sharing application is displayed, if any of the shared information sets has new changes, a prompt message for viewing the new changes will be output in the content sharing interface. If the content sharing interface has a viewing operation based on the prompt information input, the content sharing interface is refreshed, and the new change information is displayed in the refreshed content sharing interface, and the new change information is displayed first in the refreshed content sharing interface.

12. An information sharing device, characterized in that, include: A display unit is used to display the user interface of an information sharing application. The user interface includes a flag indicating that the target user has joined at least one shared information set and a browsing trigger option. The browsing trigger option is used to trigger browsing of the historical change information of shared information in each of the at least one shared information set. The shared information in any shared information set is uploaded by at least one sharing user who has joined the at least one shared information set. The at least one sharing user includes the target user and non-contact users of the target user. The display unit is further configured to switch from displaying the user interface to displaying the content sharing interface in the information sharing application if the browsing trigger option is selected, and to display historical change information of the shared information in each of the at least one shared information set in the content sharing interface. The historical change information of the shared information in any shared information set is used to indicate any shared information newly added or deleted by any sharing user in any shared information set at any historical time. The display unit is further configured to display a browsing interface corresponding to any shared information set if the marker of any shared information set in the user interface is triggered, and to display shared information in the shared information set in the browsing interface; the browsing interface includes management trigger options for managing the shared information set. The display unit is further configured to display a first management interface for managing any of the shared information sets if the management trigger option is triggered. The acquisition unit is configured to acquire the target distributed lock corresponding to any shared information set if the first management interface has a management operation for managing any shared information set; the management operation includes any one or more of the following: inviting a new shared user to join the shared information set, deleting an existing shared user from the at least one shared user, and exiting the shared information set; The processing unit is configured to, if the target distributed lock is successfully acquired, manage any shared information set according to the management operation, and release the target distributed lock after the management of any shared information set is completed.

13. A terminal, characterized in that, include: A processor is used to implement one or more computer programs; as well as A computer storage medium storing one or more computer programs, said one or more computer programs being adapted to be loaded by the processor and executed as described in any one of claims 1-11.