WO2018076841A1 - Data sharing method, apparatus, storage medium and server - Google Patents
Data sharing method, apparatus, storage medium and server Download PDFInfo
- Publication number
- WO2018076841A1 WO2018076841A1 PCT/CN2017/094816 CN2017094816W WO2018076841A1 WO 2018076841 A1 WO2018076841 A1 WO 2018076841A1 CN 2017094816 W CN2017094816 W CN 2017094816W WO 2018076841 A1 WO2018076841 A1 WO 2018076841A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- client
- user
- data
- data sharing
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Definitions
- the present invention relates to the field of computer technologies, and in particular, to a data sharing method, apparatus, storage medium, and server.
- the way of storing data has gradually changed from hardware storage (such as mobile hard disk, U disk) to cloud server storage.
- the user can store the terminal data in the cloud server anytime and anywhere through the client of the cloud server installed in the terminal, and the user can also share the terminal data in the cloud server to other users.
- the user needs to perform multiple interactions with the cloud server, which makes the entire sharing process complicated, takes a long time, and brings inconvenience to the user.
- the embodiment of the invention provides a data sharing method, device, storage medium and server, so as to simplify the whole sharing process and improve sharing efficiency.
- the invention provides a data sharing method, which comprises:
- the embodiment of the invention further provides a data sharing device, including:
- a first obtaining unit configured to acquire a sharing request sent by the first client, where the sharing request includes identifier information of the user data to be shared and identity information of the second client;
- a generating unit configured to generate a data sharing link according to the identifier information, where the data sharing link is used to acquire the user data to be shared;
- a sending unit configured to send the data sharing link to the second client according to the identity information.
- Embodiments of the present invention also provide a storage medium storing a plurality of instructions, the plurality of instructions being adapted to cause a computer to perform a data sharing method as described above when running on a computer.
- the embodiment of the invention further provides a server, comprising a processor and a memory, the memory storing a plurality of instructions, the processor loading the instructions in the memory for performing the following steps:
- the embodiment of the invention provides a data sharing method, device, storage medium and server, so as to simplify the whole sharing process and improve sharing efficiency.
- FIG. 1 is a flowchart of a data sharing method according to an embodiment of the present invention.
- FIG. 2 is still another flowchart of a data sharing method according to an embodiment of the present invention.
- FIG. 3 is a schematic structural diagram of a data sharing apparatus according to an embodiment of the present invention.
- FIG. 4 is still another schematic structural diagram of a data sharing apparatus according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram of a scenario of a data sharing system according to an embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention.
- FIG. 7 is another schematic structural diagram of a server according to an embodiment of the present invention.
- first, second, and the like in the present invention may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another.
- a first control may be referred to as a second control, and similarly, a second control may be referred to as a first control, without departing from the scope of the present invention.
- Both the first control and the second control are controls, but they are not the same control.
- the terms “comprises” and “comprising” and “comprising” are intended to cover a non-exclusive inclusion.
- an embodiment of the present invention provides a data sharing method, where the method includes:
- the method before the obtaining the sharing request sent by the first client, the method further includes:
- the method before the generating the data sharing link according to the identifier information, the method further includes:
- the generating the data sharing link according to the identifier information comprises: generating a data sharing link according to the operation information and the identifier information.
- the determining, according to the identity information of the second client, whether the second client user is an unfamiliar user comprises:
- the generating the data sharing link according to the identifier information comprises: generating a data sharing link according to the identifier information and the identity information of the second client.
- the sharing request further includes a preset number of accesses
- the method further includes: acquiring a number of accesses to access the user data to be shared by using the data sharing link;
- the data sharing link is cleared.
- the identification information is a storage address of user data within the cloud server.
- FIG. 1 is a flowchart of a data sharing method according to an embodiment of the present invention.
- the data sharing method is applied to the cloud server.
- the data sharing method can also be applied to other devices, and is not specifically limited herein.
- the data sharing method includes the following implementation steps:
- Step S101 Acquire a sharing request sent by the first client, where the sharing request includes identifier information of the user data to be shared and identity information of the second client.
- Step S102 Generate a data sharing link according to the identifier information, where the data sharing link is used to acquire the user data to be shared;
- Step S103 Send the data sharing link to the second client according to the identity information.
- step S101 after the first client user synchronizes the user data to the cloud server, the cloud server stores the user data to the corresponding storage area, and each user data corresponds to a storage address, and the cloud server uses the storage address as the storage address.
- the identification information of the user data, and the identification information is sent to the first client.
- the identification information of the user data is a storage address of the user data within the cloud server.
- the identification information of the user data may be other information used to identify the user data, as long as the cloud server can find the corresponding user data according to the identification information, and no specific limitation is imposed herein.
- the first client user When the first client user wants to share the user data to the second client user, the first client user logs in to the client of the cloud server through the terminal, and enters the sharing interface through the sharing portal. After the first client user selects the user data to be shared and enters the identity information of the second client, the first client obtains the identifier information of the user data to be shared and the identity information of the second client, and according to the identifier of the user data to be shared. The information and the identity information of the second client generate a sharing request and send the sharing request to the cloud server. The cloud server will get the sharing request.
- the identity information includes the user name of the client user, the user's phone number, and/or the registered mailbox, and the specific content of the identity information is not limited herein.
- the identity information may include one type of information, and may also include a variety of information.
- the identity information is the user's phone number of the client user.
- the identity information may also be composed of the registered email address and the user's telephone number of the client user, and no specific restrictions are imposed here.
- the cloud server parses the identifier information of the user data to be shared in the sharing request and the identity information of the second client.
- the cloud server generates a data sharing link according to the identifier information, where the data sharing link is used to obtain the user data to be shared shared by the first client user.
- the cloud server sends the data sharing link to the second client according to the identity information of the second client.
- the cloud server can obtain the user data to be shared corresponding to the identifier information in the data sharing link, and present the data to be shared to the second client user.
- the client user can browse or download the shared user data shared by the first client user.
- the cloud server in order to protect the security of the first client user data, avoiding the second client user inadvertently leaking the first client user data, etc., in step S102, the cloud server will be based on the user to be shared.
- the identification information of the data and the identity information of the second client generate a data sharing link.
- the second client user intercepts the data sharing link or the second client user forwards the data sharing link to other client users, since the identity information of other client users is different from the identity information in the data sharing link, the other The client user cannot access the first client user data through the data sharing link. That is to say, only the second client has the right to access the user data to be shared through the data sharing link, and other client users have no right to access the user data to be shared, thereby ensuring the security of the first client user data.
- the sharing request sent by the first client is obtained, where the sharing request includes the identification information of the user data to be shared and the identity information of the second client; generating a data sharing link according to the identification information; The identity information sends the data sharing link to the second client.
- the cloud server directly sends the data sharing link to the second client, and the data sharing can be completed without the first client user performing other operations, which simplifies the entire sharing process and saves the first client user. time.
- FIG. 2 is still another flowchart of a data sharing method according to an embodiment of the present invention.
- the data sharing method is applied to the cloud server.
- the data sharing method can also be applied to other devices, and is not specifically limited herein.
- the data sharing method comprises:
- Step S201 Acquire user data of the first client, and obtain identifier information corresponding to the user data.
- Step S202 Acquire a sharing request sent by the first client, where the sharing request includes identifier information of the user data to be shared, identity information of the second client, and preset access times.
- Step S203 Determine, according to the identity information of the second client, whether the second client user is an unfamiliar user, and if it is determined that the second client user is an unfamiliar user, perform step S209, and if the second client is determined If the end user is not an unfamiliar user, step S204 is performed;
- Step S204 Generate a data sharing link according to the identifier information, where the data sharing link is used to obtain the user data to be shared;
- Step S205 Send the data sharing link to the second client according to the identity information.
- Step S206 Acquire a number of accesses to access the user data to be shared through the data sharing link
- Step S207 determining whether the number of accesses is equal to the preset number of accesses, and if so, executing step S208, and if not, executing step S206;
- Step S208 Clear the data sharing link
- Step S209 Send prompt information to the first client.
- Step S210 Acquire operation information fed back by the first client according to the prompt information.
- Step S211 Generate a data sharing link according to the operation information and the identification information, and return to step S205.
- step S201 after the first client user logs in to the client of the cloud server, the user data in the terminal is uploaded to the cloud server through the upload button in the client.
- the cloud server will obtain the user data sent by the first client, and store the user data in the corresponding storage area of the cloud server.
- each user data corresponds to a storage address.
- the cloud server obtains the storage address and uses the storage address as the identification information of the user data, that is, obtains the identifier information corresponding to the user data, and sends the identifier information to the first client.
- the identification information of the user data may be a storage address of the user data in the cloud server, and may of course be other information that plays a role of identification, as long as the cloud server can find the corresponding user data according to the identification information. No specific restrictions are made here.
- step S202 when the first client user wants to share the user data to the second client user, the first client user logs in to the sharing server through the sharing portal by logging in to the client of the cloud server through the terminal.
- the first client user selects the user data to be shared, and inputs the identity information of the second client and the preset number of accesses.
- the first client obtains the identification information of the user data to be shared, the identity information of the second client, and the preset number of accesses, and according to the identification information of the user data to be shared, the identity information of the second client, and the preset access.
- Generate a sharing request as many times and send the sharing request to the cloud server.
- the cloud server will get the sharing request.
- the identity information includes the user name of the client user, the user's phone number, and/or the registered mailbox, and the specific content of the identity information is not limited herein.
- the identity information may include one type of information, and may also include a variety of information.
- the identity information is the user's phone number of the client user.
- the identity information may also be composed of the registered email address and the user's telephone number of the client user, and no specific restrictions are imposed here.
- the preset access times refer to the number of times the first client user wants to share user data to be accessed. For example, the first client user only wants the second client user to access the user data to be shared once. Setting the preset access times can prevent the second client user from sending the subsequently generated data sharing link to other clients and inadvertently causing the first client user data to leak.
- step S203 after the cloud server obtains the sharing request sent by the first client, the cloud server obtains the identification information of the user data to be shared, the identity information of the second client, and the preset access times by parsing the sharing request.
- the cloud server determines, according to the identity information of the second client, whether the second client user is an unfamiliar user. Specifically, the cloud server determines, according to the identity information of the second client, whether the second client user has a communication interaction with the first client user, where the communication interaction includes a phone, a short message, a shared data, and the like.
- determining whether the second client user is an unfamiliar user according to the identity information of the second client may be implemented by: acquiring the first client corresponding to the identity information according to the identity information of the second client The history sharing record of the end user; determining whether the second client user is an unfamiliar user according to the history sharing record.
- the cloud server when the first client user has never had a communication interaction with the second client user, the cloud server will not obtain the communication interaction with the first client user according to the identity information of the second client. At this time, the cloud The server will determine that the second client user is an unfamiliar user. If the first client user has shared its user data with the second client user, the cloud server will obtain the history sharing record with the first client user according to the identity information of the second client user, and according to the history The sharing record determines that the second client user is not an unfamiliar user.
- the method for the cloud server to determine whether the second client user is an unfamiliar user is not limited to the foregoing, and may be determined by other methods, and is not specifically limited herein.
- the cloud server When the step S203 determines that the second client user is not an unfamiliar user, the cloud server generates a data sharing link according to the identifier information, where the data sharing link is used to obtain the to-be-shared user data shared by the first client user.
- the cloud server sends the data sharing link to the second client according to the identity information of the second client, that is, step S204 and step S205 are performed.
- the cloud server can obtain the to-be-shared user data corresponding to the identifier information in the data sharing link, and present the to-shared user data to the second client user.
- the second client user can browse or download the shared user data shared by the first client user.
- the cloud server acquires the number of accesses to access the user data to be shared through the data sharing link, and determines whether the number of accesses is Equal to the preset number of visits. If it is determined that the number of accesses is not equal to the preset number of accesses, it indicates that the number of accesses is less than the preset number of accesses. At this time, the cloud server returns to step S206, that is, each time the data sharing link is accessed through the data sharing link. After that, the cloud server performs cumulative access times.
- the cloud server will perform step S208 to clear the data sharing link. Thereafter, if another client user clicks on the data sharing link, the cloud server will feed back a prompt message of an invalid address link.
- the cloud server obtains the data to be shared by the data sharing link.
- the number of accesses is 1, and the cloud server will determine that the number of accesses 1 is not equal to the preset number of accesses 2, and the cloud server will wait for the next access.
- the cloud server After the second client user accesses the data to be shared again through the data sharing link, the number of accesses obtained by the cloud server is 2, and it is determined that the number of accesses is equal to the preset number of accesses 2.
- the cloud server will clear the data sharing. The link makes the data sharing link invalid. If the second client user forwards the data sharing link to other client users at this time, when the other client user clicks the data sharing link again, the cloud server will feedback the prompt information of the invalid address link to other clients, thereby ensuring The security of the first client user data.
- step S203 When it is determined in step S203 that the second client user is an unfamiliar user, in order to further protect the security of the first client user data, the cloud server sends a prompt message to the first client, that is, step S209 is performed.
- the prompt information is used to prompt the first client user whether to continue to share data with the unfamiliar user.
- the first client will obtain the operation information of the first client user, and send the operation information to the cloud server.
- the cloud server will obtain the operation information fed back by the first client according to the prompt information, that is, step S210 is performed.
- the cloud server After receiving the operation information for continuing to share data with the unfamiliar user, the cloud server generates a data sharing link according to the identification information, that is, performs step S211, and returns to step S205.
- the user will choose to cancel the sharing of data to the unfamiliar user, and then the first client will obtain the operation information for canceling the sharing of data to the unfamiliar user. And sending the operation information for canceling the data sharing to the unfamiliar user to the cloud server, so that the cloud server ends the sharing operation according to the operation information of the data sharing to the unfamiliar user. Therefore, the phenomenon that the user data is leaked due to the negligence of the first client user is effectively avoided.
- the travel photos in the mobile phone are synchronized to the cloud server.
- the cloud server will store the travel photo and obtain the address information of the travel photo, and use the address information as the identification information of the travel photo.
- the cloud server sends the identification information of the travel photo to the first client.
- the first user clicks on the sharing portal of the client interface.
- the first user selects the travel photo in the sharing interface, and inputs the second user's phone number at the corresponding location, and sets the preset access count to 1.
- the first user's client will obtain the identification information of the travel photo, the second user's phone number and the preset access times, and according to the identification information of the travel photo, the second user's phone number and the preset.
- the number of visits generates a sharing request and sends a sharing request to the cloud server.
- the cloud server will obtain the identification information of the travel photo, the phone number of the second user, and the preset access times by parsing the sharing request, and determine whether the second user has performed data sharing with the first user according to the second user's phone number. If it is determined that the second user has never performed data sharing with the first user, the cloud server determines that the second user is an unfamiliar user, and the cloud server sends a prompt message to the first client, where the prompt information is used to prompt the first Whether a user needs to continue to share data with unfamiliar users.
- the first client will send "Yes” operation information to the cloud server.
- the cloud server After receiving the operation information of the “Yes”, the cloud server generates a data sharing link of the travel photo according to the identifier information, and sends the data sharing link to the second client corresponding to the phone number of the second user. In this way, the second user can click on the data sharing link to access the first user's travel photos.
- the cloud server After the second user completes accessing the travel photos of the first user, the cloud server acquires the number of accesses currently accessing the data to be shared through the data sharing link, and determines whether the current number of accesses is equal to the preset number of accesses 1. If the cloud server determines that the current number of accesses is equal to the preset number of accesses 1, the cloud server will clear the data sharing link.
- determining whether the second client user is an unfamiliar user according to the identity information of the second client, and when determining that the user is an unfamiliar user, sending a prompt message to the first client user to notify the first client user For strange users. If the first client user wants to continue to share with the second client user, the cloud server generates a data sharing link according to the identifier information sent by the first client, and sends the data sharing link to the second client, so that the second The client user can access the user data to be shared by the first client.
- the first client user sets a preset number of accesses, and when the number of accesses to access the shared user data through the data sharing link reaches a preset number of accesses, the data sharing is cleared. Links that make it impossible for others to gain unauthorized access through the data sharing link.
- the cloud server directly sends the data sharing link to the second client, and the data sharing can be completed without the first client user performing other operations, which simplifies the entire sharing process and saves the time of the first client user. .
- preset the number of accesses it is possible to further avoid the occurrence of data leakage of the first client user and improve the security of data sharing.
- an embodiment of the present invention provides a data sharing apparatus, including:
- a first obtaining unit configured to acquire a sharing request sent by the first client, where the sharing request includes identifier information of the user data to be shared and identity information of the second client;
- a generating unit configured to generate a data sharing link according to the identifier information, where the data sharing link is used to acquire the user data to be shared;
- a sending unit configured to send the data sharing link to the second client according to the identity information.
- the data sharing apparatus further includes a second obtaining unit, configured to acquire user data of the first client, and acquire identification information corresponding to the user data.
- the data sharing apparatus further includes a determining unit, the determining unit further includes a first determining subunit, a prompting subunit, and an obtaining prompting subunit;
- the first determining subunit is configured to determine, according to the identity information of the second client, whether the second client user is an unfamiliar user;
- the prompting subunit is configured to send prompt information to the first client if it is determined that the second client user is an unfamiliar user;
- the obtaining prompt subunit is configured to obtain operation information that is fed back by the first client according to the prompt information;
- the generating unit is configured to generate a data sharing link according to the operation information and the identification information.
- the generating unit is configured to generate a data sharing link according to the identifier information and the identity information of the second client.
- the sharing request further includes a preset access number;
- the data sharing device further includes: an obtaining determining unit, where the obtaining determining unit includes an obtaining subunit, a second determining subunit, and a clearing subunit;
- the obtaining subunit is configured to acquire the number of accesses to access the user data to be shared through the data sharing link;
- the second determining subunit is configured to determine whether the number of accesses is equal to the preset number of accesses
- the clearing subunit is configured to clear the data sharing link if the number of accesses is equal to the preset number of accesses.
- FIG. 3 is a schematic structural diagram of a data sharing apparatus according to an embodiment of the present invention.
- the data sharing device 300 is applied to the cloud server.
- the data sharing device 300 can also be applied to other devices, and is not specifically limited herein.
- the data sharing device 300 includes a first obtaining unit 310, a generating unit 320, and a transmitting unit 330.
- the first obtaining unit 310 is configured to acquire the sharing request sent by the first client, where the sharing request includes the identifier information of the user data to be shared and the identity information of the second client.
- the generating unit 320 is configured to use the identifier information according to the identifier information. Generating a data sharing link, wherein the data sharing link is used to obtain the user data to be shared; and the sending unit 330 is configured to send the data sharing link to the second client according to the identity information.
- the data sharing device 300 will be described in detail below with reference to FIG.
- the first client user When the first client user wants to share the user data to the second client user, the first client user logs in to the client of the cloud server through the terminal, and enters the sharing interface through the sharing portal. After the first client user selects the user data to be shared and enters the identity information of the second client, the first client obtains the identifier information of the user data to be shared and the identity information of the second client, and according to the identifier of the user data to be shared. The information and the identity information of the second client generate a sharing request, and send the sharing request to the data sharing device 300 of the cloud server. The first obtaining unit 310 in the data sharing device 300 will acquire the sharing request.
- the identity information includes the user name of the client user, the user's phone number, and/or the registered mailbox, and the specific content of the identity information is not limited herein.
- the identity information may include one type of information, and may also include a variety of information.
- the identity information is the user's phone number of the client user.
- the identity information may also be composed of the registered email address and the user's telephone number of the client user, and no specific restrictions are imposed here.
- the identification information of the user data is a storage address of the user data within the cloud server.
- the identification information of the user data may be other information used to identify the user data, as long as the cloud server can find the corresponding user data according to the identification information, and no specific limitation is imposed herein.
- the first obtaining unit 310 After receiving the sharing request sent by the first client, the first obtaining unit 310 obtains the identification information of the user data to be shared in the sharing request and the identity information of the second client by parsing, and identifies the information of the user data to be shared.
- the identity information of the second client and the second client are sent to the generating unit 320.
- the generating unit 320 generates a data sharing link according to the identification information, and the generating unit 320 sends the generated data sharing link and the identity information of the second client to the sending unit 330, wherein the data sharing link is used to acquire the user data to be shared.
- the sending unit 330 sends the data sharing link to the second client according to the identity information.
- the cloud server can obtain the user data to be shared corresponding to the identifier information in the data sharing link, and present the data to be shared to the second client user.
- the client user can browse or download the shared user data shared by the first client user. .
- the generating unit 320 will identify the information according to the user data to be shared.
- a data sharing link is generated with the identity information of the second client.
- the data sharing device 300 acquires the sharing request sent by the first client by using the first obtaining unit 310, where the sharing request includes the identification information of the user data to be shared and the identity information of the second client; the generating unit 320 Generating a data sharing link according to the identification information; the sending unit 330 sends the data sharing link to the second client according to the identity information.
- the data sharing device 300 can directly send the data sharing link to the second client, and the data sharing can be completed without the first client user performing other operations, which simplifies the entire sharing process and saves the time of the first client user.
- FIG. 4 is still another schematic structural diagram of a data sharing apparatus according to an embodiment of the present invention.
- the data sharing device 400 is applied to the cloud server.
- the data sharing device 400 can also be applied to other devices, and is not specifically limited herein.
- the data sharing apparatus 400 includes a second obtaining unit 410, a first obtaining unit 420, a determining unit 430, a generating unit 440, a sending unit 450, and an obtaining determining unit 460, wherein the determining unit 430 includes a first determining unit.
- the above data sharing device 400 will be described in detail below with reference to FIG.
- the user data in the terminal is uploaded to the data sharing device 400 of the cloud server through the upload button in the client.
- the second obtaining unit 410 in the data sharing device 400 will acquire the user data sent by the first client, and store the user data in a corresponding storage area of the cloud server.
- each user data corresponds to a storage address.
- the second obtaining unit 410 will acquire the storage address, and use the storage address as the identification information of the user data, that is, obtain the identification information corresponding to the user data, and send the identification information to the first client.
- the identification information of the user data may be a storage address of the user data in the cloud server, and may of course be other information that plays a role of identification, as long as the cloud server can find the corresponding user data according to the identification information. No specific restrictions are made here.
- the first client user When the first client user wants to share the user data to the second client user, the first client user logs in to the client of the cloud server through the terminal, and enters the sharing interface through the sharing portal.
- the first client user selects the user data to be shared, and inputs the identity information of the second client and the preset access times.
- the first client obtains the identifier information of the user data to be shared and the identity information of the second client.
- the preset access times and generating a sharing request according to the identification information of the user data to be shared, the identity information of the second client, and the preset access times, and sending the sharing request to the data sharing device 400.
- the first obtaining unit 420 will acquire the sharing request.
- the identity information includes the user name of the client user, the user's phone number, and/or the registered mailbox, and the specific content of the identity information is not limited herein.
- the identity information may include one type of information, and may also include a variety of information.
- the identity information is the user's phone number of the client user.
- the identity information may also be composed of the registered email address and the user's telephone number of the client user, and no specific restrictions are imposed here.
- the preset access times refer to the number of times the first client user wants to share user data to be accessed. For example, the first client user only wants the second client user to access the user data to be shared once. Setting the preset access times can prevent the second client user from sending the subsequently generated data sharing link to other clients and inadvertently causing the first client user data to leak.
- the first obtaining unit 420 After obtaining the sharing request sent by the first client, the first obtaining unit 420 obtains the identification information of the user data to be shared, the identity information of the second client, and the preset access times by parsing the sharing request, and the user data to be shared is to be shared.
- the identification information, the identity information of the second client, and the preset number of accesses are sent to the determining unit 430.
- the first determining sub-unit 431 in the determining unit 430 determines whether the second client user is an unfamiliar user according to the identity information of the second client. Specifically, the first determining sub-unit 431 determines, according to the identity information of the second client, whether the second client user has a communication interaction with the first client user, where the communication interaction includes a phone, a short message, sharing data, and the like.
- the first determining sub-unit 431 when the first client user has never had a communication interaction with the second client user, the first determining sub-unit 431 will not obtain the communication interaction with the first client user according to the identity information of the second client. At this point, the cloud server will determine that the second client user is an unfamiliar user. If the first client user has shared its user data with the second client user, the first determining sub-unit 431 will obtain a history sharing record with the first client user according to the identity information of the second client user. And determining, according to the historical sharing record, that the second client user is not an unfamiliar user.
- the method for determining whether the second client user is an unfamiliar user is not limited to the foregoing, and may be determined by other methods, and is not specifically limited herein.
- the first determining sub-unit 431 determines that the second client user is not an unfamiliar user
- the first determining sub-unit 431 sends the first signal, the identification information of the user data to be shared, and the identity of the second client to the generating unit 440.
- the information and the preset access times are such that the generating unit 440 generates a data sharing link according to the identification information after obtaining the first signal, and sends the generated data sharing link, the identity information of the second client, and the preset access times to the sending unit 450.
- the data sharing link is used to obtain user data to be shared.
- the sending unit 450 sends the data sharing link to the second client according to the identity information of the second client, and sends the preset access times to the acquisition determining unit 460.
- the cloud server may obtain the user data to be shared corresponding to the identifier information in the data sharing link, and the The shared user data is presented to the second client user, so that the second client user can browse or download the shared user data shared by the first client user.
- the obtaining sub-unit 461 in the obtaining determining unit 460 acquires the number of accesses to access the user data to be shared through the data sharing link, and acquires the obtained data.
- the number of accesses is passed to the second judging subunit 462.
- the second determining sub-unit 462 will determine whether the current number of accesses is equal to the preset number of accesses.
- the second determining sub-unit 462 determines that the current number of accesses is not equal to the preset number of accesses, the current number of accesses is less than the preset number of accesses, and the second determining sub-unit 462 sends a second signal to the obtaining sub-unit 461. After the receiving the second signal, the obtaining sub-unit 461 re-acquires the number of accesses to access the user data to be shared through the data sharing link.
- the second determining sub-unit 462 determines that the current access times are equal to the preset access times, the second determining sub-unit 462 sends a third signal to the clearing sub-unit 463, so that the clearing sub-unit 463 clears the data sharing link according to the third signal. . Thereafter, the client user can no longer access the data to be shared through the data sharing link.
- the obtaining sub-unit 461 will obtain access to be shared through the data sharing link.
- the number of accesses of the user data is 1, and the second determining sub-unit 462 determines that the number of accesses 1 is not equal to the preset number of accesses 2, and the obtaining sub-unit 461 will wait for the next access.
- the second client user accesses the data to be shared again through the data sharing link
- the number of accesses acquired by the obtaining subunit 461 is 2
- the second determining subunit 462 determines that the number of accesses is equal to the preset number of accesses 2.
- the clear sub-unit 463 will clear the data sharing link, making the data sharing link invalid.
- the first determining sub-unit 431 determines that the second client user is an unfamiliar user, in order to further protect the security of the first client user data, the first determining sub-unit 431 will send a fourth signal to the prompting sub-unit 432.
- the prompting sub-unit 432 sends the prompt information to the first client according to the fourth signal.
- the prompt information is used to prompt the first client user whether to continue to share data with the unfamiliar user.
- the first client will obtain the operation information of the first client user, and send the operation information to the data sharing device 400.
- the obtaining prompt sub-unit 433 will obtain the operation information fed back by the first client according to the prompt information, and the operation information for continuing to share data with the unfamiliar user, the identification information of the user data to be shared, the identity information of the second client, and the preset.
- the number of accesses is sent to the generating unit 440.
- the data sharing link is generated according to the identification information, and the data sharing link, the second client identity information, and the preset access are generated.
- the number of times is sent to the transmitting unit 450.
- the transmitting unit 450 and the acquisition judging unit 460 are caused to perform the aforementioned operational procedures.
- the user will choose to cancel the sharing of data to the unfamiliar user, and then the first client will obtain the operation information for canceling the sharing of data to the unfamiliar user.
- the operation information for canceling the sharing of data to the unfamiliar user is sent to the acquisition prompt sub-unit 433, so that the acquisition prompt sub-unit 433 ends the sharing operation according to the operation information for canceling the sharing of data to the unfamiliar user. Therefore, the phenomenon that the user data is leaked due to the negligence of the first client user is effectively avoided.
- the data sharing device 400 determines, by the first determining sub-unit 431, whether the second client user is an unfamiliar user according to the identity information of the second client.
- the prompting sub-unit 432 is first.
- the client user sends a prompt message to inform the first client that the user is an unfamiliar user.
- the generating unit 440 generates a data sharing link according to the identifier information sent by the first client, and the sending unit 450 sends the data sharing link to the second client. In this way, the second client user can access the user data to be shared of the first client.
- the first client user sets a preset access times, and when the number of accesses to access the shared user data through the data sharing link reaches a preset access times, the clearing sub-unit 463 Clear the data sharing link so that others can't access it illegally through the data sharing link.
- the data sharing device 400 can directly send the data sharing link to the second client, and the data sharing can be completed without the first client user performing other operations, which simplifies the entire sharing process and saves the time of the first client user.
- preset the number of accesses it is possible to further avoid the occurrence of data leakage of the first client user and improve the security of data sharing.
- the data sharing system mainly includes a terminal and a cloud server, and the cloud server and the terminal can be connected through a wired or wireless network.
- FIG. 5 is a schematic diagram of a scenario of a data sharing system provided by the present invention.
- the data sharing system includes a cloud server and a terminal, wherein the cloud server integrates the data sharing device provided by the present invention, and the cloud server stores a large number of user data and corresponding identification information.
- the first client and the second client in the present invention are installed in the terminal, where the terminal may be a server such as a mobile phone or a tablet computer.
- the first client When the first client user wants to share data with the second client user, the first client sends a sharing request to the cloud server.
- the cloud server obtains the sharing request sent by the first client, where the sharing request includes the identification information of the user data to be shared and the identity information of the second client; the cloud server obtains the identification information of the user data to be shared by parsing the sharing request and The identity information of the second client is generated, and the data sharing link is generated according to the identifier information, and the data sharing link is sent to the second client according to the identity information, where the data sharing link is used to obtain the user data to be shared.
- the second client user can browse or download the shared user data shared by the first client user by clicking the data sharing link.
- the embodiment of the present invention further provides a server.
- a server Referring to FIG. 6, a schematic structural diagram of a server according to an embodiment of the present invention is shown.
- the server 500 includes a processor 501 and a memory 502, where:
- the processor 501 in the server 500 loads the executable file corresponding to the process of one or more applications into the memory 502 according to the following instructions, and is executed by the processor 501 to be stored in the memory.
- the instruction in 502 is used to perform the following steps:
- the processor 501 also runs instructions stored in the memory 502 for performing the steps of: acquiring user data of the first client; and obtaining identification information corresponding to the user data.
- the memory 502 stores user data of the first client acquired by the processor 501. After the memory 502 stores the user data of the first client, the processor 501 acquires the identification information corresponding to the user data from the memory 502.
- the processor 501 sends the message to the second client
- the second client user can click, and the processor 501 reads the user data of the corresponding first client from the memory 502 and presents the data to the second client.
- the client user so that the second client user can browse or download the user data to be shared that the first client user wants to share.
- the processor 501 further executes the following steps before executing the data sharing link according to the identifier information, to perform the following steps: determining, according to the identity information of the second client, whether the second client user is an unfamiliar user; Sending the prompt information to the first client, and acquiring the operation information fed back by the first client according to the prompt information; and generating a data sharing link according to the identifier information Specifically, the method includes: generating a data sharing link according to the operation information and the identification information.
- the processor 501 is further configured to: obtain, according to the identity information of the second client, a history sharing record corresponding to the first client user corresponding to the identity information; and determine, according to the history sharing record, Whether the second client user is an unfamiliar user.
- the processor 501 when executing the data sharing link according to the identifier information, specifically executes the following instructions to perform the following steps: generating a data sharing link according to the identifier information and the identity information of the second client.
- the processor 501 also runs instructions stored in the memory 502 to perform the steps of: the sharing request further includes a preset number of accesses; and transmitting the data sharing link to the second client according to the identity information
- the method further includes: obtaining a number of accesses to access the user data to be shared by using the data sharing link; determining whether the number of accesses is equal to the preset number of accesses; and if the number of accesses is equal to the preset number of accesses, Then clear the data sharing link.
- the embodiment of the present invention further provides a server 500, wherein any of the data backup devices provided in the above embodiments may be integrated.
- a server 500 wherein any of the data backup devices provided in the above embodiments may be integrated.
- FIG. 7 another structure diagram of the server 500 according to the embodiment of the present invention is shown. Specifically:
- the server 500 can include one or more processors 501 of processing cores, a memory 502 of one or more computer readable storage media, a communication unit 503, a power source 504, an input unit 505, and a display unit 506.
- server structure illustrated in FIG. 6 does not constitute a limitation to the server, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements. among them:
- Processor 501 is the control center of the server, connecting various portions of the server with various interfaces and lines, by running or executing software programs and/or modules stored in memory 502, and recalling data stored in memory 502, Execute the server's various functions and process data to monitor the server as a whole.
- the processor 501 may include one or more processing cores; the processor 501 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, etc., and a modulation solution
- the processor mainly handles wireless communication. It can be understood that the above modem processor may not be integrated into the processor 501.
- the memory 502 can be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by running software programs and modules stored in the memory 502.
- the communication unit 503 can be used for receiving and transmitting signals during transceiving information.
- the communication unit 503 receives signals transmitted by the terminal and hands the signals to one or more processors 501 for processing.
- the communication unit 503 transmits the feedback signal sent by the processor 501 to the terminal.
- the server 500 also includes a power source 504 (such as a battery) that supplies power to various components.
- the power source can be logically coupled to the processor 501 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
- the power supply 504 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
- the server 500 can also include an input unit 505 that can be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
- an input unit 505 can be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
- the server 500 can also include a display unit 506 that can be used to display information entered by the user or information provided to the user and various graphical user interfaces of the server, which can be represented by graphics, text, icons, videos. And any combination of them to constitute.
- the display unit 508 can include a display panel, and optionally, a liquid crystal display can be used. (LCD, Liquid Crystal Display), Organic Light Emitting Diode (OLED, Organic Light-Emitting) Diode) and other forms to configure the display panel.
- LCD Liquid Crystal Display
- OLED Organic Light Emitting Diode
- the data sharing device provided by the embodiment of the present invention is in the same concept as the data sharing method in the embodiment of the present invention, and any method provided in the data sharing method embodiment may be run on the data sharing device.
- any method provided in the data sharing method embodiment may be run on the data sharing device.
- details of the implementation process refer to the data sharing method embodiment, which is not described here.
- the computer program may be stored in a computer readable storage medium, such as in a memory of the terminal, and executed by at least one processor in the terminal, and may include a method of data sharing as described in the execution process.
- the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM, Read) Only Memory), random access memory (RAM, Random Access Memory), etc.
- each functional module may be integrated into one processing chip, or each module may exist physically separately, or two or more modules may be integrated into one module.
- the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
- the integrated module if implemented in the form of a software functional module and sold or used as a standalone product, may also be stored in a computer readable storage medium, such as a read only memory, a magnetic disk or an optical disk, etc. .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
本申请要求于2016年10月25日提交中国专利局、申请号为:201610939525.0 、发明名称为“数据分享方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application is required to be submitted to the Chinese Patent Office on October 25, 2016, and the application number is 201610939525.0. The priority of the Chinese patent application entitled "Data Sharing Method and Apparatus" is hereby incorporated by reference in its entirety.
本发明涉及计算机技术领域,特别是涉及一种数据分享方法、装置、存储介质及服务器。The present invention relates to the field of computer technologies, and in particular, to a data sharing method, apparatus, storage medium, and server.
随着网络技术的不断发展,存储数据的方式已逐渐从硬件存储(如移动硬盘、U盘)转变为云端服务器存储。用户可以通过终端内安装的云端服务器的客户端随时随地地将终端数据存储在云端服务器中,用户也可以将云端服务器中的终端数据分享给其他用户。然而,现有的分享方法中用户需要与云端服务器进行多次的交互,使得整个分享过程复杂话,耗时长,给用户带来不便。With the continuous development of network technology, the way of storing data has gradually changed from hardware storage (such as mobile hard disk, U disk) to cloud server storage. The user can store the terminal data in the cloud server anytime and anywhere through the client of the cloud server installed in the terminal, and the user can also share the terminal data in the cloud server to other users. However, in the existing sharing method, the user needs to perform multiple interactions with the cloud server, which makes the entire sharing process complicated, takes a long time, and brings inconvenience to the user.
本发明实施例提供一种数据分享方法、装置、存储介质及服务器,以使得整个分享过程简单化,提升共享效率。The embodiment of the invention provides a data sharing method, device, storage medium and server, so as to simplify the whole sharing process and improve sharing efficiency.
本发明提供一种数据分享方法,其包括:The invention provides a data sharing method, which comprises:
获取第一客户端发送的分享请求,其中所述分享请求包括待分享用户数据的标识信息和第二客户端的身份信息;Obtaining a sharing request sent by the first client, where the sharing request includes identifier information of the user data to be shared and identity information of the second client;
根据所述标识信息生成数据分享链接,所述数据分享链接用于获取所述待分享用户数据;以及Generating a data sharing link according to the identification information, where the data sharing link is used to acquire the user data to be shared;
根据所述身份信息发送所述数据分享链接至所述第二客户端。Sending the data sharing link to the second client according to the identity information.
本发明实施例还提供一种数据分享装置,其包括:The embodiment of the invention further provides a data sharing device, including:
第一获取单元,用于获取第一客户端发送的分享请求,其中所述分享请求包括待分享用户数据的标识信息和第二客户端的身份信息;a first obtaining unit, configured to acquire a sharing request sent by the first client, where the sharing request includes identifier information of the user data to be shared and identity information of the second client;
生成单元,用于根据所述标识信息生成数据分享链接,所述数据分享链接用于获取所述待分享用户数据;a generating unit, configured to generate a data sharing link according to the identifier information, where the data sharing link is used to acquire the user data to be shared;
发送单元,用于根据所述身份信息发送所述数据分享链接至所述第二客户端。And a sending unit, configured to send the data sharing link to the second client according to the identity information.
本发明实施例还提供一种存储介质,所述存储介质存储多条指令,所述多条指令适于在计算机上运行时,使得所述计算机执行如上所述的数据分享方法。Embodiments of the present invention also provide a storage medium storing a plurality of instructions, the plurality of instructions being adapted to cause a computer to perform a data sharing method as described above when running on a computer.
本发明实施例还提供一种服务器,包括处理器和存储器,所述存储器存储多条指令,所述处理器通过加载所述存储器中的指令用于执行以下步骤:The embodiment of the invention further provides a server, comprising a processor and a memory, the memory storing a plurality of instructions, the processor loading the instructions in the memory for performing the following steps:
获取第一客户端发送的分享请求,其中所述分享请求包括待分享用户数据的标识信息和第二客户端的身份信息;Obtaining a sharing request sent by the first client, where the sharing request includes identifier information of the user data to be shared and identity information of the second client;
根据所述标识信息生成数据分享链接,所述数据分享链接用于获取所述待分享用户数据;以及Generating a data sharing link according to the identification information, where the data sharing link is used to acquire the user data to be shared;
根据所述身份信息发送所述数据分享链接至所述第二客户端。Sending the data sharing link to the second client according to the identity information.
本发明实施例提供一种数据分享方法、装置、存储介质及服务器,以使得整个分享过程简单化,提升共享效率。The embodiment of the invention provides a data sharing method, device, storage medium and server, so as to simplify the whole sharing process and improve sharing efficiency.
图1为本发明实施例提供的数据分享方法的流程图。FIG. 1 is a flowchart of a data sharing method according to an embodiment of the present invention.
图2为本发明实施例提供的数据分享方法的又一流程图。FIG. 2 is still another flowchart of a data sharing method according to an embodiment of the present invention.
图3为本发明实施例提供的数据分享装置的结构示意图。FIG. 3 is a schematic structural diagram of a data sharing apparatus according to an embodiment of the present invention.
图4为本发明实施例提供的数据分享装置的又一结构示意图。FIG. 4 is still another schematic structural diagram of a data sharing apparatus according to an embodiment of the present invention.
图5为本发明实施例提供的数据分享系统的场景示意图。FIG. 5 is a schematic diagram of a scenario of a data sharing system according to an embodiment of the present invention.
图6为本发明实施例提供的服务器的结构示意图。FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention.
图7为本发明实施例提供的服务器的另一结构示意图。FIG. 7 is another schematic structural diagram of a server according to an embodiment of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明中的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。例如,在不脱离本发明的范围的情况下,可以将第一控件称为第二控件,且类似地,可将第二控件称为第一控件。第一控件与第二控件两者都是控件,但其不是同一控件。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。The terms "first", "second", and the like in the present invention may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first control may be referred to as a second control, and similarly, a second control may be referred to as a first control, without departing from the scope of the present invention. Both the first control and the second control are controls, but they are not the same control. Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion.
第一方面,本发明实施例提供了一种数据分享方法,其中,所述方法包括:In a first aspect, an embodiment of the present invention provides a data sharing method, where the method includes:
获取第一客户端发送的分享请求,其中所述分享请求包括待分享用户数据的标识信息和第二客户端的身份信息;Obtaining a sharing request sent by the first client, where the sharing request includes identifier information of the user data to be shared and identity information of the second client;
根据所述标识信息生成数据分享链接,所述数据分享链接用于获取所述待分享用户数据;以及Generating a data sharing link according to the identification information, where the data sharing link is used to acquire the user data to be shared;
根据所述身份信息发送所述数据分享链接至所述第二客户端。Sending the data sharing link to the second client according to the identity information.
在一些实施例中,在所述获取第一客户端发送的分享请求之前,还包括:In some embodiments, before the obtaining the sharing request sent by the first client, the method further includes:
获取所述第一客户端的用户数据;Obtaining user data of the first client;
获取与所述用户数据对应的标识信息。Obtaining identification information corresponding to the user data.
在一些实施例中,在所述根据所述标识信息生成数据分享链接之前,还包括:In some embodiments, before the generating the data sharing link according to the identifier information, the method further includes:
根据所述第二客户端的身份信息判断第二客户端用户是否为陌生用户;Determining, according to the identity information of the second client, whether the second client user is an unfamiliar user;
若判断出所述第二客户端用户为陌生用户,则向所述第一客户端发送提示信息;If it is determined that the second client user is an unfamiliar user, sending a prompt message to the first client;
获取所述第一客户端根据所述提示信息反馈的操作信息;Obtaining operation information that is fed back by the first client according to the prompt information;
所述根据所述标识信息生成数据分享链接包括:根据所述操作信息和所述标识信息生成数据分享链接。The generating the data sharing link according to the identifier information comprises: generating a data sharing link according to the operation information and the identifier information.
在一些实施例中,所述根据所述第二客户端的身份信息判断第二客户端用户是否为陌生用户,包括:In some embodiments, the determining, according to the identity information of the second client, whether the second client user is an unfamiliar user comprises:
根据所述第二客户端的身份信息,获取与所述身份信息对应的与所述第一客户端用户的历史分享记录;Obtaining, according to the identity information of the second client, a history sharing record corresponding to the identity information and the first client user;
根据所述历史分享记录判断所述第二客户端用户是否为陌生用户。Determining, according to the history sharing record, whether the second client user is an unfamiliar user.
在一些实施例中,所述根据所述标识信息生成数据分享链接,包括:根据所述标识信息和第二客户端的身份信息生成数据分享链接。In some embodiments, the generating the data sharing link according to the identifier information comprises: generating a data sharing link according to the identifier information and the identity information of the second client.
在一些实施例中,所述分享请求还包括预设访问次数;In some embodiments, the sharing request further includes a preset number of accesses;
在所述根据所述身份信息发送所述数据分享链接至所述第二客户端之后,还包括:获取通过所述数据分享链接访问所述待分享用户数据的访问次数;After the sending the data sharing link to the second client according to the identity information, the method further includes: acquiring a number of accesses to access the user data to be shared by using the data sharing link;
判断所述访问次数是否等于所述预设访问次数;Determining whether the number of accesses is equal to the preset number of accesses;
若所述访问次数等于所述预设访问次数,则清除所述数据分享链接。If the number of accesses is equal to the preset number of accesses, the data sharing link is cleared.
在一些实施例中,所述标识信息为用户数据在云端服务器内的存储地址。In some embodiments, the identification information is a storage address of user data within the cloud server.
请参照图1,图1为本发明实施例提供的数据分享方法的流程图。该数据分享方法应用于云端服务器中,当然,在其他实施例中,该数据分享方法也可以应用在其他设备中,在此不做具体限制。Please refer to FIG. 1. FIG. 1 is a flowchart of a data sharing method according to an embodiment of the present invention. The data sharing method is applied to the cloud server. Of course, in other embodiments, the data sharing method can also be applied to other devices, and is not specifically limited herein.
在一些实施例中,数据分享方法包括以下实现步骤:In some embodiments, the data sharing method includes the following implementation steps:
步骤S101:获取第一客户端发送的分享请求,其中所述分享请求包括待分享用户数据的标识信息和第二客户端的身份信息;Step S101: Acquire a sharing request sent by the first client, where the sharing request includes identifier information of the user data to be shared and identity information of the second client.
步骤S102:根据所述标识信息生成数据分享链接,所述数据分享链接用于获取所述待分享用户数据;以及Step S102: Generate a data sharing link according to the identifier information, where the data sharing link is used to acquire the user data to be shared;
步骤S103:根据所述身份信息发送所述数据分享链接至所述第二客户端。Step S103: Send the data sharing link to the second client according to the identity information.
下面将结合图1对本实施例中的数据分享方法做详细地介绍。The data sharing method in this embodiment will be described in detail below with reference to FIG. 1.
在步骤S101中,第一客户端用户在同步其用户数据至云端服务器后,云端服务器会存储该用户数据至相应存储区域,每个用户数据均对应一个存储地址,该云端服务器将该存储地址作为用户数据的标识信息,并将该标识信息发送至第一客户端。In step S101, after the first client user synchronizes the user data to the cloud server, the cloud server stores the user data to the corresponding storage area, and each user data corresponds to a storage address, and the cloud server uses the storage address as the storage address. The identification information of the user data, and the identification information is sent to the first client.
在一些实施例中,用户数据的标识信息为用户数据在云端服务器内的存储地址。当然,在其他实施例中,用户数据的标识信息可以为其他用来识别用户数据的信息,只要云端服务器根据该标识信息可以查找到相应的用户数据即可,在此不做具体限制。In some embodiments, the identification information of the user data is a storage address of the user data within the cloud server. Of course, in other embodiments, the identification information of the user data may be other information used to identify the user data, as long as the cloud server can find the corresponding user data according to the identification information, and no specific limitation is imposed herein.
当第一客户端用户希望分享其用户数据给第二客户端用户时,第一客户端用户通过终端登录云端服务器的客户端,通过分享入口进入分享界面。第一客户端用户选择好待分享用户数据以及输入第二客户端的身份信息后,第一客户端将获取待分享用户数据的标识信息以及第二客户端的身份信息,同时根据待分享用户数据的标识信息和第二客户端的身份信息生成分享请求,并将分享请求发送至云端服务器。云端服务器将获取该分享请求。When the first client user wants to share the user data to the second client user, the first client user logs in to the client of the cloud server through the terminal, and enters the sharing interface through the sharing portal. After the first client user selects the user data to be shared and enters the identity information of the second client, the first client obtains the identifier information of the user data to be shared and the identity information of the second client, and according to the identifier of the user data to be shared. The information and the identity information of the second client generate a sharing request and send the sharing request to the cloud server. The cloud server will get the sharing request.
在此需要说明的是,身份信息包括客户端用户的用户名、用户电话号码和/或注册邮箱等信息,在此不对身份信息的具体内容做限制。另外,身份信息可以包括一种信息,也可以包括多种信息。例如,身份信息为客户端用户的用户电话号码。当然,身份信息也可以由客户端用户的注册邮箱和用户电话号码组成,在此不做具体限制。It should be noted that the identity information includes the user name of the client user, the user's phone number, and/or the registered mailbox, and the specific content of the identity information is not limited herein. In addition, the identity information may include one type of information, and may also include a variety of information. For example, the identity information is the user's phone number of the client user. Of course, the identity information may also be composed of the registered email address and the user's telephone number of the client user, and no specific restrictions are imposed here.
在步骤S102和S103中,云端服务器接收到第一客户端发送的分享请求后,将解析获取该分享请求中的待分享用户数据的标识信息和第二客户端的身份信息。云端服务器根据该标识信息生成数据分享链接,其中,该数据分享链接用于获取第一客户端用户分享的待分享用户数据。同时,云端服务器根据第二客户端的身份信息发送该数据分享链接至第二客户端。第二客户端用户在点击该数据分享链接后,云端服务器可以获取该数据分享链接中与该标识信息对应的待分享用户数据,并将该待分享用户数据呈现给第二客户端用户,这样第二客户端用户就可以浏览或下载第一客户端用户分享的待分享用户数据。In the steps S102 and S103, after receiving the sharing request sent by the first client, the cloud server parses the identifier information of the user data to be shared in the sharing request and the identity information of the second client. The cloud server generates a data sharing link according to the identifier information, where the data sharing link is used to obtain the user data to be shared shared by the first client user. At the same time, the cloud server sends the data sharing link to the second client according to the identity information of the second client. After the second client user clicks the data sharing link, the cloud server can obtain the user data to be shared corresponding to the identifier information in the data sharing link, and present the data to be shared to the second client user. Second, the client user can browse or download the shared user data shared by the first client user.
在一些实施例中,为了保护第一客户端用户数据的安全性,避免第二客户端用户无意中泄露第一客户端用户数据等情况的发生,在步骤S102中,云端服务器将根据待分享用户数据的标识信息和第二客户端的身份信息生成数据分享链接。当其他客户端用户截获该数据分享链接或者第二客户端用户将该数据分享链接转发给其他客户端用户时,由于其他客户端用户的身份信息与数据分享链接中的身份信息不相同,因而其他客户端用户无法通过该数据分享链接访问第一客户端用户数据。也就是说,只有第二客户端才有权限通过该数据分享链接访问待分享用户数据,其他客户端用户无权访问待分享用户数据,从而保证了第一客户端用户数据的安全性。In some embodiments, in order to protect the security of the first client user data, avoiding the second client user inadvertently leaking the first client user data, etc., in step S102, the cloud server will be based on the user to be shared. The identification information of the data and the identity information of the second client generate a data sharing link. When other client users intercept the data sharing link or the second client user forwards the data sharing link to other client users, since the identity information of other client users is different from the identity information in the data sharing link, the other The client user cannot access the first client user data through the data sharing link. That is to say, only the second client has the right to access the user data to be shared through the data sharing link, and other client users have no right to access the user data to be shared, thereby ensuring the security of the first client user data.
在一些实施例中,通过获取第一客户端发送的分享请求,其中所述分享请求包括待分享用户数据的标识信息和第二客户端的身份信息;根据所述标识信息生成数据分享链接;以及根据所述身份信息发送所述数据分享链接至所述第二客户端。该数据分享方法中,云端服务器直接将数据分享链接发送至第二客户端,无需第一客户端用户进行其他操作即可以完成数据分享,这使得整个分享过程简单化,节约第一客户端用户的时间。In some embodiments, the sharing request sent by the first client is obtained, where the sharing request includes the identification information of the user data to be shared and the identity information of the second client; generating a data sharing link according to the identification information; The identity information sends the data sharing link to the second client. In the data sharing method, the cloud server directly sends the data sharing link to the second client, and the data sharing can be completed without the first client user performing other operations, which simplifies the entire sharing process and saves the first client user. time.
请参照图2,图2为本发明实施例提供的数据分享方法的又一流程图。该数据分享方法应用于云端服务器中,当然,在其他实施例中,该数据分享方法也可以应用在其他设备中,在此不做具体限制。Please refer to FIG. 2. FIG. 2 is still another flowchart of a data sharing method according to an embodiment of the present invention. The data sharing method is applied to the cloud server. Of course, in other embodiments, the data sharing method can also be applied to other devices, and is not specifically limited herein.
在一些实施例中,数据分享方法包括:In some embodiments, the data sharing method comprises:
步骤S201:获取所述第一客户端的用户数据,以及获取与所述用户数据对应的标识信息;Step S201: Acquire user data of the first client, and obtain identifier information corresponding to the user data.
步骤S202:获取第一客户端发送的分享请求,其中所述分享请求包括待分享用户数据的标识信息、第二客户端的身份信息和预设访问次数;Step S202: Acquire a sharing request sent by the first client, where the sharing request includes identifier information of the user data to be shared, identity information of the second client, and preset access times.
步骤S203:根据所述第二客户端的身份信息判断第二客户端用户是否为陌生用户,若判断出所述第二客户端用户为陌生用户,则执行步骤S209,若判断出所述第二客户端用户不为陌生用户,则执行步骤S204;Step S203: Determine, according to the identity information of the second client, whether the second client user is an unfamiliar user, and if it is determined that the second client user is an unfamiliar user, perform step S209, and if the second client is determined If the end user is not an unfamiliar user, step S204 is performed;
步骤S204:根据所述标识信息生成数据分享链接,所述数据分享链接用于获取所述待分享用户数据;Step S204: Generate a data sharing link according to the identifier information, where the data sharing link is used to obtain the user data to be shared;
步骤S205:根据所述身份信息发送所述数据分享链接至所述第二客户端;Step S205: Send the data sharing link to the second client according to the identity information.
步骤S206:获取通过所述数据分享链接访问所述待分享用户数据的访问次数;Step S206: Acquire a number of accesses to access the user data to be shared through the data sharing link;
步骤S207:判断所述访问次数是否等于所述预设访问次数,若是,则执行步骤S208,若否,则执行步骤S206;Step S207: determining whether the number of accesses is equal to the preset number of accesses, and if so, executing step S208, and if not, executing step S206;
步骤S208:清除所述数据分享链接;Step S208: Clear the data sharing link;
步骤S209:向所述第一客户端发送提示信息;Step S209: Send prompt information to the first client.
步骤S210:获取所述第一客户端根据所述提示信息反馈的操作信息;Step S210: Acquire operation information fed back by the first client according to the prompt information.
步骤S211:根据所述操作信息和所述标识信息生成数据分享链接,并返回执行步骤S205。Step S211: Generate a data sharing link according to the operation information and the identification information, and return to step S205.
下面将结合图2对上述数据分享方法进行详细地介绍。The above data sharing method will be described in detail below with reference to FIG.
在步骤S201中,第一客户端用户登陆云端服务器的客户端后,通过客户端内的上传按钮将终端内的用户数据上传至云端服务器。云端服务器将获取第一客户端发送的用户数据,并将该用户数据存储在云端服务器的相应存储区内。在云端服务器中,每个用户数据均对应一个存储地址。云端服务器将获取该存储地址,并将该存储地址作为用户数据的标识信息,即获取与用户数据相对应的标识信息,并将该标识信息发送至第一客户端。In step S201, after the first client user logs in to the client of the cloud server, the user data in the terminal is uploaded to the cloud server through the upload button in the client. The cloud server will obtain the user data sent by the first client, and store the user data in the corresponding storage area of the cloud server. In the cloud server, each user data corresponds to a storage address. The cloud server obtains the storage address and uses the storage address as the identification information of the user data, that is, obtains the identifier information corresponding to the user data, and sends the identifier information to the first client.
在此,用户数据的标识信息可以为用户数据在云端服务器内的存储地址,当然也可以为其他的起到标识性作用的信息,只要云端服务器根据该标识信息可以找到相应的用户数据即可,在此不做具体限制。Here, the identification information of the user data may be a storage address of the user data in the cloud server, and may of course be other information that plays a role of identification, as long as the cloud server can find the corresponding user data according to the identification information. No specific restrictions are made here.
在步骤S202中,当第一客户端用户希望分享其用户数据给第二客户端用户时,第一客户端用户通过终端登录云端服务器的客户端,通过分享入口进入分享界面。第一客户端用户选择好待分享用户数据,并输入第二客户端的身份信息以及预设访问次数。在此之后,第一客户端将获取待分享用户数据的标识信息、第二客户端的身份信息和预设访问次数,并根据待分享用户数据的标识信息、第二客户端的身份信息和预设访问次数生成分享请求,并将分享请求发送至云端服务器。云端服务器将获取该分享请求。In step S202, when the first client user wants to share the user data to the second client user, the first client user logs in to the sharing server through the sharing portal by logging in to the client of the cloud server through the terminal. The first client user selects the user data to be shared, and inputs the identity information of the second client and the preset number of accesses. After that, the first client obtains the identification information of the user data to be shared, the identity information of the second client, and the preset number of accesses, and according to the identification information of the user data to be shared, the identity information of the second client, and the preset access. Generate a sharing request as many times and send the sharing request to the cloud server. The cloud server will get the sharing request.
在此需要说明的是,身份信息包括客户端用户的用户名、用户电话号码和/或注册邮箱等信息,在此不对身份信息的具体内容做限制。另外,身份信息可以包括一种信息,也可以包括多种信息。例如,身份信息为客户端用户的用户电话号码。当然,身份信息也可以由客户端用户的注册邮箱和用户电话号码组成,在此不做具体限制。It should be noted that the identity information includes the user name of the client user, the user's phone number, and/or the registered mailbox, and the specific content of the identity information is not limited herein. In addition, the identity information may include one type of information, and may also include a variety of information. For example, the identity information is the user's phone number of the client user. Of course, the identity information may also be composed of the registered email address and the user's telephone number of the client user, and no specific restrictions are imposed here.
预设访问次数是指第一客户端用户希望待分享用户数据被访问的次数。例如,第一客户端用户只希望第二客户端用户访问一次待分享用户数据。设置预设访问次数可以避免第二客户端用户将后续生成的数据分享链接发送至其他客户端而无意地造成第一客户端用户数据泄露等现象的发生。The preset access times refer to the number of times the first client user wants to share user data to be accessed. For example, the first client user only wants the second client user to access the user data to be shared once. Setting the preset access times can prevent the second client user from sending the subsequently generated data sharing link to other clients and inadvertently causing the first client user data to leak.
在步骤S203中,云端服务器获取到第一客户端发送的分享请求后,通过解析该分享请求来获取待分享用户数据的标识信息、第二客户端的身份信息和预设访问次数。In step S203, after the cloud server obtains the sharing request sent by the first client, the cloud server obtains the identification information of the user data to be shared, the identity information of the second client, and the preset access times by parsing the sharing request.
云端服务器根据该第二客户端的身份信息判断第二客户端用户是否为陌生用户。具体地,云端服务器根据第二客户端的身份信息判断第二客户端用户是否与第一客户端用户发生过通信交互,其中,通信交互包括电话、短信、分享数据等。The cloud server determines, according to the identity information of the second client, whether the second client user is an unfamiliar user. Specifically, the cloud server determines, according to the identity information of the second client, whether the second client user has a communication interaction with the first client user, where the communication interaction includes a phone, a short message, a shared data, and the like.
在一些实施例中,根据所述第二客户端的身份信息判断第二客户端用户是否为陌生用户,可以通过以下方式实现:根据第二客户端的身份信息,获取与身份信息对应的与第一客户端用户的历史分享记录;根据历史分享记录判断第二客户端用户是否为陌生用户。In some embodiments, determining whether the second client user is an unfamiliar user according to the identity information of the second client may be implemented by: acquiring the first client corresponding to the identity information according to the identity information of the second client The history sharing record of the end user; determining whether the second client user is an unfamiliar user according to the history sharing record.
例如,当第一客户端用户从未与第二客户端用户进行过通信交互,则云端服务器根据第二客户端的身份信息将获取不到其与第一客户端用户的通信交互,此时,云端服务器将判断出该第二客户端用户为陌生用户。若第一客户端用户曾经分享其用户数据给第二客户端用户,则云端服务器根据第二客户端用户的身份信息将会获取到其与第一客户端用户的历史分享记录,并根据该历史分享记录判断出该第二客户端用户不为陌生用户。For example, when the first client user has never had a communication interaction with the second client user, the cloud server will not obtain the communication interaction with the first client user according to the identity information of the second client. At this time, the cloud The server will determine that the second client user is an unfamiliar user. If the first client user has shared its user data with the second client user, the cloud server will obtain the history sharing record with the first client user according to the identity information of the second client user, and according to the history The sharing record determines that the second client user is not an unfamiliar user.
可以理解的是,在其他实施例中,云端服务器判断第二客户端用户是否为陌生用户的方法不局限于上述情况,也可以采用其他方法进行判断,在此不做具体限制。It can be understood that, in other embodiments, the method for the cloud server to determine whether the second client user is an unfamiliar user is not limited to the foregoing, and may be determined by other methods, and is not specifically limited herein.
当步骤S203判断出该第二客户端用户不为陌生用户时,云端服务器将根据该标识信息生成数据分享链接,其中,该数据分享链接用于获取第一客户端用户分享的待分享用户数据。同时,云端服务器根据第二客户端的身份信息发送该数据分享链接至第二客户端,即执行步骤S204和步骤S205。这样,第二客户端用户在点击该数据分享链接后,云端服务器可以获取该数据分享链接中与该标识信息对应的待分享用户数据,并将该待分享用户数据呈现给第二客户端用户,这样第二客户端用户就可以浏览或下载第一客户端用户分享的待分享用户数据。When the step S203 determines that the second client user is not an unfamiliar user, the cloud server generates a data sharing link according to the identifier information, where the data sharing link is used to obtain the to-be-shared user data shared by the first client user. At the same time, the cloud server sends the data sharing link to the second client according to the identity information of the second client, that is, step S204 and step S205 are performed. In this way, after the second client user clicks the data sharing link, the cloud server can obtain the to-be-shared user data corresponding to the identifier information in the data sharing link, and present the to-shared user data to the second client user. In this way, the second client user can browse or download the shared user data shared by the first client user.
在步骤S206至S208中,当客户端用户每次完成通过该数据分享链接访问待分享用户数据后,云端服务器将获取通过该数据分享链接访问待分享用户数据的访问次数,并判断该访问次数是否等于预设访问次数。若判断出该访问次数不等于该预设访问次数,则说明该访问次数还小于预设访问次数,此时云端服务器将返回至步骤S206,即每次完成通过该数据分享链接访问待分享用户数据后,云端服务器都进行累计获取访问次数。若该访问次数等于预设访问次数,则云端服务器将执行步骤S208,即清除该数据分享链接。此后,若再有客户端用户点击该数据分享链接,则云端服务器将反馈一个无效地址链接的提示信息。In steps S206 to S208, after the client user completes accessing the data to be shared through the data sharing link, the cloud server acquires the number of accesses to access the user data to be shared through the data sharing link, and determines whether the number of accesses is Equal to the preset number of visits. If it is determined that the number of accesses is not equal to the preset number of accesses, it indicates that the number of accesses is less than the preset number of accesses. At this time, the cloud server returns to step S206, that is, each time the data sharing link is accessed through the data sharing link. After that, the cloud server performs cumulative access times. If the number of accesses is equal to the preset number of accesses, the cloud server will perform step S208 to clear the data sharing link. Thereafter, if another client user clicks on the data sharing link, the cloud server will feed back a prompt message of an invalid address link.
例如,当第一客户端用户设置预设访问次数为2次,若第二客户端用户首次通过该数据分享链接访问待分享用户数据后,云端服务器将获取通过该数据分享链接访问待分享用户数据的访问次数为1,云端服务器将判断出该访问次数1不等于预设访问次数2,此时云端服务器将等待下一次访问。当第二客户端用户再次通过该数据分享链接访问待分享用户数据后,云端服务器获取的访问次数为2,并判断出该访问次数等于预设访问次数2,此时,云端服务器将清除数据分享链接,使得该数据分享链接无效。若此时第二客户端用户将该数据分享链接转发给其他客户端用户,当其他客户端用户再点击该数据分享链接后,云端服务器将反馈无效地址链接的提示信息至其他客户端,从而保证了第一客户端用户数据的安全性。For example, when the first client user sets the preset access times to 2 times, if the second client user accesses the data to be shared through the data sharing link for the first time, the cloud server obtains the data to be shared by the data sharing link. The number of accesses is 1, and the cloud server will determine that the number of accesses 1 is not equal to the preset number of accesses 2, and the cloud server will wait for the next access. After the second client user accesses the data to be shared again through the data sharing link, the number of accesses obtained by the cloud server is 2, and it is determined that the number of accesses is equal to the preset number of accesses 2. At this time, the cloud server will clear the data sharing. The link makes the data sharing link invalid. If the second client user forwards the data sharing link to other client users at this time, when the other client user clicks the data sharing link again, the cloud server will feedback the prompt information of the invalid address link to other clients, thereby ensuring The security of the first client user data.
当步骤S203判断出该第二客户端用户为陌生用户时,为了进一步地保护第一客户端用户数据的安全性,云端服务器将向第一客户端发送提示信息,即执行步骤S209。其中,该提示信息用于提示第一客户端用户是否需要继续向陌生用户分享数据。When it is determined in step S203 that the second client user is an unfamiliar user, in order to further protect the security of the first client user data, the cloud server sends a prompt message to the first client, that is, step S209 is performed. The prompt information is used to prompt the first client user whether to continue to share data with the unfamiliar user.
若第一客户端用户选择继续向陌生用户分享数据,则第一客户端将获取第一客户端用户的该操作信息,并发送该操作信息至云端服务器。云端服务器将获取第一客户端根据该提示信息反馈的操作信息,即执行步骤S210。云端服务器接收到继续向陌生用户分享数据的操作信息后,将根据标识信息生成数据分享链接,即执行步骤S211,并返回执行步骤S205。If the first client user chooses to continue sharing data with the unfamiliar user, the first client will obtain the operation information of the first client user, and send the operation information to the cloud server. The cloud server will obtain the operation information fed back by the first client according to the prompt information, that is, step S210 is performed. After receiving the operation information for continuing to share data with the unfamiliar user, the cloud server generates a data sharing link according to the identification information, that is, performs step S211, and returns to step S205.
若第一客户端用户因疏忽输错第二客户端用户的身份信息后,其将选择取消向陌生用户分享数据,则此时第一客户端将获取到该取消向陌生用户分享数据的操作信息,并将该取消向陌生用户分享数据的操作信息发送至云端服务器,使得云端服务器根据该取消向陌生用户分享数据的操作信息结束此次分享操作。从而有效避免因第一客户端用户疏忽而导致其用户数据泄露等现象发生。If the first client user inadvertently enters the identity information of the second client user, the user will choose to cancel the sharing of data to the unfamiliar user, and then the first client will obtain the operation information for canceling the sharing of data to the unfamiliar user. And sending the operation information for canceling the data sharing to the unfamiliar user to the cloud server, so that the cloud server ends the sharing operation according to the operation information of the data sharing to the unfamiliar user. Therefore, the phenomenon that the user data is leaked due to the negligence of the first client user is effectively avoided.
为了更加清晰地解释说明数据分享方法的内容,下面将结合具体的应用场景来说明。In order to explain the content of the data sharing method more clearly, the following will be explained in conjunction with a specific application scenario.
第一用户登陆手机中的云端服务器客户端后,将手机中的旅游照片同步至云端服务器。云服务器将存储该旅游照片,并获取该旅游照片的地址信息,将该地址信息作为旅游照片的标识信息。云端服务器将该旅游照片的标识信息发送至第一客户端。After the first user logs in to the cloud server client in the mobile phone, the travel photos in the mobile phone are synchronized to the cloud server. The cloud server will store the travel photo and obtain the address information of the travel photo, and use the address information as the identification information of the travel photo. The cloud server sends the identification information of the travel photo to the first client.
当第一用户希望分享该旅游照片给第二用户时,第一用户点击客户端界面的分享入口。第一用户选择分享界面中的旅游照片,并在相应的位置处输入第二用户的电话号码,以及设置预设访问次数为1。第一用户点击确认后,第一用户的客户端将获取旅游照片的标识信息、第二用户的电话号码和预设访问次数,并根据旅游照片的标识信息、第二用户的电话号码和预设访问次数生成分享请求,并发送分享请求至云端服务器。When the first user wishes to share the travel photo to the second user, the first user clicks on the sharing portal of the client interface. The first user selects the travel photo in the sharing interface, and inputs the second user's phone number at the corresponding location, and sets the preset access count to 1. After the first user clicks the confirmation, the first user's client will obtain the identification information of the travel photo, the second user's phone number and the preset access times, and according to the identification information of the travel photo, the second user's phone number and the preset. The number of visits generates a sharing request and sends a sharing request to the cloud server.
云端服务器将通过解析该分享请求来获取旅游照片的标识信息、第二用户的电话号码和预设访问次数,并根据第二用户的电话号码判断第二用户是否与第一用户进行过数据分享。若判断出该第二用户从未与第一用户进行过数据分享,则云端服务器将判定该第二用户为陌生用户,云端服务器将向第一客户端发送提示信息,该提示信息用于提示第一用户是否需要继续向陌生用户进行数据分享。The cloud server will obtain the identification information of the travel photo, the phone number of the second user, and the preset access times by parsing the sharing request, and determine whether the second user has performed data sharing with the first user according to the second user's phone number. If it is determined that the second user has never performed data sharing with the first user, the cloud server determines that the second user is an unfamiliar user, and the cloud server sends a prompt message to the first client, where the prompt information is used to prompt the first Whether a user needs to continue to share data with unfamiliar users.
若此时第一用户选择“是”,第一客户端将向云端服务器发送“是”的操作信息。云端服务器接收到该“是”的操作信息后,将根据该标识信息生成旅游照片的数据分享链接,并发送该数据分享链接至第二用户的电话号码所对应的第二客户端。这样第二用户就可以点击该数据分享链接访问第一用户的旅游照片。If the first user selects "Yes" at this time, the first client will send "Yes" operation information to the cloud server. After receiving the operation information of the “Yes”, the cloud server generates a data sharing link of the travel photo according to the identifier information, and sends the data sharing link to the second client corresponding to the phone number of the second user. In this way, the second user can click on the data sharing link to access the first user's travel photos.
当第二用户完成一次访问第一用户的旅游照片后,云端服务器将获取当前通过该数据分享链接访问待分享用户数据的访问次数,并判断当前访问次数是否等于预设访问次数1。若云端服务器判断出当前访问次数等于预设访问次数1,则云端服务器将清除该数据分享链接。After the second user completes accessing the travel photos of the first user, the cloud server acquires the number of accesses currently accessing the data to be shared through the data sharing link, and determines whether the current number of accesses is equal to the preset number of accesses 1. If the cloud server determines that the current number of accesses is equal to the preset number of accesses 1, the cloud server will clear the data sharing link.
此后,第二用户或者其他用户想通过该数据分享链接进行访问时,都会收到云端服务器反馈的无效地址的提示信息。Thereafter, when the second user or other users want to access through the data sharing link, they will receive the prompt information of the invalid address fed back by the cloud server.
上述应用场景仅仅是为了进一步说明数据分享方法实施例中的内容,不能用于限制数据分享方法的适用范围。The above application scenario is only for further explaining the content in the data sharing method embodiment, and cannot be used to limit the scope of application of the data sharing method.
在一些实施例中,通过根据第二客户端的身份信息判断第二客户端用户是否为陌生用户,当判断出为陌生用户时,向第一客户端用户发送提示信息,告知第一客户端用户对方为陌生用户。若第一客户端用户希望继续向第二客户端用户进行分享,则云端服务器将根据第一客户端发送的标识信息生成数据分享链接,并发送该数据分享链接至第二客户端,这样第二客户端用户就可以访问第一客户端的待分享用户数据。另外,为了保护第一客户端用户数据的安全性,第一客户端用户设置预设访问次数,当通过该数据分享链接访问待分享用户数据的访问次数达到预设访问次数时,清除该数据分享链接,使得其他人无法通过该数据分享链接进行非法访问。该数据分享方法中云端服务器直接将数据分享链接发送至第二客户端,无需第一客户端用户进行其他操作即可以完成数据分享,这使得整个分享过程简单化,节约第一客户端用户的时间。同时,通过预设访问次数,可以进一步避免第一客户端用户数据泄露等现象的发生,提高数据分享的安全性。In some embodiments, determining whether the second client user is an unfamiliar user according to the identity information of the second client, and when determining that the user is an unfamiliar user, sending a prompt message to the first client user to notify the first client user For strange users. If the first client user wants to continue to share with the second client user, the cloud server generates a data sharing link according to the identifier information sent by the first client, and sends the data sharing link to the second client, so that the second The client user can access the user data to be shared by the first client. In addition, in order to protect the security of the first client user data, the first client user sets a preset number of accesses, and when the number of accesses to access the shared user data through the data sharing link reaches a preset number of accesses, the data sharing is cleared. Links that make it impossible for others to gain unauthorized access through the data sharing link. In the data sharing method, the cloud server directly sends the data sharing link to the second client, and the data sharing can be completed without the first client user performing other operations, which simplifies the entire sharing process and saves the time of the first client user. . At the same time, by preset the number of accesses, it is possible to further avoid the occurrence of data leakage of the first client user and improve the security of data sharing.
第二方面,本发明实施例提供了一种数据分享装置,包括:In a second aspect, an embodiment of the present invention provides a data sharing apparatus, including:
第一获取单元,用于获取第一客户端发送的分享请求,其中所述分享请求包括待分享用户数据的标识信息和第二客户端的身份信息;a first obtaining unit, configured to acquire a sharing request sent by the first client, where the sharing request includes identifier information of the user data to be shared and identity information of the second client;
生成单元,用于根据所述标识信息生成数据分享链接,所述数据分享链接用于获取所述待分享用户数据;a generating unit, configured to generate a data sharing link according to the identifier information, where the data sharing link is used to acquire the user data to be shared;
发送单元,用于根据所述身份信息发送所述数据分享链接至所述第二客户端。And a sending unit, configured to send the data sharing link to the second client according to the identity information.
在一些实施例中,所述数据分享装置还包括第二获取单元,所述第二获取单元用于获取所述第一客户端的用户数据;获取与所述用户数据对应的标识信息。In some embodiments, the data sharing apparatus further includes a second obtaining unit, configured to acquire user data of the first client, and acquire identification information corresponding to the user data.
在一些实施例中,所述数据分享装置还包括判断单元,所述判断单元还包括第一判断子单元、提示子单元和获取提示子单元;In some embodiments, the data sharing apparatus further includes a determining unit, the determining unit further includes a first determining subunit, a prompting subunit, and an obtaining prompting subunit;
所述第一判断子单元用于根据所述第二客户端的身份信息判断第二客户端用户是否为陌生用户;The first determining subunit is configured to determine, according to the identity information of the second client, whether the second client user is an unfamiliar user;
所述提示子单元用于若判断出所述第二客户端用户为陌生用户,则向所述第一客户端发送提示信息;The prompting subunit is configured to send prompt information to the first client if it is determined that the second client user is an unfamiliar user;
所述获取提示子单元用于获取所述第一客户端根据所述提示信息反馈的操作信息;The obtaining prompt subunit is configured to obtain operation information that is fed back by the first client according to the prompt information;
所述生成单元用于根据所述操作信息和所述标识信息生成数据分享链接。The generating unit is configured to generate a data sharing link according to the operation information and the identification information.
在一些实施例中,所述生成单元用于根据所述标识信息和第二客户端的身份信息生成数据分享链接。In some embodiments, the generating unit is configured to generate a data sharing link according to the identifier information and the identity information of the second client.
在一些实施例中,所述分享请求还包括预设访问次数;所述数据分享装置还包括:获取判断单元,所述获取判断单元包括获取子单元、第二判断子单元和清除子单元;In some embodiments, the sharing request further includes a preset access number; the data sharing device further includes: an obtaining determining unit, where the obtaining determining unit includes an obtaining subunit, a second determining subunit, and a clearing subunit;
所述获取子单元用于获取通过所述数据分享链接访问所述待分享用户数据的访问次数;The obtaining subunit is configured to acquire the number of accesses to access the user data to be shared through the data sharing link;
所述第二判断子单元用于判断所述访问次数是否等于所述预设访问次数;The second determining subunit is configured to determine whether the number of accesses is equal to the preset number of accesses;
所述清除子单元用于若所述访问次数等于所述预设访问次数,则清除所述数据分享链接。The clearing subunit is configured to clear the data sharing link if the number of accesses is equal to the preset number of accesses.
请参照图3,图3为本发明实施例提供的数据分享装置的结构示意图。该数据分享装置300应用于云端服务器中,当然,在其他实施例中,该数据分享装置300也可以应用在其他设备中,在此不做具体限制。Please refer to FIG. 3. FIG. 3 is a schematic structural diagram of a data sharing apparatus according to an embodiment of the present invention. The data sharing device 300 is applied to the cloud server. Of course, in other embodiments, the data sharing device 300 can also be applied to other devices, and is not specifically limited herein.
在一些实施例中,数据分享装置300包括第一获取单元310、生成单元320和发送单元330。其中,第一获取单元310用于获取第一客户端发送的分享请求,其中所述分享请求包括待分享用户数据的标识信息和第二客户端的身份信息;生成单元320用于根据所述标识信息生成数据分享链接,其中,所述数据分享链接用于获取所述待分享用户数据;发送单元330用于根据所述身份信息发送所述数据分享链接至所述第二客户端。In some embodiments, the data sharing device 300 includes a first obtaining unit 310, a generating unit 320, and a transmitting unit 330. The first obtaining unit 310 is configured to acquire the sharing request sent by the first client, where the sharing request includes the identifier information of the user data to be shared and the identity information of the second client. The generating unit 320 is configured to use the identifier information according to the identifier information. Generating a data sharing link, wherein the data sharing link is used to obtain the user data to be shared; and the sending unit 330 is configured to send the data sharing link to the second client according to the identity information.
下面将结合图3对数据分享装置300做详细地说明。The data sharing device 300 will be described in detail below with reference to FIG.
当第一客户端用户希望分享其用户数据给第二客户端用户时,第一客户端用户通过终端登录云端服务器的客户端,通过分享入口进入分享界面。第一客户端用户选择好待分享用户数据以及输入第二客户端的身份信息后,第一客户端将获取待分享用户数据的标识信息以及第二客户端的身份信息,同时根据待分享用户数据的标识信息和第二客户端的身份信息生成分享请求,并将分享请求发送至云端服务器的数据分享装置300。数据分享装置300内的第一获取单元310将获取该分享请求。When the first client user wants to share the user data to the second client user, the first client user logs in to the client of the cloud server through the terminal, and enters the sharing interface through the sharing portal. After the first client user selects the user data to be shared and enters the identity information of the second client, the first client obtains the identifier information of the user data to be shared and the identity information of the second client, and according to the identifier of the user data to be shared. The information and the identity information of the second client generate a sharing request, and send the sharing request to the data sharing device 300 of the cloud server. The first obtaining unit 310 in the data sharing device 300 will acquire the sharing request.
在此需要说明的是,身份信息包括客户端用户的用户名、用户电话号码和/或注册邮箱等信息,在此不对身份信息的具体内容做限制。另外,身份信息可以包括一种信息,也可以包括多种信息。例如,身份信息为客户端用户的用户电话号码。当然,身份信息也可以由客户端用户的注册邮箱和用户电话号码组成,在此不做具体限制。It should be noted that the identity information includes the user name of the client user, the user's phone number, and/or the registered mailbox, and the specific content of the identity information is not limited herein. In addition, the identity information may include one type of information, and may also include a variety of information. For example, the identity information is the user's phone number of the client user. Of course, the identity information may also be composed of the registered email address and the user's telephone number of the client user, and no specific restrictions are imposed here.
在一些实施例中,用户数据的标识信息为用户数据在云端服务器内的存储地址。当然,在其他实施例中,用户数据的标识信息可以为其他用来识别用户数据的信息,只要云端服务器根据该标识信息可以查找到相应的用户数据即可,在此不做具体限制。In some embodiments, the identification information of the user data is a storage address of the user data within the cloud server. Of course, in other embodiments, the identification information of the user data may be other information used to identify the user data, as long as the cloud server can find the corresponding user data according to the identification information, and no specific limitation is imposed herein.
第一获取单元310接收到第一客户端发送的分享请求后,将通过解析获取该分享请求中的待分享用户数据的标识信息和第二客户端的身份信息,并将待分享用户数据的标识信息和第二客户端的身份信息发送至生成单元320。生成单元320将根据该标识信息生成数据分享链接,生成单元320将生成的数据分享链接和第二客户端的身份信息发送至发送单元330,其中,该数据分享链接用于获取待分享用户数据。发送单元330根据该身份信息发送该数据分享链接至第二客户端。第二客户端用户在点击该数据分享链接后,云端服务器可以获取该数据分享链接中与该标识信息对应的待分享用户数据,并将该待分享用户数据呈现给第二客户端用户,这样第二客户端用户就可以浏览或下载第一客户端用户分享的待分享用户数据。。After receiving the sharing request sent by the first client, the first obtaining unit 310 obtains the identification information of the user data to be shared in the sharing request and the identity information of the second client by parsing, and identifies the information of the user data to be shared. The identity information of the second client and the second client are sent to the generating unit 320. The generating unit 320 generates a data sharing link according to the identification information, and the generating unit 320 sends the generated data sharing link and the identity information of the second client to the sending unit 330, wherein the data sharing link is used to acquire the user data to be shared. The sending unit 330 sends the data sharing link to the second client according to the identity information. After the second client user clicks the data sharing link, the cloud server can obtain the user data to be shared corresponding to the identifier information in the data sharing link, and present the data to be shared to the second client user. Second, the client user can browse or download the shared user data shared by the first client user. .
在一些实施例中,为了保护第一客户端用户数据的安全性,避免第二客户端用户无意中泄露第一客户端用户数据等情况的发生,生成单元320将根据待分享用户数据的标识信息和第二客户端的身份信息生成数据分享链接。当其他客户端用户截获该数据分享链接或者第二客户端用户将该数据分享链接转发给其他客户端用户时,由于其他客户端用户的身份信息与数据分享链接中的身份信息不相同,因而其他客户端用户无法通过该数据分享链接访问第一客户端用户数据。也就是说,只有第二客户端才有权限通过该数据分享链接访问待分享用户数据,其他客户端用户无权访问待分享用户数据,从而保证了第一客户端用户数据的安全性。In some embodiments, in order to protect the security of the first client user data, avoiding the second client user inadvertently leaking the first client user data, etc., the generating unit 320 will identify the information according to the user data to be shared. A data sharing link is generated with the identity information of the second client. When other client users intercept the data sharing link or the second client user forwards the data sharing link to other client users, since the identity information of other client users is different from the identity information in the data sharing link, the other The client user cannot access the first client user data through the data sharing link. That is to say, only the second client has the right to access the user data to be shared through the data sharing link, and other client users have no right to access the user data to be shared, thereby ensuring the security of the first client user data.
在一些实施例中,数据分享装置300通过第一获取单元310获取第一客户端发送的分享请求,其中所述分享请求包括待分享用户数据的标识信息和第二客户端的身份信息;生成单元320根据所述标识信息生成数据分享链接;发送单元330根据所述身份信息发送所述数据分享链接至所述第二客户端。该数据分享装置300可以直接将数据分享链接发送至第二客户端,无需第一客户端用户进行其他操作即可以完成数据分享,这使得整个分享过程简单化,节约第一客户端用户的时间。In some embodiments, the data sharing device 300 acquires the sharing request sent by the first client by using the first obtaining unit 310, where the sharing request includes the identification information of the user data to be shared and the identity information of the second client; the generating unit 320 Generating a data sharing link according to the identification information; the sending unit 330 sends the data sharing link to the second client according to the identity information. The data sharing device 300 can directly send the data sharing link to the second client, and the data sharing can be completed without the first client user performing other operations, which simplifies the entire sharing process and saves the time of the first client user.
请参照图4,图4为本发明实施例提供的数据分享装置的又一结构示意图。该数据分享装置400应用于云端服务器中,当然,在其他实施例中,该数据分享装置400也可以应用在其他设备中,在此不做具体限制。Please refer to FIG. 4. FIG. 4 is still another schematic structural diagram of a data sharing apparatus according to an embodiment of the present invention. The data sharing device 400 is applied to the cloud server. Of course, in other embodiments, the data sharing device 400 can also be applied to other devices, and is not specifically limited herein.
在一些实施例中,数据分享装置400包括第二获取单元410、第一获取单元420、判断单元430、生成单元440、发送单元450和获取判断单元460,其中,判断单元430包括第一判断子单元431、提示子单元432和获取提示子单元433;获取判断单元460包括获取子单元461、第二判断子单元462和清除子单元463。In some embodiments, the data sharing apparatus 400 includes a second obtaining unit 410, a first obtaining unit 420, a determining unit 430, a generating unit 440, a sending unit 450, and an obtaining determining unit 460, wherein the determining unit 430 includes a first determining unit. The unit 431, the prompting subunit 432, and the acquisition prompt subunit 433; the acquisition judging unit 460 includes an acquisition subunit 461, a second judging subunit 462, and a clearing subunit 463.
下面将结合图4对上述数据分享装置400进行详细地介绍。The above data sharing device 400 will be described in detail below with reference to FIG.
第一客户端用户登陆云端服务器的客户端后,通过客户端内的上传按钮将终端内的用户数据上传至云端服务器的数据分享装置400。数据分享装置400内的第二获取单元410将获取第一客户端发送的用户数据,并将该用户数据存储在云端服务器的相应存储区内。在云端服务器中,每个用户数据均对应一个存储地址。第二获取单元410将获取该存储地址,并将该存储地址作为用户数据的标识信息,即获取与用户数据相对应的标识信息,并将该标识信息发送至第一客户端。After the first client user logs in to the client of the cloud server, the user data in the terminal is uploaded to the data sharing device 400 of the cloud server through the upload button in the client. The second obtaining unit 410 in the data sharing device 400 will acquire the user data sent by the first client, and store the user data in a corresponding storage area of the cloud server. In the cloud server, each user data corresponds to a storage address. The second obtaining unit 410 will acquire the storage address, and use the storage address as the identification information of the user data, that is, obtain the identification information corresponding to the user data, and send the identification information to the first client.
在此,用户数据的标识信息可以为用户数据在云端服务器内的存储地址,当然也可以为其他的起到标识性作用的信息,只要云端服务器根据该标识信息可以找到相应的用户数据即可,在此不做具体限制。Here, the identification information of the user data may be a storage address of the user data in the cloud server, and may of course be other information that plays a role of identification, as long as the cloud server can find the corresponding user data according to the identification information. No specific restrictions are made here.
当第一客户端用户希望分享其用户数据给第二客户端用户时,第一客户端用户通过终端登录云端服务器的客户端,通过分享入口进入分享界面。第一客户端用户选择好待分享用户数据,并输入第二客户端的身份信息以及预设访问次数,在此之后,第一客户端将获取待分享用户数据的标识信息、第二客户端的身份信息和预设访问次数,并根据待分享用户数据的标识信息、第二客户端的身份信息和预设访问次数生成分享请求,并将分享请求发送至数据分享装置400。第一获取单元420将获取该分享请求。When the first client user wants to share the user data to the second client user, the first client user logs in to the client of the cloud server through the terminal, and enters the sharing interface through the sharing portal. The first client user selects the user data to be shared, and inputs the identity information of the second client and the preset access times. After that, the first client obtains the identifier information of the user data to be shared and the identity information of the second client. And the preset access times, and generating a sharing request according to the identification information of the user data to be shared, the identity information of the second client, and the preset access times, and sending the sharing request to the data sharing device 400. The first obtaining unit 420 will acquire the sharing request.
在此需要说明的是,身份信息包括客户端用户的用户名、用户电话号码和/或注册邮箱等信息,在此不对身份信息的具体内容做限制。另外,身份信息可以包括一种信息,也可以包括多种信息。例如,身份信息为客户端用户的用户电话号码。当然,身份信息也可以由客户端用户的注册邮箱和用户电话号码组成,在此不做具体限制。It should be noted that the identity information includes the user name of the client user, the user's phone number, and/or the registered mailbox, and the specific content of the identity information is not limited herein. In addition, the identity information may include one type of information, and may also include a variety of information. For example, the identity information is the user's phone number of the client user. Of course, the identity information may also be composed of the registered email address and the user's telephone number of the client user, and no specific restrictions are imposed here.
预设访问次数是指第一客户端用户希望待分享用户数据被访问的次数。例如,第一客户端用户只希望第二客户端用户访问一次待分享用户数据。设置预设访问次数可以避免第二客户端用户将后续生成的数据分享链接发送至其他客户端而无意地造成第一客户端用户数据泄露等现象的发生。The preset access times refer to the number of times the first client user wants to share user data to be accessed. For example, the first client user only wants the second client user to access the user data to be shared once. Setting the preset access times can prevent the second client user from sending the subsequently generated data sharing link to other clients and inadvertently causing the first client user data to leak.
第一获取单元420获取到第一客户端发送的分享请求后,通过解析该分享请求来获取待分享用户数据的标识信息、第二客户端的身份信息和预设访问次数,并将待分享用户数据的标识信息、第二客户端的身份信息和预设访问次数发送至判断单元430。After obtaining the sharing request sent by the first client, the first obtaining unit 420 obtains the identification information of the user data to be shared, the identity information of the second client, and the preset access times by parsing the sharing request, and the user data to be shared is to be shared. The identification information, the identity information of the second client, and the preset number of accesses are sent to the determining unit 430.
判断单元430内的第一判断子单元431将根据该第二客户端的身份信息判断第二客户端用户是否为陌生用户。具体地,第一判断子单元431根据第二客户端的身份信息判断第二客户端用户是否与第一客户端用户发生过通信交互,其中,通信交互包括电话、短信、分享数据等。The first determining sub-unit 431 in the determining unit 430 determines whether the second client user is an unfamiliar user according to the identity information of the second client. Specifically, the first determining sub-unit 431 determines, according to the identity information of the second client, whether the second client user has a communication interaction with the first client user, where the communication interaction includes a phone, a short message, sharing data, and the like.
例如,当第一客户端用户从未与第二客户端用户进行过通信交互,则第一判断子单元431根据第二客户端的身份信息将获取不到其与第一客户端用户的通信交互,此时,云端服务器将判断出该第二客户端用户为陌生用户。若第一客户端用户曾经分享其用户数据给第二客户端用户,则第一判断子单元431根据第二客户端用户的身份信息将会获取到其与第一客户端用户的历史分享记录,并根据该历史分享记录判断出该第二客户端用户不为陌生用户。For example, when the first client user has never had a communication interaction with the second client user, the first determining sub-unit 431 will not obtain the communication interaction with the first client user according to the identity information of the second client. At this point, the cloud server will determine that the second client user is an unfamiliar user. If the first client user has shared its user data with the second client user, the first determining sub-unit 431 will obtain a history sharing record with the first client user according to the identity information of the second client user. And determining, according to the historical sharing record, that the second client user is not an unfamiliar user.
可以理解的是,在其他实施例中,第一判断子单元431判断第二客户端用户是否为陌生用户的方法不局限于上述情况,也可以采用其他方法进行判断,在此不做具体限制。It is to be understood that, in other embodiments, the method for determining whether the second client user is an unfamiliar user is not limited to the foregoing, and may be determined by other methods, and is not specifically limited herein.
当第一判断子单元431判断出该第二客户端用户不为陌生用户时,第一判断子单元431将向生成单元440发送第一信号、待分享用户数据的标识信息、第二客户端的身份信息和预设访问次数,使得生成单元440在获得第一信号后根据该标识信息生成数据分享链接,并将生成的数据分享链接、第二客户端的身份信息和预设访问次数发送至发送单元450,其中该数据分享链接用于获取待分享用户数据。发送单元450将根据第二客户端的身份信息发送该数据分享链接至第二客户端,同时将预设访问次数发送至获取判断单元460。当第二客户端接收到该数据分享链接后,第二客户端用户在点击该数据分享链接后,云端服务器可以获取该数据分享链接中与该标识信息对应的待分享用户数据,并将该待分享用户数据呈现给第二客户端用户,这样第二客户端用户就可以浏览或下载第一客户端用户分享的待分享用户数据。When the first determining sub-unit 431 determines that the second client user is not an unfamiliar user, the first determining sub-unit 431 sends the first signal, the identification information of the user data to be shared, and the identity of the second client to the generating unit 440. The information and the preset access times are such that the generating unit 440 generates a data sharing link according to the identification information after obtaining the first signal, and sends the generated data sharing link, the identity information of the second client, and the preset access times to the sending unit 450. , wherein the data sharing link is used to obtain user data to be shared. The sending unit 450 sends the data sharing link to the second client according to the identity information of the second client, and sends the preset access times to the acquisition determining unit 460. After the second client receives the data sharing link, after the second client user clicks the data sharing link, the cloud server may obtain the user data to be shared corresponding to the identifier information in the data sharing link, and the The shared user data is presented to the second client user, so that the second client user can browse or download the shared user data shared by the first client user.
当客户端用户每次完成通过该数据分享链接访问待分享用户数据后,获取判断单元460中的获取子单元461将获取通过该数据分享链接访问待分享用户数据的访问次数,并将获取到的访问次数传递至第二判断子单元462。第二判断子单元462将判断当前访问次数是否等于预设访问次数。After the client user completes the data to be shared by the data sharing link, the obtaining sub-unit 461 in the obtaining determining unit 460 acquires the number of accesses to access the user data to be shared through the data sharing link, and acquires the obtained data. The number of accesses is passed to the second judging subunit 462. The second determining sub-unit 462 will determine whether the current number of accesses is equal to the preset number of accesses.
若第二判断子单元462判断出当前访问次数不等于该预设访问次数,则说明当前访问次数还小于预设访问次数,此时第二判断子单元462将向获取子单元461发送第二信号,使得获取子单元461在接收到第二信号后,重新获取通过该数据分享链接访问待分享用户数据的访问次数。If the second determining sub-unit 462 determines that the current number of accesses is not equal to the preset number of accesses, the current number of accesses is less than the preset number of accesses, and the second determining sub-unit 462 sends a second signal to the obtaining sub-unit 461. After the receiving the second signal, the obtaining sub-unit 461 re-acquires the number of accesses to access the user data to be shared through the data sharing link.
若第二判断子单元462判断出当前访问次数等于预设访问次数,则第二判断子单元462向清除子单元463发送第三信号,使得清除子单元463根据该第三信号清除该数据分享链接。此后,客户端用户无法再通过该数据分享链接访问待分享用户数据。If the second determining sub-unit 462 determines that the current access times are equal to the preset access times, the second determining sub-unit 462 sends a third signal to the clearing sub-unit 463, so that the clearing sub-unit 463 clears the data sharing link according to the third signal. . Thereafter, the client user can no longer access the data to be shared through the data sharing link.
例如,当第一客户端用户设置预设访问次数为2次,若第二客户端用户首次通过该数据分享链接访问待分享用户数据后,获取子单元461将获取通过该数据分享链接访问待分享用户数据的访问次数为1,第二判断子单元462将判断出该访问次数1不等于预设访问次数2,此时获取子单元461将等待下一次访问。当第二客户端用户再次通过该数据分享链接访问待分享用户数据后,获取子单元461获取的访问次数为2,并且第二判断子单元462判断出该访问次数等于预设访问次数2。此时,清除子单元463将清除数据分享链接,使得该数据分享链接无效。For example, when the first client user sets the preset access times to 2 times, if the second client user accesses the data to be shared through the data sharing link for the first time, the obtaining sub-unit 461 will obtain access to be shared through the data sharing link. The number of accesses of the user data is 1, and the second determining sub-unit 462 determines that the number of accesses 1 is not equal to the preset number of accesses 2, and the obtaining sub-unit 461 will wait for the next access. After the second client user accesses the data to be shared again through the data sharing link, the number of accesses acquired by the obtaining subunit 461 is 2, and the second determining subunit 462 determines that the number of accesses is equal to the preset number of accesses 2. At this point, the clear sub-unit 463 will clear the data sharing link, making the data sharing link invalid.
当第一判断子单元431判断出该第二客户端用户为陌生用户时,为了进一步地保护第一客户端用户数据的安全性,第一判断子单元431将向提示子单元432发送第四信号,使得提示子单元432根据该第四信号向第一客户端发送提示信息。其中,该提示信息用于提示第一客户端用户是否需要继续向陌生用户分享数据。When the first determining sub-unit 431 determines that the second client user is an unfamiliar user, in order to further protect the security of the first client user data, the first determining sub-unit 431 will send a fourth signal to the prompting sub-unit 432. The prompting sub-unit 432 sends the prompt information to the first client according to the fourth signal. The prompt information is used to prompt the first client user whether to continue to share data with the unfamiliar user.
若第一客户端用户选择继续向陌生用户分享数据,则第一客户端将获取第一客户端用户的该操作信息,并发送该操作信息至数据分享装置400。获取提示子单元433将获取第一客户端根据该提示信息反馈的操作信息,并将该继续向陌生用户分享数据的操作信息、待分享用户数据的标识信息、第二客户端的身份信息和预设访问次数发送至生成单元440,生成单元440获取到继续向陌生用户分享数据的操作信息后,将根据标识信息生成数据分享链接,并将该数据分享链接、第二客户端身份信息和预设访问次数发送至发送单元450。使得发送单元450和获取判断单元460执行前述操作过程。If the first client user chooses to continue sharing data with the unfamiliar user, the first client will obtain the operation information of the first client user, and send the operation information to the data sharing device 400. The obtaining prompt sub-unit 433 will obtain the operation information fed back by the first client according to the prompt information, and the operation information for continuing to share data with the unfamiliar user, the identification information of the user data to be shared, the identity information of the second client, and the preset. The number of accesses is sent to the generating unit 440. After the generating unit 440 obtains the operation information for continuing to share data with the unfamiliar user, the data sharing link is generated according to the identification information, and the data sharing link, the second client identity information, and the preset access are generated. The number of times is sent to the transmitting unit 450. The transmitting unit 450 and the acquisition judging unit 460 are caused to perform the aforementioned operational procedures.
若第一客户端用户因疏忽输错第二客户端用户的身份信息后,其将选择取消向陌生用户分享数据,则此时第一客户端将获取到取消向陌生用户分享数据的操作信息,并将该取消向陌生用户分享数据的操作信息发送至获取提示子单元433,使得获取提示子单元433根据该取消向陌生用户分享数据的操作信息结束此次分享操作。从而有效避免因第一客户端用户疏忽而导致其用户数据泄露等现象发生。If the first client user inadvertently enters the identity information of the second client user, the user will choose to cancel the sharing of data to the unfamiliar user, and then the first client will obtain the operation information for canceling the sharing of data to the unfamiliar user. The operation information for canceling the sharing of data to the unfamiliar user is sent to the acquisition prompt sub-unit 433, so that the acquisition prompt sub-unit 433 ends the sharing operation according to the operation information for canceling the sharing of data to the unfamiliar user. Therefore, the phenomenon that the user data is leaked due to the negligence of the first client user is effectively avoided.
在一些实施例中,数据分享装置400通过第一判断子单元431根据第二客户端的身份信息判断第二客户端用户是否为陌生用户,当判断出为陌生用户时,提示子单元432向第一客户端用户发送提示信息,告知第一客户端用户对方为陌生用户。若第一客户端用户希望继续向第二客户端用户进行分享,则生成单元440将根据第一客户端发送的标识信息生成数据分享链接,发送单元450发送该数据分享链接至第二客户端,这样第二客户端用户就可以访问第一客户端的待分享用户数据。另外,为了保护第一客户端用户数据的安全性,第一客户端用户设置预设访问次数,当通过该数据分享链接访问待分享用户数据的访问次数达到预设访问次数时,清除子单元463清除该数据分享链接,使得其他人无法通过该数据分享链接进行非法访问。该数据分享装置400可以直接将数据分享链接发送至第二客户端,无需第一客户端用户进行其他操作即可以完成数据分享,这使得整个分享过程简单化,节约第一客户端用户的时间。同时,通过预设访问次数,可以进一步避免第一客户端用户数据泄露等现象的发生,提高数据分享的安全性。In some embodiments, the data sharing device 400 determines, by the first determining sub-unit 431, whether the second client user is an unfamiliar user according to the identity information of the second client. When determining that the user is an unfamiliar user, the prompting sub-unit 432 is first. The client user sends a prompt message to inform the first client that the user is an unfamiliar user. If the first client user wants to continue to share with the second client, the generating unit 440 generates a data sharing link according to the identifier information sent by the first client, and the sending unit 450 sends the data sharing link to the second client. In this way, the second client user can access the user data to be shared of the first client. In addition, in order to protect the security of the first client user data, the first client user sets a preset access times, and when the number of accesses to access the shared user data through the data sharing link reaches a preset access times, the clearing sub-unit 463 Clear the data sharing link so that others can't access it illegally through the data sharing link. The data sharing device 400 can directly send the data sharing link to the second client, and the data sharing can be completed without the first client user performing other operations, which simplifies the entire sharing process and saves the time of the first client user. At the same time, by preset the number of accesses, it is possible to further avoid the occurrence of data leakage of the first client user and improve the security of data sharing.
本发明实施例提供的数据分享系统主要包括终端以及云端服务器,该云端服务器与终端可通过有线或无线网络进行连接。The data sharing system provided by the embodiment of the present invention mainly includes a terminal and a cloud server, and the cloud server and the terminal can be connected through a wired or wireless network.
请参照图5,图5为本发明提供的数据分享系统的场景示意图。该数据分享系统包括云端服务器和终端,其中,云端服务器集成有本发明提供的数据分享装置,云端服务器存储有大量用户的数据及其相对应的标识信息。本发明中的第一客户端和第二客户端安装在终端内,在此,终端可以为手机、平板电脑等服务器。Please refer to FIG. 5. FIG. 5 is a schematic diagram of a scenario of a data sharing system provided by the present invention. The data sharing system includes a cloud server and a terminal, wherein the cloud server integrates the data sharing device provided by the present invention, and the cloud server stores a large number of user data and corresponding identification information. The first client and the second client in the present invention are installed in the terminal, where the terminal may be a server such as a mobile phone or a tablet computer.
当第一客户端用户要向第二客户端用户分享数据时,第一客户端向云端服务器发送分享请求。云端服务器将获取第一客户端发送的分享请求,其中所述分享请求包括待分享用户数据的标识信息和第二客户端的身份信息;云端服务器通过解析该分享请求获得待分享用户数据的标识信息和第二客户端的身份信息;根据所述标识信息生成数据分享链接,并根据所述身份信息发送所述数据分享链接至所述第二客户端,其中该数据分享链接用于获取待分享用户数据。这样第二客户端用户通过点击数据分享链接即可以浏览或下载第一客户端用户分享的待分享用户数据。When the first client user wants to share data with the second client user, the first client sends a sharing request to the cloud server. The cloud server obtains the sharing request sent by the first client, where the sharing request includes the identification information of the user data to be shared and the identity information of the second client; the cloud server obtains the identification information of the user data to be shared by parsing the sharing request and The identity information of the second client is generated, and the data sharing link is generated according to the identifier information, and the data sharing link is sent to the second client according to the identity information, where the data sharing link is used to obtain the user data to be shared. In this way, the second client user can browse or download the shared user data shared by the first client user by clicking the data sharing link.
本发明实施例还提供了一种服务器,参考图6,其示出了本发明实施例所涉及的服务器的结构示意图,该服务器500包括处理器501和存储器502,其中:The embodiment of the present invention further provides a server. Referring to FIG. 6, a schematic structural diagram of a server according to an embodiment of the present invention is shown. The server 500 includes a processor 501 and a memory 502, where:
在一些实施例中,服务器500中的处理器501会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器502中,并由处理器501来运行存储在存储器502中的指令,用于执行以下步骤:In some embodiments, the processor 501 in the server 500 loads the executable file corresponding to the process of one or more applications into the memory 502 according to the following instructions, and is executed by the processor 501 to be stored in the memory. The instruction in 502 is used to perform the following steps:
获取第一客户端发送的分享请求,其中所述分享请求包括待分享用户数据的标识信息和第二客户端的身份信息;根据所述标识信息生成所述待分享用户数据的数据分享链接,其中所述数据分享链接用于获取待分享用户数据;以及根据所述身份信息发送所述数据分享链接至所述第二客户端。Obtaining a sharing request sent by the first client, where the sharing request includes the identification information of the user data to be shared and the identity information of the second client, and generating a data sharing link of the user data to be shared according to the identification information, where The data sharing link is used to obtain the user data to be shared; and the data sharing link is sent to the second client according to the identity information.
处理器501还运行存储在存储器502中的指令,用于执行以下步骤:获取所述第一客户端的用户数据;获取与所述用户数据对应的标识信息。The processor 501 also runs instructions stored in the memory 502 for performing the steps of: acquiring user data of the first client; and obtaining identification information corresponding to the user data.
存储器502存储所述处理器501获取的第一客户端的用户数据。当存储器502存储完第一客户端的用户数据后,处理器501从存储器502中获取与所述用户数据对应的标识信息。The memory 502 stores user data of the first client acquired by the processor 501. After the memory 502 stores the user data of the first client, the processor 501 acquires the identification information corresponding to the user data from the memory 502.
处理器501发送所述至第二客户端后,第二客户端用户可以点击所述,处理器501将从存储器502中读取与所述相对应的第一客户端的用户数据并呈现给第二客户端用户,这样第二客户端用户就可以浏览或者下载第一客户端用户希望分享的待分享用户数据。After the processor 501 sends the message to the second client, the second client user can click, and the processor 501 reads the user data of the corresponding first client from the memory 502 and presents the data to the second client. The client user, so that the second client user can browse or download the user data to be shared that the first client user wants to share.
处理器501在执行根据所述标识信息生成数据分享链接之前,还运行如下指令,以执行以下步骤:根据所述第二客户端的身份信息判断第二客户端用户是否为陌生用户;若判断出所述第二客户端用户为陌生用户,则向所述第一客户端发送提示信息;获取所述第一客户端根据所述提示信息反馈的操作信息;所述根据所述标识信息生成数据分享链接具体包括:根据所述操作信息和所述标识信息生成数据分享链接。The processor 501 further executes the following steps before executing the data sharing link according to the identifier information, to perform the following steps: determining, according to the identity information of the second client, whether the second client user is an unfamiliar user; Sending the prompt information to the first client, and acquiring the operation information fed back by the first client according to the prompt information; and generating a data sharing link according to the identifier information Specifically, the method includes: generating a data sharing link according to the operation information and the identification information.
处理器501还用于执行以下步骤:根据所述第二客户端的身份信息,获取与所述身份信息对应的与所述第一客户端用户的历史分享记录;根据所述历史分享记录判断所述第二客户端用户是否为陌生用户。The processor 501 is further configured to: obtain, according to the identity information of the second client, a history sharing record corresponding to the first client user corresponding to the identity information; and determine, according to the history sharing record, Whether the second client user is an unfamiliar user.
处理器501在执行根据所述标识信息生成数据分享链接时,具体运行如下指令,以执行以下步骤:根据所述标识信息和第二客户端的身份信息生成数据分享链接。The processor 501, when executing the data sharing link according to the identifier information, specifically executes the following instructions to perform the following steps: generating a data sharing link according to the identifier information and the identity information of the second client.
处理器501还运行存储在存储器502中的指令,以执行以下步骤:所述分享请求还包括预设访问次数;在所述根据所述身份信息发送所述数据分享链接至所述第二客户端之后,还包括:获取通过所述数据分享链接访问所述待分享用户数据的访问次数;判断所述访问次数是否等于所述预设访问次数;若所述访问次数等于所述预设访问次数,则清除所述数据分享链接。The processor 501 also runs instructions stored in the memory 502 to perform the steps of: the sharing request further includes a preset number of accesses; and transmitting the data sharing link to the second client according to the identity information After the method, the method further includes: obtaining a number of accesses to access the user data to be shared by using the data sharing link; determining whether the number of accesses is equal to the preset number of accesses; and if the number of accesses is equal to the preset number of accesses, Then clear the data sharing link.
本发明实施例还提供了一种服务器500,其中可以集成如上实施例所提供的任一数据备份装置,参考图7,其示出了本发明实施例所涉及的服务器500的另一结构示意图,具体来讲:The embodiment of the present invention further provides a server 500, wherein any of the data backup devices provided in the above embodiments may be integrated. Referring to FIG. 7, another structure diagram of the server 500 according to the embodiment of the present invention is shown. Specifically:
该服务器500可以包括一个或者一个以上处理核心的处理器501、一个或一个以上计算机可读存储介质的存储器502、通信单元503、电源504、输入单元505、以及显示单元506等部件。The server 500 can include one or more processors 501 of processing cores, a memory 502 of one or more computer readable storage media, a communication unit 503, a power source 504, an input unit 505, and a display unit 506.
本领域技术人员可以理解,图6中示出的服务器结构并不构成对服务器的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:It will be understood by those skilled in the art that the server structure illustrated in FIG. 6 does not constitute a limitation to the server, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements. among them:
处理器501是该服务器的控制中心,利用各种接口和线路连接整个服务器的各个部分,通过运行或执行存储在存储器502内的软件程序和/或模块,以及调用存储在存储器502内的数据,执行服务器的各种功能和处理数据,从而对服务器进行整体监控。Processor 501 is the control center of the server, connecting various portions of the server with various interfaces and lines, by running or executing software programs and/or modules stored in memory 502, and recalling data stored in memory 502, Execute the server's various functions and process data to monitor the server as a whole.
可选的,处理器501可包括一个或多个处理核心;处理器501可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器501中。Optionally, the processor 501 may include one or more processing cores; the processor 501 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, etc., and a modulation solution The processor mainly handles wireless communication. It can be understood that the above modem processor may not be integrated into the processor 501.
存储器502可用于存储软件程序以及模块,处理器501通过运行存储在存储器502的软件程序以及模块,从而执行各种功能应用以及数据处理。The memory 502 can be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by running software programs and modules stored in the memory 502.
通信单元503可用于收发信息过程中,信号的接收和发送,特别地,通讯单元503接收终端发送的信号,并将信号交由一个或者一个以上处理器501处理。同时,通讯单元503将处理器501发出的反馈信号发送给终端。The communication unit 503 can be used for receiving and transmitting signals during transceiving information. In particular, the communication unit 503 receives signals transmitted by the terminal and hands the signals to one or more processors 501 for processing. At the same time, the communication unit 503 transmits the feedback signal sent by the processor 501 to the terminal.
服务器500还包括给各个部件供电的电源504(比如电池),电源可以通过电源管理系统与处理器501逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源504还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The server 500 also includes a power source 504 (such as a battery) that supplies power to various components. The power source can be logically coupled to the processor 501 through a power management system to manage functions such as charging, discharging, and power management through the power management system. The power supply 504 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
该服务器500还可包括输入单元505,该输入单元505可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。 The server 500 can also include an input unit 505 that can be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
该服务器500还可包括显示单元506,该显示单元506可用于显示由用户输入的信息或提供给用户的信息以及服务器的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元508可包括显示面板,可选的,可以采用液晶显示器 (LCD,Liquid Crystal Display)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。The server 500 can also include a display unit 506 that can be used to display information entered by the user or information provided to the user and various graphical user interfaces of the server, which can be represented by graphics, text, icons, videos. And any combination of them to constitute. The display unit 508 can include a display panel, and optionally, a liquid crystal display can be used. (LCD, Liquid Crystal Display), Organic Light Emitting Diode (OLED, Organic Light-Emitting) Diode) and other forms to configure the display panel.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对数据分享方法的详细描述,此处不再赘述。In the foregoing embodiments, the descriptions of the various embodiments are different, and the detailed descriptions of the data sharing methods are not described herein.
本发明实施例提供的所述数据分享装置与上文本发明实施例中的数据分享方法属于同一构思,在所述数据分享装置上可以运行所述数据分享方法实施例中提供的任一方法,其具体实现过程详见所述数据分享方法实施例,此处不再赘述。The data sharing device provided by the embodiment of the present invention is in the same concept as the data sharing method in the embodiment of the present invention, and any method provided in the data sharing method embodiment may be run on the data sharing device. For details of the implementation process, refer to the data sharing method embodiment, which is not described here.
需要说明的是,对本发明所述数据分享方法而言,本领域普通测试人员可以理解实现本发明实施例所述数据分享方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在终端的存储器中,并被该终端内的至少一个处理器执行,在执行过程中可包括如所述数据分享的方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)等。It should be noted that, in the data sharing method of the present invention, a common tester in the art can understand all or part of the process of implementing the data sharing method in the embodiment of the present invention, which can be completed by controlling a related hardware through a computer program. The computer program may be stored in a computer readable storage medium, such as in a memory of the terminal, and executed by at least one processor in the terminal, and may include a method of data sharing as described in the execution process. The flow of an embodiment. Wherein, the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM, Read) Only Memory), random access memory (RAM, Random Access Memory), etc.
对本发明实施例的所述数据分享装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。For the data sharing device of the embodiment of the present invention, each functional module may be integrated into one processing chip, or each module may exist physically separately, or two or more modules may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The integrated module, if implemented in the form of a software functional module and sold or used as a standalone product, may also be stored in a computer readable storage medium, such as a read only memory, a magnetic disk or an optical disk, etc. .
以上对本发明实施例所提供的一种数据分享方法、装置及系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The data sharing method, device and system provided by the embodiments of the present invention are described in detail. The principles and implementation manners of the present invention are described in the specific examples. The description of the above embodiments is only used to help understanding. The method of the present invention and its core idea; at the same time, those skilled in the art, according to the idea of the present invention, there are some changes in the specific implementation manner and application scope. In summary, the content of the present specification should not be understood. To limit the invention.
综上所述,虽然本发明已以实施例揭露如上,但上述实施例并非用以限制本发明,本领域的普通技术人员,在不脱离本发明的精神和范围内,均可作各种更动与润饰,因此本发明的保护范围以权利要求界定的范围为准。In the above, the present invention has been disclosed in the above embodiments, but the above embodiments are not intended to limit the present invention, and those skilled in the art can make various changes without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the claims.
Claims (20)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610939525.0 | 2016-10-25 | ||
| CN201610939525.0A CN106534277B (en) | 2016-10-25 | 2016-10-25 | Data sharing method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018076841A1 true WO2018076841A1 (en) | 2018-05-03 |
Family
ID=58292238
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/094816 Ceased WO2018076841A1 (en) | 2016-10-25 | 2017-07-28 | Data sharing method, apparatus, storage medium and server |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106534277B (en) |
| WO (1) | WO2018076841A1 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111639280A (en) * | 2020-05-27 | 2020-09-08 | 北京学之途网络科技有限公司 | Information sharing method and device |
| CN114666140A (en) * | 2022-03-25 | 2022-06-24 | 金蝶软件(中国)有限公司 | Method, device, computer equipment and medium for accessing form |
| CN118316737A (en) * | 2024-06-07 | 2024-07-09 | 北京翼辉信息技术有限公司 | Data sharing method and system |
Families Citing this family (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106534277B (en) * | 2016-10-25 | 2019-12-31 | Oppo广东移动通信有限公司 | Data sharing method and device |
| CN109729049A (en) * | 2017-10-30 | 2019-05-07 | 北京国双科技有限公司 | The sharing method and device of information |
| CN108667896B (en) * | 2018-03-22 | 2022-04-26 | 京东方艺云科技有限公司 | Data sharing method, device and system for sharing equipment, and computer equipment |
| CN108777696A (en) * | 2018-03-30 | 2018-11-09 | 上海掌门科技有限公司 | A kind of method and apparatus for sharing e-book |
| CN111277981A (en) * | 2018-12-04 | 2020-06-12 | 阿里巴巴集团控股有限公司 | Content sharing method and device |
| CN111898057A (en) * | 2019-04-18 | 2020-11-06 | 北京京东尚科信息技术有限公司 | Resource distribution method and device |
| CN110198265A (en) * | 2019-06-06 | 2019-09-03 | 中国移动通信集团内蒙古有限公司 | Information processing method, system, device, equipment and medium |
| CN110601960B (en) * | 2019-09-09 | 2020-08-21 | 珠海格力电器股份有限公司 | Selective report sharing method, server, terminal and system |
| CN110753340B (en) * | 2019-10-28 | 2024-02-13 | 深圳传音控股股份有限公司 | VSIM information sharing method, system and computer readable storage medium |
| CN111343481B (en) * | 2020-02-20 | 2022-07-01 | 北京达佳互联信息技术有限公司 | Data sharing method and device, electronic equipment and storage medium |
| CN111866155B (en) * | 2020-07-26 | 2023-01-24 | 陈军 | Network disk file sharing method and system based on USB flash disk |
| CN112104530B (en) * | 2020-08-19 | 2022-03-08 | 海信(山东)空调有限公司 | Method for controlling sharing of air conditioner authority, air conditioner and air conditioner user side |
| CN112288526A (en) * | 2020-10-30 | 2021-01-29 | 孟祥宝 | Article presenting method, apparatus, storage medium and processor |
| CN113783938A (en) * | 2021-08-18 | 2021-12-10 | 深圳市冠旭电子股份有限公司 | Wearable device-based data sharing method, system, device and storage medium |
| CN114710545A (en) * | 2022-03-25 | 2022-07-05 | 河源市美晨智能研究院 | A method and electronic device for data sharing |
| CN114936254A (en) * | 2022-05-12 | 2022-08-23 | 清华大学 | Food safety big data sharing management method and system under cloud chain fusion mechanism |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050171955A1 (en) * | 2004-01-29 | 2005-08-04 | Yahoo! Inc. | System and method of information filtering using measures of affinity of a relationship |
| US9111107B2 (en) * | 2014-01-17 | 2015-08-18 | Sony Corporation | Computer ecosystem providing a process for determining trust in content sharing |
| CN105100223A (en) * | 2015-07-01 | 2015-11-25 | 北京奇虎科技有限公司 | File sharing method, device and system based on cloud storage |
| CN105681395A (en) * | 2015-12-30 | 2016-06-15 | 北京金山安全软件有限公司 | Resource sharing control method, device, server and terminal |
| CN106534277A (en) * | 2016-10-25 | 2017-03-22 | 广东欧珀移动通信有限公司 | Data sharing method and device |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102065078A (en) * | 2010-11-18 | 2011-05-18 | 上海合合信息科技发展有限公司 | Method for acquiring more information provided by contact person through network |
| CN102905232B (en) * | 2012-09-20 | 2016-08-10 | 北京灵创众和科技有限公司 | Method based on communication terminal address book contact network, Apparatus and system |
| US9111110B2 (en) * | 2013-02-09 | 2015-08-18 | Dropbox, Inc. | Retroactive shared content item links |
| CN104750700A (en) * | 2013-12-26 | 2015-07-01 | 珠海金山办公软件有限公司 | Document providing method and device |
| CN105205906B (en) * | 2014-06-25 | 2017-12-08 | 阿里巴巴集团控股有限公司 | The processing of ballot task, the method and device of distribution ballot task |
| CN105100206A (en) * | 2015-06-15 | 2015-11-25 | 北京奇虎科技有限公司 | Method, equipment and system for pushing business card |
| CN105787776B (en) * | 2016-02-05 | 2019-05-03 | 腾讯科技(深圳)有限公司 | Information processing method and device |
-
2016
- 2016-10-25 CN CN201610939525.0A patent/CN106534277B/en not_active Expired - Fee Related
-
2017
- 2017-07-28 WO PCT/CN2017/094816 patent/WO2018076841A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050171955A1 (en) * | 2004-01-29 | 2005-08-04 | Yahoo! Inc. | System and method of information filtering using measures of affinity of a relationship |
| US9111107B2 (en) * | 2014-01-17 | 2015-08-18 | Sony Corporation | Computer ecosystem providing a process for determining trust in content sharing |
| CN105100223A (en) * | 2015-07-01 | 2015-11-25 | 北京奇虎科技有限公司 | File sharing method, device and system based on cloud storage |
| CN105681395A (en) * | 2015-12-30 | 2016-06-15 | 北京金山安全软件有限公司 | Resource sharing control method, device, server and terminal |
| CN106534277A (en) * | 2016-10-25 | 2017-03-22 | 广东欧珀移动通信有限公司 | Data sharing method and device |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111639280A (en) * | 2020-05-27 | 2020-09-08 | 北京学之途网络科技有限公司 | Information sharing method and device |
| CN111639280B (en) * | 2020-05-27 | 2024-03-08 | 北京明略昭辉科技有限公司 | Information sharing method and device |
| CN114666140A (en) * | 2022-03-25 | 2022-06-24 | 金蝶软件(中国)有限公司 | Method, device, computer equipment and medium for accessing form |
| CN114666140B (en) * | 2022-03-25 | 2024-03-19 | 金蝶软件(中国)有限公司 | Method, device, computer equipment and medium for accessing form |
| CN118316737A (en) * | 2024-06-07 | 2024-07-09 | 北京翼辉信息技术有限公司 | Data sharing method and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106534277B (en) | 2019-12-31 |
| CN106534277A (en) | 2017-03-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018076841A1 (en) | Data sharing method, apparatus, storage medium and server | |
| WO2018076889A1 (en) | Data backup method, device, system, storage medium and server | |
| WO2018076865A1 (en) | Data sharing method, device, storage medium, and electronic device | |
| WO2018076867A1 (en) | Data backup deleting method, device and system, storage medium and server | |
| WO2018076861A1 (en) | Data transmission control method, apparatus, storage medium, server and system | |
| WO2018076829A1 (en) | Terminal data processing method, apparatus, system, storage medium and server | |
| WO2017164585A1 (en) | Electronic device and control method thereof | |
| WO2018076868A1 (en) | Data synchronization method, device and system, storage medium and server | |
| WO2018076812A1 (en) | Data request response method and device, storage medium, server and system | |
| WO2018076840A1 (en) | Data sharing method, device, storage medium and server | |
| WO2018090823A1 (en) | Method and system for protecting system partition key data, and terminal | |
| WO2018076819A1 (en) | Data upload method, apparatus, storage medium, electronic device and system | |
| WO2018076890A1 (en) | Data backup method, device, storage medium, server and system | |
| WO2018082142A1 (en) | Screen recording method and device | |
| WO2018076863A1 (en) | Data storage method, apparatus, storage medium, server and system | |
| WO2012124985A2 (en) | Method and apparatus for synchronizing personal inforamtion | |
| WO2018076888A1 (en) | Method, device and system for synchronizing data of mobile terminal, storage medium and mobile terminal | |
| WO2018076881A1 (en) | Data synchronization method and device, storage medium and server | |
| WO2014189275A1 (en) | Apparatus and method of recognizing external device in a communication system | |
| WO2016192589A1 (en) | Information transmission method, apparatus and system | |
| WO2018076869A1 (en) | Data backup method, apparatus, storage medium and electronic device | |
| WO2018201774A1 (en) | Data approval method, apparatus, device, and computer readable storage medium | |
| WO2018117536A1 (en) | Electronic apparatus, control authority authentication method thereof and user terminal apparatus | |
| WO2018161601A1 (en) | Screen backlight adjusting method, device, storage medium and electronic device | |
| WO2017071324A1 (en) | File-transmission encryption and decryption method and encryption and decryption device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17864607 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17864607 Country of ref document: EP Kind code of ref document: A1 |