CN100336373C - Remote file transmission method - Google Patents
Remote file transmission method Download PDFInfo
- Publication number
- CN100336373C CN100336373C CNB011426527A CN01142652A CN100336373C CN 100336373 C CN100336373 C CN 100336373C CN B011426527 A CNB011426527 A CN B011426527A CN 01142652 A CN01142652 A CN 01142652A CN 100336373 C CN100336373 C CN 100336373C
- Authority
- CN
- China
- Prior art keywords
- tftp
- board
- file
- master board
- files
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention put forwards a remote file transmission method with high efficiency and reliability, which is provided by telecommunication level equipment. The method realizes the function of file transmission based on a TFTP protocol (Trivial Transfer Protocol, trivial file transfer protocol). The present invention has the basic clew that when files are transmitted from a network terminal storing transmission files to a master control board, a TFTP server is started up on the network terminal, and a TFTP client terminal is started up on the master control board so as to realize the file transmission between the network terminal and the master control board. When the second stage transmission of the files is carried out, the TFTP server is operated on the master control board, TFTP client terminal programs are started up on a service single board, and the files are transmitted to the service single board by using the TFTP protocol again. The method of the present invention fully uses the trivial file transfer protocol so as to realize the file transmission without saving the files to a quick flash memory, and the present invention has the advantages of high read-write efficiency and relatively simple realization.
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. on the network terminal, start TFTP Server process, move as background process;
2. in the internal memory of master board, create virtual disk, and (PortableOperating 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 initiated the TFTP session by master board 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 (Portable OPerating system UNIX, transplantable UNIX operating system) the compatible file system of on this virtual disk, setting up POSIX;
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 that according to the parameter of this order the destination object of current file transfer is master board or intrasystem other service board;
Step 6: operation TFTP client application in master board, start the TFTP session, 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;
Step 7: the Target Board position that the current file of judging according to described step 5 transmits, 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;
Step 8: the Target Board position is intrasystem other veneer, and the order of transfer files is sent in master board to target single board;
Step 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;
Step 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.
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 CN1426209A (en) | 2003-06-25 |
CN100336373C true 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) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005084040A1 (en) * | 2004-02-27 | 2005-09-09 | Utstarcom (China) Co., Ltd. | A method and a system of double engines sharing memory |
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 |
CN103107906B (en) * | 2012-11-15 | 2016-06-29 | 瑞斯康达科技发展股份有限公司 | Communication means, board and communication machine frame equipment between a kind of board |
CN107707581A (en) * | 2015-06-26 | 2018-02-16 | 中兴通讯股份有限公司 | Document handling method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2785122A1 (en) * | 1998-10-27 | 2000-04-28 | Philippe Faugeras | Remote control of automaton using on-board electronic card has embedded electronic card forming interface between automaton and communication network |
CN1290087A (en) * | 1999-12-30 | 2001-04-04 | 深圳市中兴通讯股份有限公司 | 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
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2785122A1 (en) * | 1998-10-27 | 2000-04-28 | Philippe Faugeras | Remote control of automaton using on-board electronic card has embedded electronic card forming interface between automaton and communication network |
CN1290087A (en) * | 1999-12-30 | 2001-04-04 | 深圳市中兴通讯股份有限公司 | Equipment with mixed use of wide-band and narrow-band user boards |
Also Published As
Publication number | Publication date |
---|---|
CN1426209A (en) | 2003-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6463078B1 (en) | Method for switching protocols transparently in multi-user applications | |
US6247057B1 (en) | Network server supporting multiple instance of services to operate concurrently by having endpoint mapping subsystem for mapping virtual network names to virtual endpoint IDs | |
JP5364773B2 (en) | System and method for managing a connection between a client and a server | |
US6697868B2 (en) | Protocol processing stack for use with intelligent network interface device | |
US7971207B2 (en) | Method, system, and computer program product for representing and connection-oriented device in a known format | |
US5931913A (en) | Methods, system and computer program products for establishing a session between a host and a terminal using a reduced protocol | |
US20050097076A1 (en) | Wire protocol for a media server system | |
WO2016102004A1 (en) | Network extended tcp splicing | |
US6084859A (en) | Internet protocol assists using multi-path channel protocol | |
JP2001523864A (en) | Server operating system that supports multiple client-server sessions and dynamic reconnection of users to previous sessions | |
WO2012030661A1 (en) | Systems and methods for multiplexing network channels | |
KR20040035723A (en) | Block data storage within a computer network | |
US20070156974A1 (en) | Managing internet small computer systems interface communications | |
CN101147129A (en) | Method and system for caching read requests from a shared image in a computer network | |
CN101272402A (en) | Method, system and device for data transmission | |
EP1966967A1 (en) | A sip multi-user media client comprising a user agent to be shared by a plurality of user applications | |
CN102761534A (en) | Method and device for realizing transparent proxy of media access control layer | |
EP1631034B1 (en) | Peer-to-peer distribution of firmware | |
CN100336373C (en) | Remote file transmission method | |
US20020029302A1 (en) | Method, computer program product, and system for managing connection-oriented media | |
US20020026536A1 (en) | Method, computer program product, and system for separating connection management functionality from a connection-oriented device driver | |
CN112565372A (en) | Communication method and system for virtual machine and client during network isolation | |
US20030120810A1 (en) | Interconnecting device, address conversion controlling method and computer program thereof | |
US6697895B1 (en) | Network attached tape storage system | |
US7562109B2 (en) | Connectivity confirmation method for network storage device and host computer |
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 |