CN106254336A - A kind of document transmission method based on File Mapping encryption - Google Patents

A kind of document transmission method based on File Mapping encryption Download PDF

Info

Publication number
CN106254336A
CN106254336A CN201610619474.3A CN201610619474A CN106254336A CN 106254336 A CN106254336 A CN 106254336A CN 201610619474 A CN201610619474 A CN 201610619474A CN 106254336 A CN106254336 A CN 106254336A
Authority
CN
China
Prior art keywords
file
encryption
download
method based
document transmission
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.)
Pending
Application number
CN201610619474.3A
Other languages
Chinese (zh)
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.)
Beijing VRV Software Corp Ltd
Original Assignee
Beijing VRV Software Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing VRV Software Corp Ltd filed Critical Beijing VRV Software Corp Ltd
Priority to CN201610619474.3A priority Critical patent/CN106254336A/en
Publication of CN106254336A publication Critical patent/CN106254336A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity
    • 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
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD

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 Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of document transmission method based on File Mapping encryption, the method comprises the steps: (1) compressing file to needing transmission;(2) file after compression carries out binary system encryption;(3) MD5 value the record of encryption file are calculated;(4) encryption file is uploaded to the file server specified;(5) the JSON string returned the most afterwards is uploaded in parsing, and intercepts the URL of file download;(6) file message JSON string is created by the URL of the key of (2) step encryption, the MD5 value of (3) step and (5) step;(7) send file message by HTTPS and JSON goes here and there.The method of the present invention possesses powerful compression algorithm, meets big file high compression, provides efficient transmission speed, the file encryption simultaneously carried out, it is ensured that the safety in document transmission process simultaneously, and the transmission of user has obtained safely effective guarantee.

Description

A kind of document transmission method based on File Mapping encryption
Technical field
The technology of the present patent application belongs to data transmission method field in computer network, particularly relates to as ensureing data A kind of based on File Mapping encryption the document transmission method that efficiency in document transmission process and safety are proposed.
Background technology
Along with the development of network technology, increasing user begins through mobile network or the Internet connection is obtained from The information that oneself needs.Transmission in the network information is carried out by data file, between different data files is according to user Instruction be transmitted and receive.Along with transmitting being continuously increased and extending of data volume, the file data amount of transmission over networks becomes Geometry multiple increases, along with mechanics of communication on the network bandwidth also constantly progressive, but gathering way of bandwidth far away can not be with The speed that its transmitting data increases matches.For that purpose it is necessary to consider to try one's best in the case of keeping legacy data fileinfo Reduce the file data amount of network transmission.File compression techniques is that one is very simple, direct reduces transmission file data amount Mode.It solve uncompressed in the case of, document transmission method is simple traversal file, and is read out content one by one also Encryption, is transmitted by TCP or udp protocol, and file is too much, and reading speed and enciphering rate all can be affected and even become Slowly, if running into excessive file, memory usage too high can even result in internal memory and overflow, and occupies too many computer money Source, the defect of inefficiency.
Another key issue of web document transfer is the safety of transmission file, if network data is cut by " hacker " Take to the transmission of data with receive server and attack thus cause whole network paralysis and crack.For that purpose it is necessary to biography Defeated data are encrypted, and various different encryption methods are arisen at the historic moment.
In order to overcome the wasting of resources in the transmission of existing file network and the relatively low defect of safe coefficient, the technical program profit With file compression techniques, the file needing transmission is carried out high compression ratio compression according to file structure by compression algorithm, makes pressure File after contracting is the least, thus speed when increasing substantially file transmission, simultaneously by file encryption algorithm, after compressing File carry out binary system encryption, and upper transmitting file is to specified file server.
Summary of the invention
The technical scheme of the application is contemplated to solve: how (1) allows file transfer speed faster, meets multifile and sends Demand, improves transmission speed;(2) system resource occupancy when reducing file encryption, improves resource utilization;(3) data are ensured Safety in transmitting procedure, proposes a kind of document transmission method based on File Mapping encryption.The method includes that file sends With two processes of reception;The step realizing file transmission process is: (1) compressing file to needing transmission;(2) literary composition after compression Part carries out binary system encryption;(3) MD5 value the record of encryption file are calculated;(4) encryption file is uploaded to the file service specified Device;(5) the JSON string returned the most afterwards is uploaded in parsing, and intercepts the URL of file download;(6) by the key of (2) step encryption, (3) URL of the MD5 value of step and (5) step creates file message JSON string;(7) file message and JSON thereof are sent by HTTPS String.File download receives the concretely comprising the following steps of process: (a) needs the client downloading file to receive message JSON to go here and there and resolve and obtain Obtain the MD5 value of file, download URL, encryption key information;B () client starts to download file;C () completes school after file download Test MD5 value;D () upper step starts to decipher file and carries out decompression process again and realize file download after verifying successfully.
Above-mentioned document transmission process is through file encryption algorithm, and the file after compression is carried out binary system encryption, and Upper transmitting file, to specified file server, is gone here and there by the file content JSON returned, and parses correspondence in file server URL, and by fileinfo and file MD5 value, encryption key generation file message JSON string, transmitted JSON by HTTPS Being sent to recipient, recipient carries out Context resolution after receiving JSON string, downloads file by URL to specified file server, Verified by MD5 value, verify and use corresponding key to be decrypted and decompression process by rear, complete whole file Transmission.
Above-mentioned realize compressing file after file format be, rar, zip, tar, cab, uue, jar, iso, z, 7-zip, The compressed file format of ace, lzh, arj, gzip, bz2, compression ratio is not less than 50%
For improving the efficiency of file transmission, multiple files through overcompression encryption are carried out in upload procedure and under compressed file Parallel mode is all used to download during load.
The method of the present invention is transmitted by encrypting the data that the transmission of multiple files is converted to single file after compression, carries The high efficiency of file transmission, it is achieved that the guarantee of transmission security.
Accompanying drawing explanation
Fig. 1 is to utilize technical scheme to carry out data transmission flow figure;
Fig. 2 is to utilize technical scheme to carry out data receiver flow chart.
Detailed description of the invention
For becoming apparent from technical solution of the present invention is described, it is introduced by specific embodiment below, if Fig. 1 is to utilize Technical scheme carries out data transmission flow figure, as it can be seen, its process is: (1) compressing file to needing transmission; (2) file after compression carries out binary system encryption;(3) MD5 value the record of encryption file are calculated;(4) encryption file is uploaded extremely The file server specified;(5) the JSON string returned the most afterwards is uploaded in parsing, and intercepts the URL of file download;(6) by (2) The key of step encryption, the URL of the MD5 value of (3) step and (5) step creates file message JSON string;(7) file is sent by HTTPS Message and JSON string thereof.After compressed file after encryption uploads onto the server, when other users need download file time, carry out as Lower process, as shown in Figure 2: (a) need download file client receive message JSON go here and there and resolve acquisition file MD5 value, Download URL, encryption key information;B () client starts to download file;C () verifies MD5 value after completing file download;(d) upper step Start to decipher file after verifying successfully to carry out decompression process again and realize file download.In the uploading of whole file, downloading process In be both for compression after the less file of data volume operate, thus reduce the transmission requirement of network data, simultaneously Compressed file is encrypted through MD5 method, also ensure that the safety in document transmission process.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all in essence of the present invention Any amendment, equivalent and the simple modifications etc. made in content, should be included within the scope of the present invention.

Claims (6)

1. a document transmission method based on File Mapping encryption, it is characterised in that the method comprises the steps: that (1) is right Need the compressing file of transmission;(2) file after compression carries out binary system encryption;(3) calculate the MD5 value of encryption file and remember Record;(4) encryption file is uploaded to the file server specified;(5) resolve and upload the JSON returned the most afterwards and go here and there and intercept file The URL downloaded;(6) create file message JSON by the URL of the key of (2) step encryption, the MD5 value of (3) step and (5) step to go here and there; (7) send file message by HTTPS and JSON goes here and there.
Document transmission method based on File Mapping encryption the most according to claim 1, it is characterised in that the method is also wrapped Include file download process, concretely comprise the following steps: (a) needs the client downloading file to receive message JSON and go here and there and resolve acquisition file MD5 value, download URL, encryption key information;B () client starts to download file;C () verifies MD5 after completing file download Value;D () upper step starts to decipher file and carries out decompression process again and realize file download after verifying successfully.
Document transmission method based on File Mapping encryption the most according to claim 1, it is characterised in that realize file pressure Compressed file after contracting is the pressure of rar, zip, tar, cab, uue, jar, iso, z, 7-zip, ace, lzh, arj, gzip, bz2 Contracting file format.
Document transmission method based on File Mapping encryption the most according to claim 1, it is characterised in that multiple through overvoltage The file of contracting encryption uses parallel mode to carry out in upload procedure.
Document transmission method based on File Mapping encryption the most according to claim 3, it is characterised in that compressed file Compression ratio is not less than 50%.
Document transmission method based on File Mapping encryption the most according to claim 2, it is characterised in that under compressed file Parallel mode is used to download during load.
CN201610619474.3A 2016-07-29 2016-07-29 A kind of document transmission method based on File Mapping encryption Pending CN106254336A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610619474.3A CN106254336A (en) 2016-07-29 2016-07-29 A kind of document transmission method based on File Mapping encryption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610619474.3A CN106254336A (en) 2016-07-29 2016-07-29 A kind of document transmission method based on File Mapping encryption

Publications (1)

Publication Number Publication Date
CN106254336A true CN106254336A (en) 2016-12-21

Family

ID=57607170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610619474.3A Pending CN106254336A (en) 2016-07-29 2016-07-29 A kind of document transmission method based on File Mapping encryption

Country Status (1)

Country Link
CN (1) CN106254336A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172012A (en) * 2017-04-18 2017-09-15 北京思特奇信息技术股份有限公司 A kind of message format conversion method and system
CN108718302A (en) * 2018-05-09 2018-10-30 北京邦邦共赢网络科技有限公司 A kind of synchronous method of Message Record, device and equipment
CN109919808A (en) * 2019-03-18 2019-06-21 厦门叁玖叁科技有限公司 Trade mark intelligent declaration method, medium, computer equipment and system
CN111181905A (en) * 2019-06-28 2020-05-19 腾讯科技(深圳)有限公司 File encryption method and device
CN112311865A (en) * 2020-10-23 2021-02-02 苏州浪潮智能科技有限公司 File encryption transmission method and device
CN113065148A (en) * 2021-04-20 2021-07-02 大连宏燊软件技术有限公司 RPA flow packaging and packaging method and packaging system
CN113271363A (en) * 2021-06-17 2021-08-17 南京金盾公共安全技术研究院有限公司 Network file data secure distribution method and system
CN114866539A (en) * 2022-07-06 2022-08-05 飞狐信息技术(天津)有限公司 File uploading method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6978378B1 (en) * 2000-05-12 2005-12-20 Bluetie, Inc. Secure file transfer system
CN102843400A (en) * 2011-06-23 2012-12-26 珠海市君天电子科技有限公司 method and system for downloading file
CN104135493A (en) * 2014-08-22 2014-11-05 上海众人科技有限公司 File compression method and system
CN104580267A (en) * 2013-10-09 2015-04-29 北京奇虎科技有限公司 A resource downloading method, device, server and corresponding system
CN105224257A (en) * 2015-10-16 2016-01-06 浪潮(北京)电子信息产业有限公司 The disposal route of large files and system in a kind of cloud storage system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6978378B1 (en) * 2000-05-12 2005-12-20 Bluetie, Inc. Secure file transfer system
CN102843400A (en) * 2011-06-23 2012-12-26 珠海市君天电子科技有限公司 method and system for downloading file
CN104580267A (en) * 2013-10-09 2015-04-29 北京奇虎科技有限公司 A resource downloading method, device, server and corresponding system
CN104135493A (en) * 2014-08-22 2014-11-05 上海众人科技有限公司 File compression method and system
CN105224257A (en) * 2015-10-16 2016-01-06 浪潮(北京)电子信息产业有限公司 The disposal route of large files and system in a kind of cloud storage system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172012A (en) * 2017-04-18 2017-09-15 北京思特奇信息技术股份有限公司 A kind of message format conversion method and system
CN108718302A (en) * 2018-05-09 2018-10-30 北京邦邦共赢网络科技有限公司 A kind of synchronous method of Message Record, device and equipment
CN109919808A (en) * 2019-03-18 2019-06-21 厦门叁玖叁科技有限公司 Trade mark intelligent declaration method, medium, computer equipment and system
CN111181905A (en) * 2019-06-28 2020-05-19 腾讯科技(深圳)有限公司 File encryption method and device
CN111181905B (en) * 2019-06-28 2021-11-19 腾讯科技(深圳)有限公司 File encryption method and device
CN112311865A (en) * 2020-10-23 2021-02-02 苏州浪潮智能科技有限公司 File encryption transmission method and device
CN112311865B (en) * 2020-10-23 2023-02-28 苏州浪潮智能科技有限公司 File encryption transmission method and device
CN113065148A (en) * 2021-04-20 2021-07-02 大连宏燊软件技术有限公司 RPA flow packaging and packaging method and packaging system
CN113065148B (en) * 2021-04-20 2024-09-17 大连宏燊软件技术有限公司 RPA flow encapsulation and packaging method and packaging system
CN113271363A (en) * 2021-06-17 2021-08-17 南京金盾公共安全技术研究院有限公司 Network file data secure distribution method and system
CN114866539A (en) * 2022-07-06 2022-08-05 飞狐信息技术(天津)有限公司 File uploading method and system

Similar Documents

Publication Publication Date Title
CN106254336A (en) A kind of document transmission method based on File Mapping encryption
JP5499019B2 (en) File folder transmission over the network
US9514209B2 (en) Data processing method and data processing device
US20080025298A1 (en) Techniques for balancing throughput and compression in a network communication system
US11153365B2 (en) Transfer of files with arrays of strings in soap messages
CN103533026B (en) Cell phone address book information disguising method based on cloud platform
CN107124668B (en) Streaming transmission device and method, streaming transmission service system, and recording medium
CN105530254A (en) Data communication method between internal and external networks
CN103338185B (en) A kind of method and system of file-sharing
CN103581683B (en) Jpeg image encryption transmission method
CN104486434A (en) Method for uploading and downloading files of mobile terminal and mobile terminal
US20140164574A1 (en) Method and System for Downloading a Font File
CN104601681A (en) File fragmentation processing method and device
CN103731423A (en) Safe method for repeated data deleting
CN108737353B (en) Data encryption method and device based on data analysis system
US20140280471A1 (en) Systems and methods for transparent communication with bandwidth conservation and http caching
CN110519656B (en) Self-adaptive streaming media playing method, system and server
CN101453479A (en) Fast document transmission system
CN107911359B (en) Method for acquiring electronic data
EP3921976B1 (en) Method for authenticating messages in resource limited systems
CN109962888A (en) A kind of anti-tamper business access method, client and server
CN102271163B (en) A kind of method and system for realizing direct-broadcasting code stream distribution
CN101447990B (en) System for realizing download server in IPTV system and method thereof
CN110392016B (en) Method, device and system for preventing traffic from being hijacked
CN100583889C (en) Network event protocol message transfer method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161221