CN104601582A - File transfer method, device and system - Google Patents

File transfer method, device and system Download PDF

Info

Publication number
CN104601582A
CN104601582A CN201510028433.2A CN201510028433A CN104601582A CN 104601582 A CN104601582 A CN 104601582A CN 201510028433 A CN201510028433 A CN 201510028433A CN 104601582 A CN104601582 A CN 104601582A
Authority
CN
China
Prior art keywords
user terminal
download code
download
file
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.)
Granted
Application number
CN201510028433.2A
Other languages
Chinese (zh)
Other versions
CN104601582B (en
Inventor
陈建波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510028433.2A priority Critical patent/CN104601582B/en
Publication of CN104601582A publication Critical patent/CN104601582A/en
Application granted granted Critical
Publication of CN104601582B publication Critical patent/CN104601582B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses file transfer method, device and system, and aims at ensuring the information security of a file transfer side. The method comprises the steps of generating a download code through a first user terminal; uploading the download code to a cloud server through the first user terminal to gain the authority of the cloud server for the downloading of a file to be downloaded; receiving reminding information of reminding accurate download generating from the cloud server through the first user terminal; sending the download to a second user terminal through the first user terminal to enable a user of the second user terminal to download the file to be downloaded from the cloud server with the download code. Compared with the prior art that a terminal user A directly informs the user B at another terminal of the user login information and the user B can login the cloud server to down, the file transfer method has the advantages that the security of materials of the user A in the cloud server can be ensured, and the privacy of the user A can be prevented from being disclosed.

Description

A kind of methods, devices and systems transmitting file
Technical field
The invention belongs to mobile Internet field, particularly relate to a kind of methods, devices and systems transmitting file.
Background technology
Mobile Internet (Mobile Internet, MI) be that one passes through intelligent mobile terminal, mobile radio communication system is adopted to obtain the emerging service of business and service, comprise terminal, software and application three aspects, wherein, terminating layer comprises smart mobile phone, panel computer, e-book, MID etc., and software comprises operating system, middleware, database and fail-safe software etc., and application layer comprises different application and the services such as amusement and recreation class, instrument media class, commercial finance and economic.
The fast development of intelligent terminal technology, for intelligent terminal user provides increasing function.Such as, audio and video playing, take pictures and other various application etc.In conjunction with the Internet technology of same develop rapidly, make intelligent terminal user various file can be sent to another terminal from an intelligent terminal whenever and wherever possible.Such as, the photo of shooting when playing together with good friend can be shared to good friend by intelligent terminal user.
A kind of common method that file is sent to another terminal from an intelligent terminal is by intelligent terminal user: intelligent terminal user A uses the account of oneself and password first will wait to transmit files passe to Cloud Server, then, the account of oneself and password are informed the user B receiving file, user B uses account and the password login Cloud Server of intelligent terminal user A, downloads the file that intelligent terminal user A transmits.
But there is larger risk in said method.Intelligent terminal user A is equivalent to all data corresponding in the account of oneself that upload file use to be exposed to user B.Get rid of individual morality's factor, out of curiosity, can not ensure that user B does not go to check the data of intelligent terminal user A.Once these data relate to individual privacy, then give the intelligent terminal user A risk bringing privacy to divulge a secret.
Summary of the invention
The invention provides a kind of methods, devices and systems transmitting file, to ensure the information security of document backup side.
First aspect present invention provides the method transmitting file, comprising:
First user terminal generates download code, and described download code comprises the fileinfo of user's login account and file to be downloaded;
Described download code is uploaded to Cloud Server by described first user terminal, can to download authorize to make described Cloud Server to described file to be downloaded;
Described first user terminal receive that described Cloud Server returns for pointing out described download code to generate correct information;
Described download code is sent to the second user terminal by described first user terminal, uses described download code to download described file to be downloaded from described Cloud Server to make the user of described second user terminal.
In conjunction with first aspect, in the first possible implementation of first aspect, described first user terminal generates download code, comprising:
Generate random code;
Obtain the fileinfo of described user's login account and file to be downloaded;
According to user's login account of create-rule, described random code, acquisition and the fileinfo of file to be downloaded, generate described download code.
In conjunction with the first possible implementation of first aspect or first aspect, in the implementation that the second of first aspect is possible, described download code also comprises check digit.
Second aspect present invention provides a kind of method transmitting file, comprising:
The download code that cloud server first user terminal is uploaded, described download code comprises the fileinfo of user's login account and file to be downloaded;
Described Cloud Server can be downloaded described file to be downloaded and authorize;
Described Cloud Server returns for pointing out described download code to generate correct information to described first user terminal;
Described Cloud Server verifies that whether the download code that the download code of the second user terminal transmission and described first user terminal are uploaded is consistent;
If the download code that described second user terminal sends is consistent with the download code that described first user terminal is uploaded, then shows described file to be downloaded and download for the user of described second user terminal.
In conjunction with second aspect, in the first possible implementation of second aspect, after the download code that described cloud server first user terminal is uploaded, described method also comprises:
Described Cloud Server verifies the download code that described first user terminal is uploaded;
If check results is the download code that described first user terminal is uploaded is correct download code, then described Cloud Server preserves the download code that described first user terminal is uploaded.
Third aspect present invention provides a kind of device transmitting file, comprising:
Generation module, for generating download code, described download code comprises the fileinfo of user's login account and file to be downloaded;
Upper transmission module, is uploaded to Cloud Server for the download code generated by described generation module, can to download authorize to make described Cloud Server to described file to be downloaded;
Prompting receiver module, for receive that described Cloud Server returns for pointing out described download code to generate correct information;
Sending module, is sent to the second user terminal for the download code generated by described download code generation module, uses described download code to download described file to be downloaded from described Cloud Server to make the user of described second user terminal.
In conjunction with the third aspect, in the first possible implementation of the third aspect, described generation module comprises:
Random code generation unit, for generating random code;
Acquiring unit, for obtaining the fileinfo of described user's login account and file to be downloaded;
Download code generation unit, for according to user's login account of create-rule, described random code, acquisition and the fileinfo of file to be downloaded, generates described download code.
In conjunction with the first possible implementation of the third aspect or the third aspect, in the implementation that the second of the third aspect is possible, described download code also comprises check digit.
Fourth aspect present invention provides a kind of device transmitting file, comprising:
Download code receiver module, for receiving the download code that first user terminal is uploaded, described download code comprises the fileinfo of user's login account and file to be downloaded;
Authorization module, authorizes for downloading described file to be downloaded;
Prompting returns module, for returning for pointing out described download code to generate correct information to described first user terminal;
Authentication module, whether consistent for verifying the download code that the download code of the second user terminal transmission and described first user terminal are uploaded;
Display module, if for verifying through described authentication module, the download code that described second user terminal sends is consistent with the download code that described first user terminal is uploaded, then show described file to be downloaded and download for the user of described second user terminal.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, described device also comprises:
Correction verification module, for after the download code that download code receiver module reception first user terminal is uploaded, verifies the download code that described first user terminal is uploaded;
Preserve module, if being the download code that described first user terminal is uploaded for the check results of described correction verification module is correct download code, then preserve the download code that described first user terminal is uploaded.
Fifth aspect present invention provides a kind of system transmitting file, comprise first user terminal, Cloud Server and the second user terminal, described first user terminal comprises generation module, upper transmission module, prompting receiver module and sending module, and described Cloud Server comprises download code receiver module, authorization module, prompting return module, authentication module and display module;
Described generation module, for generating download code, described download code comprises the fileinfo of user's login account and file to be downloaded;
Described upper transmission module, the download code for being generated by described generation module is uploaded to described Cloud Server, can to download authorize to make described Cloud Server to described file to be downloaded;
Described prompting receiver module, for receive that described Cloud Server returns for pointing out described download code to generate correct information;
Described sending module, is sent to described second user terminal for the download code generated by described download code generation module, uses described download code to download described file to be downloaded from described Cloud Server to make the user of described second user terminal;
Described download code receiver module, the download code that the upper transmission module for receiving described first user terminal is uploaded;
Described authorization module, authorizes for downloading described file to be downloaded;
Described prompting returns module, for returning for pointing out described download code to generate correct information to described first user terminal;
Described authentication module, whether consistent for verifying the download code that the download code of the second user terminal transmission and the upper transmission module of described first user terminal are uploaded;
Described display module, if for verifying through described authentication module, the download code that described second user terminal sends is consistent with the download code that described first user terminal is uploaded, then show described file to be downloaded and download for the user of described second user terminal;
Described second user terminal, for the described download code that the sending module of described first user terminal sends, described download code is sent to described Cloud Server, verify that the download code that the second user terminal sends is consistent with the download code that described first user terminal is uploaded at described authentication module, and when described display module shows described file to be downloaded, download described file to be downloaded from described Cloud Server.
From the invention described above embodiment, the file to be downloaded that the fileinfo only comprised download code due to Cloud Server is corresponding can be downloaded and authorize, so, when download code is sent to the second user terminal by first user terminal, when second user terminal uses this download code to log in described Cloud Server, Cloud Server only supplies the second user terminal downloads to the Downloadable file of the second user terminal displays mandate.Therefore, with prior art, user login information is directly informed the user B of another terminal by terminal use A, allows user B login Cloud Server carry out download and compares, this invention ensures that the safety of the data of user A on Cloud Server, also ensured that the privacy of user A is not leaked out.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the realization flow schematic diagram of the method for the transmission file that the embodiment of the present invention one provides;
Fig. 2 is the realization flow schematic diagram of the method for the transmission file that the embodiment of the present invention two provides;
Fig. 3 is the realization flow schematic diagram of the method for the transmission file that the embodiment of the present invention three provides;
Fig. 4 is the structural representation of the device of the transmission file that the embodiment of the present invention four provides;
Fig. 5 is the structural representation of the device of the transmission file that the embodiment of the present invention five provides;
Fig. 6 is the structural representation of the device of the transmission file that the embodiment of the present invention six provides;
Fig. 7 is the structural representation of the device of the transmission file that the embodiment of the present invention seven provides;
Fig. 8 is the structural representation of the system of the transmission file that the embodiment of the present invention eight provides.
Embodiment
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, and not all embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method transmitting file, and described method comprises: first user terminal generates download code, and described download code comprises the fileinfo of user's login account and file to be downloaded; Described download code is uploaded to Cloud Server by described first user terminal, can to download authorize to make described Cloud Server to described file to be downloaded; Described first user terminal receive that described Cloud Server returns for pointing out described download code to generate correct information; Described download code is sent to the second user terminal by described first user terminal, uses described download code to download described file to be downloaded from described Cloud Server to make the user of described second user terminal.The embodiment of the present invention also provides the corresponding device and the system that transmit file.Below be described in detail respectively.
Referring to accompanying drawing 1, is the realization flow of the method for the transmission file that the embodiment of the present invention one provides, and mainly comprises the following steps S101 to step S104:
S101, first user terminal generates download code, and described download code comprises the fileinfo of user's login account and file to be downloaded.
In embodiments of the present invention, user terminal can be the mobile terminal such as smart mobile phone, panel computer, also can be the equipment such as such as PC.In order to two terminal differences be come, the present invention uses first user terminal to represent the provider of file, uses the second user terminal to represent the download side of file.Be understandable that, as the provider of file, first user terminal, before generation download code, has used user's login account to log in Cloud Server, supplies the file of the second user terminal downloads and described file to be downloaded to be uploaded to Cloud Server by intending.The fileinfo of so-called file to be downloaded can be the information for unique identification file to be downloaded, such as file ID, file attribute information, file seed etc. any one or several combinations wherein.
S102, the download code generated through step S101 is uploaded to Cloud Server by first user terminal, can to download authorize to make described Cloud Server to file to be downloaded.
Because download code contains the fileinfo of file to be downloaded, therefore, Cloud Server, can according to the fileinfo wherein comprised after receiving download code, can download these files to be downloaded and authorize, namely giving this file to be downloaded can by the authority of the second user terminal downloads.
S103, first user terminal receive Cloud Server return for pointing out download code to generate correct information.
Cloud Server, after receiving the download code that first user terminal uploads, is verified the correctness of this download code.If through checking, result is shown to be correct identifying code, then return for pointing out download code to generate correct information to first user terminal.
S104, download code is sent to the second user terminal by first user terminal, uses described download code to download described file to be downloaded from Cloud Server to make the user of the second user terminal.
From the method for the transmission file of above-mentioned accompanying drawing 1 example, the file to be downloaded that the fileinfo only comprised download code due to Cloud Server is corresponding can be downloaded and authorize, so, when download code is sent to the second user terminal by first user terminal, when second user terminal uses this download code to log in described Cloud Server, Cloud Server only supplies the second user terminal downloads to the Downloadable file of the second user terminal displays mandate.Therefore, with prior art, user login information is directly informed the user B of another terminal by terminal use A, allows user B login Cloud Server carry out download and compares, this invention ensures that the safety of the data of user A on Cloud Server, also ensured that the privacy of user A is not leaked out.
Referring to accompanying drawing 2, is the realization flow of the method for the transmission file that the embodiment of the present invention two provides, and mainly comprises the following steps S201 to step S206.
S201, generates random code.
In embodiments of the present invention, when generating download code, a random code can be generated as the part forming download code.Due to the randomness of random code, it is hereby ensured and can not generate identical download code.Similar with previous embodiment one, as the provider of file, first user terminal, before generation random code, has used user's login account to log in Cloud Server, supplies the file of the second user terminal downloads and described file to be downloaded to be uploaded to Cloud Server by intending.
S202, obtains the fileinfo of user's login account and file to be downloaded.
In the present embodiment, user's login account is identical with the concept of the fileinfo of file to be downloaded with user's login account that embodiment one is mentioned respectively with the fileinfo of file to be downloaded.As previously mentioned, the user of first user terminal uses user's login account to log in Cloud Server, the file of the second user terminal downloads and described file to be downloaded is supplied to be uploaded to Cloud Server by intending, therefore, in this course, first user terminal is easy to the fileinfo obtaining user's login account and file to be downloaded.
S203, according to random code, user's login account of step S202 acquisition and the fileinfo of file to be downloaded that create-rule, step S201 generate, generates download code.
In embodiments of the present invention, create-rule namely generates a kind of algorithm of download code, it can be that first user terminal is self-defined, also can be the higher cryptographic algorithm of fail safe that third party provides, but no matter be any, create-rule is visible for Cloud Server, namely, to same download code, Cloud Server and first user terminal all know its create-rule.It should be noted that, except comprising the fileinfo of user's login account and file to be downloaded, download code can also comprise check bit sum temporal information.
Below illustrate, according to random code, user's login account of step S202 acquisition and the fileinfo of file to be downloaded that create-rule, step S201 generate, generate the method for download code:
Suppose that the user of first user terminal is called chenjianbo, Cloud Server has a major key ID corresponding to this user name of chenjianbo, supposes that major key ID is 89563, and so, now 89563 are user's login account information.Further, suppose that the current photo using download code to download that needs has several, then Cloud Server adds property value 235 at these several photos, and 235 can be considered as being the fileinfo of file to be downloaded.If current time is 2014:12:22:60:35, then temporal information is 201412226035.4 random codes utilizing random function to generate are 6532.So far, the fileinfo (namely 235) of user's login account information (namely 89563), file to be downloaded, temporal information (namely 201412226035) and random code (namely 6532) information obtained that is together in series is 895632352014122260356532.By the information be together in series that is 895632352014122260356532 every units want 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, its result is 87.By 87 to 11 complementations.Rule is, if remainder is 10, then check digit is X, if remainder is any one number in 0 to 9, then check digit is the remainder calculated.According to above-mentioned rule, check digit is X.So far, can using 895632352014122260356532X as the download code generated.
S204, the download code generated through step S205 is uploaded to Cloud Server by first user terminal, can to download authorize to make described Cloud Server to described file to be downloaded.
In the present embodiment, the implementation method of step S204 is identical with the implementation method of the step S102 of accompanying drawing 1 example, and the explanation that the explanation of its relational language, concept etc. or explanation specifically can be consulted step S102 or explanation, do not repeat herein.
S205, first user terminal receive that described Cloud Server returns for pointing out described download code to generate correct information.
In the present embodiment, the implementation method of step S205 is identical with the implementation method of the step S103 of accompanying drawing 1 example, and the explanation that the explanation of its relational language, concept etc. or explanation specifically can be consulted step S103 or explanation, do not repeat herein.
S206, described download code is sent to the second user terminal by first user terminal, uses described download code to download described file to be downloaded from described Cloud Server to make the user of described second user terminal.
In the present embodiment, the implementation method of step S206 is identical with the implementation method of the step S104 of accompanying drawing 1 example, and the explanation that the explanation of its relational language, concept etc. or explanation specifically can be consulted step S104 or explanation, do not repeat herein.
From the method for the transmission file of above-mentioned accompanying drawing 2 example, the file to be downloaded that the fileinfo only comprised download code due to Cloud Server is corresponding can be downloaded and authorize, so, when download code is sent to the second user terminal by first user terminal, when second user terminal uses this download code to log in described Cloud Server, Cloud Server only supplies the second user terminal downloads to the Downloadable file of the second user terminal displays mandate.Therefore, with prior art, user login information is directly informed the user B of another terminal by terminal use A, allows user B login Cloud Server carry out download and compares, this invention ensures that the safety of the data of user A on Cloud Server, also ensured that the privacy of user A is not leaked out.
Referring to accompanying drawing 3, is the realization flow of the method for the transmission file that the embodiment of the present invention three provides, and mainly comprises the following steps S301 to step S305.
S301, the download code that cloud server first user terminal is uploaded, described download code comprises the fileinfo of user's login account and file to be downloaded.
In the present embodiment, the download code that first user terminal is uploaded is in the method for aforementioned figures 1 or accompanying drawing 2 example, the download code that first user terminal generates, and comprises the fileinfo of user's login account and file to be downloaded; The generation method of download code can consult the explanation of the step of aforementioned figures 1 or accompanying drawing 2 example, does not repeat herein.
In order to ensure fail safe and correctness, in an embodiment of the invention, after the download code that cloud server first user terminal is uploaded, Cloud Server verifies the download code that first user terminal is uploaded.If check results is the download code that described first user terminal is uploaded is correct download code, then described Cloud Server preserves the download code that described first user terminal is uploaded.
Last position of download code is check digit as previously mentioned, a kind of method that the download code that Cloud Server is uploaded first user terminal verifies is: extract all parts except check digit in download code, according to certain rule, according to the part extracted, calculation check position.If last check digit of adhering to of check digit and the download code that first user terminal is uploaded calculating gained is identical, then show that the download code that described first user terminal is uploaded is correct download code.
S302, Cloud Server can be downloaded file to be downloaded and authorize.
As previously mentioned, because download code contains the fileinfo of file to be downloaded, therefore, Cloud Server is receiving download code, and after the correctness of download code is verified, according to the fileinfo wherein comprised, can download authorize these files to be downloaded, namely giving this file to be downloaded can by the authority of the second user terminal downloads.
S303, Cloud Server returns for pointing out download code to generate correct information to first user terminal.
S304, Cloud Server verifies that whether the download code that the second user terminal sends is consistent with the download code that first user terminal is uploaded.
As in the foregoing embodiment, first user terminal receive that Cloud Server returns for after pointing out download code to generate correct information, this download code is sent to the second user terminal.Because download code contains user's login account, therefore, the second user terminal can use this download code to log in Cloud Server, now, is equivalent to the second user terminal and have sent download code to Cloud Server.
Because Cloud Server preserved the download code that first user terminal uploads, therefore, Cloud Server verifies that whether the download code that the second user terminal sends is consistent with the download code that first user terminal is uploaded, concrete grammar can be that the download code that the download code sent by the second user terminal and the first user terminal of preserving in advance are uploaded directly contrasts, if identical, then verify that the download code that the second user terminal sends is consistent with the download code that first user terminal is uploaded.If different, then return error message to the second user terminal.
S305, if the download code that the second user terminal sends is consistent with the download code that first user terminal is uploaded, then shows file to be downloaded and downloads for the user of described second user terminal.
After the download code of checking second user terminal transmission is consistent with the download code that first user terminal is uploaded, Cloud Server display file to be downloaded, the user for the second user terminal downloads.
From the method for the transmission file of above-mentioned accompanying drawing 3 example, the file to be downloaded that the fileinfo only comprised download code due to Cloud Server is corresponding can be downloaded and authorize, so, when download code is sent to the second user terminal by first user terminal, when second user terminal uses this download code to log in described Cloud Server, Cloud Server only supplies the second user terminal downloads to the Downloadable file of the second user terminal displays mandate.Therefore, with prior art, user login information is directly informed the user B of another terminal by terminal use A, allows user B login Cloud Server carry out download and compares, this invention ensures that the safety of the data of user A on Cloud Server, also ensured that the privacy of user A is not leaked out.
Referring to accompanying drawing 4, is the structural representation of the device of the transmission file that the embodiment of the present invention four provides.For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.The device of the transmission file of accompanying drawing 4 example can be executive agent and the first user terminal of the method for the transmission file that previous embodiment one or embodiment two provide.The device of the transmission file of accompanying drawing 4 example mainly comprises generation module 401, upper transmission module 402, prompting receiver module 403 and sending module 404, and each functional module is described in detail as follows:
Generation module 401, for generating download code, described download code comprises the fileinfo of user's login account and file to be downloaded;
Upper transmission module 402, is uploaded to Cloud Server for the download code generated by download code generation module 401, can to download authorize to make described Cloud Server to file to be downloaded;
Prompting receiver module 403, for receive that Cloud Server returns for pointing out download code to generate correct information;
Sending module 404, the download code for being generated by download code generation module 401 is sent to the second user terminal, uses download code to download file to be downloaded from Cloud Server to make the user of described second user terminal.
It should be noted that, in the execution mode of the device of the transmission file of above accompanying drawing 4 example, the division of each functional module only illustrates, can be as required in practical application, the facility of the such as configuration requirement of corresponding hardware or the realization of software is considered, and above-mentioned functions distribution is completed by different functional modules, the internal structure by the device of described transmission file is divided into different functional modules, to complete all or part of function described above.And, in practical application, corresponding functional module in the present embodiment can be by corresponding hardware implementing, also can perform corresponding software by corresponding hardware to complete, such as, aforesaid generation module can be have the hardware performing aforementioned generation download code, such as maker also can be general processor or other hardware devices that can perform corresponding computer program thus complete aforementioned function; Upload module as the aforementioned again, can be that the download code that generates of just described download code generation module described in performing is uploaded to the hardware of Cloud Server, such as uploader also can be general processor or other hardware devices (each embodiment that this specification provides all can apply foregoing description principle) that can perform corresponding computer program thus complete aforementioned function.
The generation module 401 of accompanying drawing 4 example comprises random code generation unit 501, acquiring unit 502 and download code generation unit 503, as shown in Figure 5 the device of transmission file that provides of the embodiment of the present invention five, wherein:
Random code generation unit 501, for generating random code.
Acquiring unit 502, for obtaining the fileinfo of user's login account and file to be downloaded.
Download code generation unit 503, for according to user's login account of create-rule, described random code, acquisition and the fileinfo of file to be downloaded, generates download code.
In the device of the transmission file of above-mentioned accompanying drawing 4 or accompanying drawing 5 example, download code also comprises check bit sum temporal information etc.
Referring to accompanying drawing 6, is the structural representation of the device of the transmission file that the embodiment of the present invention six provides.For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.The device of the transmission file of accompanying drawing 6 example can be executive agent and the Cloud Server of the method for the transmission file that previous embodiment three provides.The device of the transmission file of accompanying drawing 6 example mainly comprises download code receiver module 601, authorization module 602, prompting return module 603, authentication module 604 and display module 605, and each functional module is described in detail as follows:
Download code receiver module 601, for receiving the download code that first user terminal is uploaded, described download code comprises the fileinfo of user's login account and file to be downloaded;
Authorization module 602, authorizes for downloading file to be downloaded;
Prompting returns module 603, for returning for pointing out download code to generate correct information to first user terminal;
Authentication module 604, whether consistent with the download code that first user terminal is uploaded for verifying the download code that the second user terminal sends;
Display module 605, if for verifying through authentication module 604, the download code that described second user terminal sends is consistent with the download code that first user terminal is uploaded, then show file to be downloaded and download for the user of the second user terminal.
The device of the transmission file of accompanying drawing 6 example can also comprise correction verification module 701 and preserve module 702, as shown in Figure 7 the device of transmission file that provides of the embodiment of the present invention seven, wherein:
Correction verification module 701, after receiving the download code that first user terminal uploads, verifies the download code that first user terminal 801 is uploaded for download code receiver module 601;
Preserve module 702, if being the download code that first user terminal is uploaded for the check results of correction verification module 701 is correct download code, then preserve the download code that described first user terminal is uploaded.
Referring to accompanying drawing 8, is the structural representation of the system diagram of the transmission file that the embodiment of the present invention eight provides.For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.The system of the transmission file of accompanying drawing 8 example comprises first user terminal 801, Cloud Server 802 and the second user terminal 803, wherein, first user terminal 801 can be the device of the transmission file of accompanying drawing 4 or accompanying drawing 5 example, it can comprise generation module 804, upper transmission module 805, prompting receiver module 806 and sending module 807, Cloud Server 802 can be the device of the transmission file of accompanying drawing 6 or accompanying drawing 7 example, it can comprise download code receiver module 808, authorization module 809, prompting returns module 810, authentication module 811 and display module 812, each functional module is described in detail as follows:
Generation module 804, for generating download code, described download code comprises the fileinfo of user's login account and file to be downloaded;
Upper transmission module 805, the download code for being generated by generation module 804 is uploaded to Cloud Server 802, authorizes to make Cloud Server 802 pairs of files to be downloaded download;
Prompting receiver module 806, for receive that Cloud Server returns for pointing out download code to generate correct information;
Sending module 807, the download code for being generated by generation module 804 is sent to the second user terminal 803, uses download code to download file to be downloaded from Cloud Server 802 to make the user of the second user terminal 803;
Download code receiver module 808, the download code that the upper transmission module 805 for receiving first user terminal 801 is uploaded;
Authorization module 809, authorizes for downloading file to be downloaded;
Prompting returns module 810, for returning for pointing out download code to generate correct information to first user terminal 801;
Authentication module 811, whether consistent for verifying the download code that the download code of the second user terminal 803 transmission and the upper transmission module 805 of first user terminal 801 are uploaded;
Display module 812, if for verifying through authentication module 811, the download code that the second user terminal sends is consistent with the download code that the upper transmission module 805 of first user terminal 802 is uploaded, then show file to be downloaded and download for the user of the second user terminal 803;
Described second user terminal, for the described download code that the sending module of described first user terminal sends, described download code is sent to described Cloud Server, verify that the download code that the second user terminal sends is consistent with the download code that described first user terminal is uploaded at described authentication module, and when described display module shows described file to be downloaded, download described file to be downloaded from described Cloud Server.
It should be noted that, the content such as information interaction, implementation between each module/unit of said apparatus, due to the inventive method embodiment based on same design, its technique effect brought is identical with the inventive method embodiment, particular content see describing in the inventive method embodiment, can repeat no more herein.
In several embodiments that the application provides, should be understood that disclosed apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
It should be noted that, for aforesaid each embodiment of the method, in order to easy description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other order or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be all that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiment.
Be more than to a kind of description transmitting the methods, devices and systems of file provided by the present invention, for one of ordinary skill in the art, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, to sum up, this description should not be construed as limitation of the present invention.

Claims (11)

1. transmit a method for file, it is characterized in that, described method comprises:
First user terminal generates download code, and described download code comprises the fileinfo of user's login account and file to be downloaded;
Described download code is uploaded to Cloud Server by described first user terminal, can to download authorize to make described Cloud Server to described file to be downloaded;
Described first user terminal receive that described Cloud Server returns for pointing out described download code to generate correct information;
Described download code is sent to the second user terminal by described first user terminal, uses described download code to download described file to be downloaded from described Cloud Server to make the user of described second user terminal.
2. the method for claim 1, is characterized in that, described first user terminal generates download code, comprising:
Generate random code;
Obtain the fileinfo of described user's login account and file to be downloaded;
According to user's login account of create-rule, described random code, acquisition and the fileinfo of file to be downloaded, generate described download code.
3. method as claimed in claim 1 or 2, it is characterized in that, described download code also comprises check digit.
4. transmit a method for file, it is characterized in that, described method comprises:
The download code that cloud server first user terminal is uploaded, described download code comprises the fileinfo of user's login account and file to be downloaded;
Described Cloud Server can be downloaded described file to be downloaded and authorize;
Described Cloud Server returns for pointing out described download code to generate correct information to described first user terminal;
Described Cloud Server verifies that whether the download code that the download code of the second user terminal transmission and described first user terminal are uploaded is consistent;
If the download code that described second user terminal sends is consistent with the download code that described first user terminal is uploaded, then shows described file to be downloaded and download for the user of described second user terminal.
5. method as claimed in claim 4, it is characterized in that, after the download code that described cloud server first user terminal is uploaded, described method also comprises:
Described Cloud Server verifies the download code that described first user terminal is uploaded;
If check results is the download code that described first user terminal is uploaded is correct download code, then described Cloud Server preserves the download code that described first user terminal is uploaded.
6. transmit a device for file, it is characterized in that, described device comprises:
Generation module, for generating download code, described download code comprises the fileinfo of user's login account and file to be downloaded;
Upper transmission module, is uploaded to Cloud Server for the download code generated by described generation module, can to download authorize to make described Cloud Server to described file to be downloaded;
Prompting receiver module, for receive that described Cloud Server returns for pointing out described download code to generate correct information;
Sending module, is sent to the second user terminal for the download code generated by described download code generation module, uses described download code to download described file to be downloaded from described Cloud Server to make the user of described second user terminal.
7. device as claimed in claim 6, it is characterized in that, described generation module comprises:
Random code generation unit, for generating random code;
Acquiring unit, for obtaining the fileinfo of described user's login account and file to be downloaded;
Download code generation unit, for according to user's login account of create-rule, described random code, acquisition and the fileinfo of file to be downloaded, generates described download code.
8. device as claimed in claims 6 or 7, it is characterized in that, described download code also comprises check digit.
9. transmit a device for file, it is characterized in that, described device comprises:
Download code receiver module, for receiving the download code that first user terminal is uploaded, described download code comprises the fileinfo of user's login account and file to be downloaded;
Authorization module, authorizes for downloading described file to be downloaded;
Prompting returns module, for returning for pointing out described download code to generate correct information to described first user terminal;
Authentication module, whether consistent for verifying the download code that the download code of the second user terminal transmission and described first user terminal are uploaded;
Display module, if for verifying through described authentication module, the download code that described second user terminal sends is consistent with the download code that described first user terminal is uploaded, then show described file to be downloaded and download for the user of described second user terminal.
10. device as claimed in claim 9, it is characterized in that, described device also comprises:
Correction verification module, for after the download code that download code receiver module reception first user terminal is uploaded, verifies the download code that described first user terminal is uploaded;
Preserve module, if being the download code that described first user terminal is uploaded for the check results of described correction verification module is correct download code, then preserve the download code that described first user terminal is uploaded.
11. 1 kinds of systems transmitting file, it is characterized in that, described system comprises first user terminal, Cloud Server and the second user terminal, described first user terminal comprises generation module, upper transmission module, prompting receiver module and sending module, and described Cloud Server comprises download code receiver module, authorization module, prompting return module, authentication module and display module;
Described generation module, for generating download code, described download code comprises the fileinfo of user's login account and file to be downloaded;
Described upper transmission module, the download code for being generated by described generation module is uploaded to described Cloud Server, can to download authorize to make described Cloud Server to described file to be downloaded;
Described prompting receiver module, for receive that described Cloud Server returns for pointing out described download code to generate correct information;
Described sending module, is sent to described second user terminal for the download code generated by described download code generation module, uses described download code to download described file to be downloaded from described Cloud Server to make the user of described second user terminal;
Described download code receiver module, the download code that the upper transmission module for receiving described first user terminal is uploaded;
Described authorization module, authorizes for downloading described file to be downloaded;
Described prompting returns module, for returning for pointing out described download code to generate correct information to described first user terminal;
Described authentication module, whether consistent for verifying the download code that the download code of the second user terminal transmission and the upper transmission module of described first user terminal are uploaded;
Described display module, if for verifying through described authentication module, the download code that described second user terminal sends is consistent with the download code that described first user terminal is uploaded, then show described file to be downloaded and download for the user of described second user terminal;
Described second user terminal, for the described download code that the sending module of described first user terminal sends, described download code is sent to described Cloud Server, verify that the download code that the second user terminal sends is consistent with the download code that described first user terminal is uploaded at described authentication module, and when described display module shows described file to be downloaded, download described file to be downloaded from described Cloud Server.
CN201510028433.2A 2015-01-20 2015-01-20 A kind of methods, devices and systems of transmission file Expired - Fee Related CN104601582B (en)

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 true CN104601582A (en) 2015-05-06
CN104601582B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105656893A (en) * 2015-12-31 2016-06-08 武汉帕菲利尔信息科技有限公司 Method for realizing non film of hospital by directly obtaining medical image data
CN106549926A (en) * 2015-09-23 2017-03-29 腾讯科技(深圳)有限公司 A kind of method for authorizing account access right, apparatus and system
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
CN108063795A (en) * 2017-11-16 2018-05-22 福建睿能科技股份有限公司 File delivery method, Cloud Server and storage device
WO2019096045A1 (en) * 2017-11-15 2019-05-23 阿里巴巴集团控股有限公司 Network interaction method, electronic device, client, and server
CN111131363A (en) * 2018-11-01 2020-05-08 百度在线网络技术(北京)有限公司 File downloading processing method and device and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070027812A1 (en) * 2005-07-29 2007-02-01 Sony Corporation Content distribution system and content distribution method
CN102638587A (en) * 2012-05-03 2012-08-15 北京壹人壹本信息科技有限公司 File transmission method, mobile equipment, server and file transmission system
CN102710797A (en) * 2012-06-27 2012-10-03 新浪网技术(中国)有限公司 File sharing method and system
CN103002030A (en) * 2012-11-26 2013-03-27 北京百度网讯科技有限公司 File sharing method and system
CN103139313A (en) * 2013-03-13 2013-06-05 惠州Tcl移动通信有限公司 File transfer method and file transfer system between mobile terminals
CN103685337A (en) * 2012-08-31 2014-03-26 腾讯科技(深圳)有限公司 File sharing method, terminal equipment and relay server
CN103685332A (en) * 2012-08-31 2014-03-26 腾讯科技(深圳)有限公司 File transfer method, client, server and system
CN104038477A (en) * 2014-05-19 2014-09-10 杨尧任 Service network system-based file transfer method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070027812A1 (en) * 2005-07-29 2007-02-01 Sony Corporation Content distribution system and content distribution method
CN102638587A (en) * 2012-05-03 2012-08-15 北京壹人壹本信息科技有限公司 File transmission method, mobile equipment, server and file transmission system
CN102710797A (en) * 2012-06-27 2012-10-03 新浪网技术(中国)有限公司 File sharing method and system
CN103685337A (en) * 2012-08-31 2014-03-26 腾讯科技(深圳)有限公司 File sharing method, terminal equipment and relay server
CN103685332A (en) * 2012-08-31 2014-03-26 腾讯科技(深圳)有限公司 File transfer method, client, server and system
CN103002030A (en) * 2012-11-26 2013-03-27 北京百度网讯科技有限公司 File sharing method and 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

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
侯冬梅等: "Internet技术实用教程", 《INTERNET技术实用教程》 *
刘勇等: "网络共享 无处不在", 《电脑迷》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106549926A (en) * 2015-09-23 2017-03-29 腾讯科技(深圳)有限公司 A kind of method for authorizing account access right, apparatus and system
CN106549926B (en) * 2015-09-23 2019-12-10 腾讯科技(深圳)有限公司 method, device and system for authorizing account use permission
CN105656893A (en) * 2015-12-31 2016-06-08 武汉帕菲利尔信息科技有限公司 Method for realizing non film of hospital by directly obtaining medical image data
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
WO2019096045A1 (en) * 2017-11-15 2019-05-23 阿里巴巴集团控股有限公司 Network interaction method, electronic device, client, and server
CN108063795A (en) * 2017-11-16 2018-05-22 福建睿能科技股份有限公司 File delivery method, Cloud Server and storage device
CN111131363A (en) * 2018-11-01 2020-05-08 百度在线网络技术(北京)有限公司 File downloading processing method and device and electronic equipment
CN111131363B (en) * 2018-11-01 2023-03-24 百度在线网络技术(北京)有限公司 File downloading processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN104601582B (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN104601582A (en) File transfer method, device and system
CN108734028B (en) Data management method based on block chain, block chain link point and storage medium
US10511586B2 (en) Systems, apparatuses, methods, and non-transitory computer readable media for authenticating user using history of user
US9071422B2 (en) Access authentication method for multiple devices and platforms
CN104144419A (en) Identity authentication method, device and system
CN103533392A (en) Method, electronic device and system for logging in account
CN104468531A (en) Authorization method, device and system for sensitive data
CN108718337B (en) Website account login, verification and verification information processing method, device and system
CN103581108A (en) Login authentication method, login authentication client, login authentication server and login authentication system
US20150149777A1 (en) Mobile terminal, terminal and authentication method using security cookie
CN105282126A (en) Login authentication method, terminal and server
CN101808092B (en) Multi-certificate sharing method and system as well as intelligent card
CN105100034A (en) Method and apparatus for an access function in network applications
CN104967597A (en) Third-party application message authentication method and system based on secure channel
CN104935435A (en) Login methods, terminal and application server
CN105187467A (en) Mobile Questionnaire System and Method with Mandatory Reply
JP2017045462A (en) System and method for authenticating user by using contact list
CN111161056A (en) Method, system and equipment for improving transaction security of digital assets
CN102186173A (en) Identity authentication method and system
CN103780396A (en) Token obtaining method and device
CN104468457A (en) User logging-in method based on unified user system and registering method
CN105703901A (en) Encrypted data input method and encrypted data input device
CN105450592A (en) Safety verification method and device, server and terminal
CN104065674A (en) Terminal device and information processing method
CN104768204A (en) Network access management method, wearable device and system

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