CN104601582B - A kind of methods, devices and systems of transmission file - Google Patents
A kind of methods, devices and systems of transmission file Download PDFInfo
- Publication number
- CN104601582B CN104601582B CN201510028433.2A CN201510028433A CN104601582B CN 104601582 B CN104601582 B CN 104601582B CN 201510028433 A CN201510028433 A CN 201510028433A CN 104601582 B CN104601582 B CN 104601582B
- Authority
- CN
- China
- Prior art keywords
- user terminal
- download code
- downloaded
- cloud server
- file
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 230000005540 biological transmission Effects 0.000 title claims abstract description 59
- 238000012795 verification Methods 0.000 claims description 17
- 238000013475 authorization Methods 0.000 claims description 10
- 230000002123 temporal effect Effects 0.000 claims description 8
- 238000012937 correction Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 210000004209 hair Anatomy 0.000 description 1
- 238000012545 processing 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
- 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
- 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
-
- 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/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
Abstract
The invention discloses a kind of methods, devices and systems of transmission file, to ensure the information security of file sender.The method includes:First user terminal generates download code;Download code is uploaded to Cloud Server to first user terminal so that Cloud Server can download file to be downloaded authorizes;What the first user terminal reception Cloud Server returned is used to that download code to be prompted to generate correct prompt message;Download code is sent to second user terminal so that the user of second user terminal downloads file to be downloaded using download code from Cloud Server by the first user terminal.With in the prior art, user login information is directly informed the user B of another terminal by terminal user A, it allows user B login Cloud Servers to be downloaded to compare, technical solution provided by the invention ensure that the safety of data of the user A on Cloud Server, also ensure that the privacy of user A is not leaked out.
Description
Technical field
The invention belongs to mobile Internet field more particularly to a kind of methods, devices and systems of transmission file.
Background technology
Mobile Internet (Mobile Internet, MI) be one kind by intelligent mobile terminal, using mobile radio telecommunications
Mode obtains the emerging service of business and service, including three terminal, software and application levels, wherein terminating layer includes intelligence
Mobile phone, tablet computer, e-book, MID etc., software include operating system, middleware, database and security software etc., application layer
Including the different applications such as amusement and recreation class, tool media class, commercial finance and economic and service.
The fast development of intelligent terminal technology provides more and more functions for intelligent terminal user.Such as audio and video
Play, take pictures and other it is various application etc..In conjunction with the Internet technology equally developed rapidly so that intelligent terminal user can
Various files are sent to another terminal from an intelligent terminal whenever and wherever possible.For example, intelligent terminal user can will with it is good
The photo be shared that friend shoots when playing together is to good friend.
A kind of common method that file is sent to another terminal by intelligent terminal user from an intelligent terminal is:Intelligence is eventually
File to be transmitted is first uploaded to Cloud Server by end subscriber A using the account and password of oneself, then, by the account of oneself and close
Code informs that the user B for receiving file, user B use the account and password login Cloud Server of intelligent terminal user A, downloads intelligence
The file of terminal user's A transmission.
However, there are larger risks for the above method.Intelligent terminal user A is equivalent to the transmitting file use on that by oneself
Account on corresponding all data be exposed to user B.Individual morality's factor is excluded, out of curiosity, it cannot be guaranteed that user B
Do not go to check the data of intelligent terminal user A.Once these data are related to individual privacy, then brought to intelligent terminal user A hidden
The risk that private is divulged a secret.
Invention content
The present invention provides a kind of methods, devices and systems of transmission file, to ensure the information security of file sender.
The method that first aspect present invention provides transmission file, including:
First user terminal generates download code, and the download code includes the file letter of user's login account and file to be downloaded
Breath;
The download code is uploaded to Cloud Server by first user terminal, so that the Cloud Server waits for down described
Published article part, which can be downloaded, to be authorized;
First user terminal receives correctly being carried for prompting the download code to generate for the Cloud Server return
Show information;
The download code is sent to second user terminal by first user terminal, so that the second user terminal
User downloads the file to be downloaded using the download code from the Cloud Server.
With reference to first aspect, in the first possible realization method of first aspect, first user terminal generates
Download code, including:
Generate random code;
Obtain the fileinfo of user's login account and file to be downloaded;
According to create-rule, the random code, user's login account of acquisition and the fileinfo of file to be downloaded, generate
The download code.
With reference to first aspect or the first possible realization method of first aspect, second in first aspect are possible
Realization method in, the download code also include check bit.
Second aspect of the present invention provides a kind of method of transmission file, including:
The download code of the first user terminal uploads of cloud server, the download code include user's login account and wait for down
The fileinfo of published article part;
The Cloud Server can download the file to be downloaded and authorize;
The Cloud Server is returned to first user terminal for prompting the download code to generate correctly prompt letter
Breath;
The download for the download code and first user terminal uploads that the Cloud Server verification second user terminal is sent
Whether code is consistent;
If the download code that the second user terminal is sent is consistent with the download code of the first user terminal uploads, show
Show that the file to be downloaded is downloaded for the user of the second user terminal.
In conjunction with second aspect, in the first possible realization method of second aspect, the cloud server first
After the download code of user terminal uploads, the method further includes:
The Cloud Server verifies the download code of first user terminal uploads;
If check results are that the download code of first user terminal uploads is correct download code, the Cloud Server
Preserve the download code of first user terminal uploads.
Third aspect present invention provides a kind of device of transmission file, including:
Generation module, for generating download code, the download code includes the file of user's login account and file to be downloaded
Information;
Uploading module, the download code for generating the generation module are uploaded to Cloud Server, so that the cloud service
Device can download the file to be downloaded and authorize;
Receiving module is prompted, for receiving correctly being carried for prompting the download code to generate for the Cloud Server return
Show information;
Sending module, the download code for generating the download code generation module are sent to second user terminal, so that
The user of the second user terminal downloads the file to be downloaded using the download code from the Cloud Server.
In conjunction with the third aspect, in the first possible realization method of the third aspect, the generation module includes:
Random code generation unit, for generating random code;
Acquiring unit, the fileinfo for obtaining user's login account and file to be downloaded;
Download code generation unit, for according to create-rule, the random code, user's login account of acquisition and to be downloaded
The fileinfo of file generates the download code.
In conjunction with the possible realization method of the first of the third aspect or the third aspect, second in the third aspect may
Realization method in, the download code also include check bit.
Fourth aspect present invention provides a kind of device of transmission file, including:
Download code receiving module, the download code for receiving the first user terminal uploads, the download code are stepped on comprising user
Record the fileinfo of account and file to be downloaded;
Authorization module is authorized for that can be downloaded to the file to be downloaded;
Prompt returns to module, for being returned to first user terminal for prompting the download code generation correctly to carry
Show information;
Authentication module, the download of download code and first user terminal uploads for verifying the transmission of second user terminal
Whether code is consistent;
Display module, if for being verified by the authentication module, download code and institute that the second user terminal is sent
The download code for stating the first user terminal uploads is consistent, then shows the file to be downloaded under the user of the second user terminal
It carries.
In conjunction with fourth aspect, in the first possible realization method of fourth aspect, described device further includes:
Correction verification module, after being used for the download code that download code receiving module receives the first user terminal uploads, to described first
The download code of user terminal uploads is verified;
Preserving module, if the download code that the check results for the correction verification module are first user terminal uploads is
Correct download code then preserves the download code of first user terminal uploads.
Fifth aspect present invention provides a kind of system of transmission file, including the first user terminal, Cloud Server and second
User terminal, first user terminal include generation module, uploading module, prompt receiving module and sending module, the cloud
Server includes download code receiving module, authorization module, prompt return module, authentication module and display module;
The generation module, for generating download code, the download code includes user's login account and file to be downloaded
Fileinfo;
The uploading module, the download code for generating the generation module are uploaded to the Cloud Server, so that institute
It states Cloud Server the file to be downloaded can be downloaded and authorize;
The prompt receiving module, for receiving the correct for prompting the download code to generate of the Cloud Server return
Prompt message;
The sending module, it is whole that the download code for generating the download code generation module is sent to the second user
End, so that the user of the second user terminal downloads the file to be downloaded using the download code from the Cloud Server;
The download code receiving module, the download code that the uploading module for receiving first user terminal uploads;
The authorization module is authorized for that can be downloaded to the file to be downloaded;
The prompt returns to module, correct for prompting the download code to generate for being returned to first user terminal
Prompt message;
The authentication module, the upload of download code and first user terminal for verifying the transmission of second user terminal
Whether the download code that module uploads is consistent;
The display module, if for being verified by the authentication module, the download code that the second user terminal is sent
It is consistent with the download code of the first user terminal uploads, then show the file to be downloaded for the second user terminal
It downloads at family;
The second user terminal, the download code that the sending module for first user terminal is sent, by institute
It states download code and is sent to the Cloud Server, in the download code and described that authentication module verification second user terminal is sent
The download code of one user terminal uploads is consistent, and when the display module shows the file to be downloaded, from the cloud service
Device downloads the file to be downloaded.
From the embodiments of the present invention it is found that the fileinfo for including to download code only due to Cloud Server is corresponding waits for down
Published article part, which can be downloaded, to be authorized, in this way, when download code is sent to second user terminal, second user by the first user terminal
When terminal logs in the Cloud Server using the download code, Cloud Server only authorizes Downloadable text to the display of second user terminal
Part is for second user terminal downloads.Therefore, in the prior art, user login information is directly informed another end by terminal user A
The user B at end allows user B login Cloud Servers to be downloaded and compares, this invention ensures that data of the user A on Cloud Server
Safety, also ensured that the privacy of user A is not leaked out.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without having to pay creative labor, may be used also for those of ordinary skill in the art
With obtain other attached drawings according to these attached drawings.
Fig. 1 is the implementation process schematic diagram of the method for the transmission file that the embodiment of the present invention one provides;
Fig. 2 is the implementation process schematic diagram of the method for transmission file provided by Embodiment 2 of the present invention;
Fig. 3 is the implementation process schematic diagram of the method for the transmission file that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram of the device for the transmission file that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram of the device for the transmission file that the embodiment of the present invention five provides;
Fig. 6 is the structural schematic diagram of the device for the transmission file that the embodiment of the present invention six provides;
Fig. 7 is the structural schematic diagram of the device for the transmission file that the embodiment of the present invention seven provides;
Fig. 8 is the structural schematic diagram of the system for the transmission file that the embodiment of the present invention eight provides.
Specific implementation mode
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality
It is only a part of the embodiment of the present invention to apply example, and not all embodiments.Based on the embodiments of the present invention, the common skill in this field
The every other embodiment that art personnel are obtained without making creative work belongs to the model that the present invention protects
It encloses.
The embodiment of the present invention provides a kind of method of transmission file, the method includes:First user terminal, which generates, to be downloaded
Code, the download code include the fileinfo of user's login account and file to be downloaded;Under first user terminal will be described
It carries code and is uploaded to Cloud Server, authorized so that the Cloud Server can download the file to be downloaded;Described first
User terminal receive that the Cloud Server returns for prompting the download code to generate correct prompt message;Described first uses
The download code is sent to second user terminal by family terminal, so that the user of the second user terminal uses the download code
The file to be downloaded is downloaded from the Cloud Server.The embodiment of the present invention also provides the device of corresponding transmission file and is
System.It is described in detail separately below.
Please refer to attached drawing 1, be the embodiment of the present invention one provide transmission file method implementation process, include mainly with
Lower step S101 to step S104:
S101, the first user terminal generate download code, and the download code includes user's login account and file to be downloaded
Fileinfo.
In embodiments of the present invention, user terminal can be the mobile terminals such as smart mobile phone, tablet computer, can also be all
Such as PC equipment.In order to be distinguished two terminals, the present invention indicates the offer of file using the first user terminal
Side indicates the download side of file using second user terminal.It is understood that the provider as file, the first user is whole
End has used user's login account to log in Cloud Server before generating download code, by quasi- for second user terminal downloads
File, that is, file to be downloaded is uploaded to Cloud Server.The fileinfo of so-called file to be downloaded can be for uniquely marking
Know file to be downloaded information, such as file ID, file attribute information, file seed etc. it is therein any one or it is several
Combination.
The download code generated through step S101 is uploaded to Cloud Server by S102, the first user terminal, so that the cloud takes
Business device, which can download file to be downloaded, to be authorized.
Since download code contains the fileinfo of file to be downloaded, Cloud Server, can be with after receiving download code
According to fileinfo wherein included, these files to be downloaded can be downloaded and authorized, i.e., the file to be downloaded be assigned
It can be by the permission of second user terminal downloads.
S103, what the first user terminal reception Cloud Server returned is used to that download code to be prompted to generate correct prompt message.
Cloud Server verifies the correctness of the download code after the download code for receiving the first user terminal uploads.
If by verification, the results showed that be correct identifying code, then returned to the first user terminal correct for prompting download code to generate
Prompt message.
Download code is sent to second user terminal by S104, the first user terminal, so that the user of second user terminal makes
With the download code file to be downloaded is downloaded from Cloud Server.
From above-mentioned attached drawing 1 it is exemplary transmission file method it is found that due to Cloud Server only include to download code file
The corresponding file to be downloaded of information, which can be downloaded, to be authorized, in this way, when download code is sent to the second use by the first user terminal
Family terminal, when second user terminal logs in the Cloud Server using the download code, Cloud Server is only aobvious to second user terminal
Show and authorizes Downloadable file for second user terminal downloads.Therefore, in the prior art, terminal user A directly steps on user
Record information informs the user B of another terminal, allows user B login Cloud Servers to be downloaded and compares, this invention ensures that user A exists
The safety of data on Cloud Server has also ensured that the privacy of user A is not leaked out.
Please refer to attached drawing 2, be it is provided by Embodiment 2 of the present invention transmission file method implementation process, include mainly with
Lower step S201 to step S206.
S201 generates random code.
In embodiments of the present invention, when generating download code, one of a random code as composition download code can be generated
Part.Due to the randomness of random code, it is hereby ensured that will not generate identical download code.It is similar with previous embodiment one,
As the provider of file, the first user terminal has used user's login account to log in cloud service before generating random code
Quasi- file, that is, file to be downloaded for second user terminal downloads is uploaded to Cloud Server by device.
S202 obtains the fileinfo of user's login account and file to be downloaded.
In the present embodiment, the use that the fileinfo of user's login account and file to be downloaded is referred to embodiment one respectively
Family login account is identical with the concept of the fileinfo of file to be downloaded.As previously mentioned, the user of the first user terminal is
Cloud Server is logged in using user's login account, quasi- file, that is, file to be downloaded for second user terminal downloads is uploaded
To Cloud Server, therefore, in this course, the first user terminal is easy to obtain user's login account and file to be downloaded
Fileinfo.
S203, the user's login account and wait for that the random code generated according to create-rule, step S201, step S202 are obtained
The fileinfo of file is downloaded, download code is generated.
In embodiments of the present invention, create-rule namely generates a kind of algorithm of download code, can be the first user
Terminal is self-defined, can also be the higher Encryption Algorithm of safety that third party provides, but either any, create-rule pair
It is visible for Cloud Server, that is, to same download code, Cloud Server and the first user terminal all know its create-rule.
It should be noted that other than the fileinfo comprising user's login account and file to be downloaded, download code can also include school
Test position and temporal information.
Illustrated below, the user of the random code, step S202 acquisitions that are generated according to create-rule, step S201 logs in
The fileinfo of account and file to be downloaded, the method for generating download code:
Assuming that the entitled chenjianbo of the user of the first user terminal, Cloud Server can there are one with chenjianbo this
The corresponding major key ID of user name, it is assumed that major key ID be 89563, then, at this time 89563 be user's login account information.Into
One step, it is assumed that currently the photo downloaded using download code is needed to have several, then Cloud Server adds attribute in this several photos
Value 235,235 can be considered as the fileinfo of file to be downloaded.If current time is 2014:12:22:60:35, then the time believe
Breath is 201412226035.4 random codes generated using random function are 6532.So far, user's login account information is (i.e.
89563), the fileinfo (i.e. 235) of file to be downloaded, temporal information (i.e. 201412226035) and random code (i.e. 6532) string
The information that connection gets up is 895632352014122260356532.I.e. by the information being together in series
895632352014122260356532 every units is wanted to add, that is, 8+9+5+6+3+2+3+5+2+0+1+4+1+2+2+2+6+0
+ 3+5+6+5+3+2, as a result 87.By 87 pair of 11 complementation.Rule is, if remainder is 10, check bit X, if remainder is 0
To any one number in 9, then check bit is the remainder being calculated.According to above-mentioned rule, check bit is X.So far, it can incite somebody to action
895632352014122260356532X is as the download code generated.
The download code generated through step S205 is uploaded to Cloud Server by S204, the first user terminal, so that the cloud takes
Business device, which can download the file to be downloaded, to be authorized.
In the present embodiment, the implementation method of step S204 is identical with the implementation method of step S102 of 1 example of attached drawing,
The explanation of its relational language, concept etc. explains explanation or the explanation specifically seen to step S102, is not repeated herein.
S205, the first user terminal receive correctly being carried for prompting the download code to generate for the Cloud Server return
Show information.
In the present embodiment, the implementation method of step S205 is identical with the implementation method of step S103 of 1 example of attached drawing,
The explanation of its relational language, concept etc. explains explanation or the explanation specifically seen to step S103, is not repeated herein.
The download code is sent to second user terminal by S206, the first user terminal, so that the second user terminal
User download the file to be downloaded from the Cloud Server using the download code.
In the present embodiment, the implementation method of step S206 is identical with the implementation method of step S104 of 1 example of attached drawing,
The explanation of its relational language, concept etc. explains explanation or the explanation specifically seen to step S104, is not repeated herein.
From above-mentioned attached drawing 2 it is exemplary transmission file method it is found that due to Cloud Server only include to download code file
The corresponding file to be downloaded of information, which can be downloaded, to be authorized, in this way, when download code is sent to the second use by the first user terminal
Family terminal, when second user terminal logs in the Cloud Server using the download code, Cloud Server is only aobvious to second user terminal
Show and authorizes Downloadable file for second user terminal downloads.Therefore, in the prior art, terminal user A directly steps on user
Record information informs the user B of another terminal, allows user B login Cloud Servers to be downloaded and compares, this invention ensures that user A exists
The safety of data on Cloud Server has also ensured that the privacy of user A is not leaked out.
Please refer to attached drawing 3, be the embodiment of the present invention three provide transmission file method implementation process, include mainly with
Lower step S301 to step S305.
S301, the download code of the first user terminal uploads of cloud server, the download code include user's login account
With the fileinfo of file to be downloaded.
In the present embodiment, the download code of the first user terminal uploads is in 2 exemplary method of aforementioned figures 1 or attached drawing,
The download code that first user terminal generates, includes the fileinfo of user's login account and file to be downloaded;The generation of download code
Method sees the explanation of the step of 2 example of aforementioned figures 1 or attached drawing, is not repeated herein.
It is in an embodiment of the invention, whole in the first user of cloud server in order to ensure safety and correctness
After holding the download code uploaded, the download code of the first user terminal uploads of Cloud Server pair verifies.If check results are described
The download code of first user terminal uploads is correct download code, then the Cloud Server preserves first user terminal uploads
Download code.
Last position of download code as previously described is check bit, the download codes of the first user terminal uploads of Cloud Server pair into
Row verification a kind of method be:All parts that check bit is removed in download code are extracted, according to certain rule, according to the portion of extraction
Point, calculate check bit.If calculating the verification of last attachment of the check bit with the download code of the first user terminal uploads of gained
Position is identical, then shows that the download code of first user terminal uploads is correct download code.
S302, Cloud Server can download file to be downloaded and authorize.
As previously described, because download code contains the fileinfo of file to be downloaded, therefore, Cloud Server is receiving download
Code, and after being verified to the correctness of download code, it can be according to fileinfo wherein included, it can to these files to be downloaded
It, i.e., can be by the permission of second user terminal downloads to file to be downloaded imparting to be downloaded into capable mandate.
S303, Cloud Server are returned to the first user terminal for prompting download code to generate correct prompt message.
S304, the download code of Cloud Server verification second user terminal transmission and the download code of the first user terminal uploads are
It is no consistent.
As in the foregoing embodiment, the first user terminal receive Cloud Server return for prompting download code generate just
After true prompt message, which is sent to second user terminal.Since download code contains user's login account,
Second user terminal can use the download code to log in Cloud Server, be sent out to Cloud Server at this point, being equivalent to second user terminal
Download code is sent.
Since Cloud Server preserved the download code of the first user terminal uploads, Cloud Server verifies second user
Whether the download code that terminal is sent is consistent with the download code of the first user terminal uploads, and specific method can be by second user end
It holds the download code of the download code and the first user terminal uploads preserved in advance that send directly to be compared, if identical, verifies
The download code that second user terminal is sent is consistent with the download code of the first user terminal uploads.If it is different, then to second user end
End returns to error message.
S305 is shown if the download code that second user terminal is sent is consistent with the download code of the first user terminal uploads
File to be downloaded is downloaded for the user of the second user terminal.
After the download code that verification second user terminal is sent is consistent with the download code of the first user terminal uploads, cloud service
Device shows file to be downloaded, is downloaded for the user of second user terminal.
From above-mentioned attached drawing 3 it is exemplary transmission file method it is found that due to Cloud Server only include to download code file
The corresponding file to be downloaded of information, which can be downloaded, to be authorized, in this way, when download code is sent to the second use by the first user terminal
Family terminal, when second user terminal logs in the Cloud Server using the download code, Cloud Server is only aobvious to second user terminal
Show and authorizes Downloadable file for second user terminal downloads.Therefore, in the prior art, terminal user A directly steps on user
Record information informs the user B of another terminal, allows user B login Cloud Servers to be downloaded and compares, this invention ensures that user A exists
The safety of data on Cloud Server has also ensured that the privacy of user A is not leaked out.
Attached drawing 4 is please referred to, is the structural schematic diagram of the device for the transmission file that the embodiment of the present invention four provides.For the ease of
Illustrate, illustrates only and the relevant part of the embodiment of the present invention.The device of the exemplary transmission file of attached drawing 4 can be aforementioned implementation
Executive agent i.e. the first user terminal of the method for the transmission file that example one or embodiment two provide.Attached drawing 4 exemplary transmission text
The device of part includes mainly generation module 401, uploading module 402, prompt receiving module 403 and sending module 404, each function mould
Detailed description are as follows for block:
Generation module 401, for generating download code, the download code includes the text of user's login account and file to be downloaded
Part information;
Uploading module 402, the download code for generating download code generation module 401 are uploaded to Cloud Server, so that institute
It states Cloud Server file to be downloaded can be downloaded and authorize;
Receiving module 403 is prompted, correctly prompt is believed for receiving the download code generation that is used to prompt that Cloud Server returns
Breath;
Sending module 404, the download code for generating download code generation module 401 are sent to second user terminal, with
The user of the second user terminal is set to download file to be downloaded from Cloud Server using download code.
It should be noted that in the embodiment of the device of the exemplary transmission file of the figures above 4, each function module is drawn
Point be merely illustrative of, can be as needed in practical application, such as the configuration requirement or software of corresponding hardware realization
It is convenient to consider, and above-mentioned function distribution is completed by different function modules, i.e., by the internal junction of the device of the transmission file
Structure is divided into different function modules, to complete all or part of the functions described above.Moreover, in practical application, this reality
It can also execute corresponding software by corresponding hardware by corresponding hardware realization to apply the corresponding function module in example
It completes, for example, generation module above-mentioned, can have to execute the aforementioned hardware for generating download code, such as generator, it can also
It is the general processor or other hardware devices for being able to carry out corresponding computer program to complete aforementioned function;For another example aforementioned
Uploading module, can execute described the download code for generating the download code generation module to be uploaded to the hard of Cloud Server
Part, such as uploader, can also be the general processor for being able to carry out corresponding computer program to complete aforementioned function or
Other hardware devices (each embodiment that this specification provides can all apply foregoing description principle).
4 exemplary generation module 401 of attached drawing includes that random code generation unit 501, acquiring unit 502 and download code generate list
Member 503, the device for the transmission file that the embodiment of the present invention five as shown in Fig. 5 provides, wherein:
Random code generation unit 501, for generating random code.
Acquiring unit 502, the fileinfo for obtaining user's login account and file to be downloaded.
Download code generation unit 503, for according to create-rule, the random code, acquisition user's login account and wait for
The fileinfo of file is downloaded, download code is generated.
In the device of the exemplary transmission file of above-mentioned attached drawing 4 or attached drawing 5, download code also includes check bit sum temporal information
Deng.
Attached drawing 6 is please referred to, is the structural schematic diagram of the device for the transmission file that the embodiment of the present invention six provides.For the ease of
Illustrate, illustrates only and the relevant part of the embodiment of the present invention.The device of the exemplary transmission file of attached drawing 6 can be aforementioned implementation
Executive agent, that is, Cloud Server of the method for the transmission file that example three provides.The device of the exemplary transmission file of attached drawing 6 mainly wraps
Include download code receiving module 601, authorization module 602, prompt return module 603, authentication module 604 and display module 605, each work(
Detailed description are as follows for energy module:
Download code receiving module 601, the download code for receiving the first user terminal uploads, the download code include user
The fileinfo of login account and file to be downloaded;
Authorization module 602 is authorized for that can be downloaded to file to be downloaded;
Prompt returns to module 603, for being returned to the first user terminal for prompting download code to generate correctly prompt letter
Breath;
Authentication module 604, the download of download code and the first user terminal uploads for verifying the transmission of second user terminal
Whether code is consistent;
Display module 605, if for being verified by authentication module 604, download code that the second user terminal is sent and
The download code of first user terminal uploads is consistent, then shows that file to be downloaded is downloaded for the user of second user terminal.
The device of the exemplary transmission file of attached drawing 6 can also include correction verification module 701 and preserving module 702, such as 7 institute of attached drawing
Show the device for the transmission file that the embodiment of the present invention seven provides, wherein:
Correction verification module 701, after the download code that the first user terminal uploads are received for download code receiving module 601, to the
The download code that one user terminal 801 uploads is verified;
Preserving module 702, if the download code that the check results for correction verification module 701 are the first user terminal uploads is just
True download code then preserves the download code of first user terminal uploads.
Attached drawing 8 is please referred to, is the structural schematic diagram of the system diagram for the transmission file that the embodiment of the present invention eight provides.In order to just
In explanation, illustrate only and the relevant part of the embodiment of the present invention.The system of the exemplary transmission file of attached drawing 8 includes the first user
Terminal 801, Cloud Server 802 and second user terminal 803, wherein the first user terminal 801 can be that attached drawing 4 or attached drawing 5 show
The device of the transmission file of example may include generation module 804, uploading module 805, prompt receiving module 806 and send mould
Block 807, Cloud Server 802 can be the devices of attached drawing 6 or the exemplary transmission file of attached drawing 7, may include that download code receives
Module 808, authorization module 809, prompt return to module 810, authentication module 811 and display module 812, and each function module is specifically
It is bright as follows:
Generation module 804, for generating download code, the download code includes the text of user's login account and file to be downloaded
Part information;
Uploading module 805, the download code for generating generation module 804 is uploaded to Cloud Server 802, so that cloud service
Device 802 can download file to be downloaded and authorize;
Receiving module 806 is prompted, correctly prompt is believed for receiving the download code generation that is used to prompt that Cloud Server returns
Breath;
Sending module 807, the download code for generating generation module 804 are sent to second user terminal 803, so that the
The user of two user terminals 803 downloads file to be downloaded using download code from Cloud Server 802;
Download code receiving module 808, the download code that the uploading module 805 for receiving the first user terminal 801 uploads;
Authorization module 809 is authorized for that can be downloaded to file to be downloaded;
Prompt returns to module 810, for being returned to the first user terminal 801 for prompting download code to generate correctly prompt
Information;
Authentication module 811, download code and first user terminal 801 for verifying the transmission of second user terminal 803
Whether the download code that transmission module 805 uploads is consistent;
Display module 812, if for being verified by authentication module 811, the download code and first that second user terminal is sent
The download code that the uploading module 805 of user terminal 802 uploads is consistent, then shows file to be downloaded for second user terminal 803
User downloads;
The second user terminal, the download code that the sending module for first user terminal is sent, by institute
It states download code and is sent to the Cloud Server, in the download code and described that authentication module verification second user terminal is sent
The download code of one user terminal uploads is consistent, and when the display module shows the file to be downloaded, from the cloud service
Device downloads the file to be downloaded.
It should be noted that the contents such as information exchange, implementation procedure between each module/unit of above-mentioned apparatus, due to
The method of the present invention embodiment is based on same design, and the technique effect brought is identical as the method for the present invention embodiment, particular content
The narration in the method for the present invention embodiment is can be found in, details are not described herein again.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be the INDIRECT COUPLING or logical by some interfaces, device or unit
Letter connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It should be noted that for each method embodiment above-mentioned, describe, therefore it is all expressed as a series of for simplicity
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because
According to the present invention, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs
Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.
It is to a kind of description of the methods, devices and systems of transmission file provided by the present invention, for this field above
Those skilled in the art, the thought of embodiment, has change in specific embodiments and applications according to the present invention
Place, to sum up, the content of the present specification should not be construed as limiting the invention.
Claims (9)
1. a kind of method of transmission file, which is characterized in that the method includes:
First user terminal generates download code according to create-rule, and the download code includes user's login account and multiple to be downloaded
The fileinfo and check bit sum temporal information of file, the fileinfo are one opposite with the multiple file to be downloaded
The create-rule of the fileinfo answered, the download code is visible for Cloud Server;
The download code is uploaded to Cloud Server by first user terminal, so that the Cloud Server is to the text to be downloaded
Part can be downloaded and be authorized;
First user terminal receives believing for prompting the download code to generate correctly prompt for the Cloud Server return
Breath;
The download code is sent to second user terminal by first user terminal, so that the user of the second user terminal
The Cloud Server is logged in using the download code, Cloud Server only authorizes Downloadable file to supply to the display of second user terminal
Second user terminal downloads, the second user terminal download the file to be downloaded of the mandate from the Cloud Server;
First user terminal and second user terminal are mobile terminal.
2. the method as described in claim 1, which is characterized in that first user terminal generates download code, including:
Generate random code;
Obtain the fileinfo of user's login account and file to be downloaded;
According to create-rule, the random code, user's login account of acquisition and the fileinfo of file to be downloaded, described in generation
Download code.
3. a kind of method of transmission file, which is characterized in that the method includes:
The download code of the first user terminal uploads of cloud server, the download code include user's login account and multiple wait for down
The fileinfo and check bit sum temporal information of published article part, the fileinfo are one and the multiple file to be downloaded phase
The create-rule of corresponding fileinfo, the download code is visible for Cloud Server;
The Cloud Server can download the file to be downloaded and authorize;
The Cloud Server is returned to first user terminal for prompting the download code to generate correct prompt message;
Second user terminal logs in the Cloud Server using the download code;
The download code of the Cloud Server verification second user terminal transmission and the download code of first user terminal uploads are
It is no consistent;
If the download code that the second user terminal is sent is consistent with the download code of the first user terminal uploads, institute is shown
The file to be downloaded for stating mandate is downloaded for the user of the second user terminal;
First user terminal and second user terminal are mobile terminal.
4. method as claimed in claim 3, which is characterized in that the download of the first user terminal uploads of the cloud server
After code, the method further includes:
The Cloud Server verifies the download code of first user terminal uploads;
If check results are that the download code of first user terminal uploads is correct download code, the Cloud Server preserves
The download code of first user terminal uploads.
5. a kind of device of transmission file, which is characterized in that described device includes:
First user terminal includes generation module, and for generating download code according to create-rule, the download code is stepped on comprising user
Record account and multiple files to be downloaded fileinfo and check bit sum temporal information, the fileinfo be one with it is described
Multiple corresponding fileinfos of file to be downloaded, the create-rule of the download code are visible for Cloud Server;
Uploading module, the download code for generating the generation module are uploaded to Cloud Server, so that the Cloud Server pair
The file to be downloaded can be downloaded and be authorized;
Receiving module is prompted, for receiving believing for prompting the download code to generate correctly prompt for the Cloud Server return
Breath;
Sending module, the download code for generating the download code generation module is sent to second user terminal, so that described
The user of second user terminal logs in the Cloud Server using the download code, and Cloud Server is only shown to second user terminal
Authorize Downloadable file for second user terminal downloads, the second user terminal downloads the mandate from the Cloud Server
File to be downloaded;
First user terminal and second user terminal are mobile terminal.
6. device as claimed in claim 5, which is characterized in that the generation module includes:
Random code generation unit, for generating random code;
Acquiring unit, the fileinfo for obtaining user's login account and file to be downloaded;
Download code generation unit, for according to create-rule, the random code, acquisition user's login account and file to be downloaded
Fileinfo, generate the download code.
7. a kind of device of transmission file, which is characterized in that described device includes:
Download code receiving module, the download code for receiving the first user terminal uploads, the download code is by the first user terminal
It is generated according to create-rule, the download code includes fileinfo and the verification of user's login account and multiple files to be downloaded
Position and temporal information, the fileinfo are a fileinfo corresponding with the multiple file to be downloaded, the download
The create-rule of code is visible for Cloud Server;
Authorization module is authorized for that can be downloaded to the file to be downloaded;
Prompt returns to module, for being returned to first user terminal for prompting the download code to generate correctly prompt letter
Breath;
Authentication module, the download code for verifying download code and first user terminal uploads that second user terminal is sent are
No consistent, the second user terminal logs in the Cloud Server using the download code;
Display module, if for being verified by the authentication module, download code that the second user terminal is sent and described the
The download code of one user terminal uploads is consistent, then shows that the file to be downloaded of the mandate supplies the user of the second user terminal
It downloads;
First user terminal and second user terminal are mobile terminal.
8. device as claimed in claim 7, which is characterized in that described device further includes:
Correction verification module, after being used for the download code that download code receiving module receives the first user terminal uploads, to first user
The download code that terminal uploads is verified;
Preserving module, if the download code that the check results for the correction verification module are first user terminal uploads is correct
Download code, then preserve the download code of first user terminal uploads.
9. a kind of system of transmission file, which is characterized in that the system comprises the first user terminal, Cloud Server and second to use
Family terminal, first user terminal and second user terminal be mobile terminal, first user terminal include generation module,
Uploading module, prompt receiving module and sending module, the Cloud Server include download code receiving module, authorization module, prompt
Return to module, authentication module and display module;
The generation module, for generating download code according to create-rule, the download code includes user's login account and multiple
The fileinfo and check bit sum temporal information of file to be downloaded, the fileinfo are one and the multiple text to be downloaded
The corresponding fileinfo of part, the create-rule of the download code are visible for Cloud Server;
The uploading module, the download code for generating the generation module are uploaded to the Cloud Server, so that the cloud
Server can download the file to be downloaded and authorize;
The prompt receiving module, for receiving correctly being carried for prompting the download code to generate for the Cloud Server return
Show information;
The sending module, the download code for generating the download code generation module are sent to the second user terminal,
So that the user of the second user terminal downloads the file to be downloaded using the download code from the Cloud Server;
The download code receiving module, the download code that the uploading module for receiving first user terminal uploads;
The authorization module is authorized for that can be downloaded to the file to be downloaded;
The prompt returns to module, for being returned to first user terminal for prompting the download code generation correctly to carry
Show information;
The authentication module, the uploading module of download code and first user terminal for verifying the transmission of second user terminal
Whether the download code of upload is consistent;
The display module, if for being verified by the authentication module, download code and institute that the second user terminal is sent
The download code for stating the first user terminal uploads is consistent, then shows the file to be downloaded under the user of the second user terminal
It carries;
The second user terminal, the download code that the sending module for first user terminal is sent, under described
It carries code and is sent to the Cloud Server, the Cloud Server is logged in using the download code, second is verified in the authentication module
The download code that user terminal is sent is consistent with the download code of the first user terminal uploads, and the display module shows institute
When stating the file to be downloaded of mandate, the file to be downloaded is downloaded from the Cloud Server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510028433.2A CN104601582B (en) | 2015-01-20 | 2015-01-20 | A kind of methods, devices and systems of transmission file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510028433.2A CN104601582B (en) | 2015-01-20 | 2015-01-20 | A kind of methods, devices and systems of transmission file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104601582A CN104601582A (en) | 2015-05-06 |
CN104601582B true CN104601582B (en) | 2018-09-14 |
Family
ID=53127088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510028433.2A Expired - Fee Related CN104601582B (en) | 2015-01-20 | 2015-01-20 | A kind of methods, devices and systems of transmission file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104601582B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106549926B (en) * | 2015-09-23 | 2019-12-10 | 腾讯科技(深圳)有限公司 | method, device and system for authorizing account use permission |
CN105656893B (en) * | 2015-12-31 | 2019-05-07 | 武汉帕菲利尔信息科技有限公司 | The method for realizing hospital's film-free by directly acquiring medical imaging data |
CN107066840A (en) * | 2017-03-31 | 2017-08-18 | 北京深思数盾科技股份有限公司 | The acquisition methods and device of data |
CN107888680A (en) * | 2017-11-09 | 2018-04-06 | 理光图像技术(上海)有限公司 | High in the clouds document acquisition methods, device and system |
CN109787944B (en) * | 2017-11-15 | 2021-11-19 | 阿里巴巴集团控股有限公司 | Network interaction method, electronic equipment, client and server |
CN108063795A (en) * | 2017-11-16 | 2018-05-22 | 福建睿能科技股份有限公司 | File delivery method, Cloud Server and storage device |
CN111131363B (en) * | 2018-11-01 | 2023-03-24 | 百度在线网络技术(北京)有限公司 | File downloading processing method and device and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102638587A (en) * | 2012-05-03 | 2012-08-15 | 北京壹人壹本信息科技有限公司 | File transmission method, mobile equipment, server and file transmission system |
CN103139313A (en) * | 2013-03-13 | 2013-06-05 | 惠州Tcl移动通信有限公司 | File transfer method and file transfer system between mobile terminals |
CN104038477A (en) * | 2014-05-19 | 2014-09-10 | 杨尧任 | Service network system-based file transfer method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4935015B2 (en) * | 2005-07-29 | 2012-05-23 | ソニー株式会社 | Content distribution system, content distribution method, content transmission terminal, and content reception terminal |
CN102710797A (en) * | 2012-06-27 | 2012-10-03 | 新浪网技术(中国)有限公司 | File sharing method and system |
CN103685337B (en) * | 2012-08-31 | 2018-03-27 | 腾讯科技(深圳)有限公司 | Method, terminal device and the transfer server of shared file |
CN103685332B (en) * | 2012-08-31 | 2018-04-24 | 腾讯科技(深圳)有限公司 | File uploading method, client, server and system |
CN103002030B (en) * | 2012-11-26 | 2016-03-16 | 北京百度网讯科技有限公司 | The method and system of file-sharing |
-
2015
- 2015-01-20 CN CN201510028433.2A patent/CN104601582B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102638587A (en) * | 2012-05-03 | 2012-08-15 | 北京壹人壹本信息科技有限公司 | File transmission method, mobile equipment, server and file transmission system |
CN103139313A (en) * | 2013-03-13 | 2013-06-05 | 惠州Tcl移动通信有限公司 | File transfer method and file transfer system between mobile terminals |
CN104038477A (en) * | 2014-05-19 | 2014-09-10 | 杨尧任 | Service network system-based file transfer method |
Also Published As
Publication number | Publication date |
---|---|
CN104601582A (en) | 2015-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104601582B (en) | A kind of methods, devices and systems of transmission file | |
CN108734028B (en) | Data management method based on block chain, block chain link point and storage medium | |
CN103916244B (en) | Verification method and device | |
CN107634832B (en) | Character string encryption, verification method, device, computer readable storage medium | |
CN104917766A (en) | Security authentication method for two-dimension code | |
CN110266480A (en) | Data transmission method, device and storage medium | |
CN105101183B (en) | The method and system that privacy content on mobile terminal is protected | |
US20170371625A1 (en) | Content delivery method | |
CN103685255B (en) | File encryption method based on two-dimension code scanning | |
CN101764823A (en) | Authentication method, electronic equipment and authentication server | |
CN106817346A (en) | Data transmission method and device and electronic equipment | |
CN104038490B (en) | A kind of communication security method of calibration and its device | |
CN104935435A (en) | Login methods, terminal and application server | |
CN108712379A (en) | Data push method and device | |
CN104994095A (en) | Equipment authentication method, clients, server and system | |
CN105703901A (en) | Encrypted data input method and encrypted data input device | |
CN109525949A (en) | Register method and device, storage medium, server, user terminal | |
EP3308496A2 (en) | System, apparatus and method for secure coordination of a rendezvous point for distributed devices using entropy multiplexing | |
CN105993156A (en) | Server access authentication method and device | |
CN106331042A (en) | Single sign-on method and device for heterogeneous user system | |
CN103384249B (en) | Network access verifying method, Apparatus and system, certificate server | |
CN104065623A (en) | Information processing method, trust server and cloud server | |
CN104768204A (en) | Network access management method, wearable device and system | |
CN105210071A (en) | Privacy preserving knowledge/factor possession tests for persistent authentication | |
CN104901862A (en) | Method, device and system for displaying application information of third-party application in customized interface |
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 | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP03 | Change of name, title or address | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180914 |
|
CF01 | Termination of patent right due to non-payment of annual fee |