CN103108009B - File sharing method based on off-line space and device - Google Patents
File sharing method based on off-line space and device Download PDFInfo
- Publication number
- CN103108009B CN103108009B CN201110359725.6A CN201110359725A CN103108009B CN 103108009 B CN103108009 B CN 103108009B CN 201110359725 A CN201110359725 A CN 201110359725A CN 103108009 B CN103108009 B CN 103108009B
- Authority
- CN
- China
- Prior art keywords
- file
- rank
- shared
- sharing
- file destination
- 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.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Storage Device Security (AREA)
Abstract
The embodiment of the invention discloses a kind of file sharing method based on off-line space and device, relate to communication technique field, it is possible to control the Share Permissions of file in off-line space.The method comprise the steps that when active user carries out sharing operation to file destination, obtain the current shared rank that had of active user and sharing operation corresponding to current shared rank;Allow active user that file destination is carried out the sharing operation that current shared rank is corresponding.The embodiment of the present invention is mainly used in the file sharing process in off-line space.
Description
Technical field
The present invention relates to communication technique field, particularly relate to a kind of file sharing method based on off-line space and device.
Background technology
Carry out file-sharing by the Internet, be the important component part of internet communication.In order to improve the download of file
Speed, generally uses off-line space as transfer server.Concrete, user file destination shared in network other become
During member, first file destination is stored in off-line space.In off-line space, the resource of storage all can generate corresponding link, by the
Link is informed to other members in network by the communication tool of tripartite.The user of off-line space passes through under the link that file is corresponding
Carry off the file of storage in space of lines.
During stating file-sharing based on off-line space in realization, inventor finds at least to exist in prior art
Following problem: owing to the use of off-line space can download and propagate the file of storage in off-line space per family, cause file once to be deposited
Storage is to off-line space, and it is shared and propagates uncontrolled.
Summary of the invention
Embodiments of the invention provide a kind of file sharing method based on off-line space and device, it is possible to control off-line empty
The Share Permissions of file between.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
A kind of file sharing method based on off-line space, including:
When active user carries out sharing operation to file destination, obtain the current shared level that described active user is had
The sharing operation that other and described current shared rank is corresponding;
Allow described active user that described file destination carries out the sharing operation that described current shared rank is corresponding.
A kind of file sharing device based on off-line space, including:
Acquiring unit, for when active user carries out sharing operation to file destination, obtains described active user and is had
Some current shared ranks and sharing operation corresponding to described current shared rank;
Allow unit, corresponding for allowing described active user that described file destination carries out described current shared rank
Sharing operation.
The file sharing method based on off-line space of embodiment of the present invention offer and device, by target set in advance
The sharing operation that shared rank that file is corresponding is corresponding with shared rank, the sharing operation carrying out active user filters,
Thus only allow sharing operation corresponding to the shared rank that has of active user, with direct permission off-line space in prior art
The technology that user carries out whole sharing operation by the link of file destination to file destination is compared, it is possible to control in off-line space
The Share Permissions of file destination, and control there is the user of corresponding authority to the sharing operation content performed by file destination.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is file sharing method flow chart based on off-line space in the embodiment of the present invention 1;
Fig. 2 is file sharing method flow chart based on off-line space in the embodiment of the present invention 2;
Fig. 3 is existing a kind of off-line download system structural representation in the embodiment of the present invention 3;
Fig. 4 is a kind of based on off-line space the shared file system structural representation in the embodiment of the present invention 3;
Fig. 5 is a kind of file sharing device structural representation based on off-line space in the embodiment of the present invention 4;
Fig. 6 is another kind of file sharing device structural representation based on off-line space in the embodiment of the present invention 4.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
Embodiment 1
The embodiment of the present invention provides a kind of file sharing method based on off-line space, as it is shown in figure 1, the method includes:
101, when active user carries out sharing operation to file destination, obtain that described active user had current altogether
Enjoy rank and sharing operation corresponding to described current shared rank.
Wherein, each file can corresponding multiple different shared ranks, shared rank that each user is had and
Sharing operation corresponding to each shared rank can preset.Such as, when in file destination write off-line space, mesh is set
The publisher of mark file has the highest shared rank of described file destination, and operation corresponding to this highest shared rank can be reading
Take, revise, delete, manage, share.Therefore, when active user carries out sharing operation to file destination, obtain described currently
Current shared rank that user is had and sharing operation corresponding to described current shared rank, and only allow active user to enter
The sharing operation that the described current shared rank of row is corresponding, does not allow active user to carry out corresponding the sharing of described current shared rank
Operation outside operation.
Concrete, obtaining current shared rank and the described current shared rank correspondence that described active user is had
Sharing operation after, can be by active user to the type of the current operation that file destination is carried out and described current shared rank
The type of corresponding sharing operation is mated, if the match is successful, allows current operation, if mating unsuccessful, terminates current
Operation.
102, allow described active user that described file destination carries out the sharing operation that described current shared rank is corresponding.
Wherein, it is allowed to described active user carries out the sharing operation that described current shared rank is corresponding to described file destination
Method can be: determine active user file destination is carried out current shared operation be belonging to corresponding being total to of current shared rank
Enjoy operation;If current shared operation belongs to the sharing operation that current shared rank is corresponding, then perform current shared operation;If it is current
Sharing operation is not belonging to the sharing operation that current shared rank is corresponding, then terminate current shared operation, and point out active user without
Power performs this operation.
Allow described active user that described file destination carries out the side of sharing operation corresponding to described current shared rank
Method can also be: by the operational controls of the sharing operation that link and the permission of file destination perform, is sent to have correspondence
The other user of share level, or write the shared listed files that this user is corresponding.So that the other user of share level with correspondence is led to
The link crossing correspondence carries out the sharing operation that its shared rank being had is corresponding with operational controls.
It should be noted that it is corresponding to allow described active user that described file destination carries out described current shared rank
The method of sharing operation can be adjusted according to practical situation including, but not limited to above-mentioned form, concrete implementation mode,
The embodiment of the present invention does not limits.
The file sharing method based on off-line space that the embodiment of the present invention provides, by file destination pair set in advance
The sharing operation that the shared rank answered is corresponding with shared rank, the sharing operation carrying out active user filters, thus only
Allow the sharing operation that the shared rank that has of active user is corresponding, directly allow the user of off-line space logical in prior art
Cross the link of file destination file destination carries out the technology of whole sharing operation to compare, it is possible to control target literary composition in off-line space
The Share Permissions of part, and control there is the user of corresponding authority to the sharing operation content performed by file destination.
Embodiment 2
The embodiment of the present invention provides a kind of file sharing method based on off-line space, as in figure 2 it is shown, include:
201, obtain the Share Permissions data base that described file destination is corresponding, described Share Permissions data base comprises described
The shared behaviour that user profile corresponding to shared rank that file destination comprises, each shared rank is corresponding with each shared rank
Make.
Wherein, when file destination write off-line space, the Share Permissions data base corresponding with file destination can be generated.
This Share Permissions data base can be stored in file destination place off-line space in, it is also possible to be stored in other off-line space
The position that server can obtain.
Concrete, in Share Permissions data base, the shared rank of file destination can be comprised, such as: read rank, repair
Change rank, supervisory level etc..Wherein, the corresponding corresponding sharing operation of each shared rank, such as, reads corresponding the sharing of rank
Operation is for opening file, reading file, download file etc.;The sharing operation that modification level is corresponding can include reading the right of rank
Outside should operating, also include the operations such as the amendment to file content, deletion;Supervisory level then can include reading rank and amendment
Outside the sharing operation that rank is corresponding, also include the other setting of the share level to described file destination, set which user and have
Share Permissions, there is which kind of share the operation such as rank.Wherein, the user profile that each shared rank is corresponding can be to have each
The user's name of the other different user of share level or other marks.Such as, the shared rank that user A and user B has is for reading
Rank, then the user profile reading rank corresponding is user name A and B.It should be noted that the other quantity of share level and type,
Concrete sharing operation, shares user profile corresponding to rank and all includes but are not limited to above-mentioned form, concrete shared rank,
Sharing sharing operation corresponding to rank and user profile all can set as the case may be, the embodiment of the present invention does not limits.
202, according to Share Permissions data base described in the information inquiry of active user, obtain what described active user was had
Current shared rank and sharing operation corresponding to described current shared rank.
Wherein, according to the type of user information of storage in the Share Permissions data base obtained in step 201, obtain current using
The information of the corresponding same type at family, according to Share Permissions data base described in the information inquiry of active user, determines described working as
Current shared rank that front user is had and sharing operation corresponding to described current shared rank.
203, determine whether that described active user carries out current shared operation;If it is determined that be to allow described active user
Carry out current shared operation, perform step 204;If it is determined that do not allow described active user to carry out current shared operation, then perform
Step 207.
Wherein, being total to according to the current shared rank that had of described active user obtained in step 202 and correspondence
Enjoy operation, it is allowed to described active user performs the sharing operation that described current shared rank is corresponding.Concrete, can be to determine to work as
Front user is carrying out in the range of whether sharing operation belong to the sharing operation that described current shared rank is corresponding.If current shared
Operation belongs to the sharing operation that current shared rank is corresponding, then allow described active user to carry out current shared operation;If it is current
Sharing operation is not belonging to the sharing operation that described current shared rank is corresponding, does not the most allow described active user to carry out current shared
Operation.
Further, if receiving active user and the current shared of file destination being operated as DRM operations, then phase
The method allowing the operation of described current shared answered can be: according to the setting of active user, configuration comprises described file destination
User profile that the shared rank that comprises, each shared rank are corresponding and sharing operation.Wherein, described DRM operations is permissible
Including: the shared rank of target setting file, set the sharing operation that each shared rank is corresponding, set whether other users have
There are Share Permissions and the shared rank having, it is allowed to or forbid that other users carry out DRM operations, open or terminate mesh
Mark sharing of file etc..DRM operations is including, but not limited to operation described above, and concrete power limit management operation is permissible
Specifically arranging according to practical situation, the embodiment of the present invention does not limits.
Concrete, the realizing Share Permissions management method and can also include of the embodiment of the present invention:
204, obtain and show the friend relation list of described active user.
Wherein, the file sharing method based on off-line space that the embodiment of the present invention provides can be with the communication work such as QQ, MSN
Have with the use of, obtain the address list of communication tool or social platform as friend relation list;Can also set up be exclusively used in from
The friend relation list of space of lines user.By obtaining and showing friend relation list, in order to user is managed by Share Permissions
Which good friend operation, select to have Share Permissions, and set the shared rank that each good friend has, and shared rank pair
The sharing operation answered.Good friend file-sharing selected to active user by friend relation, it is allowed to these good friends are to target literary composition
Part carries out corresponding sharing operation.
205, according to the setting of active user, shared rank, each shared rank pair that described file destination comprises are determined
The user profile answered and sharing operation, and write in described Share Permissions data base.
Wherein, user profile that the shared rank that comprised by described file destination, each shared rank are corresponding and share behaviour
Make to write in described Share Permissions data base, in order to when other users carry out sharing operation to file destination, according to shared power
The information recorded in limit data base, it is judged that whether the operation of this user is allowed to.
It is it addition, if active user selects to have the other user of file destination share level from friend relation list, then described
User profile corresponding to each shared rank is the friend information that each shared rank is corresponding.This user profile can also be multiple
Good friend's grouping information of user's composition, such as, according to the selection of user, the colleague user's group set in good friend's relation list has
The shared rank of file destination, the shared rank being had does not reads rank.Then can obtain colleague by friend relation list
Friend information in user's group, adds it to read in the user profile that rank is corresponding.
206, link corresponding for described file destination is added in the shared listed files that extremely described user profile is corresponding.
Wherein, described user profile is to have the information that the other user of share level of file destination is corresponding, can be by step
Rapid 205 are pre-written in Share Permissions data base.Link corresponding for described file destination is added to described user profile pair
In the shared listed files answered, in order to this user carries out sharing operation by the link in shared listed files to file destination.
It addition, shared listed files corresponding to each user of off-line space can divide two classes storage and displays: a class can
Think that this user uploads or be published to the file of off-line space;Another kind of can be the file shared from other users.Pass through
The link of file in off-line space is sent to the user with Share Permissions, can remove from and generate the link that file destination is corresponding
Or mark, propagate this link or mark without dependence third-party platform or communication tool.Further, the user accepting to share is permissible
By corresponding link, file destination being carried out sharing operation, content that is operated and that quote is still original file destination, can
The storage resource of off-line space is additionally taken so that the new file destination of generation need not be replicated.
207, the current shared operation that file destination is carried out by active user is forbidden.
Wherein, if the current shared operation that file destination is carried out by active user sharing of being not belonging to that active user had
In the range of dictates, the most do not allow the execution that current shared operates.Such as, if active user file destination is carried out work as
Front sharing operation is Share Permissions management operation, and the information obtained according to inquiry represents that active user does not have file destination
Share Permissions, or sharing operation corresponding to the shared rank that had of active user do not comprise Share Permissions management operation, then
Do not allow the execution of this Share Permissions management operation, terminate current shared DRM operations, and point out active user not permitted
Permitted to perform current shared operation.
It should be noted that the file sharing method based on off-line space that the present invention provides, it is allowed to user shares off-line
In space, the picture of storage, document, music, the file of the various forms such as video, can introduce the support to Web client, will
The inquiry Opening of off-line task column database.Just easily file can be shared with good friend by browser.Support tradition version
Pc client, Web version client, mobile version client, in order to which kind of equipment user the most wherever, uses can
The file applied at any time and share in off-line space, it is achieved cross-platform synchronous sharing.
The file sharing method based on off-line space that the embodiment of the present invention provides, by file destination pair set in advance
The sharing operation that the shared rank answered is corresponding with shared rank, the sharing operation carrying out active user filters, thus only
Allow the sharing operation that the shared rank that has of active user is corresponding, directly allow the user of off-line space logical in prior art
Cross the link of file destination file destination carries out the technology of whole sharing operation to compare, it is possible to control target literary composition in off-line space
The Share Permissions of part, and control there is the user of corresponding authority to the sharing operation content performed by file destination.
Embodiment 3
Understand the technical method of the present invention for the ease of those skilled in the art, the present embodiment provides a kind of concrete
Application example.
In the prior art, it is provided that a kind of off-line download technology, downloaded in advance for user by off-line space server generation.
Concrete, if certain file destination is unexpected winner resource, speed of download is very slow, if user uses off-line download tool, allows service
The off-line space server generation of business is downloaded for user so that user can turn off download tool or machine, saves time and electricity
Take.After file destination is downloaded and stored in off-line space by off-line space server, user takes from from off-line space again
By in file destination high-speed downloads to the computer of client on business device.Off-line is downloaded and can be save the time that many on-hooks wait,
It is important that save user bandwidth to carry out other services.
Such as, as it is shown on figure 3, be existing a kind of system composition schematic diagram being carried out off-line download by off-line space,
The flow process that wherein off-line is downloaded is:
First, off-line task management server receives the downloading task that user submits to, obtains the file destination that user submits to
The Http that download address, such as respective file are downloaded links, eMule links, BT downloads seed or Magnet agreement etc..
Then, obtain Url or eMule download link according to the Http link that user provides, or by BT seed file information
Upload to off-line task management server, mission bit stream is write off-line assignment database simultaneously.Concrete, off-line task management
Server, after receiving the downloading task that user submits to, inquires about off-line assignment database, and detection cloud storage server is the most
Through there being the respective file downloaded or downloaded.If the file of coupling detected in server high in the clouds, the most directly lead to
Know client.Client can be directly from cloud storage server downloading object file.If be not detected by server high in the clouds
The file of coupling, then be sent to off-line task Distributor by downloading task.
Then, off-line task Distributor is downloaded the tune of task according to the loading condition of off-line download server group
Degree, off-line download server cluster starts to download, from the Internet download data according to Url.In downloading process, off-line downloads clothes
Business device group can use P2SP download technology, and download progress and intermediateness information reporting is serviced to the distribution of off-line task
Device, is reported to off-line task management server the most again.
Finally, file destination download completed stores cloud storage server, Download History is write off-line simultaneously and appoints
Business data base, in order to user is by client quick-downloading file destination from cloud storage services.
Concrete, in the off-line download system shown in Fig. 3, the Major Function of each server and functional module is as follows:
The major function of client includes: gathered to resource index server lookup source Url by source Url, Hash and literary composition
Part check information, downloads data from source Url set;After completing downloading task, report this downloading task to statistical server
Download time, speed of download, download result, file size, the original link of download and the file name of download file;Downloaded
After Cheng Dangzhong finds the data fragmentation downloaded to, verify, if it find that burst mistake, report to statistical server.
The major function of off-line task management server includes: receive the off-line downloading task that client is submitted to, for each
Independent off-line downloading task generates unique identifier number;The original link information of off-line downloading task is write off-line task
Data base;Receive reporting of off-line download schedule server download progress, simultaneously for client query off-line download progress;Pass through
The Download History of off-line assignment database, determines and whether there is the file destination downloaded in cloud storage server, if existing,
Can directly inform that client-server exists the file destination of user's needs, it is achieved quick-downloading;Download in client request
On cloud storage server during completed file, provide the source Url of file destination to client.
The major function of off-line task Distributor includes: receive the node load that off-line download server cluster reports
Information;According to the loading condition of off-line download server group, dynamically off-line downloading task is dispatched to different off-lines and downloads clothes
On business device node so that off-line download server node performs downloading task;Receive the download that off-line download server group reports
The information such as progress, speed, and the synchronizing information such as progress, speed is reported to off-line downloading task management server;For identical
Off-line download request filter, the downloading task of the most multiple repetitions can share same task off-line download progress letter
Breath.
The major function of cloud storage server includes: preserve the data that off-line download server group has downloaded;For client
End provides the download service of the file downloaded.
The major function of statistical server includes: receive client send download complete, speed of download, download time,
Connection situation, the download statistical information such as result, file size;Statistical information client reported is write as the mode of flowing water daily record
For subsequent statistical analysis.
The major function of off-line download server group includes: receives the scheduling of off-line task Distributor, appoints from off-line
Business data base obtains linking sources, downloading object file;File download completed is stored on cloud storage server for client
Hold quick-downloading;The information such as the progress of off-line download, speed are reported to off-line task Distributor;After off-line has been downloaded
Auxiliary cloud storage server, the destination file downloaded for the quick-downloading off-line of client provides support, it is possible to by the bandwidth retained
The download of file destination is provided;Address to off-line task Distributor registration oneself, it is provided that oneself disk space, CPU bears
Reporting of information carrying breath, dispatches according to load dynamically for off-line download schedule task dispatcher;Off-line has been downloaded
The Hash data write into Databasce that file is corresponding, for the inquiry of subsequent download task.
According to the 26S Proteasome Structure and Function of the off-line download system shown in Fig. 3, this off-line download technology has the advantage that
One, accelerate the download of unexpected winner resource: off-line is downloaded and solved unexpected winner resource downloading slowly, the problem of long-time on-hook utilizes off-line
The powerful bandwidth of download server group, with speed more faster than adsl network by file download to cloud storage server, for client
End provides download at a high speed.Second, the stability that safeguard file is downloaded: if directly downloading resource from internet, due to network rings
The impact in border, speed of download can produce the most expected fluctuation, and off-line downloads the speed that can provide stable.3rd, solve
Network limits: can limit BT, the electricity downloading mode such as donkey, P2SP in subnetwork, and cloud storage server still can provide high
Speed is downloaded.
But, in the off-line download system shown in Fig. 3, if active user wants the sharing files downloaded by off-line
Or pass to oneself good friend, then need to be transmitted online by immediate communication tools such as QQ, MSN, or by sending the asynchronous biography of mail
Pass, or utilize social platform transmission to download resource and link etc..Above-mentioned various resource sharing approach is required for generating a file
Download link, then propagated by third-party platform.Further, file share after link blazes abroad, follow-up enters
One step is propagated and will no longer be controlled by active user.
Further, as shown in Figure 4, for the embodiment of the present invention provide File Sharing Technique based on off-line space be
System structure, adds shared server, relation chain server and Share Permissions data on the basis of original off-line download system
Storehouse, can be independent of third-party platform and carry out the file-sharing in off-line space, and can control file-sharing authority and
Scope.
Concrete, the function of the client of active user also includes: pull friend relation list from shared server, will use
The file destination that family is selected in the listed files of off-line space shares to target good friend;With shared server communication, according to
The setting and modifying Share Permissions data base at family.The client of target good friend pulls the file row of off-line space from shared server
Table, is segmented into the listed files of the exclusive off-line space of target good friend and opens up respectively from shared listed files two parts of good friend
Show.
The major function of shared server includes: accept the inquiry of client, from relation chain server pull friend relation
List, and it is sent to client;With shared rights database communication, the authority of record object file-sharing and there is this share
The friend information of authority;With user client communication, adjust the Share Permissions of file destination according to setting of user and revise shared power
Limit data base;To relation chain server lookup, verify whether two users are friend relation.
The major function of relation chain server includes: provide the inquiry of friend relation list, the good friend of such as active user
List, the good friend's packet belonging to active user;The interface of relation of having verified is provided to sharing service device, whether verifies two users
It is friend relation, or whether checking active user belongs to specific good friend packet.
The major function of Share Permissions data base includes: the Share Permissions information of record object file;Record has target
The friend information of the Share Permissions of file;When users log on, provide inquiry service entrance for off-line task management server, carry
For the file shared in off-line space and relevant authority information.
By the shared file system based on off-line space shown in Fig. 4, the flow process of file-sharing can be: uses current
Family by downloading client, Web client or mobile client be when logging in off-line space, pull from off-line assignment database from
The listed files of space of lines.If receiving the file application requests that user submits to, then from relation chain server pull friend relation
List is shown to client.The file destination needing to share selected according to active user and the target good friend shared, setting
Share Permissions, is such as download permission or read-only authority etc..The link of file destination is added the off-line space of target good friend
In the middle of listed files, the Share Permissions of record object file and there is the good of this Share Permissions in Share Permissions data base
Friend.When target good friend logs in off-line space by client, pull the listed files of the off-line space of its correspondence, it can be seen that
Active user shares to the file destination of target good friend by friend relation.If under now file destination is carried out by target good friend
Carry operation, it is possible to the same with the ordinary file fetched in oneself off-line space, quick-downloading to local client.
It addition, the resource of off-line space that good friend shares can take the memory space of off-line space again.At mesh
The off-line space of mark good friend adds a Reference-links and access control lists, can be according to record in Share Permissions data base
Authority, determines the sharing operation allowing this target good friend to perform.If after file destination is shared to target good friend by active user,
Adjust the Share Permissions of the file destination shared, shared server can be logged on by client, update and share power
Limit data base.
Wherein, the authority of off-line space resource-sharing can be divided into the most several: reads authority, it is allowed to browse off-line space
In file, download file, and the Reference-links of this document and former file destination have identical effect duration, user does not has
Subsequent control right.Change authority, it is allowed to change the file content in off-line space, deletes file.Control authority, it is allowed to again
File destination is shared to other good friends, and the Reference-links of this document and former file destination have identical effect duration, use
Family can control whether to stop sharing.
The file sharing device based on off-line space that the embodiment of the present invention provides, by file destination pair set in advance
The sharing operation that the shared rank answered is corresponding with shared rank, the sharing operation carrying out active user filters, thus only
Allow the sharing operation that the shared rank that has of active user is corresponding, directly allow the user of off-line space logical in prior art
Cross the link of file destination file destination carries out the technology of whole sharing operation to compare, it is possible to control target literary composition in off-line space
The Share Permissions of part, and control there is the user of corresponding authority to the sharing operation content performed by file destination.
Embodiment 4
The embodiment of the present invention provides a kind of file sharing device based on off-line space, as it is shown in figure 5, include: obtain single
Unit 31, permission unit 32.
Acquiring unit 31, for when active user carries out sharing operation to file destination, obtains described active user institute
The current shared rank having and sharing operation corresponding to described current shared rank.
Allow unit 32, be used for allowing described active user that described file destination carries out described current shared rank corresponding
Sharing operation.
Further, as shown in Figure 6, described acquiring unit 31 includes: first acquisition module the 311, second acquisition module
312。
First acquisition module 311, for obtaining the Share Permissions data base that described file destination is corresponding, described Share Permissions
Data base comprises user profile corresponding to shared rank that described file destination comprises, each shared rank and each share level
Not corresponding sharing operation.
Second acquisition module 312, for according to Share Permissions data base described in the information inquiry of active user, obtains described
Current shared rank that active user is had and sharing operation corresponding to described current shared rank.
Further, if the sharing operation that file destination is carried out by described active user is grasped corresponding to Share Permissions management
Making, the most described permission unit 32 is additionally operable to: according to the setting of active user, configuration comprises the share level that described file destination comprises
Not, each shared rank is corresponding user profile and sharing operation.
Described permission unit 32 comprises determining that module 321, adds module 322.
Determine module 321, for according to the setting of active user, determine shared rank that described file destination comprises, each
User profile that individual shared rank is corresponding and sharing operation, and write in described Share Permissions data base.
Add module 322, for adding link corresponding for described file destination to corresponding the sharing of described user profile
In listed files.
Further, shown permission unit 32 also includes: display module 323.
Display module 323, for obtaining and show the friend relation list of described active user.
User profile corresponding to each shared rank described is the friend information that each shared rank is corresponding.
It should be noted that partial function mould in the file sharing device based on off-line space of embodiment of the present invention offer
The specific descriptions of block are referred to embodiment 1 and embodiment 2 corresponding content, and the embodiment of the present invention will repeat here the most one by one.
The file sharing device based on off-line space that the embodiment of the present invention provides, by file destination pair set in advance
The sharing operation that the shared rank answered is corresponding with shared rank, the sharing operation carrying out active user filters, thus only
Allow the sharing operation that the shared rank that has of active user is corresponding, directly allow the user of off-line space logical in prior art
Cross the link of file destination file destination carries out the technology of whole sharing operation to compare, it is possible to control target literary composition in off-line space
The Share Permissions of part, and control there is the user of corresponding authority to the sharing operation content performed by file destination.
Through the above description of the embodiments, those skilled in the art is it can be understood that can borrow to the present invention
The mode helping software to add required common hardware realizes, naturally it is also possible to by hardware, but a lot of in the case of the former is more preferably
Embodiment.Based on such understanding, the portion that prior art is contributed by technical scheme the most in other words
Dividing and can embody with the form of software product, this computer software product is stored in the storage medium that can read, such as meter
The floppy disk of calculation machine, hard disk or CD etc., including some instructions with so that computer equipment (can be personal computer,
Server, or the network equipment etc.) perform the method described in each embodiment of the present invention.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.
Claims (8)
1. a file sharing method based on off-line space, it is characterised in that including:
When active user carries out sharing operation to file destination, obtain current shared rank that described active user had with
And the sharing operation that described current shared rank is corresponding;
Allow described active user that described file destination carries out the sharing operation that described current shared rank is corresponding;
The sharing operation that the described active user of described permission carries out described current shared rank corresponding to described file destination includes:
According to the setting of active user, determine the user that shared rank that described file destination comprises, each shared rank are corresponding
Information and sharing operation, and write in Share Permissions data base;
Link corresponding for described file destination is added in the shared listed files that extremely described user profile is corresponding.
File sharing method based on off-line space the most according to claim 1, it is characterised in that work as described in described acquisition
Current shared rank that front user is had and sharing operation corresponding to described current shared rank, including:
Obtain the Share Permissions data base that described file destination is corresponding, described Share Permissions data base comprises described file destination
The sharing operation that user profile corresponding to the shared rank that comprises, each shared rank is corresponding with each shared rank;
According to Share Permissions data base described in the information inquiry of active user, obtain the current shared that described active user is had
Rank and sharing operation corresponding to described current shared rank.
File sharing method based on off-line space the most according to claim 1 and 2, it is characterised in that described current use
The sharing operation that file destination is carried out by family is corresponding to Share Permissions management operation.
File sharing method based on off-line space the most according to claim 1, it is characterised in that also include:
Obtain and show the friend relation list of described active user;
User profile corresponding to each shared rank described is the friend information that each shared rank is corresponding.
5. a file sharing device based on off-line space, it is characterised in that including:
Acquiring unit, for when active user carries out sharing operation to file destination, obtains what described active user was had
Current shared rank and sharing operation corresponding to described current shared rank;
Allow unit, for allowing described active user that described file destination carries out corresponding the sharing of described current shared rank
Operation;
Described permission unit includes:
Determine module, for according to the setting of active user, determine shared rank, each share level that described file destination comprises
Not corresponding user profile and sharing operation, and write in Share Permissions data base;
Add module, for the shared listed files that extremely described user profile is corresponding is added in link corresponding for described file destination
In.
File sharing device based on off-line space the most according to claim 5, it is characterised in that described acquiring unit bag
Include:
First acquisition module, for obtaining the Share Permissions data base that described file destination is corresponding, described Share Permissions data base
In comprise shared rank that described file destination comprises, each shared rank corresponding user profile corresponding with each shared rank
Sharing operation;
Second acquisition module, for according to Share Permissions data base described in the information inquiry of active user, obtains described current use
Current shared rank that family is had and sharing operation corresponding to described current shared rank.
7. according to the file sharing device based on off-line space described in claim 5 or 6, it is characterised in that described current use
The sharing operation that file destination is carried out by family is corresponding to Share Permissions management operation.
File sharing device based on off-line space the most according to claim 5, it is characterised in that shown permission unit is also
Including:
Display module, for obtaining and show the friend relation list of described active user;
User profile corresponding to each shared rank described is the friend information that each shared rank is corresponding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110359725.6A CN103108009B (en) | 2011-11-14 | 2011-11-14 | File sharing method based on off-line space and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110359725.6A CN103108009B (en) | 2011-11-14 | 2011-11-14 | File sharing method based on off-line space and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103108009A CN103108009A (en) | 2013-05-15 |
CN103108009B true CN103108009B (en) | 2016-12-21 |
Family
ID=48315579
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110359725.6A Active CN103108009B (en) | 2011-11-14 | 2011-11-14 | File sharing method based on off-line space and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103108009B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104750739A (en) * | 2013-12-27 | 2015-07-01 | 珠海金山办公软件有限公司 | Method and device for document sharing between user groups |
US20160140139A1 (en) * | 2014-11-17 | 2016-05-19 | Microsoft Technology Licensing, Llc | Local representation of shared files in disparate locations |
CN106781723A (en) * | 2016-11-16 | 2017-05-31 | 深圳市异度信息产业有限公司 | The sharing method and device of document |
CN107424065A (en) * | 2017-05-15 | 2017-12-01 | 贾琨 | The method and system of electronic invoice in a kind of processing Email |
CN107967658A (en) * | 2017-11-09 | 2018-04-27 | 安徽律正科技信息服务有限公司 | A kind of scientific and technological achievement share system |
CN112995201B (en) * | 2019-01-11 | 2022-07-12 | 深圳联合产权交易所股份有限公司 | Resource value evaluation processing method based on cloud platform and related device |
CN111581660A (en) * | 2019-02-18 | 2020-08-25 | 北京奇虎科技有限公司 | Method and apparatus for preventing trojan from destroying shared file, medium and electronic device |
CN111611220B (en) * | 2019-02-26 | 2024-02-06 | 宁波创元信息科技有限公司 | File sharing method and system based on hierarchical nodes |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1913443A (en) * | 2005-08-11 | 2007-02-14 | 联想(北京)有限公司 | Data exchange method based on E-mail box |
CN101895578A (en) * | 2010-07-06 | 2010-11-24 | 国都兴业信息审计系统技术(北京)有限公司 | Document monitor and management system based on comprehensive safety audit |
-
2011
- 2011-11-14 CN CN201110359725.6A patent/CN103108009B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1913443A (en) * | 2005-08-11 | 2007-02-14 | 联想(北京)有限公司 | Data exchange method based on E-mail box |
CN101895578A (en) * | 2010-07-06 | 2010-11-24 | 国都兴业信息审计系统技术(北京)有限公司 | Document monitor and management system based on comprehensive safety audit |
Also Published As
Publication number | Publication date |
---|---|
CN103108009A (en) | 2013-05-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103108009B (en) | File sharing method based on off-line space and device | |
CN103533006B (en) | A kind of joint cloud disk client, server, system and joint cloud disk service method | |
Wang et al. | Towards network-aware service composition in the cloud | |
EP2773080A1 (en) | Sharing control system and method for network resources download information | |
US11223603B2 (en) | Private virtual network replication of cloud databases | |
CN104322010A (en) | Systems and methods for comparing configuration files and generating corrective commands | |
CN112835977B (en) | Database management method and system based on block chain | |
US11539677B2 (en) | Message-based database replication | |
WO2004031975A1 (en) | A translating switch and method | |
CN103685511B (en) | Data distributing method, device and system | |
CN107819891A (en) | Data processing method, device, computer equipment and storage medium | |
CN109583221A (en) | Dropbox system based on cloudy server architecture | |
CN103812881B (en) | Offline download control method and device | |
US20230185823A1 (en) | Database sharing in a virtual private deployment | |
Wang et al. | CDLB: a cross-domain load balancing mechanism for software defined networks in cloud data centre | |
Verma | Legitimate applications of peer-to-peer networks | |
CN111404936B (en) | File forwarding system and method | |
Padhy et al. | An automation API for authentication and security for file uploads in the cloud storage environment | |
KR101595512B1 (en) | Apparatus and method for uploading multimedia file | |
CN109714193B (en) | Method for taking over object storage service based on zuul routing forwarding mode | |
KR20130077357A (en) | Client, server, system and method for updating data based on peer to peer | |
Baydeti et al. | Scalable Models for Redundant Data Flow Analysis in Online Social Networks | |
Peinl et al. | Infrastructure | |
Chillamcherla | On High Performance Cloud Based File Synchronization with User Collaboration | |
WO2008030494A2 (en) | Managing client-to-server or peer-to-peer relationships in a private or virtual network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |