CN106534280A - Data sharing method and device - Google Patents
Data sharing method and device Download PDFInfo
- Publication number
- CN106534280A CN106534280A CN201610940884.8A CN201610940884A CN106534280A CN 106534280 A CN106534280 A CN 106534280A CN 201610940884 A CN201610940884 A CN 201610940884A CN 106534280 A CN106534280 A CN 106534280A
- Authority
- CN
- China
- Prior art keywords
- client
- information
- data
- identity information
- sharing
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000005540 biological transmission Effects 0.000 claims description 26
- 238000004891 communication Methods 0.000 abstract description 5
- 230000005055 memory storage Effects 0.000 description 16
- 238000003860 storage Methods 0.000 description 4
- 238000009826 distribution Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a data sharing method and device. The sharing method comprises steps of obtaining a shared data accessing request send by a first client, wherein the shared data access request comprises first identity information and access prompt information of a second client; sending the access prompt information to the second client according to the first identity information; receiving identifier information of to-be-shared data fed back by the second client according to the access prompt information; and generating a data sharing link of the to-be-shared data according to the identifier information, and sending the data sharing link to the first client. When a user actively accesses data of other users, the data sharing method enables the sharing process to be simpler and stronger in maneuverability. In addition, the user does not need to communicate with other users by telephone or other communication modes for obtaining user data, so that the time is saved for the user.
Description
Technical field
The present invention relates to networking technology area, more particularly to a kind of data sharing method and device.
Background technology
With the continuous development of network technology, the mode of data storage is gradually from hardware store (such as portable hard drive, USB flash disk)
It is changed into cloud server storage.User can be by the client of the cloud server of installation in terminal whenever and wherever possible by eventually
End data is stored in cloud server, and the terminal data in cloud server can also be shared with other users by user.Mesh
The front terminal data by cloud server carries out sharing can only be shared using active, namely hold the user of data actively by phase
Data sharing is closed to other users.
However, when user needs to browse or download the user data of other users, the user needs to pass through phone in advance
Or the mode such as note is linked up with other users, then actively share related data by way of active is shared to being somebody's turn to do by other users
User.Therefore, it is in the case where user actively asks for other users data, this actively to share mode so that entirely sharing process
Become complex, other users data are asked for user makes troubles.Therefore, further need to improve.
The content of the invention
The present invention provides a kind of data sharing method and device, gives user's active rope to solve existing mode of actively sharing
Take the technical problem that other users data are made troubles.
The present invention provides a kind of data sharing method, and which includes:
Obtain the transmission of the first client asks for sharing data request, wherein, described to ask for sharing data request and include the
First identity information of two clients and ask for information;
Information is asked for second client according to first identity information sends;
Second client is received according to the identification information for treating sharing data for asking for information feedback;And
The data sharing link of sharing data is treated according to the identification information is generated, and the data sharing is linked
Send to first client.
The present invention also provides a kind of data sharing device, and which includes:
Acquiring unit, asks for obtaining the sharing data of asking for that the first client sends, and wherein, described asking for shares number
Include the first identity information of the second client according to request and ask for information;
Transmitting element, for asking for information to second client according to first identity information transmission
End;
Receiving unit, for receive second client according to it is described ask for information feedback treat sharing data
Identification information;
Transmitting element is generated, for treating the data sharing link of sharing data according to identification information generation, and
The data sharing chain is received and sent to first client.
The embodiment of the present invention provides a kind of data sharing method and device.The data sharing method is by obtaining the first client
What end sent asks for sharing data request, and wherein, the sharing data of asking for asks to include the first identity letter of the second client
Cease and ask for information;Information is asked for second client according to first identity information sends;Connect
Second client is received according to the identification information for treating sharing data for asking for information feedback;And according to the mark
Knowledge information treats that the data sharing of sharing data is linked described in generating, and the data sharing chain is received and sent to first client
End.In the case where user actively asks for other users data, the data sharing method can cause to share process simpler,
Operability is higher.Meanwhile, user need not obtain user data by running other communication functions, save user when
Between.
Description of the drawings
Fig. 1 is the schematic diagram of a scenario of data sharing system of the present invention.
Fig. 2 is the flow chart of the preferred embodiment of data sharing method of the present invention.
Fig. 3 is the another flow chart of the preferred embodiment of data sharing method of the present invention.
Fig. 4 is the structural representation of the preferred embodiment of data sharing device of the present invention.
Fig. 5 is the another structural representation of the preferred embodiment of data sharing device of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on
Embodiment in the present invention, the every other enforcement obtained under the premise of creative work is not made by those skilled in the art
Example, belongs to the scope of protection of the invention.
Term " first ", " second " in the present invention etc. can be used for describing various elements herein, but these elements are not
It is limited by these terms.These terms are only used for distinguishing first element with another element.For example, without departing from the present invention
Scope in the case of, the first control can be referred to as the second control, and similarly, the second control can be referred to as the first control.
First control and the second control both control, but which is not same control.Additionally, term " comprising " and " having " and it
Any deformation, it is intended that cover and non-exclusive include.
Data sharing system provided in an embodiment of the present invention mainly includes terminal and cloud server, the cloud server
Can be attached by wired or wireless network with terminal.
Fig. 1 is refer to, Fig. 1 is the schematic diagram of a scenario of data sharing system provided in an embodiment of the present invention.The data sharing
System includes cloud server and terminal, and wherein, cloud server is integrated with the data sharing device of present invention offer, high in the clouds clothes
Business device be stored with a large number of users data and its corresponding identification information.The first client and the second client in the present invention
In terminal, here, terminal can be the electronic equipments such as mobile phone, panel computer.
When the first client needs to browse the user data of the second client, the first client is first sent out to cloud server
Send and ask for sharing data request.After what cloud server the first client of acquisition sent asks for sharing data request, by parsing
This is asked for sharing data request and obtains the first identity information of the second client and ask for information, and objective according to described second
First identity information at family end will be asked for information and send to the second client.Second client is obtained according to information is asked for
The identification information for treating sharing data is taken, and the identification information for treating sharing data is sent to cloud server.Cloud server exists
Receive the second client according to ask for information feedback after the identification information of sharing data, according to treating sharing data
Identification information generates the data sharing link for treating sharing data, and data sharing chain is received and sent to the first client.So that
The first client user by click data share link may browse through or download the second required client wait share
Data.
This preferred embodiment provides a kind of data sharing method, and which includes:Obtain asking for for the first client transmission to share
Request of data, wherein, the sharing data of asking for is asked to include the first identity information of the second client and asks for information;
Information is asked for second client according to first identity information sends;Receive the second client root
According to the identification information for treating sharing data for asking for information feedback;And treat point according to the identification information is generated
The data sharing link of data is enjoyed, and the data sharing chain is received and sent to first client.
Fig. 2 is refer to, Fig. 2 is the flow chart of the preferred embodiment of the data sharing method of the present invention.The data sharing side
Method is applied in cloud server, and certainly, in other preferred embodiments, the data sharing method can also be applied and be set at other
In standby, here is not particularly limited.
In step S101, obtain the transmission of the first client asks for sharing data request, and wherein, described asking for shares number
Include the first identity information of the second client according to request and ask for information.
When the first client user needs to ask for the user data of the second client user, according to the first client user
Operation, the first client by generate one ask for sharing data request, and by this ask for sharing data request send to high in the clouds
Server.Cloud server will obtain this and ask for sharing data request.Wherein, this asks for sharing data request includes the second client
End the first identity information and ask for information.Here is it should be noted that the first identity information includes the second client
The information such as user name, subscriber directory number, registration mailbox, here are not limited to the particular content of the first identity information.
In a preferred embodiment, when the first client user needs to ask for the user data of the second client user,
First client user clicks on asking in the first customer terminal webpage and shares entrance.First client will eject a dialog box,
Point out the first identity information of the second client of user input and ask for information.For example, the first client user is in dialogue
The user name of the second client of input in second client identity Information of frame;Asking for input " tourism in information hurdle
Photo ".After first client user clicks on confirming button, the first client will generate one and ask for sharing data request, and will
This is asked for sharing data request and sends to cloud server.It is understood that this asks for sharing data request includes that second is objective
The user name at family end and " tourism photo " information.
In step s 102, information is asked for second client according to first identity information sends
End.
When cloud server receives after asking for sharing data and ask of the first client transmission, asked for point by parsing this
Enjoy request of data to obtain the first identity information of the second client and ask for information.This is asked for prompting by cloud server
Information is sent into the second client corresponding to the first identity information.For example, cloud server is objective by parsing acquisition second
After the user name at family end and " tourism photo ", " tourism photo " is sent into the second client corresponding to the user name, this
The second client user of sample is known that the first client user needs what data shared.
In step s 103, second client is received according to the sharing data for the treatment of for asking for information feedback
Identification information.
After the second client receives this asks for information, the second client user according to this ask for information come
The identification information of its relative users data of server memory storage beyond the clouds is selected, that is, treats the identification information of sharing data, and will
Treat that the identification information of sharing data is sent to cloud server.
For example, when ask for information for " tourism photo " when, the second client user will be searched by the second client
Its photo related to tourism of server memory storage or the data such as video beyond the clouds, and by the identification information of related tourist material
It is sent to cloud server.Here is it should be noted that its user data is being stored in cloud service by the second client user
When in device, each user data is provided with identification information, and the identification information can be arranged by the second client user, for example,
It is that every photo arranges title, or is Folder Name etc.;Can also by cloud server be its distribution, for example, per
Server memory stores up address to photo beyond the clouds.As long as cloud server can find according to the identification information sharing
Data, here are not particularly limited.
In step S104, the data sharing for treating sharing data is generated according to the identification information and is linked, and by institute
State data sharing chain to receive and send to first client.
Server is received after the identification information of sharing data beyond the clouds, and cloud server will be given birth to according to the identification information
Link into the data sharing for treating sharing data, and the data sharing chain is received and sent to the first client so that the first client
After receiving data sharing link, the first client user is treated by clicking on data sharing link and may browse through or download
Sharing data.
Data sharing method in one preferred embodiment, the sharing data of asking for sent by obtaining the first client please
Ask, wherein, the sharing data of asking for is asked to include the first identity information of the second client and asks for information;According to institute
State information is asked for second client described in the transmission of the first identity information;Second client is received according to described
Ask for the identification information for treating sharing data of information feedback;And sharing data is treated according to the identification information is generated
Data sharing link, and the data sharing chain is received and sent to first client.Other use are asked for actively in user
In the case of user data, the data sharing method can cause to share that process is simpler, and operability is higher.Meanwhile, also not
Need user to link up in advance to obtain user data by other communication modes such as phone with other users again, save user when
Between.
Fig. 3 is refer to, Fig. 3 is the another flow chart of the preferred embodiment of the data sharing method of the present invention.The data point
The method of enjoying is applied in cloud server, and certainly, in other preferred embodiments, the data sharing method can also be applied at which
In his equipment, here is not particularly limited.
Data sharing method in one preferred embodiment includes:
Step S201:Obtain the transmission of the first client asks for sharing data request, and wherein, the sharing data of asking for please
Ask including the second client the first identity information and ask for information;
Step S202:Second client registers information is judged whether according to first identity information, if there is institute
The second client registers information is stated, then execution step S203, if there is no the second client registers information, execution step
S204;
Step S203:Judge whether corresponding unique second client of first identity information, if described first
Identity information corresponds to unique second client, then execution step S205, if first identity information is not corresponded to uniquely
Second client, then execution step S208;
Step S204:Non-existent first information of first identity information is sent to first client;
Step S205:Sent according to the first identity information information is asked for second client;
Step S206:Second client is received according to the mark for treating sharing data for asking for information feedback
Information;
Step S207:The data sharing for treating sharing data is generated according to the identification information to link, and by the number
Receive and send to first client according to chain is shared;
Step S208:The second prompting letter of the second identity information for obtaining the second client is sent to first client
Breath;
Step S209:Obtain the second identity information that first client is fed back according to second information;
Step S210:Unique second client is determined according to first identity information and the second identity information,
And information is asked for described in sending to unique second client, and return execution step S206 and step S207.
Above-mentioned data sharing method is introduced in detail below in conjunction with Fig. 3.
In step s 201, obtain the transmission of the first client asks for sharing data request, and wherein, described asking for shares number
Include the first identity information of the second client according to request and ask for information.
When the first client user needs to ask for the user data of the second client user, according to the first client user
Operation, the first client by generate one ask for sharing data request, and by this ask for sharing data request send to high in the clouds
Server, wherein, this asks for sharing data request includes the first identity information of the second client and asks for information.Here
It should be noted that the first identity information includes the information such as the user name of the second client, subscriber directory number, registration mailbox,
Here is not limited to the particular content of the first identity information.
In a preferred embodiment, when the first client user needs to ask for the user data of the second client user,
First client user clicks on asking in the first customer terminal webpage and shares entrance.First client will eject a dialog box,
Point out the first identity information of the second client of user input and ask for information.For example, the first client user is in dialogue
The user name of the second client of input in second client identity Information of frame;Asking for input " tourism in information hurdle
Photo ".After first client user clicks on confirming button, the first client will generate one and ask for sharing data request, and will
This is asked for sharing data request and sends to cloud server.It is understood that this asks for sharing data request includes that second is objective
The user name at family end and " tourism photo " information.
In step S202, the second client registers information is judged whether according to first identity information;
When cloud server receives after asking for sharing data and ask of the first client transmission, asked for point by parsing this
Enjoy request of data to obtain the first identity information of the second client and ask for information, and according to first identity information
Judge whether the second client registers information.Specifically, judge the multiple client registration letter of cloud server memory storage
Whether there is first identity information in breath.If cloud server is not deposited in judging the client registers information of its memory storage
In first identity information, then judge there is no the second client registers information corresponding with first identity information.Now
Cloud server will send the first information to the first client, first information be used for pointing out the first client this
One identity information is not present, i.e. execution step S204.In the case, the first client can re-enter the second client
Identity information.
If cloud server has first identity information in judging the client registers information of its memory storage, judge
There is the second client registers information corresponding with first identity information.Now cloud server is by execution step S203.
In step S203, whether corresponding unique second client of first identity information is judged.
In actual applications, some user names have corresponded to multiple client, i.e. multiple client user and have arranged in registration
Identical user name, and the log-on message such as other subscriber phone numbers, registration mailbox is then different.If now the first client
When first identity information of the second client of user input is just the user name of the second client, cloud server will be according to this
User name searches out multiple second clients.In order to cloud server can will ask for information, to be sent to correct second objective
Family end, cloud server need to determine whether whether the first identity information corresponds to unique second client.
In step S203, if cloud server judges unique second client of the first identity information correspondence,
Sent according to first identity information information is asked for the second client, i.e. execution step S205.
In step S205, for example, cloud server is by parsing the user name for obtaining the second client and " travelling and shine
After piece ", by " tourism photo ", this is asked for information and sends into the second client corresponding to the user name, and such second
Client user is known that the first client user needs what data shared.
In step S206, second client is received according to the sharing data for the treatment of for asking for information feedback
Identification information.
After the second client receives this asks for information, the second client user according to this ask for information come
The identification information of its relative users data of server memory storage beyond the clouds is selected, that is, treats the identification information of sharing data, and will
Treat that the identification information of sharing data is sent to cloud server.For example, when ask for information for " tourism photo " when, second is objective
Family end subscriber will search its money such as photo related to tourism or video of server memory storage beyond the clouds by the second client
Material, and the identification information of related tourist material is sent to into cloud server.Here is it should be noted that the second client user
When its user data is stored in cloud server, each user data is provided with identification information, and the identification information can
To be arranged by the second client user, for example, it is that every photo arranges title, or is Folder Name etc.;Can also be by
Cloud server is its distribution, for example, every photo server memory storage address beyond the clouds.As long as cloud server can be with root
Find according to the identification information and treat accordingly sharing data, here is not particularly limited.
In step S207, the data sharing for treating sharing data is generated according to the identification information and is linked, and by institute
State data sharing chain to receive and send to first client.
Server is received after the identification information of sharing data beyond the clouds, and cloud server will be given birth to according to the identification information
Link into the data sharing for treating sharing data, and the data sharing chain is received and sent to the first client so that the first client
After receiving data sharing link, the first client user is treated by clicking on data sharing link and may browse through or download
Sharing data.
It is understood that above-mentioned situation is the number in the case of unique second client of the first identity information correspondence
According to sharing method.If in step S203, cloud server judges that first identity information does not correspond to unique second client
During end, then cloud server sends the second information of the second identity information for obtaining the second client to the first client,
That is execution step S208.
In step S208, when cloud server cannot uniquely determine the second client according to first identity information,
Cloud server sends the second information to the first client, and the second information is used for pointing out the first client input second
Second identity information of client.
In a preferred embodiment, the second information points out the first client user the body that input cloud server is specified
Part information.For example, the second information points out the first client user to be input into the registration mailbox of the second client.Certainly, at which
In his preferred embodiment, the second information can also point out the first client user to be input into any registration body of the second client
Part information, i.e., now cloud server no longer specifies the identity information species of the first client user input, here not to do specifically
Limit.
In step S209, obtain first client and believed according to the second identity that second information is fed back
Breath.
After first client gets the second information, the first client will eject one and re-enter dialog box.The
One client user this re-enter dialog box relevant position be input into the second client the second identity information, such as second
The registration mailbox of client, and click on ACK button.First client by send second client the second identity information extremely
Cloud server, cloud server will get second identity information.
In step S210, unique second client is determined according to first identity information and the second identity information
End, and information is asked for described in sending to unique second client, and return execution step S206 and step S207.
After cloud server gets the second identity information, will be determined only according to the first identity information and the second identity information
One the second client.For example, according to the user name and registration mailbox of the second client uniquely determining the second client.Work as cloud
After end server determines unique second client, the information of asking for that the first client sends is sent to unique second
Client, and jump to execution step S206 and with step S207.
In order to more clearly from illustrate the data sharing method in above preferred embodiment, below in conjunction with specific
Application scenarios are illustrating.
In the application scenarios, the first client and the second client are separately mounted in two mobile phones.Work as first user
When needing to obtain the user data of second user, first user logs in the first client in mobile phone, and clicks on the first client
Asking in the page shares entrance.The mobile phone of second user is input in the second client identity Information of the dialog box for ejecting
Number, and " meeting material " is input in asking in sharing information hurdle for dialog box, click on ACK button.Now, the first client
End will generate one and ask for sharing data request, and sends this and ask for sharing data and ask to cloud server, and wherein, this is asked for
Sharing data request includes the telephone number and " meeting material " of the second client.
Cloud server is received after this asks for sharing data request, will ask for sharing data request obtaining by parsing this
Take the telephone number and " meeting material " of the second client.
First, cloud server is judged in the client registers information of its memory storage with the presence or absence of the telephone number.If cloud
Be present the telephone number in judging its client registers information for storing in end server, then illustrate corresponding to the telephone number
User has been registered with the client of cloud server.
Secondly, cloud server will further determine whether the telephone number corresponds to unique second client, if so, then
Cloud server sends " meeting material " to the second client corresponding to the telephone number.
Second user checks the information that cloud server sends by logging in the second client.When second user is seen
After " meeting material " information, the identification information of related data will be selected by the second client, that is, treat the mark letter of sharing data
Breath, after clicking on ACK button, the second client sends the identification information to cloud server.
Cloud server generates the data sharing link for treating sharing data according to the identification information, and by the data sharing chain
The first client is delivered in sending and receiving, such first user just can by click data share chain fetch acquisition browse required for which or
" meeting material " data message downloaded.
Above-mentioned application scenarios are used for the purpose of further illustrating the data sharing method in above preferred embodiment, it is impossible to use
The scope of application of data sharing method in above preferred embodiment is limited.
Data sharing method in one preferred embodiment, the sharing data of asking for sent by obtaining the first client please
Ask, wherein asking for sharing data request includes the first identity information of the second client and ask for information;According to the first body
Part information judges whether the second client registers information, if there is the second client registers information, determines whether this
Whether the first identity information corresponds to unique second client, if unique second client of correspondence, believes according to the first identity
Breath transmission asks for information to the second client;Receive the second client according to ask for information feedback treat sharing data
Identification information;The data sharing link for treating sharing data is generated according to the identification information, and sends the data sharing link to
First client.In the case where user actively asks for other users data, the data sharing method can cause to share process
Simpler, operability is higher.Meanwhile, also no longer need user to shift to an earlier date by other communication modes such as phones and other users
Link up to obtain user data, save the time of user.In addition, judging to improve cloud server to the second client by two steps
The accuracy rate that end is searched, improves the safety and reliability of sharing data.
Fig. 4 is refer to, Fig. 4 is the structural representation of the preferred embodiment of data sharing device of the present invention.The data sharing
Device 300 is applied in cloud server, and certainly, in other embodiments, the data sharing device 300 can also be applied at which
In his equipment, here is not particularly limited.
Data sharing device 300 in one preferred embodiment includes acquiring unit 310, transmitting element 320, receiving unit
330 and generate transmitting element 340.Wherein, acquiring unit 310 is asked for obtaining the sharing data of asking for that the first client sends
Ask, wherein, the sharing data of asking for is asked to include the first identity information of the second client and asks for information;Send single
Unit 320 for according to first identity information send described in ask for information to second client;Receiving unit 330
For receiving second client according to the identification information for treating sharing data for asking for information feedback;Generate and send
Unit 340 is linked for generating the data sharing for treating sharing data according to the identification information, and by the data sharing
Chain is received and sent to first client.
Above-mentioned data sharing device 300 is explained below in conjunction with Fig. 4.
When the first client user needs to ask for the user data of the second client user, according to the first client user
Operation, the first client by generate one ask for sharing data request, and by this ask for sharing data request send to high in the clouds
Server.The sharing data of asking for for obtaining the transmission of the first client is asked by the acquiring unit 310 in cloud server.Wherein,
This asks for sharing data request includes the first identity information of the second client and asks for information.Here needs explanation
It is that the first identity information includes the information such as the user name of the second client, subscriber directory number, registration mailbox, and here is not to
The particular content of one identity information is limited.
In a preferred embodiment, when the first client user needs to ask for the user data of the second client user,
First client user clicks on asking in the first customer terminal webpage and shares entrance.First client will eject a dialog box,
Point out the first identity information of the second client of user input and ask for information.For example, the first client user is in dialogue
The user name of the second client of input in second client identity Information of frame;Asking for input " tourism in information hurdle
Photo ".After first client user clicks on confirming button, the first client will generate one and ask for sharing data request, and will
This is asked for sharing data request and sends to cloud server.Acquiring unit 310 in cloud server will obtain this and ask for be shared
Request of data.It is understood that this asks for sharing data request includes that the user name of the second client and " tourism photo " are believed
Breath.
When acquiring unit 310 receives after asking for sharing data request of the first client transmission, asked for by parsing this
Sharing data request obtaining the first identity information of the second client and ask for information, and by first identity information and
Ask for information to send to transmitting element 320.This is asked for information and is sent to first identity information by transmitting element 320
In the second corresponding client.
For example, acquiring unit 310 sends the user name and " tourism photo " that parse the second client for obtaining to transmission
After unit 320, transmitting element 320 sends " tourism photo " into the second client corresponding to the user name, and such second
Client user is known that the first client user needs what data shared.
After the second client receives this asks for information, the second client user according to this ask for information come
The identification information of its relative users data of server memory storage beyond the clouds is selected, that is, treats the identification information of sharing data, and will
Treat that the identification information of sharing data is sent to cloud server, the receiving unit 330 in cloud server will receive the second client
End is according to the identification information for treating sharing data for asking for information feedback.
For example, when ask for information for " tourism photo " when, the second client user will be searched by the second client
Its photo related to tourism of server memory storage or the data such as video beyond the clouds, and by the identification information of related tourist material
Cloud server is sent to, receiving unit 330 will receive the identification information of the related tourist material.Here it should be noted that
When its user data is stored in cloud server, each user data is provided with mark letter to second client user
Breath, the identification information can be arranged by the second client user, for example, are that every photo arranges title, or are a file
Title etc.;Can also be its distribution by cloud server, for example, every photo server memory storage address beyond the clouds.As long as cloud
End server can find according to the identification information and treat accordingly sharing data, and here is not particularly limited.
Receive after the identification information of sharing data in receiving unit 330, the identification information for treating sharing data is transmitted
To generation transmitting element 340.Generate transmitting element 340 and will generate the data sharing chain for treating sharing data according to the identification information
Connect, and the data sharing chain is received and sent to the first client so that after the first client receives the data sharing link, the
One client user treats sharing data by clicking on data sharing link and may browse through or download.
Data sharing device 300 in one preferred embodiment, obtains the rope that the first client sends by acquiring unit 310
Sharing data request is taken, wherein, the sharing data of asking for asks to include the first identity information of the second client and ask for carrying
Show information;Transmitting element 320 asks for information to second client according to first identity information sends;Connect
Receive unit 330 second client is received according to the identification information for treating sharing data for asking for information feedback;It is raw
The data sharing link of sharing data is treated according to the identification information is generated into transmitting element 340, and the data are divided
Enjoy chain to receive and send to first client.In the case where user actively asks for other users data, the data sharing device
300 can cause to share that process is simpler, and operability is higher.Meanwhile, other lead to by phone etc. also no longer to need user
Letter mode is linked up to obtain user data with other users in advance, saves the time of user.
Fig. 5 is refer to, Fig. 5 is the another structural representation of the preferred embodiment of data sharing device of the present invention.The data
Sharing apparatus 400 are applied in cloud server, and certainly, in other preferred embodiments, the data sharing device 400 can also
Apply in other equipment, here is not particularly limited.
Data sharing device 400 in one preferred embodiment includes acquiring unit 410, judging unit 420, transmitting element
430th, receiving unit 440 and generation transmitting element 450, wherein, transmitting element 430 includes that judgment sub-unit 431, first sends son
Unit 432, second sends subelement 433, obtains subelement 434, determines transmission subelement 435 and storing sub-units 436.
Above-mentioned data sharing device 400 is introduced in detail below in conjunction with Fig. 5.
When the first client user needs to ask for the user data of the second client user, according to the first client user
Operation, the first client by generate one ask for sharing data request, and by this ask for sharing data request send to high in the clouds
Server.The sharing data of asking for for obtaining the transmission of the first client is asked by the acquiring unit 410 in cloud server.Wherein,
This asks for sharing data request includes the first identity information of the second client and asks for information.Here needs explanation
It is that the first identity information includes the information such as the user name of the second client, subscriber directory number, registration mailbox, and here is not to
The particular content of one identity information is limited.
In a preferred embodiment, when the first client user needs to ask for the user data of the second client user,
First client user clicks on asking in the first customer terminal webpage and shares entrance.First client will eject a dialog box,
Point out the first identity information of the second client of user input and ask for information.For example, the first client user is in dialogue
The user name of the second client of input in second client identity Information of frame;Asking for input " tourism in information hurdle
Photo ".After first client user clicks on confirming button, the first client will generate one and ask for sharing data request, and will
This is asked for sharing data request and sends to cloud server.Acquiring unit 410 in cloud server will get this and ask for point
Enjoy request of data.It is understood that this asks for sharing data request includes user name and " the tourism photo " of the second client
Information.
When acquiring unit 410 receives after asking for sharing data request of the first client transmission, asked for by parsing this
Sharing data request obtaining the first identity information of the second client and ask for information, and by first identity information and
Ask for information and be transferred to judging unit 420.Judging unit 420 will judge whether according to first identity information
Two client registers information.Specifically, during judging unit 420 judges the multiple client log-on message of cloud server memory storage
With the presence or absence of first identity information.If judging unit 420 is not present in judging the client registers information of its memory storage
First identity information, then judge there is no the second client registers information corresponding with first identity information.Now sentence
Disconnected unit 420 will send the first information to the first client, first information be used for pointing out the first client this
One identity information is not present.In the case, the first client can re-enter the identity information of the second client.
If judging unit 420 has first identity believing in judging the client registers information of cloud server memory storage
Breath, then judge there is the second client registers information corresponding with first identity information.Now judging unit 420 by this
First identity information of two clients and ask for information and be transferred in the storing sub-units 436 of transmitting element 430, by storing
Subelement 436 stores the first identity information of second client and asks for information.Meanwhile, judging unit 420 is to judgement
Subelement 431 sends the first signal so that judgment sub-unit 431 is read from storing sub-units 436 according to first signal should
First identity information of the second client, and judge whether first identity information corresponds to unique second client.
In actual applications, some user names have corresponded to multiple client, i.e. multiple client user and have arranged in registration
Identical user name, and the log-on message such as other subscriber phone numbers, registration mailbox is then different.If now the first client
When first identity information of the second client of user input is just the user name of the second client, cloud server will be according to this
User name searches out multiple second clients.Information can will be asked for for transmitting element 430 and be sent to correct second
Client, judgment sub-unit 431 are needed by judging whether the first identity information corresponds to unique second client just finding
The second true client.
When judgment sub-unit 431 judges unique second client of the first identity information correspondence, judgment sub-unit 431
Secondary signal will be sent to the first transmission subelement 432 so that first sends subelement 432 according to the secondary signal from storage
First identity information is read in unit 436 and information is asked for, and prompting letter is asked for according to first identity information transmission
Cease to the second client.
When judgment sub-unit 431 judges that first identity information does not correspond to unique second client, judgment sub-unit
431 will send the 3rd signal to the second transmission subelement 433 so that second sends subelement 433 according to the 3rd signal to the
One client sends the second information of the second identity information for obtaining the second client.
In a certain embodiment, the second information is used for pointing out what the first client user input cloud server was specified
Identity information.For example, the second information points out the first client user to be input into the registration mailbox of the second client.Certainly, exist
In other preferred embodiments, the second information can also point out the first client user to be input into any registration of the second client
Identity information, i.e., now cloud server no longer specifies the identity information species of the first client user input, and here is not done to be had
Body is limited.
After first client gets the second information, the first client will eject one and re-enter dialog box.The
One client user this re-enter dialog box relevant position be input into the second client the second identity information, such as second
The registration mailbox of client, and click on ACK button.First client by send second client the second identity information extremely
Cloud server.The subelement 434 that obtains in cloud server will obtain what the first client was fed back according to the second information
Second identity information.
Obtain subelement 434 to send the second identity information for getting to determination transmission subelement 435.It is determined that sending son
Unit 435 will read the first identity information from storing sub-units 436 and ask for information, and according to the first identity information and
Second identity information determines unique second client.For example, it is determined that sending user name of the subelement 435 according to the second client
The second client is uniquely determined with registration mailbox.After it is determined that transmission subelement 435 determines unique second client, will send out
Information is asked for unique second client described in sending.
After the second client receives this asks for information, the second client user according to this ask for information come
The identification information of its relative users data of server memory storage beyond the clouds is selected, that is, treats the identification information of sharing data, and will
Treat that the identification information of sharing data is sent to cloud server, the receiving unit 440 in cloud server receives the second client
According to the identification information for treating sharing data for asking for information feedback.
For example, when ask for information for " tourism photo " when, the second client user will be searched by the second client
The data such as its photo related to tourism that server memory is stored up beyond the clouds or video, and the identification information of related data is sent
To cloud server.Receiving unit 440 will receive the identification information for treating sharing data.
Here it should be noted that the second client user is when its user data is stored in cloud server, often
Individual user data is provided with identification information, and the identification information can be arranged by the second client user, for example, is every photo
Title is set, or is Folder Name etc.;Can also be distributed for which by cloud server, for example, every photo is beyond the clouds
Server memory stores up address.As long as cloud server can find according to the identification information and treat accordingly sharing data,
Here is not particularly limited.
The identification information for treating sharing data for getting is transferred to generate transmitting element 450 by receiving unit 440.Generate and send out
Send unit 450 generate the data sharing link for treating sharing data according to the identification information, and the data sharing chain is received and sent
To the first client so that after the first client receives the data sharing link, the first client user is by clicking on the number
Sharing data is treated according to sharing to link to may browse through or download.
Data sharing device 400 in one preferred embodiment, obtains the rope that the first client sends by acquiring unit 410
Sharing data request is taken, wherein asking for sharing data request includes the first identity information of the second client and ask for prompting letter
Breath;Judging unit 420 judges whether the second client registers information according to the first identity information, if there is the second client
Log-on message, then judgment sub-unit 431 determine whether whether first identity information corresponds to unique second client, if right
Unique second client is answered, then the first transmission subelement 432 sends according to the first identity information and information asked for second
Client;Receiving unit 440 receives the second client according to the identification information for treating sharing data for asking for information feedback;It is raw
The data sharing link for treating sharing data is generated into transmitting element 450 according to the identification information, and sends the data sharing and linked
To the first client.In the case where user actively asks for other users data, the data sharing device 400 can cause to share
Process is simpler, and operability is higher.Meanwhile, also no longer need user to shift to an earlier date by other communication modes such as phones and other
User links up to obtain user data, saves the time of user.In addition, judging to improve cloud server to second by two steps
The accuracy rate that client is searched, improves the safety and reliability of sharing data.
During each functional unit in the preferred embodiment of the present invention can be integrated in a processing module, or each list
Unit is individually physically present, it is also possible to which two or more units are integrated in a module.Above-mentioned integrated module both can be with
Realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.If the integrated module is with software
The form of functional module is realized and as when independent production marketing or use, it is also possible to is stored in an embodied on computer readable and is deposited
In storage media.Storage medium mentioned above can be read only memory, disk or CD etc..Above-mentioned each device or system,
The method in correlation method embodiment can be performed.
In sum, although the present invention it is disclosed above with preferred embodiment, but above preferred embodiment and be not used to limit
The system present invention, one of ordinary skill in the art without departing from the spirit and scope of the present invention, can make various changes and profit
Adorn, therefore protection scope of the present invention is defined by the scope that claim is defined.
Claims (10)
1. a kind of data sharing method, it is characterised in that include:
Obtain the transmission of the first client asks for sharing data request, and wherein, the sharing data of asking for asks to include that second is objective
First identity information at family end and ask for information;
Information is asked for second client according to first identity information sends;
Second client is received according to the identification information for treating sharing data for asking for information feedback;And
The data sharing link of sharing data is treated according to the identification information is generated, and the data sharing chain is received and sent
To first client.
2. data sharing method according to claim 1, it is characterised in that sent out according to first identity information described
Information is asked for before second client described in sending, is also included:
Second client registers information is judged whether according to first identity information;
If there is the second client registers information, information is asked for extremely according to first identity information sends
Second client.
3. data sharing method according to claim 2, it is characterised in that sentenced according to first identity information described
Break with the presence or absence of after the second client registers information, also include:
If there is no the second client registers information, non-existent first information of first identity information is sent
To first client.
4. data sharing method according to claim 1, it is characterised in that described to be sent according to first identity information
The information of asking for is specifically included to second client:
Judge whether corresponding unique second client of first identity information;
If corresponding unique second client of first identity information, sends according to first identity information and asks for
Information is to second client.
5. data sharing method according to claim 4, it is characterised in that judge that first identity information is described
After unique second client of no correspondence, also include:
If first identity information does not correspond to unique second client, send to first client and obtain the
Second information of the second identity information of two clients;
Obtain second identity information that first client is fed back according to second information;
Unique second client is determined according to first identity information and the second identity information, and is asked for described in sending
Information is to unique second client.
6. a kind of data sharing device, it is characterised in that include:
Acquiring unit, asks for obtaining the sharing data of asking for that the first client sends, and wherein, the sharing data of asking for please
Ask including the second client the first identity information and ask for information;
Transmitting element, for asking for information to second client according to first identity information transmission;
Receiving unit, for receiving second client according to the mark for treating sharing data for asking for information feedback
Information;
Transmitting element is generated, and is linked for the data sharing for treating sharing data being generated according to the identification information, and by institute
State data sharing chain to receive and send to first client.
7. data sharing device according to claim 6, it is characterised in that the data sharing device also includes judging single
Unit, the judging unit is for judging whether the second client registers information according to first identity information;If existing
The second client registers information, then the transmitting element according to first identity information send described in ask for information
To second client.
8. data sharing device according to claim 7, it is characterised in that shown judging unit is additionally operable to:If judging
There is no the second client registers information, then non-existent first information of first identity information is sent to described
First client.
9. data sharing device according to claim 6, it is characterised in that the transmitting element include judgment sub-unit and
First sends subelement, and wherein, the judgment sub-unit is used for:Judge that whether corresponding first identity information is unique described
Second client;
The first transmission subelement is used for:If corresponding unique second client of first identity information, basis
First identity information sends and asks for information to second client.
10. data sharing device according to claim 9, it is characterised in that the transmitting element is also sent including second
Subelement, acquisition subelement and determination send subelement, and wherein, the second transmission subelement is used for:If first identity
Asymmetry information answers unique second client, then send the second identity for obtaining the second client to first client
Second information of information;
The acquisition subelement is used for:Obtain second body that first client is fed back according to second information
Part information;
It is described to determine that sending subelement is used for:Unique described the is determined according to first identity information and the second identity information
Two clients, and information is asked for described in sending to unique second client.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610940884.8A CN106534280B (en) | 2016-10-25 | 2016-10-25 | Data sharing method and device |
PCT/CN2017/095693 WO2018076873A1 (en) | 2016-10-25 | 2017-08-02 | Data sharing method, apparatus, medium, electronic device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610940884.8A CN106534280B (en) | 2016-10-25 | 2016-10-25 | Data sharing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106534280A true CN106534280A (en) | 2017-03-22 |
CN106534280B CN106534280B (en) | 2019-12-03 |
Family
ID=58292520
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610940884.8A Expired - Fee Related CN106534280B (en) | 2016-10-25 | 2016-10-25 | Data sharing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106534280B (en) |
WO (1) | WO2018076873A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018076873A1 (en) * | 2016-10-25 | 2018-05-03 | 广东欧珀移动通信有限公司 | Data sharing method, apparatus, medium, electronic device and system |
CN110719319A (en) * | 2019-09-18 | 2020-01-21 | 维沃移动通信有限公司 | Resource sharing method, device, terminal equipment and storage medium |
CN111339513A (en) * | 2020-01-23 | 2020-06-26 | 华为技术有限公司 | Data sharing method and device |
CN113613313A (en) * | 2021-08-19 | 2021-11-05 | 杭州涂鸦信息技术有限公司 | Communication method, device and medium for Bluetooth equipment pairing |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110417601B (en) * | 2019-08-02 | 2022-07-15 | 网易(杭州)网络有限公司 | Information prompting method, device and system in client and readable storage medium |
Citations (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 |
CN102740228A (en) * | 2012-06-21 | 2012-10-17 | 北京小米科技有限责任公司 | Method, device and system for sharing position information |
CN102905232A (en) * | 2012-09-20 | 2013-01-30 | 北京灵创众和科技有限公司 | Method, device and system based on contacts person network of mobile communication terminal |
US20140230009A1 (en) * | 2013-02-09 | 2014-08-14 | Dropbox, Inc. | Retroactive shared content item links |
CN104079470A (en) * | 2013-03-27 | 2014-10-01 | 腾讯科技(深圳)有限公司 | Electronic business card exchange method, system and server |
CN105100223A (en) * | 2015-07-01 | 2015-11-25 | 北京奇虎科技有限公司 | File sharing method, device and system based on cloud storage |
CN105471988A (en) * | 2015-11-23 | 2016-04-06 | 努比亚技术有限公司 | contact person information pushing method, server and terminal |
CN105721589A (en) * | 2011-11-14 | 2016-06-29 | 联想(北京)有限公司 | Terminal device and file receiving method thereof |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674314B (en) * | 2009-10-23 | 2012-08-08 | 华为终端有限公司 | Information sharing method, data server and terminal |
KR101729633B1 (en) * | 2011-03-03 | 2017-04-24 | 삼성전자주식회사 | Apparatus and method for sharing contents of social network service in communicatino system |
CN103327100B (en) * | 2013-06-21 | 2017-04-19 | 华为技术有限公司 | Resource processing method and site server |
CN103294515B (en) * | 2013-06-28 | 2017-03-15 | 小米科技有限责任公司 | A kind of methods, devices and systems for obtaining application program |
CN104954398B (en) * | 2014-03-26 | 2019-03-12 | 腾讯科技(深圳)有限公司 | A kind of method and device obtaining content |
CN106534280B (en) * | 2016-10-25 | 2019-12-03 | Oppo广东移动通信有限公司 | Data sharing method and device |
-
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 active Application Filing
Patent Citations (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 |
CN105721589A (en) * | 2011-11-14 | 2016-06-29 | 联想(北京)有限公司 | Terminal device and file receiving method thereof |
CN102740228A (en) * | 2012-06-21 | 2012-10-17 | 北京小米科技有限责任公司 | Method, device and system for sharing position information |
CN102905232A (en) * | 2012-09-20 | 2013-01-30 | 北京灵创众和科技有限公司 | Method, device and system based on contacts person network of mobile communication terminal |
US20140230009A1 (en) * | 2013-02-09 | 2014-08-14 | Dropbox, Inc. | Retroactive shared content item links |
CN104079470A (en) * | 2013-03-27 | 2014-10-01 | 腾讯科技(深圳)有限公司 | Electronic business card exchange method, system and server |
CN105100223A (en) * | 2015-07-01 | 2015-11-25 | 北京奇虎科技有限公司 | File sharing method, device and system based on cloud storage |
CN105471988A (en) * | 2015-11-23 | 2016-04-06 | 努比亚技术有限公司 | contact person information pushing method, server and terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018076873A1 (en) * | 2016-10-25 | 2018-05-03 | 广东欧珀移动通信有限公司 | Data sharing method, apparatus, medium, electronic device and system |
CN110719319A (en) * | 2019-09-18 | 2020-01-21 | 维沃移动通信有限公司 | Resource sharing method, device, terminal equipment and storage medium |
CN110719319B (en) * | 2019-09-18 | 2022-12-27 | 维沃移动通信有限公司 | Resource sharing method, device, terminal equipment and storage medium |
CN111339513A (en) * | 2020-01-23 | 2020-06-26 | 华为技术有限公司 | Data sharing method and device |
CN111339513B (en) * | 2020-01-23 | 2023-05-09 | 华为技术有限公司 | Data sharing method and device |
CN113613313A (en) * | 2021-08-19 | 2021-11-05 | 杭州涂鸦信息技术有限公司 | Communication method, device and medium for Bluetooth equipment pairing |
Also Published As
Publication number | Publication date |
---|---|
WO2018076873A1 (en) | 2018-05-03 |
CN106534280B (en) | 2019-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105530175B (en) | Message processing method, device and system | |
CN106534280A (en) | Data sharing method and device | |
EP1766851B1 (en) | System and method for authentificting a user to a service provider | |
US8280986B2 (en) | Mobile terminal and associated storage devices having web servers, and method for controlling the same | |
US8359031B2 (en) | Computer based method and system for logging in a user mobile device at a server computer system | |
CN103716295B (en) | A kind of network system | |
CN106534277A (en) | Data sharing method and device | |
CN107015996A (en) | A kind of resource access method, apparatus and system | |
CN112199652B (en) | Login method, terminal, server, system, medium and equipment of application program | |
CN106850794A (en) | Method and apparatus, server and terminal for operating group | |
US20140337831A1 (en) | Application system, application server, and program | |
CN104836782B (en) | Server, client and data access method and system | |
CN106973075A (en) | Share comment method and system, domain name code-transferring method, client and server | |
US20020029336A1 (en) | Authentication method and authentication system for users attempting to access an information source via communication network, and information processing system and information processing method using the same | |
CN102413151A (en) | Network resource sharing method and system | |
KR101258986B1 (en) | System and method for automatically installing applications | |
CN103167031A (en) | Communication between Web applications | |
CN106411920A (en) | Data sharing method and device | |
CN107277012A (en) | A kind of information sharing method and device | |
CN105453126A (en) | Application sharing service method and apparatus applied thereto | |
US20030233336A1 (en) | System to retate personal information to a unique identifier | |
CN106533923A (en) | Information processing method and device based on instant messaging software | |
JP2006191384A (en) | Mobile and content transmission method | |
CN113596226B (en) | Interface display method, electronic device and readable storage medium | |
US20040193601A1 (en) | Method and contact list server for modifying the entry names in a contact list |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191203 |
|
CF01 | Termination of patent right due to non-payment of annual fee |