Summary of the invention
For this purpose, the present invention provides the new document transmission method of one kind, apparatus and system, to try hard to solve or at least alleviate
The problem of existing above.
According to an aspect of the invention, there is provided a kind of document transmission method, executes, this method packet in calculating equipment
It includes: receiving user and treat the selection for being transmitted to server file;Obtain the attribute information of file to be transmitted;It is adopted according to attribute information
It is transmitted with the first transmission mode or the second transmission mode, comprising: under the first transmission mode, file data to be transmitted is led to
Cross network transmission and store to server, under the second transmission mode, first only to server transport the file to be transmitted spy
Value indicative, if receiving server fails the instruction for finding same characteristic features value in file characteristic value list, by text to be transmitted
Otherwise number of packages no longer passes through network transmission file data to be transmitted according to passing through network transmission and storing to server.
Optionally, in document transmission method according to the present invention, attribute information includes the size of file to be transmitted, class
One of type, storage catalogue and title.For different attribute informations, different judgment methods is executed to confirm transmission mode.
According to another aspect of the present invention, a kind of file transfer means for residing in and calculating in equipment, the device are provided
Include: receiving unit, the selection for being transmitted to server file is treated suitable for reception user;Information acquisition unit, be suitable for obtain to
Transmit the attribute information of file;Transmission mode determination unit is suitable for being determined according to attribute information using the first transmission mode or the
Two transmission modes are transmitted;File transmission unit is suitable under the first transmission mode, file data to be transmitted is passed through network
It transmits and stores to server, and under the second transmission mode, the characteristic value of the file to be transmitted to server transport, if
It receives server and fails the instruction for finding same characteristic features value in file characteristic value list, then file data to be transmitted is passed through
Network transmission is simultaneously stored to server, otherwise no longer passes through network transmission file data to be transmitted.
Optionally, in file transfer means according to the present invention, transmission mode determination unit is suitable for different attributes
Information executes different determination strategies, carries out file transmission using the first transmission mode or the second transmission mode with confirmation.
According to another aspect of the present invention, a kind of calculating equipment is provided, there are file transfer means as described above.
According to another aspect of the present invention, a kind of document transmission method is provided, is executed in the server, this method packet
It includes: under the first transmission mode, receiving and storing and calculate file data of the equipment by network transmission;And mould is transmitted second
Under formula, the calculating equipment is received by the characteristic value of the file to be transmitted of network transmission, searching in file characteristic value list is
It is no there are identical file characteristic value, file characteristic value list include the physical storage locations of each file data on the server with
And corresponding file characteristic value, if it does not exist, then sending to the calculating equipment, about in file characteristic value list, there is no phases
With the instruction of file characteristic value, this document data that the calculating equipment passes through network transmission are received and stored, if it is present to
The calculating equipment is sent about there are the instructions of same file characteristic value in file characteristic value list.
Optionally, in document transmission method according to the present invention, the user for further comprising the steps of: reception calculating equipment passes through
Login of first account to server;File data corresponding to acquisition file characteristic value is transferred to used when server
Second account;The security level of calculating facility information and this document when being logged according to the two accounts determines the first account to this
The access authority of file.
Optionally, in document transmission method according to the present invention, if calculating equipment when the two accounts log in is hard
Calculating IP address of equipment information when part identification information is not identical or the two accounts log in is not at same network segment, then sentences
Whether the security level of disconnected this document is higher than intended level;If being not higher than intended level, allow through the first account and second
Account accesses to this document;If being higher than intended level, the first card of offer is sent respectively to the first account and the second account
The instruction that bright instruction and offer second proves;Receiving first proves to prove with second;It is proved by comparing this document and first
The similitude proved with second, determines the access authority of a pair of this document of the first account and the second account.
According to another aspect of the present invention, a kind of resident file transfer means in the server, the device packet are provided
Include: receiving unit is suitable under the first transmission mode, receive and store calculate equipment by the file data of network transmission, also
Pass through the characteristic value of the file to be transmitted of network transmission suitable under the second transmission mode, receiving the calculating equipment;Processing unit,
Suitable for searching whether there is file characteristic value identical with the characteristic value of file to be transmitted in file characteristic value list, file is special
Value indicative list includes the physical storage locations and corresponding file characteristic value of each file data on the server;Output unit,
Suitable for when same file characteristic value is not present, to equipment transmission is calculated, about in file characteristic value list, there is no same files
The instruction of characteristic value, and indicate that receiving unit receives and stores the calculating equipment and passes through this document data of network transmission, also fits
In when there are same file characteristic value, send to equipment is calculated about there are same file characteristic values in file characteristic value list
Instruction.
Optionally, in file transfer means according to the present invention, receiving unit is further adapted for receiving the user for calculating equipment
Login by the first account to server;Processing unit is further adapted for working as finds identical file from file characteristic value list
When characteristic value, obtains file data corresponding to this document characteristic value and be transferred to used second account when server;It should
Device further includes permission judgement unit, is suitable in the second account and the first account difference, when being logged according to the two accounts
The security level for calculating facility information and this document determines the first account to the access authority of this document.
Optionally, in file transfer means according to the present invention, permission judgement unit is further adapted for stepping in the two accounts
When calculating device hardware identification information when record is not identical, or the calculating IP address of equipment information when the two accounts log in
When being not at same network segment, judge whether the security level of this document is higher than intended level and is suitable for not higher than intended level
When allow to access to this document by the first account and the second account, be higher than intended level when by comparing this document with
First proves the similitude proved with second, determines the access authority of a pair of this document of the first account and the second account.
According to another aspect of the present invention, a kind of server is provided, there are file transfer means as described above.
According to another aspect of the present invention, provide a kind of document transmission system, have it is as described above calculate equipment and
Server.
According to the technique and scheme of the present invention, for different files, in advance according to the attribute information of file in calculating equipment
Determine that transmission mode is transmitted again.Under the first transmission mode, calculates equipment and directly given file is transmitted by network transmission
Server;Under the second transmission mode, the characteristic value of server transport file can be first thought, server sentences this feature value
Not, corresponding instruction is sent to equipment is calculated according to differentiation result, by calculating equipment transmission file or is only increased to same
The reference of file.Which reduces the times that file transmission needs, and also mitigate the load of server.
Furthermore, it is contemplated that the safety problem of network data, under the second transmission mode, server can take further peace
Full measure.Server will record file data and be transferred to used user account when server, use when transmitting twice
User account difference when, according to the two accounts log in when calculating facility information (as calculate device hardware identification information, meter
Calculate IP address of equipment information) and the security level of this document determine active user's account (the first account mentioned in i.e. literary) to this
The access authority of file.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Fig. 1 is the schematic diagram of document transmission system 100 according to an embodiment of the invention.As shown in Figure 1, this document passes
Defeated system includes calculating equipment 110 and server 120.
Calculating equipment 110 can be implemented as a part of portable (or mobile) electronic equipment of small size, these electronics are set
The standby such as cellular phone, personal digital assistant (PDA), personal media player device, wireless network browsing apparatus, a of can be
People's helmet, application specific equipment or may include any of the above function mixing apparatus.Calculating equipment 110 can be with
Be embodied as include desktop computer and notebook computer configuration personal computer.
Calculate equipment 110 on be equipped with support web document transfer and storage client application, including native applications or
Person's browsers such as including IE, Chrome and Firefox, and various files have been locally stored, as photo, audio, video,
Document (such as document of Word, PDF format).Applications client may operate in Android, IOS, Windows, MacOS etc.
In operating system.Server 120 for example can be the remote cloud server for being physically located at one or more places.
This document Transmission system supports two kinds of transmission modes.Client is under the first transmission mode, by number of files to be transmitted
According to by network transmission and storing to server.Under the second transmission mode, only to server transport, this is to be passed first for client
The characteristic value (hash value) of defeated file fails to find same characteristic features value in file characteristic value list if receiving server
File data to be transmitted is then passed through network transmission and stored to server by instruction, otherwise no longer to be transmitted by network transmission
File data, but only increase the reference to the same file stored in server, i.e., so that text under client logon account
Increase to the reference of this document in part storage organization, this document has been uploaded to network storage server from the user's point of view.
Fig. 2 shows the streams of the document transmission method 200 according to an embodiment of the invention executed by calculating equipment 110
Cheng Tu.
In step S210, receives user and treat the selection for being transmitted to server file.User is by calculating equipment selection
File to be transmitted include: audio/video file (format such as mkv, mp4, AVI, rmvb etc.), document files (format such as doc, pdf,
Txt, XML etc.), picture file (format such as bmp, jpg, gif etc.) etc..
In step S220, the attribute information of the file to be transmitted is obtained.Attribute information includes at least file to be transmitted
One of type, size, storage catalogue and title.
In step S230, according to the attribute information of file to be transmitted using the first transmission mode or the second transmission mode into
Row transmission.Determine that the concrete mode of transmission mode is described in detail below.Under the first transmission mode, calculating equipment will be to be passed
Defeated file data passes through network transmission and stores to server.Under the second transmission mode, equipment is calculated only to server transport
The characteristic value of the file to be transmitted.Characteristic value is, for example, hash value, and server passes through hash algorithm for the binary system of random length
Value is mapped as the binary value of shorter regular length, can be used to quickly search.
In one embodiment, whether the size for judging file to be transmitted is more than file size threshold value.Such as, it can be determined that
Whether the size of file to be transmitted is more than 5M.If the size of file to be transmitted is more than file size threshold value, passed using second
Defeated mode is transmitted.If the size of file to be transmitted is less than file size threshold value, carried out using the first transmission mode
Transmission.For larger file, a large amount of transmission times can be saved if success " second biography ", therefore are worth attempting the second transmission mould
Formula.Otherwise it is possible to faster using the first transmission mode, and signaling consumption can be saved and mitigate server burden.
For bigger file, user is easy file is transferred to server to store, in this way, existing in server
The probability of same file is larger, at this point it is possible to be transmitted using the second transmission mode.And for lesser file, server
In a possibility that there are same files it is smaller, can be transmitted using the first transmission mode.
In another embodiment, the higher uplink bit rate for calculating equipment is obtained.Higher uplink bit rate can be with
It is the maximal uplink transmission rate or average uplink message transmission rate whithin a period of time for calculating equipment.According to
The size and higher uplink bit rate for transmitting file, calculate the transmission time of file to be transmitted.For example, the upstream data obtained
Transmission rate is 1MB/s, and the size of file to be transmitted is 10MB, then transmission time is 10s.When judging the transmission of file to be transmitted
Between whether be less than time threshold, for example, judging whether transmission time is less than 5s.If the transmission time of file to be transmitted is less than
Between threshold value, then transmitted using the first transmission mode.If the transmission time of file to be transmitted is greater than or equal to time threshold,
Then transmitted using the second transmission mode.In the expected longer situation of transmission time, it can be saved if success " second biography "
A large amount of transmission times, therefore be worth attempting the second transmission mode.Otherwise it is possible to faster using the first transmission mode, and can
It saves signaling consumption and mitigates server burden.
In another embodiment, whether the type for judging the file to be transmitted is predefined type.For example, predefined type
For Doctype, picture type.If the type of file to be transmitted is predefined type, there is the general of same file in the server
Rate is relatively low, and the first transmission mode can be used and transmitted.If the type of file to be transmitted is not predefined type, using second
Transmission mode is transmitted.Generally, for Doctype, the file of picture type, it is not easy that there are identical in server
File, transmitted at this point it is possible to directly adopt the first transmission mode.And for for example audio-visual type file, service
Probability in device there are same file is higher, is transmitted at this point it is possible to attempt the second transmission mode.
Attribute information may also include the metadata information of picture.Metadata information includes shooting time, picture modification time
At least one of with capture apparatus.Metadata information can be in calculating equipment by checking that such as exif information of picture obtains
It takes.When the type of file to be transmitted is picture type, can further judge whether picture is to calculate equipment itself shooting.Example
Such as, whether the shooting time compared in metadata information is consistent with modification time of the picture in calculating equipment, or checks member
Whether the capture apparatus information in data information is consistent with equipment is calculated.If picture is to calculate equipment itself shooting, use
First transmission mode is transmitted.If picture is not to calculate equipment itself shooting, transmitted using the second transmission mode.
For calculating the photo of equipment itself shooting, server can use the first transmission mode there are the probability of same file is very low
It is transmitted.For not being the photo for calculating equipment itself shooting, for instance it can be possible that being deposited from the picture that network obtains, server
It is bigger in the probability of same file, it can attempt to be transmitted using the second transmission mode.
In another embodiment, whether the storage catalogue for judging file to be transmitted is particular category.Particular category is for example
For sdcard/DCIM.If the storage catalogue of file to be transmitted is particular category, transmitted using the first transmission mode.
If the storage catalogue of file to be transmitted is not particular category, transmitted using the second transmission mode.It is deposited in particular category
Storage is usually file related with individual subscriber, such as personal photo or personal document, and there are same files in server
Possibility is relatively low, therefore uses the first transmission mode to be transmitted to save unnecessary signaling consumption.
In another embodiment, judge in the title of file to be transmitted whether to include the date.If file to be transmitted
Title in include the date, then transmitted using the first transmission mode.If not including day in the title of file to be transmitted
Phase is then transmitted using the second transmission mode.Equally, the dated file of title band is usually text related with individual subscriber
A possibility that part, such as personal photo or personal document, there are same files in server, is relatively low, therefore using the first transmission
Mode is transmitted to save unnecessary signaling consumption.
Fig. 3 shows the process of the document transmission method 300 according to an embodiment of the invention executed by server 120
Figure.
In step s310, determine and calculate the file transmission mode between equipment.
If being received and stored in step S320 using the first transmission mode and calculating file of the equipment by network transmission
Data.If receiving the file to be transmitted that the calculating equipment passes through network transmission in step S330 using the second transmission mode
Characteristic value, searched whether in file characteristic value list in step S340 there are identical file characteristic value, the file is special
Value indicative list includes the physical storage locations and corresponding file characteristic value of each file data on the server.If there is no
Identical file characteristic value, then in step S350, to calculating equipment transmission, about in file characteristic value list, there is no phase identical texts
The instruction of part characteristic value receives and stores this document data that the calculating equipment passes through network transmission.If there is identical text
Part characteristic value is then sent to the calculating equipment about there are same file characteristic values in file characteristic value list in step S360
Instruction.As " second biography " mechanism, server increases the reference to the same file of storage, i.e., so that client logon account
Under file storage structure in increase to the reference of this document, this document has been uploaded to network storage service from the user's point of view
Device.
According to the technique and scheme of the present invention, the file of different type or size is sentenced in calculating equipment in advance
Not, and according to differentiating that result is transmitted using different transmission modes, reduce the time that file transmission needs, also mitigate
The load of server.
Inventors realized that the success of " second biography " shows to be stored with same file in server, sometimes this may anticipate
Taste in order to privacy and safety leakage.Enhance the safety of network data, according to another embodiment of the invention, server
Further safety measure can also be taken under the second transmission mode.Although not referring in step in front, server is to meter
The network file management for calculating equipment is carried out based on user account.Server receives the user for calculating equipment by first first
Login of the account to server.In the second transmission mode, if there are identical file characteristic value in file verification value list,
It then obtains file data corresponding to this document characteristic value and is transferred to used second account when server before this.If the
Two accounts are different from the first account, then the security level of calculating facility information and this document when being logged according to the two accounts is true
Access authority of fixed first account to this document.If calculating device hardware identification information when the two accounts log in is identical,
I.e. this document is that the same calculating equipment is uploaded by different accounts, and the first account logged in afterwards in this case should be peace
Complete, allow to access to this document by the first account at this time.Similarly, if the two accounts log in when calculating equipment
IP address information is identical or is in same network segment, then allows to access to this document by the first account.
Calculating device hardware identification information when if the two accounts log in is not identical or the two accounts log in
Calculating IP address of equipment information be not at same network segment, then judge whether the security level of this document is higher than intended level.Such as
Fruit is not higher than intended level, then allows to access to this document by the first account and the second account.That is, for low level security
Other file does not consider further that first uploader and the connection between rear uploader, to save computing resource and reduce to user
Bother.The security level of file can according to file to safety and confidentiality requirement setting, such as to safety, secrecy
High security level can be set in the demanding financial account of property, and the lower file of security requirement such as image class file can be set
Low security level.If the security level of this document is higher than intended level, can be mentioned to the first account and the transmission of the second account
The instruction that the instruction and offer second proved for first proves.First proves to be proved to be the right about user to file with second
The proof of (such as ownership, the right to use).For example, documentary evidence can be proof should if the file uploaded is financial account
The identification document of company where user or user that financial account returns its all.For the photo of upload, it was demonstrated that file can be
It include other photos of personage appeared in the photo.Server receive the first proof and second prove after, can be with
Artificially judged by operation maintenance personnel, or the phase that can be proved by comparing this document with the first proof and second with server
Judge automatically like property (such as the case where to photo), determines the access right of a pair of this document of the first account and the second account
Limit.In this way, the account access authority for being proved to have the right is given for there is the possible file of leakage, and another account loses visit
It asks permission, reduces the risk that file is illegally accessed, spreads.In addition it is also possible to according to the text of the first account and the second account
Part transmission history determines the access authority of a pair of this document of the first account and the second account, such as current file is financial account
It is single, if having found the file of similar financial category in the file transmission history of the first account, and in the file of the second account
The relevant file of any financial category is not found in transmission history, can determine that the first account has access right to this document at this time
Limit.
Fig. 4 A shows the file transfer means 400 according to an embodiment of the invention for residing in and calculating in equipment 110
Schematic diagram.As shown in Figure 4 A, device 400 includes: receiving unit 410, information acquisition unit 420, transmission mode determination unit
430 and file transmission unit 440.
Wherein, receiving unit 410 treats the selection for being transmitted to the file of server suitable for receiving user.User passes through calculating
The file to be transmitted of equipment selection includes: audio/video file (format such as mkv, mp4, AVI, rmvb etc.), (format is such as document files
Doc, pdf, txt, XML etc.), picture file (format such as bmp, jpg, gif etc.) etc..
Information acquisition unit 420 is suitable for obtaining the attribute information of the file to be transmitted.According to implementation, attribute information is extremely
It less include one of type, size, storage catalogue and the title of file to be transmitted.
The attribute information that transmission mode determination unit 430 is suitable for being obtained according to information acquisition unit 420 is determined using first
Transmission mode or the second transmission mode are transmitted.
File transmission unit 440 is suitable under the first transmission mode, and file data to be transmitted is passed through network transmission and is deposited
It stores up to server, and under the second transmission mode, to server transport, the characteristic value of the file to be transmitted, characteristic value are, for example,
The binary value of random length is mapped as the binary value of shorter regular length by hash algorithm by hash value, server,
It can be used to quickly search.
If receiving server fails the instruction for finding same characteristic features value in file characteristic value list, file transmission is single
File data to be transmitted is passed through network transmission again and stored to server by member 440, otherwise no longer to be transmitted by network transmission
File data.
The process that transmission mode determination unit 430 determines transmission mode according to specific object information is explained below.
In one embodiment, attribute information includes the size of file to be transmitted.As shown in Figure 4 B, wherein transmission mode is true
Order member 430 includes judgment sub-unit 432, and judgment sub-unit 432 is suitable for judging whether the size of file to be transmitted is more than file
Size threshold value (e.g., 5M): it if the size of file to be transmitted is more than file size threshold value, is passed using the second transmission mode
It is defeated;If the size of file to be transmitted is less than file size threshold value, transmitted using the first transmission mode.
For larger file, a large amount of transmission times can be saved if success " second biography ", therefore are worth attempting the second transmission
Mode.Otherwise it is possible to faster using the first transmission mode, and signaling consumption can be saved and mitigate server burden.For
Bigger file, user is easy file is transferred to server to store, in this way, there are the general of same file in server
Rate is larger, at this point it is possible to be transmitted using the second transmission mode.And for lesser file, there are phase identical texts in server
A possibility that part, is smaller, can be transmitted using the first transmission mode.
In another embodiment, attribute information includes the type of file to be transmitted, at this point, as shown in Figure 4 B, judging son
Unit 432 be suitable for judge whether the type of file to be transmitted is predefined type: if the type of file to be transmitted for predefined type,
Then transmitted using the first transmission mode;If the type of file to be transmitted is not predefined type, using the second transmission mould
Formula is transmitted.Predefined type includes Doctype, picture type, CSV type, HTML type and XML type.
When the type of file to be transmitted is picture type, attribute information further includes the metadata information of picture, metadata
Information includes at least one of shooting time, picture modification time and capture apparatus.Judgment sub-unit 432 is further adapted for according to member
Data information judges whether picture is to calculate equipment itself shooting: if picture uses first to calculate equipment itself shooting
Transmission mode is transmitted;If picture is not to calculate equipment itself shooting, transmitted using the second transmission mode.
In yet another embodiment, attribute information includes the size of file to be transmitted, at this time as shown in Figure 4 C, transmission mode
Determination unit 430 further includes obtaining subelement 434 and computation subunit 436 other than including above-mentioned judgment sub-unit 432.
Specifically, subelement 434 is obtained to be suitable for obtaining the higher uplink bit rate for calculating equipment, computation subunit 436
Suitable for the size and the higher uplink bit rate according to file to be transmitted, the transmission time of file to be transmitted is calculated;Judgement
Subelement 432 is suitable for judging whether the transmission time of file to be transmitted is less than time threshold: if when the transmission of file to be transmitted
Between be less than time threshold, then transmitted using the first transmission mode;If the transmission time of file to be transmitted is greater than or equal to
Time threshold is then transmitted using the second transmission mode.For example, obtaining the higher uplink bit rate that subelement 434 obtains
For 1MB/s, the size of file to be transmitted is 10MB, then the calculated transmission time of computation subunit 436 is 10s, then by judging
Subelement 432 judges whether the transmission time of file to be transmitted is less than time threshold (e.g., 5s), and is determined and passed according to judging result
Defeated mode.In the expected longer situation of transmission time, a large amount of transmission times can be saved if success " second biography ", therefore be worth
Attempt the second transmission mode.Otherwise it is possible to faster using the first transmission mode, and signaling consumption can be saved and mitigate clothes
Business device burden.
In yet another embodiment, attribute information includes the storage catalogue of file to be transmitted, as shown in Figure 4 B, is judged sub single
Member 432 is suitable for judging whether the storage catalogue of file to be transmitted is particular category, and particular category is, for example, sdcard/DCIM: such as
The storage catalogue of fruit file to be transmitted is particular category, then is transmitted using the first transmission mode;If file to be transmitted
Storage catalogue is not particular category, then is transmitted using the second transmission mode.Stored in particular category be usually and user
A possibility that personal related file, such as personal photo or personal document, there are same files in server, is relatively low, therefore
The first transmission mode is used to be transmitted to save unnecessary signaling consumption.
In yet another embodiment, attribute information includes the title of file to be transmitted, as shown in Figure 4 B, judgment sub-unit
Whether 432 be further adapted in the title for judging file to be transmitted comprising the date: if in the title of file to be transmitted including the date,
It is transmitted using the first transmission mode;If not including the date in the title of file to be transmitted, the second transmission mode is used
It is transmitted.Equally, the dated file of title band is usually file related with individual subscriber, such as personal photo or individual
A possibility that document, there are same files in server, is relatively low, therefore uses the first transmission mode to be transmitted to save not
Necessary signaling consumption.
Fig. 5 A shows the file transfer means 500 according to an embodiment of the invention resided in server 120
Schematic diagram, as shown in figure 5, device 500 includes: receiving unit 510, processing unit 520 and output unit 530.
The user that receiving unit 510 is suitable for receiving calculating equipment passes through login of first account to server.
Under the first transmission mode, receiving unit 510, which is suitable for receiving and storing, calculates file of the equipment by network transmission
Data.
Under the second transmission mode, receiving unit 510 is suitable for receiving the text to be transmitted that the calculating equipment passes through network transmission
The characteristic value of part, and processing unit 520 coupled thereto is transferred to be for further processing.
Processing unit 520 is suitable for searching whether in file characteristic value list existing identical as the characteristic value of file to be transmitted
File characteristic value, wherein file characteristic value list includes the physical storage locations and correspondence of each file data on the server
File characteristic value.And lookup result is sent to output unit 530 coupled thereto by post-processing unit 520.
Output unit 530 is suitable for when same file characteristic value is not present, and sends to equipment is calculated about file characteristic value
The instruction of same file characteristic value is not present in list, and indicates that receiving unit 510 receives and stores the calculating equipment and passes through net
This document data of network transmission are further adapted for when there are same file characteristic value, send to equipment is calculated about file characteristic value
There are the instructions of same file characteristic value in list.
According to the technique and scheme of the present invention, the file of different type or size is sentenced in calculating equipment in advance
Not, and according to differentiating that result is transmitted using different transmission modes, reduce the time that file transmission needs, also mitigate
The load of server.
For the safety for enhancing network data, according to another embodiment of the invention, the file transfer means of server
500 can also take further safety measure under the second transmission mode.As shown in Figure 5 B, file transfer means 500 are in addition to packet
It includes outside receiving unit 510, processing unit 520 and output unit 530, further includes permission judgement unit 540, wherein permission differentiates single
Member 540 further includes instruction subelement 542.
Although not referring in step in front, server is based on user account to the network file management for calculating equipment
It carries out.Here, processing unit 520 is further adapted for obtaining when finding identical file characteristic value from file characteristic value list
It obtains file data corresponding to this document characteristic value and is transferred to used second account when server.
Permission judgement unit 540 is suitable in the second account and the first account difference, when being logged according to the two accounts
The security level for calculating facility information and this document determines the first account to the access authority of this document.
Optionally, calculating facility information includes calculating device hardware identification information.Permission judgement unit 540 be suitable for this two
When calculating device hardware identification information when a account logs in is identical, allow to access to this document by the first account.
Optionally, calculating facility information includes calculating IP address of equipment information.Permission judgement unit 540 is suitable at the two
Account log in when calculating IP address of equipment information it is identical or be in same network segment when, allow by the first account to this document into
Row access.
The calculating device hardware identification information that permission judgement unit 540 is further adapted for when the two accounts log in is not identical
When, or the two accounts log in when calculating IP address of equipment information be not at same network segment when, judge the peace of this document
Whether full rank is higher than intended level.
When being not higher than intended level, permission judgement unit 540 is further adapted for allowing through the first account and the second account pair
This document accesses.That is, file other for low level security does not consider further that first uploader and the connection between rear uploader
User bothers with saving computing resource and reducing in system.Wherein, the security level of file can be according to file to safety
Requirement with confidentiality is arranged, such as high security level can be set in the financial account high to safety, confidentiality requirement, safety
Property require lower file such as image class file that low security level can be set.
When the security level of this document is higher than intended level, the instruction subelement 542 in permission judgement unit 540 is suitable for
Send the instruction and instruction and reception first that second proves are provided for providing that first proves respectively to the first account and the second account
It proves and second proves.First proves to be proved to be the card about user to the right (such as ownership, the right to use) of file with second
It is bright.For example, documentary evidence can be the user for proving that the financial account returns its all if the file uploaded is financial account
Or the identification document of company where user.For the photo of upload, it was demonstrated that it includes appeared in the photo that file, which can be,
Other photos of personage.Permission judgement unit 540 is suitable for proving by comparing this document and first and the similitude of the second proof,
Determine the access authority of a pair of this document of the first account and the second account.
Alternatively, permission judgement unit 540 is further adapted for according to the first account when the security level of this document is higher than intended level
The file transmission history of family and the second account determines the access authority of a pair of this document of the first account and the second account.Such as when
Preceding document is financial account, if having found the file of similar financial category in the file transmission history of the first account, and
The relevant file of any financial category is not found in the file transmission history of second account, can determine the first account to this article at this time
Part has access authority.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, knot is not been shown in detail
Structure and technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims than feature more features expressly recited in each claim.More precisely, as following
As claims reflect, inventive aspect is all features less than single embodiment disclosed above.Therefore, it abides by
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
As a separate embodiment of the present invention.
Those skilled in the art should understand that the module of the equipment in example disclosed herein or unit or groups
Part can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned at and the equipment in the example
In different one or more equipment.Module in aforementioned exemplary can be combined into a module or furthermore be segmented into multiple
Submodule.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
A5. the method as described in A4, wherein attribute information further includes figure when the type of file to be transmitted is picture type
The metadata information of piece, metadata information include at least one of shooting time, picture modification time and capture apparatus, wherein
The step of being transmitted according to attribute information using the first transmission mode or the second transmission mode further include: believed according to metadata
Breath judges whether picture is to calculate equipment itself shooting;If picture is to calculate equipment itself shooting, using the first transmission mould
Formula is transmitted;If picture is not to calculate equipment itself shooting, transmitted using the second transmission mode.A6. such as A1 institute
The method stated, wherein attribute information includes the size of file to be transmitted, wherein according to attribute information using the first transmission mode or
The step of second transmission mode is transmitted further include: obtain the higher uplink bit rate for calculating equipment;According to text to be transmitted
The size of part and the higher uplink bit rate, calculate the transmission time of file to be transmitted;Judge the transmission of file to be transmitted
Whether the time is less than time threshold;If the transmission time of file to be transmitted is less than time threshold, the first transmission mode is used
It is transmitted;If the transmission time of file to be transmitted is greater than or equal to time threshold, passed using the second transmission mode
It is defeated.A7. method as described in a1, wherein attribute information includes the storage catalogue of file to be transmitted, wherein being adopted according to attribute information
The step of being transmitted with the first transmission mode or the second transmission mode further include: judge file to be transmitted storage catalogue whether
For particular category;If the storage catalogue of file to be transmitted is particular category, transmitted using the first transmission mode;If
The storage catalogue of file to be transmitted is not particular category, then is transmitted using the second transmission mode.A8. the side as described in A7
Method, wherein attribute information includes the title of file to be transmitted, wherein being passed according to attribute information using the first transmission mode or second
The step of defeated mode is transmitted further include: whether judge in the title of file to be transmitted comprising the date;If file to be transmitted
Title in include the date, then transmitted using the first transmission mode;If not including the date in the title of file to be transmitted,
Then transmitted using the second transmission mode.
B10. the device as described in B9, wherein attribute information includes the size of file to be transmitted, transmission mode determination unit
It include: judgment sub-unit, suitable for judging whether the size of file to be transmitted is more than file size threshold value: if file to be transmitted
Size is more than file size threshold value, then is transmitted using the second transmission mode;And if the size of file to be transmitted does not surpass
File size threshold value is crossed, then is transmitted using the first transmission mode.B11. the device as described in B9, wherein attribute information include
The type of file to be transmitted, transmission mode determination unit include: judgment sub-unit, suitable for judge file to be transmitted type whether
For predefined type: if the type of file to be transmitted is predefined type, being transmitted using the first transmission mode;And if
The type of file to be transmitted is not predefined type, then is transmitted using the second transmission mode.B12. device as described in b11,
Wherein predefined type includes Doctype, picture type, CSV type, HTML type and XML type.B13. it fills as described in B12
It sets, wherein attribute information further includes the metadata information of picture, metadata letter when the type of file to be transmitted is picture type
Breath includes at least one of shooting time, picture modification time and capture apparatus, and judgment sub-unit is further adapted for according to metadata
Information judges whether picture is to calculate equipment itself shooting: if picture uses the first transmission to calculate equipment itself shooting
Mode is transmitted;And it if picture is not to calculate equipment itself shooting, is transmitted using the second transmission mode.B14.
Device as described in B9, wherein attribute information includes the size of file to be transmitted, and transmission mode determination unit includes: to obtain son list
Member, suitable for obtaining the higher uplink bit rate for calculating equipment;Computation subunit, suitable for according to the size of file to be transmitted and upper
Row message transmission rate calculates the transmission time of file to be transmitted;And judgment sub-unit, suitable for judging the biography of file to be transmitted
Whether the defeated time is less than time threshold: if the transmission time of file to be transmitted is less than time threshold, using the first transmission mould
Formula is transmitted;If the transmission time of file to be transmitted is greater than or equal to time threshold, carried out using the second transmission mode
Transmission.B15. the device as described in B9, wherein attribute information includes the storage catalogue of file to be transmitted, transmission mode determination unit
It include: judgment sub-unit, suitable for judging whether the storage catalogue of file to be transmitted is particular category: if file to be transmitted is deposited
Storage catalogue is particular category, then is transmitted using the first transmission mode;And if the storage catalogue of file to be transmitted is not
Particular category is then transmitted using the second transmission mode.B16. the device as described in B15, wherein attribute information includes to be passed
Whether the title of defeated file, judgment sub-unit are further adapted in the title for judging file to be transmitted comprising the date;If text to be transmitted
Include the date in the title of part, is then transmitted using the first transmission mode;And it if is not wrapped in the title of file to be transmitted
Containing the date, then transmitted using the second transmission mode.
C19. the method as described in C18, further includes: the user for receiving the calculating equipment passes through the first account to server
It logs in.C20. the method as described in C19, further includes: if obtained in file characteristic value list there are identical file characteristic value
It obtains file data corresponding to this document characteristic value and is transferred to used second account when server.C21. as described in C20
Method, further includes: if the second account is different from the first account, according to the two accounts log in when calculating facility information
Determine the first account to the access authority of this document with the security level of this document.C22. the method as described in C21, wherein calculating
Facility information includes calculating device hardware identification information, wherein calculating facility information and this article when being logged according to the two accounts
If the security level of part determines the first account to the calculating equipment that the access authority of this document includes: when the two accounts log in
Hardware identification information is identical, then allows to access to this document by the first account.C23. the method as described in C21, wherein
Calculate facility information include calculate IP address of equipment information, wherein according to the two accounts log in when calculating facility information and should
If the security level of file determines that the first account sets the calculating when access authority of this document includes: the login of the two accounts
Standby IP address information is identical or is in same network segment, then allows to access to this document by the first account.C24. such as C22 or
Method described in 23, wherein the security level of calculating facility information and this document when being logged according to the two accounts determines first
If account is not identical to the calculating device hardware identification information when access authority of this document includes: the login of the two accounts,
Or the calculating IP address of equipment information when login of the two accounts is not at same network segment, then judges the security level of this document
Whether intended level is higher than;If being not higher than intended level, allow to carry out this document by the first account and the second account
Access.C25. the method as described in C24, wherein the safety of calculating facility information and this document when being logged according to the two accounts
Rank determines the first account to the access authority of this document further include: if being higher than intended level, to the first account and second
Account sends the instruction and provide the second instruction proved for providing that first proves;Receiving first proves to prove with second;Pass through ratio
Compared with the similitude that this document and the first proof and second prove, the access of a pair of this document of the first account and the second account is determined
Permission.C26. the method as described in C24, wherein the safety of calculating facility information and this document when being logged according to the two accounts
Rank determines the first account to the access authority of this document further include: if being higher than intended level, according to the first account and second
The file transmission history of account determines the access authority of a pair of this document of the first account and the second account.
D28. the device as described in D27, wherein the user that receiving unit is further adapted for receiving calculating equipment passes through the first account
Login to server.D29. the device as described in D28, wherein processing unit is further adapted for working as to be looked into from file characteristic value list
When finding identical file characteristic value, obtains when file data corresponding to this document characteristic value is transferred to server and used
The second account.D30. the device as described in D29, further includes: permission judgement unit, be suitable for the second account and the first account not
Meanwhile the security level of the calculating facility information and this document when being logged according to the two accounts determines the first account to this document
Access authority.D31. the device as described in D30, wherein calculating facility information includes calculating device hardware identification information, permission
Judgement unit be further adapted for the two accounts log in when calculating device hardware identification information it is identical when, allow through the first account
It accesses to this document.D32. the device as described in D30, wherein calculating facility information includes calculating IP address of equipment information,
It is identical or in same network segment that permission judgement unit is further adapted for the calculating IP address of equipment information when the two accounts log in, and permits
Perhaps it is accessed by the first account to this document.D33. the device as described in D31 or 32, wherein permission judgement unit is also suitable
When the calculating device hardware identification information when the two accounts log in is not identical, or the meter when the two accounts log in
When calculation IP address of equipment information is not at same network segment, judge whether the security level of this document is higher than intended level and is suitable for
Allow to access to this document by the first account and the second account when being not higher than intended level.D34. as described in D33
Device, wherein permission judgement unit further include: instruction subelement, suitable for being higher than predetermined level in the security level for judging this document
When other, sent to the first account and the second account and instruction that first proves is provided and instruction that second proves is provided and receives the
One proves to prove with second;And permission judgement unit is further adapted for the phase proved by comparing this document with the first proof and second
Like property, the access authority of a pair of this document of the first account and the second account is determined.D35. the device as described in D33, wherein power
Limit judgement unit is further adapted for when the security level for judging this document is higher than intended level, according to the first account and the second account
File transmission history determine the first account and the second account a pair of this document access authority.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
In addition, be described as herein can be by the processor of computer system or by executing by some in the embodiment
The combination of method or method element that other devices of the function are implemented.Therefore, have for implementing the method or method
The processor of the necessary instruction of element forms the device for implementing this method or method element.In addition, Installation practice
Element described in this is the example of following device: the device be used for implement as in order to implement the purpose of the invention element performed by
Function.
As used in this, unless specifically stated, come using ordinal number " first ", " second ", " third " etc.
Description plain objects, which are merely representative of, is related to the different instances of similar object, and is not intended to imply that the object being described in this way must
Must have the time it is upper, spatially, sequence aspect or given sequence in any other manner.
Although the embodiment according to limited quantity describes the present invention, above description, the art are benefited from
It is interior it is clear for the skilled person that in the scope of the present invention thus described, it can be envisaged that other embodiments.Additionally, it should be noted that
Language used in this specification primarily to readable and introduction purpose and select, rather than in order to explain or limit
Determine subject of the present invention and selects.Therefore, without departing from the scope and spirit of the appended claims, for this
Many modifications and changes are obvious for the those of ordinary skill of technical field.For the scope of the present invention, to this
Invent done disclosure be it is illustrative and not restrictive, it is intended that the scope of the present invention be defined by the claims appended hereto.