CN106101274B - A kind of document transmission method, apparatus and system - Google Patents

A kind of document transmission method, apparatus and system Download PDF

Info

Publication number
CN106101274B
CN106101274B CN201610651254.9A CN201610651254A CN106101274B CN 106101274 B CN106101274 B CN 106101274B CN 201610651254 A CN201610651254 A CN 201610651254A CN 106101274 B CN106101274 B CN 106101274B
Authority
CN
China
Prior art keywords
file
transmitted
account
transmission mode
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610651254.9A
Other languages
Chinese (zh)
Other versions
CN106101274A (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.)
Wuxi Qixin Information Technology Co.,Ltd.
Original Assignee
Yuhuan Kanzhi Information Technology Co 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 Yuhuan Kanzhi Information Technology Co Ltd filed Critical Yuhuan Kanzhi Information Technology Co Ltd
Priority to CN201610651254.9A priority Critical patent/CN106101274B/en
Publication of CN106101274A publication Critical patent/CN106101274A/en
Application granted granted Critical
Publication of CN106101274B publication Critical patent/CN106101274B/en
Active 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/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/105Multiple levels of security

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of document transmission methods executed in calculating equipment, comprising: receives user and treats the selection for being transmitted to server file;Obtain the attribute information of file to be transmitted;It is transmitted according to attribute information using the first transmission mode or the second transmission mode, it include: under the first transmission mode, file data to be transmitted is passed through into network transmission and is stored to server, under the second transmission mode, first only to server transport the file to be transmitted characteristic value, if receiving server fails the instruction for finding same characteristic features value in file characteristic value list, file data to be transmitted is then passed through into network transmission and is stored to server, network transmission file data to be transmitted is otherwise no longer passed through.Correspondingly, the present invention also provides the corresponding document transmission method executed in the server, the file transfer means being reside respectively in calculating equipment and server and document transmission systems.

Description

A kind of document transmission method, apparatus and system
Technical field
The present invention relates to field of data transmission, in particular to a kind of document transmission method, apparatus and system.
Background technique
Currently, more and more users are just using network cloud storage to carry out local file with the raising of network speed Backup.Some cloud storage services support a kind of mechanism for being referred to as " second biographys ", that is, user pass through in client transmitting file it Before, client can first calculate the hash value (such as MD5) of local file, and the hash value is transferred to network storage server, net The maintenance of network storage server has a list, and the file and its corresponding hash value which is stored work as network storage When server receives the hash value that client transmissions come, search whether there is identical hash value in its list, if deposited Then client is not necessarily to upper transmitting file, and network storage server only needs to update the network file storage organization of the user account Reference of the middle addition to this document, so as to access this document actual storage locations.That is, network storage server pair Identical file only needs to retain a copy, to save file transmission time and memory space.
However, this mechanism the problem is that, as the quantity of documents of cloud storage is more and more, network storage server The list of maintenance is more and more huger, and retrieval hash value the time it takes is also increasingly longer, while can consume signal resource, to clothes Business device and client all bring heavy burden.
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.
Detailed description of the invention
To the accomplishment of the foregoing and related purposes, certain illustrative sides are described herein in conjunction with following description and drawings Face, these aspects indicate the various modes that can practice principles disclosed herein, and all aspects and its equivalent aspect It is intended to fall in the range of theme claimed.Read following detailed description in conjunction with the accompanying drawings, the disclosure it is above-mentioned And other purposes, feature and advantage will be apparent.Throughout the disclosure, identical appended drawing reference generally refers to identical Component or element.
Fig. 1 shows the schematic diagram of document transmission system 100 according to an embodiment of the invention;
Fig. 2 shows the processes of the document transmission method 200 according to an embodiment of the invention executed by calculating equipment Figure;
Fig. 3 shows the flow chart of the document transmission method 300 according to an embodiment of the invention executed by server;
Fig. 4 A to Fig. 4 C respectively illustrates the file transfer means according to an embodiment of the present invention for residing in and calculating in equipment 400 schematic diagram;And
Fig. 5 A and Fig. 5 B respectively illustrate resident file transfer means 500 in the server according to an embodiment of the present invention Schematic diagram.
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.

Claims (33)

1. a kind of document transmission method executes in calculating equipment, this method comprises:
By the first account login service device, used user when being transferred to server so as to server record file data Account;
It receives user and treats the selection for being transmitted to server file;
Obtain the attribute information of the file to be transmitted;
It is transmitted according to the attribute information using the first transmission mode or the second transmission mode, comprising:
Under the first transmission mode, file data to be transmitted is passed through into network transmission and is stored to server,
Under the second transmission mode, first only to server transport the file to be transmitted characteristic value, if receiving server Fail the instruction for finding same characteristic features value in file characteristic value list, then file data to be transmitted is passed through into network transmission and deposits Storage is special according to the first account and this document by server otherwise no longer by network transmission file data to be transmitted to server File data corresponding to value indicative is transferred to used second account when server, to determine the first account to this article number of packages According to access authority.
2. the method as described in claim 1, wherein the attribute information includes the size of file to be transmitted, wherein according to The step of attribute information is transmitted using the first transmission mode or the second transmission mode include:
Whether the size for judging the file to be transmitted is more than file size threshold value;
If the size of file to be transmitted is more than file size threshold value, transmitted using the second transmission mode;
If the size of file to be transmitted is less than file size threshold value, transmitted using the first transmission mode.
3. the method as described in claim 1, wherein the attribute information includes the type of file to be transmitted, wherein according to The step of attribute information is transmitted using the first transmission mode or the second transmission mode further include:
Whether the type for judging the file to be transmitted is predefined type;
If the type of file to be transmitted is predefined type, transmitted using the first transmission mode;
If the type of file to be transmitted is not predefined type, transmitted using the second transmission mode.
4. method as claimed in claim 3, wherein the predefined type include Doctype, picture type, CSV type, HTML type and XML type.
5. method as claimed in claim 4, wherein when the type of the file to be transmitted is picture type, the attribute letter Breath further includes the metadata information of picture, metadata information include in shooting time, picture modification time and capture apparatus extremely Few one kind, wherein the step of being transmitted according to the attribute information using the first transmission mode or the second transmission mode is also wrapped It includes:
According to the metadata information, judge whether the picture is to calculate equipment itself shooting;
If the picture is to calculate equipment itself shooting, transmitted using the first transmission mode;
If the picture is not to calculate equipment itself shooting, transmitted using the second transmission mode.
6. the method as described in claim 1, wherein the attribute information includes the size of file to be transmitted, wherein according to The step of attribute information is transmitted using the first transmission mode or the second transmission mode further include:
Obtain the higher uplink bit rate for calculating equipment;
According to the size of file to be transmitted and the higher uplink bit rate, the transmission time of file to be transmitted is calculated;
Judge whether the transmission time of file to be transmitted is less than time threshold;
If the transmission time of file to be transmitted is less than time threshold, transmitted using the first transmission mode;
If the transmission time of file to be transmitted is greater than or equal to time threshold, transmitted using the second transmission mode.
7. the method as described in claim 1, wherein the attribute information includes the storage catalogue of file to be transmitted, wherein basis The step of attribute information is transmitted using the first transmission mode or the second transmission mode further include:
Whether the storage catalogue for judging the file to be transmitted is 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, transmitted using the second transmission mode.
8. the method as described in claim 1, wherein the attribute information includes the title of file to be transmitted, wherein according to The step of attribute information is transmitted using the first transmission mode or the second transmission mode further include:
Whether judge in the title of the file to be transmitted comprising the date;
If in the title of file to be transmitted including the date, transmitted using the first transmission mode;
If not including the date in the title of file to be transmitted, transmitted using the second transmission mode.
9. a kind of file transfer means, described device, which resides in, to be calculated in equipment, which includes:
Receiving unit is transmitted to the selection of server file suitable for receiving user by the first account login service device and treating;
Information acquisition unit, suitable for obtaining the attribute information of the file to be transmitted;
Transmission mode determination unit, be suitable for being determined according to the attribute information using the first transmission mode or the second transmission mode into Row transmission;
File transmission unit is suitable under the first transmission mode, and file data to be transmitted is passed through network transmission and is stored to clothes Business device, and under the second transmission mode, the characteristic value of the file to be transmitted to server transport, if receiving server not The instruction of same characteristic features value can be found in file characteristic value list, then file data to be transmitted is passed through into network transmission and is stored To server, otherwise no longer by network transmission file data to be transmitted, by server according to the first account and this document feature The corresponding file data of value is transferred to used second account when server, to determine the first account to this document data Access authority.
10. device as claimed in claim 9, wherein the attribute information includes the size of file to be transmitted, the transmission mould Formula determination unit includes:
Judgment sub-unit, suitable for judging whether the size of the file to be transmitted is more than file size threshold value:
If the size of file to be transmitted is more than file size threshold value, transmitted using the second transmission mode;And
If the size of file to be transmitted is less than file size threshold value, transmitted using the first transmission mode.
11. device as claimed in claim 9, wherein the attribute information includes the type of file to be transmitted, the transmission mould Formula determination unit includes:
Judgment sub-unit, suitable for judging whether the type of the file to be transmitted is predefined type:
If the type of file to be transmitted is predefined type, transmitted using the first transmission mode;And
If the type of file to be transmitted is not predefined type, transmitted using the second transmission mode.
12. device as claimed in claim 11, wherein the predefined type include Doctype, picture type, CSV type, HTML type and XML type.
13. device as claimed in claim 12, wherein when the type of the file to be transmitted is picture type, the attribute Information further includes the metadata information of picture, and metadata information includes in shooting time, picture modification time and capture apparatus At least one,
The judgment sub-unit is further adapted for judging whether the picture is to calculate equipment itself to clap according to the metadata information It takes the photograph:
If the picture is to calculate equipment itself shooting, transmitted using the first transmission mode;And
If the picture is not to calculate equipment itself shooting, transmitted using the second transmission mode.
14. device as claimed in claim 9, wherein the attribute information includes the size of file to be transmitted, the transmission mould Formula determination unit includes:
Subelement is obtained, suitable for obtaining the higher uplink bit rate for calculating equipment;
Computation subunit calculates file to be transmitted suitable for the size and the higher uplink bit rate according to file to be transmitted Transmission time;And
Judgment sub-unit, suitable for judging whether the transmission time of file to be transmitted is less than time threshold:
If the transmission time of file to be transmitted is less than time threshold, transmitted using the first transmission mode;
If the transmission time of file to be transmitted is greater than or equal to time threshold, transmitted using the second transmission mode.
15. device as claimed in claim 9, wherein the attribute information includes the storage catalogue of file to be transmitted, the biography Defeated pattern determining unit includes:
Judgment sub-unit, suitable for judging whether the storage catalogue of the file to be transmitted is particular category:
If the storage catalogue of file to be transmitted is particular category, transmitted using the first transmission mode;And
If the storage catalogue of file to be transmitted is not particular category, transmitted using the second transmission mode.
16. device as claimed in claim 9, wherein the attribute information includes the title of file to be transmitted, the transmission mould Formula determination unit includes judgment sub-unit, and the judgment sub-unit is further adapted for whether wrapping in the title for judging the file to be transmitted Containing the date;
If in the title of file to be transmitted including the date, transmitted using the first transmission mode;And
If not including the date in the title of file to be transmitted, transmitted using the second transmission mode.
17. a kind of calculating equipment, including the file transfer means as described in any one of claim 9-16.
18. a kind of document transmission method, executes in the server, this method comprises:
The user for receiving calculating equipment passes through login of first account to server;
Under the first transmission mode, receives and stores and calculate file data of the equipment by network transmission;And
Under the second transmission mode,
The characteristic value that the calculating equipment passes through the file to be transmitted of network transmission is received,
Search whether that, there are identical file characteristic value, the file characteristic value list includes each text in file characteristic value list The physical storage locations and corresponding file characteristic value of number of packages evidence on the server,
If it does not exist, then sending to the calculating equipment about the finger that same file characteristic value is not present in file characteristic value list Show, receive and store this document data that the calculating equipment passes through network transmission,
If it is present to the calculating equipment send about in file characteristic value list there are the instruction of same file characteristic value, And it obtains file data corresponding to this document characteristic value and is transferred to used second account when server.
19. method as claimed in claim 18, further includes:
Calculating facility information and this article if second account is different from the first account, when being logged according to the two accounts The security level of part determines the first account to the access authority of this document.
20. method as claimed in claim 19, wherein the calculating facility information includes calculating device hardware identification information, The security level of calculating facility information and this document when the middle login according to the two accounts determines the first account to this document Access authority includes:
If calculating device hardware identification information when the two accounts log in is identical, allow through the first account to this document It accesses.
21. method as claimed in claim 19, wherein the calculating facility information includes calculating IP address of equipment information, wherein The security level of calculating facility information and this document when being logged according to the two accounts determines visit of first account to this document Ask that permission includes:
If calculating IP address of equipment information when the two accounts log in is identical or is in same network segment, allow by first Account accesses to this document.
22. the method as described in claim 20 or 21, wherein calculating facility information when being logged according to the two accounts and should The security level of file determines that the first account includes: to the access authority of this document
Meter when calculating device hardware identification information when if the two accounts log in is not identical or the two accounts log in It calculates IP address of equipment information and is not at same network segment, then judge whether the security level of this document is higher than intended level;
If being not higher than intended level, allow to access to this document by the first account and the second account.
23. method as claimed in claim 22, wherein calculating facility information and this document when being logged according to the two accounts Security level determine the first account to the access authority of this document further include:
If being higher than intended level, the instruction and the second card is provided for providing that first proves are sent to the first account and the second account Bright instruction;
Receiving first proves to prove with second;
By comparing the similitude that this document and the first proof and second prove, determine that a pair of the first account and the second account should The access authority of file.
24. method as claimed in claim 22, wherein calculating facility information and this document when being logged according to the two accounts Security level determine the first account to the access authority of this document further include:
If being higher than intended level, the first account and the second account are determined according to the file transmission history of the first account and the second account Number a pair of this document access authority.
25. a kind of file transfer means, described device is resident in the server, which includes:
Receiving unit is suitable for suitable for receiving the user for calculating equipment by login of first account to server in the first transmission Under mode, receive and store calculate equipment by the file data of network transmission, be further adapted under the second transmission mode, receiving should It calculates equipment and passes through the characteristic value of the file to be transmitted of network transmission;
Processing unit, suitable for searching whether there is file identical with the characteristic value of file to be transmitted in file characteristic value list Characteristic value, the file characteristic value list include each file data physical storage locations on the server and corresponding file Characteristic value;
Output unit is suitable for when same file characteristic value is not present, and sends to equipment is calculated about in file characteristic value list There is no the instructions of same file characteristic value, and indicate that the receiving unit receives and stores the calculating equipment and passes through network transmission This document data, be further adapted for when there are same file characteristic value, to calculate equipment send about in file characteristic value list There are the instructions of same file characteristic value;
The processing unit is further adapted for being somebody's turn to do when finding identical file characteristic value from the file characteristic value list File data corresponding to file characteristic value is transferred to used second account when server.
26. device as claimed in claim 25, further includes:
Permission judgement unit is suitable for the meter in second account and the first account difference, when logging 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.
27. device as claimed in claim 26, wherein the calculating facility information includes calculating device hardware identification information,
The permission judgement unit be further adapted for the two accounts log in when calculating device hardware identification information it is identical when, allow It is accessed by the first account to this document.
28. device as claimed in claim 26, wherein the calculating facility information includes calculating IP address of equipment information,
It is identical or in same that the permission judgement unit is further adapted for the calculating IP address of equipment information when the two accounts log in One network segment allows to access to this document by the first account.
29. the device as described in claim 27 or 28, wherein
The permission judgement unit be further adapted for the two accounts log in when calculating device hardware identification information it is not identical when, or When calculating IP address of equipment information of the person when the two accounts log in is not at same network segment, the security level of this document is judged Whether be higher than intended level and being suitable for allow when being not higher than intended level by the first account and the second account to this document into Row access.
30. device as claimed in claim 29, wherein the permission judgement unit further include:
Indicate subelement, suitable for the security level for judging this document be higher than intended level when, to the first account and the second account Number send provide first prove instruction and provide second prove instruction and receive first prove and second prove;And
The permission judgement unit is further adapted for the similitude proved by comparing this document and the first proof and second, determines first The access authority of a pair of this document of account and the second account.
31. device as claimed in claim 29, wherein
The permission judgement unit is further adapted for when the security level for judging this document is higher than intended level, according to the first account The access authority of a pair of this document of the first account and the second account is determined with the file transmission history of the second account.
32. a kind of server, including the file transfer means as described in any one of claim 25-31.
33. a kind of document transmission system, including equipment and clothes as claimed in claim 32 are calculated as claimed in claim 17 Business device.
CN201610651254.9A 2016-08-10 2016-08-10 A kind of document transmission method, apparatus and system Active CN106101274B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610651254.9A CN106101274B (en) 2016-08-10 2016-08-10 A kind of document transmission method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610651254.9A CN106101274B (en) 2016-08-10 2016-08-10 A kind of document transmission method, apparatus and system

Publications (2)

Publication Number Publication Date
CN106101274A CN106101274A (en) 2016-11-09
CN106101274B true CN106101274B (en) 2019-06-04

Family

ID=57456488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610651254.9A Active CN106101274B (en) 2016-08-10 2016-08-10 A kind of document transmission method, apparatus and system

Country Status (1)

Country Link
CN (1) CN106101274B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109905419A (en) * 2017-12-07 2019-06-18 中移(杭州)信息技术有限公司 A kind of method and apparatus of data transmission
CN111355752A (en) * 2018-12-20 2020-06-30 阿里巴巴集团控股有限公司 File transmission method, device and equipment based on gatekeeper
CN110417890A (en) * 2019-07-30 2019-11-05 深圳市瑞云科技有限公司 A method of promoting the biography verification of enterprise's rendering client file second
CN112953983A (en) * 2019-12-10 2021-06-11 中盈优创资讯科技有限公司 SFTP transmission method and device
CN111787117A (en) * 2020-07-06 2020-10-16 聚好看科技股份有限公司 Data transmission method and display device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914511A (en) * 2013-01-02 2014-07-09 国际商业机器公司 Selecting Image Or Video Files For Cloud Storage
WO2014144005A1 (en) * 2013-03-15 2014-09-18 Jadhav Ajay Use of collaborative server in a cloud-based environment
CN105306537A (en) * 2015-09-22 2016-02-03 浪潮(北京)电子信息产业有限公司 Method for transmitting files of office automation (OA) system, server and client

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410692B (en) * 2014-11-28 2019-03-22 上海爱数信息技术股份有限公司 A kind of method and system uploaded for duplicate file

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914511A (en) * 2013-01-02 2014-07-09 国际商业机器公司 Selecting Image Or Video Files For Cloud Storage
WO2014144005A1 (en) * 2013-03-15 2014-09-18 Jadhav Ajay Use of collaborative server in a cloud-based environment
CN105306537A (en) * 2015-09-22 2016-02-03 浪潮(北京)电子信息产业有限公司 Method for transmitting files of office automation (OA) system, server and client

Also Published As

Publication number Publication date
CN106101274A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN106101274B (en) A kind of document transmission method, apparatus and system
KR101312125B1 (en) Contents filtering apparatus and method thereof
RU2730899C1 (en) Tracing objects between different parties
CN106537380B (en) Automatic archiving of user-generated media files
US9578044B1 (en) Detection of anomalous advertising content
CN106445944A (en) Data query request processing method and apparatus, and electronic device
CN102576366A (en) Pre-fetching content items based on social distance
JP2006164268A5 (en)
US11831617B2 (en) File upload control for client-side applications in proxy solutions
US10423690B2 (en) Method of and server for classifying a web resource
CN105812427B (en) File uploads and method for down loading, device and file server
CN106302512A (en) A kind of for controlling method, equipment and the system accessed
CN102915363A (en) Website storing method and system
CN108256014A (en) Page display method and device
RU2013143159A (en) DEVICE AND METHOD FOR PROCESSING INFORMATION, TERMINAL DEVICE AND INFORMATION PROCESSING SYSTEM
CN109474569A (en) A kind of method and system of detection web caching deception
CN107819748A (en) A kind of anti-identifying code implementation method cracked and device
CN103200276A (en) File security control method and device
US10735493B2 (en) System, method and program product for managing mobile device operation
US20210173904A1 (en) System and method for verifying a media file
CN107426331A (en) A kind of file uploading method and device based on JavaScript
CN104125234A (en) Method and system for dynamic image security verification
US10712951B2 (en) System and method for backing up social network data
CN105490993B (en) Method and device for preventing Cookie tracking in browser
Bieniasz et al. SocialStegDisc: Application of steganography in social networks to create a file 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
TR01 Transfer of patent right

Effective date of registration: 20220120

Address after: 214115 25-1008 Renmin West Road, Liangxi District, Wuxi City, Jiangsu Province

Patentee after: Wuxi Qixin Information Technology Co.,Ltd.

Address before: Yu'ao village, Yucheng street, Yuhuan County, Taizhou City, Zhejiang Province

Patentee before: YUHUAN KANZHI INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
CP02 Change in the address of a patent holder

Address after: 214115 Room 301, building D, swan tower, Wuxi Software Park, No. 111, Linghu Avenue, Xinwu District, Wuxi City, Jiangsu Province

Patentee after: Wuxi Qixin Information Technology Co.,Ltd.

Address before: 214115 Wuxi City, Jiangsu Province, China 25-1008 Renmin West Road, Liangxi District, Wuxi City, Jiangsu Province

Patentee before: Wuxi Qixin Information Technology Co.,Ltd.

CP02 Change in the address of a patent holder
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A file transmission method, device and system

Effective date of registration: 20220519

Granted publication date: 20190604

Pledgee: Bank of China Wuxi Binhu sub branch

Pledgor: Wuxi Qixin Information Technology Co.,Ltd.

Registration number: Y2022320010145

PE01 Entry into force of the registration of the contract for pledge of patent right