CN105827605B - Sharing files method and file sharing system - Google Patents
Sharing files method and file sharing system Download PDFInfo
- Publication number
- CN105827605B CN105827605B CN201610151556.XA CN201610151556A CN105827605B CN 105827605 B CN105827605 B CN 105827605B CN 201610151556 A CN201610151556 A CN 201610151556A CN 105827605 B CN105827605 B CN 105827605B
- Authority
- CN
- China
- Prior art keywords
- sharing
- recipient
- file
- information
- dimensional code
- 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
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000013507 mapping Methods 0.000 claims abstract description 31
- 238000012795 verification Methods 0.000 claims description 35
- 230000005540 biological transmission Effects 0.000 claims description 16
- 238000010200 validation analysis Methods 0.000 claims description 16
- 238000000151 deposition Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000004064 recycling Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a kind of sharing files method and file sharing system, this document sharing method includes: that the sharing request information sent to sender user is encrypted using preset-key, generates corresponding sharing two dimensional code;Receive sharing two dimensional code, recipient information and file to be shared that sender uploads;It is that file to be shared distributes storage address, and establishes the mapping relations for sharing two dimensional code and storage address, while file to be shared being stored to corresponding storage address according to the file size of file to be shared;It is sent according to recipient information to corresponding each recipient user and shares two dimensional code.Technical solution of the present invention, which passes through, separates sharing two dimensional code with the storage address of file to be shared, to can effectively ensure that the safety and privacy during sharing.
Description
Technical field
The present invention relates to field of communication technology, in particular to a kind of sharing files method and file sharing system.
Background technique
Currently, certain Internet applications for user provide to other user's network resource sharings (such as: webpage, photo,
Network video etc.) function.
In conventional network resources sharing mechanism, sender user is stored in server by network file directly to be shared
In, then server generates corresponding URL (Universal Resource Locator), and then server is raw according to the URL
At corresponding two dimensional code, which is sent to the other users of sharing desired by sender user by last server.
However, this technology server generate two dimensional code in a manner of being shared, safety and privacy compared with
Difference, and the reason of causing the above problem, is, directly includes the storage address of file to be shared in two dimensional code, any user is only
File to be shared can be directly obtained after getting the two dimensional code.By above content as it can be seen that providing one kind has high safety
Property and the sharing files method of high privacy the technical issues of being this field urgent need to resolve.
Summary of the invention
The present invention provides a kind of sharing files method and file sharing system, for solving file to be shared in the prior art
Safety and private poor problem during sharing.
To achieve the above object, the present invention provides a kind of sharing files methods, comprising:
The sharing request information that sender user sends is encrypted using preset-key, generates corresponding sharing two dimension
Code, and the sharing two dimensional code is sent to the sender user, the sharing request information includes: recipient information, institute
Stating recipient information includes: at least one recipient personal account number information and/or at least one recipient family account;
Receive the sharing two dimensional code, the recipient information and file to be shared that the sender uploads;
It is that the file to be shared distributes storage address, and establishes described point according to the file size of the file to be shared
The mapping relations of two dimensional code Yu the storage address are enjoyed, while the file to be shared being stored to corresponding storage address;
The sharing two dimensional code is sent to corresponding each recipient user according to the recipient information.
Optionally, described when in the recipient information including at least one described recipient's family account information
Before the step of sending the sharing two dimensional code to corresponding each recipient user according to the recipient information further include:
Kinsfolk's catalogue listing according to the pre-stored data inquires corresponding all families under each recipient family account
Personal account number's information of front yard member.
To achieve the above object, the present invention also provides a kind of sharing files methods, comprising:
Receive personal account information and scanning that recipient user uploads to share two dimensional code;
The sharing two dimensional code is decrypted using preset-key, obtains the sharing request letter in the sharing two dimensional code
Breath, the sharing request information includes: recipient information, and the recipient information includes: at least one recipient personal account number
Information and/or at least one recipient family account;
Validation verification is carried out to the personal account information that the recipient user uploads according to the recipient information;
It is according to the pre-stored data to reflect when the verification result for the personal account information that the recipient user uploads is effective
Relation table is penetrated, storage address corresponding with the sharing two dimensional code is inquired;
The storage address is sent to the recipient user, so that the recipient user accesses.
Optionally, described when in the recipient information including at least one described recipient's family account information
Before the step of carrying out validation verification to the personal account information that the recipient user uploads according to the recipient information
Further include:
Kinsfolk's catalogue listing according to the pre-stored data inquires corresponding all families under each recipient family account
Personal account number's information of front yard member.
Optionally, the sharing request information further include: file effective time section;
The mapping table according to the pre-stored data inquires the step of storage address corresponding with the sharing two dimensional code
Before rapid further include:
Judge current time whether in file effective time section;
When judge the current time in file effective time section, and the recipient user upload
The verification result of people's account information be it is effective when, then execute the mapping table according to the pre-stored data, inquire with it is described
The step of sharing two dimensional code corresponding storage address.
To achieve the above object, the present invention also provides a kind of file sharing systems, comprising:
Two dimensional code generation unit, the sharing request information for sending to sender user are added using preset-key
It is close, corresponding sharing two dimensional code is generated, and the sharing two dimensional code is sent to the sender user, the sharing request letter
Breath includes: recipient information, the recipient information include: at least one recipient personal account number information and/or at least one
Recipient family account;
First receiving unit, for receive the sharing two dimensional code, the recipient information that the sender uploads and
File to be shared;
Storage unit, for being the file distribution storage ground to be shared according to the file size of the file to be shared
Location, and the mapping relations for sharing two dimensional code and the storage address are established, while the file to be shared being stored to phase
The storage address answered;
First transmission unit, for sending the sharing two to corresponding each recipient user according to the recipient information
Tie up code.
Optionally, further includes: family's catalog unit is inquired for kinsfolk's catalogue listing according to the pre-stored data and respectively connect
Personal account number's information of corresponding all kinsfolks under Shou Zhe family account.
To achieve the above object, the present invention also provides a kind of file sharing systems, comprising:
Second receiving unit, for receive personal account information and the scanning of recipient user's upload to share two dimension
Code;
Two dimensional code decryption unit obtains the sharing for the sharing two dimensional code to be decrypted using preset-key
Sharing request information in two dimensional code, the sharing request information includes: recipient information, the recipient information include: to
Few recipient personal account number information and/or at least one recipient family account;
Account verification unit, the personal account information for being uploaded according to the recipient information to the recipient user
Carry out validation verification;
Query unit, when the verification result of the personal account information for uploading as the recipient user is effective, root
According to pre-stored mapping table, storage address corresponding with the sharing two dimensional code is inquired;
Second transmission unit, for the storage address to be sent to the recipient user, for recipient use
Family accesses.
Optionally, further includes:
Family's catalog unit inquires each recipient family account number letter for kinsfolk's catalogue listing according to the pre-stored data
Personal account number's information of corresponding all kinsfolks under breath.
Optionally, the sharing request information further include: file effective time section;
The file sharing system further include:
Time judging unit, for judging current time whether in file effective time section;
The query unit is used for when judging that the current time in file effective time section, and described connects
When the verification result for the personal account information that receipts person user uploads is effective, then mapping table according to the pre-stored data, is inquired
Storage address corresponding with the sharing two dimensional code out.
The invention has the following advantages:
The present invention provides a kind of sharing files method and file sharing systems, and wherein this document sharing method includes: pair
The sharing request information that sender user sends is encrypted using preset-key, generates corresponding sharing two dimensional code;Receive hair
Sharing two dimensional code, recipient information and the file to be shared that the person of sending uploads;It is wait share according to the file size of file to be shared
File distribute storage address, and establish share two dimensional code and storage address mapping relations, while will file be shared store to
Corresponding storage address;It is sent according to recipient information to corresponding each recipient user and shares two dimensional code.Technology of the invention
Scheme is separated by that will share two dimensional code with the storage address of file to be shared, so that sharing in two dimensional code not comprising needing point
The storage address of file is enjoyed, so even presumptuously enjoying family gets the sharing two dimensional code, and is cracked in the sharing two dimensional code
The information for being included, file to be shared accordingly can not be got by presumptuously enjoying family also, so sharing files provided by the invention
Method can effectively ensure that the safety and privacy during sharing with share system.
Detailed description of the invention
Fig. 1 is a kind of flow chart for sharing files method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of sharing files method provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart for sharing files method that the embodiment of the present invention three provides;
Fig. 4 is a kind of flow chart for sharing files method that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural schematic diagram for file sharing system that the embodiment of the present invention five provides;
Fig. 6 is a kind of structural schematic diagram for file sharing system that the embodiment of the present invention six provides.
Specific embodiment
To make those skilled in the art more fully understand technical solution of the present invention, the present invention is mentioned with reference to the accompanying drawing
A kind of sharing files method and file sharing system supplied is described in detail.
Embodiment one
Fig. 1 is a kind of flow chart for sharing files method that the embodiment of the present invention one provides, as shown in Figure 1, this document point
The method of enjoying includes:
Step 101: the sharing request information that sender user sends being encrypted using preset-key, is generated corresponding
Share two dimensional code, and is sent to sender user for two dimensional code is shared.
When sender user wishes to share some file, needs to send a sharing to file sharing system and ask
Information is sought, recipient information should be included at least in the sharing request information.It should be noted that in practical applications, sender
When user shares, the object of sharing can be personal or family's group (containing at least two kinsfolk), certainly may be used
To share simultaneously to personal with family group.It therefore, include that at least one recipient personal account number believes in the recipient information
Breath and/or at least one recipient family account.
It should be noted that only to carry out example comprising recipient personal account number information in recipient information in the present embodiment
Property description.
Certainly, sender user can also be by the personal account number's information of itself, the related content of file to be shared explanation, text
The information such as part effective time section, selectively write-in is into sharing request information.Wherein, the personal account number of sender user
Information can quickly treat sharing file with the related content of file to be shared explanation convenient for recipient user and understand, and file has
The available time that effect time interval can treat sharing file convenient for sender user controls.
In a step 101, after file sharing system receives the sharing request information of sender user's transmission, file point
The two dimensional code generation unit enjoyed in system is encrypted the sharing request information using preset-key, and generates corresponding
Share two dimensional code.At the same time, the sharing two dimensional code of generation is fed back to sender user by two dimensional code generation unit.
Step 102: receiving sharing two dimensional code, recipient information and file to be shared that sender uploads.
After the sharing two dimensional code that sender user receives two dimensional code generation unit feedback, sender user can will share
Two dimensional code, recipient information and file to be shared, which are bound, to be packaged, and is sent to file sharing system.
In a step 102, the first receiving unit in file sharing system receives the sharing two of reception sender upload
Code, recipient information and file to be shared are tieed up, and identifies the file size of the file to be shared.
Step 103: being that file to be shared distributes storage address, and establishes sharing two according to the file size of file to be shared
The mapping relations of code and storage address are tieed up, while file to be shared being stored to corresponding storage address.
In step 103, the storage unit in file sharing system is wait share according to the file size of file to be shared
File distributes storage address, and establishes the mapping relations for sharing two dimensional code that the storage address is uploaded with sender user.
It should be noted that being previously provided with a mapping table in storage unit, recorded in the mapping table
There is each sharing two dimensional code to share the corresponding storage address of two dimensional code with each.It, should when storage unit needs to distribute new storage address
New storage address will record in the mapping table with the corresponding mapping relations for sharing two dimensional code.
After the mapping relations for sharing two dimensional code and storage address are stored to mapping table, storage unit will text be shared
Part is stored to corresponding storage address, shares two dimensional code at this time, storage address meets one-to-one correspondence with file three to be shared and closes
System.It should be noted that in the present embodiment storage unit virtual memory mode can be used treat share file stored, when
After storage address wait share file changes, it is only necessary to be updated i.e. to sharing two dimensional code and storage address mapping relations
It can.
Step 104: being sent according to recipient information to corresponding each recipient user and share two dimensional code.
At step 104, after storage unit is completed to treat the storage for sharing file, the first hair in file sharing system
Send unit that can send and share to corresponding each recipient user according to the recipient's personal account number's information recorded in recipient information
Two dimensional code.
Due to sharing not comprising the storage address for needing to be shared file in two dimensional code, got so even presumptuously enjoying family
The sharing two dimensional code, and information included in the sharing two dimensional code is cracked, presumptuously enjoying family also can not get accordingly
File to be shared.So sharing files method provided by the invention has preferable safety and privacy.
Embodiment two
Fig. 2 is a kind of flow chart of sharing files method provided by Embodiment 2 of the present invention, as shown in Fig. 2, this document point
The method of enjoying can realize that sender user shares family's group objects, and this document sharing method includes:
Step 101: the sharing request information that sender user sends being encrypted using preset-key, is generated corresponding
Share two dimensional code, and is sent to sender user for two dimensional code is shared.
Unlike the step 101 in above-described embodiment one, in the step 101 of the present embodiment, sharing request letter
Recipient information in breath includes at least one recipient family account.
Step 102: receiving sharing two dimensional code, recipient information and file to be shared that sender uploads.
Step 103: being that file to be shared distributes storage address, and establishes sharing two according to the file size of file to be shared
The mapping relations of code and storage address are tieed up, while file to be shared being stored to corresponding storage address.
It should be noted that since step 102 and step 103 have been described in above-described embodiment one, this reality
It applies in example and is no longer repeated.
Step 104a: kinsfolk's catalogue listing according to the pre-stored data inquires corresponding under each recipient family account
All kinsfolks personal account number's information.
In step 104a, since the sharing object of sender user is family's group objects, and the in file sharing system
One transmission unit can not directly carry out the transmission for sharing two dimensional code, therefore sharing files system according to recipient family account
System needs to obtain corresponding all kinsfolks under each recipient family account shared by family's catalog unit
Personal account number's information.Specifically, kinsfolk's catalogue listing is previously stored in family's catalog unit, kinsfolk's catalogue
Different recipient families account is recorded in table and is located at corresponding all kinsfolks under each recipient family account
Personal account number's information.By inquiring the available each recipient family for including into recipient information of kinsfolk's catalogue listing
Personal account number's information of the corresponding all kinsfolks of front yard account.
Step 104: being sent according to recipient information to corresponding each recipient user and share two dimensional code.
At step 104, after storage unit is completed to treat the storage for sharing file, the first hair in file sharing system
The personal account number's information for the whole kinsfolks for sending unit that can be inquired according to family's catalog unit is used to corresponding each recipient
Family, which is sent, shares two dimensional code, carries out sharing files to family's group objects to realize.
It should be noted that when the recipient information in the sharing request information that sender user sends includes simultaneously to connect
When Shou Zhe family account and recipient's personal account information, then at step 104, the first transmission unit can be according to family's mesh
Record the recipient personal account number recorded in the personal account number's information and recipient information for whole kinsfolks that unit inquires
Information sends to corresponding each recipient user and shares two dimensional code.
Embodiment three
Fig. 3 is a kind of flow chart for sharing files method that the embodiment of the present invention three provides, as shown in figure 3, the present embodiment
The sharing files method of offer obtains file to be shared for realizing recipient user, and this document sharing method includes:
Step 201: receive personal account information and scanning that recipient user uploads to share two dimensional code.
After recipient user, which receives, shares two dimensional code, recipient user can utilize to share accordingly on end of scan
Two dimensional code, and the information that the sharing two dimensional code is included is identified using preset key, if by itself before sender user
Personal account number's information, the related content of file to be shared illustrate write-in into sharing request information, then recipient user at this time
Sharing file can quickly be treated to be understood, so that recipient user decides whether to check file to be shared accordingly.When connecing
Receipts person user confirmation will be checked corresponding when sharing file with the sharing two dimensional code, and recipient user can be by the individual of its own
Account information is sent to file sharing system with the two dimensional code of sharing scanned.
In step 201, the second receiving unit in file sharing system receives the personal account that recipient user uploads
Information shares two dimensional code with what is scanned.
Step 202: being decrypted using preset-key to two dimensional code is shared, obtain sharing the sharing request letter in two dimensional code
Breath.
In step 202, the two dimensional code decryption unit in file sharing system can be using preset-key (in embodiment one
Key when step 101 is encrypted is identical) sharing two dimensional code is decrypted, obtain sharing the sharing request letter in two dimensional code
Breath.Wherein, which includes: recipient information, and recipient information includes: at least one recipient personal account number letter
Breath and/or at least one recipient family account.
It should be noted that only to carry out example comprising recipient personal account number information in recipient information in the present embodiment
Property description.
Step 203: validation verification is carried out to the personal account information that recipient user uploads according to recipient information.
In step 203, the account verification unit in file sharing system can be according to recipient information to recipient user
The personal account information of upload carries out validation verification.Specifically, judge the whole recipients recorded in recipient information individual
With the presence or absence of the personal account information for thering is recipient user to upload in account.If it exists, then illustrate that recipient user uploads
Personal account information be it is effective, i.e., the recipient user is that can share user, continues to execute step 204 at this time;Conversely, then
Illustrate recipient user upload personal account information be it is invalid, i.e., the recipient user be presumptuously enjoy family, at this time to this
Recipient's user feedback accesses the information of file failure to be shared.
Step 204: mapping table according to the pre-stored data inquires storage address corresponding with two dimensional code is shared.
In step 204, the query unit in file sharing system can be closed according to mapping pre-stored in storage unit
It is that table inquires storage address corresponding with two dimensional code is shared.
It should be noted that the query unit can integrate in storage unit.
Step 205: storage address being sent to recipient user, so that recipient user accesses.
In step 205, the storage address that the second transmission unit in file sharing system can inquire query unit
It is sent to corresponding recipient user, so that recipient user's progress beyond the clouds be somebody's turn to do file to be shared or wait for this to share text by opening
Part is downloaded to local.
Due to sharing not comprising the storage address for needing to be shared file in two dimensional code, got so even presumptuously enjoying family
The sharing two dimensional code, and information included in the sharing two dimensional code is cracked, presumptuously enjoying family also can not get accordingly
File to be shared.So sharing files method provided by the invention has preferable safety and privacy.
Example IV
Fig. 4 is a kind of flow chart for sharing files method that the embodiment of the present invention four provides, as shown in figure 4, this document point
Method is enjoyed for when sender user shares family's group objects, realizing that the kinsfolk in family's group objects can obtain
File to be shared is taken, this document sharing method includes:
Step 201: receive personal account information and scanning that recipient user uploads to share two dimensional code.
After some recipient user in family's group objects, which receives, shares two dimensional code, which can be utilized
Share two dimensional code on end of scan accordingly, and identify the information that the sharing two dimensional code is included, and determines and go to check accordingly
File to be shared.At this point, the recipient user can by the personal account information of its own and scanning to share two dimensional code hair
It send to file sharing system.
In step 201, the second receiving unit in file sharing system receives the personal account that recipient user uploads
Information shares two dimensional code with what is scanned.
Step 202: being decrypted using preset-key to two dimensional code is shared, obtain sharing the sharing request letter in two dimensional code
Breath.
In step 202, the two dimensional code decryption unit in file sharing system can be using preset-key (in embodiment one
Key when step 101 is encrypted is identical) sharing two dimensional code is decrypted, obtain sharing the sharing request letter in two dimensional code
Breath.Wherein, which includes: file effective time section and recipient information, and this document effective time section is
The pre-set time interval that is somebody's turn to do file to be shared and can effectively be shared of sender user, recipient information includes: at least
One recipient family account.
Step 203a: kinsfolk's catalogue listing according to the pre-stored data inquires corresponding under each recipient family account
All kinsfolks personal account number's information.
In step 203, since the sharing object of sender user is family's group objects, and account in file sharing system
Family authentication unit directly can not carry out the personal account information that recipient user uploads according to recipient family account
Identity validation verification, therefore before carrying out identity validation verification step, need to first pass through family's catalog unit to obtain
Personal account number's information of corresponding all kinsfolks under each recipient family account shared.Wherein, in family's mesh
It is previously stored with kinsfolk's catalogue listing in record unit, different recipient families account is recorded in kinsfolk's catalogue listing
With the personal account number's information for being located at corresponding all kinsfolks under each recipient family account.
Step 203: validation verification is carried out to the personal account information that recipient user uploads according to recipient information.
In step 203, the account verification unit meeting basis in file sharing system is obtained from family's catalog unit
Personal account number's information of the corresponding all kinsfolks of recipient information Nei Ge recipient family account, to recipient user
The personal account information of upload carries out validation verification.Specifically, judge the recipient information obtained from family's catalog unit
Whether there is in personal account number's information of the corresponding all kinsfolks of Nei Ge recipient family account has recipient user
The personal account information of upload.If it exists, then illustrate that the personal account information that recipient user uploads is effective, i.e. reception
Person user is that can share user, continues to execute step 204b at this time;Conversely, then illustrating the personal account letter that recipient user uploads
Breath be it is invalid, i.e., the recipient user be it is inseparable enjoy family, access file to be shared to recipient's user feedback at this time
The information of failure.
It should be noted that when the recipient information in the sharing request information that sender user sends includes simultaneously to connect
When Shou Zhe family account and recipient's personal account information, then in step 203, account verification unit can be according to family's mesh
The personal account number's letter for the corresponding all kinsfolks of recipient information Nei Ge recipient family account that record unit inquires
Whole recipient personal account number information for recording in breath and recipient information, the personal account that recipient user is uploaded
Information carries out validation verification.
Step 203b: judge current time whether in file effective time section.
In step 203, after the personal account information that recipient user uploads is by validation verification, sharing files
Time judging unit in system can verify the available time of the file to be shared.Specifically, time judging unit
Judge current time whether in file effective time section, if judge current time in file effective time section,
It is expired to illustrate that the share time of the file to be shared does not have, carries out step 204 at this time;If judging, current time does not have in file
It imitates in time interval, then illustrates that the share time of the file to be shared is expired, accessed at this time to recipient's user feedback
The information of file failure to be shared.
By above-mentioned steps 203 as it can be seen that sender user in sharing request information by being written file effective time section,
It is controlled so as to treat the available time of sharing file.
Step 204: mapping table according to the pre-stored data inquires storage address corresponding with two dimensional code is shared.
Step 205: storage address being sent to recipient user, so that recipient user accesses.
It should be noted that since step 204 and step 205 have been described in above-described embodiment three, this reality
It applies in example and is no longer repeated.
In addition, those skilled in the art it should also be understood that in the present invention for identity validation verification the step of (step
203) sequencing of the step of and available time is verified (step 203b) is not construed as limiting, it can step 203b is first carried out,
Step 203 or step 203 are executed again and step 203b is performed simultaneously, this two kinds of situations are no longer described in detail.
Embodiment five
Fig. 5 is a kind of structural schematic diagram for file sharing system that the embodiment of the present invention five provides, as shown in figure 5, this article
Part share system includes: for realizing the sharing files method in above-described embodiment one and embodiment two, this document share system
Two dimensional code generation unit 1, the first receiving unit 2, storage unit 3 and the first transmission unit 4.
Wherein, the sharing request information that two dimensional code generation unit 1 is used to send sender user use preset-key into
Row encryption generates corresponding sharing two dimensional code, and is sent to sender user for two dimensional code is shared, and sharing request information includes:
Recipient information, recipient information include: at least one recipient personal account number information and/or at least one recipient family account
Number information.
Optionally, sharing request information further include: file effective time section.Sender user in sharing request by believing
File effective time section is written in breath, the available time that can treat sharing file is controlled.
First receiving unit 2 is used to receive the sharing two dimensional code of sender's upload, recipient information and file to be shared.
Storage unit 3 is used to be that file to be shared distributes storage address, and establishes according to the file size of file to be shared
Share the mapping relations of two dimensional code and storage address, while file to be shared being stored to corresponding storage address.
First transmission unit 4, which is used to be sent according to recipient information to corresponding each recipient user, shares two dimensional code.
In the present embodiment, it is sent by two dimensional code generation unit 1, the first receiving unit 2, storage unit 3 and first single
Member 4 is, it can be achieved that carry out secure storage to the file to be shared that sender user needs to share, and be sent to two dimensional code is shared
Corresponding recipient user.Need to be shared the storage address of file due to not including in the sharing two dimensional code for being shared,
So even presumptuously enjoying family gets the sharing two dimensional code, and information included in the sharing two dimensional code is cracked, presumptuously
File to be shared accordingly can not be got by enjoying family also.So sharing files method provided by the invention has preferably peace
Full property and privacy.
Optionally, file sharing system further include: family's catalog unit 5, family's catalog unit 5 are used for basis and are stored in advance
Kinsfolk's catalogue listing inquire personal account number's information of corresponding all kinsfolks under each recipient family account.
It should be noted that the two dimensional code generation unit 1 in the present embodiment is for realizing above-described embodiment one and embodiment
Step 101 in two, the first receiving unit 2 in the present embodiment is for realizing the step in above-described embodiment one and embodiment two
102;Storage unit 3 in the present embodiment is for realizing the step 103 in above-described embodiment one and embodiment two;In the present embodiment
Family's catalog unit 5 for realizing the step 104a in above-described embodiment two;The first transmission unit 4 in the present embodiment is used for
Realize the step 104 in above-described embodiment one and embodiment two.Engagement process to each unit in this present embodiment and worked
The description of journey, reference can be made to the content in above-described embodiment one and embodiment two, details are not described herein again.
Embodiment six
Fig. 6 is a kind of structural schematic diagram for file sharing system that the embodiment of the present invention six provides, as shown in fig. 6, this article
Part share system includes: for realizing the sharing files method in above-described embodiment three and example IV, this document share system
Second receiving unit 6, two dimensional code decryption unit 7, account verification unit 8, query unit 9, the second transmission unit 10.
Wherein, the second receiving unit 6 be used to receive personal account information and the scanning of recipient user's upload to share
Two dimensional code.
Two dimensional code decryption unit 7 is used to be decrypted using preset-key to two dimensional code is shared, and obtains sharing in two dimensional code
Sharing request information, sharing request information includes: recipient information, and recipient information includes: at least one recipient individual
Account and/or at least one recipient family account.
Account verification unit 8 is used to carry out the personal account information that recipient user uploads according to recipient information effective
Property verifying.
Query unit 9 is used for when the verification result for the personal account information that recipient user uploads is effective, according to pre-
The mapping table first stored inquires storage address corresponding with two dimensional code is shared.
Second transmission unit 10 is used to storage address being sent to recipient user, so that recipient user accesses.
In the present embodiment, pass through the second receiving unit 6, two dimensional code decryption unit 7, account verification unit 8, query unit
9, the second transmission unit 10 is able to access that file to be shared, it can be achieved that can only share user.Due to the sharing for being shared
Do not include the storage address for needing to be shared file in two dimensional code, so even presumptuously enjoying family gets the sharing two dimensional code, and
Information included in the sharing two dimensional code is cracked, file to be shared accordingly can not be got by presumptuously enjoying family also.So
Sharing files method provided by the invention has preferable safety and privacy
Optionally, this document share system further include: family's catalog unit 5, family's catalog unit 5 are used for basis and deposit in advance
Kinsfolk's catalogue listing of storage inquires personal account number's letter of corresponding all kinsfolks under each recipient family account
Breath.
Optionally, sharing request information further include: file effective time section;File sharing system further include: the time is sentenced
Disconnected unit 11, whether time judging unit 11 is for judging current time in file effective time section;At this point, query unit
9 for when judge current time in the file effective time section, and the personal account information that recipient user uploads to be tested
When card result is effective, then mapping table according to the pre-stored data, inquires storage address corresponding with two dimensional code is shared.
It should be noted that merely exemplary the showing of Fig. 6 carries out identity validity first with account verification unit 8 and tests
Card, recycling time judging unit 11 carry out corresponding structural schematic diagram when available time verifying.Those skilled in the art answer
This knows that the sequencing verified in the present embodiment to identity validation verification and available time is not construed as limiting, i.e. body
Part validation verification process can carry out simultaneously after available time verifying, or with available time verifying, this two kinds of situations
Corresponding attached drawing is not provided.
The second receiving unit 6 in the present embodiment is for realizing the step 201 in above-described embodiment three and example IV, originally
Two dimensional code decryption unit 7 in embodiment is for realizing the step 202 in above-described embodiment three and example IV;In the present embodiment
Family's catalog unit 5 for realizing the step 203a in above-described embodiment four;Account verification unit 8 in the present embodiment is used for
Realize the step 203 in above-described embodiment three and example IV;Time judging unit 11 in the present embodiment is for realizing above-mentioned
Step 203b in example IV;Query unit 9 in the present embodiment is for realizing in above-described embodiment three and example IV
Step 204;The second transmission unit 10 in the present embodiment is for realizing the step 205 in above-described embodiment three and example IV.
Description to the engagement process and the course of work of each unit in this present embodiment, reference can be made in above-described embodiment three and example IV
Content, details are not described herein again.
In addition, those skilled in the art are it should also be understood that by the sharing files in above-described embodiment five and embodiment six
System is combined, to constitute a comprehensive file share system.The comprehensive file share system is not only for sender's safety
User uploads file to be shared, and also obtains for recipient's user security and is somebody's turn to do file to be shared, which can
Safety and privacy during sharing is effectively ensured.
It is understood that the principle that embodiment of above is intended to be merely illustrative of the present and the exemplary implementation that uses
Mode, however the present invention is not limited thereto.For those skilled in the art, essence of the invention is not being departed from
In the case where mind and essence, various changes and modifications can be made therein, these variations and modifications are also considered as protection scope of the present invention.
Claims (6)
1. a kind of sharing files method characterized by comprising
The sharing request information that sender user sends is encrypted using preset-key, generates corresponding sharing two dimensional code,
And the sharing two dimensional code is sent to the sender user, the sharing request information includes: recipient information, described to connect
Receipts person's information includes: at least one recipient personal account number information and/or at least one recipient family account;
Receive the sharing two dimensional code, the recipient information and file to be shared that the sender uploads;
It is that the file to be shared distributes storage address, and establishes the sharing two according to the file size of the file to be shared
The mapping relations of code and the storage address are tieed up, while the file to be shared being stored to corresponding storage address;
The sharing two dimensional code is sent to corresponding each recipient user according to the recipient information;
Receive personal account information and scanning that recipient user uploads to share two dimensional code;
The sharing two dimensional code is decrypted using preset-key, obtains the sharing request information in the sharing two dimensional code;
Validation verification is carried out to the personal account information that the recipient user uploads according to the recipient information;
When the verification result for the personal account information that the recipient user uploads is effective, mapping according to the pre-stored data is closed
It is table, inquires storage address corresponding with the sharing two dimensional code;
The storage address is sent to the recipient user, so that the recipient user accesses.
2. sharing files method according to claim 1, which is characterized in that when including at least in the recipient information
It is described that institute is sent to corresponding each recipient user according to the recipient information when one recipient's family account information
Before the step of stating sharing two dimensional code further include:
Kinsfolk's catalogue listing according to the pre-stored data inquire under each recipient family account corresponding all families at
Personal account number's information of member.
3. sharing files method according to claim 1, which is characterized in that the sharing request information further include: file
Effective time section;
The mapping table according to the pre-stored data, the step of inquiring storage address corresponding with the sharing two dimensional code it
Before further include:
Judge current time whether in file effective time section;
When judge the current time in file effective time section, and acknowledging a debt of uploading of the recipient user
When the verification result of family information is effective, then the mapping table according to the pre-stored data is executed, inquires and shares with described
The step of two dimensional code corresponding storage address.
4. a kind of file sharing system characterized by comprising
Two dimensional code generation unit, the sharing request information for sending to sender user is encrypted using preset-key, raw
Share two dimensional code at corresponding, and the sharing two dimensional code is sent to the sender user, the sharing request packet
Include: recipient information, the recipient information include: at least one recipient personal account number information and/or at least one reception
Person family account;
First receiving unit, for receive the sharing two dimensional code, the recipient information that the sender uploads and to point
Enjoy file;
Storage unit, for being the file distribution storage address to be shared according to the file size of the file to be shared, and
The mapping relations for sharing two dimensional code and the storage address are established, while the file to be shared being stored to depositing accordingly
Store up address;
First transmission unit, for sending the sharing two dimension to corresponding each recipient user according to the recipient information
Code;
Second receiving unit, for receive personal account information and the scanning of recipient user's upload to share two dimensional code;
Two dimensional code decryption unit obtains the sharing two dimension for the sharing two dimensional code to be decrypted using preset-key
Sharing request information in code, the sharing request information includes: recipient information;
Account verification unit, for being carried out according to the recipient information to the personal account information that the recipient user uploads
Validation verification;
Query unit, when the verification result of the personal account information for uploading as the recipient user is effective, according to pre-
The mapping table first stored inquires storage address corresponding with the sharing two dimensional code;
Second transmission unit, for the storage address to be sent to the recipient user, for the recipient user into
Row access.
5. file sharing system according to claim 4, which is characterized in that further include: family's catalog unit is used for basis
Pre-stored kinsfolk's catalogue listing inquires the individual of corresponding all kinsfolks under each recipient family account
Account.
6. file sharing system according to claim 4, which is characterized in that the sharing request information further include: file
Effective time section;
The file sharing system further include:
Time judging unit, for judging current time whether in file effective time section;
The query unit be used for when judge the current time in file effective time section, and the recipient
When the verification result for the personal account information that user uploads is effective, then mapping table according to the pre-stored data, inquire with
The corresponding storage address of the sharing two dimensional code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610151556.XA CN105827605B (en) | 2016-03-16 | 2016-03-16 | Sharing files method and file sharing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610151556.XA CN105827605B (en) | 2016-03-16 | 2016-03-16 | Sharing files method and file sharing system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105827605A CN105827605A (en) | 2016-08-03 |
CN105827605B true CN105827605B (en) | 2019-03-12 |
Family
ID=56524573
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610151556.XA Active CN105827605B (en) | 2016-03-16 | 2016-03-16 | Sharing files method and file sharing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105827605B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357522B (en) * | 2016-10-25 | 2020-03-10 | Oppo广东移动通信有限公司 | Data sharing method and device |
CN108810451A (en) * | 2017-04-26 | 2018-11-13 | 杭州海康威视数字技术股份有限公司 | A kind of video recording storage, access method and video recording storage system |
CN107547534A (en) * | 2017-08-24 | 2018-01-05 | 四川舍舍广告传媒股份有限公司 | A kind of file encrypting method based on Quick Response Code |
CN108667895A (en) * | 2018-03-16 | 2018-10-16 | 南方科技大学 | File sharing method, server based on Quick Response Code and terminal device |
CN109766321A (en) * | 2018-12-15 | 2019-05-17 | 深圳壹账通智能科技有限公司 | A kind of sharing files method, apparatus, computer equipment and storage medium |
CN111339508A (en) * | 2020-02-28 | 2020-06-26 | 北京达佳互联信息技术有限公司 | Shared password analysis method and device, electronic equipment and storage medium |
CN111511045B (en) * | 2020-04-10 | 2023-06-02 | 玳能科技(杭州)有限公司 | Interaction method and device for mobile terminal and computer, electronic equipment and storage medium |
CN112491695A (en) * | 2020-11-25 | 2021-03-12 | 上海中通吉网络技术有限公司 | File sharing method and system |
CN113542812B (en) * | 2021-06-01 | 2023-09-29 | 天翼物联科技有限公司 | Video stream secure sharing method, system, device and storage medium |
WO2023092473A1 (en) * | 2021-11-26 | 2023-06-01 | 京东方科技集团股份有限公司 | Display substrate and preparation method therefor, and display device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103020687A (en) * | 2012-12-14 | 2013-04-03 | 北京奇虎科技有限公司 | Method and system for sharing two-dimension code |
CN103457733A (en) * | 2013-08-15 | 2013-12-18 | 中电长城网际系统应用有限公司 | Data sharing method and system under cloud computing environment |
US9027097B2 (en) * | 2013-02-06 | 2015-05-05 | Dropbox, Inc. | Client application assisted automatic user log in |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090328171A1 (en) * | 2007-05-25 | 2009-12-31 | Si Corporation | Method and system for secure remote storage of electronic media |
-
2016
- 2016-03-16 CN CN201610151556.XA patent/CN105827605B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103020687A (en) * | 2012-12-14 | 2013-04-03 | 北京奇虎科技有限公司 | Method and system for sharing two-dimension code |
US9027097B2 (en) * | 2013-02-06 | 2015-05-05 | Dropbox, Inc. | Client application assisted automatic user log in |
CN103457733A (en) * | 2013-08-15 | 2013-12-18 | 中电长城网际系统应用有限公司 | Data sharing method and system under cloud computing environment |
Also Published As
Publication number | Publication date |
---|---|
CN105827605A (en) | 2016-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105827605B (en) | Sharing files method and file sharing system | |
CN103973736B (en) | A kind of method and device of data sharing | |
US20180367540A1 (en) | Controlling access to content | |
EP3698514B1 (en) | System and method for generating and depositing keys for multi-point authentication | |
CN101208900B (en) | Secure instant messaging | |
JP7266536B2 (en) | Encryption of cloud-based data | |
US20100217984A1 (en) | Methods and apparatus for encrypting and decrypting email messages | |
CN109314635A (en) | Resource management based on block chain | |
CN104065680B (en) | Information processing method, search method, device, user terminal and server | |
CN108876374A (en) | The network identity certificate authentication method and system of block chain | |
US20080285756A1 (en) | Random shared key | |
CN1832477B (en) | System and method for determining a correspondent and server having compatible secure e-mail technology | |
US20170317823A1 (en) | Zero Knowledge Encrypted File Transfer | |
CN102739708A (en) | System and method for accessing third party application based on cloud platform | |
US8619978B2 (en) | Multiple account authentication | |
CN105790962B (en) | Method, device and system for acquiring conference document | |
CN104184740A (en) | Credible transmission method, credible third party and credible transmission system | |
CN106452796B (en) | Authentication authority method, tax-related service platform and relevant device | |
EP2894829A1 (en) | Method for secure transmission of a data object | |
GB2490217A (en) | Authorising data access based on the mutual rights of a user and a terminal | |
CN102882830A (en) | Media resource access control method and equipment | |
CN106534150A (en) | Identity authentication method and system, user terminal and website server | |
CN106412087A (en) | Method and system for sharing ownership proofs | |
CN109067712A (en) | A kind of user cloud data guard method and proxy server | |
US20160285845A1 (en) | Method for setting up, via an intermediate entity, a secure session between a first and a second entity, and corresponding entities and computer program products |
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 |