WO2018076873A1 - Data sharing method, apparatus, medium, electronic device and system - Google Patents
Data sharing method, apparatus, medium, electronic device and system Download PDFInfo
- Publication number
- WO2018076873A1 WO2018076873A1 PCT/CN2017/095693 CN2017095693W WO2018076873A1 WO 2018076873 A1 WO2018076873 A1 WO 2018076873A1 CN 2017095693 W CN2017095693 W CN 2017095693W WO 2018076873 A1 WO2018076873 A1 WO 2018076873A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- client
- information
- identity information
- data
- request
- 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/14—Session management
- H04L67/141—Setup of application sessions
-
- 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/50—Network services
- H04L67/56—Provisioning of proxy services
Definitions
- the present invention relates to the field of network technologies, and in particular, to a data sharing method, apparatus, medium, electronic device and system.
- 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 invention provides a data sharing method, device, medium, electronic device and system, so as to solve the technical problem that the existing active sharing method brings inconvenience to the user to actively request other user data.
- the present invention provides a data sharing method, including:
- the present invention also provides a data sharing apparatus, including:
- An obtaining unit configured to obtain a request for sharing data sent by the first client, where the request for sharing data includes the first identity information of the second client and the requesting prompt information;
- a sending unit configured to send the request prompt information to the second client according to the first identity information
- a receiving unit configured to receive identifier information of the data to be shared that is fed back by the second client according to the request prompt information
- a generating sending unit configured to generate a data sharing link of the to-be-shared data according to the identifier information, and send the data sharing link to the first client.
- an embodiment of the present invention provides a medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor and to perform a data sharing method as described above in whole or in part.
- an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable in the processor, when the processor executes the computer program A data sharing method as described above in whole or in part is implemented.
- an embodiment of the present invention provides a data sharing system, including a server and an electronic device, where the electronic device includes the above electronic device.
- the invention provides a data sharing method, device, medium, electronic device and system, so as to solve the technical problem that the existing active sharing method brings inconvenience to the user to actively request other user data.
- FIG. 1 is a schematic diagram of a scenario of a data sharing system according to the present invention.
- FIG. 2 is a flow chart of a preferred embodiment of a data sharing method of the present invention.
- FIG. 3 is still another flowchart of a preferred embodiment of the data sharing method of the present invention.
- FIG. 4 is a schematic structural diagram of a preferred embodiment of a data sharing apparatus according to the present invention.
- FIG. 5 is still another schematic structural diagram of a preferred embodiment of a data sharing apparatus according to the present invention.
- FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
- FIG. 7 is another schematic structural diagram of an electronic device according to an embodiment of the present invention.
- the sharing of terminal data in the cloud server can only be actively shared, that is, the user holding the data actively shares the relevant data to other users.
- the user needs to browse or download the user data of other users, the user needs to communicate with other users by means of telephone or short message in advance, and then other users actively share relevant information to the user through active sharing.
- Embodiments of the present invention provide a data sharing method, apparatus, medium, electronic device, and system. The details will be described separately below.
- An embodiment of the present invention provides a data sharing system, including a server and an electronic device;
- the electronic device includes a memory, a processor, and a computer program stored in the memory and operative in the processor, the processor executing the computer program to implement the following steps:
- 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. 1 is a schematic diagram of a scenario of a data sharing system according to an embodiment of 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 an electronic device such as a mobile phone or a tablet computer.
- the first client When the first client needs to browse the user data of the second client, the first client first sends a request for sharing data to the cloud server. After obtaining the request for sharing data sent by the first client, the cloud server obtains the first identity information of the second client and requests the prompt information by parsing the request for sharing the data, and requests the first identity information according to the second client. The prompt message is sent to the second client. The second client obtains the identification information of the data to be shared according to the request prompt information, and sends the identification information of the data to be shared to the cloud server.
- the cloud server After receiving the identifier information of the data to be shared that is sent by the second client according to the request prompt information, the cloud server generates a data sharing link of the data to be shared according to the identifier information of the data to be shared, and sends the data sharing link to the first client. . Thereby, the first client user can browse or download the required data of the second client to be shared by clicking the data sharing link.
- An embodiment of the present invention provides a data sharing method, including:
- the method before the sending the request prompt information to the second client according to the first identity information, the method further includes:
- the method further includes:
- the sending the request prompt information to the second client according to the first identity information specifically includes:
- the method further includes:
- the sending the request prompt information to the second client according to the first identity information specifically includes:
- the method further includes:
- FIG. 2 is a flowchart of a preferred embodiment of the data sharing method 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.
- step S101 the request for sharing data sent by the first client is obtained, where the request for sharing data includes the first identity information of the second client and the requesting prompt information.
- the first client When the first client user needs to request the user data of the second client user, according to the operation of the first client user, the first client generates a request for sharing data, and sends the request for sharing data to the cloud server. .
- the cloud server will get the request to share data.
- the request for sharing data includes the first identity information of the second client and the request prompt information.
- the first identity information includes the user name of the second client, the user's phone number, the registered mailbox, and the like, and the specific content of the first identity information is not limited herein.
- the first client user when the first client user needs to request the user data of the second client user, the first client user clicks on the request sharing portal in the first client page.
- the first client will pop up a dialog box prompting the user to input the first identity information of the second client and request the prompt information.
- the first client user inputs the username of the second client in the second client identity information field of the dialog box; enter "tourist photo" in the request prompt information field.
- the first client will generate a request for sharing data and send the request for sharing data to the cloud server. It can be understood that the request sharing data request includes the username and "tourist photo" information of the second client.
- step S102 the request prompt information is sent to the second client according to the first identity information.
- the cloud server After receiving the request for sharing data sent by the first client, the cloud server obtains the first identity information of the second client and requests the prompt information by parsing the request for sharing data. The cloud server sends the request prompt information to the second client corresponding to the first identity information. For example, after the cloud server obtains the username and the “tourist photo” of the second client by parsing, the “tourist photo” is sent to the second client corresponding to the username, so that the second client user can know the first client user. What information to share.
- step S103 the identifier information of the data to be shared that is fed back by the second client according to the request prompt information is received.
- the second client user After the second client receives the request prompt information, the second client user selects the identifier information of the corresponding user data stored in the cloud server according to the request prompt information, that is, the identifier information of the data to be shared, and will wait The identification information of the shared data is sent to the cloud server.
- the second client user searches for the information related to the travel-related photo or video stored in the cloud server through the second client, and identifies the related travel information. Send to the cloud server.
- each user data is provided with identification information, which may be set by the second client user, for example, for each The photo settings name, or a folder name, etc.; can also be assigned by the cloud server, for example, storing the address in the cloud server for each photo. As long as the cloud server can find the corresponding data to be shared according to the identification information, no specific restrictions are imposed here.
- step S104 a data sharing link of the to-be-shared data is generated according to the identification information, and the data sharing link is sent to the first client.
- the cloud server After the cloud server receives the identification information of the data to be shared, the cloud server generates a data sharing link of the data to be shared according to the identifier information, and sends the data sharing link to the first client, so that the first client receives the After the data sharing link, the first client user can browse or download the data to be shared by clicking the data sharing link.
- the data sharing method in a preferred embodiment, by obtaining a request for sharing data sent by the first client, wherein the requesting the shared data request includes the first identity information of the second client and the requesting prompt information; Sending the request prompt information to the second client; receiving the identification information of the data to be shared that is fed back by the second client according to the request prompt information; and generating the to-be-shared data according to the identifier information a data sharing link and send the data sharing link to the first client.
- the data sharing method can make the sharing process simpler and more operability. At the same time, users no longer need to communicate with other users in advance through telephone and other communication methods to obtain user data, saving users time.
- FIG. 3 is still another flowchart of a preferred embodiment of the data sharing method 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.
- Step S201 Acquire a request for sharing data sent by the first client, where the request for sharing data includes the first identity information of the second client and the request prompt information;
- Step S202 Determine, according to the first identity information, whether there is second client registration information, if the second client registration information exists, step S203 is performed, if the second client registration information does not exist, execute Step S204;
- Step S203 determining whether the first identity information corresponds to the unique second client, if the first identity information corresponds to the unique second client, performing step S205, if the first identity information Step S208 is performed, if the second client does not correspond to the unique one;
- Step S204 Send the first prompt information that the first identity information does not exist to the first client.
- Step S205 Send request prompt information to the second client according to the first identity information
- Step S206 Receive identification information of the data to be shared that is fed back by the second client according to the request prompt information.
- Step S207 Generate a data sharing link of the to-be-shared data according to the identifier information, and send the data sharing link to the first client.
- Step S208 Send, to the first client, second prompt information for acquiring second identity information of the second client.
- Step S209 Acquire second identity information that is fed back by the first client according to the second prompt information.
- Step S210 Determine a unique second client according to the first identity information and the second identity information, and send the request prompt information to the unique second client, and return to step S206 and step S207. .
- step S201 the request for sharing data sent by the first client is obtained, where the request for sharing data includes the first identity information of the second client and the requesting prompt information.
- the first client When the first client user needs to request the user data of the second client user, according to the operation of the first client user, the first client generates a request for sharing data, and sends the request for sharing data to the cloud server.
- the request for sharing data includes the first identity information of the second client and the requesting prompt information.
- the first identity information includes the user name of the second client, the user's phone number, the registered mailbox, and the like, and the specific content of the first identity information is not limited herein.
- the first client user when the first client user needs to request the user data of the second client user, the first client user clicks on the request sharing portal in the first client page.
- the first client will pop up a dialog box prompting the user to input the first identity information of the second client and request the prompt information.
- the first client user inputs the username of the second client in the second client identity information field of the dialog box; enter "tourist photo" in the request prompt information field.
- the first client will generate a request for sharing data and send the request for sharing data to the cloud server. It can be understood that the request sharing data request includes the username and "tourist photo" information of the second client.
- step S202 determining, according to the first identity information, whether there is second client registration information
- the cloud server After receiving the request for sharing data sent by the first client, the cloud server obtains the first identity information of the second client and requests the prompt information by parsing the request for sharing the data, and determines whether the first identity information exists according to the first identity information. Second client registration information. Specifically, determining whether the first identity information exists in multiple client registration information stored in the cloud server. If the cloud server determines that the first identity information does not exist in the client registration information stored in the cloud server, it determines that there is no second client registration information corresponding to the first identity information. At this time, the cloud server sends the first prompt information to the first client, where the first prompt information is used to prompt the first client that the first identity information does not exist, that is, step S204 is performed. In this case, the first client can re-enter the identity information of the second client.
- the cloud server determines that the first identity information exists in the client registration information stored therein, it determines that there is second client registration information corresponding to the first identity information. At this time, the cloud server will perform step S203.
- step S203 it is determined whether the first identity information corresponds to the unique second client.
- some user names correspond to multiple clients, that is, multiple client users set the same user name when registering, and other user mobile phone numbers, registered mailboxes, and the like are different. If the first identity information of the second client input by the first client user is the username of the second client, the cloud server will find multiple second clients according to the username. In order for the cloud server to send the request prompt information to the correct second client, the cloud server needs to further determine whether the first identity information corresponds to the unique second client.
- step S203 if the cloud server determines that the first identity information corresponds to the second client, the request information is sent to the second client according to the first identity information, that is, step S205 is performed.
- step S205 for example, after the cloud server obtains the user name and the "tourist photo" of the second client by parsing, the request message of the "travel photo” is sent to the second client corresponding to the user name, so that the second The client user can know what information the first client user needs to share.
- step S206 the identifier information of the data to be shared that is fed back by the second client according to the request prompt information is received.
- the second client user After the second client receives the request prompt information, the second client user selects the identifier information of the corresponding user data stored in the cloud server according to the request prompt information, that is, the identifier information of the data to be shared, and will wait
- the identification information of the shared data is sent to the cloud server. For example, when the prompt information is requested as a “tourist photo”, the second client user searches for the information related to the travel-related photo or video stored in the cloud server through the second client, and identifies the related travel information. Send to the cloud server.
- each user data is provided with identification information, which may be set by the second client user, for example, for each The photo settings name, or a folder name, etc.; can also be assigned by the cloud server, for example, storing the address in the cloud server for each photo. As long as the cloud server can find the corresponding data to be shared according to the identification information, no specific restrictions are imposed here.
- step S207 a data sharing link of the data to be shared is generated according to the identification information, and the data sharing link is sent to the first client.
- the cloud server After the cloud server receives the identification information of the data to be shared, the cloud server generates a data sharing link of the data to be shared according to the identifier information, and sends the data sharing link to the first client, so that the first client receives the After the data sharing link, the first client user can browse or download the data to be shared by clicking the data sharing link.
- Step S208 is performed.
- step S208 when the cloud server cannot uniquely determine the second client according to the first identity information, the cloud server sends the second prompt information to the first client, and the second prompt information is used to prompt the first client to input the second client.
- the second identity information of the client is used to prompt the first client to input the second client.
- the second prompt information prompts the first client user to input the identity information specified by the cloud server.
- the second prompt information prompts the first client user to input the registration mailbox of the second client.
- the second prompt information may also prompt the first client user to input any registration identity information of the second client, that is, the cloud server no longer specifies the identity information type input by the first client user. No specific restrictions are made here.
- step S209 the second identity information that is fed back by the first client according to the second prompt information is obtained.
- the first client After the first client obtains the second prompt information, the first client will pop up a re-input dialog box.
- the first client user inputs the second identity information of the second client in the corresponding position of the re-input dialog box, for example, the registration email address of the second client, and clicks the confirmation button.
- the first client sends the second identity information of the second client to the cloud server, and the cloud server obtains the second identity information.
- step S210 determining the unique second client according to the first identity information and the second identity information, and sending the request prompt information to the unique second client, and returning to step S206 and Step S207.
- the unique second client is determined according to the first identity information and the second identity information. For example, the second client is uniquely determined based on the username of the second client and the registered mailbox.
- the request prompt information sent by the first client is sent to the unique second client, and the process proceeds to step S206 and step S207.
- the first client and the second client are installed in two mobile phones respectively.
- the first user needs to obtain the user data of the second user
- the first user logs in to the first client in the mobile phone, and clicks on the request sharing portal in the first client page.
- the second client identity information bar of the pop-up dialog box enter the second user's mobile phone number, and enter "conference data" in the request sharing information field of the dialog box, and click the confirmation button.
- the first client will generate a request for sharing data and send the request for sharing data to the cloud server, wherein the request for sharing data includes the phone number of the second client and the "meeting data".
- the cloud server After receiving the request for sharing data, the cloud server will obtain the phone number and "meeting data" of the second client by parsing the request for sharing data.
- the cloud server determines whether the phone number exists in the client registration information stored therein. If the cloud server determines that the phone number exists in the client registration information stored by the cloud server, it indicates that the user corresponding to the phone number has already registered the client of the cloud server.
- the cloud server further determines whether the phone number corresponds to a unique second client, and if so, the cloud server sends the "meeting data" to the second client corresponding to the phone number.
- the second user views the information sent by the cloud server by logging in to the second client. After the second user sees the "meeting data" information, the second client selects the identification information of the related data, that is, the identification information of the data to be shared, and after clicking the confirmation button, the second client sends the identification information to the cloud. server.
- the cloud server generates a data sharing link of the data to be shared according to the identification information, and sends the data sharing link to the first client, so that the first user can obtain the "meeting" that needs to be browsed or downloaded by clicking the data sharing link.
- Data data information.
- the data sharing method in a preferred embodiment is configured to obtain a request for sharing data sent by the first client, where the request for sharing the data includes the first identity information of the second client and the requesting prompt information; determining whether the first identity information exists according to the first identity information.
- the second client registration information if there is the second client registration information, further determining whether the first identity information corresponds to the unique second client, and if the corresponding second client is corresponding, sending the request according to the first identity information And prompting the information to the second client; receiving the identification information of the data to be shared that is sent by the second client according to the request prompt information; generating a data sharing link of the data to be shared according to the identifier information, and sending the data sharing link to the first client .
- the data sharing method can make the sharing process simpler and more operability. At the same time, users no longer need to communicate with other users in advance through telephone and other communication methods to obtain user data, saving users time.
- the two-step judgment is used to improve the accuracy of the cloud server searching for the second client, and improve the security and reliability of the shared data.
- the embodiment of the invention provides a data sharing device, which includes:
- An obtaining unit configured to obtain a request for sharing data sent by the first client, where the request for sharing data includes the first identity information of the second client and the requesting prompt information;
- a sending unit configured to send the request prompt information to the second client according to the first identity information
- a receiving unit configured to receive identifier information of the data to be shared that is fed back by the second client according to the request prompt information
- a generating sending unit configured to generate a data sharing link of the to-be-shared data according to the identifier information, and send the data sharing link to the first client.
- the data sharing apparatus further includes a determining unit, configured to determine, according to the first identity information, whether there is second client registration information; if the second client registration information exists, And sending, by the sending unit, the request prompt information to the second client according to the first identity information.
- the determining unit is further configured to: if it is determined that the second client registration information does not exist, send the first prompt information that the first identity information does not exist to the first client .
- the sending unit includes a determining subunit and a first sending subunit, wherein the determining subunit is configured to: determine whether the first identity information corresponds to the unique second client;
- the first sending subunit is configured to: if the first identity information corresponds to the unique second client, send requesting prompt information to the second client according to the first identity information.
- the sending unit further includes a second sending subunit, an obtaining subunit, and a determining transmitting subunit, wherein the second sending subunit is configured to: if the first identity information does not correspond to a unique one Sending, by the second client, second prompt information for acquiring second identity information of the second client to the first client;
- the acquiring subunit is configured to: acquire the second identity information that is sent by the first client according to the second prompt information;
- the determining the sending subunit is configured to: determine the unique second client according to the first identity information and the second identity information, and send the requesting prompt information to the unique second client.
- the sending unit includes a determining subunit and a first sending subunit, wherein the determining subunit is configured to: determine whether the first identity information corresponds to the unique second client;
- the first sending subunit is configured to: if the first identity information corresponds to the unique second client, send requesting prompt information to the second client according to the first identity information.
- the sending unit further includes a second sending subunit, an obtaining subunit, and a determining transmitting subunit, wherein the second sending subunit is configured to: if the first identity information does not correspond to a unique one Sending, by the second client, second prompt information for acquiring second identity information of the second client to the first client;
- the acquiring subunit is configured to: acquire the second identity information that is sent by the first client according to the second prompt information;
- the determining the sending subunit is configured to: determine the unique second client according to the first identity information and the second identity information, and send the requesting prompt information to the unique second client.
- FIG. 4 is a schematic structural diagram of a preferred embodiment of a data sharing apparatus according to 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 in a preferred embodiment includes an obtaining unit 310, a transmitting unit 320, a receiving unit 330, and a generating transmitting unit 340.
- the obtaining unit 310 is configured to obtain a request for sharing data request sent by the first client, where the request for sharing the data includes the first identity information of the second client and the requesting prompt information;
- the sending unit 320 is configured to use, according to the An identity information is sent to request the prompt information to the second client;
- the receiving unit 330 is configured to receive the identifier information of the data to be shared that is fed back by the second client according to the request prompt information;
- the generating sending unit 340 is configured to: Generating a data sharing link of the to-be-shared data according to the identification information, and sending the data sharing link to the first client.
- the above data sharing device 300 will be described in detail below with reference to FIG.
- the first client When the first client user needs to request the user data of the second client user, according to the operation of the first client user, the first client generates a request for sharing data, and sends the request for sharing data to the cloud server. .
- the obtaining unit 310 in the cloud server will acquire the request for sharing data sent by the first client.
- the request for sharing data includes the first identity information of the second client and the request prompt information.
- the first identity information includes the user name of the second client, the user's phone number, the registered mailbox, and the like, and the specific content of the first identity information is not limited herein.
- the first client user when the first client user needs to request the user data of the second client user, the first client user clicks on the request sharing portal in the first client page.
- the first client will pop up a dialog box prompting the user to input the first identity information of the second client and request the prompt information.
- the first client user inputs the username of the second client in the second client identity information field of the dialog box; enter "tourist photo" in the request prompt information field.
- the first client will generate a request for sharing data and send the request for sharing data to the cloud server.
- the obtaining unit 310 in the cloud server will obtain the request to share data request. It can be understood that the request sharing data request includes the username and "tourist photo" information of the second client.
- the obtaining unit 310 After obtaining the request for sharing data sent by the first client, the obtaining unit 310 obtains the first identity information of the second client and requests the prompt information by parsing the request for sharing the data, and the first identity information and the request prompt The information is sent to the transmitting unit 320.
- the sending unit 320 sends the request prompt information to the second client corresponding to the first identity information.
- the sending unit 320 sends the “travel photo” to the second client corresponding to the user name, so that the second The client user can know what information the first client user needs to share.
- the second client user After the second client receives the request prompt information, the second client user selects the identifier information of the corresponding user data stored in the cloud server according to the request prompt information, that is, the identifier information of the data to be shared, and will wait
- the identification information of the shared data is sent to the cloud server, and the receiving unit 330 in the cloud server receives the identification information of the data to be shared that is fed back by the second client according to the request prompt information.
- the second client user searches for the information related to the travel-related photo or video stored in the cloud server through the second client, and identifies the related travel information. Sended to the cloud server, the receiving unit 330 will receive the identification information of the related travel material.
- each user data is provided with identification information, which may be set by the second client user, for example, for each The photo settings name, or a folder name, etc.; can also be assigned by the cloud server, for example, storing the address in the cloud server for each photo. As long as the cloud server can find the corresponding data to be shared according to the identification information, no specific restrictions are imposed here.
- the identification information of the data to be shared is transmitted to the generation sending unit 340.
- the generating and sending unit 340 generates a data sharing link for the data to be shared according to the identification information, and sends the data sharing link to the first client, so that after the first client receives the data sharing link, the first client user passes the Click the data sharing link to browse or download the data to be shared.
- the data sharing device 300 in a preferred embodiment obtains the request for sharing data sent by the first client by the obtaining unit 310, wherein the request for sharing the data includes the first identity information of the second client and the requesting prompt information;
- the unit 320 sends the request prompt information to the second client according to the first identity information;
- the receiving unit 330 receives the identifier information of the data to be shared that is fed back by the second client according to the request prompt information;
- the unit 340 generates a data sharing link of the data to be shared according to the identification information, and sends the data sharing link to the first client.
- the data sharing device 300 can make the sharing process simpler and more operability. At the same time, users no longer need to communicate with other users in advance through telephone and other communication methods to obtain user data, saving users time.
- FIG. 5 is still another schematic structural diagram of a preferred embodiment of the data sharing apparatus 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 device 400 in a preferred embodiment includes an obtaining unit 410, a determining unit 420, a transmitting unit 430, a receiving unit 440, and a generating transmitting unit 450, wherein the sending unit 430 includes a determining subunit 431, a first transmitting subunit 432, The second transmitting subunit 433, the obtaining subunit 434, the determining transmitting subunit 435, and the storing subunit 436.
- the above data sharing device 400 will be described in detail below with reference to FIG.
- the first client When the first client user needs to request the user data of the second client user, according to the operation of the first client user, the first client generates a request for sharing data, and sends the request for sharing data to the cloud server. .
- the obtaining unit 410 in the cloud server will acquire the request for sharing data sent by the first client.
- the request for sharing data includes the first identity information of the second client and the request prompt information.
- the first identity information includes the user name of the second client, the user's phone number, the registered mailbox, and the like, and the specific content of the first identity information is not limited herein.
- the first client user when the first client user needs to request the user data of the second client user, the first client user clicks on the request sharing portal in the first client page.
- the first client will pop up a dialog box prompting the user to input the first identity information of the second client and request the prompt information.
- the first client user inputs the username of the second client in the second client identity information field of the dialog box; enter "tourist photo" in the request prompt information field.
- the first client will generate a request for sharing data and send the request for sharing data to the cloud server.
- the obtaining unit 410 in the cloud server will obtain the request to share data request. It can be understood that the request sharing data request includes the username and "tourist photo" information of the second client.
- the obtaining unit 410 After obtaining the request for sharing data sent by the first client, the obtaining unit 410 obtains the first identity information of the second client and requests the prompt information by parsing the request for sharing the data, and the first identity information and the request prompt The information is passed to the judging unit 420.
- the determining unit 420 will determine whether there is second client registration information according to the first identity information. Specifically, the determining unit 420 determines whether the first identity information exists in the plurality of client registration information stored in the cloud server. If the determining unit 420 determines that the first identity information does not exist in the client registration information stored therein, it determines that there is no second client registration information corresponding to the first identity information. At this time, the determining unit 420 sends the first prompt information to the first client, where the first prompt information is used to prompt the first client that the first identity information does not exist. In this case, the first client can re-enter the identity information of the second client.
- the determining unit 420 determines that the first identity information exists in the client registration information stored in the cloud server, it determines that there is second client registration information corresponding to the first identity information. At this time, the determining unit 420 passes the first identity information and the request prompt information of the second client to the storage subunit 436 of the sending unit 430, and the storage subunit 436 stores the first identity information of the second client and the request prompt information. . At the same time, the determining unit 420 sends a first signal to the determining sub-unit 431, so that the determining sub-unit 431 reads the first identity information of the second client from the storage sub-unit 436 according to the first signal, and determines the first identity information. Whether it corresponds to a unique second client.
- some user names correspond to multiple clients, that is, multiple client users set the same user name when registering, and other user mobile phone numbers, registered mailboxes, and the like are different. If the first identity information of the second client input by the first client user is the username of the second client, the cloud server will find multiple second clients according to the username. In order for the sending unit 430 to send the request prompt information to the correct second client, the determining sub-unit 431 needs to find the correct second client by determining whether the first identity information corresponds to the unique second client.
- the determining subunit 431 determines that the first identity information corresponds to the unique second client, the determining subunit 431 sends a second signal to the first sending subunit 432, so that the first sending subunit 432 is based on the second signal.
- the storage sub-unit 436 reads the first identity information and requests the prompt information, and sends the request prompt information to the second client according to the first identity information.
- the determining subunit 431 determines that the first identity information does not correspond to the unique second client, the determining subunit 431 sends a third signal to the second sending subunit 433, so that the second sending subunit 433 is configured according to the third signal. Sending, to the first client, second prompt information for acquiring second identity information of the second client.
- the second prompt information is used to prompt the first client user to input the identity information specified by the cloud server.
- the second prompt information prompts the first client user to input the registration mailbox of the second client.
- the second prompt information may also prompt the first client user to input any registration identity information of the second client, that is, the cloud server no longer specifies the identity information type input by the first client user. No specific restrictions are made here.
- the first client After the first client obtains the second prompt information, the first client will pop up a re-input dialog box.
- the first client user inputs the second identity information of the second client in the corresponding position of the re-input dialog box, for example, the registration email address of the second client, and clicks the confirmation button.
- the first client sends the second identity information of the second client to the cloud server.
- the obtaining sub-unit 434 in the cloud server will obtain the second identity information that the first client feeds back according to the second prompt information.
- the obtaining sub-unit 434 sends the acquired second identity information to the determining transmitting sub-unit 435.
- the determining transmitting sub-unit 435 will read the first identity information and request prompt information from the storage sub-unit 436, and determine a unique second client based on the first identity information and the second identity information. For example, the determination transmitting sub-unit 435 uniquely determines the second client based on the username of the second client and the registration mailbox. After determining that the transmitting sub-unit 435 determines a unique second client, the requesting prompt information will be sent to the unique second client.
- the second client user After the second client receives the request prompt information, the second client user selects the identifier information of the corresponding user data stored in the cloud server according to the request prompt information, that is, the identifier information of the data to be shared, and will wait
- the identification information of the shared data is sent to the cloud server, and the receiving unit 440 in the cloud server receives the identification information of the data to be shared that is fed back by the second client according to the request prompt information.
- the second client user searches for the information related to the travel-related photo or video stored in the cloud server through the second client, and sends the identification information of the related data.
- the cloud server The receiving unit 440 will receive the identification information of the data to be shared.
- each user data is provided with identification information, which may be set by the second client user, for example, for each The photo settings name, or a folder name, etc.; can also be assigned by the cloud server, for example, storing the address in the cloud server for each photo. As long as the cloud server can find the corresponding data to be shared according to the identification information, no specific restrictions are imposed here.
- the receiving unit 440 passes the acquired identification information of the data to be shared to the generation transmitting unit 450.
- the generating and sending unit 450 generates a data sharing link for the data to be shared according to the identification information, and sends the data sharing link to the first client, so that after the first client receives the data sharing link, the first client user passes the Click the data sharing link to browse or download the data to be shared.
- the data sharing device 400 acquires the request sharing data request sent by the first client by the obtaining unit 410, wherein the requesting the sharing data request includes the first identity information of the second client and the requesting prompt information; the determining unit 420 is configured according to The first identity information determines whether the second client registration information exists. If the second client registration information exists, the determining sub-unit 431 further determines whether the first identity information corresponds to the unique second client, if the corresponding second client The first sending sub-unit 432 sends the requesting prompt information to the second client according to the first identity information, and the receiving unit 440 receives the identification information of the data to be shared that is fed back by the second client according to the requesting prompt information.
- the data sharing device 400 can make the sharing process simpler and more operability. At the same time, users no longer need to communicate with other users in advance through telephone and other communication methods to obtain user data, saving users time.
- the two-step judgment is used to improve the accuracy of the cloud server searching for the second client, and improve the security and reliability of the shared data.
- Embodiments of the present invention provide an electronic device including a memory, a processor, and a computer program stored in the memory and operable in the processor, the processor implementing the computer program to implement the following steps:
- the method before the sending the request prompt information to the second client according to the first identity information, the method further includes:
- the method further includes:
- the sending the request prompt information to the second client according to the first identity information specifically includes:
- the method further includes:
- FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure
- FIG. 7 is another schematic structural diagram of an electronic device according to an embodiment of the present invention.
- the electronic device 500 includes a processor 501, a memory 502, a display unit 503, and a control circuit 504.
- Those skilled in the art will appreciate that the structure of the electronic device 500 illustrated in FIG. 5 does not constitute a limitation to the electronic device 500.
- Electronic device 500 may include more or fewer components than illustrated, or some components in combination, or different component arrangements.
- the electronic device 500 includes a smart phone, a tablet computer, and the like.
- the processor 501 is a control center of the electronic device 500.
- the processor 501 connects various portions of the entire electronic device 500 using various interfaces and lines, performs various functions of the electronic device 500 by running or executing an application stored in the memory 502, and recalling data stored in the memory 502. The data is processed to provide overall monitoring of the electronic device 500.
- the processor 501 loads the executable file corresponding to one or more program processes into the memory 502 according to the following instructions, and the processor 501 runs the program stored in the memory 502, thereby implementing various functions: obtaining And requesting the sharing data request sent by the first client, where the requesting sharing data request includes the first identity information of the second client and requesting the prompting information; and sending the requesting prompting information to the first information according to the first identity information a second client; receiving, by the second client, identification information of the data to be shared that is fed back according to the request prompt information; and generating a data sharing link of the data to be shared according to the identifier information, and sharing the data sharing link Send to the first client.
- the processor 501 is further configured to: determine, according to the first identity information, whether there is second client registration information; if the second client registration information exists, according to the first The identity information sends the request prompt information to the second client.
- the processor 501 is further configured to: if the second client registration information does not exist, send the first prompt information that the first identity information does not exist to the first client. .
- the processor 501 is further configured to: determine whether the first identity information corresponds to the unique second client;
- the processor 501 is further configured to: if the first identity information does not correspond to the unique second client, send, to the first client, a second that obtains the second client. Second prompt information of the identity information;
- Memory 502 can be used to store applications and data.
- the application stored in the memory 502 contains executable program code.
- Applications can form various functional modules.
- the processor 501 executes various functional applications and data processing by running an application stored in the memory 502.
- the display screen 503 can be used to display information input by the user to the electronic device 500 or information provided to the user and various graphical user interfaces of the electronic device 500. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof.
- the control circuit 504 is electrically connected to the display screen 503 for controlling the state of the display screen 503 under the scheduling of the processor 501.
- the electronic device 500 can also include a radio frequency circuit 505.
- the radio frequency circuit 505 is configured to send and receive radio frequency signals, such as establishing a communication link with a plurality of servers, and receiving data packets sent from the server.
- electronic device 500 also includes a power source 506.
- Power source 506 is used to power various components of electronic device 500.
- the power source 506 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 electronic device 500 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
- the electronic device 500 determines the avatar state corresponding to the avatar information according to the feature identification data; and correspondingly performs avatar information based on the avatar state. Synchronous operation. That is, the embodiment of the present invention can determine the avatar state corresponding to the avatar information by using the feature identifier data corresponding to the avatar information, so that when the avatar information is synchronized, the avatar information is synchronously operated according to the avatar state, so that the avatar information is utilized.
- the feature identification data avoids unnecessary data transmission during the synchronization of contact information, reduces traffic waste and optimizes synchronization efficiency.
- Embodiments of the present invention provide a medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor to perform the following steps:
- the functional units in the preferred embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units 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 modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium. For example, it is stored in a memory of the electronic device and loaded and executed by at least one processor in the electronic device.
- the medium can include: read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access) Memory), disk or CD.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
本申请要求于2016年10月25日提交中国专利局、申请号为201610940884.8、发明名称为“数据分享方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application, the entire disclosure of which is hereby incorporated by reference.
本发明涉及网络技术领域,特别是涉及一种数据分享方法、装置、介质、电子设备及系统。The present invention relates to the field of network technologies, and in particular, to a data sharing method, apparatus, medium, electronic device and system.
随着网络技术的不断发展,存储数据的方式已逐渐从硬件存储(如移动硬盘、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.
本发明提供一种数据分享方法、装置、介质、电子设备及系统,以解决现有的主动分享方式给用户主动索取其他用户数据带来不便的技术问题。The invention provides a data sharing method, device, medium, electronic device and system, so as to solve the technical problem that the existing active sharing method brings inconvenience to the user to actively request other user data.
第一方面,本发明提供一种数据分享方法,其包括:In a first aspect, the present invention provides a data sharing method, including:
获取第一客户端发送的索取分享数据请求,其中,所述索取分享数据请求包括第二客户端的第一身份信息和索取提示信息;Obtaining a request for sharing data sent by the first client, where the request for sharing the data includes the first identity information of the second client and requesting the prompt information;
根据所述第一身份信息发送所述索取提示信息至所述第二客户端;Sending the request prompt information to the second client according to the first identity information;
接收所述第二客户端根据所述索取提示信息反馈的待分享数据的标识信息;以及Receiving identification information of the data to be shared that is fed back by the second client according to the request prompt information;
根据所述标识信息生成所述待分享数据的数据分享链接,并将所述数据分享链接发送至所述第一客户端。Generating a data sharing link of the to-be-shared data according to the identification information, and sending the data sharing link to the first client.
第二方面,本发明还提供一种数据分享装置,其包括:In a second aspect, the present invention also provides a data sharing apparatus, including:
获取单元,用于获取第一客户端发送的索取分享数据请求,其中,所述索取分享数据请求包括第二客户端的第一身份信息和索取提示信息;An obtaining unit, configured to obtain a request for sharing data sent by the first client, where the request for sharing data includes the first identity information of the second client and the requesting prompt information;
发送单元,用于根据所述第一身份信息发送所述索取提示信息至所述第二客户端;a sending unit, configured to send the request prompt information to the second client according to the first identity information;
接收单元,用于接收所述第二客户端根据所述索取提示信息反馈的待分享数据的标识信息;a receiving unit, configured to receive identifier information of the data to be shared that is fed back by the second client according to the request prompt information;
生成发送单元,用于根据所述标识信息生成所述待分享数据的数据分享链接,并将所述数据分享链接发送至所述第一客户端。And a generating sending unit, configured to generate a data sharing link of the to-be-shared data according to the identifier information, and send the data sharing link to the first client.
第三方面,本发明实施例提供一种介质,其存储有多条指令,所述指令适于由处理器加载并执行如上述全部或部分的数据分享方法。In a third aspect, an embodiment of the present invention provides a medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor and to perform a data sharing method as described above in whole or in part.
第四方面,本发明实施例提供一种电子设备,包括存储器、处理器,以及存储在所述存储器中并可在所述处理器中运行的计算机程序,所述处理器执行所述计算机程序时实现如上述全部或部分的数据分享方法。In a fourth aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable in the processor, when the processor executes the computer program A data sharing method as described above in whole or in part is implemented.
第五方面,本发明实施例提供一种数据分享系统,其包括服务器以及电子设备,所述电子设备包括如上的电子设备。In a fifth aspect, an embodiment of the present invention provides a data sharing system, including a server and an electronic device, where the electronic device includes the above electronic device.
本发明提供一种数据分享方法、装置、介质、电子设备及系统,以解决现有的主动分享方式给用户主动索取其他用户数据带来不便的技术问题。The invention provides a data sharing method, device, medium, electronic device and system, so as to solve the technical problem that the existing active sharing method brings inconvenience to the user to actively request other user data.
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. Obviously, the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can obtain other drawings according to the drawings without any creative work.
图1为本发明数据分享系统的场景示意图。FIG. 1 is a schematic diagram of a scenario of a data sharing system according to the present invention.
图2为本发明数据分享方法的优选实施例的流程图。2 is a flow chart of a preferred embodiment of a data sharing method of the present invention.
图3为本发明数据分享方法的优选实施例的又一流程图。FIG. 3 is still another flowchart of a preferred embodiment of the data sharing method of the present invention.
图4为本发明数据分享装置的优选实施例的结构示意图。4 is a schematic structural diagram of a preferred embodiment of a data sharing apparatus according to the present invention.
图5为本发明数据分享装置的优选实施例的又一结构示意图。FIG. 5 is still another schematic structural diagram of a preferred embodiment of a data sharing apparatus according to the present invention.
图6为本发明实施例提供的电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
图7为本发明实施例提供的电子设备的另一结构示意图。FIG. 7 is another schematic structural diagram of an electronic device 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.
目前将云端服务器内的终端数据进行分享只能采用主动分享,也即持有数据的用户主动将相关数据分享给其他用户。当用户需要浏览或下载其他用户的用户数据时,该用户需要提前通过电话或短信等方式与其他用户沟通,再由其他用户通过主动分享的方式主动分享相关资料给该用户。At present, the sharing of terminal data in the cloud server can only be actively shared, that is, the user holding the data actively shares the relevant data to other users. When the user needs to browse or download the user data of other users, the user needs to communicate with other users by means of telephone or short message in advance, and then other users actively share relevant information to the user through active sharing.
本发明实施例提供一种数据分享方法、装置、介质、电子设备及系统。以下将分别进行详细说明。Embodiments of the present invention provide a data sharing method, apparatus, medium, electronic device, and system. The details will be described separately below.
本发明实施例提供一种数据分享系统,其包括服务器以及电子设备;An embodiment of the present invention provides a data sharing system, including a server and an electronic device;
所述电子设备包括存储器、处理器以及存储在所述存储器中并可在所述处理器中运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:The electronic device includes a memory, a processor, and a computer program stored in the memory and operative in the processor, the processor executing the computer program to implement the following steps:
获取第一客户端发送的索取分享数据请求,其中,所述索取分享数据请求包括第二客户端的第一身份信息和索取提示信息;Obtaining a request for sharing data sent by the first client, where the request for sharing the data includes the first identity information of the second client and requesting the prompt information;
根据所述第一身份信息发送所述索取提示信息至所述第二客户端;Sending the request prompt information to the second client according to the first identity information;
接收所述第二客户端根据所述索取提示信息反馈的待分享数据的标识信息;以及Receiving identification information of the data to be shared that is fed back by the second client according to the request prompt information;
根据所述标识信息生成所述待分享数据的数据分享链接,并将所述数据分享链接发送至所述第一客户端。Generating a data sharing link of the to-be-shared data according to the identification information, and sending the data sharing link to the first client.
本发明实施例提供的数据分享系统主要包括终端以及云端服务器,该云端服务器与终端可通过有线或无线网络进行连接。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.
请参照图1,图1为本发明实施例提供的数据分享系统的场景示意图。该数据分享系统包括云端服务器和终端,其中,云端服务器集成有本发明提供的数据分享装置,云端服务器存储有大量用户的数据及其相对应的标识信息。本发明中的第一客户端和第二客户端安装在终端内,在此,终端可以为手机、平板电脑等电子设备。Please refer to FIG. 1. FIG. 1 is a schematic diagram of a scenario of a data sharing system according to an embodiment of 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 an electronic device such as a mobile phone or a tablet computer.
当第一客户端需要浏览第二客户端的用户数据时,第一客户端先向云端服务器发送索取分享数据请求。云端服务器获取第一客户端发送的索取分享数据请求后,通过解析该索取分享数据请求获得第二客户端的第一身份信息和索取提示信息,并根据所述第二客户端的第一身份信息将索取提示信息发送至第二客户端。第二客户端根据索取提示信息获取待分享数据的标识信息,并将待分享数据的标识信息发送至云端服务器。云端服务器在接收到第二客户端根据索取提示信息反馈的待分享数据的标识信息后,根据待分享数据的标识信息生成待分享数据的数据分享链接,并将数据分享链接发送至第一客户端。从而使得第一客户端用户通过点击数据分享链接即可以浏览或下载所需的第二客户端的待分享数据。When the first client needs to browse the user data of the second client, the first client first sends a request for sharing data to the cloud server. After obtaining the request for sharing data sent by the first client, the cloud server obtains the first identity information of the second client and requests the prompt information by parsing the request for sharing the data, and requests the first identity information according to the second client. The prompt message is sent to the second client. The second client obtains the identification information of the data to be shared according to the request prompt information, and sends the identification information of the data to be shared to the cloud server. After receiving the identifier information of the data to be shared that is sent by the second client according to the request prompt information, the cloud server generates a data sharing link of the data to be shared according to the identifier information of the data to be shared, and sends the data sharing link to the first client. . Thereby, the first client user can browse or download the required data of the second client to be shared by clicking the data sharing link.
在本实施例中,将从数据分享装置的角度进行描述。In the present embodiment, description will be made from the perspective of the data sharing device.
本发明实施例提供一种数据分享方法,其包括:An embodiment of the present invention provides a data sharing method, including:
获取第一客户端发送的索取分享数据请求,其中,所述索取分享数据请求包括第二客户端的第一身份信息和索取提示信息;Obtaining a request for sharing data sent by the first client, where the request for sharing the data includes the first identity information of the second client and requesting the prompt information;
根据所述第一身份信息发送所述索取提示信息至所述第二客户端;Sending the request prompt information to the second client according to the first identity information;
接收所述第二客户端根据所述索取提示信息反馈的待分享数据的标识信息;以及Receiving identification information of the data to be shared that is fed back by the second client according to the request prompt information;
根据所述标识信息生成所述待分享数据的数据分享链接,并将所述数据分享链接发送至所述第一客户端。Generating a data sharing link of the to-be-shared data according to the identification information, and sending the data sharing link to the first client.
在一些实施例中,在所述根据所述第一身份信息发送所述索取提示信息至所述第二客户端之前,还包括:In some embodiments, before the sending the request prompt information to the second client according to the first identity information, the method further includes:
根据所述第一身份信息判断是否存在第二客户端注册信息;Determining, according to the first identity information, whether there is second client registration information;
若存在所述第二客户端注册信息,则根据所述第一身份信息发送所述索取提示信息至所述第二客户端。And if the second client registration information exists, sending the request prompt information to the second client according to the first identity information.
在一些实施例中,在所述根据所述第一身份信息判断是否存在第二客户端注册信息之后,还包括:In some embodiments, after the determining, according to the first identity information, whether the second client registration information exists, the method further includes:
若不存在所述第二客户端注册信息,则发送所述第一身份信息不存在的第一提示信息至所述第一客户端。And if the second client registration information does not exist, send the first prompt information that the first identity information does not exist to the first client.
在一些实施例中,所述根据所述第一身份信息发送所述索取提示信息至所述第二客户端,具体包括:In some embodiments, the sending the request prompt information to the second client according to the first identity information specifically includes:
判断所述第一身份信息是否对应唯一的所述第二客户端;Determining whether the first identity information corresponds to the unique second client;
若所述第一身份信息对应唯一的所述第二客户端,则根据所述第一身份信息发送索取提示信息至所述第二客户端。And if the first identity information corresponds to the unique second client, sending the request prompt information to the second client according to the first identity information.
在一些实施例中,在所述判断所述第一身份信息是否对应唯一的所述第二客户端之后,还包括:In some embodiments, after the determining whether the first identity information corresponds to the unique second client, the method further includes:
若所述第一身份信息不对应唯一的所述第二客户端,则向所述第一客户端发送获取第二客户端的第二身份信息的第二提示信息;And sending, to the first client, second prompt information for acquiring second identity information of the second client, if the first identity information does not correspond to the unique second client;
获取所述第一客户端根据所述第二提示信息反馈的所述第二身份信息;Obtaining the second identity information that is sent by the first client according to the second prompt information;
根据所述第一身份信息和第二身份信息确定唯一的所述第二客户端,并发送所述索取提示信息至唯一的所述第二客户端。Determining the unique second client according to the first identity information and the second identity information, and sending the request prompt information to the unique second client.
在一些实施例中,所述根据所述第一身份信息发送所述索取提示信息至所述第二客户端,具体包括:In some embodiments, the sending the request prompt information to the second client according to the first identity information specifically includes:
判断所述第一身份信息是否对应唯一的所述第二客户端;Determining whether the first identity information corresponds to the unique second client;
若所述第一身份信息对应唯一的所述第二客户端,则根据所述第一身份信息发送索取提示信息至所述第二客户端。And if the first identity information corresponds to the unique second client, sending the request prompt information to the second client according to the first identity information.
在一些实施例中,在所述判断所述第一身份信息是否对应唯一的所述第二客户端之后,还包括:In some embodiments, after the determining whether the first identity information corresponds to the unique second client, the method further includes:
若所述第一身份信息不对应唯一的所述第二客户端,则向所述第一客户端发送获取第二客户端的第二身份信息的第二提示信息;And sending, to the first client, second prompt information for acquiring second identity information of the second client, if the first identity information does not correspond to the unique second client;
获取所述第一客户端根据所述第二提示信息反馈的所述第二身份信息;Obtaining the second identity information that is sent by the first client according to the second prompt information;
根据所述第一身份信息和第二身份信息确定唯一的所述第二客户端,并发送所述索取提示信息至唯一的所述第二客户端。Determining the unique second client according to the first identity information and the second identity information, and sending the request prompt information to the unique second client.
请参照图2,图2为本发明的数据分享方法的优选实施例的流程图。该数据分享方法应用于云端服务器中,当然,在其他优选实施例中,该数据分享方法也可以应用在其他设备中,在此不做具体限制。Please refer to FIG. 2. FIG. 2 is a flowchart of a preferred embodiment of the data sharing method of the present invention. The data sharing method is applied to the cloud server. Of course, in other preferred embodiments, the data sharing method can also be applied to other devices, and is not specifically limited herein.
在步骤S101中,获取第一客户端发送的索取分享数据请求,其中,所述索取分享数据请求包括第二客户端的第一身份信息和索取提示信息。In step S101, the request for sharing data sent by the first client is obtained, where the request for sharing data includes the first identity information of the second client and the requesting prompt information.
当第一客户端用户需要索取第二客户端用户的用户数据时,根据第一客户端用户的操作,第一客户端将生成一个索取分享数据请求,并将该索取分享数据请求发送至云端服务器。云端服务器将获取该索取分享数据请求。其中,该索取分享数据请求包括第二客户端的第一身份信息和索取提示信息。在此需要说明的是,第一身份信息包括第二客户端的用户名、用户电话号码、注册邮箱等信息,在此不对第一身份信息的具体内容做限制。When the first client user needs to request the user data of the second client user, according to the operation of the first client user, the first client generates a request for sharing data, and sends the request for sharing data to the cloud server. . The cloud server will get the request to share data. The request for sharing data includes the first identity information of the second client and the request prompt information. It should be noted that the first identity information includes the user name of the second client, the user's phone number, the registered mailbox, and the like, and the specific content of the first identity information is not limited herein.
在一优选实施例中,当第一客户端用户需要索取第二客户端用户的用户数据时,第一客户端用户点击第一客户端页面内的索取分享入口。第一客户端将弹出一个对话框,提示用户输入第二客户端的第一身份信息和索取提示信息。例如,第一客户端用户在对话框的第二客户端身份信息栏内输入第二客户端的用户名;在索取提示信息栏内输入“旅游照片”。第一客户端用户点击确定按钮后,第一客户端将生成一个索取分享数据请求,并将该索取分享数据请求发送至云端服务器。可以理解的是,该索取分享数据请求包括第二客户端的用户名和“旅游照片”信息。In a preferred embodiment, when the first client user needs to request the user data of the second client user, the first client user clicks on the request sharing portal in the first client page. The first client will pop up a dialog box prompting the user to input the first identity information of the second client and request the prompt information. For example, the first client user inputs the username of the second client in the second client identity information field of the dialog box; enter "tourist photo" in the request prompt information field. After the first client user clicks the OK button, the first client will generate a request for sharing data and send the request for sharing data to the cloud server. It can be understood that the request sharing data request includes the username and "tourist photo" information of the second client.
在步骤S102中,根据所述第一身份信息发送所述索取提示信息至所述第二客户端。In step S102, the request prompt information is sent to the second client according to the first identity information.
当云端服务器接收到第一客户端发送的索取分享数据请求后,通过解析该索取分享数据请求来获取第二客户端的第一身份信息和索取提示信息。云端服务器将该索取提示信息发送至第一身份信息所对应的第二客户端中。例如,云端服务器通过解析获得第二客户端的用户名和“旅游照片”后,将“旅游照片”发送至该用户名所对应的第二客户端中,这样第二客户端用户可以知道第一客户端用户需要分享什么资料。After receiving the request for sharing data sent by the first client, the cloud server obtains the first identity information of the second client and requests the prompt information by parsing the request for sharing data. The cloud server sends the request prompt information to the second client corresponding to the first identity information. For example, after the cloud server obtains the username and the “tourist photo” of the second client by parsing, the “tourist photo” is sent to the second client corresponding to the username, so that the second client user can know the first client user. What information to share.
在步骤S103中,接收所述第二客户端根据所述索取提示信息反馈的待分享数据的标识信息。In step S103, the identifier information of the data to be shared that is fed back by the second client according to the request prompt information is received.
当第二客户端接收到该索取提示信息后,第二客户端用户根据该索取提示信息来选择其在云端服务器内存储的相应用户数据的标识信息,即待分享数据的标识信息,并将待分享数据的标识信息发送至云端服务器。After the second client receives the request prompt information, the second client user selects the identifier information of the corresponding user data stored in the cloud server according to the request prompt information, that is, the identifier information of the data to be shared, and will wait The identification information of the shared data is sent to the cloud server.
例如,当索取提示信息为“旅游照片”时,第二客户端用户将通过第二客户端查找其在云端服务器内存储的与旅游相关的照片或视频等资料,并将相关旅游资料的标识信息发送给云端服务器。在此需要说明的是,第二客户端用户在将其用户数据存储在云端服务器内时,每个用户数据均设置有标识信息,该标识信息可以由第二客户端用户设置,例如,为每张照片设置名称,或为一个文件夹名称等;也可以由云端服务器为其分配,例如为每张照片在云端服务器内存储地址。只要云端服务器可以根据该标识信息查找到相应的待分享数据即可,在此不做具体限制。For example, when the prompt information is requested as a “tourist photo”, the second client user searches for the information related to the travel-related photo or video stored in the cloud server through the second client, and identifies the related travel information. Send to the cloud server. It should be noted that when the second client user stores its user data in the cloud server, each user data is provided with identification information, which may be set by the second client user, for example, for each The photo settings name, or a folder name, etc.; can also be assigned by the cloud server, for example, storing the address in the cloud server for each photo. As long as the cloud server can find the corresponding data to be shared according to the identification information, no specific restrictions are imposed here.
在步骤S104中,根据所述标识信息生成所述待分享数据的数据分享链接,并将所述数据分享链接发送至所述第一客户端。In step S104, a data sharing link of the to-be-shared data is generated according to the identification information, and the data sharing link is sent to the first client.
在云端服务器接收到待分享数据的标识信息后,云端服务器将根据该标识信息生成待分享数据的数据分享链接,并将该数据分享链接发送至第一客户端,使得第一客户端接收到该数据分享链接后,第一客户端用户通过点击该数据分享链接即可以浏览或下载待分享数据。After the cloud server receives the identification information of the data to be shared, the cloud server generates a data sharing link of the data to be shared according to the identifier information, and sends the data sharing link to the first client, so that the first client receives the After the data sharing link, the first client user can browse or download the data to be shared by clicking the data sharing link.
一优选实施例中的数据分享方法,通过获取第一客户端发送的索取分享数据请求,其中,所述索取分享数据请求包括第二客户端的第一身份信息和索取提示信息;根据所述第一身份信息发送所述索取提示信息至所述第二客户端;接收所述第二客户端根据所述索取提示信息反馈的待分享数据的标识信息;以及根据所述标识信息生成所述待分享数据的数据分享链接,并将所述数据分享链接发送至所述第一客户端。在用户主动索取其他用户数据的情况下,该数据分享方法可以使得分享过程更加简单,可操作性更强。同时,也不再需要用户通过电话等其他通信方式提前与其他用户沟通来获得用户数据,节省用户的时间。The data sharing method in a preferred embodiment, by obtaining a request for sharing data sent by the first client, wherein the requesting the shared data request includes the first identity information of the second client and the requesting prompt information; Sending the request prompt information to the second client; receiving the identification information of the data to be shared that is fed back by the second client according to the request prompt information; and generating the to-be-shared data according to the identifier information a data sharing link and send the data sharing link to the first client. In the case that the user actively requests other user data, the data sharing method can make the sharing process simpler and more operability. At the same time, users no longer need to communicate with other users in advance through telephone and other communication methods to obtain user data, saving users time.
请参照图3,图3为本发明的数据分享方法的优选实施例的又一流程图。该数据分享方法应用于云端服务器中,当然,在其他优选实施例中,该数据分享方法也可以应用在其他设备中,在此不做具体限制。Please refer to FIG. 3. FIG. 3 is still another flowchart of a preferred embodiment of the data sharing method of the present invention. The data sharing method is applied to the cloud server. Of course, in other preferred embodiments, the data sharing method can also be applied to other devices, and is not specifically limited herein.
一优选实施例中的数据分享方法包括:The data sharing method in a preferred embodiment includes:
步骤S201:获取第一客户端发送的索取分享数据请求,其中,所述索取分享数据请求包括第二客户端的第一身份信息和索取提示信息;Step S201: Acquire a request for sharing data sent by the first client, where the request for sharing data includes the first identity information of the second client and the request prompt information;
步骤S202:根据所述第一身份信息判断是否存在第二客户端注册信息,若存在所述第二客户端注册信息,则执行步骤S203,若不存在所述第二客户端注册信息,则执行步骤S204;Step S202: Determine, according to the first identity information, whether there is second client registration information, if the second client registration information exists, step S203 is performed, if the second client registration information does not exist, execute Step S204;
步骤S203:判断所述第一身份信息是否对应唯一的所述第二客户端,若所述第一身份信息对应唯一的所述第二客户端,则执行步骤S205,若所述第一身份信息不对应唯一的所述第二客户端,则执行步骤S208;Step S203: determining whether the first identity information corresponds to the unique second client, if the first identity information corresponds to the unique second client, performing step S205, if the first identity information Step S208 is performed, if the second client does not correspond to the unique one;
步骤S204:发送所述第一身份信息不存在的第一提示信息至所述第一客户端;Step S204: Send the first prompt information that the first identity information does not exist to the first client.
步骤S205:根据第一身份信息发送索取提示信息至所述第二客户端;Step S205: Send request prompt information to the second client according to the first identity information;
步骤S206:接收所述第二客户端根据所述索取提示信息反馈的待分享数据的标识信息;Step S206: Receive identification information of the data to be shared that is fed back by the second client according to the request prompt information.
步骤S207:根据所述标识信息生成所述待分享数据的数据分享链接,并将所述数据分享链接发送至所述第一客户端;Step S207: Generate a data sharing link of the to-be-shared data according to the identifier information, and send the data sharing link to the first client.
步骤S208:向所述第一客户端发送获取第二客户端的第二身份信息的第二提示信息;Step S208: Send, to the first client, second prompt information for acquiring second identity information of the second client.
步骤S209:获取所述第一客户端根据所述第二提示信息反馈的第二身份信息;Step S209: Acquire second identity information that is fed back by the first client according to the second prompt information.
步骤S210:根据所述第一身份信息和第二身份信息确定唯一的所述第二客户端,并发送所述索取提示信息至唯一的所述第二客户端,并返回执行步骤S206和步骤S207。Step S210: Determine a unique second client according to the first identity information and the second identity information, and send the request prompt information to the unique second client, and return to step S206 and step S207. .
下面将结合图3对上述数据分享方法进行详细地介绍。The above data sharing method will be described in detail below with reference to FIG.
在步骤S201中,获取第一客户端发送的索取分享数据请求,其中,所述索取分享数据请求包括第二客户端的第一身份信息和索取提示信息。In step S201, the request for sharing data sent by the first client is obtained, where the request for sharing data includes the first identity information of the second client and the requesting prompt information.
当第一客户端用户需要索取第二客户端用户的用户数据时,根据第一客户端用户的操作,第一客户端将生成一个索取分享数据请求,并将该索取分享数据请求发送至云端服务器,其中,该索取分享数据请求包括第二客户端的第一身份信息和索取提示信息。在此需要说明的是,第一身份信息包括第二客户端的用户名、用户电话号码、注册邮箱等信息,在此不对第一身份信息的具体内容做限制。When the first client user needs to request the user data of the second client user, according to the operation of the first client user, the first client generates a request for sharing data, and sends the request for sharing data to the cloud server. The request for sharing data includes the first identity information of the second client and the requesting prompt information. It should be noted that the first identity information includes the user name of the second client, the user's phone number, the registered mailbox, and the like, and the specific content of the first identity information is not limited herein.
在一优选实施例中,当第一客户端用户需要索取第二客户端用户的用户数据时,第一客户端用户点击第一客户端页面内的索取分享入口。第一客户端将弹出一个对话框,提示用户输入第二客户端的第一身份信息和索取提示信息。例如,第一客户端用户在对话框的第二客户端身份信息栏内输入第二客户端的用户名;在索取提示信息栏内输入“旅游照片”。第一客户端用户点击确定按钮后,第一客户端将生成一个索取分享数据请求,并将该索取分享数据请求发送至云端服务器。可以理解的是,该索取分享数据请求包括第二客户端的用户名和“旅游照片”信息。In a preferred embodiment, when the first client user needs to request the user data of the second client user, the first client user clicks on the request sharing portal in the first client page. The first client will pop up a dialog box prompting the user to input the first identity information of the second client and request the prompt information. For example, the first client user inputs the username of the second client in the second client identity information field of the dialog box; enter "tourist photo" in the request prompt information field. After the first client user clicks the OK button, the first client will generate a request for sharing data and send the request for sharing data to the cloud server. It can be understood that the request sharing data request includes the username and "tourist photo" information of the second client.
在步骤S202中,根据所述第一身份信息判断是否存在第二客户端注册信息;In step S202, determining, according to the first identity information, whether there is second client registration information;
当云端服务器接收到第一客户端发送的索取分享数据请求后,通过解析该索取分享数据请求来获取第二客户端的第一身份信息和索取提示信息,并根据所述第一身份信息判断是否存在第二客户端注册信息。具体地,判断云端服务器内存储的多个客户端注册信息中是否存在所述第一身份信息。若云端服务器判断出其内存储的客户端注册信息中不存在该第一身份信息,则判定不存在与该第一身份信息相对应的第二客户端注册信息。此时云端服务器将向第一客户端发送第一提示信息,该第一提示信息用于提示第一客户端该第一身份信息不存在,即执行步骤S204。在此情况下,第一客户端可以重新输入第二客户端的身份信息。After receiving the request for sharing data sent by the first client, the cloud server obtains the first identity information of the second client and requests the prompt information by parsing the request for sharing the data, and determines whether the first identity information exists according to the first identity information. Second client registration information. Specifically, determining whether the first identity information exists in multiple client registration information stored in the cloud server. If the cloud server determines that the first identity information does not exist in the client registration information stored in the cloud server, it determines that there is no second client registration information corresponding to the first identity information. At this time, the cloud server sends the first prompt information to the first client, where the first prompt information is used to prompt the first client that the first identity information does not exist, that is, step S204 is performed. In this case, the first client can re-enter the identity information of the second client.
若云端服务器判断出其内存储的客户端注册信息中存在该第一身份信息,则判定存在与该第一身份信息相对应的第二客户端注册信息。此时云端服务器将执行步骤S203。If the cloud server determines that the first identity information exists in the client registration information stored therein, it determines that there is second client registration information corresponding to the first identity information. At this time, the cloud server will perform step S203.
在步骤S203中,判断所述第一身份信息是否对应唯一的所述第二客户端。In step S203, it is determined whether the first identity information corresponds to the unique second client.
在实际应用中,有些用户名对应了多个客户端,即多个客户端用户在注册时设置了相同的用户名,而其他的用户手机号码、注册邮箱等注册信息则不同。若此时第一客户端用户输入的第二客户端的第一身份信息恰为第二客户端的用户名时,云端服务器将根据该用户名寻找到多个第二客户端。为了云端服务器可以将索取提示信息发送到正确的第二客户端,云端服务器需要进一步判断第一身份信息是否对应唯一的第二客户端。In practical applications, some user names correspond to multiple clients, that is, multiple client users set the same user name when registering, and other user mobile phone numbers, registered mailboxes, and the like are different. If the first identity information of the second client input by the first client user is the username of the second client, the cloud server will find multiple second clients according to the username. In order for the cloud server to send the request prompt information to the correct second client, the cloud server needs to further determine whether the first identity information corresponds to the unique second client.
在步骤S203中,若云端服务器判断出该第一身份信息对应唯一的第二客户端,则根据该第一身份信息发送索取提示信息至第二客户端,即执行步骤S205。In step S203, if the cloud server determines that the first identity information corresponds to the second client, the request information is sent to the second client according to the first identity information, that is, step S205 is performed.
在步骤S205中,例如,云端服务器通过解析获得第二客户端的用户名和“旅游照片”后,将“旅游照片”这一索取提示信息发送至该用户名所对应的第二客户端中,这样第二客户端用户可以知道第一客户端用户需要分享什么资料。In step S205, for example, after the cloud server obtains the user name and the "tourist photo" of the second client by parsing, the request message of the "travel photo" is sent to the second client corresponding to the user name, so that the second The client user can know what information the first client user needs to share.
在步骤S206中,接收所述第二客户端根据所述索取提示信息反馈的待分享数据的标识信息。In step S206, the identifier information of the data to be shared that is fed back by the second client according to the request prompt information is received.
当第二客户端接收到该索取提示信息后,第二客户端用户根据该索取提示信息来选择其在云端服务器内存储的相应用户数据的标识信息,即待分享数据的标识信息,并将待分享数据的标识信息发送至云端服务器。例如,当索取提示信息为“旅游照片”时,第二客户端用户将通过第二客户端查找其在云端服务器内存储的与旅游相关的照片或视频等资料,并将相关旅游资料的标识信息发送给云端服务器。在此需要说明的是,第二客户端用户在将其用户数据存储在云端服务器内时,每个用户数据均设置有标识信息,该标识信息可以由第二客户端用户设置,例如,为每张照片设置名称,或为一个文件夹名称等;也可以由云端服务器为其分配,例如为每张照片在云端服务器内存储地址。只要云端服务器可以根据该标识信息查找到相应的待分享数据即可,在此不做具体限制。After the second client receives the request prompt information, the second client user selects the identifier information of the corresponding user data stored in the cloud server according to the request prompt information, that is, the identifier information of the data to be shared, and will wait The identification information of the shared data is sent to the cloud server. For example, when the prompt information is requested as a “tourist photo”, the second client user searches for the information related to the travel-related photo or video stored in the cloud server through the second client, and identifies the related travel information. Send to the cloud server. It should be noted that when the second client user stores its user data in the cloud server, each user data is provided with identification information, which may be set by the second client user, for example, for each The photo settings name, or a folder name, etc.; can also be assigned by the cloud server, for example, storing the address in the cloud server for each photo. As long as the cloud server can find the corresponding data to be shared according to the identification information, no specific restrictions are imposed here.
在步骤S207中,根据所述标识信息生成所述待分享数据的数据分享链接,并将所述数据分享链接发送至所述第一客户端。In step S207, a data sharing link of the data to be shared is generated according to the identification information, and the data sharing link is sent to the first client.
在云端服务器接收到待分享数据的标识信息后,云端服务器将根据该标识信息生成待分享数据的数据分享链接,并将该数据分享链接发送至第一客户端,使得第一客户端接收到该数据分享链接后,第一客户端用户通过点击该数据分享链接即可以浏览或下载待分享数据。After the cloud server receives the identification information of the data to be shared, the cloud server generates a data sharing link of the data to be shared according to the identifier information, and sends the data sharing link to the first client, so that the first client receives the After the data sharing link, the first client user can browse or download the data to be shared by clicking the data sharing link.
可以理解的是,上述情况是在第一身份信息对应唯一的第二客户端的情况下的数据分享方法。若在步骤S203中,云端服务器判断出该第一身份信息不对应唯一的第二客户端时,则云端服务器向第一客户端发送获取第二客户端的第二身份信息的第二提示信息,即执行步骤S208。It can be understood that the above situation is a data sharing method in the case where the first identity information corresponds to a unique second client. If the cloud server determines that the first identity information does not correspond to the only second client, the cloud server sends a second prompt message for acquiring the second identity information of the second client to the first client, that is, the cloud server determines, Step S208 is performed.
在步骤S208中,当云端服务器根据该第一身份信息无法唯一确定第二客户端时,云端服务器发送第二提示信息至第一客户端,第二提示信息用于提示第一客户端输入第二客户端的第二身份信息。In step S208, when the cloud server cannot uniquely determine the second client according to the first identity information, the cloud server sends the second prompt information to the first client, and the second prompt information is used to prompt the first client to input the second client. The second identity information of the client.
在一优选实施例中,第二提示信息提示第一客户端用户输入云端服务器指定的身份信息。例如,第二提示信息提示第一客户端用户输入第二客户端的注册邮箱。当然,在其他优选实施例中,第二提示信息也可以提示第一客户端用户输入第二客户端的任意注册身份信息,即此时云端服务器不再指定第一客户端用户输入的身份信息种类,在此不做具体限制。In a preferred embodiment, the second prompt information prompts the first client user to input the identity information specified by the cloud server. For example, the second prompt information prompts the first client user to input the registration mailbox of the second client. Of course, in other preferred embodiments, the second prompt information may also prompt the first client user to input any registration identity information of the second client, that is, the cloud server no longer specifies the identity information type input by the first client user. No specific restrictions are made here.
在步骤S209中,获取所述第一客户端根据所述第二提示信息反馈的第二身份信息。In step S209, the second identity information that is fed back by the first client according to the second prompt information is obtained.
第一客户端获取到第二提示信息后,第一客户端将弹出一个重新输入对话框。第一客户端用户在该重新输入对话框的相应位置输入第二客户端的第二身份信息,例如第二客户端的注册邮箱,并点击确认按钮。第一客户端将发送该第二客户端的第二身份信息至云端服务器,云端服务器将获取到该第二身份信息。After the first client obtains the second prompt information, the first client will pop up a re-input dialog box. The first client user inputs the second identity information of the second client in the corresponding position of the re-input dialog box, for example, the registration email address of the second client, and clicks the confirmation button. The first client sends the second identity information of the second client to the cloud server, and the cloud server obtains the second identity information.
在步骤S210中,根据所述第一身份信息和第二身份信息确定唯一的所述第二客户端,并发送所述索取提示信息至唯一的所述第二客户端,并返回执行步骤S206和步骤S207。In step S210, determining the unique second client according to the first identity information and the second identity information, and sending the request prompt information to the unique second client, and returning to step S206 and Step S207.
云端服务器获取到第二身份信息后,将根据第一身份信息和第二身份信息确定唯一的第二客户端。例如,根据第二客户端的用户名和注册邮箱来唯一确定第二客户端。当云端服务器确定唯一的第二客户端后,将第一客户端发送的索取提示信息发送至唯一的第二客户端,并跳转至执行步骤S206和和步骤S207。After the cloud server obtains the second identity information, the unique second client is determined according to the first identity information and the second identity information. For example, the second client is uniquely determined based on the username of the second client and the registered mailbox. After the cloud server determines the unique second client, the request prompt information sent by the first client is sent to the unique second client, and the process proceeds to step S206 and step S207.
为了更加清晰地解释说明上述优选实施例中的数据分享方法,下面将结合具体的应用场景来说明。In order to explain the data sharing method in the above preferred embodiment more clearly, the following will be explained in conjunction with a specific application scenario.
在该应用场景中,第一客户端和第二客户端分别安装在两部手机中。当第一用户需要获取第二用户的用户数据时,第一用户在手机中登陆第一客户端,并点击第一客户端页面内的索取分享入口。在弹出的对话框的第二客户端身份信息栏中输入第二用户的手机号码,以及在对话框的索取分享信息栏中输入“会议资料”,点击确认按钮。此时,第一客户端将生成一个索取分享数据请求,并发送该索取分享数据请求至云端服务器,其中,该索取分享数据请求包括第二客户端的电话号码和“会议资料”。In this application scenario, the first client and the second client are installed in two mobile phones respectively. When the first user needs to obtain the user data of the second user, the first user logs in to the first client in the mobile phone, and clicks on the request sharing portal in the first client page. In the second client identity information bar of the pop-up dialog box, enter the second user's mobile phone number, and enter "conference data" in the request sharing information field of the dialog box, and click the confirmation button. At this time, the first client will generate a request for sharing data and send the request for sharing data to the cloud server, wherein the request for sharing data includes the phone number of the second client and the "meeting data".
云端服务器接收到该索取分享数据请求后,将通过解析该索取分享数据请求来获取第二客户端的电话号码和“会议资料”。After receiving the request for sharing data, the cloud server will obtain the phone number and "meeting data" of the second client by parsing the request for sharing data.
首先,云端服务器判断其内存储的客户端注册信息中是否存在该电话号码。若云端服务器判断出其存储的客户端注册信息中存在该电话号码,则说明该电话号码所对应的用户已经注册了云端服务器的客户端。First, the cloud server determines whether the phone number exists in the client registration information stored therein. If the cloud server determines that the phone number exists in the client registration information stored by the cloud server, it indicates that the user corresponding to the phone number has already registered the client of the cloud server.
其次,云端服务器将进一步判断该电话号码是否对应唯一的第二客户端,若是,则云端服务器将“会议资料”发送至该电话号码所对应的第二客户端。Secondly, the cloud server further determines whether the phone number corresponds to a unique second client, and if so, the cloud server sends the "meeting data" to the second client corresponding to the phone number.
第二用户通过登陆第二客户端来查看云端服务器发送的信息。当第二用户看到“会议资料”信息后,将通过第二客户端选择相关资料的标识信息,即待分享数据的标识信息,点击确认按钮后,第二客户端将该标识信息发送至云端服务器。The second user views the information sent by the cloud server by logging in to the second client. After the second user sees the "meeting data" information, the second client selects the identification information of the related data, that is, the identification information of the data to be shared, and after clicking the confirmation button, the second client sends the identification information to the cloud. server.
云端服务器根据该标识信息生成待分享数据的数据分享链接,并将该数据分享链接发送至第一客户端,这样第一用户就可以通过点击数据分享链接来获取其所需要浏览或下载的“会议资料”数据信息。The cloud server generates a data sharing link of the data to be shared according to the identification information, and sends the data sharing link to the first client, so that the first user can obtain the "meeting" that needs to be browsed or downloaded by clicking the data sharing link. Data" data information.
上述应用场景仅仅是为了进一步说明上述优选实施例中的数据分享方法,不能用于限制上述优选实施例中数据分享方法的适用范围。The foregoing application scenario is only for further explaining the data sharing method in the above preferred embodiment, and cannot be used to limit the scope of application of the data sharing method in the above preferred embodiment.
一优选实施例中的数据分享方法,通过获取第一客户端发送的索取分享数据请求,其中索取分享数据请求包括第二客户端的第一身份信息和索取提示信息;根据第一身份信息判断是否存在第二客户端注册信息,若存在第二客户端注册信息,则进一步判断该第一身份信息是否对应唯一的第二客户端,若对应唯一的第二客户端,则根据第一身份信息发送索取提示信息至第二客户端;接收第二客户端根据索取提示信息反馈的待分享数据的标识信息;根据该标识信息生成待分享数据的数据分享链接,并发送该数据分享链接至第一客户端。在用户主动索取其他用户数据的情况下,该数据分享方法可以使得分享过程更加简单,可操作性更强。同时,也不再需要用户通过电话等其他通信方式提前与其他用户沟通来获得用户数据,节省用户的时间。另外,通过两步判断来提高云端服务器对第二客户端查找的准确率,提高分享数据的安全性和可靠性。The data sharing method in a preferred embodiment is configured to obtain a request for sharing data sent by the first client, where the request for sharing the data includes the first identity information of the second client and the requesting prompt information; determining whether the first identity information exists according to the first identity information. The second client registration information, if there is the second client registration information, further determining whether the first identity information corresponds to the unique second client, and if the corresponding second client is corresponding, sending the request according to the first identity information And prompting the information to the second client; receiving the identification information of the data to be shared that is sent by the second client according to the request prompt information; generating a data sharing link of the data to be shared according to the identifier information, and sending the data sharing link to the first client . In the case that the user actively requests other user data, the data sharing method can make the sharing process simpler and more operability. At the same time, users no longer need to communicate with other users in advance through telephone and other communication methods to obtain user data, saving users time. In addition, the two-step judgment is used to improve the accuracy of the cloud server searching for the second client, and improve the security and reliability of the shared data.
本发明实施例提供一种数据分享装置,其包括:The embodiment of the invention provides a data sharing device, which includes:
获取单元,用于获取第一客户端发送的索取分享数据请求,其中,所述索取分享数据请求包括第二客户端的第一身份信息和索取提示信息;An obtaining unit, configured to obtain a request for sharing data sent by the first client, where the request for sharing data includes the first identity information of the second client and the requesting prompt information;
发送单元,用于根据所述第一身份信息发送所述索取提示信息至所述第二客户端;a sending unit, configured to send the request prompt information to the second client according to the first identity information;
接收单元,用于接收所述第二客户端根据所述索取提示信息反馈的待分享数据的标识信息;a receiving unit, configured to receive identifier information of the data to be shared that is fed back by the second client according to the request prompt information;
生成发送单元,用于根据所述标识信息生成所述待分享数据的数据分享链接,并将所述数据分享链接发送至所述第一客户端。And a generating sending unit, configured to generate a data sharing link of the to-be-shared data according to the identifier information, and send the data sharing link to the first client.
在一些实施例中,所述数据分享装置还包括判断单元,所述判断单元用于根据所述第一身份信息判断是否存在第二客户端注册信息;若存在所述第二客户端注册信息,则所述发送单元根据所述第一身份信息发送所述索取提示信息至所述第二客户端。In some embodiments, the data sharing apparatus further includes a determining unit, configured to determine, according to the first identity information, whether there is second client registration information; if the second client registration information exists, And sending, by the sending unit, the request prompt information to the second client according to the first identity information.
在一些实施例中,所示判断单元还用于:若判断出不存在所述第二客户端注册信息,则发送所述第一身份信息不存在的第一提示信息至所述第一客户端。In some embodiments, the determining unit is further configured to: if it is determined that the second client registration information does not exist, send the first prompt information that the first identity information does not exist to the first client .
在一些实施例中,所述发送单元包括判断子单元和第一发送子单元,其中,所述判断子单元用于:判断所述第一身份信息是否对应唯一的所述第二客户端;In some embodiments, the sending unit includes a determining subunit and a first sending subunit, wherein the determining subunit is configured to: determine whether the first identity information corresponds to the unique second client;
所述第一发送子单元用于:若所述第一身份信息对应唯一的所述第二客户端,则根据所述第一身份信息发送索取提示信息至所述第二客户端。The first sending subunit is configured to: if the first identity information corresponds to the unique second client, send requesting prompt information to the second client according to the first identity information.
在一些实施例中,所述发送单元还包括第二发送子单元、获取子单元和确定发送子单元,其中,所述第二发送子单元用于:若所述第一身份信息不对应唯一的所述第二客户端,则向所述第一客户端发送获取第二客户端的第二身份信息的第二提示信息;In some embodiments, the sending unit further includes a second sending subunit, an obtaining subunit, and a determining transmitting subunit, wherein the second sending subunit is configured to: if the first identity information does not correspond to a unique one Sending, by the second client, second prompt information for acquiring second identity information of the second client to the first client;
所述获取子单元用于:获取所述第一客户端根据所述第二提示信息反馈的所述第二身份信息;The acquiring subunit is configured to: acquire the second identity information that is sent by the first client according to the second prompt information;
所述确定发送子单元用于:根据所述第一身份信息和第二身份信息确定唯一的所述第二客户端,并发送所述索取提示信息至唯一的所述第二客户端。The determining the sending subunit is configured to: determine the unique second client according to the first identity information and the second identity information, and send the requesting prompt information to the unique second client.
在一些实施例中,所述发送单元包括判断子单元和第一发送子单元,其中,所述判断子单元用于:判断所述第一身份信息是否对应唯一的所述第二客户端;In some embodiments, the sending unit includes a determining subunit and a first sending subunit, wherein the determining subunit is configured to: determine whether the first identity information corresponds to the unique second client;
所述第一发送子单元用于:若所述第一身份信息对应唯一的所述第二客户端,则根据所述第一身份信息发送索取提示信息至所述第二客户端。The first sending subunit is configured to: if the first identity information corresponds to the unique second client, send requesting prompt information to the second client according to the first identity information.
在一些实施例中,所述发送单元还包括第二发送子单元、获取子单元和确定发送子单元,其中,所述第二发送子单元用于:若所述第一身份信息不对应唯一的所述第二客户端,则向所述第一客户端发送获取第二客户端的第二身份信息的第二提示信息;In some embodiments, the sending unit further includes a second sending subunit, an obtaining subunit, and a determining transmitting subunit, wherein the second sending subunit is configured to: if the first identity information does not correspond to a unique one Sending, by the second client, second prompt information for acquiring second identity information of the second client to the first client;
所述获取子单元用于:获取所述第一客户端根据所述第二提示信息反馈的所述第二身份信息;The acquiring subunit is configured to: acquire the second identity information that is sent by the first client according to the second prompt information;
所述确定发送子单元用于:根据所述第一身份信息和第二身份信息确定唯一的所述第二客户端,并发送所述索取提示信息至唯一的所述第二客户端。The determining the sending subunit is configured to: determine the unique second client according to the first identity information and the second identity information, and send the requesting prompt information to the unique second client.
请参照图4,图4为本发明数据分享装置的优选实施例的结构示意图。该数据分享装置300应用于云端服务器中,当然,在其他实施例中,该数据分享装置300也可以应用在其他设备中,在此不做具体限制。Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of a preferred embodiment of a data sharing apparatus according to 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和生成发送单元340。其中,获取单元310用于获取第一客户端发送的索取分享数据请求,其中,所述索取分享数据请求包括第二客户端的第一身份信息和索取提示信息;发送单元320用于根据所述第一身份信息发送所述索取提示信息至所述第二客户端;接收单元330用于接收所述第二客户端根据所述索取提示信息反馈的待分享数据的标识信息;生成发送单元340用于根据所述标识信息生成所述待分享数据的数据分享链接,并将所述数据分享链接发送至所述第一客户端。The data sharing device 300 in a preferred embodiment includes an obtaining unit 310, a transmitting unit 320, a receiving unit 330, and a generating transmitting unit 340. The obtaining unit 310 is configured to obtain a request for sharing data request sent by the first client, where the request for sharing the data includes the first identity information of the second client and the requesting prompt information; the sending unit 320 is configured to use, according to the An identity information is sent to request the prompt information to the second client; the receiving unit 330 is configured to receive the identifier information of the data to be shared that is fed back by the second client according to the request prompt information; and the generating sending unit 340 is configured to: Generating a data sharing link of the to-be-shared data according to the identification information, and sending the data sharing link to the first client.
下面将结合图4对上述数据分享装置300做详细地说明。The above data sharing device 300 will be described in detail below with reference to FIG.
当第一客户端用户需要索取第二客户端用户的用户数据时,根据第一客户端用户的操作,第一客户端将生成一个索取分享数据请求,并将该索取分享数据请求发送至云端服务器。云端服务器内的获取单元310将获取第一客户端发送的索取分享数据请求。其中,该索取分享数据请求包括第二客户端的第一身份信息和索取提示信息。在此需要说明的是,第一身份信息包括第二客户端的用户名、用户电话号码、注册邮箱等信息,在此不对第一身份信息的具体内容做限制。When the first client user needs to request the user data of the second client user, according to the operation of the first client user, the first client generates a request for sharing data, and sends the request for sharing data to the cloud server. . The obtaining unit 310 in the cloud server will acquire the request for sharing data sent by the first client. The request for sharing data includes the first identity information of the second client and the request prompt information. It should be noted that the first identity information includes the user name of the second client, the user's phone number, the registered mailbox, and the like, and the specific content of the first identity information is not limited herein.
在一优选实施例中,当第一客户端用户需要索取第二客户端用户的用户数据时,第一客户端用户点击第一客户端页面内的索取分享入口。第一客户端将弹出一个对话框,提示用户输入第二客户端的第一身份信息和索取提示信息。例如,第一客户端用户在对话框的第二客户端身份信息栏内输入第二客户端的用户名;在索取提示信息栏内输入“旅游照片”。第一客户端用户点击确定按钮后,第一客户端将生成一个索取分享数据请求,并将该索取分享数据请求发送至云端服务器。云端服务器内的获取单元310将获取该索取分享数据请求。可以理解的是,该索取分享数据请求包括第二客户端的用户名和“旅游照片”信息。In a preferred embodiment, when the first client user needs to request the user data of the second client user, the first client user clicks on the request sharing portal in the first client page. The first client will pop up a dialog box prompting the user to input the first identity information of the second client and request the prompt information. For example, the first client user inputs the username of the second client in the second client identity information field of the dialog box; enter "tourist photo" in the request prompt information field. After the first client user clicks the OK button, the first client will generate a request for sharing data and send the request for sharing data to the cloud server. The obtaining unit 310 in the cloud server will obtain the request to share data request. It can be understood that the request sharing data request includes the username and "tourist photo" information of the second client.
当获取单元310接收到第一客户端发送的索取分享数据请求后,通过解析该索取分享数据请求来获取第二客户端的第一身份信息和索取提示信息,并将该第一身份信息和索取提示信息发送至发送单元320。发送单元320将该索取提示信息发送至该第一身份信息所对应的第二客户端中。After obtaining the request for sharing data sent by the first client, the obtaining unit 310 obtains the first identity information of the second client and requests the prompt information by parsing the request for sharing the data, and the first identity information and the request prompt The information is sent to the transmitting unit 320. The sending unit 320 sends the request prompt information to the second client corresponding to the first identity information.
例如,获取单元310将解析获得的第二客户端的用户名和“旅游照片”发送至发送单元320后,发送单元320将“旅游照片”发送至该用户名所对应的第二客户端中,这样第二客户端用户可以知道第一客户端用户需要分享什么资料。For example, after the obtaining unit 310 sends the user name and the “travel photo” of the second client obtained by the parsing to the sending unit 320, the sending unit 320 sends the “travel photo” to the second client corresponding to the user name, so that the second The client user can know what information the first client user needs to share.
当第二客户端接收到该索取提示信息后,第二客户端用户根据该索取提示信息来选择其在云端服务器内存储的相应用户数据的标识信息,即待分享数据的标识信息,并将待分享数据的标识信息发送至云端服务器,云端服务器内的接收单元330将接收第二客户端根据索取提示信息反馈的待分享数据的标识信息。After the second client receives the request prompt information, the second client user selects the identifier information of the corresponding user data stored in the cloud server according to the request prompt information, that is, the identifier information of the data to be shared, and will wait The identification information of the shared data is sent to the cloud server, and the receiving unit 330 in the cloud server receives the identification information of the data to be shared that is fed back by the second client according to the request prompt information.
例如,当索取提示信息为“旅游照片”时,第二客户端用户将通过第二客户端查找其在云端服务器内存储的与旅游相关的照片或视频等资料,并将相关旅游资料的标识信息发送给云端服务器,接收单元330将接收该相关旅游资料的标识信息。在此需要说明的是,第二客户端用户在将其用户数据存储在云端服务器内时,每个用户数据均设置有标识信息,该标识信息可以由第二客户端用户设置,例如,为每张照片设置名称,或为一个文件夹名称等;也可以由云端服务器为其分配,例如为每张照片在云端服务器内存储地址。只要云端服务器可以根据该标识信息查找到相应的待分享数据即可,在此不做具体限制。For example, when the prompt information is requested as a “tourist photo”, the second client user searches for the information related to the travel-related photo or video stored in the cloud server through the second client, and identifies the related travel information. Sended to the cloud server, the receiving unit 330 will receive the identification information of the related travel material. It should be noted that when the second client user stores its user data in the cloud server, each user data is provided with identification information, which may be set by the second client user, for example, for each The photo settings name, or a folder name, etc.; can also be assigned by the cloud server, for example, storing the address in the cloud server for each photo. As long as the cloud server can find the corresponding data to be shared according to the identification information, no specific restrictions are imposed here.
在接收单元330接收到待分享数据的标识信息后,将待分享数据的标识信息传递至生成发送单元340。生成发送单元340将根据该标识信息生成待分享数据的数据分享链接,并将该数据分享链接发送至第一客户端,使得第一客户端接收到该数据分享链接后,第一客户端用户通过点击该数据分享链接即可以浏览或下载待分享数据。After the receiving unit 330 receives the identification information of the data to be shared, the identification information of the data to be shared is transmitted to the generation sending unit 340. The generating and sending unit 340 generates a data sharing link for the data to be shared according to the identification information, and sends the data sharing link to the first client, so that after the first client receives the data sharing link, the first client user passes the Click the data sharing link to browse or download the data to be shared.
一优选实施例中的数据分享装置300,通过获取单元310获取第一客户端发送的索取分享数据请求,其中,所述索取分享数据请求包括第二客户端的第一身份信息和索取提示信息;发送单元320根据所述第一身份信息发送所述索取提示信息至所述第二客户端;接收单元330接收所述第二客户端根据所述索取提示信息反馈的待分享数据的标识信息;生成发送单元340根据所述标识信息生成所述待分享数据的数据分享链接,并将所述数据分享链接发送至所述第一客户端。在用户主动索取其他用户数据的情况下,该数据分享装置300可以使得分享过程更加简单,可操作性更强。同时,也不再需要用户通过电话等其他通信方式提前与其他用户沟通来获得用户数据,节省用户的时间。The data sharing device 300 in a preferred embodiment obtains the request for sharing data sent by the first client by the obtaining unit 310, wherein the request for sharing the data includes the first identity information of the second client and the requesting prompt information; The unit 320 sends the request prompt information to the second client according to the first identity information; the receiving unit 330 receives the identifier information of the data to be shared that is fed back by the second client according to the request prompt information; The unit 340 generates a data sharing link of the data to be shared according to the identification information, and sends the data sharing link to the first client. In the case where the user actively requests other user data, the data sharing device 300 can make the sharing process simpler and more operability. At the same time, users no longer need to communicate with other users in advance through telephone and other communication methods to obtain user data, saving users time.
请参照图5,图5为本发明数据分享装置的优选实施例的又一结构示意图。该数据分享装置400应用于云端服务器中,当然,在其他优选实施例中,该数据分享装置400也可以应用在其他设备中,在此不做具体限制。Please refer to FIG. 5. FIG. 5 is still another schematic structural diagram of a preferred embodiment of the data sharing apparatus of the present invention. The data sharing device 400 is applied to the cloud server. Of course, in other preferred 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,其中,发送单元430包括判断子单元431、第一发送子单元432、第二发送子单元433、获取子单元434、确定发送子单元435和存储子单元436。The data sharing device 400 in a preferred embodiment includes an obtaining unit 410, a determining unit 420, a transmitting unit 430, a receiving unit 440, and a generating transmitting unit 450, wherein the sending unit 430 includes a determining subunit 431, a first transmitting subunit 432, The second transmitting subunit 433, the obtaining subunit 434, the determining transmitting subunit 435, and the storing subunit 436.
下面将结合图5对上述数据分享装置400进行详细地介绍。The above data sharing device 400 will be described in detail below with reference to FIG.
当第一客户端用户需要索取第二客户端用户的用户数据时,根据第一客户端用户的操作,第一客户端将生成一个索取分享数据请求,并将该索取分享数据请求发送至云端服务器。云端服务器内的获取单元410将获取第一客户端发送的索取分享数据请求。其中,该索取分享数据请求包括第二客户端的第一身份信息和索取提示信息。在此需要说明的是,第一身份信息包括第二客户端的用户名、用户电话号码、注册邮箱等信息,在此不对第一身份信息的具体内容做限制。When the first client user needs to request the user data of the second client user, according to the operation of the first client user, the first client generates a request for sharing data, and sends the request for sharing data to the cloud server. . The obtaining unit 410 in the cloud server will acquire the request for sharing data sent by the first client. The request for sharing data includes the first identity information of the second client and the request prompt information. It should be noted that the first identity information includes the user name of the second client, the user's phone number, the registered mailbox, and the like, and the specific content of the first identity information is not limited herein.
在一优选实施例中,当第一客户端用户需要索取第二客户端用户的用户数据时,第一客户端用户点击第一客户端页面内的索取分享入口。第一客户端将弹出一个对话框,提示用户输入第二客户端的第一身份信息和索取提示信息。例如,第一客户端用户在对话框的第二客户端身份信息栏内输入第二客户端的用户名;在索取提示信息栏内输入“旅游照片”。第一客户端用户点击确定按钮后,第一客户端将生成一个索取分享数据请求,并将该索取分享数据请求发送至云端服务器。云端服务器内的获取单元410将获取到该索取分享数据请求。可以理解的是,该索取分享数据请求包括第二客户端的用户名和“旅游照片”信息。In a preferred embodiment, when the first client user needs to request the user data of the second client user, the first client user clicks on the request sharing portal in the first client page. The first client will pop up a dialog box prompting the user to input the first identity information of the second client and request the prompt information. For example, the first client user inputs the username of the second client in the second client identity information field of the dialog box; enter "tourist photo" in the request prompt information field. After the first client user clicks the OK button, the first client will generate a request for sharing data and send the request for sharing data to the cloud server. The obtaining unit 410 in the cloud server will obtain the request to share data request. It can be understood that the request sharing data request includes the username and "tourist photo" information of the second client.
当获取单元410接收到第一客户端发送的索取分享数据请求后,通过解析该索取分享数据请求来获取第二客户端的第一身份信息和索取提示信息,并将该第一身份信息和索取提示信息传递至判断单元420。判断单元420将根据所述第一身份信息判断是否存在第二客户端注册信息。具体地,判断单元420判断云端服务器内存储的多个客户端注册信息中是否存在所述第一身份信息。若判断单元420判断出其内存储的客户端注册信息中不存在该第一身份信息,则判定不存在与该第一身份信息相对应的第二客户端注册信息。此时判断单元420将向第一客户端发送第一提示信息,该第一提示信息用于提示第一客户端该第一身份信息不存在。在此情况下,第一客户端可以重新输入第二客户端的身份信息。After obtaining the request for sharing data sent by the first client, the obtaining unit 410 obtains the first identity information of the second client and requests the prompt information by parsing the request for sharing the data, and the first identity information and the request prompt The information is passed to the judging unit 420. The determining unit 420 will determine whether there is second client registration information according to the first identity information. Specifically, the determining unit 420 determines whether the first identity information exists in the plurality of client registration information stored in the cloud server. If the determining unit 420 determines that the first identity information does not exist in the client registration information stored therein, it determines that there is no second client registration information corresponding to the first identity information. At this time, the determining unit 420 sends the first prompt information to the first client, where the first prompt information is used to prompt the first client that the first identity information does not exist. In this case, the first client can re-enter the identity information of the second client.
若判断单元420判断出云端服务器内存储的客户端注册信息中存在该第一身份信息,则判定存在与该第一身份信息相对应的第二客户端注册信息。此时判断单元420将该第二客户端的第一身份信息和索取提示信息传递至发送单元430的存储子单元436内,由存储子单元436存储该第二客户端的第一身份信息和索取提示信息。同时,判断单元420向判断子单元431发送第一信号,使得判断子单元431根据该第一信号从存储子单元436中读取该第二客户端的第一身份信息,并判断该第一身份信息是否对应唯一的第二客户端。If the determining unit 420 determines that the first identity information exists in the client registration information stored in the cloud server, it determines that there is second client registration information corresponding to the first identity information. At this time, the determining unit 420 passes the first identity information and the request prompt information of the second client to the storage subunit 436 of the sending unit 430, and the storage subunit 436 stores the first identity information of the second client and the request prompt information. . At the same time, the determining unit 420 sends a first signal to the determining sub-unit 431, so that the determining sub-unit 431 reads the first identity information of the second client from the storage sub-unit 436 according to the first signal, and determines the first identity information. Whether it corresponds to a unique second client.
在实际应用中,有些用户名对应了多个客户端,即多个客户端用户在注册时设置了相同的用户名,而其他的用户手机号码、注册邮箱等注册信息则不同。若此时第一客户端用户输入的第二客户端的第一身份信息恰为第二客户端的用户名时,云端服务器将根据该用户名寻找到多个第二客户端。为了发送单元430可以将索取提示信息发送到正确的第二客户端,判断子单元431需要通过判断第一身份信息是否对应唯一的第二客户端来找到正确的第二客户端。In practical applications, some user names correspond to multiple clients, that is, multiple client users set the same user name when registering, and other user mobile phone numbers, registered mailboxes, and the like are different. If the first identity information of the second client input by the first client user is the username of the second client, the cloud server will find multiple second clients according to the username. In order for the sending unit 430 to send the request prompt information to the correct second client, the determining sub-unit 431 needs to find the correct second client by determining whether the first identity information corresponds to the unique second client.
当判断子单元431判断出该第一身份信息对应唯一的第二客户端,判断子单元431将向第一发送子单元432发送第二信号,使得第一发送子单元432根据该第二信号从存储子单元436中读取该第一身份信息和索取提示信息,并根据该第一身份信息发送索取提示信息至第二客户端。When the determining subunit 431 determines that the first identity information corresponds to the unique second client, the determining subunit 431 sends a second signal to the first sending subunit 432, so that the first sending subunit 432 is based on the second signal. The storage sub-unit 436 reads the first identity information and requests the prompt information, and sends the request prompt information to the second client according to the first identity information.
当判断子单元431判断出该第一身份信息不对应唯一的第二客户端,判断子单元431将向第二发送子单元433发送第三信号,使得第二发送子单元433根据该第三信号向第一客户端发送获取第二客户端的第二身份信息的第二提示信息。When the determining subunit 431 determines that the first identity information does not correspond to the unique second client, the determining subunit 431 sends a third signal to the second sending subunit 433, so that the second sending subunit 433 is configured according to the third signal. Sending, to the first client, second prompt information for acquiring second identity information of the second client.
在某一实施例中,第二提示信息用于提示第一客户端用户输入云端服务器指定的身份信息。例如,第二提示信息提示第一客户端用户输入第二客户端的注册邮箱。当然,在其他优选实施例中,第二提示信息也可以提示第一客户端用户输入第二客户端的任意注册身份信息,即此时云端服务器不再指定第一客户端用户输入的身份信息种类,在此不做具体限制。In an embodiment, the second prompt information is used to prompt the first client user to input the identity information specified by the cloud server. For example, the second prompt information prompts the first client user to input the registration mailbox of the second client. Of course, in other preferred embodiments, the second prompt information may also prompt the first client user to input any registration identity information of the second client, that is, the cloud server no longer specifies the identity information type input by the first client user. No specific restrictions are made here.
第一客户端获取到第二提示信息后,第一客户端将弹出一个重新输入对话框。第一客户端用户在该重新输入对话框的相应位置输入第二客户端的第二身份信息,例如第二客户端的注册邮箱,并点击确认按钮。第一客户端将发送该第二客户端的第二身份信息至云端服务器。云端服务器内的获取子单元434将获取第一客户端根据第二提示信息反馈的第二身份信息。After the first client obtains the second prompt information, the first client will pop up a re-input dialog box. The first client user inputs the second identity information of the second client in the corresponding position of the re-input dialog box, for example, the registration email address of the second client, and clicks the confirmation button. The first client sends the second identity information of the second client to the cloud server. The obtaining sub-unit 434 in the cloud server will obtain the second identity information that the first client feeds back according to the second prompt information.
获取子单元434将获取到的第二身份信息发送至确定发送子单元435。确定发送子单元435将从存储子单元436中读取第一身份信息和索取提示信息,并根据第一身份信息和第二身份信息确定唯一的第二客户端。例如,确定发送子单元435根据第二客户端的用户名和注册邮箱来唯一确定第二客户端。在确定发送子单元435确定唯一的第二客户端后,将发送所述索取提示信息至唯一的第二客户端。The obtaining sub-unit 434 sends the acquired second identity information to the determining transmitting sub-unit 435. The determining transmitting sub-unit 435 will read the first identity information and request prompt information from the storage sub-unit 436, and determine a unique second client based on the first identity information and the second identity information. For example, the determination transmitting sub-unit 435 uniquely determines the second client based on the username of the second client and the registration mailbox. After determining that the transmitting sub-unit 435 determines a unique second client, the requesting prompt information will be sent to the unique second client.
当第二客户端接收到该索取提示信息后,第二客户端用户根据该索取提示信息来选择其在云端服务器内存储的相应用户数据的标识信息,即待分享数据的标识信息,并将待分享数据的标识信息发送至云端服务器,云端服务器内的接收单元440接收第二客户端根据索取提示信息反馈的待分享数据的标识信息。After the second client receives the request prompt information, the second client user selects the identifier information of the corresponding user data stored in the cloud server according to the request prompt information, that is, the identifier information of the data to be shared, and will wait The identification information of the shared data is sent to the cloud server, and the receiving unit 440 in the cloud server receives the identification information of the data to be shared that is fed back by the second client according to the request prompt information.
例如,当索取提示信息为“旅游照片”时,第二客户端用户将通过第二客户端查找其在云端服务器内存储的与旅游相关的照片或视频等资料,并将相关资料的标识信息发送给云端服务器。接收单元440将接收该待分享数据的标识信息。For example, when the prompt information is requested as a “tourist photo”, the second client user searches for the information related to the travel-related photo or video stored in the cloud server through the second client, and sends the identification information of the related data. Give the cloud server. The receiving unit 440 will receive the identification information of the data to be shared.
在此需要说明的是,第二客户端用户在将其用户数据存储在云端服务器内时,每个用户数据均设置有标识信息,该标识信息可以由第二客户端用户设置,例如,为每张照片设置名称,或为一个文件夹名称等;也可以由云端服务器为其分配,例如为每张照片在云端服务器内存储地址。只要云端服务器可以根据该标识信息查找到相应的待分享数据即可,在此不做具体限制。It should be noted that when the second client user stores its user data in the cloud server, each user data is provided with identification information, which may be set by the second client user, for example, for each The photo settings name, or a folder name, etc.; can also be assigned by the cloud server, for example, storing the address in the cloud server for each photo. As long as the cloud server can find the corresponding data to be shared according to the identification information, no specific restrictions are imposed here.
接收单元440将获取到的待分享数据的标识信息传递至生成发送单元450。生成发送单元450将根据该标识信息生成待分享数据的数据分享链接,并将该数据分享链接发送至第一客户端,使得第一客户端接收到该数据分享链接后,第一客户端用户通过点击该数据分享链接即可以浏览或下载待分享数据。The receiving unit 440 passes the acquired identification information of the data to be shared to the generation transmitting unit 450. The generating and sending unit 450 generates a data sharing link for the data to be shared according to the identification information, and sends the data sharing link to the first client, so that after the first client receives the data sharing link, the first client user passes the Click the data sharing link to browse or download the data to be shared.
一优选实施例中的数据分享装置400,通过获取单元410获取第一客户端发送的索取分享数据请求,其中索取分享数据请求包括第二客户端的第一身份信息和索取提示信息;判断单元420根据第一身份信息判断是否存在第二客户端注册信息,若存在第二客户端注册信息,则判断子单元431进一步判断该第一身份信息是否对应唯一的第二客户端,若对应唯一的第二客户端,则第一发送子单元432根据第一身份信息发送索取提示信息至第二客户端;接收单元440接收第二客户端根据索取提示信息反馈的待分享数据的标识信息;生成发送单元450根据该标识信息生成待分享数据的数据分享链接,并发送该数据分享链接至第一客户端。在用户主动索取其他用户数据的情况下,该数据分享装置400可以使得分享过程更加简单,可操作性更强。同时,也不再需要用户通过电话等其他通信方式提前与其他用户沟通来获得用户数据,节省用户的时间。另外,通过两步判断来提高云端服务器对第二客户端查找的准确率,提高分享数据的安全性和可靠性。The data sharing device 400 in a preferred embodiment acquires the request sharing data request sent by the first client by the obtaining unit 410, wherein the requesting the sharing data request includes the first identity information of the second client and the requesting prompt information; the determining unit 420 is configured according to The first identity information determines whether the second client registration information exists. If the second client registration information exists, the determining sub-unit 431 further determines whether the first identity information corresponds to the unique second client, if the corresponding second client The first sending sub-unit 432 sends the requesting prompt information to the second client according to the first identity information, and the receiving unit 440 receives the identification information of the data to be shared that is fed back by the second client according to the requesting prompt information. Generating a data sharing link of the data to be shared according to the identification information, and sending the data sharing link to the first client. In the case where the user actively requests other user data, the data sharing device 400 can make the sharing process simpler and more operability. At the same time, users no longer need to communicate with other users in advance through telephone and other communication methods to obtain user data, saving users time. In addition, the two-step judgment is used to improve the accuracy of the cloud server searching for the second client, and improve the security and reliability of the shared data.
本发明实施例提供一种电子设备,其包括存储器、处理器以及存储在所述存储器中并可在所述处理器中运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:Embodiments of the present invention provide an electronic device including a memory, a processor, and a computer program stored in the memory and operable in the processor, the processor implementing the computer program to implement the following steps:
获取第一客户端发送的索取分享数据请求,其中,所述索取分享数据请求包括第二客户端的第一身份信息和索取提示信息;Obtaining a request for sharing data sent by the first client, where the request for sharing the data includes the first identity information of the second client and requesting the prompt information;
根据所述第一身份信息发送所述索取提示信息至所述第二客户端;Sending the request prompt information to the second client according to the first identity information;
接收所述第二客户端根据所述索取提示信息反馈的待分享数据的标识信息;以及Receiving identification information of the data to be shared that is fed back by the second client according to the request prompt information;
根据所述标识信息生成所述待分享数据的数据分享链接,并将所述数据分享链接发送至所述第一客户端。Generating a data sharing link of the to-be-shared data according to the identification information, and sending the data sharing link to the first client.
在一些实施例中,在所述根据所述第一身份信息发送所述索取提示信息至所述第二客户端之前,还包括:In some embodiments, before the sending the request prompt information to the second client according to the first identity information, the method further includes:
根据所述第一身份信息判断是否存在第二客户端注册信息;Determining, according to the first identity information, whether there is second client registration information;
若存在所述第二客户端注册信息,则根据所述第一身份信息发送所述索取提示信息至所述第二客户端。And if the second client registration information exists, sending the request prompt information to the second client according to the first identity information.
在一些实施例中,在所述根据所述第一身份信息判断是否存在第二客户端注册信息之后,还包括:In some embodiments, after the determining, according to the first identity information, whether the second client registration information exists, the method further includes:
若不存在所述第二客户端注册信息,则发送所述第一身份信息不存在的第一提示信息至所述第一客户端。And if the second client registration information does not exist, send the first prompt information that the first identity information does not exist to the first client.
在一些实施例中,所述根据所述第一身份信息发送所述索取提示信息至所述第二客户端,具体包括:In some embodiments, the sending the request prompt information to the second client according to the first identity information specifically includes:
判断所述第一身份信息是否对应唯一的所述第二客户端;Determining whether the first identity information corresponds to the unique second client;
若所述第一身份信息对应唯一的所述第二客户端,则根据所述第一身份信息发送索取提示信息至所述第二客户端;And sending the request prompt information to the second client according to the first identity information, if the first identity information corresponds to the second client;
在所述判断所述第一身份信息是否对应唯一的所述第二客户端之后,还包括:After the determining whether the first identity information corresponds to the unique second client, the method further includes:
若所述第一身份信息不对应唯一的所述第二客户端,则向所述第一客户端发送获取第二客户端的第二身份信息的第二提示信息;And sending, to the first client, second prompt information for acquiring second identity information of the second client, if the first identity information does not correspond to the unique second client;
获取所述第一客户端根据所述第二提示信息反馈的所述第二身份信息;Obtaining the second identity information that is sent by the first client according to the second prompt information;
根据所述第一身份信息和第二身份信息确定唯一的所述第二客户端,并发送所述索取提示信息至唯一的所述第二客户端。Determining the unique second client according to the first identity information and the second identity information, and sending the request prompt information to the unique second client.
请参照图6和图7,图6为本发明实施例提供的电子设备的结构示意图,图7为本发明实施例提供的电子设备的另一结构示意图。电子设备500包括处理器501、存储器502、显示单元503以及控制电路504。本领域技术人员可以理解,图5中示出的电子设备500的结构并不构成对电子设备500的限定。电子设备500可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。需要说明的是,电子设备500包括有智能手机、平板电脑等。Referring to FIG. 6 and FIG. 7 , FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, and FIG. 7 is another schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device 500 includes a processor 501, a memory 502, a display unit 503, and a control circuit 504. Those skilled in the art will appreciate that the structure of the electronic device 500 illustrated in FIG. 5 does not constitute a limitation to the electronic device 500. Electronic device 500 may include more or fewer components than illustrated, or some components in combination, or different component arrangements. It should be noted that the electronic device 500 includes a smart phone, a tablet computer, and the like.
其中,处理器501是电子设备500的控制中心。处理器501利用各种接口和线路连接整个电子设备500的各个部分,通过运行或执行存储在存储器502内的应用程序,以及调用存储在存储器502内的数据,执行电子设备500的各种功能和处理数据,从而对电子设备500进行整体监控。The processor 501 is a control center of the electronic device 500. The processor 501 connects various portions of the entire electronic device 500 using various interfaces and lines, performs various functions of the electronic device 500 by running or executing an application stored in the memory 502, and recalling data stored in the memory 502. The data is processed to provide overall monitoring of the electronic device 500.
处理器501会按照如下的指令,将一个或一个以上的程序进程对应的可执行文件加载到存储器502中,并由处理器501来运行存储在存储器502中的程序,从而实现各种功能:获取第一客户端发送的索取分享数据请求,其中,所述索取分享数据请求包括第二客户端的第一身份信息和索取提示信息;根据所述第一身份信息发送所述索取提示信息至所述第二客户端;接收所述第二客户端根据所述索取提示信息反馈的待分享数据的标识信息;以及根据所述标识信息生成所述待分享数据的数据分享链接,并将所述数据分享链接发送至所述第一客户端。The processor 501 loads the executable file corresponding to one or more program processes into the memory 502 according to the following instructions, and the processor 501 runs the program stored in the memory 502, thereby implementing various functions: obtaining And requesting the sharing data request sent by the first client, where the requesting sharing data request includes the first identity information of the second client and requesting the prompting information; and sending the requesting prompting information to the first information according to the first identity information a second client; receiving, by the second client, identification information of the data to be shared that is fed back according to the request prompt information; and generating a data sharing link of the data to be shared according to the identifier information, and sharing the data sharing link Send to the first client.
在一些实施例中,所述处理器501还可以用于,根据所述第一身份信息判断是否存在第二客户端注册信息;若存在所述第二客户端注册信息,则根据所述第一身份信息发送所述索取提示信息至所述第二客户端。In some embodiments, the processor 501 is further configured to: determine, according to the first identity information, whether there is second client registration information; if the second client registration information exists, according to the first The identity information sends the request prompt information to the second client.
在一些实施例中,所述处理器501还可以用于,若不存在所述第二客户端注册信息,则发送所述第一身份信息不存在的第一提示信息至所述第一客户端。In some embodiments, the processor 501 is further configured to: if the second client registration information does not exist, send the first prompt information that the first identity information does not exist to the first client. .
在一些实施例中,所述处理器501还可以用于,判断所述第一身份信息是否对应唯一的所述第二客户端;In some embodiments, the processor 501 is further configured to: determine whether the first identity information corresponds to the unique second client;
若所述第一身份信息对应唯一的所述第二客户端,则根据所述第一身份信息发送索取提示信息至所述第二客户端。And if the first identity information corresponds to the unique second client, sending the request prompt information to the second client according to the first identity information.
在一些实施例中,所述处理器501还可以用于,若所述第一身份信息不对应唯一的所述第二客户端,则向所述第一客户端发送获取第二客户端的第二身份信息的第二提示信息;In some embodiments, the processor 501 is further configured to: if the first identity information does not correspond to the unique second client, send, to the first client, a second that obtains the second client. Second prompt information of the identity information;
获取所述第一客户端根据所述第二提示信息反馈的所述第二身份信息;Obtaining the second identity information that is sent by the first client according to the second prompt information;
根据所述第一身份信息和第二身份信息确定唯一的所述第二客户端,并发送所述索取提示信息至唯一的所述第二客户端。Determining the unique second client according to the first identity information and the second identity information, and sending the request prompt information to the unique second client.
存储器502可用于存储应用程序和数据。存储器502存储的应用程序中包含有可执行程序代码。应用程序可以组成各种功能模块。处理器501通过运行存储在存储器502的应用程序,从而执行各种功能应用以及数据处理。Memory 502 can be used to store applications and data. The application stored in the memory 502 contains executable program code. Applications can form various functional modules. The processor 501 executes various functional applications and data processing by running an application stored in the memory 502.
显示屏503可用于显示由用户输入到电子设备500的信息或提供给用户的信息以及电子设备500的各种图形用户接口。这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。The display screen 503 can be used to display information input by the user to the electronic device 500 or information provided to the user and various graphical user interfaces of the electronic device 500. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof.
控制电路504与显示屏503电性连接,在处理器501的调度下,用于控制显示屏503的状态。The control circuit 504 is electrically connected to the display screen 503 for controlling the state of the display screen 503 under the scheduling of the processor 501.
电子设备500还可包括还包括射频电路505。射频电路505用于收发射频信号,比如与多个服务器建立通信链路,接收从服务器发送的数据包。The electronic device 500 can also include a radio frequency circuit 505. The radio frequency circuit 505 is configured to send and receive radio frequency signals, such as establishing a communication link with a plurality of servers, and receiving data packets sent from the server.
在一些实施例中,电子设备500还包括电源506。电源506用于给电子设备500的各个部件供电。电源506可以通过电源管理系统与处理器501逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。In some embodiments, electronic device 500 also includes a power source 506. Power source 506 is used to power various components of electronic device 500. The power source 506 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.
尽管图6和图7中未示出,电子设备500还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 6 and FIG. 7, the electronic device 500 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
由上述可知,本发明实施例提供的电子设备500,在获取到头像信息以及相应的特征标识数据时,根据特征标识数据确定头像信息相应的头像状态;并基于该头像状态,对头像信息进行相应的同步操作。即本发明实施例利用头像信息相应的特征标识数据可以确定出头像信息相应的头像状态,从而在头像信息进行同步处理时,根据该头像状态对头像信息进行相应的同步操作,以使利用头像信息的特征标识数据,避免联系人信息同步过程中不必要的数据传输,减少流量浪费和优化同步效率。It can be seen that, when the avatar information and the corresponding feature identification data are acquired, the electronic device 500 according to the embodiment of the present invention determines the avatar state corresponding to the avatar information according to the feature identification data; and correspondingly performs avatar information based on the avatar state. Synchronous operation. That is, the embodiment of the present invention can determine the avatar state corresponding to the avatar information by using the feature identifier data corresponding to the avatar information, so that when the avatar information is synchronized, the avatar information is synchronously operated according to the avatar state, so that the avatar information is utilized. The feature identification data avoids unnecessary data transmission during the synchronization of contact information, reduces traffic waste and optimizes synchronization efficiency.
本发明实施例提供一种介质,其存储有多条指令,所述指令适于由处理器加载,以执行以下步骤:Embodiments of the present invention provide a medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor to perform the following steps:
获取第一客户端发送的索取分享数据请求,其中,所述索取分享数据请求包括第二客户端的第一身份信息和索取提示信息;Obtaining a request for sharing data sent by the first client, where the request for sharing the data includes the first identity information of the second client and requesting the prompt information;
根据所述第一身份信息发送所述索取提示信息至所述第二客户端;Sending the request prompt information to the second client according to the first identity information;
接收所述第二客户端根据所述索取提示信息反馈的待分享数据的标识信息;以及Receiving identification information of the data to be shared that is fed back by the second client according to the request prompt information;
根据所述标识信息生成所述待分享数据的数据分享链接,并将所述数据分享链接发送至所述第一客户端。Generating a data sharing link of the to-be-shared data according to the identification information, and sending the data sharing link to the first client.
本发明优选实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。如存储在电子设备的存储器中,并由电子设备内的至少一个处理器进行加载和执行。其中,介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。上述的各装置或系统或电子设备,可以执行相应方法实施例中的方法。The functional units in the preferred embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units 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 modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium. For example, it is stored in a memory of the electronic device and loaded and executed by at least one processor in the electronic device. Among them, the medium can include: read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access) Memory), disk or CD. Each of the above-described devices or systems or electronic devices can perform the methods in the corresponding method embodiments.
以上对本发明实施例所提供的一种数据分享方法、装置、介质、电子设备及系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The data sharing method, device, medium, electronic 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 following. It is only used to help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in specific embodiments and application scopes. The description should not be construed as limiting the invention.
Claims (20)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610940884.8 | 2016-10-25 | ||
| CN201610940884.8A CN106534280B (en) | 2016-10-25 | 2016-10-25 | Data sharing method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018076873A1 true WO2018076873A1 (en) | 2018-05-03 |
Family
ID=58292520
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/095693 Ceased WO2018076873A1 (en) | 2016-10-25 | 2017-08-02 | Data sharing method, apparatus, medium, electronic device and system |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106534280B (en) |
| WO (1) | WO2018076873A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110417601A (en) * | 2019-08-02 | 2019-11-05 | 网易(杭州)网络有限公司 | Information cuing method, device, system and readable storage medium storing program for executing in client |
| CN113613313A (en) * | 2021-08-19 | 2021-11-05 | 杭州涂鸦信息技术有限公司 | Communication method, device and medium for Bluetooth equipment pairing |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106534280B (en) * | 2016-10-25 | 2019-12-03 | Oppo广东移动通信有限公司 | Data sharing method and device |
| CN110719319B (en) * | 2019-09-18 | 2022-12-27 | 维沃移动通信有限公司 | Resource sharing method, device, terminal equipment and storage medium |
| CN111339513B (en) * | 2020-01-23 | 2023-05-09 | 华为技术有限公司 | Method and device for data sharing |
| CN115190112B (en) * | 2022-06-08 | 2025-08-08 | 深圳市口袋网络科技有限公司 | Marketing data processing method, server and storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101674314A (en) * | 2009-10-23 | 2010-03-17 | 深圳华为通信技术有限公司 | Information sharing method, data server and terminal |
| US20120227089A1 (en) * | 2011-03-03 | 2012-09-06 | Snu R&Db Foundation | Apparatus and method for sharing contents of social network service in communication system |
| CN103294515A (en) * | 2013-06-28 | 2013-09-11 | 北京小米科技有限责任公司 | Method, device and system for acquiring application programs |
| CN103327100A (en) * | 2013-06-21 | 2013-09-25 | 华为技术有限公司 | Resource processing method and site server |
| CN104954398A (en) * | 2014-03-26 | 2015-09-30 | 腾讯科技(深圳)有限公司 | Method and device for acquiring content |
| CN106534280A (en) * | 2016-10-25 | 2017-03-22 | 广东欧珀移动通信有限公司 | Data sharing method and device |
Family Cites Families (8)
| 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 |
| CN105721589B (en) * | 2011-11-14 | 2019-12-24 | 联想(北京)有限公司 | Terminal equipment and file receiving method thereof |
| CN102740228A (en) * | 2012-06-21 | 2012-10-17 | 北京小米科技有限责任公司 | Method, device and system for sharing position information |
| 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 |
| CN104079470B (en) * | 2013-03-27 | 2019-06-25 | 腾讯科技(深圳)有限公司 | A kind of electronic name card exchange method, system and server |
| CN105100223B (en) * | 2015-07-01 | 2019-10-15 | 北京奇虎科技有限公司 | File sharing method, device and system based on cloud storage |
| CN105471988B (en) * | 2015-11-23 | 2019-01-25 | 努比亚技术有限公司 | Contact information push method, server and terminal |
-
2016
- 2016-10-25 CN CN201610940884.8A patent/CN106534280B/en not_active Expired - Fee Related
-
2017
- 2017-08-02 WO PCT/CN2017/095693 patent/WO2018076873A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101674314A (en) * | 2009-10-23 | 2010-03-17 | 深圳华为通信技术有限公司 | Information sharing method, data server and terminal |
| US20120227089A1 (en) * | 2011-03-03 | 2012-09-06 | Snu R&Db Foundation | Apparatus and method for sharing contents of social network service in communication system |
| CN103327100A (en) * | 2013-06-21 | 2013-09-25 | 华为技术有限公司 | Resource processing method and site server |
| CN103294515A (en) * | 2013-06-28 | 2013-09-11 | 北京小米科技有限责任公司 | Method, device and system for acquiring application programs |
| CN104954398A (en) * | 2014-03-26 | 2015-09-30 | 腾讯科技(深圳)有限公司 | Method and device for acquiring content |
| CN106534280A (en) * | 2016-10-25 | 2017-03-22 | 广东欧珀移动通信有限公司 | Data sharing method and device |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110417601A (en) * | 2019-08-02 | 2019-11-05 | 网易(杭州)网络有限公司 | Information cuing method, device, system and readable storage medium storing program for executing in client |
| CN110417601B (en) * | 2019-08-02 | 2022-07-15 | 网易(杭州)网络有限公司 | Information prompting method, device and system in client and readable storage medium |
| CN113613313A (en) * | 2021-08-19 | 2021-11-05 | 杭州涂鸦信息技术有限公司 | Communication method, device and medium for Bluetooth equipment pairing |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106534280A (en) | 2017-03-22 |
| CN106534280B (en) | 2019-12-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018076873A1 (en) | Data sharing method, apparatus, medium, electronic device and system | |
| WO2018076812A1 (en) | Data request response method and device, storage medium, server and system | |
| WO2019156506A1 (en) | System and method for providing conversational contents | |
| WO2018076840A1 (en) | Data sharing method, device, storage medium and server | |
| WO2018076841A1 (en) | Data sharing method, apparatus, storage medium and server | |
| WO2018076866A1 (en) | Data processing method, device, storage medium, electronic device and server | |
| WO2018076889A1 (en) | Data backup method, device, system, storage medium and server | |
| WO2018076829A1 (en) | Terminal data processing method, apparatus, system, storage medium and server | |
| WO2017206883A1 (en) | Application processing method and apparatus, storage medium, and electronic device | |
| WO2012124985A2 (en) | Method and apparatus for synchronizing personal inforamtion | |
| WO2018076864A1 (en) | Data synchronization method, apparatus, storage medium and electronic device | |
| WO2018076888A1 (en) | Method, device and system for synchronizing data of mobile terminal, storage medium and mobile terminal | |
| WO2018076819A1 (en) | Data upload method, apparatus, storage medium, electronic device and system | |
| WO2015016604A1 (en) | Home appliance and control method thereof | |
| WO2018076867A1 (en) | Data backup deleting method, device and system, storage medium and server | |
| WO2018076865A1 (en) | Data sharing method, device, storage medium, and electronic device | |
| WO2018076818A1 (en) | Data backup method, apparatus, electronic device, storage medium, and system | |
| WO2018076811A1 (en) | Data sharing method, device, system, storage medium and electronic device | |
| WO2016039576A2 (en) | Device and method for accessing multiple networks in wireless communication system | |
| WO2016065705A1 (en) | Channel list updating method and apparatus, and terminal device | |
| WO2018028128A1 (en) | Method for feeding back information of uplink data and related apparatus | |
| WO2018076830A1 (en) | Method and device for adjusting data synchronization cycle, electronic device, storage medium, and system | |
| WO2016195199A1 (en) | Method for processing request through polling channel in wireless communication system and apparatus therefor | |
| WO2017071324A1 (en) | File-transmission encryption and decryption method and encryption and decryption device | |
| WO2018076842A1 (en) | Data backup method, device, system, storage medium, and electronic 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: 17865749 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: 17865749 Country of ref document: EP Kind code of ref document: A1 |