CN1426209A - Remote file transmission method - Google Patents
Remote file transmission method Download PDFInfo
- Publication number
- CN1426209A CN1426209A CN 01142652 CN01142652A CN1426209A CN 1426209 A CN1426209 A CN 1426209A CN 01142652 CN01142652 CN 01142652 CN 01142652 A CN01142652 A CN 01142652A CN 1426209 A CN1426209 A CN 1426209A
- Authority
- CN
- China
- Prior art keywords
- tftp
- file
- master board
- board
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
This invention provides a telecommunication level high efficiency, reliable remote file transfer method realizing file transfer function based on TFTP (trivial file transfer protocol). The basic idea is to start TFTP server on network terminal and start TFTP customer end on the main control panel to realize file transfer between them, and at the second level file transfer, TFTP server operates on the main control panel and TFTP customer program is started at service single panel, again to utilize TFTP protocol to transfer file to the service single panel, fully utilizing TFTP to realize file transfer without storing file in flash memory first with very high read, write efficiency. 0
Description
Technical field:
The present invention relates to the method for communication field telefile transmission, relate in particular to a kind of method of file teletransmission of the telecom carrier-class device based on the IP technology.
Background technology:
In the carrier-class product, in equipment, exist polylith usually as the core master board of system's control and the service board of polylith Business Processing.Every veneer all may exist version file and configuration file etc., file all is kept on the flash memory (Flashmemory) of veneer usually, when system being carried out edition upgrading or revising configuration file, just must relate to the transmission problem of file, when wanting transfer files to specific veneer, need carry out addressing to this veneer, system exists the IP address of a tyre for the network remote addressing, can know the destination object of current file transmission according to the call number of veneer, when the destination object of file transfer is master board, as long as according to standard agreement, the current equipment (normally flash memory FLASH) that needs to preserve file is carried out the remote transmission that write operation just can be realized file; During veneer beyond the destination object of file transfer is master board, need to set up inner addressing method, the addressing of this inside should be independent of the external equipment addressing method.At this moment need to be kept at earlier file transfer on the network terminal to master board, and then by inner addressing, to the purpose veneer, this process in fact is to have realized the master board buffer memory with file transfer, from master board the version file secondary is transferred to process on the service board again.From master board the process of file transfer to other veneers is implemented in the existing technology, usually need between master board and veneer, set up communication link in advance, realize by the specific packet procedures of disassembling, in peers include both, the process that need package equally, finish the group bag after, again file is write in the flash memory, this mode can not effectively be utilized ripe TFTP technology, and implements more complicated, and efficient is also lower.
Do not retrieve patent documentation related to the present invention at present as yet.
Summary of the invention:
Technical problem to be solved by this invention is to provide a kind of efficient, reliable telefile transmission method for telecom carrier-class device.This method realizes the function of file transfer based on TFTP (Trivial File Transfer Protocol, TFTP) agreement.Its basic ideas be from the network terminal that has transfer files when the master board transfer files, on the network terminal, start tftp server, and in master board, start the TFTP client, realize the file transfer between the network terminal and master board.In second level when transmission of carrying out file, in master board, move tftp server, and on service board, start the TFTP client-side program, utilize once more the TFTP agreement with file transfer to service board.Method of the present invention has made full use of the TFTP TFTP and has realized file transfer, does not need file is saved in earlier in the flash memory, and read-write efficiency is very high, and implements fairly simple.
It is simple relatively to the present invention proposes a kind of realization, the telefile transmission method of reliable operation, and basic implementation method and step are as follows: 1. start TFTP Server process on the network terminal, move as background process; 2. in the internal memory of master board, create virtual disk, and (Portable Operating System UNIX, transplantable UNIX operating system) the compatible file system of on this virtual disk, setting up POSIX; 3. in master board, move TFTP Server program in the background process mode; 4. when needs carried out file transfer, the network terminal sent the order of transfer files to master board; 5. after the file transfer order is received in master board, judge that according to the parameter of this order the destination object of current file transfer is master board or intrasystem other service board; 6. operation TFTP client application in master board starts the TFTP session, and the connection between foundation and the network terminal TFTP Server utilizes the TFTP agreement, and the source file on the network terminal is transferred in the master board; 7. judge the Target Board position of current file transmission, if master board then directly copies files to the target device that file is preserved, end of file transfer; If the Target Board position is intrasystem other veneer, then with the file remote download in virtual disk, the step below continue carrying out; 8. the Target Board position is intrasystem other veneer, and the order of transfer files is sent in master board to target single board; 9. on target single board, start the TFTP client application, start the TFTP session, the connection in foundation and the master board between the TFTP Server; 10. utilize the TFTP agreement, will be stored in file transfer in the master board virtual disk to the relevant device of target single board, document transmission process finishes.
Description of drawings:
The present invention is described in further detail below in conjunction with accompanying drawing:
Fig. 1 is the inventive method system configuration schematic diagram;
Fig. 2 is a method flow diagram of the present invention;
Fig. 3 is the functional block diagram of TFTP Server;
Fig. 4 is a flow chart of creating virtual disk.
Specific embodiment: Fig. 1 is the inventive method system configuration schematic diagram; During transfer files, be to set up TFTP Server on the network terminal from the network terminal in master board, operation TFTP Client program is said master board and is initiated the TFTP session in master board.When during to the service board transfer files, then in master board, setting up TFTP Server from master board, and on service board operation TFTP Client program, initiate the TFTP session by service board.Wherein the transmission path of data is the internal memories (virtual disk) from the storage medium of the network terminal to master board, again in the flash memory of service board.Fig. 2 is a method flow diagram of the present invention.In the present invention, because the tftp server end need meet the file system of POSIX standard, therefore, when carrying out the buffer memory of file, need the support of file system, thus in the internal memory of master board, created virtual disk, and on this virtual disk, realize meeting the file system of POSIX standard, meanwhile, TFTP Server process also is to need to create in advance.At first, on the network terminal, want execution in step 1, promptly start TFTP Server process; In master board, want execution in step 2,3, in internal memory, create virtual disk and start TFTP Server process.Finish these necessary preparation, could realize the remote transmission of file.When the needs transfer files, the network terminal is execution in step 4 at first, sends the order that needs transfer files to master board, should comprise the information of Target Board position in this command parameter.After order is received in master board, execution in step 5, the destination object of distinguishing the current file transmission according to command parameter is master board or intrasystem other veneer, master board execution in step then 6, operation TFTP client application starts the TFTP session with the connection between foundation and the network terminal TFTP Server.Completing steps 7 between the network terminal and main master board subsequently, under the effect of TFTP agreement, source file on the network terminal is transferred in the main master board, need to judge the Target Board position of file transfer, if master board, then directly copy files to the target device that file is preserved, normally in the flash memory, whole document transmission process finishes; If the Target Board position is intrasystem other veneer, then with the file remote download in the virtual disk of master board, master board execution in step then 8.Send the order that needs transfer files to target single board.After target single board was received order, execution in step 9: operation TFTP client application started the TFTP session, the connection between foundation and the main master board TFTP Server.At last, completing steps 10 between master board and target single board, under the effect of TFTP agreement, with the file transfer in the virtual disk in the master board in the relevant device of target single board.So far, whole document transmission process finishes.Fig. 3 is the functional block diagram of TFTP Server.The TFTP agreement be based upon UDP Socket on, realize simple file transmitting function.As TFTP Server program, the function of mainly finishing has: initialization visit catalogue; The task of packet is accepted in establishment; Handle the various packets that receive, comprising RRQ packet, WRQ packet and fault processing bag; Send response data packet to Client; Create and manage message queue of self or the like.Fig. 4 has described the flow process of creating virtual disk.In general operating system, the private data structures (for example in the class unix system, generally describing disk unit with the block device data structure) of describing disk unit is arranged all.Therefore, creating virtual disk in internal memory also will represent with this structure.When specific implementation, can create this data structure earlier and distribute concrete data, in internal memory, distribute address space to come mock disc equipment by the data of this structure then.After having created virtual disk unit, it is connected with the concrete file system that meets the POSIX standard, this process generally is the system call of creating at this virtual disk equipment, so that can carry out the primitive operation the same with file system to the data in this memory block.
Claims (1)
1, a kind of telefile transmission method is characterized in that may further comprise the steps:
Step 1: on the network terminal, start TFTP Server process, move as background process;
Step 2: in the internal memory of master board, create virtual disk, and on this virtual disk, set up POSIX
(Portable Operating System UNIX, transplantable UNIX operating system) compatibility
File system;
Step 3: in master board, move TFTP Server program in the background process mode;
Step 4: when needs carried out file transfer, the network terminal sent the order of transfer files to master board;
Step 5: after the file transfer order is received in master board, judge current file according to the parameter of this order
The destination object of transmission is master board or intrasystem other service board;
Step 6: operation TFTP client application in master board, start the TFTP session, set up
And the connection between the network terminal TFTP Server, utilize the TFTP agreement, eventually with network
Source file on the end is transferred in the master board;
Step 7: judge the Target Board position of current file transmission, if master board is then directly copied file
The target device that shellfish preserves to file, end of file transfer; If the Target Board position is in the system
Other veneer, then with the file remote download in virtual disk, the step below continue carrying out
Suddenly;
Step 8: the Target Board position is intrasystem other veneer, and master board is sent transfer files to target single board
Order;
Step 9: on target single board, start the TFTP client application, start the TFTP session, set up
And the connection between the TFTP Server in the master board;
Step 10: utilize the TFTP agreement, will be stored in file transfer in the master board virtual disk to target
The relevant device of veneer, document transmission process finishes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB011426527A CN100336373C (en) | 2001-12-12 | 2001-12-12 | Remote file transmission method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB011426527A CN100336373C (en) | 2001-12-12 | 2001-12-12 | Remote file transmission method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1426209A true CN1426209A (en) | 2003-06-25 |
CN100336373C CN100336373C (en) | 2007-09-05 |
Family
ID=4676884
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB011426527A Expired - Fee Related CN100336373C (en) | 2001-12-12 | 2001-12-12 | Remote file transmission method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100336373C (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100576936C (en) * | 2004-02-27 | 2009-12-30 | Ut斯达康(中国)有限公司 | Shared drive communication means with double engines and system |
CN1992641B (en) * | 2005-12-28 | 2010-05-05 | 华为技术有限公司 | System and method for realizing board software loading |
CN1997019B (en) * | 2006-12-19 | 2010-12-08 | 中兴通讯股份有限公司 | A message monitoring and receiving method based on FTP transfer |
CN103107906A (en) * | 2012-11-15 | 2013-05-15 | 瑞斯康达科技发展股份有限公司 | Communication method between media boards, media boards and communication machine frame device |
WO2016206381A1 (en) * | 2015-06-26 | 2016-12-29 | 中兴通讯股份有限公司 | File processing method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2785122B1 (en) * | 1998-10-27 | 2003-01-10 | Philippe Faugeras | METHOD AND DEVICE FOR REMOTE DRIVING OF AN AUTOMATON AND CARD PROVIDED THEREFOR |
CN1110168C (en) * | 1999-12-30 | 2003-05-28 | 深圳市中兴通讯股份有限公司 | Equipment with mixed use of wide-band and narrow-band user boards |
-
2001
- 2001-12-12 CN CNB011426527A patent/CN100336373C/en not_active Expired - Fee Related
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100576936C (en) * | 2004-02-27 | 2009-12-30 | Ut斯达康(中国)有限公司 | Shared drive communication means with double engines and system |
CN1992641B (en) * | 2005-12-28 | 2010-05-05 | 华为技术有限公司 | System and method for realizing board software loading |
CN1997019B (en) * | 2006-12-19 | 2010-12-08 | 中兴通讯股份有限公司 | A message monitoring and receiving method based on FTP transfer |
CN103107906A (en) * | 2012-11-15 | 2013-05-15 | 瑞斯康达科技发展股份有限公司 | Communication method between media boards, media boards and communication machine frame device |
CN103107906B (en) * | 2012-11-15 | 2016-06-29 | 瑞斯康达科技发展股份有限公司 | Communication means, board and communication machine frame equipment between a kind of board |
WO2016206381A1 (en) * | 2015-06-26 | 2016-12-29 | 中兴通讯股份有限公司 | File processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN100336373C (en) | 2007-09-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6463078B1 (en) | Method for switching protocols transparently in multi-user applications | |
JP5364773B2 (en) | System and method for managing a connection between a client and a server | |
US5630061A (en) | System for enabling first computer to communicate over switched network with second computer located within LAN by using media access control driver in different modes | |
TWI239160B (en) | Remote booting method and apparatus applied in WAN based on IP technique | |
US6954852B2 (en) | System for and method of network booting of an operating system to a client computer using hibernation | |
US7512139B2 (en) | Methods and systems for enabling remote booting of remote boot clients in a switched network defining a plurality of virtual local area networks (VLANS) | |
US8331350B2 (en) | IP telephone auto configuration system and method | |
US20050021700A1 (en) | Wire protocol for a media server system | |
US20020032806A1 (en) | Method, system, and computer program product for representing and connecting an underlying connection-oriented device in a known format | |
CN101147129A (en) | Method and system for caching read requests from a shared image in a computer network | |
WO2009097776A1 (en) | System, device and method for achieving service upgrade | |
JP5395108B2 (en) | Apparatus and method for upgrading firmware in embedded systems | |
CN102761534A (en) | Method and device for realizing transparent proxy of media access control layer | |
EP1759317A2 (en) | Method and system for supporting read operations for iscsi and iscsi chimney | |
CN100432975C (en) | Architecture of interface target machine for miniature computer system and data transmitting method | |
CN101917458B (en) | Method and device for sending network bootstrap program to client | |
CN1426209A (en) | Remote file transmission method | |
CN111726367B (en) | Method, device, system and equipment for binding access of Customer Premises Equipment (CPE) | |
US20030120810A1 (en) | Interconnecting device, address conversion controlling method and computer program thereof | |
US20040172473A1 (en) | Wireless modem simulation of a LAN card | |
WO2002039317A1 (en) | Network attached tape storage system | |
Cisco | LU Address Mapping | |
Cisco | LU Address Mapping | |
Cisco | LU Address Mapping | |
Cisco | LU Address Mapping |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
ASS | Succession or assignment of patent right |
Owner name: SHENZHENG CITY ZTE CO., LTD. Free format text: FORMER OWNER: SHENZHENG CITY ZTE CO., LTD. SHANGHAI SECOND INSTITUTE Effective date: 20030724 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20030724 Applicant after: Zhongxing Communication Co., Ltd., Shenzhen City Applicant before: Shanghai Inst. of No.2, Zhongxing Communication Co., Ltd., Shenzhen City |
|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070905 Termination date: 20141212 |
|
EXPY | Termination of patent right or utility model |