Data sharing method and system
Through the data sharing method that stores and grants access rights on the server side, the security and convenience issues of data sharing methods are solved, safe, private and convenient data sharing is realized, and the user experience is improved.
Patent Information
- Application Number
- CN202410736283.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-06-07
AI Technical Summary
Existing data sharing methods have shortcomings in terms of security and convenience. Data sharing using network disk storage has poor security and is susceptible to theft. Data sharing using mobile hard disk storage is inconvenient and involves risks of loss and damage.
By detecting the data sharing conditions, the sharing instructions are sent to the server, including the data association information to be shared and the identification number of the person being shared. If the conditions are met, the data is stored on the server and access rights are granted to realize data sharing and ensure security and privacy. , while improving user experience.
While meeting security and privacy requirements, it also realizes convenient data sharing functions, improves user experience, and avoids the risk of data theft, loss and damage.
Smart Images

Figure CN118316737B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data management, and in particular relates to a data sharing method and system. Background Art
[0002] At present, data storage methods mainly include network disk storage and physical mobile hard disk (U disk) storage. Among them, the network disk storage method is an online storage service launched by Internet companies, which provides users with file management functions such as storage, access, backup, and sharing of Internet-based files. No matter where the user is, as long as he is connected to the Internet, he can manage, edit, and share the file data stored in the network disk. The mobile hard disk storage method usually installs / inserts the hard disk into a computer device for data editing and access, which can be used without the network and has high security performance.
[0003] The main method of data sharing using the network disk storage method is that the user generates a network address for the network disk data to be shared through the network disk application software and shares it with the person being shared. Since the network disk data stored in the network has an independent network address, through this method, the user can easily share the network disk data to be shared with the person being shared. When sharing data using the mobile hard disk storage method, the data in the hard disk can be copied to the computer device and then shared with others through the network, or the hard disk body can be directly mailed to others, and others can share the data by reading the hard disk data.
[0004] However, the disadvantage of the network disk storage sharing mechanism is that the security of its shared network disk data is very poor. Anyone who obtains the network address can access the network disk data, and the sharer cannot control its dissemination range. This method is not applicable to sharing some network disk data that requires privacy. In addition, under the network disk storage method, all data information is stored on the cloud server, and the data is at risk of being stolen and tampered with. In addition, the access and reading speed of the data is greatly dependent on the network bandwidth. When the network bandwidth fluctuates greatly, it will seriously affect the user's access to the data. Although the mobile hard disk storage method is better than the network disk storage in terms of security, its data sharing and access are extremely inconvenient. It must rely on computer equipment to read data information. The operation is complicated and cumbersome when sharing data, which affects the user experience. In actual use, there is a risk of loss and damage to the mobile hard disk. When the mobile hard disk is lost, the data in it may be stolen by others. When the mobile hard disk is damaged, the data in it may be lost and cannot be recovered. Summary of the invention
[0005] The purpose of the embodiments of this specification is to provide a data sharing method and system.
[0006] To solve the above technical problems, the embodiments of the present application are implemented in the following ways:
[0007] In a first aspect, the present application provides a data sharing method, applied to a first client, the method comprising:
[0008] Check whether data sharing conditions are met;
[0009] If the conditions are met, a first sharing instruction is sent to the server, where the first sharing instruction includes information related to the data to be shared and an identification number of a person to be shared who receives the data to be shared;
[0010] The data sharing condition includes: receiving a first sharing instruction triggered by a sharer or the first client is in a charging state and connected to the server.
[0011] In one of the embodiments, the data sharing condition is receiving a first sharing instruction triggered by a sharer;
[0012] Check whether the data sharing conditions are met, including:
[0013] When a sharing instruction triggered by a sharer is received, it is determined that the data sharing condition is met.
[0014] In one embodiment, the method further comprises:
[0015] Determine whether the second client is connected to the server;
[0016] In the case where the second client is not connected to the server, a second sharing instruction is generated according to the information of the person to be shared corresponding to the second client; wherein the second sharing instruction includes the information associated with the data to be shared and the information of the person to be shared who receives the data to be shared;
[0017] Send a second sharing instruction to the server.
[0018] In one of the embodiments, the data sharing condition is that the first client is in a charging state and connected to the server;
[0019] Check whether the data sharing conditions are met, including:
[0020] Detecting whether the first client is charging;
[0021] In the case of charging, detecting whether the first client is connected to the server;
[0022] In the case of connection, it is determined that the data sharing conditions are met.
[0023] In a second aspect, the present application provides a data sharing method, applied to a server, the method comprising:
[0024] Receiving a first sharing instruction sent by a first client, the first sharing instruction including information associated with the data to be shared and an identification number of a person to be shared who receives the data to be shared;
[0025] Determine a shared device according to the shared person identification number, where the shared device includes a server or at least one second client;
[0026] The data to be shared is stored in a designated location according to the first sharing instruction, and the first client and the shared device are granted permission to access the designated location.
[0027] In one embodiment, if the shared device is a second client, and the second client is not connected to the server, the method further includes:
[0028] receiving a second sharing instruction sent by the first client, and generating a sharing invitation link; wherein the second sharing instruction includes information related to the data to be shared and identification information of a person who receives the data to be shared;
[0029] Sending the sharing invitation link to the second client according to the shared person identification information;
[0030] Based on the second sharing instruction, the data to be shared is stored in a designated location, and the first client and the second client are granted permission to access the designated location.
[0031] In one embodiment, granting the first client and the shared device permission to access the specified location includes:
[0032] Granting the first client the authority to manage the data to be shared stored in the specified location;
[0033] Grant the shared device the permission to read the data to be shared stored in the specified location.
[0034] In one embodiment, the designated location is a private shared space created by the server for the first client, and the method further includes:
[0035] An invitation instruction is sent to the second client.
[0036] In a third aspect, the present application provides a data sharing system, the system comprising:
[0037] A first client, the first client executing the method according to the first aspect;
[0038] The server executes the method of the second aspect;
[0039] If the shared device is the second client, the system further includes:
[0040] The second client is used to access the specified location of the server according to the authority granted by the server.
[0041] In one of the embodiments, the second client is not connected to the server, and the second client is further used to receive a sharing invitation link sent by the server, and generate shared person identification information according to the sharing invitation link.
[0042] In one of the embodiments, if the designated location where the to-be-shared data is stored is a private shared space created by the server for the first client, the second client is further configured to receive an invitation instruction sent by the server.
[0043] It can be seen from the technical solution provided in the above embodiments of this specification that this solution: when the data sharing conditions are met, a first sharing instruction is sent to the server to realize data sharing, while ensuring security and privacy, realizing a convenient data sharing function and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0045] Figure 1 A flowchart of a data sharing method provided in an embodiment of the present application;
[0046] Figure 2 Another flowchart of the data sharing method provided in the embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.
[0048] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0049] It will be apparent to those skilled in the art that various modifications and variations may be made to the specific embodiments of the present application description without departing from the scope or spirit of the present application. Other embodiments derived from the present application description will be apparent to those skilled in the art. The present application description and examples are exemplary only.
[0050] The words “include,” “including,” “have,” “contain,” etc. used in this document are open-ended terms, meaning including but not limited to.
[0051] The present invention is further described in detail below with reference to the accompanying drawings and embodiments.
[0052] The data sharing method provided in the embodiment of the present application can be applied to sharing data between two devices, and can also be applied to sharing data between three or more devices. Exemplarily, data sharing between two devices can be data sharing between a first client and a server; data sharing between three or more devices can be data sharing between a first client, a server and at least one second client. Among them, both the first client and the second client have the authority to access and share the server. Among them, the server can be a device with storage capabilities such as an intelligent edge device, a home NAS (Network Attached Storage), and a home gateway. The server can be configured in a local area network environment such as a home network, an office network, and an industrial network. In the following embodiments, the server is illustrated by an intelligent edge device as an example.
[0053] Reference Figure 1 , which shows a flow chart of a data sharing method applicable to the embodiment of the present application. Figure 1 As shown, the data sharing method is applied to the first client, and the method may include:
[0054] S110, detecting whether data sharing conditions are met;
[0055] S120: If the conditions are met, a first sharing instruction is sent to the server, where the first sharing instruction includes information related to the data to be shared and an identification number of a person to be shared who receives the data to be shared;
[0056] The data sharing condition includes: receiving a first sharing instruction triggered by a sharer or the first client is in a charging state and connected to the server.
[0057] Specifically, the user can implement the data sharing method provided in this embodiment by installing corresponding application programs APP or mini-programs or URLs (Uniform Resource Locators) on the first client and the second client. The following embodiment takes APP as an example.
[0058] The first client can be charged and connected to the server as a condition for triggering the first client to share data. It can be understood that the charging method can be a wired charging method or a wireless charging method. The connection between the first client and the server can be through a network connection such as Wi-Fi or 4G or 5G. The following embodiment is illustrated by connecting through Wi-Fi as an example.
[0059] The sharing person may also trigger the first sharing instruction as a condition for triggering the first client to share data. When the sharing person needs to share data, the first sharing instruction is triggered through the APP. The first sharing instruction includes at least the data association information to be shared and the identification number of the person to be shared who receives the data to be shared. The data association information to be shared may be the data to be shared itself, or may be the mapping information of the data to be shared. The mapping information of the data to be shared may be the address information of the data to be shared or other information that can be used to find the data to be shared. The data to be shared may be a file, video, audio, photo, etc. The person to be shared who receives the data to be shared may be a user of the server, or may be another user or multiple other users connected to the server, or all users connected to the server. The above-mentioned identification number of the person to be shared includes at least the user ID (Identity) of the person to be shared. The user ID may be the mobile phone number and / or email address used when the user registers.
[0060] When it is detected that the first sharing instruction triggered by the sharer is received or the first client is in a charging state and connected to the server, the first sharing instruction is sent to the server, that is, the data association information to be shared and the identification number of the person to be shared who receives the data to be shared are sent to the server, so that the server shares the data association information to be shared with the person to be shared according to the identification number of the person to be shared. It can be understood that when the data is shared between the first client and the server, the identification number of the person to be shared corresponds to the user of the server, that is, the server receives the data association information to be shared and stores the data to be shared according to the data association information to be shared, that is, the data sharing is completed; when the data is shared between the first client, the server and the second client, the identification number of the person to be shared corresponds to the user of the second client, that is, the server receives the data association information to be shared, and stores the data to be shared to the designated location of the server storage space according to the data association information to be shared, and grants the first client and the second client corresponding to the identification number of the person to be shared the right to access the designated location, and the person to be shared can view the data to be shared through the second client, that is, the data sharing is completed. It can be understood that if the data association information to be shared is the data to be shared itself, then storing the data to be shared in the designated location of the server storage space according to the data association information to be shared is to store the data to be shared in the designated location of the server storage space; if the data association information to be shared is the mapping information of the data to be shared, then storing the data to be shared in the designated location of the server storage space according to the data association information to be shared is to store the data to be shared in the designated location of the server storage space indicated by the mapping information of the data to be shared. The same is true in the following embodiments.
[0061] In this embodiment, when the first client detects that the sharing conditions are met, it sends a first sharing instruction to the server to complete data sharing. While ensuring security and privacy, a convenient data sharing function is implemented to improve user experience.
[0062] In one embodiment, the data sharing condition is receiving a first sharing instruction triggered by a sharer;
[0063] Check whether the data sharing conditions are met, including:
[0064] When a sharing instruction triggered by a sharer is received, it is determined that the data sharing condition is met.
[0065] Specifically, the sharer can trigger a sharing instruction through the corresponding APP on the first client. When the first client receives the sharing instruction triggered by the sharer, it is considered that the data sharing conditions are met and a first sharing instruction can be sent to the server to complete data sharing.
[0066] In one embodiment, the data sharing method further includes:
[0067] Determine whether the second client is connected to the server;
[0068] In the case where the second client is not connected to the server, a second sharing instruction is generated according to the information of the person to be shared corresponding to the second client; wherein the second sharing instruction includes the information associated with the data to be shared and the information of the person to be shared who receives the data to be shared;
[0069] Send a second sharing instruction to the server.
[0070] Specifically, if it is detected that the second client corresponding to the object to be shared by the sharer, i.e. the person to be shared, is not connected to the server, a second sharing instruction can be generated based on the information of the person to be shared corresponding to the second client, and the second sharing instruction can be sent to the server. The server stores the data to be shared in the designated location of the server storage space according to the information associated with the data to be shared, and grants the first client and the second client corresponding to the information of the person to be shared permission to access the designated location. The person to be shared can view the data to be shared through the second client, thereby completing data sharing.
[0071] The information of the person being shared may include the person's mobile phone number and / or email address.
[0072] In one embodiment, the data sharing condition is that the first client is in a charging state and connected to the server;
[0073] Check whether the data sharing conditions are met, including:
[0074] Detecting whether the first client is charging;
[0075] In the case of charging, detecting whether the first client is connected to the server;
[0076] In the case of connection, it is determined that the data sharing conditions are met.
[0077] Specifically, it detects whether the first client is charging; in the case of charging, it detects whether the first client is connected to the server; that is, it detects whether the server is charging the first client. The identity of the charging device can be obtained by wired or wireless means during charging to determine whether it is a shared device. When the identity is consistent with the identification number of the person being shared, the server is the shared device. By only identifying that the shared device is charging the first client and determining that the data sharing conditions are met, the first sharing instruction can be sent to the server to complete the sharing of the data to be shared with the server, which can better meet user needs and ensure that data is shared only when the user wants to share data, and no data sharing is performed during charging using other ordinary chargers.
[0078] It is understandable that when it is detected that the first client is not connected to the server, a connection can be established with the server via Bluetooth, and then a connection can be established with the server via Wi-Fi according to the Wi-Fi connection information by receiving the Wi-Fi connection information transmitted by the server. If Bluetooth is not turned on, the first client can be manually connected to the server via Wi-Fi.
[0079] Reference Figure 2 , which shows another flow chart of the data sharing method applicable to the embodiment of the present application. Figure 2 As shown, the data sharing method is applied to the server, and the method may include:
[0080] S210, receiving a first sharing instruction sent by a first client, where the first sharing instruction includes information related to the data to be shared and an identification number of a person to be shared who receives the data to be shared;
[0081] S220, determining a shared device according to the shared person identification number, where the shared device includes a server or at least one second client;
[0082] S230: store the data to be shared in a designated location according to the first sharing instruction, and grant the first client and the shared device permission to access the designated location.
[0083] Specifically, when the server receives the first sharing instruction sent by the first client, it stores the data to be shared in the designated location of the storage space of the smart edge device according to the first sharing instruction, and grants the sharer and the shared person the permission to access the designated location. The sharer and the shared person can view the above-mentioned data information to be shared through the APP of the smart edge device.
[0084] In one embodiment, if the shared device is a second client, and the second client is not connected to the server, the data sharing method further includes:
[0085] receiving a second sharing instruction sent by the first client, and generating a sharing invitation link; wherein the second sharing instruction includes information related to the data to be shared and identification information of a person who receives the data to be shared;
[0086] Sending the sharing invitation link to the second client according to the shared person identification information;
[0087] Based on the second sharing instruction, the data to be shared is stored in a designated location, and the first client and the second client are granted permission to access the designated location.
[0088] Specifically, if the object to be shared by the user is not connected to the smart edge device, a sharing invitation can be issued to the object not connected to the smart edge device by sending a second sharing instruction to the smart edge device. The second sharing instruction includes the data association information to be shared and the identification information of the person to be shared, such as the mobile phone number and / or the email number of the person to be shared. After receiving the second sharing instruction, the smart edge device generates a sharing invitation link and sends the sharing invitation link to the person to be shared through the mobile phone number and / or the email number in the second sharing instruction. Specifically, the person to be shared can receive the sharing invitation link in the form of mobile phone text messages and / or emails. Among them, if the client (including the first client and the second client) and the server realize data sharing through APP, the sharing invitation link at least includes the installation package information of APP; if the client and the server realize data sharing through mini-programs, the sharing invitation link at least includes the mini-program link; if the client and the server realize data sharing through URLs, the sharing invitation link at least includes URL path information, etc.
[0089] At the same time, the smart edge device stores the data to be shared in the designated location of the smart edge device storage space based on the second sharing instruction, and gives the sharer and the shared person corresponding to the mobile phone number and / or email number the right to access the designated location.
[0090] In one embodiment, granting the first client and the shared device permission to access the specified location includes:
[0091] Granting the first client the authority to manage the data to be shared stored in the specified location;
[0092] Grant the shared device the permission to read the data to be shared stored in the specified location.
[0093] Specifically, if the shared device is a server, the server grants the first client management authority over the data information at the designated location, that is, the sharer can manage the data information stored at the designated location through an APP or other means, while the server only has read access authority.
[0094] If the shared device is a second client, the server grants the first client management authority over the data information at the designated location, that is, the sharer can manage the data information stored at the designated location through an APP or other means, while the second client only has read access authority.
[0095] It is understandable that the storage space configured in the smart edge device can be divided into public space and private storage space, both of which can be used to store various types of user data information, including photos, videos, documents, audio, etc. The storage space in the smart edge device is provided by the device's own storage disk that supports NVMe high-speed storage and the SATA disk that supports plug-and-play. The data information stored by the user in the smart edge device is essentially the data information stored in the local storage disk, not stored in the cloud network, and has high security.
[0096] When a user accesses a smart edge device for the first time, the smart edge device allocates a private shared space belonging only to the user. The user can access his or her own private shared space and public space, and can store data information in his or her own private shared space or public space. The user cannot access other users' private shared spaces.
[0097] It is understandable that the private storage space and the private shared space created for the data to be shared when sharing data can be two independent spaces, or the private storage space can include the private shared space, that is, a part of the private storage space is allocated as the private shared space, and it is also understandable that the entire space of the private storage space can also be used as the private shared space. In the following embodiments, the private shared space is taken as the entire space of the private storage space as an example.
[0098] In one embodiment, the designated location is a private shared space created by the server for the first client, and the method further includes:
[0099] An invitation instruction is sent to the second client.
[0100] Specifically, when the smart edge device stores the data to be shared in the private shared space of the first client, it sends an invitation instruction to the second client. After the second client accepts the invitation, it can access the private shared space of the first client to complete data sharing.
[0101] The present application also provides a data sharing system, which includes:
[0102] A first client, the first client executes a data sharing method corresponding to the first client;
[0103] The server executes the data sharing method corresponding to the server;
[0104] If the shared device is the second client, the system further includes:
[0105] The second client is used to access the specified location of the server according to the authority granted by the server.
[0106] In one embodiment, if the second client is not connected to the server, the second client is further configured to receive a sharing invitation link sent by the server, and generate shared person identification information according to the sharing invitation link.
[0107] Specifically, when data is shared between the client and the server through an APP, the person being shared downloads and installs the APP according to the shared invitation link, and successfully registers an APP account with a mobile phone number and / or email address. The account is used as the identification information of the person being shared. After completing the connection with the smart edge device through the registered account, the person can read the data to be shared through the APP.
[0108] In one embodiment, if the designated location where the to-be-shared data is stored is a private shared space created by the server for the first client, the second client is further configured to receive an invitation instruction sent by the server.
[0109] Specifically, the second client receives the invitation instruction sent by the server. After receiving the invitation, the second client can access the shared data in the private shared space of the first client.
[0110] In any of the above embodiments, when users (including sharers and shared persons) use clients (including first clients and second clients) to access the smart edge device, they can use a direct connection method, that is, connecting to the wireless router of the smart edge device or being in the same local area network as the smart edge device, or they can use a cloud connection method, which is not limited here.
[0111] In the embodiment of the present application, by configuring storage space in the smart edge device, data sharing can be achieved between user groups accessing the smart edge device, which is both secure and portable.
[0112] Embodiment 1
[0113] User A is the user of the first client and is the sharer; user B is the user of the server and is the shared person. The first client uses a mobile phone, and the server uses an intelligent edge device. The APP that can access and control the intelligent edge device is called the access APP.
[0114] When it is detected that the mobile phone is in charging state and connected to the smart edge device, a first sharing instruction is sent to the smart edge device. The smart edge device stores the data to be shared to the specified location according to the first sharing instruction. User A can manage the data to be shared at the specified location, and user B can only read the data to be shared at the specified location, thereby completing the data sharing between user A and user B.
[0115] Embodiment 2
[0116] User A is the user of the first client and is the sharer; user B is the user of the second client and is the sharee. Both the first client and the second client use mobile phones, and the server (intelligent edge device) uses an intelligent edge device. The APP that can access and control the intelligent edge device is called the access APP. The intelligent edge device is configured with storage space, which can be divided into public space and private storage space, which can be used to store various types of user data information. User A can manage the data information stored in the storage space of the intelligent edge device by installing the access APP on the mobile phone, connecting the intelligent edge device, and turning on the storage function in the access APP. When this function is started for the first time, the intelligent edge device will allocate a private storage space belonging only to user A (the private storage space is a private shared space) to user A. User A can access his private shared space and public space, and can store data information in his private shared space or public space; similarly, when user B installs the access APP, connects to the intelligent edge device, and enables the storage function, the intelligent edge device will also allocate a private storage space belonging only to user B (the private storage space is a private shared space) to user B. User B can access his private shared space and public space, and can store data information in his private shared space or public space.
[0117] Generally, user A cannot access user B's private shared space, and user B cannot access user A's private shared space. When user A wants to share the data in his private shared space with user B, there are two ways to do it:
[0118] 1. Directly share to public space, no privacy
[0119] By directly accessing the storage function in the APP, the smart edge device is controlled to store the data information specified in the private shared space of user A in the public space. At this time, user B can access the data information shared by user A in the public space by accessing the APP to achieve the function of data sharing.
[0120] 2. Share to user A's private shared space, which is private
[0121] Step 1: User A can create a private shared space by accessing the storage function in the APP and send an invitation instruction to user B. After user B accepts the invitation, he can access the private shared space created by user A.
[0122] Step 2: User A selects the data information to be shared by accessing the storage function in the APP and clicks Share, triggering the first sharing instruction. After receiving the first sharing instruction, the smart edge device will store the data information selected by user A to be shared in the private sharing space created by user A, thereby realizing user A sharing data with user B.
[0123] It can be understood that the above two steps can be performed separately or simultaneously, that is, user A selects the data information to be shared by accessing the storage function in the APP and clicks to share, triggering a first sharing instruction. After the smart edge device receives the first sharing instruction, it will create a private sharing space for user A. While storing the data information selected by user A to be shared in the private sharing space created by user A, an invitation is sent to user B. After user B accepts the invitation, he can access the shared data information in user A's private sharing space.
[0124] Embodiment 3
[0125] When user B in Example 2 has not accessed the smart edge device, the smart edge device first receives the second sharing instruction sent by user A, generates a sharing invitation link, and sends the sharing invitation link to user B according to the shared person identification information in the second sharing instruction. User B installs the access APP, and the subsequent steps are the same as those in Example 2 and will not be repeated here.
[0126] It should be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0127] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
Claims
1. A data sharing method, characterized in that: Applied to the server, the method includes: Receiving a first sharing instruction sent by a first client, wherein the first sharing instruction includes information related to the data to be shared and an identification number of a person to be shared who receives the data to be shared; Determine a shared device according to the shared person identification number, wherein the shared device is at least one second client; storing the data to be shared in a designated location according to the first sharing instruction, and granting the first client and the shared device permission to access the designated location; In the case where the second client is not connected to the server, the method further includes: receiving a second sharing instruction sent by the first client, and generating a sharing invitation link; wherein the second sharing instruction includes information associated with the data to be shared and identification information of a person who receives the data to be shared; According to the shared person identification information, sending the sharing invitation link to the second client; Based on the second sharing instruction, the to-be-shared data is stored in a designated location, and the first client and the second client are granted permission to access the designated location; The step of granting the first client and the shared device permission to access the designated location includes: Granting the first client the authority to manage the data to be shared stored in the designated location; The shared device is granted permission to read the data to be shared stored in the designated location.
2. The method according to claim 1, characterized in that The designated location is a private shared space created by the server for the first client, and the method further includes: Send an invitation instruction to the second client.
3. A data sharing system, characterized in that: The system comprises: First Client; A server, wherein the server executes the method according to claim 1 or 2; A second client, used to access a designated location of the server according to the authority granted by the server; Wherein, the first client executes: Check whether data sharing conditions are met; If the conditions are met, a first sharing instruction is sent to the server, wherein the first sharing instruction includes information related to the data to be shared and an identification number of a person to be shared who receives the data to be shared; The data sharing conditions include: receiving a first sharing instruction triggered by a sharer or the first client is in a charging state and connected to the server; If the data sharing condition is the receiving of the first sharing instruction triggered by the sharer; Whether the detection satisfies the data sharing conditions includes: Upon receiving a sharing instruction triggered by the sharer, determining that the data sharing condition is satisfied; Determining whether the second client is connected to the server; In the case where the second client is not connected to the server, a second sharing instruction is generated according to the information of the person to be shared corresponding to the second client; wherein the second sharing instruction includes the information associated with the data to be shared and the information of the person to be shared who receives the data to be shared; Sending the second sharing instruction to the server; If the data sharing condition is that the first client is in a charging state and connected to the server; Whether the detection satisfies the data sharing conditions includes: Detecting whether the first client is charging; In the case of charging, detecting whether the first client is connected to the server; In case of connection, it is determined that the data sharing condition is satisfied.
4. The system according to claim 3, characterized in that If the second client is not connected to the server, the second client is further used to receive the sharing invitation link sent by the server, and generate the shared person identification information according to the sharing invitation link.
5. The system according to claim 3, characterized in that If the designated location where the to-be-shared data is stored is a private shared space created by the server for the first client, the second client is further configured to receive an invitation instruction sent by the server.
Citation Information
Patent Citations
Method, client terminal, server and system for accessing shared data
CN104410615A
File sharing method, server and clients
CN106790172A
Information transmission management method, information transmission management device and readable storage medium
CN111835578A
Information sharing method and device, electronic equipment and storage medium
CN113542335A
Data sharing method, apparatus, storage medium and server
WO2018076841A1
