WO2012068900A1 - File transfer method, transfer engine and network element - Google Patents

File transfer method, transfer engine and network element Download PDF

Info

Publication number
WO2012068900A1
WO2012068900A1 PCT/CN2011/077882 CN2011077882W WO2012068900A1 WO 2012068900 A1 WO2012068900 A1 WO 2012068900A1 CN 2011077882 W CN2011077882 W CN 2011077882W WO 2012068900 A1 WO2012068900 A1 WO 2012068900A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
network element
address
level
address list
Prior art date
Application number
PCT/CN2011/077882
Other languages
French (fr)
Chinese (zh)
Inventor
郭彤
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012068900A1 publication Critical patent/WO2012068900A1/en

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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a file transfer method, transfer engine and network element. The method comprises: the file transfer engine receiving download information sent by a upper level network element, the download information carrying a file address list of the file to be transferred and a topology table of the transfer network address; obtaining the file to be transferred from the upper level network element; when the file is not from a local network element, transferring the file according to the file address list and the topology table of the transfer network address carried by the download information. Through the file transfer engine residing on each network element, the present invention realizes the interconnection between file transfer engines, satisfies the high-efficiency file transfer of each network element level of a tree network architecture, and solves problem of file transfer incompatibility of different standard equipment, the problem of different network element codes from different levels of the same standard equipment, and the problem of files cannot be transferred in parallel by network elements from the third level and lower in the current system, thus greatly improving the level of parallel file transfer and enhancing transfer speed.

Description

文件传输方法、 传输引擎及网元 技术领域  File transmission method, transmission engine and network element
本发明涉及通讯技术领域, 尤其涉及一种多层次复杂组网架构下的通 讯设备中单板软件的文件传输方法、 传输引擎及网元。 背景技术  The present invention relates to the field of communication technologies, and in particular, to a file transmission method, a transmission engine, and a network element of a single board software in a communication device under a multi-layer complex networking architecture. Background technique
目前, 移动通讯的基站系统下, 一个网管后台管理着数量众多的网元, 具体的管理的数量可达 3000个, 每个网元还可能同时连接着众多的其他网 元, 形成一个网元的树形分布结构。 即使是扁平化结构的网络中, 也存在 模块和单板之间多层次的文件转发。 从文件传输的角度来看, 仍可以视为 树形结构。 在移动通讯系统之外的其他网管系统中, 这种树形组网结构也 广泛存在。  At present, under the base station system of mobile communication, a network management system manages a large number of network elements in the background, and the number of specific management can reach 3,000. Each network element may also be connected with many other network elements at the same time to form a network element. Tree-shaped distribution structure. Even in a flat-structured network, there are multiple levels of file forwarding between modules and boards. From the perspective of file transfer, it can still be considered a tree structure. In other network management systems other than mobile communication systems, such a tree networking structure is also widespread.
现有的文件传输方法能保证层次数在三层以上的文件并行传输, 而第 三层网元向下级网元传输文件时, 则变成了串行传输。 其釆用的传输方式 是在各个层次的网元上驻留不同的进程, 每层次的网元均驻留不同的代码。 对应不同制式的设备, 因为开发者不同, 更无法进行彼此间的文件传输。  The existing file transfer method can ensure that the number of layers is transmitted in parallel for files of more than three layers, and when the third layer of network elements transmits files to the lower level network element, it becomes serial transmission. The only transmission method used is to host different processes on the network elements of each level, and each level of network elements resides in different codes. For devices of different standards, because of different developers, it is impossible to transfer files between each other.
随着移动通讯网管系统中管理网元数量逐渐增多, 还面临着不同制式 的设备或系统之间进行文件传输的情况, 现有的文件传输方式已无法满足 要求, 需要有一种通用、 高效的文件传输方式来解决上述问题。 发明内容  With the increasing number of management network elements in the mobile communication network management system, the file transmission between different devices or systems is still faced. The existing file transmission methods cannot meet the requirements, and a general and efficient file is required. The transmission method is to solve the above problem. Summary of the invention
本发明的主要目的在于提供一种文件传输方法、 传输引擎及网元, 旨 在提高文件传输的通用性与高效性。  The main object of the present invention is to provide a file transmission method, a transmission engine and a network element, which are intended to improve the versatility and efficiency of file transmission.
为了达到上述目的, 本发明提出一种文件传输方法, 包括以下步骤: 文件传输 )擎接收上级网元发送的下载消息, 所述下载消息携带有需 要传输的文件的文件地址列表, 以及传输网络地址拓朴表; In order to achieve the above object, the present invention provides a file transmission method, which includes the following steps: The file transfer engine receives the download message sent by the upper-level network element, where the download message carries a file address list of the file to be transmitted, and a transport network address topology table;
从上级网元获取需要传输的文件;  Obtain the files to be transferred from the upper-level network element;
当所述文件不是本地网元的文件时, 根据所述下载消息携带的文件地 址列表, 以及传输网络地址拓朴表对所述文件进行传输。  When the file is not a file of a local network element, the file is transmitted according to the file address list carried by the download message and the transport network address topology table.
优选地, 所述根据下载消息携带的文件地址列表, 以及传输网络地址 拓朴表对所述文件进行传输, 包括:  Preferably, the transmitting, according to the file address list carried by the download message, and the transport network address topology table, the file includes:
查找所述文件地址列表, 获取所述文件对应的目标地址;  Finding a list of the file addresses, and obtaining a target address corresponding to the file;
查找所述传输网络地址拓朴表, 获取所述目标地址连接到本地网元的 下级网元地址, 生成下级网元地址列表;  Locating the transport network address topology table, obtaining the lower-level network element address of the local network element, and generating a lower-level network element address list;
根据所述下级网元地址列表创建多个发送进程并行发送所述文件至对 应的下级网元; 同时将所述文件地址列表, 以及传输网络地址拓朴表对应 件传输引擎对接收的文件继续进行处理。  Creating a plurality of sending processes according to the lower-level network element address list to send the file to the corresponding lower-level network element in parallel; and simultaneously performing the file address list and the transmission network address topology table corresponding component transmission engine to continue the received file deal with.
优选地, 所述文件传输引擎在并行传输文件时, 通过公共内存或动态 创建文件緩存, 对所述文件进行緩存。  Preferably, the file transfer engine caches the file by public memory or dynamically creating a file cache when transferring files in parallel.
优选地, 所述从上级网元获取需要传输的文件之后, 所述方法还包括: 当所述文件是本地网元的文件时, 将所述文件存储在本地网元。  Preferably, after the obtaining the file to be transmitted from the upper-level network element, the method further includes: when the file is a file of the local network element, storing the file in the local network element.
优选地, 所述文件地址列表包括: 文件列表和目标网元地址列表; 当 所述文件传输引擎所在网元为第一级网元时, 所述第一级网元的上级网元 为后台服务器; 所述文件列表、 目标网元地址列表以及传输网络地址拓朴 表由所述后台服务器根据用户选择的下载文件以及最终目标网元生成。  Preferably, the file address list includes: a file list and a target network element address list; when the network element where the file transfer engine is located is a first-level network element, the upper-level network element of the first-level network element is a background server The file list, the target network element address list, and the transport network address topology table are generated by the background server according to the downloaded file selected by the user and the final target network element.
本发明还提出一种文件传输引擎, 所述传输引擎包括: 接收模块和文 件传输模块; 其中,  The present invention also provides a file transfer engine, where the transfer engine includes: a receiving module and a file transfer module;
接收模块, 用于接收上级网元发送的下载消息, 所述下载消息携带有 需要传输的文件的文件地址列表、 传输网络地址拓朴表、 以及从上级网元 获取需要传输的文件; a receiving module, configured to receive a download message sent by the upper-level network element, where the download message carries a file address list of files to be transferred, a transport network address topology table, and files to be transferred from the upper-level network element;
文件传输模块, 用于当所述文件不是本地网元的文件时, 根据所述下 载消息携带的文件地址列表, 以及传输网络地址拓朴表对所述文件进行传 输。  And a file transmission module, configured to: when the file is not a file of a local network element, transmit the file according to the file address list carried by the download message and the transport network address topology table.
优选地, 所述文件传输模块中, 包括: 回溯单元和文件传输单元; 其 中,  Preferably, the file transmission module includes: a backtracking unit and a file transfer unit;
回溯单元, 用于查找所述文件地址列表, 获取所述文件对应的目标地 址, 以及查找所述传输网络地址拓朴表, 获取所述目标地址连接到本地网 元的下级网元地址, 生成下级网元地址列表;  a backtracking unit, configured to search the file address list, obtain a target address corresponding to the file, and search the transport network address topology table, obtain the lower-level network element address of the local network element, and generate a subordinate List of network element addresses;
文件传输单元, 用于根据所述下级网元地址列表创建多个发送进程并 行发送所述文件至对应的下级网元; 同时将所述文件地址列表, 以及传输 对应的下级网元的文件传输弓 I擎对接收的文件继续进行处理。  a file transfer unit, configured to create a plurality of sending processes according to the lower-level network element address list, and send the file to the corresponding lower-level network element in parallel; and simultaneously send the file address list and the file transfer bow of the corresponding lower-level network element The I engine continues processing the received file.
优选地, 所述传输引擎中, 还包括: 存储模块, 用于当所述文件是本 地网元的文件时, 将所述文件存储在本地网元。  Preferably, the transmission engine further includes: a storage module, configured to store the file in a local network element when the file is a file of a local network element.
优选地, 所述存储模块, 还用于在文件传输单元并行传输文件时, 通 过公共内存或动态创建文件緩存, 对所述文件进行緩存。  Preferably, the storage module is further configured to cache the file by using a common memory or dynamically creating a file cache when the file transfer unit transfers the file in parallel.
本发明还提出一种文件传输网元, 所述网元包括如上所述的文件传输 引擎。  The present invention also provides a file transfer network element, the network element comprising a file transfer engine as described above.
本发明提出的一种文件传输方法、 传输引擎及网元, 通过在各网元上 驻留文件传输引擎, 该文件传输引擎既可以接收上级网元发送的文件传输 消息, 又可以向下级网元发送文件传输消息, 实现了各文件传输引擎相互 之间的互连互通, 满足了树形网络架构下的各个层次网元的高效文件传输; 解决了现有系统不同制式设备文件传输的不兼容, 相同制式设备不同层次 的网元代码各不相同, 以及目前系统中三层以下的网元无法并行传输的问 题。 特别是针对层次较多的网元网络, 使用文件传输引擎后可以大幅度的 提高文件传输的并行度, 提高传输速度。 附图说明 The file transmission method, the transmission engine, and the network element provided by the present invention can receive the file transmission message sent by the upper-level network element and the lower-level network element by using the file transmission engine on each network element. Sending file transfer messages realizes the interconnection and intercommunication between each file transfer engine, and satisfies the efficient file transfer of each layer of network elements under the tree network architecture; solves the incompatibility of file transfer between different system devices in the existing system, Different levels of the same standard equipment The network element codes are different, and the network elements below the third layer in the current system cannot be transmitted in parallel. Especially for the network network with more layers, the file transfer engine can greatly improve the parallelism of file transfer and improve the transfer speed. DRAWINGS
图 1是本发明文件传输方法一实施例流程示意图;  1 is a schematic flow chart of an embodiment of a file transmission method according to the present invention;
图 l a是本发明文件传输方法一实施例中一种实施方式的文件地址列表 示意图;  1a is a schematic diagram of a file address list in an embodiment of a file transmission method according to the present invention;
图 lb是本发明文件传输方法一实施例中一种实施方式的传输网络地址 拓朴表示意图;  FIG. 1b is a schematic diagram of a transport network address topology table according to an embodiment of the file transmission method of the present invention;
图 2是本发明文件传输方法一实施例中根据下载消息携带的文件地址 列表以及传输网络地址拓朴表对文件进行传输的流程示意图;  2 is a schematic flowchart of a file address list carried by a download message and a transport network address topology table for transmitting a file according to an embodiment of the file transfer method of the present invention;
图 3是本发明文件传输引擎一实施例结构示意图;  3 is a schematic structural diagram of an embodiment of a file transfer engine according to the present invention;
图 4是本发明文件传输引擎一实施例中文件传输模块的结构示意图; 图 5是本发明文件传输网元一实施例结构示意图。 具体实施方式  4 is a schematic structural diagram of a file transmission module in an embodiment of a file transmission engine according to the present invention; and FIG. 5 is a schematic structural diagram of an embodiment of a file transmission network element according to the present invention. detailed description
本发明实施例解决方案主要是通过在各网元上驻留文件传输引擎, 该 文件传输引擎既可以接收上级网元发送的文件传输消息, 又可以向下级网 元发送文件传输消息, 实现各文件传输引擎相互之间的互连互通, 满足树 形网络架构下的各个层次网元的高效文件传输。  The solution of the embodiment of the present invention is mainly to store a file transmission engine on each network element, and the file transmission engine can receive the file transmission message sent by the upper-level network element, and can also send the file transmission message to the lower-level network element to implement each file. The transmission engines communicate with each other to meet the efficient file transfer of each layer of network elements under the tree network architecture.
图 1是本发明文件传输方法一实施例流程示意图, 如图 1所示, 本发 明一实施例提出一种文件传输方法, 包括:  1 is a schematic flowchart of a file transmission method according to an embodiment of the present invention. As shown in FIG. 1, an embodiment of the present invention provides a file transmission method, including:
步骤 S101 , 文件传输引擎接收上级网元发送的下载消息, 下载消息携 具体的, 在本实施例中, 用于发起文件传输的后台模块驻留在网管服 务器上, 用于监测、 控制文件传输下载的前台模块驻留在网元设备的主控 板上。 Step S101, the file transmission engine receives the download message sent by the upper-level network element, and the download message carries the specific. In this embodiment, the background module used for initiating the file transfer resides in the network management service. On the server, the foreground module for monitoring and controlling the file transfer download resides on the main control board of the network element device.
本实施例在所有参与文件传输的网元均驻留文件传输引擎, 并根据不 同层次的传输链路状况, 定义好传输协议。  In this embodiment, the network element that participates in file transmission resides in the file transmission engine, and the transmission protocol is defined according to different transmission link conditions.
用户在后台服务器选择需要下载的文件以及需要下载的最终目标网 元, 后台服务器根据文件列表以及最终目标网元生成目标网元的逻辑地址 列表即目标网元地址表, 以及传输网络地址拓朴表。  The user selects the file to be downloaded and the final target network element to be downloaded in the background server, and the background server generates a logical address list of the target network element, that is, the target network element address table, and the transmission network address topology table according to the file list and the final target network element. .
之后, 后台服务器中后台模块发送下载消息至第一级网元。 该下载消 中, 文件地址列表包括目标文件列表和目标网元地址列表。  Afterwards, the background module in the background server sends the download message to the first-level network element. The download disappears, and the file address list includes a target file list and a target network element address list.
当本实施例中所述文件传输引擎所在网元为第一级网元时, 该第一级 网元的上级网元即为后台服务器。  When the network element where the file transfer engine is located in the embodiment is the first-level network element, the upper-level network element of the first-level network element is the background server.
本实施例以当前文件传输引擎所在的网元为第一级网元为例进行说 明。  This embodiment uses the network element where the current file transmission engine is located as the first-level network element as an example.
步骤 S102, 从上级网元获取需要传输的文件;  Step S102: Obtain a file to be transmitted from the upper-level network element.
步骤 S103 ,判断文件是否为本地网元的文件,若是,则进入步骤 S105 , 否则, 进入步骤 S104;  Step S103, determining whether the file is a file of the local network element, and if yes, proceeding to step S105, otherwise, proceeding to step S104;
步骤 S104, 根据下载消息携带的文件地址列表以及传输网络地址拓朴 表对文件进行传输;  Step S104: The file is transmitted according to the file address list carried by the download message and the transport network address topology table.
步骤 S105 , 将文件存储在本地网元。  Step S105: Store the file in the local network element.
上述步骤 S102、 步骤 S103、 步骤 S104以及步骤 S105中, 当文件传输 引擎接收到后台服务器发送的下载消息后, 从后台服务器中获取需要传输 的文件, 如果传输引擎所在的网元不是第一级网元, 则从上级网元获取需 要传输的文件, 釆用文件传输引擎定制的协议方式创建文件接收进程。 目 前支持的协议方式包括: FTP协议和滑动窗口协议。 所述步骤 S103中: 文件传输引擎首先根据接收的文件的属性判断文件 系判断是否为本地网元即第一级网元文件, 如果是本地文件, 则将文件保 存到本地网元。 如果不是本地文件, 则根据下载消息携带的文件地址列表 以及传输网络地址拓朴表将文件进行传输, 直至将文件被传输到最终目标 网元, 其具体传输过程为: In the above step S102, step S103, step S104, and step S105, after the file transmission engine receives the download message sent by the background server, the file transmission engine acquires the file to be transmitted from the background server, if the network element where the transmission engine is located is not the first level network. The element obtains the file to be transmitted from the upper-level network element, and creates a file receiving process by using a protocol customized by the file transfer engine. Currently supported protocols include: FTP protocol and sliding window protocol. In the step S103, the file transfer engine first determines, according to the attribute of the received file, whether the file is a local network element, that is, the first-level network element file, and if it is a local file, saves the file to the local network element. If it is not a local file, the file is transmitted according to the file address list carried by the download message and the transport network address topology table, until the file is transmitted to the final target network element, and the specific transmission process is:
所述步骤 S104中: 第一级网元的文件传输引擎控制进程收到下载消息 以及文件、 文件地址列表以及传输网络地址拓朴表等信息后, 启动回溯功 能, 在传输网络地址拓朴表中找到每个最终的目标地址连接到本网元(节 点) 的下级网元地址, 生成下级网元地址表, 从而明确本网元发送文件的 的下级发送目的地址。  In the step S104, after the file transmission engine control process of the first-level network element receives the download message, the file, the file address list, and the transmission network address topology table, the file is started, and the backtracking function is started, in the transmission network address topology table. The lower-level network element address of each network element (node) is found, and the lower-level network element address table is generated to clarify the lower-level destination address of the file sent by the network element.
第一级网元的文件传输弓 )擎根据生成的下级地址列表, 创建多个发送 进程并行发送文件到下级网元, 发送进程同时将文件地址列表以及传输网 络地址拓朴表对应的下级节点的网络拓朴子表即下级子拓朴表一起发送给 下级节点的文件传输弓 I擎控制进程。 以保证下级网元继续向更下一层地址 发送。 第一级网元的文件传输引擎将上述信息通过下载消息发送至下级网 元的文件传输引擎, 下级网元的文件传输引擎控制进程收到下载消息后继 续按上述步骤进行处理, 判断文件是否为本地文件, 如果是则保持在本地 网元, 若不是本地文件, 则根据下载消息中的文件地址列表以及下级子拓 朴表找到文件目标地址对应的该本地网元的下级网元地址, 将文件发送至 该本地网元的下级网元, 依次逐级向下发送, 直至文件被转发至相应的目 标地址所在网元。  The file transfer node of the first-level network element generates a plurality of sending processes to send files to the lower-level network element in parallel according to the generated lower-level address list, and the sending process simultaneously lists the file address list and the lower-level node corresponding to the transport network address topology table. The network topology sub-table, that is, the lower-level sub-top table is sent to the lower-level node for file transfer control. To ensure that the lower-level network element continues to send to the next-level address. The file transfer engine of the first-level network element sends the above information to the file transfer engine of the lower-level network element through the download message, and the file transfer engine control process of the lower-level network element continues to process according to the above steps after receiving the download message, and determines whether the file is The local file, if yes, remains in the local network element. If it is not a local file, the lower-level network element address of the local network element corresponding to the file destination address is found according to the file address list in the download message and the sub-top topology table. The lower-level NEs that are sent to the local NE are sent down one by one until the file is forwarded to the NE where the corresponding destination address is located.
本实施例中驻留在各网元上的文件传输引擎, 既可以接收上级网元发 送文件传输的下载消息, 又可以向下级网元发送文件传输的下载消息, 从 而解决了各文件传输引擎相互之间的互连互通; 保证了多级文件的传输。 同时, 文件传输引擎构建了一个传输网络地址拓朴表, 并能在传输过程中 不断将其削减为子表, 在上下级网元间传输, 根据此表任何一个网元都可 以查到向下级发送的目标。 从而保证了文件传输引擎适用于复杂的多级拓 朴网络传输。 In this embodiment, the file transfer engine residing on each network element can receive the download message of the file transmission by the upper-level network element, and can also send the download message of the file transmission to the lower-level network element, thereby solving the mutual problem of each file transfer engine. Interconnection between the two; guarantees the transmission of multi-level files. At the same time, the file transfer engine constructs a transport network address topology table, and can continuously reduce it to a sub-table during the transmission process, and transmit between the upper and lower network elements. According to this table, any network element can find the lower level. The target sent. This ensures that the file transfer engine is suitable for complex multi-level topology network transmission.
下面以层一网元将接收的文件下发到目标地址 1为例进行说明: 图 la是本发明文件传输方法一实施例中一种实施方式的文件地址列表 示意图, 图 lb是本发明文件传输方法一实施例中一种实施方式的传输网络 地址拓朴表示意图,如图 la和图 2b所示, 图 la和图 2b分别为层一网元从 根节点 (上级网元)接收到的文件地址列表以及传输网络地址拓朴表。  The following is a description of a file address list which is sent to the target address 1 by a layer network element. FIG. 1a is a schematic diagram of a file address list according to an embodiment of the file transmission method of the present invention, and FIG. 1b is a file transmission according to the present invention. A schematic diagram of a transport network address topology table according to an embodiment of the present invention, as shown in FIG. 1a and FIG. 2b, where FIG. 1A and FIG. 2b are files received by a layer-one network element from a root node (upper-level network element), respectively. Address list and transport network address topology table.
首先, 层一网元文件传输引擎接收到根节点发送的下载消息, 该消息 中携带有文件地址列表以及传输网络地址拓朴表;  First, the layer-one network element file transmission engine receives the download message sent by the root node, where the message carries a file address list and a transport network address topology table;
具体的, 当层一网元文件传输引擎接收到文件时, 文件包括文件 1、 文 件 2、 文件 3 , 层一网元文件传输引擎从文件地址列表中得知上述文件均不 为本地文件, 并得知上述各文件的目标地址, 比如, 文件 1和文件 3需要 下发到目标地址 1 , 文件传输引擎根据目标地址 1 , 从传输网络地址拓朴表 中查找到文件 1连接到层一网元的下级网元为层二网元 1 ,文件 2连接到层 一网元的下级网元为层二网元 2, 然后, 层一网元将文件地址列表以及传输 网络地址拓朴表对应的下级子拓朴表发送至层二网元 1和层二网元 2,同时, 将文件 1发送给层二网元 1 , 将文件 2发送给层二网元 2。 由层二网元 1以 及层二网元 2按照上述规则逐级将文件向下传递,直至将文件 1以及文件 2 发送给目标地址 1。  Specifically, when the layer-one-element file transfer engine receives the file, the file includes the file 1, the file 2, and the file 3. The layer-one-element file transfer engine knows that the file is not a local file from the file address list, and Knowing the target addresses of the above files, for example, file 1 and file 3 need to be delivered to the target address 1, and the file transfer engine finds that the file 1 is connected to the layer-one network element from the transport network address topology table according to the target address 1. The lower-level network element is layer 2 network element 1, and the lower-level network element of file 2 connected to the layer-one network element is layer 2 network element 2, and then, the layer-one network element associates the file address list and the transmission network address topology table with the lower level The sub-topology table is sent to the layer 2 network element 1 and the layer 2 network element 2, and at the same time, the file 1 is sent to the layer 2 network element 1, and the file 2 is sent to the layer 2 network element 2. The layer 2 network element 1 and the layer 2 network element 2 pass the file down step by step according to the above rules until the file 1 and the file 2 are sent to the destination address 1.
以下以 WIMAX ( Worldwide Interoperability for Microwave Access , 全 球微波互联接入) 系统的 CC单板和 PTR单板的版本下载为例, WIMAX 是一项新兴的宽带无线接入技术, 能提供面向互联网的高速连接; CC 为 WIMAX基站系统基带侧主控板; PTR是 WIMAX基站系统的射频侧主控 单板, 在 WIMAX系统中, 由 WIMAX网管后台、 CC单板以及 PTR构成 一个层状树形结构,在本实例中, WIMAX网管后台连接有两个 CC单板(第 一级网元), 每个 CC单板连接有三个 PTR (第二级网元), 其中, 通过各 网元文件传输引擎下载版本的过程主要分为以下步骤: The following is an example of downloading the CC board and PTR board of the WIMAX ( Worldwide Interoperability for Microwave Access) system. WIMAX is an emerging broadband wireless access technology that provides high-speed connectivity to the Internet. ; CC is the baseband side main control board of the WIMAX base station system; PTR is the RF side master of the WIMAX base station system In the WIMAX system, the WIMAX network management background, the CC board, and the PTR form a layered tree structure. In this example, the WIMAX network management system has two CC boards (first-level network elements) connected to each other. The CC board is connected to three PTRs (second-level network elements). The process of downloading versions through each network element file transfer engine is mainly divided into the following steps:
A、后台将用户选择的文件和目标网元加以整理, 以文件优先的方式将 同一个文件的所有目标任务连续存放, 并将其生成任务文件, 即文件地址 列表以及相应的传输网络地址拓朴表。  A. The background sorts the file selected by the user and the target network element, and successively stores all the target tasks of the same file in a file priority manner, and generates a task file, that is, a file address list and a corresponding transmission network address topology. table.
B、 后台同时向两个 CC单板即两个下级网元发送下载消息, CC单板 收到下载消息后, 使用 FTP ( File Transfer Protocol, 文件传输协议)向后台 获取任务文件。  B. The background sends the download message to the two CCs, that is, the two lower-level NEs. After receiving the download message, the CC board uses FTP (File Transfer Protocol) to obtain the task file from the background.
C、 CC单板获取到任务文件后, 创建接收进程接收文件, 接收完成后 判断是否本身就是最终的目标节点, 如果是, 则将接收的文件存储到本地 开始下一个文件的接收,两个 CC单板同时从后台获取到版本文件并存储到 本地。  C. After obtaining the task file, the CC board creates a receiving process to receive the file. After receiving the completion, it determines whether it is the final destination node. If yes, the received file is stored locally and the next file is received. The two CCs are received. The board obtains the version file from the background and stores it locally.
D、 如果 CC单板判断接收的文件不是本地文件的, 则根据当前文件的 所有目标的逻辑地址, 生成目标网元的树形结构图即传输网络地址拓朴表 对应的下级子拓朴表, 向树形图中的下一级网元节点的控制进程发送下载 消息, 在本实例中, 每个 CC单板下挂的三个 PTR同时接收到 CC发来的 下载消息。  D. If the CC board determines that the received file is not a local file, the tree structure diagram of the target network element, that is, the lower-level sub-top table corresponding to the transport network address topology table, is generated according to the logical addresses of all the targets of the current file. The download message is sent to the control process of the next-level network element node in the tree diagram. In this example, the three PTRs connected to each CC board receive the download message sent by the CC at the same time.
E、 下级网元(PTR单板)的文件传输引擎控制进程收到文件下载消息 后, 继续 C、 D的流程处理, 接收完 PTR的版本文件后, 判断目标地址为 本地文件, 则将接收的文件存储到本地。 文件传输流程结束。  E. After receiving the file download message, the file transfer engine control process of the lower-level network element (PTR board) continues the process of C and D. After receiving the version file of the PTR, it determines that the target address is a local file, and then it will receive The file is stored locally. The file transfer process ends.
通过上述实例可知, 通过 CC单板与 PTR单板中的文件传输引擎, 保 证了六个 PTR版本文件同时进行下载,如果网络中的层次或叶子节点越多, 则使用本实施例所述的文件传输引擎带来的效率提升则越明显, 从而最大 限度的提高了文件的传输效率。 同时, 文件传输引擎提供了完善的调度处 理和防冲突功能, 可以处理各种异常, 保证了文件传输的可靠性。 此方法 在实际推广应用时, 可有效提高行业内设备间进行文件传输的可靠性和开 发效率, 提高用户对设备的满意程度。 According to the above example, the file transfer engine in the CC board and the PTR board ensures that six PTR version files are simultaneously downloaded. If there are more layers or leaf nodes in the network, the file described in this embodiment is used. The efficiency gain brought by the transmission engine is more obvious, thus maximizing The limit improves the efficiency of file transfer. At the same time, the file transfer engine provides complete scheduling and anti-collision functions, can handle various exceptions, and ensures the reliability of file transfer. When the method is actually promoted and applied, the reliability and development efficiency of file transmission between devices in the industry can be effectively improved, and the user's satisfaction with the device is improved.
从以上实例可以看出, 文件传输引擎具有目标地址回溯功能, 其可以 从传输网络地址拓朴表中计算出最终下载目标地址所对应的本节点的下级 节点。 从而保证每个参与传输的节点都能找到向下级传输的目标, 直到最 后到达下载的目标地址。  As can be seen from the above example, the file transfer engine has a target address backtracking function, which can calculate the lower node of the node corresponding to the final download target address from the transport network address topology table. This ensures that each node participating in the transmission can find the destination for the next level of transmission until the destination address of the download is reached.
进一步的, 在本实施例中, 在任何一个层次的上级节点网元向下级节 点网元发送文件时, 都能按照约定的最大同时发送进程个数进行并行发送。  Further, in this embodiment, when any one of the upper-level node network elements sends a file to the lower-level node network element, the parallel transmission can be performed according to the agreed maximum number of simultaneous transmission processes.
传输过程中所有发送进程既可以使用同一块公共内存, 又可以在各个 发送进程内部分别动态创建文件緩存。 当允许并行传输的文件很多时, 可 以使用公共内存方式以减少对内存的占用, 这种方式要求内存必须大于所 传输的文件大小。 当并行度不高或者内存资源充足时, 则各个发送进程可 以动态创建自己的文件緩存。  During the transmission process, all sending processes can use the same common memory, and can dynamically create file caches within each sending process. When a large number of files are allowed to be transferred in parallel, the common memory method can be used to reduce the memory usage, which requires that the memory must be larger than the file size transferred. When the degree of parallelism is not high or the memory resources are sufficient, each sending process can dynamically create its own file cache.
本实施例提供了一种通用的文件传输引擎, 满足树形网络架构下的各 个层次网元的高效文件传输。 解决了现有系统不同制式设备文件传输的不 兼容, 相同制式设备不同层次的网元代码各不相同, 以及目前系统中三层 以下的网元无法并行传输的问题。 特别对于层次较多的网元网络后, 使用 文件传输引擎后可以大幅度的提高文件传输的并行度, 提高传输速度。  This embodiment provides a general file transfer engine that satisfies efficient file transfer of each hierarchical network element in a tree network architecture. It solves the incompatibility of file transmission between different systems in the existing system. The network element codes of different levels of the same system are different, and the network elements below the third layer in the system cannot be transmitted in parallel. Especially for a network with a large number of network elements, the file transfer engine can greatly improve the parallelism of file transfer and increase the transfer speed.
图 2是本发明文件传输方法一实施例中根据下载消息携带的文件地址 列表以及传输网络地址拓朴表对文件进行传输的流程示意图, 如图 2所示, 步骤 S103中根据下载消息携带的文件地址列表, 以及传输网络地址拓朴表 对文件进行传输的步骤, 包括:  2 is a schematic diagram of a process of transmitting a file according to a file address list and a transport network address topology table carried in a download message according to an embodiment of the file transfer method of the present invention. As shown in FIG. 2, the file carried in the download message according to step S103 is shown in FIG. The address list, and the steps of transmitting the network address topology table to the file, including:
步骤 S1031 , 查找文件地址列表, 获取文件对应的目标地址; 步骤 S1032 , 查找传输网络地址拓朴表, 获取目标地址连接到本地网元 的下级网元地址, 生成下级网元地址列表; Step S1031: Find a file address list, and obtain a target address corresponding to the file; Step S1032: Find a transport network address topology table, obtain a lower-level network element address that is connected to the local network element, and generate a lower-level network element address list.
步骤 S1033 ,根据下级网元地址列表创建多个发送进程并行发送文件至 级子拓朴表发送至对应的下级网元, 由对应的下级网元的文件传输 1擎对 接收的文件继续进行处理。  Step S1033: Create a plurality of sending processes to send the file to the corresponding lower-level network element according to the lower-level network element address list, and the file transfer 1 of the corresponding lower-level network element continues processing the received file.
图 3是本发明文件传输引擎一实施例结构示意图, 如图 3所示, 本发 明一实施例提出一种文件传输引擎, 包括: 接收模块 301、 文件传输模块 302以及存储模块 303 ; 其中:  3 is a schematic structural diagram of an embodiment of a file transfer engine according to the present invention. As shown in FIG. 3, an embodiment of the present invention provides a file transfer engine, including: a receiving module 301, a file transfer module 302, and a storage module 303;
所述接收模块 301 , 用于接收上级网元发送的下载消息, 下载消息携带 网元获取需要传输的文件;  The receiving module 301 is configured to receive a download message sent by the upper-level network element, where the download message carries the network element to obtain a file that needs to be transmitted;
具体的, 在本实施例中, 用于发起文件传输的后台模块驻留在网管服 务器上, 用于监测、 控制文件传输下载的前台模块驻留在网元设备的主控 板上。  Specifically, in this embodiment, the background module for initiating the file transfer resides on the network management server, and the foreground module for monitoring and controlling the file transfer download resides on the main control board of the network element device.
本实施例在所有参与文件传输的网元均驻留文件传输引擎, 并根据不 同层次的传输链路状况, 定义好传输协议。  In this embodiment, the network element that participates in file transmission resides in the file transmission engine, and the transmission protocol is defined according to different transmission link conditions.
用户在后台服务器选择需要下载的文件以及需要下载的最终目标网 元, 后台服务器根据文件列表以及最终目标网元生成目标网元的逻辑地址 列表即目标网元地址表, 以及传输网络地址拓朴表。  The user selects the file to be downloaded and the final target network element to be downloaded in the background server, and the background server generates a logical address list of the target network element, that is, the target network element address table, and the transmission network address topology table according to the file list and the final target network element. .
之后, 后台服务器中后台模块发送下载消息至第一级网元。 该下载消 中, 文件地址列表包括目标文件列表和目标网元地址列表。  Afterwards, the background module in the background server sends the download message to the first-level network element. The download disappears, and the file address list includes a target file list and a target network element address list.
当本实施例中所述文件传输引擎所在网元为第一级网元时, 该第一级 网元的上级网元即为后台服务器。 本实施例以当前文件传输引擎所在的网元为第一级网元为例进行说 明。 When the network element where the file transfer engine is located in the embodiment is the first-level network element, the upper-level network element of the first-level network element is the background server. This embodiment uses the network element where the current file transmission engine is located as the first-level network element as an example for description.
所述文件传输模块 302, 用于当文件不是本地网元的文件时,根据下载 消息携带的文件地址列表, 以及传输网络地址拓朴表对文件进行传输。  The file transmission module 302 is configured to: when the file is not a file of the local network element, transmit the file according to the file address list carried in the download message and the transport network address topology table.
当文件传输引擎接收到后台服务器发送的下载消息后, 从后台服务器 中获取需要传输的文件, 如果传输引擎所在的网元不是第一级网元, 则从 上级网元获取需要传输的文件, 釆用文件传输引擎定制的协议方式创建文 件接收进程, 目前支持的协议方式包括: FTP协议和滑动窗口协议。  After the file transfer engine receives the download message sent by the background server, the file to be transmitted is obtained from the background server. If the network element where the transport engine is located is not the first-level network element, the file to be transmitted is obtained from the upper-level network element, The file receiving process is created by a protocol that is customized by the file transfer engine. The currently supported protocol modes include: FTP protocol and sliding window protocol.
文件传输引擎首先根据接收的文件的属性判断文件是否为本地文件, 网元即第一级网元文件, 如果是本地文件, 则将文件保存到本地网元。 如 果不是本地文件, 则根据下载消息携带的文件地址列表以及传输网络地址 拓朴表将文件进行传输, 直至将文件被传输到最终目标网元, 其具体传输 过程为:  The file transfer engine first determines whether the file is a local file according to the attributes of the received file. The network element is the first-level network element file. If it is a local file, the file is saved to the local network element. If it is not a local file, the file is transmitted according to the file address list carried by the download message and the transport network address topology table until the file is transmitted to the final target network element, and the specific transmission process is:
第一级网元的文件传输引擎控制进程收到下载消息以及文件、 文件地 址列表以及传输网络地址拓朴表等信息后, 启动回溯功能, 在传输网络地 址拓朴表中找到每个最终的目标地址连接到本网元(节点) 的下级网元地 址, 生成下级网元地址表, 从而明确本网元发送文件的下级发送目的地址。  After the file transfer engine control process of the first-level network element receives the download message and the file, the file address list, and the transmission network address topology table, the backtracking function is started, and each final target is found in the transport network address topology table. The address is connected to the lower-level NE address of the local network element (node), and the lower-level network element address table is generated, so that the destination address of the lower-level sending file of the local network element is clarified.
第一级网元的文件传输弓 )擎根据生成的下级地址列表, 创建多个发送 进程并行发送文件到下级网元, 发送进程同时将文件地址列表以及传输网 络地址拓朴表对应的下级节点的网络拓朴子表即下级子拓朴表一起发送给 下级节点的文件传输弓 I擎控制进程。 以保证下级网元继续向更下一层地址 发送。 第一级网元的文件传输引擎将上述信息通过下载消息发送至下级网 元的文件传输引擎, 下级网元的文件传输引擎控制进程收到下载消息后继 续按上述步骤进行处理, 判断文件是否为本地文件, 如果是则保持在本地 网元, 若不是本地文件, 则根据下载消息中的文件地址列表以及下级子拓 朴表找到文件目标地址对应的该本地网元的下级网元地址, 将文件发送至 该本地网元的下级网元, 依次逐级向下发送, 直至文件被转发至相应的目 标地址所在网元。 The file transfer node of the first-level network element generates a plurality of sending processes to send files to the lower-level network element in parallel according to the generated lower-level address list, and the sending process simultaneously lists the file address list and the lower-level node corresponding to the transport network address topology table. The network topology sub-table, that is, the lower-level sub-top table is sent to the lower-level node for file transfer control. To ensure that the lower-level network element continues to send to the next-level address. The file transfer engine of the first-level network element sends the above information to the file transfer engine of the lower-level network element through the download message, and the file transfer engine control process of the lower-level network element continues to process according to the above steps after receiving the download message, and determines whether the file is Local file, if it is local The network element, if it is not a local file, finds the lower-level network element address of the local network element corresponding to the target address of the file according to the file address list in the download message and the lower-level sub-top table, and sends the file to the lower-level network of the local network element. The element is sent down in order, until the file is forwarded to the network element where the corresponding destination address is located.
本实施例中驻留在各网元上的文件传输引擎, 既可以接收上级网元发 送文件传输的下载消息, 又可以向下级网元发送文件传输的下载消息, 从 而解决了各文件传输引擎相互之间的互连互通; 保证了多级文件的传输。 同时, 文件传输引擎构建了一个传输网络地址拓朴表, 并能在传输过程中 不断将其削减为子表, 在上下级网元间传输, 根据此表任何一个网元都可 以查到向下级发送的目标。 从而保证了文件传输引擎适用于复杂的多级拓 朴网络传输。  In this embodiment, the file transfer engine residing on each network element can receive the download message of the file transmission by the upper-level network element, and can also send the download message of the file transmission to the lower-level network element, thereby solving the mutual problem of each file transfer engine. Interconnection between the two; guarantees the transmission of multi-level files. At the same time, the file transfer engine constructs a transport network address topology table, and can continuously reduce it to a sub-table during the transmission process, and transmit between the upper and lower network elements. According to this table, any network element can find the lower level. The target sent. This ensures that the file transfer engine is suitable for complex multi-level topology network transmission.
所述传输引擎中还包括: 存储模块 303 , 与接收模块 301连接, 用于当 文件是本地网元的文件时, 将文件存储在本地网元。  The transmission engine further includes: a storage module 303, configured to be connected to the receiving module 301, configured to store the file in the local network element when the file is a file of the local network element.
图 4是本发明文件传输引擎一实施例中文件传输模块的结构示意图, 如图 4所示,文件传输模块 302包括:回溯单元 3021以及文件传输单元 3022, 其中:  4 is a schematic structural diagram of a file transfer module in an embodiment of the file transfer engine of the present invention. As shown in FIG. 4, the file transfer module 302 includes a traceback unit 3021 and a file transfer unit 3022, where:
所述回溯单元 3021 , 用于查找文件地址列表, 获取文件对应的目标地 址; 以及查找传输网络地址拓朴表, 获取目标地址连接到本地网元的下级 网元地址, 生成下级网元地址列表;  The backtracking unit 3021 is configured to search a file address list, obtain a target address corresponding to the file, and search a transport network address topology table, obtain a lower-level network element address of the local network element, and generate a lower-level network element address list.
所述文件传输单元 3022 , 用于根据下级网元地址列表创建多个发送进 程并行发送文件至对应的下级网元; 同时将文件地址列表以及传输网络地 的文件传输引擎对接收的文件继续进行处理。  The file transmission unit 3022 is configured to create a plurality of sending processes to send files to the corresponding lower-level network element according to the lower-level network element address list; and simultaneously process the file address list and the file transmission engine of the transmission network to process the received file. .
进一步的, 存储模块 303还用于在文件传输单元并行传输文件时, 通 过公共内存或动态创建文件緩存对文件进行緩存。 本发明实施例文件传输引擎具有目标地址回溯功能, 其可以从传输网 络地址拓朴表中计算出最终下载目标地址所对应的本节点的下级节点。 从 而保证每个参与传输的节点都能找到向下级传输的目标, 直到最后到达下 载的目标地址。 Further, the storage module 303 is further configured to cache the file by using a common memory or a dynamically created file cache when the file transfer unit transfers the file in parallel. The file transfer engine of the embodiment of the present invention has a target address backtracking function, which can calculate a lower node of the local node corresponding to the final download target address from the transport network address topology table. This ensures that each node participating in the transmission can find the target for the next level of transmission until the destination address of the download is reached.
进一步的, 在本实施例中, 在任何一个层次的上级节点网元向下级节 点网元发送文件时, 都能按照约定的最大同时发送进程个数进行并行发送。  Further, in this embodiment, when any one of the upper-level node network elements sends a file to the lower-level node network element, the parallel transmission can be performed according to the agreed maximum number of simultaneous transmission processes.
传输过程中所有发送进程既可以使用同一块公共内存, 又可以在各个 发送进程内部分别动态创建文件緩存。 当允许并行传输的文件很多时, 可 以使用公共内存方式以减少对内存的占用, 这种方式要求内存必须大于所 传输的文件大小。 当并行度不高或者内存资源充足时, 则各个发送进程可 以动态创建自己的文件緩存。  During the transmission process, all sending processes can use the same common memory, and can dynamically create file caches within each sending process. When a large number of files are allowed to be transferred in parallel, the common memory method can be used to reduce the memory usage, which requires that the memory must be larger than the file size transferred. When the degree of parallelism is not high or the memory resources are sufficient, each sending process can dynamically create its own file cache.
本实施例提供了一种通用的文件传输引擎, 满足树形网络架构下的各 个层次网元的高效文件传输。 解决了现有系统不同制式设备文件传输的不 兼容, 相同制式设备不同层次的网元代码各不相同, 以及目前系统中三层 以下的网元无法并行传输的问题。 特别对于层次较多的网元网络后, 使用 文件传输引擎后可以大幅度的提高文件传输的并行度, 提高了传输速度。  This embodiment provides a general file transfer engine that satisfies efficient file transfer of each hierarchical network element in a tree network architecture. It solves the incompatibility of file transmission between different systems in the existing system. The network element codes of different levels of the same system are different, and the network elements below the third layer in the system cannot be transmitted in parallel. Especially for the network network with more layers, the file transfer engine can greatly improve the parallelism of file transfer and improve the transfer speed.
图 5是本发明文件传输网元一实施例结构示意图, 如图 5所示, 本发 明一实施例提出一种文件传输网元, 该网元可以包括上述实施例中所述的 文件传输引擎 501。  FIG. 5 is a schematic structural diagram of an embodiment of a file transmission network element according to the present invention. As shown in FIG. 5, an embodiment of the present invention provides a file transmission network element, where the network element may include the file transmission engine 501 described in the foregoing embodiment. .
本实施例文件传输引擎对存在网元层次较多的通讯系统的版本升级具 有重大意义, 本发明实施例同样适用于需要使用多层次文件传输的其他领 域。  The file transfer engine of this embodiment has great significance for the version upgrade of the communication system having a large number of network elements. The embodiment of the present invention is also applicable to other areas where multi-level file transfer is required.
本发明实施例文件传输方法、 传输引擎及网元, 通过在各网元上驻留 文件传输引擎, 该文件传输引擎既可以接收上级网元发送的文件传输消息, 又可以向下级网元发送文件传输消息, 实现了各文件传输弓 I擎相互之间的 互连互通, 满足了树形网络架构下的各个层次网元的高效文件传输; 解决 了现有系统不同制式设备文件传输的不兼容, 相同制式设备不同层次的网 元代码各不相同, 以及目前系统中三层以下的网元无法并行传输的问题。 特别对于层次较多的网元网络后, 使用文件传输引擎后可以大幅度的提高 文件传输的并行度, 提高传输速度。 The file transmission method, the transmission engine, and the network element in the embodiment of the present invention can receive the file transmission message sent by the upper-level network element and send the file to the lower-level network element by hosting the file transmission engine on each network element. Transfer messages, realize the transfer of each file between the bow and the engine Interconnection and intercommunication, which satisfies the efficient file transmission of each level of network elements under the tree network architecture; solves the incompatibility of file transmission between different systems of the existing system, and the network element codes of different levels of the same system are different, and currently The problem that network elements below the third layer in the system cannot be transmitted in parallel. Especially for the network element network with more layers, the file transfer engine can greatly improve the parallelism of file transfer and improve the transfer speed.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进 等, 均应包含在本发明的保护范围之内。  The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included. Within the scope of protection of the present invention.

Claims

权利要求书 Claim
1、 一种文件传输方法, 其特征在于, 包括以下步骤:  A file transfer method, comprising the steps of:
文件传输 )擎接收上级网元发送的下载消息, 所述下载消息携带有需 要传输的文件的文件地址列表, 以及传输网络地址拓朴表;  The file transfer engine receives the download message sent by the upper-level network element, where the download message carries a file address list of the file to be transmitted, and a transport network address topology table;
从上级网元获取需要传输的文件;  Obtain the files to be transferred from the upper-level network element;
当所述文件不是本地网元的文件时, 根据所述下载消息携带的文件地 址列表, 以及传输网络地址拓朴表对所述文件进行传输。  When the file is not a file of a local network element, the file is transmitted according to the file address list carried by the download message and the transport network address topology table.
2、 根据权利要求 1所述的方法, 其特征在于, 所述根据下载消息携带 的文件地址列表, 以及传输网络地址拓朴表对所述文件进行传输, 包括: 查找所述文件地址列表, 获取所述文件对应的目标地址;  The method according to claim 1, wherein the transmitting the file according to the file address list carried by the download message and the transport network address topology table comprises: searching the file address list, obtaining a target address corresponding to the file;
查找所述传输网络地址拓朴表, 获取所述目标地址连接到本地网元的 下级网元地址, 生成下级网元地址列表;  Locating the transport network address topology table, obtaining the lower-level network element address of the local network element, and generating a lower-level network element address list;
根据所述下级网元地址列表创建多个发送进程并行发送所述文件至对 应的下级网元; 同时将所述文件地址列表, 以及传输网络地址拓朴表对应 的下级子拓朴表发送至所述对应的下级网元, 由所述对应的下级网元的文 件传输引擎对接收的文件继续进行处理。  And sending a plurality of sending processes to send the file to the corresponding lower-level network element in parallel according to the lower-level network element address list; and sending the file address list and the lower-level sub-topology table corresponding to the transport network address topology table to the The corresponding lower-level network element continues to process the received file by the file transfer engine of the corresponding lower-level network element.
3、 根据权利要求 2所述的方法, 其特征在于, 所述文件传输引擎在并 行传输文件时, 通过公共内存或动态创建文件緩存, 对所述文件进行緩存。  3. The method according to claim 2, wherein the file transfer engine caches the file by public memory or dynamically creating a file cache when the file is transferred in parallel.
4、 根据权利要求 1、 2或 3所述的方法, 其特征在于, 所述从上级网 元获取需要传输的文件之后, 所述方法还包括:  The method according to claim 1, 2 or 3, wherein after the obtaining the file to be transmitted from the upper-level network element, the method further includes:
当所述文件是本地网元的文件时, 将所述文件存储在本地网元。  When the file is a file of a local network element, the file is stored in a local network element.
5、根据权利要求 1所述的方法, 其特征在于, 所述文件地址列表包括: 文件列表和目标网元地址列表; 当所述文件传输引擎所在网元为第一级网 元时, 所述第一级网元的上级网元为后台服务器; 所述文件列表、 目标网 载文件以及最终目标网元生成。 The method according to claim 1, wherein the file address list includes: a file list and a target network element address list; when the network element where the file transfer engine is located is a first-level network element, The upper-level network element of the first-level network element is a background server; the file list and the target network The file and the final target network element are generated.
6、 一种文件传输引擎, 其特征在于, 所述传输引擎包括: 接收模块和 文件传输模块; 其中,  A file transfer engine, wherein the transfer engine comprises: a receiving module and a file transfer module; wherein
接收模块, 用于接收上级网元发送的下载消息, 所述下载消息携带有 需要传输的文件的文件地址列表、 传输网络地址拓朴表、 以及从上级网元 获取需要传输的文件;  The receiving module is configured to receive a download message sent by the upper-level network element, where the download message carries a file address list of the file to be transmitted, a transport network address topology table, and a file that needs to be transmitted from the upper-level network element;
文件传输模块, 用于当所述文件不是本地网元的文件时, 根据所述下 载消息携带的文件地址列表, 以及传输网络地址拓朴表对所述文件进行传 输。  And a file transmission module, configured to: when the file is not a file of a local network element, transmit the file according to the file address list carried by the download message and the transport network address topology table.
7、 根据权利要求 6所述的文件传输引擎, 其特征在于, 所述文件传输 模块中, 包括: 回溯单元和文件传输单元; 其中,  The file transfer module according to claim 6, wherein the file transfer module includes: a traceback unit and a file transfer unit;
回溯单元, 用于查找所述文件地址列表, 获取所述文件对应的目标地 址, 查找所述传输网络地址拓朴表, 获取所述目标地址连接到本地网元的 下级网元地址, 生成下级网元地址列表;  The backtracking unit is configured to search the file address list, obtain the target address corresponding to the file, search the transport network address topology table, obtain the lower-level network element address of the local network element, and generate the lower-level network Meta-address list;
文件传输单元, 用于根据所述下级网元地址列表创建多个发送进程并 行发送所述文件至对应的下级网元; 同时将所述文件地址列表, 以及传输 对应的下级网元的文件传输弓 I擎对接收的文件继续进行处理。  a file transfer unit, configured to create a plurality of sending processes according to the lower-level network element address list, and send the file to the corresponding lower-level network element in parallel; and simultaneously send the file address list and the file transfer bow of the corresponding lower-level network element The I engine continues processing the received file.
8、 根据权利要求 6所述的文件传输引擎, 其特征在于, 所述传输引擎 中, 还包括: 存储模块, 用于当所述文件是本地网元的文件时, 将所述文 件存储在本地网元。  The file transfer engine according to claim 6, wherein the transfer engine further includes: a storage module, configured to store the file locally when the file is a file of a local network element Network element.
9、根据权利要求 8所述的文件传输引擎,其特征在于, 所述存储模块, 还用于在文件传输单元并行传输文件时, 通过公共内存或动态创建文件緩 存, 对所述文件进行緩存。  The file transfer engine according to claim 8, wherein the storage module is further configured to cache the file by using a common memory or dynamically creating a file cache when the file transfer unit transfers the file in parallel.
10、 一种文件传输网元, 其特征在于, 所述网元包括权利要求 6-9中任 一项所述的文件传输引擎。 A file transmission network element, wherein the network element comprises any one of claims 6-9 A file transfer engine as described.
PCT/CN2011/077882 2010-11-23 2011-08-01 File transfer method, transfer engine and network element WO2012068900A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010555627.5A CN102082816B (en) 2010-11-23 2010-11-23 File transmission method and transmission engines and network elements
CN201010555627.5 2010-11-23

Publications (1)

Publication Number Publication Date
WO2012068900A1 true WO2012068900A1 (en) 2012-05-31

Family

ID=44088567

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/077882 WO2012068900A1 (en) 2010-11-23 2011-08-01 File transfer method, transfer engine and network element

Country Status (2)

Country Link
CN (1) CN102082816B (en)
WO (1) WO2012068900A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082816B (en) * 2010-11-23 2014-11-05 中兴通讯股份有限公司 File transmission method and transmission engines and network elements
CN103533102B (en) * 2013-10-25 2017-06-06 深圳市多尼卡电子技术有限公司 The collocation method and data transmission system and audio-visual system of the network element network address
CN105306512B (en) * 2014-07-25 2019-12-03 中兴通讯股份有限公司 Document transmission method, apparatus and system
CN104639448B (en) * 2014-12-18 2018-10-16 北京北方烽火科技有限公司 Base station retransmission method and system in a kind of lte-a system
CN106533716B (en) * 2015-09-09 2019-09-17 大唐移动通信设备有限公司 A kind of management method and system of northbound interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002082298A1 (en) * 2001-04-03 2002-10-17 Ge Financial Assurance Holdings, Inc. Method and system for secure transmission of information
CN101521628A (en) * 2009-01-16 2009-09-02 深圳市迈科龙电子有限公司 Automatic transfer transmission and routing method for data files
CN101854287A (en) * 2009-04-01 2010-10-06 工业和信息化部电信传输研究所 Method and device for optimizing P2P traffic
CN102082816A (en) * 2010-11-23 2011-06-01 中兴通讯股份有限公司 File transmission method and transmission engines and network elements

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304382B (en) * 2008-07-03 2010-10-20 中国移动通信集团设计院有限公司 Method, system and equipment for selecting document transmission route in P2P network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002082298A1 (en) * 2001-04-03 2002-10-17 Ge Financial Assurance Holdings, Inc. Method and system for secure transmission of information
CN101521628A (en) * 2009-01-16 2009-09-02 深圳市迈科龙电子有限公司 Automatic transfer transmission and routing method for data files
CN101854287A (en) * 2009-04-01 2010-10-06 工业和信息化部电信传输研究所 Method and device for optimizing P2P traffic
CN102082816A (en) * 2010-11-23 2011-06-01 中兴通讯股份有限公司 File transmission method and transmission engines and network elements

Also Published As

Publication number Publication date
CN102082816A (en) 2011-06-01
CN102082816B (en) 2014-11-05

Similar Documents

Publication Publication Date Title
US10491464B2 (en) Network topology assisted device provisioning
CN104348757B (en) A kind of flow table exchange method, interchanger and system
KR101858542B1 (en) Container Name Server and Container Name Interpretation Method
US8171539B2 (en) Methods and apparatus for implementing a search tree
RU2388044C2 (en) Virtual multiple-address routing for cluster having status synchronisation
CN1306752C (en) Using link state information to discover IP network topology
JP6225249B2 (en) Routing and forwarding method, apparatus and system
CN110730478B (en) Slice association method, device, end-to-end slice organizer and storage medium
Guo et al. Exploiting efficient and scalable shuffle transfers in future data center networks
EP2612487B1 (en) Method and arrangement in a peer-to-peer network
CA2897118A1 (en) System and method for providing p2p based reconfigurable computing and structured data distribution
WO2012068900A1 (en) File transfer method, transfer engine and network element
US9954775B2 (en) Software-defined network (SDN) system using host abstraction, and method for implementing the same
CN105812257B (en) Business chain route management system and its application method
Yanggratoke et al. Delay tolerant network on android phones: Implementation issues and performance measurements
CN1536834A (en) Method for constructing equipment network in Internet and obtaining shared information in said network
CN105516002B (en) Data transmission method and device
CN101420357B (en) Reflected route processing method and route reflecting device
Ye et al. PIoT: Programmable IoT using information centric networking
CN102447724B (en) Method, server and system for controlling peer-to-peer (P2P) download
CN104506440A (en) Data package transmitting method and routing list correcting method for router
CN101989946B (en) Compression method of communication equipment route forwarding table
Beben et al. Content aware network based on virtual infrastructure
Liu et al. A dynamic placement mechanism of service function chaining based on software-defined networking
Huang et al. An architecture for integrating wireless sensor networks into IP network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11843874

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11843874

Country of ref document: EP

Kind code of ref document: A1