CN100476822C - File transmission method and system - Google Patents

File transmission method and system Download PDF

Info

Publication number
CN100476822C
CN100476822C CNB2006100796346A CN200610079634A CN100476822C CN 100476822 C CN100476822 C CN 100476822C CN B2006100796346 A CNB2006100796346 A CN B2006100796346A CN 200610079634 A CN200610079634 A CN 200610079634A CN 100476822 C CN100476822 C CN 100476822C
Authority
CN
China
Prior art keywords
file
file transfer
ftp
document
information
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
CNB2006100796346A
Other languages
Chinese (zh)
Other versions
CN1845103A (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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CNB2006100796346A priority Critical patent/CN100476822C/en
Publication of CN1845103A publication Critical patent/CN1845103A/en
Application granted granted Critical
Publication of CN100476822C publication Critical patent/CN100476822C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a file transmission method and system. Wherein, said method comprises: the application server device obtains the information of transmitted file, according to the file transmission request of user terminal, to generate the data that will be embedded into web page; WEB server device, based on said file transmission request, and said embedded data, generates response page; the user terminal uses file transmission control to analyze said response page, and sends a FTP file transmission request to the file server device; processing file transmission based on FTP, between the file server device and the user terminal. The invention can improve the file transmission safety in the Web system, the friend operation, and the response speed of Web system.

Description

Document transmission method and system
Technical field
The present invention relates to the file data transmission technique field, particularly relate to a kind of document transmission system and method based on the Web system.
Technical background
File data transmission method based on the Web system generally has two kinds at present.A kind of method is file data to be embedded in the Web page as a packet transmit, such as a stealthy variable (hide) can be set in the Web page, again file data is encoded to the value of a character string as this variable, this mode can only be used for the very little situation of file data, on the one hand, the length of the character string that can accept of stealthy variable is conditional; On the other hand, if when file data is big, also can make the user open the chronic of the Web page, the user also can think it is that Web server is out of order by mistake.Another kind method is to embed by the link URL of transmitting file (unified resource location), such as " ftp: // user name: password @ server address/file path/file name " in the Web page.On the one hand, this method can not control documents access rights, owing to include the username and password of Ftp server in this document link, the user only need check that this link just can know the username and password of Ftp server, makes the ftp server very dangerous; On the other hand, this method needs user clicks on links to carry out file to download, and operating process is unfriendly, and application program (the Web page) is uncontrollable for the situation of file transfer, such as for this document whether transmission success can't know.
Summary of the invention
The present invention has overcome the deficiency of file transfer technology in the existing Web system, and a kind of method that can effectively improve file transfer efficiency and security in the Web system is provided.
In one aspect of the invention, proposed a kind of document transmission method, comprised step: the application service device basis is obtained by transmitting file information from storer from the file transfer requests of client terminal apparatus, and generates the data that will embed the Web page; The WEB service unit generates response page based on described file transfer requests and the described data that will embed the page; Utilize the file transfer control to resolve described response page at client terminal apparatus, and send the ftp file transmission requests to the document services device; Between document services device and client terminal apparatus, carry out file transfer based on FTP.
According to embodiments of the invention, this method also comprises step: in the process of carrying out based on the file transfer of FTP, and display file transmission information on client terminal apparatus.
According to embodiments of the invention, described by transmitting file information comprise the Ftp authentication information, by the transmitting file title, by transmitting file the deposit position on the document services device, by transmitting file in local deposit position one of at least.
According to embodiments of the invention, described file transfer control is ActiveX control or JavaApplet control.
According to embodiments of the invention, before the file transfer based on FTP, the document services device is verified client terminal apparatus.
According to embodiments of the invention, the data in the described Web of the being embedded into page comprise file transfer control information and by transmitting file information.
According to embodiments of the invention, this method also comprises with the predetermined step of cryptographic algorithm to being encrypted by transmitting file information.
According to embodiments of the invention, described cryptographic algorithm is DES, 3DES or Joseph's algorithm.
According to embodiments of the invention, described file transfer based on FTP is disposable transmission or breakpoint transmission.
According to embodiments of the invention, described file transfer based on FTP is multi-process or multithreading transmission.
In another aspect of this invention, also proposed a kind of document transmission system, having comprised: application service device, obtain by transmitting file information according to file transfer requests, and generate the data that will embed the Web page; The WEB service unit generates response page based on described file transfer requests and the described data that will embed the page; Client terminal apparatus utilizes the file transfer control to resolve described response page, and sends the ftp file transmission requests; The document services device, according to described ftp file transmission requests carry out and client terminal apparatus between based on the file transfer of FTP.
The present invention has overcome the deficiency of file transfer technology in the existing Web system, a kind of method that can effectively improve file transfer efficiency and security in the Web system is provided, the effect and the advantage that obtain are as follows: improved security of File Transfer in the Web system, the username and password of Ftp server no longer is to be placed in the link URL, but transmit again after the encrypted processing, the user can't know the username and password of Ftp server, has improved the security of Ftp server effectively.Improved the friendly of user's operation in addition, the user does not need by clicking that a file uploads or download link is carried out file and uploaded or download again, and this process itself is controlled by the Web page fully; In addition, the Web page can also be known whether success of document transmission process, if the file transfer failure is handled just can carry out corresponding error, such as the transmission of can resetting automatically, also can point out the user to check earlier to transmit after the network state etc. again.With respect to the mode that file data is directly embedded into the Web page, improved the response speed of Web system, solved and opened a problem that the Web page is very slow originally.
Description of drawings
Fig. 1 is the block scheme according to Web document transmission system of the present invention;
Fig. 2 is according to uploading in the Web document transmission system of the present invention or the process flow diagram of down operation.
Embodiment
To contrast accompanying drawing below, specific embodiments of the invention will be elaborated.
Data administrator 11 as shown in Figure 1 can be a PC server or main frame, and the service data base management system is deposited business data and customer information, and as user name, password etc., and the client access of being responsible for after authentication is passed through is managed.
Application service device 12 is accepted the business processing request that Web service device 13 sends over, recording processing client sessions information; The service request that client sends is classified, resolved, and mainly is the realization of other service logics.
WEB service unit 13 can be a Web server, for the client provides service based on http and https, dynamically produces the Web pagefile, offers client terminal apparatus 15 and client terminal apparatus 15 carries out alternately.
Internal network 4 is the LAN (Local Area Network) of enterprise, can be Ethernet (Ethernet), also can be other LAN.
Client terminal apparatus 15 is clients of network system, also can be an individual PC, and browser software is installed, and also can be the device that other can operate browser software, as NC, Windows graphic terminal etc.It has display device and input media, and input media can be keyboard and mouse.
Document services device 16 is equipped with FTP Service Management software, and file storage can be carried out authentication to the FTP connection request that client sends in this device; Handling client file uploads or the downloading service request.
Fig. 2 is the operational flowchart that file is uploaded or downloaded.
Step 100: client terminal apparatus 15 sends the Web page request by network 14, includes in the Web page of being asked to carry out that file is uploaded or the download business content of operation.
Step 101:WEB service unit 13 is accepted the Web page request of client terminal apparatus 15.
Step 102:WEB service unit 13 carries out the page to be handled, if there is the processing of applied logic, then changes application service device 12 and carries out the applied logic processing.
Step 103: application service device 12 is accepted the applied logic processing request that WEB service unit 13 is sent, and carries out business logic processing.
Step 104: application service device 12 is analyzed service logics, judges whether to exist the content of operation that need carry out file transfer, the general include file of file transfer operation upload download with file, carry out file transfer if desired, then start this transmission course.
Step 105: application service device 12 visit data management devices 11, acquisition is by transmitting file information, comprise the Ftp authentication information, by the transmitting file title, by transmitting file at the deposit position on the document services device 16, by the part of transmitting file in local deposit position etc.The Ftp authentication information can be static username and password, also can be by application service device 12 and other consistent authentication information of document services device 16 agreements, such as being dynamic username and password, for example: generate dynamic username and password by application service device 12, be stored in the data administrator 11, when client terminal apparatus 15 when Ftp document services device 16 sends request of access, after Ftp document services device 16 receives the username and password that client terminal apparatus 15 sends, by inquiring about, whether legal to determine this user to data administrator 11.
Step 106: application service device 12 generates the data that are embedded in the Web page, comprises file transfer control information and by transmitting file information.Owing to contained the authentication information of document services device in the transmitting file information, such as username and password, in order to improve the security of document services device 16, can be to being carried out encryption by transmitting file information, encryption method can according to the height different mining of security requirement with different transfer algorithms or the different cryptographic algorithm of intensity, for example adopt transfer algorithms such as XOR, displacement, or all kinds of cryptographic algorithm such as DES, 3DES, Joseph's algorithm etc.
Step 107:WEB service unit 13 generates the Web page of customer in response end device 15, and passes to client terminal apparatus 15.
Step 108: client terminal apparatus 15 is accepted the Web response page of WEB service unit 13.
Step 109: client terminal apparatus 15 is resolved the Web page, if contain file transfer control information, then load document Transport Controls in the Web page.The file transfer control can be an ActiveX control or Java Applet control, also other control type of supporting by browser, but client terminal apparatus 15 must be equipped with the software of supporting this control type, as for Java Applet control, Java Virtual Machine (VM) should be installed on the client terminal apparatus 15.
Step 110: the file transfer control advance to be resolved by transmitting file information, obtain Ftp authentication information (user name and password etc.), by the transmitting file title, by the deposit position of transmitting file on document services device 16, by transmitting file at local deposit position etc.If 12 pairs of application service device have been carried out encryption by transmitting file information, then also need to adopt with the corresponding decryption method of application service device 12 encryption methods to being decrypted processing by transmitting file information.
Step 111: the file transfer control sends the Ftp file transfer requests.
Step 112: document services device 16 is accepted the Ftp file transfer requests.
Step 113: document services device 16 checking Ftp transmission requests comprise this Ftp transmission requests are carried out authentification of user, scope check etc.
After the checking of step 114:Ftp transmission requests was passed through, document services device 16 started the Ftp document transmission processing, began to carry out the file data transmission by the Ftp agreement.
Step 115: client terminal apparatus 15 is accepted to carry out the file data transmission with document services device 16, this transmission course can adopt disposable transmission mode, can also adopt the mode of breakpoint transmission, such as: client terminal apparatus 15 is checked the local file that did not have a last time transmission to finish that whether exists earlier, if there is this document, then notification of document service unit 16 continues the file that did not have last time transmission to finish is transmitted, rather than start anew to transmit again, can improve the efficient of transmission like this and save the network bandwidth.Can also adopt multi-process or multithreading in addition, each process or thread are responsible for a part of data of transmission respectively, further improve the efficient of file data transmission.
Step 116: client terminal apparatus 15 display files transmission information page, can the display file transmission whether successful information, can also show current transmission progress, the friendly of operating with further raising user.
The above; only be the embodiment among the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with the people of this technology in the disclosed technical scope of the present invention; the conversion that can expect easily or replacement all should be encompassed in of the present invention comprising within the scope.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claims.

Claims (16)

1. document transmission method comprises step:
The application service device basis is obtained by transmitting file information from storer from the file transfer requests of client terminal apparatus, and generates the data that will embed the Web page;
The WEB service unit generates response page based on described file transfer requests and the described data that will embed the Web page;
Resolve the Web response page at client terminal apparatus, when containing file transfer control information in the Web response page, load document Transport Controls then, file transfer control and then resolve by transmitting file information, the file transfer control sends the ftp file transmission requests;
Between document services device and client terminal apparatus, carry out file transfer based on FTP;
Wherein use predetermined cryptographic algorithm to being encrypted by transmitting file information; Wherein
The described data that will embed in the Web page comprise file transfer control information and by transmitting file information.
2. document transmission method as claimed in claim 1 also comprises step:
In the process of carrying out based on the file transfer of FTP, display file transmission information on client terminal apparatus.
3. document transmission method as claimed in claim 1, wherein said by transmitting file information comprise the Ftp authentication information, by the transmitting file title, by transmitting file on the document services device deposit position and by transmitting file at local deposit position.
4. document transmission method as claimed in claim 1, wherein said file transfer control are ActiveX control or Java Applet control.
5. document transmission method as claimed in claim 1, wherein, before the file transfer based on FTP, the document services device is verified client terminal apparatus.
6. document transmission method as claimed in claim 5, wherein said predetermined cryptographic algorithm are DES, 3DES or Joseph's algorithm.
7. document transmission method as claimed in claim 1, wherein said file transfer based on FTP is disposable transmission or breakpoint transmission.
8. document transmission method as claimed in claim 1, wherein said file transfer based on FTP are multi-process or multithreading transmission.
9. document transmission system comprises:
Application service device is obtained by transmitting file information according to file transfer requests, and generates the data that will embed the Web page;
The WEB service unit generates response page based on described file transfer requests and the described data that will embed the Web page;
Client terminal apparatus is resolved the Web response page, when containing file transfer control information in the Web response page, and load document Transport Controls then, file transfer control and then resolve by transmitting file information, the file transfer control sends the ftp file transmission requests;
The document services device, according to described ftp file transmission requests carry out and client terminal apparatus between based on the file transfer of FTP;
Wherein application service device uses predetermined cryptographic algorithm to being encrypted by transmitting file information; Wherein
The described data that will embed in the Web page comprise file transfer control information and by transmitting file information.
10. document transmission system as claimed in claim 9, wherein
In the process of carrying out based on the file transfer of FTP, display file transmission information on client terminal apparatus.
11. document transmission system as claimed in claim 9, wherein said by transmitting file information comprise the Ftp authentication information, by the transmitting file title, by transmitting file on the document services device deposit position and by transmitting file at local deposit position.
12. document transmission system as claimed in claim 9, wherein said file transfer control are ActiveX control or Java Applet control.
13. document transmission system as claimed in claim 9, wherein, before the file transfer based on FTP, the document services device is verified client terminal apparatus.
14. document transmission system as claimed in claim 13, wherein said predetermined cryptographic algorithm are DES, 3DES or Joseph's algorithm.
15. document transmission system as claimed in claim 9, wherein said file transfer based on FTP is disposable transmission or breakpoint transmission.
16. document transmission system as claimed in claim 9, wherein said file transfer based on FTP are multi-process or multithreading transmission.
CNB2006100796346A 2006-04-30 2006-04-30 File transmission method and system Active CN100476822C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100796346A CN100476822C (en) 2006-04-30 2006-04-30 File transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100796346A CN100476822C (en) 2006-04-30 2006-04-30 File transmission method and system

Publications (2)

Publication Number Publication Date
CN1845103A CN1845103A (en) 2006-10-11
CN100476822C true CN100476822C (en) 2009-04-08

Family

ID=37064031

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100796346A Active CN100476822C (en) 2006-04-30 2006-04-30 File transmission method and system

Country Status (1)

Country Link
CN (1) CN100476822C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546732A (en) * 2010-12-31 2012-07-04 北大方正集团有限公司 File transmission method and system in webpage

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355590B (en) * 2008-09-05 2012-04-25 深圳市迅雷网络技术有限公司 Method, system and apparatus for prompting download
CN102096720B (en) * 2011-02-24 2013-06-05 天津书生投资有限公司 Document library system
CN104660641B (en) * 2013-11-25 2018-05-18 中国直升机设计研究所 A kind of enterprise network internal data transmission method
CN104714992A (en) * 2013-12-12 2015-06-17 南宁市磁汇科技有限公司 One-click processing method and device for dynamically inserting local file to WEB page
CN104537130A (en) * 2015-01-30 2015-04-22 浪潮(北京)电子信息产业有限公司 Method and system for realizing distributed cluster file management and clients
CN106712955A (en) * 2015-11-18 2017-05-24 珠海金山办公软件有限公司 File sharing method and apparatus thereof
CN109918031B (en) * 2019-02-27 2022-07-08 Oppo(重庆)智能科技有限公司 Data transmission method and system, and computer storage medium
CN111881108B (en) * 2020-07-27 2021-05-14 广州锦行网络科技有限公司 File transmission method and device based on web ssh
CN113315833B (en) * 2021-05-26 2022-09-13 北京天空卫士网络安全技术有限公司 File transfer mode processing method and device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
JavaBean实现多文件上传的两种方法. 王新芳,刘杰.http://www.yesky.com/383/1791383.shtml. 2004
JavaBean实现多文件上传的两种方法. 王新芳,刘杰.http://www.yesky.com/383/1791383.shtml. 2004 *
局域网内基于WEB的文件传输解决方案详解. TONNY.http://blog.csdn.net/tonnycncn/archive/2003/06/09/6557.aspx. 2003
局域网内基于WEB的文件传输解决方案详解. TONNY.http://blog.csdn.net/tonnycncn/archive/2003/06/09/6557.aspx. 2003 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546732A (en) * 2010-12-31 2012-07-04 北大方正集团有限公司 File transmission method and system in webpage
CN102546732B (en) * 2010-12-31 2015-03-18 北大方正集团有限公司 File transmission method and system in webpage

Also Published As

Publication number Publication date
CN1845103A (en) 2006-10-11

Similar Documents

Publication Publication Date Title
CN100476822C (en) File transmission method and system
US20240056479A1 (en) Bot detection in an edge network using Transport Layer Security (TLS) fingerprint
US9307036B2 (en) Web access using cross-domain cookies
US8185942B2 (en) Client-server opaque token passing apparatus and method
CN102055730B (en) Cloud processing system, cloud processing method and cloud computing agent device
US10356071B2 (en) Automatic log-in and log-out of a session with session sharing
JP5797060B2 (en) Access management method and access management apparatus
US20040093419A1 (en) Method and system for secure content delivery
US9172707B2 (en) Reducing cross-site scripting attacks by segregating HTTP resources by subdomain
KR20150076206A (en) Just-in-time, email embedded url reputation determination
US20030163691A1 (en) System and method for authenticating sessions and other transactions
JP2004517377A (en) Control and management of digital assets
CN103763308A (en) Method and device for having access to webpage safely and downloading data through intelligent terminal
EP1533970B1 (en) Method and system for secure content delivery
WO2010120261A1 (en) Method for secure transfer of multiple small messages
US20110099621A1 (en) Process for monitoring, filtering and caching internet connections
EP1605667A2 (en) Controlled firewall penetration for management of discrete devices
WO2007078037A1 (en) Web page protection method employing security appliance and set-top box having the security appliance built therein
CN107026828A (en) A kind of anti-stealing link method cached based on internet and internet caching
CN105164969B (en) The recognition methods of instant communication client and identifying system
CN109450990A (en) A kind of cloud storage implementation method and electronic equipment based on educational system
CN112565447B (en) Encryption and decryption method and system matched with uploading and downloading in cloud environment and WEB file manager
KR100915003B1 (en) Secure user session managing method and system under web environment, recording medium recorded program executing it
CN112887359B (en) Cross-domain session sharing method and system
US11425129B1 (en) System and method of secured communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant