CN104618217A - Method, terminal, server and system for sharing resource - Google Patents

Method, terminal, server and system for sharing resource Download PDF

Info

Publication number
CN104618217A
CN104618217A CN201410111494.0A CN201410111494A CN104618217A CN 104618217 A CN104618217 A CN 104618217A CN 201410111494 A CN201410111494 A CN 201410111494A CN 104618217 A CN104618217 A CN 104618217A
Authority
CN
China
Prior art keywords
resource
user
sharing
identification information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410111494.0A
Other languages
Chinese (zh)
Other versions
CN104618217B (en
Inventor
徐帅
林俊安
林文焕
李大江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201410111494.0A priority Critical patent/CN104618217B/en
Publication of CN104618217A publication Critical patent/CN104618217A/en
Application granted granted Critical
Publication of CN104618217B publication Critical patent/CN104618217B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses method, terminal, server and system for sharing a resource. The method comprises the steps of determining a resource to be determined from the resources opened to a first user; acquiring a resource sharing instruction and a second user sharing the resource; submitting identification information of the firs user, resource identification information, and the user information of the second user; determining that the authority of the first user to share the resource through the server and generating resource sharing information; receiving the resource sharing information returned by the server and sending to the terminal corresponding to the second user. According to the method, the resource to be shared is determined from the resources opened to the first user, the resource sharing information is received and shared with the second user after the server determines the authority of sharing the resource and generates and returns the resource sharing information, so as to ensure that the second user can share the resource, and as a result, the resource sharing range can be expanded, and as a result, the flexibility of the social networking service function of a website and the interaction of the users can be improved by sharing the resource.

Description

Share the method for resource, terminal, server and system
Technical field
The present invention relates to internet arena, particularly a kind of method, terminal, server and system sharing resource.
Background technology
In order to attract more users access websites, thus improve the visit capacity of website, a lot of website both provides social function.The social function that user can be provided by website carries out exchange and interdynamic to the resource that website provides, thus increases the propagation amount of resource, and then increases the income of website provider.The resource that sharing website provides is a kind of social function that website provides, and by sharing resource, more users can be driven to consult or watch resource, thus improves the flow of website.Such as, if website is video website, then the resource that website provides is video, by sharing video frequency, more users can be driven to watch video, thus increase the propagation amount of video.In order to drive the user having resource to share resource, thus increasing the propagation amount of resource more, being necessary to provide a kind of method sharing resource.
Correlation technique is when sharing resource, and the method adopted is: the chained address of website, resource place is sent to terminal corresponding to the second user by the terminal that first user is corresponding; Second user obtains by the chained address of this website the resource shared.Such as, when first user needs sharing video frequency, directly by the terminal that the network address of website, video place sends to the second user corresponding by the terminal that first user is corresponding, the second user opens network address, and from this network address, obtain the video that first user shares.
Realizing in process of the present invention, inventor finds that correlation technique at least exists following problem:
Because some resources in the Internet are that certain user is distinctive, such as, some video could be watched after needing user charges, and other unpaid user then can not watch this video.For such resource, first user can not be shared to the second user, not only causes resource sharing to have certain limitation, and makes the scope of resource sharing less.In addition, because such resource can not be shared to the second user, result through share resource realize the flexibility of social function and interactivity not high.
Summary of the invention
In order to solve the problem of correlation technique, embodiments provide a kind of method, terminal, server and the system of sharing resource.Described technical scheme is as follows:
First aspect, provide a kind of method sharing resource, described method comprises:
Determine the resource needing to share, and obtain first user and share the second user sharing described resource that the resource sharing instruction of described resource and described first user determine in the relation chain of described first user, wherein, described resource is the resource opened to described first user;
Submit the user profile of the identification information of described first user, resource identification information and described second user to;
Receive and determine to generate according to the user profile of the user profile of described first user, resource identification information and described second user after described first user has the authority sharing described resource according to the identification information of described first user and described resource identification information and the unique resource sharing information of the overall situation returned, and forward described resource sharing information.
Second aspect, provide a kind of method sharing resource, described method comprises:
Receive the identification information of first user, resource identification information and share the user profile of the second user of resource, wherein, described resource is the resource opened to described first user;
Determine whether described first user has the authority sharing described resource according to the identification information of described first user and described resource identification information;
If determine that described first user has the authority sharing described resource, then generate the unique resource sharing information of the overall situation according to the user profile of the user profile of described first user, resource identification information and described second user;
Return described resource sharing information.
The third aspect, provide a kind of method sharing resource, described method comprises:
Receive resource sharing information, after described resource sharing information submits the user profile of the user profile of described first user, resource identification information and described second user to by the terminal to server that described first user is corresponding, generated by described server and be back to terminal corresponding to described first user, wherein, resource is the resource that described server opens to described first user;
Described resource is got according to described resource sharing information.
Fourth aspect, provides a kind of terminal, and described terminal comprises:
Determination module, for determining the resource needing to share, wherein, described resource is the resource opened to first user;
Acquisition module, shares for obtaining described first user the second user sharing described resource that the resource sharing instruction of described resource and described first user determine in the relation chain of described first user;
Submit module to, for submitting the user profile of the identification information of described first user, resource identification information and described second user to;
Receiver module, determines to generate according to the user profile of the user profile of described first user, resource identification information and described second user after described first user has the authority sharing described resource according to the identification information of described first user and described resource identification information and the unique resource sharing information of the overall situation returned for receiving;
Forwarding module, for forwarding described resource sharing information.
5th aspect, provides a kind of server, and described server comprises:
First receiver module, for receiving the identification information of first user, resource identification information and sharing the user profile of the second user of resource, wherein, described resource is the resource opened to described first user;
According to the identification information of described first user and described resource identification information, first determination module, for determining whether described first user has the authority sharing described resource;
First generation module, for when determining that described first user has the authority sharing described resource, the user profile according to the user profile of described first user, resource identification information and described second user generates the unique resource sharing information of the overall situation;
Return module, for returning described resource sharing information.
6th aspect, provides a kind of terminal, and described terminal comprises:
Receiver module, for receiving resource sharing information, after described resource sharing information submits the user profile of the user profile of described first user, resource identification information and described second user to by the terminal to server that described first user is corresponding, generated by described server and be back to terminal corresponding to described first user, wherein, resource is the resource that described server opens to described first user;
Get module, for getting described resource according to described resource sharing information.
7th aspect, provide a kind of system sharing resource, described system comprises: first terminal, server and the second terminal;
Wherein, the terminal that provides as above-mentioned fourth aspect of described first terminal;
The server that described server provides as above-mentioned 5th aspect;
The terminal that described second terminal provides as above-mentioned 6th aspect.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By determining the resource needing to share in the resource opened to first user, and after server determination first user has the authority sharing this resource, the terminal corresponding to the second user sends resource sharing information, guarantee the resource that can open to second user's sharing service device to first user, the scope of resource sharing can not only be expanded, and can by sharing the flexibility that resource improves the social function of website and the interactivity improved between user.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of implementation environment schematic diagram sharing the method for resource that the embodiment of the present invention provides;
Fig. 2 is a kind of method flow diagram sharing resource that the embodiment of the present invention one provides;
Fig. 3 is the method flow diagram that another kind that the embodiment of the present invention one provides shares resource;
Fig. 4 be the embodiment of the present invention one provide another share the method flow diagram of resource;
Fig. 5 is a kind of method flow diagram sharing resource that the embodiment of the present invention two provides;
Fig. 6 is that terminal that a kind of first user that the embodiment of the present invention two provides is corresponding determines that the first user of the terminal interface schematic diagram of the resource needing to share and terminal demonstration corresponding to first user shares the interface schematic diagram of resource;
Fig. 7 is the terminal interface schematic diagram that a kind of first user that the embodiment of the present invention two provides determines to share the second user of resource;
Fig. 8 is the terminal interface schematic diagram that resource successful information is shared in terminal demonstration resource sharing information that a kind of first user that the embodiment of the present invention two provides is corresponding and display;
Fig. 9 is terminal demonstration resource sharing information corresponding to a kind of second user that the embodiment of the present invention two provides and the terminal interface schematic diagram getting resource;
Figure 10 is the structural representation of a kind of terminal that the embodiment of the present invention three provides;
Figure 11 is the structural representation of a kind of terminal that the embodiment of the present invention four provides;
Figure 12 is the structural representation of a kind of server that the embodiment of the present invention seven provides;
Figure 13 is the structural representation of a kind of server that the embodiment of the present invention eight provides;
Figure 14 is the structural representation of a kind of terminal that the embodiment of the present invention nine provides;
Figure 15 is the structural representation of a kind of terminal that the embodiment of the present invention ten provides;
Figure 16 is a kind of structural representation sharing the system of resource that the embodiment of the present invention 13 provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Please refer to Fig. 1, it illustrates the structural representation of the implementation environment involved by method that the embodiment of the present invention provides.As shown in Figure 1, this implementation environment comprises first terminal 101, server 102 and the second terminal 103.By the implementation environment shown in Fig. 1, server 102 can be communicated by wireless network or cable network with between first terminal 101 and the second terminal 103, and first terminal 101 also can be communicated by wireless network or cable network with the second terminal 103.
Implementation environment schematic diagram shown in composition graphs 1, can by server only to resource sharing to the second user that first user opens, and sharing in the process of resource to the second user, need to determine whether first user has the authority sharing the resource opened to first user by server 102.After server 102 determines that first user has the authority of the resource that sharing service device opens to first user, realize terminal corresponding for resource sharing to the second user.Wherein, first user, when sharing resource to the second user, can be realized by the resource sharing interface be arranged in some application in terminal corresponding to first user.Wherein, about the particular type of application, the embodiment of the present invention does not do concrete restriction.During concrete enforcement, this application includes but not limited to apply for instant messaging.The concrete method sharing resource refers to the content of following embodiment one and embodiment two.
Wherein, first terminal 101 and the second terminal 103 can be smart mobile phone, panel computer, E-book reader, MP3(Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3) player, MP4(Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 3) player, pocket computer on knee and desktop computer etc.Server 103 can be any server that can control to first user open source.About the type of resource, the embodiment of the present invention does not do concrete restriction.During concrete enforcement, the type of resource can be video resource, audio resource etc.
Embodiment one
Implementation environment schematic diagram shown in composition graphs 1 and foregoing, embodiments provide a kind of method sharing resource.Perform the angle of the method that the embodiment of the present invention provides for the terminal that first user is corresponding, see Fig. 2, the method flow that the embodiment of the present invention provides comprises:
201: determine the resource needing to share, and obtain first user and share the second user sharing this resource that the resource sharing instruction of this resource and first user determine in the relation chain of first user, wherein, this resource is the resource that server opens to first user.
202: the user profile submitting the identification information of first user, resource identification information and the second user to server to, after making server have according to the identification information of first user and resource identification information determination first user the authority sharing this resource, user profile according to the user profile of first user, resource identification information and the second user generates the unique resource sharing information of the overall situation, and returns resource sharing information.
203: the resource sharing information that reception server returns, and resource sharing information is forwarded to terminal corresponding to the second user, make terminal corresponding to the second user receive and get this resource according to resource sharing information.
Preferably, determine the resource needing to share, comprising:
Detect the resource scan instruction of Quick Response Code corresponding to this resource of scanning, and according to this resource scan instruction scanning Quick Response Code, resource corresponding for the Quick Response Code of scanning is defined as the resource needing to share;
Obtain the resource sharing instruction that first user shares resource, comprising:
According to the resource sharing page corresponding to Quick Response Code display resource of scanning, and in the resource sharing page, obtain the resource sharing instruction that first user shares resource.
Preferably, resource sharing information is sent to terminal corresponding to the second user, comprises:
Resource sharing information is sent to terminal corresponding to the second user by calls application interface API.
Perform the angle of the method that the embodiment of the present invention provides for server, see Fig. 3, the method flow that the embodiment of the present invention provides comprises:
301: receive the identification information of the first user that terminal corresponding to first user is submitted to, resource identification information and share the user profile of the second user of resource, wherein, resource is the resource opened to first user.
302: according to the identification information of first user and resource identification information determination first user, whether there is the authority sharing this resource.
Preferably, according to the identification information of first user and resource identification information determination first user, whether there is the authority sharing this resource, comprising:
Whether reach according to the identification information determination first user of first user and share hierarchical resource;
If first user reaches share hierarchical resource, then determine whether to open this resource to first user according to resource identification information;
If determine to open this resource to first user, then determine that first user has the authority sharing this resource.
303: if determine that first user has the authority sharing this resource, then generate the unique resource sharing information of the overall situation according to the user profile of the user profile of first user, resource identification information and the second user.
Preferably, after determining that first user has the authority sharing this resource, also comprise:
The current state of this resource is obtained according to resource identification information;
Determine whether to allow first user to share this resource according to current state;
If determine to allow first user to share this resource, then perform the user profile according to first user, step that the user profile of resource identification information and the second user generates the unique resource sharing information of the overall situation.
Preferably, the user profile according to the user profile of first user, resource identification information and the second user generates the unique resource sharing information of the overall situation, comprising:
The user profile of the user profile of first user, resource identification information and the second user is generated the unique digital signature of the overall situation, obtain the resource sharing information of carrying the unique digital signature of the overall situation.
304: return resource sharing information to first terminal, make first terminal receive resource sharing information, and resource sharing information is sent to terminal corresponding to the second user, the terminal corresponding by the second user receives and gets this resource according to resource sharing information.
Preferably, after first terminal returns resource sharing information, also comprise:
The resource of carrying the identification information of the second user receiving terminal transmission corresponding to the second user gets request, and determines whether the second user has the authority getting this resource according to the identification information of the second user;
If determine that the second user has the authority getting this resource, then generate resource pickup information according to resource sharing information, and resource pickup information is sent to terminal corresponding to the second user, make terminal corresponding to the second user receive and get this resource according to resource pickup information.
Preferably, after first terminal returns resource sharing information, also comprise:
According to the current state of this resource of state updating whether this resource is got by the second user.
Perform the angle of the method that the embodiment of the present invention provides for the terminal that the second user is corresponding, see Fig. 4, the method flow that the embodiment of the present invention provides comprises:
401: receive the resource sharing information that terminal corresponding to first user sends, after resource sharing information submits the user profile of the user profile of first user, resource identification information and the second user to by terminal to server corresponding to first user, generated by server and be back to terminal corresponding to first user, wherein, resource is the resource that server opens to first user.
402: get resource according to resource sharing information.
Preferably, get resource according to resource sharing information, comprising:
Send the resource of carrying the identification information of the second user according to resource sharing information to server and get request, after making server determine that the second user has the authority getting this resource according to the identification information of the second user, return the resource pickup information generated according to resource sharing information;
The resource pickup information that reception server returns, and get this resource according to resource pickup information.
The method that the embodiment of the present invention provides, by determining the resource needing to share in the resource opened to first user, and the identification information of first user is submitted to server, the user profile of resource identification information and the second user, make server after having according to the identification information of first user and resource identification information determination first user the authority sharing this resource, generate and return resource sharing information, first user sends resource sharing information by the terminal corresponding to the second user and shares resource to the second user, guarantee the resource that first user can open to second user's sharing service device to first user, the scope of resource sharing can not only be expanded, and can by sharing the flexibility that resource improves the social function of website and the interactivity improved between user.
Embodiment two
Implementation environment schematic diagram shown in composition graphs 1 and foregoing, embodiments provide a kind of method sharing resource.See Fig. 5, the method flow that the embodiment of the present invention provides comprises:
501: the terminal that first user is corresponding determines the resource needing to share, and obtain first user and share the second user sharing this resource that the resource sharing instruction of this resource and first user determine in the relation chain of first user, wherein, this resource is the resource that server opens to first user.
When first user is determined to share resource to the second user, the resource needing to share to the second user can be selected in the resource that server is open, therefore, the terminal that first user is corresponding needs the resource determining that first user needs are shared to the second user, and obtains the resource sharing instruction that first user shares this resource.In order to determine first user shares this resource to which the second user, the second user sharing this resource that the terminal that first user is corresponding also needs acquisition first user to determine in the relation chain of first user.
Wherein, the embodiment of the present invention does not limit the resource type of the resource that server opens to first user, and such as, server includes but not limited to can be paid video to the resource that first user opens, etc.Particularly, if resource is paid video, after first user carries out operation for paying the fee to this video, the server at this video place will open this resource to first user, and for other not to the second user that this resource is paid, then server does not open this video to it.
Determine the mode of the resource needing to share about the terminal that first user is corresponding, the embodiment of the present invention does not do concrete restriction.During concrete enforcement, include but not limited to realize in the following way:
Server is that each resource shared arranges corresponding Quick Response Code, and the Quick Response Code that display is corresponding with this resource in the page providing this resource.As shown in Figure 6 (a), if resource is the video A in paid video, then when first user is when watching video A, in the display interface of video A, show Quick Response Code corresponding to this video A.Therefore, the terminal that first user is corresponding scans the resource scan instruction of Quick Response Code corresponding to this resource by detection, and according to this resource scan instruction scanning Quick Response Code corresponding with this resource, thus resource corresponding for the Quick Response Code of scanning is defined as the resource that needs to share.Such as, at such as 6(a) in, when the terminal that first user is corresponding detects the resource scan instruction of the Quick Response Code that scan video A is corresponding, and the Quick Response Code corresponding with video A according to the scanning of this resource scan instruction, then video A is defined as the resource needing to share.
After determining the resource needing to share, the terminal that first user is corresponding obtains the mode that first user shares the resource sharing instruction of this resource, include but not limited to show the resource sharing page corresponding to this resource according to the Quick Response Code of scanning, and in the resource sharing page, obtain the resource sharing instruction that first user shares this resource.Particularly, can provide the option sharing resource in the resource sharing page, terminal corresponding to first user is carried out Gains resources by the operation whether option that detects this and share resource is selected and is shared instruction.Be described for Fig. 6 (b), when after the Quick Response Code that the terminal scanning video A that first user is corresponding is corresponding, the display resource sharing page, provide the option of sharing video frequency A in this resource sharing page, terminal corresponding to first user is carried out Gains resources by the operation whether option that detects this and share resource A is selected and is shared instruction.Certainly, terminal corresponding to first user can also obtain by alternate manner the resource sharing instruction that first user shares this resource, and the embodiment of the present invention does not do concrete restriction to this.
In addition, about the mode sharing the second user of this resource that the terminal acquisition first user that first user is corresponding is determined in the relation chain of first user, the embodiment of the present invention does not do concrete restriction.Such as, as shown in Figure 7, first user can open a certain application storing relation chain in the terminal that first user is corresponding, and selects the second user sharing resource in the good friend stored in this application.About the particular type of a certain application storing relation chain, the embodiment of the present invention does not do concrete restriction.Such as, this application includes but not limited to can be instant messaging application etc.About the quantity of the second user sharing this resource, the embodiment of the present invention does not do concrete restriction equally, and the quantity of the second user can be one, can be multiple yet.
502: terminal to server corresponding to first user submits the user profile of the identification information of first user, resource identification information and the second user to.
Because server is the distinctive resource of first user to the resource that first user opens, other users do not have this resource.Such as, if resource is the resource that first user is paid, server only opens this resource to first user, is then unopened for unpaid second user.For the resource that server opens to first user, first user can by this resource sharing to the second user, and that is, first user has the authority sharing this resource.Therefore, in order to whether the authority, the first user that make server determination first user have to share this resource need to share which resource and determine first user needs share this resource to which the second user, the terminal that first user is corresponding needs the user profile submitting the identification information of first user, resource identification information and the second user to server to.
Submit the mode of user profile of the identification information of first user, resource identification information and the second user about terminal to server corresponding to first user to, can have a variety of.Such as, when first terminal determines the resource that needs to share and after which user sharing this resource to, resource sharing request can be sent to server, the user profile of the identification information of first user, resource identification information and the second user can be carried in this resource sharing request and be committed to server by terminal corresponding to first user, etc.
About the particular content of the user profile of the identification information of first user, resource identification information and the second user, the embodiment of the present invention does not do concrete restriction.Wherein, the identification information of first user can be any information of the identity of differentiation first user, such as, and the account of the first user can registered on the server for first user, etc.; Resource identification information can for distinguishing the unique identification information of the overall situation of each resource; The user profile of the second user can for can allow first user identification which user share the identification information of the second user of resource to, and such as, the user profile of the second user can be the application account that the second user registers in a certain application, etc.
503: server receives the identification information of the first user that terminal corresponding to first user is submitted to, resource identification information and shares the user profile of the second user of resource, and according to the identification information of first user and resource identification information determination first user, whether there is the authority sharing this resource.
Because first user is the resource that server opens to first user to the resource that the second user shares, therefore, when first user needs to share resource, whether server needs have according to the identification information of first user and resource identification information determination first user the authority sharing this resource.
Wherein, whether server has according to the identification information of first user and resource identification information determination first user the authority sharing this resource, includes but not limited to realize as follows:
The first step: because server is when to first user open source, usually can require the grade that the identity of first user reaches certain.Such as, require that first user is member, etc.Therefore, whether server needs to reach according to the identification information determination first user of first user to share hierarchical resource.
Preferably, server can be arranged first user multiplely different shares hierarchical resource, and it is higher to ensure to share hierarchical resource, and the chance that first user shares resource is more, thus raising first user shares the interest of resource.Such as, if first user has and senior shares hierarchical resource, then the chance that 5 times are shared resource can within one month, be obtained; If first user have middle rank share hierarchical resource, then the chance that 3 times are shared resource within one month, can be obtained; If first user has and rudimentary shares hierarchical resource, then the chance that 1 time is shared resource within one month, can be obtained, etc.
Second step: because server carries out certain specific operation to often needing first user during first user open source, as delivery operation, etc.For certain resource, after first user performs this kind of specific operation, server opens this resource to first user.Therefore, after server determination first user reaches and shares hierarchical resource, also need to determine whether to open this resource to first user according to resource identification information.
Such as, if when server is to first user open source, need first user to carry out operation for paying the fee, then, after first user completes charge operation, open this resource to first user.
3rd step: if server is determined to open this resource to first user, then determine that first user has the authority sharing this resource.
Alternatively, hierarchical resource is shared when server determination first user does not reach, or share hierarchical resource when although server determination first user reaches, also do not open this resource to first user, then server determination first user does not have the authority sharing this resource.Now, first user just can not share this resource to the second user.
504: if server determination first user has the authority sharing this resource, then generate the unique resource sharing information of the overall situation according to the user profile of the user profile of first user, resource identification information and the second user, and return resource sharing information to the terminal that first user is corresponding.
For the resource opened to first user, first user this resource peculiar, in order to ensure that first user shares the fail safe of the process of this resource, and first user can be made to share this resource to the second user specified, server is after determining that first user has the authority sharing this resource, user profile according to the user profile of first user, resource identification information and the second user generates the unique resource sharing information of the overall situation, and returns resource sharing information to the terminal that first user is corresponding.Wherein, about the particular content of the user profile of first user, the embodiment of the present invention does not do concrete restriction.Such as, the identification information that the user profile of first user can comprise first user can identify with other out of Memory that first user shares the process uniqueness of this resource, as the open ID of first user, first user determine the timestamp sharing this resource, etc.
Wherein, server generates the unique resource sharing information of the overall situation according to the user profile of the user profile of first user, resource identification information and the second user, include but not limited to can be: the user profile of the user profile of first user, resource identification information and the second user is generated the unique digital signature of the overall situation, and obtains the resource sharing information of carrying the unique digital signature of the overall situation.
About the concrete form of digital signature, the embodiment of the present invention does not do concrete restriction.During concrete enforcement, the form of digital signature includes but not limited to sign for MD5.About the particular content of resource sharing information, the embodiment of the present invention does not do concrete restriction equally, and such as, resource sharing information can for carrying the chained address of digital signature, etc.Particularly, if resource sharing information is the chained address of carrying digital signature, then when carrying digital signature, server can be realized by mode digital signature be encapsulated in chained address.
Preferably, in order to ensure the state consistency of the resource that first user is shared, the situation that impact shares resource process such as avoid repeating sharing and occur, server can arrange multiple state for the resource opened to first user.Such as, include but not limited to arrange the state such as " un-activation ", " activate, wait to share ", " share, get in ", " getting complete " and " cancelling " for resource.Particularly, when first user reach share hierarchical resource but server not to first user open source time, state corresponding to this resource is set for " un-activation "; When first user reach share hierarchical resource and server opens this resource to first user time, state corresponding to this resource is set for " activate, wait to share "; When first user is determined to share a certain resource, and submit the user profile of the identification information of first user, resource identification information and the second user to server after, state corresponding to this resource is set for " share, get in "; After the terminal that server is corresponding to first user returns resource sharing information, state corresponding to this resource is set for " share, get in "; After the terminal that the second user is corresponding gets resource, the state of this resource is set to " getting complete "; If server is in advance also for the hierarchical resource of sharing of first user arranges the time limit, then when first user reaches the time limit arrival of sharing hierarchical resource, first user does not just have the authority sharing resource, and now, the state of the resource opened to first user is set to " cancelling " by server.
Therefore, server, after determining that first user has the authority sharing this resource, can also obtain the current state of this resource according to resource identification information, and determines whether to allow first user to share this resource according to current state; If server is determined to allow first user to share this resource, then perform the user profile according to first user again, step that the user profile of resource identification information and the second user generates the unique resource sharing information of the overall situation.Such as, if the current state of this resource is " cancelling ", then server is determined not allow first user to share this resource; If the current state of this resource is " activate, wait to share ", then server is determined to allow first user to share this resource; If the current state of this resource is in " share, get in ", can determine that first user had shared this resource by this current state, in order to avoid first user repeats to share this resource, now server is determined not allow first user to share this resource, etc.
505: the resource sharing information that the terminal reception server that first user is corresponding returns, and resource sharing information is forwarded to terminal corresponding to the second user.
In order to realize sharing resource to the second user, the resource sharing information that the terminal reception server that first user is corresponding returns, and resource sharing information is forwarded to terminal corresponding to the second user.About the mode of the resource sharing information that the terminal reception server that first user is corresponding returns, and resource sharing information is forwarded to the mode of terminal corresponding to the second user, the embodiment of the present invention does not do concrete restriction.During concrete enforcement, the terminal that first user is corresponding includes but not limited to can by the transmission instruction of Gains resources sharing information, and call corresponding API(Application Program Interface, application programming interfaces) mode resource sharing information is forwarded to terminal corresponding to the second user.
Preferably, after the resource sharing information that the terminal reception server that first user is corresponding sends, this resource sharing information can also be shown, first user can determine whether to share resource according to the resource sharing information of display further, and after first user determines to share resource further, just can realize sharing resource to the second user.About the mode of this resource sharing information of terminal demonstration corresponding to first user, include but not limited to mode as shown in Figure 8 (a) to show.By the whether selected operation of button of sharing in the resource sharing information of detection display, the terminal that first user is corresponding determines whether first user shares this resource.Further, after user determines to share resource, the terminal that first user is corresponding can show shares resource success message.Wherein, the terminal demonstration that first user is corresponding shares the terminal interface of resource success message can be as shown in Figure 8 (b) shows.
Terminal corresponding to 506: the second users receives the resource sharing information that terminal corresponding to first user sends, and gets resource according to resource sharing information.
Preferably, after terminal corresponding to the second user receives the resource sharing information that terminal corresponding to first user send, terminal corresponding to the second user can show this resource sharing information.As shown in Fig. 9 (a), it illustrates the terminal interface schematic diagram of terminal demonstration resource sharing information corresponding to a kind of second user.
Wherein, terminal corresponding to the second user gets resource according to resource sharing information, includes but not limited to realize as follows:
The first step: terminal corresponding to the second user sends the resource of carrying the identification information of the second user according to resource sharing information to server and get request.
The terminal corresponding about the second user sends to server the mode that the resource of carrying the identification information of the second user gets request according to resource sharing information, and the embodiment of the present invention does not do concrete restriction.During concrete enforcement, as shown in Figure 9 (b), the resource sharing acquisition of information resource that second user can send by clicking first user get the page, and gets the resource of carrying the identification information of the second user by clicking " login is got " button to server transmission in the page in resource and get request.Certainly, the second user can also adopt other method to send the resource of carrying the identification information of the second user to server and get request.
Second step: the resource of carrying the identification information of the second user that server receives terminal transmission corresponding to the second user gets request, and determines whether the second user has the authority getting resource according to the identification information of the second user.
The mode that the resource of carrying the identification information of the second user that terminal corresponding to the second user send gets request is received about server, and determine whether the second user has the mode of the authority getting resource according to the identification information of the second user, the embodiment of the present invention does not do concrete restriction.
Particularly, because server in step 504 generates the unique resource sharing information of the overall situation according to the user profile of the user profile of first user, resource identification information and the second user, therefore, according to the identification information of the second user, server is when determining whether the second user has the authority getting resource, can resolve this resource sharing information and the user profile of acquisition the second user wherein, the identification information user profile of the second user parsed and resource being got the second user carried in request carries out mating realizing.The identification information user profile of the second user parsed and resource being got the second user carried in request about server carries out the mode of mating, Ke Yiwei: judge whether to exist in the user profile of the second user the information that the identification information of getting the second user carried in request with resource is consistent; If to exist in the user profile of the second user and resource gets the consistent information of the identification information of the second user carried in request, then determine that the second user has the authority getting this resource.
Further, if server determines that the second user does not have the authority getting this resource, then this second user can not get this resource.Now, this resource can not be got to make clear and definite its of the second user, server can send to the terminal that the second user is corresponding and get failed message, and the terminal display corresponding by the second user gets failure, thus makes the second user know the result getting failure.
3rd step: the resource successfully got first user to make terminal corresponding to the second user and share, if server determines that the second user has the authority getting this resource, then generate resource pickup information according to resource sharing information, and resource pickup information is sent to terminal corresponding to the second user.
Wherein, the embodiment of the present invention does not limit the particular content of resource pickup information, and such as, resource pickup information includes but not limited to can be sequence information, etc.About mode resource pickup information being sent to terminal corresponding to the second user, the embodiment of the present invention does not do concrete restriction equally.During concrete enforcement, can by calling corresponding API to realize.
4th step: the resource pickup information that terminal reception server corresponding to the second user returns, and get resource according to resource pickup information.
About the mode of the resource pickup information that the terminal reception server that the second user is corresponding returns, the embodiment of the present invention does not do concrete restriction.During concrete enforcement, also can realize by calling API.If resource pickup information is sequence information, then the terminal that the second user is corresponding, when getting the mode of resource according to resource pickup information, includes but not limited to get resource by clicking this order.
Preferably, after the terminal that the second user is corresponding successfully gets resource according to resource pickup information, relevant resource unfolding mode can also be called and open resource.Such as, if resource is the video resource that first user is shared, then the second user can call video player to play this resource.
Preferably, after the terminal that the second user is corresponding gets the resource that first user shares, in order to avoid the second user repeats to get, the current state of the state updating resource whether server can also be got by the second user according to resource.Particularly, after the terminal that the second user is corresponding successfully gets the resource that first user shares, the state updating of this resource is " getting complete " by server; Get this resource when the terminal that the second user is corresponding is unsuccessful, then keep the state of this resource for " share, get in ", etc.
The method that the embodiment of the present invention provides, in the resource opened to first user, the resource needing to share is determined by the terminal that first user is corresponding, and the identification information of first user is submitted to server, the user profile of resource identification information and the second user, server is after having according to the identification information of first user and resource identification information determination first user the authority sharing this resource, generate and return resource sharing information, first user sends resource sharing information by the terminal corresponding to the second user and shares resource to the second user, guarantee the resource that first user can open to second user's sharing service device to first user, the scope of resource sharing can not only be expanded, and can by sharing the flexibility that resource improves the social function of website and the interactivity improved between user.
Embodiment three
Embodiments provide a kind of terminal, this terminal is for performing the function performed by terminal that in above-described embodiment one or embodiment two, first user is corresponding.See Figure 10, this terminal comprises:
Determination module 601, for determining the resource needing to share, wherein, this resource is the resource that server opens to first user;
Acquisition module 602, shares for obtaining first user the second user sharing this resource that the resource sharing instruction of this resource and first user determine in the relation chain of first user;
Submit module 603 to, for submitting the user profile of the identification information of first user, resource identification information and the second user to server;
Receiver module 604, after there is the authority sharing this resource for reception server according to the identification information of first user and resource identification information determination first user, generate according to the user profile of the user profile of first user, resource identification information and the second user and the unique resource sharing information of the overall situation returned;
Forwarding module 605, for resource sharing information is forwarded to terminal corresponding to the second user, makes terminal corresponding to the second user receive and get this resource according to resource sharing information.
Preferably, determination module 601, comprising:
Detecting unit, for detecting the resource scan instruction of Quick Response Code corresponding to this resource of scanning;
Scanning element, for scanning Quick Response Code according to this resource scan instruction;
Determining unit, for resource resource corresponding for the Quick Response Code of scanning being defined as needing to share;
Acquisition module, comprising:
Display unit, for showing the resource sharing page corresponding to this resource according to the Quick Response Code of scanning;
Acquiring unit, for obtaining the resource sharing instruction that first user shares this resource in this resource sharing page.
Preferably, forwarding module 605, forwards resource sharing information for calls application interface API.
The terminal that the embodiment of the present invention provides, by determining the resource needing to share in the resource that opens to first user at server, and the user profile of the identification information of first user, resource identification information and the second user is submitted to server, make server after having according to the identification information of first user and resource identification information determination first user the authority sharing this resource, generate and return resource sharing information; The terminal that first user is corresponding forwards resource sharing information by the terminal corresponding to the second user and shares resource to the second user, guarantee the resource that first user can open to second user's sharing service device to first user, the scope of resource sharing can not only be expanded, and can by sharing the flexibility that resource improves the social function of website and the interactivity improved between user.
Embodiment four
Please refer to Figure 11, it illustrates the structural representation of the terminal involved by the embodiment of the present invention, this terminal may be used for the method sharing resource implementing to provide in above-described embodiment.Specifically:
Terminal 700 can comprise RF(Radio Frequency, radio frequency) circuit 110, the memory 120 including one or more computer-readable recording mediums, input unit 130, display unit 140, transducer 150, voicefrequency circuit 160, WiFi(Wireless Fidelity, Wireless Fidelity) module 170, include the parts such as processor 180 and power supply 190 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Figure 11, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 180 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA(Low Noise Amplifier, low noise amplifier), duplexer etc.In addition, RF circuit 110 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code division multiple access), WCDMA (Wideband CodeDivision Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.
Memory 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of memory 120 by running, thus performs the application of various function and data processing.Memory 120 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 700.In addition, memory 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 120 can also comprise Memory Controller, to provide the access of processor 180 and input unit 130 pairs of memories 120.
Input unit 130 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Particularly, input unit 130 can comprise Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 131 or near Touch sensitive surface 131 such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, Touch sensitive surface 131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 131.Except Touch sensitive surface 131, input unit 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 140 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 700 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can comprise display floater 141, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display floater 141.Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 180 to determine the type of touch event, on display floater 141, provide corresponding vision to export with preprocessor 180 according to the type of touch event.Although in fig. 11, Touch sensitive surface 131 and display floater 141 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 131 and display floater 141 integrated and realize input and output function.
Terminal 700 also can comprise at least one transducer 150, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater 141, proximity transducer when terminal 700 moves in one's ear, can cut out display floater 141 and/or backlight.As the one of motion sensor; Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration; size and the direction of gravity can be detected time static, can be used for the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of identification terminal attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for terminal 700 also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal 700.Voicefrequency circuit 160 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker 161, by loud speaker 161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, through RF circuit 110 to send to such as another terminal, or export voice data to memory 120 to process further.Voicefrequency circuit 160 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 700.
WiFi belongs to short range wireless transmission technology, and by WiFi module 170, terminal 700 can help that user sends and receive e-mail, browsing page and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Figure 11 shows WiFi module 170, be understandable that, it does not belong to must forming of terminal 700, can omit in the scope of essence not changing invention as required completely.
Processor 180 is control centres of terminal 700, utilize the various piece of various interface and the whole terminal of connection, software program in memory 120 and/or module is stored in by running or performing, and call the data be stored in memory 120, perform various function and the deal with data of terminal 700, thus integral monitoring is carried out to terminal.Optionally, processor 180 can comprise one or more process core; Preferably, processor 180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal 700 also comprises the power supply 190(such as battery of powering to all parts), preferably, power supply can be connected with processor 180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 700 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of terminal is touch-screen display, and terminal also includes memory, and one or more than one program, one of them or more than one program are stored in memory, and are configured to be performed by more than one or one processor.Described more than one or one program package is containing the instruction for performing following operation:
Determine the resource needing to share, and obtain first user and share the second user sharing this resource that the resource sharing instruction of this resource and first user determine in the relation chain of first user, wherein, this resource is the resource that server opens to first user;
The user profile of the identification information of first user, resource identification information and the second user is submitted to server, after making server have according to the identification information of first user and resource identification information determination first user the authority sharing this resource, user profile according to the user profile of first user, resource identification information and the second user generates the unique resource sharing information of the overall situation, and returns resource sharing information;
The resource sharing information that reception server returns, and resource sharing information is forwarded to terminal corresponding to the second user, make terminal corresponding to the second user receive and get this resource according to resource sharing information.
Suppose that above-mentioned is the first possible execution mode, in the execution mode that the second then provided based on the execution mode that the first is possible is possible, in the memory of terminal, also comprise the instruction for performing following operation: determine the resource needing to share, comprising:
Detect the resource scan instruction of Quick Response Code corresponding to this resource of scanning, and the Quick Response Code corresponding according to this resource scan instruction scanning resource, resource corresponding for the Quick Response Code of scanning is defined as the resource needing to share;
Obtain the resource sharing instruction that first user shares resource, comprising:
Quick Response Code according to scanning shows the resource sharing page corresponding to this resource, and in this resource sharing page, obtain the resource sharing instruction that first user shares this resource.
In the third the possible execution mode provided, in the memory of terminal, also comprising the instruction for performing following operation: resource sharing information is forwarded to terminal corresponding to the second user, comprising based on the execution mode that the first or the second are possible:
Resource sharing information is forwarded to terminal corresponding to the second user by calls application interface API.
The terminal that the embodiment of the present invention provides, by determining the resource needing to share in the resource opened to first user, and the user profile of the identification information of first user, resource identification information and the second user is submitted to server, make server after having according to the identification information of first user and resource identification information determination first user the authority sharing this resource, generate and return resource sharing information; The terminal that first user is corresponding forwards resource sharing information by the terminal corresponding to the second user and shares resource to the second user, guarantee the resource that first user can open to second user's sharing service device to first user, the scope of resource sharing can not only be expanded, and can by sharing the flexibility that resource improves the social function of website and the interactivity improved between user.
Embodiment five
Embodiments provide a kind of computer-readable recording medium, this computer-readable recording medium can be the computer-readable recording medium comprised in the memory in above-described embodiment; Also can be individualism, be unkitted the computer-readable recording medium allocated in terminal.This computer-readable recording medium stores more than one or one program, and this more than one or one program is used for performing the method realizing sharing resource by one or more than one processor, the method comprises:
Determine the resource needing to share, and obtain first user and share the second user sharing this resource that the resource sharing instruction of this resource and first user determine in the relation chain of first user, wherein, this resource is the resource opened to first user;
The user profile of the identification information of first user, resource identification information and the second user is submitted to server, after making server have according to the identification information of first user and resource identification information determination first user the authority sharing this resource, user profile according to the user profile of first user, resource identification information and the second user generates the unique resource sharing information of the overall situation, and returns resource sharing information;
The resource sharing information that reception server returns, and resource sharing information is forwarded to terminal corresponding to the second user, make terminal corresponding to the second user receive and get this resource according to resource sharing information.
Suppose that above-mentioned is the first possible execution mode, in the execution mode that the second then provided based on the execution mode that the first is possible is possible, in the memory of terminal, also comprise the instruction for performing following operation: determine the resource needing to share, comprising:
Detect the resource scan instruction of Quick Response Code corresponding to this resource of scanning, and the Quick Response Code corresponding according to this resource scan instruction scanning resource, resource corresponding for the Quick Response Code of scanning is defined as the resource needing to share;
Obtain the resource sharing instruction that first user shares resource, comprising:
Quick Response Code according to scanning shows the resource sharing page corresponding to this resource, and in this resource sharing page, obtain the resource sharing instruction that first user shares this resource.
In the third the possible execution mode provided, in the memory of terminal, also comprising the instruction for performing following operation: resource sharing information is forwarded to terminal corresponding to the second user, comprising based on the execution mode that the first or the second are possible:
Resource sharing information is forwarded to terminal corresponding to the second user by calls application interface API.
The computer-readable recording medium that the embodiment of the present invention provides, by determining the resource needing to share in the resource opened to first user, and the identification information of first user is submitted to server, the user profile of resource identification information and the second user, make server after having according to the identification information of first user and resource identification information determination first user the authority sharing this resource, generate and return resource sharing information, first user sends resource sharing information by the terminal corresponding to the second user and shares resource to the second user, guarantee the resource that first user can open to second user's sharing service device to first user, the scope of resource sharing can not only be expanded, and can by sharing the flexibility that resource improves the social function of website and the interactivity improved between user.
Embodiment six
Provide a kind of graphical user interface in the embodiment of the present invention, this graphical user interface is used in terminal, and this terminal comprises touch-screen display, memory and one or more than one processor for performing one or more than one program; This graphical user interface comprises:
Determine the resource needing to share, and obtain first user and share the second user sharing this resource that the resource sharing instruction of this resource and first user determine in the relation chain of first user, wherein, this resource is the resource that server opens to first user;
The user profile of the identification information of first user, resource identification information and the second user is submitted to server, after making server have according to the identification information of first user and resource identification information determination first user the authority sharing this resource, user profile according to the user profile of first user, resource identification information and the second user generates the unique resource sharing information of the overall situation, and returns resource sharing information;
The resource sharing information that reception server returns, and resource sharing information is forwarded to terminal corresponding to the second user, make terminal corresponding to the second user receive and get this resource according to resource sharing information.
The graphical user interface that the embodiment of the present invention provides, by determining the resource needing to share in the resource opened to first user, and the user profile of the identification information of first user, resource identification information and the second user is submitted to server, make server after having according to the identification information of first user and resource identification information determination first user the authority sharing this resource, generate and return resource sharing information; The terminal that first user is corresponding forwards resource sharing information by the terminal corresponding to the second user and shares resource to the second user, guarantee the resource that first user can open to second user's sharing service device to first user, the scope of resource sharing can not only be expanded, and can by sharing the flexibility that resource improves the social function of website and the interactivity improved between user.
Embodiment seven
Embodiments provide a kind of server, this server is for performing the function in above-described embodiment one or embodiment two performed by server.See Figure 12, this server comprises:
First receiver module 801, for receiving the identification information of the first user that terminal corresponding to first user is submitted to, resource identification information and sharing the user profile of the second user of resource, wherein, resource is the resource opened to first user;
Whether the first determination module 802, for having according to the identification information of first user and resource identification information determination first user the authority sharing this resource;
First generation module 803, for when determining that first user has the authority sharing this resource, the user profile according to the user profile of first user, resource identification information and the second user generates the unique resource sharing information of the overall situation;
Return module 804, for returning resource sharing information to first terminal, make first terminal receive resource sharing information, and resource sharing information is sent to terminal corresponding to the second user, the terminal corresponding by the second user receives and gets this resource according to resource sharing information.
Preferably, the first determination module 802, comprising:
First determining unit, shares hierarchical resource for whether reaching according to the identification information determination first user of first user;
Second determining unit, for reach when first user share hierarchical resource time, determine whether to open this resource to first user according to resource identification information;
Second determining unit, for when determining to open this resource to first user, determines that first user has the authority sharing resource.
Preferably, the first generation module 803, for the user profile of the user profile of first user, resource identification information and the second user is generated the unique digital signature of the overall situation, obtains the resource sharing information of carrying the unique digital signature of the overall situation.
Preferably, server, also comprises:
Second receiver module, the resource of carrying the identification information of the second user sent for receiving terminal corresponding to the second user gets request;
According to the identification information of the second user, second determination module, for determining whether the second user has the authority getting this resource;
Second generation module, for when determining that the second user has the authority getting this resource, generates resource pickup information according to resource sharing information;
Sending module, for resource pickup information is sent to terminal corresponding to the second user, makes terminal corresponding to the second user receive and get this resource according to resource pickup information.
Preferably, server, also comprises:
Acquisition module, for obtaining the current state of this resource according to resource identification information;
3rd determination module, allows first user to share this resource for determining whether according to current state;
First determination module 802, for when determining to allow first user to share this resource, performs the user profile according to first user, step that the user profile of resource identification information and the second user generates the unique resource sharing information of the overall situation.
Preferably, server, also comprises:
Update module, for the current state of state updating resource whether got by the second user according to this resource.
The server that the embodiment of the present invention provides, by receiving the identification information of first user, the resource identification information of resource opened to first user and the user profile of the second user, and after there is the authority sharing this resource according to the identification information of first user and resource identification information determination first user, generate and return resource sharing information, the terminal making first user corresponding forwards resource sharing information by the terminal corresponding to the second user and shares resource to the second user, guarantee the resource that first user can open to second user's sharing service device to first user, the scope of resource sharing can not only be expanded, and can by sharing the flexibility that resource improves the social function of website and the interactivity improved between user.
Embodiment eight
Figure 13 is the structural representation of server in the embodiment of the present invention.This server 900 can produce larger difference because of configuration or performance difference, one or more central processing units (centralprocessing units can be comprised, CPU) 922(such as, one or more processors) and memory 932, one or more store storage medium 930(such as one or more mass memory units of application program 942 or data 944).Wherein, memory 932 and storage medium 930 can be of short duration storages or store lastingly.The program being stored in storage medium 930 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 922 can be set to communicate with storage medium 930, and server 900 performs a series of command operatings in storage medium 930.
Server 900 can also comprise one or more power supplys 926, one or more wired or wireless network interfaces 950, one or more input/output interfaces 958, one or more keyboards 956, and/or, one or more operating systems 941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
Wherein, the instruction comprised for performing following operation is stored in more than one or one application program 942 in storage medium 930 or data 944:
Receive the identification information of the first user that terminal corresponding to first user is submitted to, resource identification information and share the user profile of the second user of resource, wherein, resource is the resource opened to first user;
According to the identification information of first user and resource identification information determination first user, whether there is the authority sharing this resource;
If determine that first user has the authority sharing this resource, then generate the unique resource sharing information of the overall situation according to the user profile of the user profile of first user, resource identification information and the second user;
Return resource sharing information to first terminal, make first terminal receive resource sharing information, and resource sharing information is sent to terminal corresponding to the second user, the terminal corresponding by the second user receives and gets this resource according to resource sharing information.
Suppose that above-mentioned is the first possible execution mode, in the execution mode that the second then provided based on the execution mode that the first is possible is possible, be stored in more than one or one application program 942 in storage medium 930 or data 944 instruction also comprised for performing following operation: according to the identification information of first user and resource identification information determination first user, whether there is the authority sharing this resource, comprising:
Whether reach according to the identification information determination first user of first user and share hierarchical resource;
If first user reaches share hierarchical resource, then determine whether to open this resource to first user according to resource identification information;
If determine to open this resource to first user, then determine that first user has the authority sharing this resource.
In the third the possible execution mode provided based on the execution mode that the first is possible, be stored in more than one or one application program 942 in storage medium 930 or data 944 instruction also comprised for performing following operation: the user profile according to the user profile of first user, resource identification information and the second user generates the unique resource sharing information of the overall situation, comprising:
The user profile of the user profile of first user, resource identification information and the second user is generated the unique digital signature of the overall situation, obtain the resource sharing information of carrying the unique digital signature of the overall situation.
In the 4th kind of possible execution mode provided based on the execution mode that the first is possible, be stored in more than one or one application program 942 in storage medium 930 or data 944 instruction also comprised for performing following operation: after first terminal returns resource sharing information, also comprise:
The resource of carrying the identification information of the second user receiving terminal transmission corresponding to the second user gets request, and determines whether the second user has the authority getting resource according to the identification information of the second user;
If determine that the second user has the authority getting resource, then generate resource pickup information according to resource sharing information, and resource pickup information is sent to terminal corresponding to the second user, make terminal corresponding to the second user receive and get this resource according to resource pickup information.
In the 5th kind of possible execution mode provided based on the execution mode that the second is possible, be stored in more than one or one application program 942 in storage medium 930 or data 944 instruction also comprised for performing following operation:
After determining that first user has the authority sharing this resource, also comprise:
The current state of this resource is obtained according to resource identification information;
Determine whether to allow first user to share this resource according to current state;
If determine to allow first user to share this resource, then perform the user profile according to first user, step that the user profile of resource identification information and the second user generates the unique resource sharing information of the overall situation.
In the 6th kind of possible execution mode provided based on the 5th kind of possible execution mode, be stored in more than one or one application program 942 in storage medium 930 or data 944 instruction also comprised for performing following operation: after first terminal returns resource sharing information, also comprise:
According to the current state of this resource of state updating whether resource is got by the second user.
The server that the embodiment of the present invention provides, by receiving the identification information of first user, the resource identification information of resource opened to first user and the user profile of the second user, and after there is the authority sharing this resource according to the identification information of first user and resource identification information determination first user, generate and return resource sharing information, the terminal making first user corresponding forwards resource sharing information by the terminal corresponding to the second user and shares resource to the second user, guarantee the resource that first user can open to second user's sharing service device to first user, the scope of resource sharing can not only be expanded, and can by sharing the flexibility that resource improves the social function of website and the interactivity improved between user.
Embodiment nine
Embodiments provide a kind of terminal, this terminal is for performing the function performed by terminal that in above-described embodiment one or embodiment two, second user is corresponding.See Figure 14, this terminal comprises:
Receiver module 1001, for receiving the resource sharing information that terminal corresponding to first user sends, after resource sharing information submits the user profile of the user profile of first user, resource identification information and the second user to by terminal to server corresponding to first user, generated by server and be back to terminal corresponding to first user, wherein, resource is the resource opened to first user;
Get module 1002, for getting this resource according to resource sharing information.
Preferably, get module, comprising:
Transmitting element, gets request for sending the resource of carrying the identification information of the second user according to resource sharing information to server;
Receiving element, after determining that the second user has the authority getting this resource, generates according to resource sharing information and the resource pickup information returned, and gets resource according to resource pickup information for reception server according to the identification information of the second user.
The terminal that the embodiment of the present invention provides, by receiving the resource sharing information that terminal corresponding to first user sends, and get according to resource sharing information the resource that server that first user shares opens to first user, guarantee the resource that sharing service device opens to first user, the scope of resource sharing can not only be expanded, and can by sharing the flexibility that resource improves the social function of website and the interactivity improved between user.
Embodiment ten
Please refer to Figure 15, it illustrates the structural representation of the terminal involved by the embodiment of the present invention, this terminal may be used for the method sharing resource implementing to provide in above-described embodiment.Specifically:
Terminal 1100 can comprise RF(Radio Frequency, radio frequency) circuit 110, the memory 120 including one or more computer-readable recording mediums, input unit 130, display unit 140, transducer 150, voicefrequency circuit 160, WiFi(Wireless Fidelity, Wireless Fidelity) module 170, include the parts such as processor 180 and power supply 190 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Figure 15, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 180 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA(Low Noise Amplifier, low noise amplifier), duplexer etc.In addition, RF circuit 110 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code division multiple access), WCDMA (Wideband CodeDivision Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.
Memory 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of memory 120 by running, thus performs the application of various function and data processing.Memory 120 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 1100.In addition, memory 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 120 can also comprise Memory Controller, to provide the access of processor 180 and input unit 130 pairs of memories 120.
Input unit 130 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Particularly, input unit 130 can comprise Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 131 or near Touch sensitive surface 131 such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, Touch sensitive surface 131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 131.Except Touch sensitive surface 131, input unit 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 140 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 1100 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can comprise display floater 141, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display floater 141.Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 180 to determine the type of touch event, on display floater 141, provide corresponding vision to export with preprocessor 180 according to the type of touch event.Although in fig .15, Touch sensitive surface 131 and display floater 141 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 131 and display floater 141 integrated and realize input and output function.
Terminal 1100 also can comprise at least one transducer 150, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater 141, proximity transducer when terminal 1100 moves in one's ear, can cut out display floater 141 and/or backlight.As the one of motion sensor; Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration; size and the direction of gravity can be detected time static, can be used for the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of identification terminal attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for terminal 1100 also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal 1100.Voicefrequency circuit 160 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker 161, by loud speaker 161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, through RF circuit 110 to send to such as another terminal, or export voice data to memory 120 to process further.Voicefrequency circuit 160 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 1100.
WiFi belongs to short range wireless transmission technology, and by WiFi module 170, terminal 1100 can help that user sends and receive e-mail, browsing page and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Figure 15 shows WiFi module 170, be understandable that, it does not belong to must forming of terminal 1100, can omit in the scope of essence not changing invention as required completely.
Processor 180 is control centres of terminal 1100, utilize the various piece of various interface and the whole terminal of connection, software program in memory 120 and/or module is stored in by running or performing, and call the data be stored in memory 120, perform various function and the deal with data of terminal 1100, thus integral monitoring is carried out to terminal.Optionally, processor 180 can comprise one or more process core; Preferably, processor 180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal 1100 also comprises the power supply 190(such as battery of powering to all parts), preferably, power supply can be connected with processor 180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 1100 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of terminal is touch-screen display, and terminal also includes memory, and one or more than one program, one of them or more than one program are stored in memory, and are configured to be performed by more than one or one processor.Described more than one or one program package is containing the instruction for performing following operation:
Receive the resource sharing information that terminal corresponding to first user sends, after resource sharing information submits the user profile of the user profile of first user, resource identification information and the second user to by terminal to server corresponding to first user, generated by server and be back to terminal corresponding to first user, wherein, resource is the resource opened to first user;
Resource is got according to resource sharing information.
Suppose that above-mentioned is the first possible execution mode, in the execution mode that the second then provided based on the execution mode that the first is possible is possible, in the memory of terminal, also comprise the instruction for performing following operation: get resource according to resource sharing information, comprising:
Send the resource of carrying the identification information of the second user according to resource sharing information to server and get request, after making server determine that the second user has the authority getting resource according to the identification information of the second user, return the resource pickup information generated according to resource sharing information;
The resource pickup information that reception server returns, and get resource according to resource pickup information.
The terminal that the embodiment of the present invention provides, by the terminal that the embodiment of the present invention provides, by receiving the resource sharing information that terminal corresponding to first user sends, and get according to resource sharing information the resource that server that first user shares opens to first user, guarantee the resource that sharing service device opens to first user, the scope of resource sharing can not only be expanded, and can by sharing the flexibility that resource improves the social function of website and the interactivity improved between user.
Embodiment 11
Embodiments provide a kind of computer-readable recording medium, this computer-readable recording medium can be the computer-readable recording medium comprised in the memory in above-described embodiment; Also can be individualism, be unkitted the computer-readable recording medium allocated in terminal.This computer-readable recording medium stores more than one or one program, and this more than one or one program is used for performing the method realizing sharing resource by one or more than one processor, the method comprises:
Receive the resource sharing information that terminal corresponding to first user sends, after resource sharing information submits the user profile of the user profile of first user, resource identification information and the second user to by terminal to server corresponding to first user, generated by server and be back to terminal corresponding to first user, wherein, resource is the resource opened to first user;
Resource is got according to resource sharing information.
Suppose that above-mentioned is the first possible execution mode, in the execution mode that the second then provided based on the execution mode that the first is possible is possible, in the memory of terminal, also comprise the instruction for performing following operation: get resource according to resource sharing information, comprising:
Send the resource of carrying the identification information of the second user according to resource sharing information to server and get request, after making server determine that the second user has the authority getting resource according to the identification information of the second user, return the resource pickup information generated according to resource sharing information;
The resource pickup information that reception server returns, and get resource according to resource pickup information.
The computer-readable recording medium that the embodiment of the present invention provides, by the terminal that the embodiment of the present invention provides, by receiving the resource sharing information that terminal corresponding to first user sends, and get according to resource sharing information the resource that server that first user shares opens to first user, guarantee the resource that sharing service device opens to first user, the scope of resource sharing can not only be expanded, and can by sharing the flexibility that resource improves the social function of website and the interactivity improved between user.
Embodiment 12
Provide a kind of graphical user interface in the embodiment of the present invention, this graphical user interface is used in terminal, and this terminal comprises touch-screen display, memory and one or more than one processor for performing one or more than one program; This graphical user interface comprises:
Receive the resource sharing information that terminal corresponding to first user sends, after resource sharing information submits the user profile of the user profile of first user, resource identification information and the second user to by terminal to server corresponding to first user, generated by server and be back to terminal corresponding to first user, wherein, resource is the resource opened to first user;
Resource is got according to resource sharing information.
The graphical user interface that the embodiment of the present invention provides, by the terminal that the embodiment of the present invention provides, by receiving the resource sharing information that terminal corresponding to first user sends, and get according to resource sharing information the resource that server that first user shares opens to first user, guarantee the resource that sharing service device opens to first user, the scope of resource sharing can not only be expanded, and can by sharing the flexibility that resource improves the social function of website and the interactivity improved between user.
Embodiment 13
See Figure 16, embodiments provide a kind of system sharing resource, this system comprises: first terminal 1201, server 1202 and the second terminal 1203;
Wherein, the terminal that first terminal 1201 provides as above-described embodiment three, specifically refers to the content of above-described embodiment three, repeats no more herein;
The server that server 1202 provides as above-described embodiment seven, specifically refers to the content of above-described embodiment seven, repeats no more herein;
The terminal that second terminal 1203 provides as above-described embodiment nine, specifically refers to the content of above-described embodiment nine, repeats no more herein.
The system that the embodiment of the present invention provides, the resource needing to share is determined in the resource opened to first user at server by terminal corresponding to first user, and the identification information of first user is submitted to server, the user profile of resource identification information and the second user, make server after having according to the identification information of first user and resource identification information determination first user the authority sharing this resource, generate and return resource sharing information, resource sharing information can be forwarded to terminal corresponding to the second user by the terminal making first user corresponding, guarantee the resource that the terminal that first user is corresponding can open to second user's sharing service device to first user, the scope of resource sharing can not only be expanded, and can by sharing the flexibility that resource improves the social function of website and the interactivity improved between user.
It should be noted that: terminal corresponding to the terminal that the first user that above-described embodiment provides is corresponding, server and the second user is when sharing resource, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the system that terminal corresponding to the terminal that the first user that above-described embodiment provides is corresponding, server, the second user is being shared resource and shared resource belongs to same design with the embodiment of the method sharing resource, its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (23)

1. share a method for resource, it is characterized in that, described method comprises:
Determine the resource needing to share, and obtain first user and share the second user sharing described resource that the resource sharing instruction of described resource and described first user determine in the relation chain of described first user, wherein, described resource is the resource opened to described first user;
Submit the user profile of the identification information of described first user, resource identification information and described second user to;
Receive and determine to generate according to the user profile of the user profile of described first user, resource identification information and described second user after described first user has the authority sharing described resource according to the identification information of described first user and described resource identification information and the unique resource sharing information of the overall situation returned, and forward described resource sharing information.
2. method according to claim 1, is characterized in that, the described resource determining to need to share, comprising:
Detect the resource scan instruction of Quick Response Code corresponding to the described resource of scanning, and scan Quick Response Code corresponding to described resource according to described resource scan instruction, resource corresponding for the Quick Response Code of scanning is defined as the resource needing to share;
Described acquisition first user shares the resource sharing instruction of described resource, comprising:
Quick Response Code according to scanning shows the resource sharing page corresponding to described resource, and in the described resource sharing page, obtain the resource sharing instruction that described first user shares described resource.
3. method according to claim 1 and 2, is characterized in that, the described resource sharing information of described forwarding, comprising:
Calls application interface API forwards described resource sharing information.
4. share a method for resource, it is characterized in that, described method comprises:
Receive the identification information of first user, resource identification information and share the user profile of the second user of resource, wherein, described resource is the resource opened to described first user;
Determine whether described first user has the authority sharing described resource according to the identification information of described first user and described resource identification information;
If determine that described first user has the authority sharing described resource, then generate the unique resource sharing information of the overall situation according to the user profile of the user profile of described first user, resource identification information and described second user;
Return described resource sharing information.
5. method according to claim 4, is characterized in that, the described identification information according to described first user and described resource identification information determine whether described first user has the authority sharing described resource, comprising:
Determine whether described first user reaches according to the identification information of described first user and share hierarchical resource;
If described first user reaches share hierarchical resource, then determine whether to open described resource to described first user according to described resource identification information;
If determine to open described resource to described first user, then determine that described first user has the authority sharing described resource.
6. method according to claim 4, is characterized in that, the user profile of the described user profile according to described first user, resource identification information and described second user generates the unique resource sharing information of the overall situation, comprising:
The user profile of the user profile of described first user, resource identification information and described second user is generated the unique digital signature of the overall situation, obtain the resource sharing information of carrying the unique digital signature of the described overall situation.
7. method according to claim 4, is characterized in that, described in return described resource sharing information after, also comprise:
Receive the resource of carrying the identification information of the second user and get request, and determine whether described second user has the authority getting described resource according to the identification information of described second user;
If determine that described second user has the authority getting described resource, then generate resource pickup information according to described resource sharing information, and send described resource pickup information.
8. method according to claim 5, is characterized in that, described determine that described first user has the authority sharing described resource after, also comprise:
The current state of described resource is obtained according to described resource identification information;
Determine whether to allow described first user to share described resource according to described current state;
If determine to allow described first user to share described resource, then perform the user profile according to described first user, step that the user profile of resource identification information and described second user generates the unique resource sharing information of the overall situation.
9. method according to claim 8, is characterized in that, described in return described resource sharing information after, also comprise:
According to the current state of resource described in the state updating whether described resource is got by described second user.
10. share a method for resource, it is characterized in that, described method comprises:
Receive resource sharing information, after described resource sharing information submits the user profile of the user profile of described first user, resource identification information and described second user to by the terminal to server that described first user is corresponding, generated by described server and be back to terminal corresponding to described first user, wherein, resource is the resource that described server opens to described first user;
Described resource is got according to described resource sharing information.
11. methods according to claim 10, is characterized in that, describedly get described resource according to described resource sharing information, comprising:
Send the resource of carrying the identification information of the second user according to described resource sharing information and get request;
Receive and determine that described second user generates and the resource pickup information returned according to described resource sharing information after having the authority getting described resource according to the identification information of described second user, and get described resource according to described resource pickup information.
12. 1 kinds of terminals, is characterized in that, described terminal comprises:
Determination module, for determining the resource needing to share, wherein, described resource is the resource opened to first user;
Acquisition module, shares for obtaining described first user the second user sharing described resource that the resource sharing instruction of described resource and described first user determine in the relation chain of described first user;
Submit module to, for submitting the user profile of the identification information of described first user, resource identification information and described second user to;
Receiver module, determines to generate according to the user profile of the user profile of described first user, resource identification information and described second user after described first user has the authority sharing described resource according to the identification information of described first user and described resource identification information and the unique resource sharing information of the overall situation returned for receiving;
Forwarding module, for forwarding described resource sharing information.
13. terminals according to claim 12, is characterized in that, described determination module, comprising:
Detecting unit, for detecting the resource scan instruction of Quick Response Code corresponding to the described resource of scanning;
Scanning element, for scanning described Quick Response Code according to described resource scan instruction;
Determining unit, for resource resource corresponding for the Quick Response Code of scanning being defined as needing to share;
Described acquisition module, comprising:
Display unit, for showing the resource sharing page corresponding to described resource according to the Quick Response Code of scanning;
Acquiring unit, for obtaining the resource sharing instruction that described first user shares described resource in the described resource sharing page.
14. terminals according to claim 12 or 13, is characterized in that, described forwarding module, forward described resource sharing information for calls application interface API.
15. 1 kinds of servers, is characterized in that, described server comprises:
First receiver module, for receiving the identification information of first user, resource identification information and sharing the user profile of the second user of resource, wherein, described resource is the resource opened to described first user;
According to the identification information of described first user and described resource identification information, first determination module, for determining whether described first user has the authority sharing described resource;
First generation module, for when determining that described first user has the authority sharing described resource, the user profile according to the user profile of described first user, resource identification information and described second user generates the unique resource sharing information of the overall situation;
Return module, for returning described resource sharing information.
16. servers according to claim 15, is characterized in that, described first determination module, comprising:
First determining unit, shares hierarchical resource for determining according to the identification information of described first user whether described first user reaches;
Second determining unit, for reach when described first user share hierarchical resource time, determine whether to open described resource to described first user according to described resource identification information;
Second determining unit, for when determining to open described resource to described first user, determines that described first user has the authority sharing described resource.
17. servers according to claim 15, it is characterized in that, described first generation module, for the user profile of the user profile of described first user, resource identification information and described second user is generated the unique digital signature of the overall situation, obtain the resource sharing information of carrying the unique digital signature of the described overall situation.
18. servers according to claim 15, is characterized in that, described server, also comprises:
Second receiver module, gets request for the resource receiving the identification information carrying the second user;
According to the identification information of described second user, second determination module, for determining whether described second user has the authority getting described resource;
Second generation module, for when determining that described second user has the authority getting described resource, generates resource pickup information according to described resource sharing information;
Sending module, for sending described resource pickup information.
19. servers according to claim 16, is characterized in that, described server, also comprises:
Acquisition module, for obtaining the current state of described resource according to described resource identification information;
3rd determination module, allows described first user to share described resource for determining whether according to described current state;
Described first determination module, for when determining to allow described first user to share described resource, perform the user profile according to described first user, step that the user profile of resource identification information and described second user generates the unique resource sharing information of the overall situation.
20. servers according to claim 19, is characterized in that, described server, also comprises:
Update module, for the current state of resource described in the state updating whether got by described second user according to described resource.
21. 1 kinds of terminals, is characterized in that, described terminal comprises:
Receiver module, for receiving resource sharing information, after described resource sharing information submits the user profile of the user profile of described first user, resource identification information and described second user to by the terminal to server that described first user is corresponding, generated by described server and be back to terminal corresponding to described first user, wherein, resource is the resource that described server opens to described first user;
Get module, for getting described resource according to described resource sharing information.
22. terminals according to claim 21, is characterized in that, described in get module, comprising:
Transmitting element, gets request for sending the resource of carrying the identification information of the second user according to described resource sharing information;
Receiving element, determine that described second user generates and the resource pickup information returned according to described resource sharing information after having the authority getting described resource for receiving according to the identification information of described second user, and get described resource according to described resource pickup information.
23. 1 kinds of systems sharing resource, it is characterized in that, described method comprises: first terminal, server and the second terminal;
Wherein, the terminal of described first terminal any one of claim 12 to 14 as described in claim;
The server of described server any one of claim 15 to 20 as described in claim;
The terminal of described second terminal as described in claim 21 or 22.
CN201410111494.0A 2014-03-24 2014-03-24 Share method, terminal, server and the system of resource Active CN104618217B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410111494.0A CN104618217B (en) 2014-03-24 2014-03-24 Share method, terminal, server and the system of resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410111494.0A CN104618217B (en) 2014-03-24 2014-03-24 Share method, terminal, server and the system of resource

Publications (2)

Publication Number Publication Date
CN104618217A true CN104618217A (en) 2015-05-13
CN104618217B CN104618217B (en) 2018-09-04

Family

ID=53152505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410111494.0A Active CN104618217B (en) 2014-03-24 2014-03-24 Share method, terminal, server and the system of resource

Country Status (1)

Country Link
CN (1) CN104618217B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391622A (en) * 2015-12-07 2016-03-09 腾讯科技(深圳)有限公司 Method and system for sharing resources in instant messaging or social networking application
CN105610949A (en) * 2015-12-30 2016-05-25 腾讯科技(深圳)有限公司 Method, device and system for sharing resource data permission
CN105847133A (en) * 2016-05-31 2016-08-10 成都西部尚高科技有限公司 Method and device for information sharing
CN106022009A (en) * 2016-05-06 2016-10-12 腾讯科技(深圳)有限公司 Media information sharing processing method and device
CN106412109A (en) * 2016-11-10 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Information synchronization method and information synchronization system
CN106708855A (en) * 2015-11-13 2017-05-24 阿里巴巴集团控股有限公司 Information display method and apparatus
WO2017202312A1 (en) * 2016-05-27 2017-11-30 腾讯科技(深圳)有限公司 Message permission management method and device, and storage medium
CN107967652A (en) * 2017-11-15 2018-04-27 维沃移动通信有限公司 A kind of information sharing method, send lateral terminal, receive lateral terminal and server
CN108171559A (en) * 2016-12-07 2018-06-15 阿里巴巴集团控股有限公司 A kind of user gradation processing, target object method for pushing and equipment
CN108777696A (en) * 2018-03-30 2018-11-09 上海掌门科技有限公司 A kind of method and apparatus for sharing e-book
CN109068303A (en) * 2018-07-18 2018-12-21 阿里巴巴集团控股有限公司 A kind of resource sharing method, device and electronic equipment
CN109600408A (en) * 2017-09-30 2019-04-09 腾讯科技(深圳)有限公司 Resource sharing method, device, storage medium and computer equipment
CN110048928A (en) * 2018-01-17 2019-07-23 阿里巴巴集团控股有限公司 Information submission, acquisition, exchange method, device, equipment and system
CN110290053A (en) * 2019-06-18 2019-09-27 腾讯音乐娱乐科技(深圳)有限公司 Resource payment method, terminal and server
CN112286608A (en) * 2020-10-28 2021-01-29 腾讯科技(深圳)有限公司 Message forwarding method and device, computer equipment and storage medium
CN114666140A (en) * 2022-03-25 2022-06-24 金蝶软件(中国)有限公司 Method, device, computer equipment and medium for accessing form

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030101200A1 (en) * 2001-11-28 2003-05-29 Noritaka Koyama Distributed file sharing system and a file access control method of efficiently searching for access rights
CN101022395A (en) * 2007-03-16 2007-08-22 钱晓东 User information sharing and controlling method based on immediate communication platform
CN101179592A (en) * 2007-11-28 2008-05-14 浙江大学 Method for mobile equipment to access to network
CN101771676A (en) * 2008-12-31 2010-07-07 华为技术有限公司 Setting and authentication method for cross-domain authorization and relevant device and system
CN101771532A (en) * 2008-12-31 2010-07-07 华为技术有限公司 Method, device and system for realizing resource sharing
CN102195957A (en) * 2010-03-19 2011-09-21 华为技术有限公司 Resource sharing method, device and system
CN102413151A (en) * 2010-09-20 2012-04-11 北京搜狗科技发展有限公司 Network resource sharing method and system
CN102843366A (en) * 2012-08-13 2012-12-26 北京百度网讯科技有限公司 Network resource access permission control method and device
CN103023684A (en) * 2011-09-26 2013-04-03 腾讯科技(深圳)有限公司 Method, device and system for network information management
CN103166783A (en) * 2011-12-14 2013-06-19 华为技术有限公司 Resource control method and resource control device
CN103428235A (en) * 2012-05-15 2013-12-04 上海博路信息技术有限公司 Data exchange system
CN103581272A (en) * 2012-08-08 2014-02-12 腾讯科技(深圳)有限公司 File transfer method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030101200A1 (en) * 2001-11-28 2003-05-29 Noritaka Koyama Distributed file sharing system and a file access control method of efficiently searching for access rights
CN101022395A (en) * 2007-03-16 2007-08-22 钱晓东 User information sharing and controlling method based on immediate communication platform
CN101179592A (en) * 2007-11-28 2008-05-14 浙江大学 Method for mobile equipment to access to network
CN101771676A (en) * 2008-12-31 2010-07-07 华为技术有限公司 Setting and authentication method for cross-domain authorization and relevant device and system
CN101771532A (en) * 2008-12-31 2010-07-07 华为技术有限公司 Method, device and system for realizing resource sharing
CN102195957A (en) * 2010-03-19 2011-09-21 华为技术有限公司 Resource sharing method, device and system
CN102413151A (en) * 2010-09-20 2012-04-11 北京搜狗科技发展有限公司 Network resource sharing method and system
CN103023684A (en) * 2011-09-26 2013-04-03 腾讯科技(深圳)有限公司 Method, device and system for network information management
CN103166783A (en) * 2011-12-14 2013-06-19 华为技术有限公司 Resource control method and resource control device
CN103428235A (en) * 2012-05-15 2013-12-04 上海博路信息技术有限公司 Data exchange system
CN103581272A (en) * 2012-08-08 2014-02-12 腾讯科技(深圳)有限公司 File transfer method and device
CN102843366A (en) * 2012-08-13 2012-12-26 北京百度网讯科技有限公司 Network resource access permission control method and device

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708855A (en) * 2015-11-13 2017-05-24 阿里巴巴集团控股有限公司 Information display method and apparatus
CN105391622A (en) * 2015-12-07 2016-03-09 腾讯科技(深圳)有限公司 Method and system for sharing resources in instant messaging or social networking application
CN105391622B (en) * 2015-12-07 2019-08-23 腾讯科技(深圳)有限公司 Share the method and system of resource in instant messaging or social networking application
CN105610949A (en) * 2015-12-30 2016-05-25 腾讯科技(深圳)有限公司 Method, device and system for sharing resource data permission
WO2017114444A1 (en) * 2015-12-30 2017-07-06 腾讯科技(深圳)有限公司 Method, device and system for sharing resource data
CN106022009A (en) * 2016-05-06 2016-10-12 腾讯科技(深圳)有限公司 Media information sharing processing method and device
WO2017202312A1 (en) * 2016-05-27 2017-11-30 腾讯科技(深圳)有限公司 Message permission management method and device, and storage medium
US11539687B2 (en) 2016-05-27 2022-12-27 Tencent Technology (Shenzhen) Company Limited Message right management method, device and storage medium
US10791112B2 (en) 2016-05-27 2020-09-29 Tencent Technology (Shenzhen) Company Limited Message right management method, device and storage medium
CN105847133A (en) * 2016-05-31 2016-08-10 成都西部尚高科技有限公司 Method and device for information sharing
CN106412109A (en) * 2016-11-10 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Information synchronization method and information synchronization system
CN108171559A (en) * 2016-12-07 2018-06-15 阿里巴巴集团控股有限公司 A kind of user gradation processing, target object method for pushing and equipment
CN108171559B (en) * 2016-12-07 2021-08-24 阿里巴巴集团控股有限公司 User level processing and target object pushing method and device
CN109600408A (en) * 2017-09-30 2019-04-09 腾讯科技(深圳)有限公司 Resource sharing method, device, storage medium and computer equipment
CN109600408B (en) * 2017-09-30 2020-12-29 腾讯科技(深圳)有限公司 Resource sharing method and device, storage medium and computer equipment
CN107967652B (en) * 2017-11-15 2019-07-26 维沃移动通信有限公司 A kind of information sharing method sends lateral terminal, receives lateral terminal and server
CN107967652A (en) * 2017-11-15 2018-04-27 维沃移动通信有限公司 A kind of information sharing method, send lateral terminal, receive lateral terminal and server
CN110048928A (en) * 2018-01-17 2019-07-23 阿里巴巴集团控股有限公司 Information submission, acquisition, exchange method, device, equipment and system
CN108777696A (en) * 2018-03-30 2018-11-09 上海掌门科技有限公司 A kind of method and apparatus for sharing e-book
CN109068303A (en) * 2018-07-18 2018-12-21 阿里巴巴集团控股有限公司 A kind of resource sharing method, device and electronic equipment
CN110290053A (en) * 2019-06-18 2019-09-27 腾讯音乐娱乐科技(深圳)有限公司 Resource payment method, terminal and server
CN112286608A (en) * 2020-10-28 2021-01-29 腾讯科技(深圳)有限公司 Message forwarding method and device, computer equipment and storage medium
CN112286608B (en) * 2020-10-28 2022-03-18 腾讯科技(深圳)有限公司 Message forwarding method and device, computer equipment and storage medium
CN114666140A (en) * 2022-03-25 2022-06-24 金蝶软件(中国)有限公司 Method, device, computer equipment and medium for accessing form
CN114666140B (en) * 2022-03-25 2024-03-19 金蝶软件(中国)有限公司 Method, device, computer equipment and medium for accessing form

Also Published As

Publication number Publication date
CN104618217B (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN104618217A (en) Method, terminal, server and system for sharing resource
CN104113782B (en) Based on the method for registering of video, terminal, server and system
CN104618440A (en) Intelligent equipment control method and device
CN104869468A (en) Method and apparatus for displaying screen information
CN104518953A (en) Message deleting method, instant messaging terminal and system
CN104978115A (en) Content display method and device
CN103854298A (en) Method for integrating pictures with two-dimension codes and terminal
CN104519485A (en) Communication method between terminals, devices and system
CN103179026B (en) Communication means in user interactive system, system and server and client side
CN105024984A (en) Permission setting method, apparatus and system
CN104618222A (en) Method and device for matching expression image
CN104426962A (en) Multi-terminal binding method, binding server, terminal and multi-terminal binding system
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN104902531A (en) Network connection method, application authentication server, terminal and router
CN104142868A (en) Connection establishment method and device
CN104980455A (en) Multi-terminal data synchronization method based on cloud storage, device and system thereof
CN104571787A (en) Message display method and communication terminal
CN104618223A (en) Information recommendation management method, device and system
CN104954149A (en) Method for sharing data in network conference, device and system thereof
CN103177217B (en) A kind of file scanning method, system and client and server
CN105530239A (en) Multimedia data obtaining method and device
CN104539571A (en) Information interaction method, identity authentication method, server and terminal
CN104699501A (en) Method and device for running application program
CN105530222A (en) Method for establishing connection among terminals, and device and system
CN104660769A (en) Method, device and system for adding contact person information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant