WO2012130111A1 - Update method, apparatus in access network and access network - Google Patents

Update method, apparatus in access network and access network Download PDF

Info

Publication number
WO2012130111A1
WO2012130111A1 PCT/CN2012/072996 CN2012072996W WO2012130111A1 WO 2012130111 A1 WO2012130111 A1 WO 2012130111A1 CN 2012072996 W CN2012072996 W CN 2012072996W WO 2012130111 A1 WO2012130111 A1 WO 2012130111A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
upgraded
list
access
address
Prior art date
Application number
PCT/CN2012/072996
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 WO2012130111A1 publication Critical patent/WO2012130111A1/en

Links

Classifications

    • 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
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process

Definitions

  • the embodiments of the present invention relate to communication technologies, and in particular, to an upgrade method, device, and access network in an access network.
  • the upgrade of the optical network terminal is controlled by the element management system (EMS).
  • the main process of the upgrade is to report the version number to the ONT.
  • the NMS receives the version number of each ONT
  • the NMS compares the version number of each OTN with the version number set by the OTN in the NMS, and adds the OTN IDs with different version numbers to the load (upgrade) list.
  • OLT optical Line Terminal
  • the OLT first upgrades the version of the ONT corresponding to the identifier of the ONT in the load list, Then, the file file of the ONT is obtained from the network management system by using a file transfer protocol (File Transfer Protocol; the file name: FTP), and the program file is stored in the passive optical network (Passive Optical Network; PON) board of the OLT. If the version of the ONT is upgraded for the first time, you can obtain the version of the ONT upgrade from the Flash in the PON card. program files. After the OLT obtains the program file of the ONT, it notifies the ONT to trigger the OTN to initiate a load request to the OLT, and the OLT can pass the acquired program file of the ONT to the ONT according to the load request. The ONT Management and Control Interface (OMI) or Operation Administration and Maintenance (OAM) is sent to the ONT to upgrade the ONT.
  • OMI ONT Management and Control Interface
  • OAM Operation Administration and Maintenance
  • the OLT upgrades the ONT mainly by serial upgrade, it takes a long time to upgrade the ONT of the whole frame, which cannot meet the large-scale commercial efficiency.
  • the OLT currently uses OMCI/OAM to transfer the program files to the ONT, due to OMCI.
  • the /OAM protocol channel must control the forwarding of program files through the OLT's central processing unit (Central Processing Unit; CPU: CPU), and the OMCI/OAM transmission rate is relatively low, so it has a greater impact on the OLT CPU processing performance.
  • the transmission time is too long, which also makes the upgrade performance difficult to meet large-scale commercial use.
  • the embodiments of the present invention provide an upgrade method, a device, and an access network in an access network, which are used to effectively improve the efficiency and performance of the upgrade, and meet the requirements of large-scale commercial use.
  • An embodiment of the present invention provides an upgrade method in an access network, where the access network includes an access device and multiple terminal devices, where the multiple terminal devices can communicate with each other through the access device.
  • the access device and the multiple terminal devices are in a virtual local area network, and the method includes: receiving a loading list from the network management, where the loading list includes a device identifier of the terminal device that needs to be upgraded, and a target version number;
  • An embodiment of the present invention provides an access device, where the access device is connected to a plurality of terminal devices in a local area network, where the access device includes: a proxy module, configured to act as a proxy for the multiple terminal devices, to enable interworking between the multiple terminal devices;
  • a first receiving module configured to receive a loading list from the network management, where the loading list includes a device identifier of the terminal device that needs to be upgraded, and a target version number;
  • a sending module configured to send, according to the loading list, a node list to the terminal device that needs to be upgraded, where the terminal device to be upgraded is upgraded according to the IP address and the port downloading the upgrade file from the corresponding device.
  • the embodiment of the present invention provides a terminal device, where the terminal device can communicate with the first terminal device connected to the access device by using the access device, and the terminal device, the first terminal device, and the access device In a virtual local area network, the terminal device includes:
  • a network measurement interface module configured to receive a list of nodes from the access device, where the node list
  • An IP interface configured to download the upgrade file from the corresponding terminal device according to the IP address and the port number of the terminal device
  • An upgrade module is used to upgrade by using the upgrade file.
  • An embodiment of the present invention provides an access network, where the access network includes an access device and multiple terminal devices, where the multiple terminal devices can communicate with each other through an access device, where the access device and the device are connected. Said that the plurality of terminal devices are in a virtual local area network,
  • the access device receives a loading list from the network management system, where the loading list includes a device identifier of the terminal device to be upgraded and a target version number; and sends a node list to the terminal device that needs to be upgraded according to the loading list, to notify the storage that IP address of the device of the upgrade file corresponding to the target version number And the port number, so that the terminal device that needs to be upgraded is upgraded by downloading the upgrade file from the corresponding device according to the IP address and the port number.
  • the upgrade method, the device, and the access network in the access network of the embodiment of the present invention receive the load list from the network management device, and send the node list to the terminal device that needs to be upgraded according to the load list, and obtain the terminal device that needs to be upgraded.
  • the upgrade file is downloaded from the corresponding device according to the IP address and the port number, thereby effectively improving the efficiency and performance of the upgrade, and meeting the requirements of large-scale commercial use.
  • FIG. 1 is a flow chart of an embodiment of an upgrade method in an access network according to the present invention.
  • FIG. 2 is a flowchart of another embodiment of an upgrade method in an access network according to the present invention.
  • FIG. 3 is a schematic structural diagram of an embodiment of an access device according to the present invention.
  • FIG. 4 is a schematic structural diagram of another embodiment of an access device according to the present invention.
  • FIG. 5 is a schematic structural diagram of an embodiment of a terminal device according to the present invention.
  • FIG. 6 is a schematic structural diagram of an embodiment of an access network according to the present invention.
  • FIG. 1 is a flowchart of an embodiment of an upgrade method in an access network according to the present invention. As shown in FIG. 1, the method includes:
  • Step 101 Receive a loading list from a network management device, where the loading list includes a device identifier of the terminal device that needs to be upgraded, and a target version number.
  • the access network includes an access device and multiple terminal devices, and multiple terminal devices can communicate with each other through the access device, and the access device and the multiple terminal devices are in a virtual local area network (Virtual Local Area Network; Cartridge: VLAN).
  • a virtual local area network Virtual Local Area Network; Cartridge: VLAN.
  • the access device may be an OLT, a server Provider Edge (SPE), or a Digital Subscriber Line Access Multiplexer (DSLAM).
  • the terminal device may be an ONT or a Customer Premises Equipment (CPE).
  • the access device is an OLT and the terminal device is an ONT.
  • a peer-to-peer (P2P) upgraded VLAN can be configured on the access device to enable the access device to automatically create a service flow to the terminal device using the VLAN and on the access device.
  • An IP interface is set up to place the access device and the connected terminal device in a local area network formed by the same internal VLAN.
  • the access device since the Layer 2 interworking of the terminal device is isolated, the access device also needs to implement the Layer 3 interworking between the terminal devices by using the ARP Proxy solution, that is, the access device allocates an intranet Internet protocol according to a certain algorithm (Internet Protocol; Said: IP) address (for example: the internal IP network segment that the user can configure for P2P upgrade is 10.1.0.0 ⁇ 10.1.255.255, the mask is 255.255.0.0, the fourth byte of the IP address of the ONT may be an ONT identifier (identity; cartridge: ID), and the third byte of the IP address may be a combination of a slot number and a port number) to establish access.
  • IP Internet Protocol
  • the access device allocates an intranet Internet protocol according to a certain algorithm (Internet Protocol; Said: IP) address (for example: the internal IP network segment that the user can configure for P2P upgrade is 10.1.0.0 ⁇ 10.1.255.255, the mask is 255.255.0.0, the fourth byte of the IP address
  • the terminal devices connected to the access device can report their respective types and source version numbers to the NMS.
  • the NMS reports the type, source version number, and end device ID of the terminal device (for example:
  • the ONT ID is used to determine whether the terminal device needs to be upgraded. If the terminal device needs to be upgraded, the upgraded version number is used as the target version number, and the device identifier and the target version number of the terminal device are stored in the loading list. Send to the access device.
  • Step 102 Send a node list to the terminal device that needs to be upgraded according to the loading list, and notify the stored device to download the upgrade file from the corresponding device according to the IP address and the port number to perform the upgrade.
  • the terminal device that needs to be upgraded by receiving a load list from the network management, and sending a node list to the terminal device that needs to be upgraded according to the load list, the IP address and port number of the device storing the upgrade file corresponding to the target version number are notified. Therefore, the terminal device that needs to be upgraded is upgraded by downloading the upgrade file from the corresponding device according to the IP address and the port number, thereby effectively improving the efficiency and performance of the upgrade, and meeting the requirements of large-scale commercial use.
  • FIG. 2 is a flowchart of another embodiment of an upgrade method in an access network according to the present invention. As shown in FIG. 2, the method in this embodiment includes:
  • Step 201 Receive a loading list from a network management device, where the loading list includes a device identifier of the terminal device that needs to be upgraded, and a target version number.
  • Step 201 Determine whether the local or connected terminal device stores an upgrade file corresponding to the target version number in the loading list, and if yes, add the IP address and port number of the device to the node list; if not, the slave network management Download the corresponding upgrade file.
  • the upgrade file corresponding to the target version number is not stored in the flash of the PON card in the access device, it is determined whether the connected terminal device is stored. If not, the upgrade file corresponding to the target version number is obtained from the network management device. Store the upgrade file in the Flash of the PON card.
  • the IP address and port number of the access device and/or the terminal device are added to the node list.
  • the port number includes a port number for a Transmission Control Protocol (TCP) connection, a port number for a socket connection, and a file transfer protocol (File) Transfer Protocol; The name of the port to which the FTP protocol is connected, the port number used for the bittorrent connection or the port number used to preset the private protocol connection.
  • TCP Transmission Control Protocol
  • File file transfer protocol
  • Step 203 Select, by using the set algorithm, a terminal device that needs to be upgraded from the loading list as the selected terminal device.
  • Step 204 Send the node column to the selected terminal device, so that the selected terminal device downloads the upgrade file from the corresponding terminal device according to the IP address and the port number of the terminal device, and the node device includes ⁇ ⁇ The IP address and port number of the device with the target version number corresponding to the rise of «1 piece.
  • the number of terminal devices storing the upgrade file corresponding to the target version number may be multiple, and the IP address and port number of the multiple terminal devices are carried in the node list and sent to the selected terminal device, and then selected.
  • the terminal device can randomly select an IP address and a port number of a terminal device from the node list, and initiate a TCP or UDP connection to the terminal device corresponding to the IP address and the port number, and obtain the TCP or UDP connection from the terminal device through the P2P protocol or the FTP protocol. Download the upgrade file to upgrade.
  • Step 205 Receive a handshake signal of the selected terminal device, and after determining that the selected terminal device of the handshake signal is upgraded, add the IP address and port number of the upgraded selected terminal device to the node list.
  • the Peer in order to reduce the load of the CPU of the access device, after transmitting the completed upgrade file to the selected terminal device, the Peer may be exited, that is, the IP address and the port number of the access device in the node list are deleted.
  • the access device receives the handshake signal of the selected terminal device, and determines that the selected terminal device of the handshake signal is upgraded, the selected terminal device in the loading list may also be deleted, and after the update. In the load list, the terminal that needs to be upgraded is selected as the selected terminal to be upgraded.
  • the implementation principle is similar, and is not described here.
  • the network management by receiving the loading list from the network management, using the set algorithm, selecting a terminal device to be upgraded from the loading list as the selected terminal device, and determining whether an upgrade corresponding to the target version number is stored.
  • the IP address of the access device of the file, the port number and/or the IP address and port number of the terminal device, and the IP address of the access device and/or the IP address and port number of the terminal device are carried in the node list and sent to The selected terminal device, for selecting the terminal device to download the upgrade file from the corresponding access device and/or the terminal device according to the IP address of the access device and the port number and/or the IP address and port number of the terminal device, and upgrade , thus effectively improving the efficiency and performance of the upgrade, and meeting the needs of large-scale commercial use.
  • FIG. 3 is a schematic structural diagram of an embodiment of an access device according to the present invention. As shown in FIG. 3, the access device of the embodiment is connected to a plurality of terminal devices in a local area network, and the access device includes: a proxy module. 11. The first receiving module 12 and the transmitting module 13.
  • the proxy module 11 is used as a proxy for multiple terminal devices, so that multiple terminal devices are Realize interoperability;
  • the first receiving module 12 is configured to receive a loading list from the network management, where the loading list includes a device identifier of the terminal device that needs to be upgraded, and a target version number.
  • the sending module 13 is configured to send a node list to the terminal device that needs to be upgraded according to the loading list, and notify the IP address and the port number of the device storing the upgrade file corresponding to the target version number, so that the terminal device that needs to be upgraded according to the IP address and the port number Download the upgrade file from the corresponding device to upgrade.
  • the access device of this embodiment can perform the technical solution of the method embodiment shown in FIG. 1 , and the principle is similar, and details are not described herein again.
  • the terminal device that needs to be upgraded by receiving a load list from the network management, and sending a node list to the terminal device that needs to be upgraded according to the load list, the IP address and port number of the device storing the upgrade file corresponding to the target version number are notified. Therefore, the terminal device that needs to be upgraded is upgraded by downloading the upgrade file from the corresponding device according to the IP address and the port number, thereby effectively improving the efficiency and performance of the upgrade, and meeting the requirements of large-scale commercial use.
  • FIG. 4 is a schematic structural diagram of another embodiment of an access device according to the present invention. As shown in FIG. 4, the provided access device further includes: a second receiving module 14 and a signal processing module 15
  • the second receiving module 14 is configured to receive a handshake signal of the selected terminal device.
  • the signal processing module 15 is configured to: after determining that the selected terminal device that sends the handshake signal is upgraded, the IP address of the selected terminal device that is upgraded is completed. The port number is added to the node list.
  • the signal processing device 15 can also be used to delete the IP address and port number of the access device from the node list.
  • the access device of this embodiment can perform the technical solution of the method embodiment shown in FIG. 2, and the principles are similar, and details are not described herein again.
  • this embodiment by receiving the loading list from the network management, using the set algorithm, selecting a terminal device to be upgraded from the loading list as the selected terminal device, and determining whether an upgrade corresponding to the target version number is stored.
  • the IP address of the access device of the file, the port number and/or the IP address and port number of the terminal device, and the IP address of the access device and/or the IP address and port number of the terminal device are carried in the node list and sent to The selected terminal device, for selecting the terminal device to download the upgrade file from the corresponding access device and/or the terminal device according to the IP address of the access device and the port number and/or the IP address and port number of the terminal device, and upgrade , thus effectively improving the efficiency and performance of the upgrade, and meeting the needs of large-scale commercial use.
  • the terminal device in this embodiment can communicate with the first terminal device connected to the access device by using the access device, and the terminal device,
  • the first terminal device and the access device are located in a virtual local area network, and the terminal device includes: a network measurement interface module 21, an IP interface 22, and an upgrade module 23,
  • the network measurement interface module 21 is configured to receive a node list from the access device, where the node list includes an IP address and a port number of the device storing the upgrade file;
  • the IP interface 22 is configured to download an upgrade file from the corresponding device according to the IP address and the port number of the device.
  • the upgrade module 23 is used to upgrade using the upgrade file.
  • the access device may perform the technical solution of the method embodiment shown in FIG. 1 or FIG. 2, and the implementation principles thereof are similar, and details are not described herein again.
  • the terminal device and the first terminal device may be ONTs.
  • the terminal device may download an upgrade file from the corresponding access device for upgrading according to the IP address and port number of the access device; or, the terminal device may obtain the corresponding number according to the IP address and port number of the first terminal device. Download the upgrade file on a terminal device to upgrade.
  • the node list includes storage by receiving a list of nodes from the access device.
  • the IP address and port number of the device with the upgraded file, and the upgrade file is downloaded from the corresponding device according to the IP address and port number of the device, and the upgrade file is used for upgrade, thereby effectively improving the efficiency and performance of the upgrade, and satisfying The need for large-scale commercial use.
  • FIG. 6 is a schematic structural diagram of an embodiment of an access network according to the present invention.
  • the access network in this embodiment includes an access device 31 and a plurality of terminal devices 32, wherein a plurality of terminal devices 32 are The access device 31 is interconnected by the access device 31.
  • the access device 31 and the plurality of terminal devices 32 are in a VLAN.
  • the access device 31 receives a loading list from the network management system.
  • the loading list includes the identifier of the terminal device to be upgraded and the target version. No., according to the loading list, send a node list to the terminal device that needs to be upgraded, and notify the IP address and the port number of the device that stores the upgrade file corresponding to the target version number, so that the terminal device that needs to be upgraded corresponds to the IP address and the port number. Download the upgrade file on the device to upgrade.
  • the access device 31 may be an OLT
  • the terminal device 32 may be an ONT.
  • the time required to upgrade ( ⁇ + 1) n ONTs is specifically as shown in formula (1):
  • is the maximum number of connections of a peer
  • n is the number of times the seed is distributed
  • M is the size of the program file
  • R is the transmission rate of the program file transmitted by the P2P protocol
  • M 10 M
  • R 200 K
  • P 4
  • the number of ONTs 42 connected by OLT 43 is 5000
  • the system in this embodiment solves the performance bottleneck in the prior art that the OLT cannot support the large-capacity upgrade, and implements various types of concurrent loading, thereby solving the problem that the upgrade file is transmitted on the OLT in the prior art.
  • Limits which effectively improve the efficiency and performance of the upgrade, and meet the large scale Commercial needs.

Landscapes

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

Abstract

The present invention provides an update method, apparatus in an access network and the access network. The access network includes an access device and multiple terminal devices, wherein the intercommunication between the multiple terminal devices can be enabled, and the access device and multiple terminal devices are in a virtual local network. The method comprises: receiving a loading list from a network management, wherein the loading list includes device identifiers and target version numbers of terminal devices needing update; according to the loading list, transmitting a node list to the terminal devices needing update, informing the terminal devices needing update of Internet Protocol (IP) addresses and port numbers of devices which store the update files corresponding to the target version numbers, in order to enable the terminal devices needing update to update by downloading the update files from the corresponding devices according to the IP addresses and port numbers. According to the update method, apparatus in the access network and the access network of the present invention, update efficiency and performance are improved effectively, and the requirements of large-scale commercial applications are meet.

Description

接入网络中的升级方法、 装置和接入网络 本申请要求于 2011 年 03 月 25 日提交中国专利局、 申请号为 201110074099.6、 发明名称为"接入网络中的升级方法、 装置和接入网络,,的中国 专利申请的优先权, 其全部内容通过引用结合在本申请中。  Upgrade method, device and access network in access network This application is filed on March 25, 2011, the Chinese Patent Office, the application number is 201110074099.6, and the invention is entitled "Upgrade Method, Device and Access Network in Access Network" The priority of the Chinese Patent Application, the entire contents of which is incorporated herein by reference.
技术领域 Technical field
本发明实施例涉及通信技术, 尤其涉及一种接入网络中的升级方法、 装置 和接入网络。  The embodiments of the present invention relate to communication technologies, and in particular, to an upgrade method, device, and access network in an access network.
背景技术 Background technique
目前, 光网络终端( Optical Network Terminal; 筒称: ONT ) 的升级都是由 网元管理系统(Element Management System; 筒称: EMS )进行控制, 其升级 的主要过程为 ONT上电上报版本号给网管, 网管接收到各个 ONT的版本号后, 比较每个 OTN的版本号和该 OTN在网管中设置的版本号是否相同, 并将版本 号不相同的 OTN的标识加入到加载(升级) 列表中, 以对该 OTN的版本进行 升级, 再将该加载列表发送给光线路终端(Optical Line Terminal; 筒称: OLT ), OLT若首次对加载列表中的 ONT的标识对应的 ONT进行该版本的升级, 则通 过文件传输协议( File Transfer Protocol; 筒称: FTP )从网管获取该 ONT的程 序文件, 并将该程序文件存储在 OLT的无源光纤网络( Passive Optical Network; 筒称: PON )单板的 Flash中; 若不是首次对该 ONT进行该版本升级, 则可以 从 PON单板中的 Flash中获取该 ONT升级的版本所对应的程序文件。 当 OLT 获取到该 ONT的程序文件后, 则通知该 ONT, 以触发该 OTN向 OLT发起加载 请求, 则 OLT可以根据该加载请求, 将获取的该 ONT的程序文件通过 ONT管 理和控制接口( ONT Management and Control Interface; 筒称: OMCI )或者操作、 管理和维护 ( Operation Administration and Maintenance; 筒称: OAM )发送给该 ONT , 从而实现对 ONT的升级。 At present, the upgrade of the optical network terminal (the optical network terminal) is controlled by the element management system (EMS). The main process of the upgrade is to report the version number to the ONT. After the NMS receives the version number of each ONT, the NMS compares the version number of each OTN with the version number set by the OTN in the NMS, and adds the OTN IDs with different version numbers to the load (upgrade) list. To upgrade the version of the OTN, and then send the load list to the optical line terminal (Optical Line Terminal; OLT). If the OLT first upgrades the version of the ONT corresponding to the identifier of the ONT in the load list, Then, the file file of the ONT is obtained from the network management system by using a file transfer protocol (File Transfer Protocol; the file name: FTP), and the program file is stored in the passive optical network (Passive Optical Network; PON) board of the OLT. If the version of the ONT is upgraded for the first time, you can obtain the version of the ONT upgrade from the Flash in the PON card. program files. After the OLT obtains the program file of the ONT, it notifies the ONT to trigger the OTN to initiate a load request to the OLT, and the OLT can pass the acquired program file of the ONT to the ONT according to the load request. The ONT Management and Control Interface (OMI) or Operation Administration and Maintenance (OAM) is sent to the ONT to upgrade the ONT.
由于 OLT对 ONT升级主要采用串行升级, 因此, 升级整框的 ONT需要很 长的时间, 从效率上无法满足大规模商用; 另外, 目前 OLT采用 OMCI/OAM 将程序文件传输给 ONT, 由于 OMCI/OAM协议通道必须通过 OLT的中央处理 器( Central Processing Unit; 筒称: CPU )控制程序文件的转发, 且 OMCI/OAM 传输速率相对较低, 因此, 对 OLT的 CPU处理性能有较大的影响, 同时, 传输 时间过长, 也造成了升级的性能很难满足大规模商用。  Since the OLT upgrades the ONT mainly by serial upgrade, it takes a long time to upgrade the ONT of the whole frame, which cannot meet the large-scale commercial efficiency. In addition, the OLT currently uses OMCI/OAM to transfer the program files to the ONT, due to OMCI. The /OAM protocol channel must control the forwarding of program files through the OLT's central processing unit (Central Processing Unit; CPU: CPU), and the OMCI/OAM transmission rate is relatively low, so it has a greater impact on the OLT CPU processing performance. At the same time, the transmission time is too long, which also makes the upgrade performance difficult to meet large-scale commercial use.
发明内容 Summary of the invention
本发明实施例提供一种接入网络中的升级方法、 装置和接入网络, 用以有 效地提高了升级的效率和性能, 并满足了大规模商用的需求。  The embodiments of the present invention provide an upgrade method, a device, and an access network in an access network, which are used to effectively improve the efficiency and performance of the upgrade, and meet the requirements of large-scale commercial use.
本发明实施例提供一种接入网络中的升级方法, 所述接入网络包括接入设 备以及多个终端设备, 其中, 所述多个终端设备之间能通过所述接入设备实现 互通, 所述接入设备与所述多个终端设备处在一个虚拟局域网内, 该方法包括: 接收来自网管的加载列表, 所述加载列表包括需要升级的终端设备的设备 标识以及目标版本号;  An embodiment of the present invention provides an upgrade method in an access network, where the access network includes an access device and multiple terminal devices, where the multiple terminal devices can communicate with each other through the access device. The access device and the multiple terminal devices are in a virtual local area network, and the method includes: receiving a loading list from the network management, where the loading list includes a device identifier of the terminal device that needs to be upgraded, and a target version number;
根据所述加载列表向需要升级的终端设备发送节点列表, 告知存储有目标 版本号对应的升级文件的设备的 IP地址以及端口号, 以使得需要升级的终端设 备根据所述 IP地址以及端口从对应的设备上下载升级文件进行升级。  Sending, according to the loading list, a node list to the terminal device that needs to be upgraded, and notifying the IP address and the port number of the device storing the upgrade file corresponding to the target version number, so that the terminal device that needs to be upgraded corresponds to the IP address and the port according to the Download the upgrade file on the device to upgrade.
本发明实施例提供一种接入设备, 所述接入设备与其连接的多个终端设备 处在一个局域网内, 所述接入设备包括: 代理模块, 用于作为所述多个终端设备的代理, 使得所述多个终端设备之 间实现互通; An embodiment of the present invention provides an access device, where the access device is connected to a plurality of terminal devices in a local area network, where the access device includes: a proxy module, configured to act as a proxy for the multiple terminal devices, to enable interworking between the multiple terminal devices;
第一接收模块, 用于接收来自网管的加载列表, 所述加载列表包括需要升 级的终端设备的设备标识以及目标版本号;  a first receiving module, configured to receive a loading list from the network management, where the loading list includes a device identifier of the terminal device that needs to be upgraded, and a target version number;
发送模块, 用于根据所述加载列表向需要升级的终端设备发送节点列表, 要升级的终端设备根据所述 IP地址以及端口从对应的设备上下载升级文件进行 升级。  And a sending module, configured to send, according to the loading list, a node list to the terminal device that needs to be upgraded, where the terminal device to be upgraded is upgraded according to the IP address and the port downloading the upgrade file from the corresponding device.
本发明实施例提供一种终端设备, 所述终端设备能通过接入设备与所述接 入设备连接的第一终端设备进行通信, 且所述终端设备、 第一终端设备以及所 述接入设备处在一个虚拟局域网内, 所述终端设备包括:  The embodiment of the present invention provides a terminal device, where the terminal device can communicate with the first terminal device connected to the access device by using the access device, and the terminal device, the first terminal device, and the access device In a virtual local area network, the terminal device includes:
网络测接口模块, 用于接收来自所述接入设备的节点列表, 所述节点列表  a network measurement interface module, configured to receive a list of nodes from the access device, where the node list
IP接口, 用于根据所述终端设备的 IP地址以及端口号从相应的终端设备下 载所述升级文件; An IP interface, configured to download the upgrade file from the corresponding terminal device according to the IP address and the port number of the terminal device;
升级模块, 用于采用所述升级文件进行升级。  An upgrade module is used to upgrade by using the upgrade file.
本发明实施例提供一种接入网络, 所述接入网络包括接入设备以及多个终 设备, 其中, 该多个终端设备之间能通过接入设备实现互通, 所述接入设备与 所述多个终端设备处在一个虚拟局域网内,  An embodiment of the present invention provides an access network, where the access network includes an access device and multiple terminal devices, where the multiple terminal devices can communicate with each other through an access device, where the access device and the device are connected. Said that the plurality of terminal devices are in a virtual local area network,
所述接入设备, 接收来自网管的加载列表, 所述加载列表包括需要升级的 终端设备的设备标识以及目标版本号; 根据所述加载列表向需要升级的终端设 备发送节点列表, 告知存储有所述目标版本号对应的升级文件的设备的 IP地址 以及端口号, 以使得所述需要升级的终端设备根据所述 IP地址以及端口号从对 应的设备上下载升级文件进行升级。 The access device receives a loading list from the network management system, where the loading list includes a device identifier of the terminal device to be upgraded and a target version number; and sends a node list to the terminal device that needs to be upgraded according to the loading list, to notify the storage that IP address of the device of the upgrade file corresponding to the target version number And the port number, so that the terminal device that needs to be upgraded is upgraded by downloading the upgrade file from the corresponding device according to the IP address and the port number.
本发明实施例的接入网络中的升级方法、 装置和接入网络, 通过接收来自 网管的加载列表, 并根据该加载列表, 向需要升级的终端设备发送节点列表, 得该需要升级的终端设备根据该 IP地址以及端口号从对应的设备上下载该升级 文件进行升级, 从而有效地提高了升级的效率和性能, 并满足了大规模商用的 需求。  The upgrade method, the device, and the access network in the access network of the embodiment of the present invention receive the load list from the network management device, and send the node list to the terminal device that needs to be upgraded according to the load list, and obtain the terminal device that needs to be upgraded. The upgrade file is downloaded from the corresponding device according to the IP address and the port number, thereby effectively improving the efficiency and performance of the upgrade, and meeting the requirements of large-scale commercial use.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施 例或现有技术描述中所需要使用的附图作一筒单地介绍, 显而易见地, 下面描 述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出 创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments or the description of the prior art will be briefly described below, and obviously, the attached in the following description The drawings are some embodiments of the present invention, and other drawings may be obtained from those of ordinary skill in the art without departing from the scope of the invention.
图 1为本发明接入网络中的升级方法的一个实施例的流程图;  1 is a flow chart of an embodiment of an upgrade method in an access network according to the present invention;
图 2为本发明接入网络中的升级方法的另一个实施例的流程图;  2 is a flowchart of another embodiment of an upgrade method in an access network according to the present invention;
图 3为本发明接入设备的一个实施例的结构示意图;  3 is a schematic structural diagram of an embodiment of an access device according to the present invention;
图 4为本发明接入设备的另一个实施例的结构示意图;  4 is a schematic structural diagram of another embodiment of an access device according to the present invention;
图 5为本发明终端设备的一个实施例的结构示意图;  FIG. 5 is a schematic structural diagram of an embodiment of a terminal device according to the present invention; FIG.
图 6为本发明接入网络的一个实施例的结构示意图。  FIG. 6 is a schematic structural diagram of an embodiment of an access network according to the present invention.
具体实施例 Specific embodiment
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发明 实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中 的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其 他实施例, 都属于本发明保护的范围。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. The described embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 1为本发明接入网络中的升级方法的一个实施例的流程图, 如图 1所示, 该方法包括:  FIG. 1 is a flowchart of an embodiment of an upgrade method in an access network according to the present invention. As shown in FIG. 1, the method includes:
步骤 101、接收来自网管的加载列表, 该加载列表包括需要升级的终端设备 的设备标识以及目标版本号。  Step 101: Receive a loading list from a network management device, where the loading list includes a device identifier of the terminal device that needs to be upgraded, and a target version number.
在本实施例中, 该接入网络包括接入设备以及多个终端设备, 且多个终端 设备之间可以通过接入设备实现互通, 接入设备与多个终端设备处在一个虚拟 局域网 ( Virtual Local Area Network; 筒称: VLAN ) 内。  In this embodiment, the access network includes an access device and multiple terminal devices, and multiple terminal devices can communicate with each other through the access device, and the access device and the multiple terminal devices are in a virtual local area network (Virtual Local Area Network; Cartridge: VLAN).
具体的,该接入设备可以为 OLT、运营商的边缘设备 ( Server Provider Edge; 筒称: SPE ) 或者数字用户线接入复用器 (Digital Subscriber Line Access Multiplexer; 筒称: DSLAM )等, 该终端设备可以为 ONT或者用户驻地设备 ( Customer Premises Equipment; 筒称: CPE )等, 本实施例中将以接入设备为 OLT、 终端设备为 ONT作为举例。  Specifically, the access device may be an OLT, a server Provider Edge (SPE), or a Digital Subscriber Line Access Multiplexer (DSLAM). The terminal device may be an ONT or a Customer Premises Equipment (CPE). In this embodiment, the access device is an OLT and the terminal device is an ONT.
接入设备上可以配置一个点到点 ( Peer-to-Peer; 筒称: P2P ) 升级使用的 VLAN, 从而可以使得接入设备自动使用 VLAN创建到终端设备的业务流, 并 在接入设备上建立 IP接口, 以实现将接入设备以及所连接的终端设备置于同一 个内部 VLAN组建的局域网内。 另外, 由于终端设备二层互通是隔离的, 因此, 接入设备还需要采用 ARP Proxy方案实现终端设备之间的三层互通, 即接入设 备按照一定算法分配内网互联网协议( Internet Protocol; 筒称: IP )地址(例如: 用户配置可用于 P2P 升级的内部 IP 网段为 10.1.0.0 ~ 10.1.255.255 , 掩码为 255.255.0.0, ONT的 IP地址的第四字节可以为 ONT标识( Identity; 筒称: ID ) , 其 IP地址的第三字节可以为槽位号和端口号的组合) , 来建立接入设备与终端 设备之间、 终端设备与终端设备之间三层通信。 A peer-to-peer (P2P) upgraded VLAN can be configured on the access device to enable the access device to automatically create a service flow to the terminal device using the VLAN and on the access device. An IP interface is set up to place the access device and the connected terminal device in a local area network formed by the same internal VLAN. In addition, since the Layer 2 interworking of the terminal device is isolated, the access device also needs to implement the Layer 3 interworking between the terminal devices by using the ARP Proxy solution, that is, the access device allocates an intranet Internet protocol according to a certain algorithm (Internet Protocol; Said: IP) address (for example: the internal IP network segment that the user can configure for P2P upgrade is 10.1.0.0 ~ 10.1.255.255, the mask is 255.255.0.0, the fourth byte of the IP address of the ONT may be an ONT identifier (identity; cartridge: ID), and the third byte of the IP address may be a combination of a slot number and a port number) to establish access. Three-layer communication between the device and the terminal device, between the terminal device and the terminal device.
另外, 接入设备下连接的终端设备上电后, 可以上报各自的类型和源版本 号给网管。 网管根据终端设备上报的类型、 源版本号和终端设备的标识(例如: In addition, after the terminal devices connected to the access device are powered on, they can report their respective types and source version numbers to the NMS. The NMS reports the type, source version number, and end device ID of the terminal device (for example:
ONT ID ) , 判断该终端设备是否需要升级, 若判断该终端设备需要升级, 则将 需要升级到的版本号作为目标版本号, 再将该终端设备的设备标识和目标版本 号存储在加载列表中发送给接入设备。 The ONT ID is used to determine whether the terminal device needs to be upgraded. If the terminal device needs to be upgraded, the upgraded version number is used as the target version number, and the device identifier and the target version number of the terminal device are stored in the loading list. Send to the access device.
步骤 102、 根据加载列表, 向需要升级的终端设备发送节点列表, 告知存储有 设备根据该 IP地址以及端口号从对应的设备上下载升级文件进行升级。  Step 102: Send a node list to the terminal device that needs to be upgraded according to the loading list, and notify the stored device to download the upgrade file from the corresponding device according to the IP address and the port number to perform the upgrade.
在本实施例中, 通过接收来自网管的加载列表, 并根据该加载列表, 向需 要升级的终端设备发送节点列表, 告知存储有与该目标版本号对应的升级文件 的设备的 IP地址以及端口号,以使得该需要升级的终端设备根据该 IP地址以及 端口号从对应的设备上下载该升级文件进行升级, 从而有效地提高了升级的效 率和性能, 并满足了大规模商用的需求。  In this embodiment, by receiving a load list from the network management, and sending a node list to the terminal device that needs to be upgraded according to the load list, the IP address and port number of the device storing the upgrade file corresponding to the target version number are notified. Therefore, the terminal device that needs to be upgraded is upgraded by downloading the upgrade file from the corresponding device according to the IP address and the port number, thereby effectively improving the efficiency and performance of the upgrade, and meeting the requirements of large-scale commercial use.
图 2为本发明接入网络中的升级方法的另一个实施例的流程图, 如图 2所 示, 本实施例的方法包括:  FIG. 2 is a flowchart of another embodiment of an upgrade method in an access network according to the present invention. As shown in FIG. 2, the method in this embodiment includes:
步骤 201、接收来自网管的加载列表, 该加载列表包括需要升级的终端设备 的设备标识以及目标版本号。  Step 201: Receive a loading list from a network management device, where the loading list includes a device identifier of the terminal device that needs to be upgraded, and a target version number.
在本实施例中, 步骤 201的是实现方式与图 1所示步骤 101的实现方式相 类似, 此处不再赘述。 步骤 202、判定本地或者所连接的终端设备是否存储有加载列表中的目标版 本号对应的升级文件, 如果有, 则将设备的 IP地址以及端口号添加到节点列表 中; 如果没有, 则从网管下载对应的升级文件。 In this embodiment, the implementation of step 201 is similar to the implementation of step 101 shown in FIG. 1, and details are not described herein again. Step 202: Determine whether the local or connected terminal device stores an upgrade file corresponding to the target version number in the loading list, and if yes, add the IP address and port number of the device to the node list; if not, the slave network management Download the corresponding upgrade file.
若接入设备中的 PON单板的 Flash中没有存储该目标版本号对应的升级文 件, 则判断所连接的终端设备上是否存储有, 如果没有则从网管处获取该目标 版本号对应的升级文件, 并将该升级文件存储在 PON单板的 Flash中。  If the upgrade file corresponding to the target version number is not stored in the flash of the PON card in the access device, it is determined whether the connected terminal device is stored. If not, the upgrade file corresponding to the target version number is obtained from the network management device. Store the upgrade file in the Flash of the PON card.
如果本地和 /或终端设备上有对应的升级文件, 则将接入设备和 /或终端设备 的 IP地址以及端口号添加到节点列表中。  If there is a corresponding upgrade file on the local and/or terminal device, the IP address and port number of the access device and/or the terminal device are added to the node list.
在本实施例中, 该端口号包括用于传输控制协议 ( Transmission Control Protocol; 筒称: TCP ) 连接的端口号, 用于套接字 (Socket ) 连接的端口号, 用于文件传输协议(File Transfer Protocol; 筒称: FTP )连接的端口号, 用于比 特流(bittorrent )连接的端口号或者用于预设私有协议连接的端口号。  In this embodiment, the port number includes a port number for a Transmission Control Protocol (TCP) connection, a port number for a socket connection, and a file transfer protocol (File) Transfer Protocol; The name of the port to which the FTP protocol is connected, the port number used for the bittorrent connection or the port number used to preset the private protocol connection.
步骤 203、 采用设定的算法从加载列表中选择一个需要升级的终端设备,作 为选择的终端设备。  Step 203: Select, by using the set algorithm, a terminal device that needs to be upgraded from the loading list as the selected terminal device.
步骤 204、将节点列 送给选择的终端设备, 以供该选择的终端设备根据该终 端设备的 IP地址以及端口号, 从对应的终端设备上下载升级文件进行升级, 节点设 备中包含^ ί渚有目标版本号对应的升 «1件的设备的 IP地址以及端口号。  Step 204: Send the node column to the selected terminal device, so that the selected terminal device downloads the upgrade file from the corresponding terminal device according to the IP address and the port number of the terminal device, and the node device includes ^ 渚The IP address and port number of the device with the target version number corresponding to the rise of «1 piece.
在本实施例中, 存储有目标版本号对应的升级文件的终端设备可能为多个, 则将该多个终端设备的 IP地址以及端口号携带在节点列表中发送给选择的终端 设备时, 选择的终端设备可以从节点列表中随机选择一个终端设备的 IP地址以 及端口号,并向该 IP地址以及端口号对应的终端设备发起 TCP或者 UDP连接, 并通过 P2P协议或者 FTP协议从该终端设备中下载升级文件进行升级。 步骤 205、接收选择的终端设备的握手信号, 判定握手信号的选择的终端设 备升级完成后, 将升级完成的选择的终端设备的 IP地址和端口号添加到节点列 表中。 In this embodiment, the number of terminal devices storing the upgrade file corresponding to the target version number may be multiple, and the IP address and port number of the multiple terminal devices are carried in the node list and sent to the selected terminal device, and then selected. The terminal device can randomly select an IP address and a port number of a terminal device from the node list, and initiate a TCP or UDP connection to the terminal device corresponding to the IP address and the port number, and obtain the TCP or UDP connection from the terminal device through the P2P protocol or the FTP protocol. Download the upgrade file to upgrade. Step 205: Receive a handshake signal of the selected terminal device, and after determining that the selected terminal device of the handshake signal is upgraded, add the IP address and port number of the upgraded selected terminal device to the node list.
在本实施例中, 为了减少接入设备的 CPU的负荷, 在传输完成的升级文件 给选择的终端设备后, 可以退出 Peer, 即将节点列表中的接入设备的 IP地址以 及端口号删除。  In this embodiment, in order to reduce the load of the CPU of the access device, after transmitting the completed upgrade file to the selected terminal device, the Peer may be exited, that is, the IP address and the port number of the access device in the node list are deleted.
另外, 需要说明的是, 当接入设备接收选择的终端设备的握手信号, 并判 定握手信号的选择的终端设备升级完成后, 还可以将加载列表中该选择的终端 设备删除, 并从更新后的加载列表中在选择一个需要升级的终端作为选择的终 端进行升级, 其实现原理相类似, 此处不再赘述。  In addition, it should be noted that, after the access device receives the handshake signal of the selected terminal device, and determines that the selected terminal device of the handshake signal is upgraded, the selected terminal device in the loading list may also be deleted, and after the update. In the load list, the terminal that needs to be upgraded is selected as the selected terminal to be upgraded. The implementation principle is similar, and is not described here.
在本实施例中, 通过接收来自网管的加载列表, 采用设定的算法从加载列 表中选择一个需要升级的终端设备, 作为选择的终端设备, 并判断是否存储有 与该目标版本号对应的升级文件的接入设备的 IP地址以及端口号和 /或终端设备 的 IP地址以及端口号, 并将该接入设备的 IP地址和 /或终端设备的 IP地址以及 端口号携带在节点列表中发送给选择的终端设备, 以供选择的终端设备根据该 接入设备的 IP地址以及端口号和 /或终端设备的 IP地址以及端口号, 从对应的 接入设备和 /或终端设备下载升级文件进行升级, 从而有效地提高了升级的效率 和性能, 并满足了大规模商用的需求。  In this embodiment, by receiving the loading list from the network management, using the set algorithm, selecting a terminal device to be upgraded from the loading list as the selected terminal device, and determining whether an upgrade corresponding to the target version number is stored. The IP address of the access device of the file, the port number and/or the IP address and port number of the terminal device, and the IP address of the access device and/or the IP address and port number of the terminal device are carried in the node list and sent to The selected terminal device, for selecting the terminal device to download the upgrade file from the corresponding access device and/or the terminal device according to the IP address of the access device and the port number and/or the IP address and port number of the terminal device, and upgrade , thus effectively improving the efficiency and performance of the upgrade, and meeting the needs of large-scale commercial use.
图 3为本发明接入设备的一个实施例的结构示意图, 如图 3所示, 本实施 例的接入设备与其连接的多个终端设备处在一个局域网内, 该接入设备包括: 代理模块 11、 第一接收模块 12和发送模块 13。  FIG. 3 is a schematic structural diagram of an embodiment of an access device according to the present invention. As shown in FIG. 3, the access device of the embodiment is connected to a plurality of terminal devices in a local area network, and the access device includes: a proxy module. 11. The first receiving module 12 and the transmitting module 13.
其中, 代理模块 11用于作为多个终端设备的代理, 使得多个终端设备之间 实现互通; The proxy module 11 is used as a proxy for multiple terminal devices, so that multiple terminal devices are Realize interoperability;
第一接收模块 12用于接收来自网管的加载列表, 该加载列表包括需要升级 的终端设备的设备标识以及目标版本号;  The first receiving module 12 is configured to receive a loading list from the network management, where the loading list includes a device identifier of the terminal device that needs to be upgraded, and a target version number.
发送模块 13用于根据加载列表向需要升级的终端设备发送节点列表, 告知 存储有目标版本号对应的升级文件的设备的 IP地址以及端口号, 以使得需要升 级的终端设备根据 IP地址以及端口号从对应的设备上下载升级文件进行升级。  The sending module 13 is configured to send a node list to the terminal device that needs to be upgraded according to the loading list, and notify the IP address and the port number of the device storing the upgrade file corresponding to the target version number, so that the terminal device that needs to be upgraded according to the IP address and the port number Download the upgrade file from the corresponding device to upgrade.
本实施例的接入设备可以执行图 1 所示方法实施例的技术方案, 其原理相 类似, 此处不再赘述。  The access device of this embodiment can perform the technical solution of the method embodiment shown in FIG. 1 , and the principle is similar, and details are not described herein again.
在本实施例中, 通过接收来自网管的加载列表, 并根据该加载列表, 向需 要升级的终端设备发送节点列表, 告知存储有与该目标版本号对应的升级文件 的设备的 IP地址以及端口号,以使得该需要升级的终端设备根据该 IP地址以及 端口号从对应的设备上下载该升级文件进行升级, 从而有效地提高了升级的效 率和性能, 并满足了大规模商用的需求。  In this embodiment, by receiving a load list from the network management, and sending a node list to the terminal device that needs to be upgraded according to the load list, the IP address and port number of the device storing the upgrade file corresponding to the target version number are notified. Therefore, the terminal device that needs to be upgraded is upgraded by downloading the upgrade file from the corresponding device according to the IP address and the port number, thereby effectively improving the efficiency and performance of the upgrade, and meeting the requirements of large-scale commercial use.
图 4为本发明接入设备的另一个实施例的结构示意图, 如图 4所示, 所提 供的接入设备还包括: 第二接收模块 14和信号处理模块 15 ,  4 is a schematic structural diagram of another embodiment of an access device according to the present invention. As shown in FIG. 4, the provided access device further includes: a second receiving module 14 and a signal processing module 15
其中, 第二接收模块 14用于接收选择的终端设备的握手信号; 信号处理模 块 15用于在判定发送握手信号的选择的终端设备升级完成后, 将升级完成的选 择的终端设备的 IP地址和端口号添加到节点列表中。  The second receiving module 14 is configured to receive a handshake signal of the selected terminal device. The signal processing module 15 is configured to: after determining that the selected terminal device that sends the handshake signal is upgraded, the IP address of the selected terminal device that is upgraded is completed. The port number is added to the node list.
另外,信号处理设备 15还可以用于将接入设备的 IP地址以及端口号从节点 列表中删除。  In addition, the signal processing device 15 can also be used to delete the IP address and port number of the access device from the node list.
本实施例的接入设备可以执行图 2所示方法实施例的技术方案, 其原理相 类似, 此处不再赘述。 在本实施例中, 通过接收来自网管的加载列表, 采用设定的算法从加载列 表中选择一个需要升级的终端设备, 作为选择的终端设备, 并判断是否存储有 与该目标版本号对应的升级文件的接入设备的 IP地址以及端口号和 /或终端设备 的 IP地址以及端口号, 并将该接入设备的 IP地址和 /或终端设备的 IP地址以及 端口号携带在节点列表中发送给选择的终端设备, 以供选择的终端设备根据该 接入设备的 IP地址以及端口号和 /或终端设备的 IP地址以及端口号, 从对应的 接入设备和 /或终端设备下载升级文件进行升级, 从而有效地提高了升级的效率 和性能, 并满足了大规模商用的需求。 The access device of this embodiment can perform the technical solution of the method embodiment shown in FIG. 2, and the principles are similar, and details are not described herein again. In this embodiment, by receiving the loading list from the network management, using the set algorithm, selecting a terminal device to be upgraded from the loading list as the selected terminal device, and determining whether an upgrade corresponding to the target version number is stored. The IP address of the access device of the file, the port number and/or the IP address and port number of the terminal device, and the IP address of the access device and/or the IP address and port number of the terminal device are carried in the node list and sent to The selected terminal device, for selecting the terminal device to download the upgrade file from the corresponding access device and/or the terminal device according to the IP address of the access device and the port number and/or the IP address and port number of the terminal device, and upgrade , thus effectively improving the efficiency and performance of the upgrade, and meeting the needs of large-scale commercial use.
图 5为本发明终端设备的一个实施例的结构示意图, 如图 5所示, 本实施 例的终端设备能通过接入设备与接入设备连接的第一终端设备进行通信, 且该 终端设备、 第一终端设备以及接入设备处在一个虚拟局域网内, 该终端设备包 括: 网络测接口模块 21、 IP接口 22和升级模块 23 ,  5 is a schematic structural diagram of an embodiment of a terminal device according to the present invention. As shown in FIG. 5, the terminal device in this embodiment can communicate with the first terminal device connected to the access device by using the access device, and the terminal device, The first terminal device and the access device are located in a virtual local area network, and the terminal device includes: a network measurement interface module 21, an IP interface 22, and an upgrade module 23,
其中, 网络测接口模块 21用于接收来自接入设备的节点列表, 该节点列表 包含存储有升级文件的设备的 IP地址以及端口号;  The network measurement interface module 21 is configured to receive a node list from the access device, where the node list includes an IP address and a port number of the device storing the upgrade file;
IP接口 22用于根据设备的 IP地址以及端口号从相应的设备下载升级文件; 升级模块 23用于采用升级文件进行升级。  The IP interface 22 is configured to download an upgrade file from the corresponding device according to the IP address and the port number of the device. The upgrade module 23 is used to upgrade using the upgrade file.
在本实施例中, 接入设备可以执行图 1或图 2所示方法实施例的技术方案, 其实现原理相类似, 此处不再赘述。 终端设备和第一终端设备可以为 ONT。 另 外, 该终端设备可以根据接入设备的 IP地址以及端口号, 从对应的接入设备下 载升级文件进行升级; 或者, 终端设备可以根据第一终端设备的 IP地址以及端 口号, 从对应的第一终端设备上下载升级文件进行升级。  In this embodiment, the access device may perform the technical solution of the method embodiment shown in FIG. 1 or FIG. 2, and the implementation principles thereof are similar, and details are not described herein again. The terminal device and the first terminal device may be ONTs. In addition, the terminal device may download an upgrade file from the corresponding access device for upgrading according to the IP address and port number of the access device; or, the terminal device may obtain the corresponding number according to the IP address and port number of the first terminal device. Download the upgrade file on a terminal device to upgrade.
在本实施例中, 通过接收来自接入设备的节点列表, 该节点列表包含存储 有升级文件的设备的 IP地址以及端口号,并根据该设备的 IP地址以及端口号从 相应的设备下载升级文件, 并采用升级文件进行升级, 从而有效地提高了升级 的效率和性能, 并满足了大规模商用的需求。 图 6为本发明接入网络的一个实施例的结构示意图, 如图 6所示, 本实施 例的接入网络包括接入设备 31和多个终端设备 32, 其中, 多个终端设备 32之 间通过接入设备 31实现互通, 接入设备 31与多个终端设备 32处在一个 VLAN 内, 该接入设备 31接收来自网管的加载列表, 该加载列表包括需要升级的终端 设备的标识以及目标版本号, 根据加载列表向需要升级的终端设备发送节点列 表, 告知存储有目标版本号对应的升级文件的设备的 IP地址以及端口号, 以使 得该需要升级的终端设备根据 IP地址以及端口号从对应的设备上下载升级文件 进行升级。 在本实施例中, 该接入设备 31可以为 OLT, 该终端设备 32可以为 ONT, 举例来说, 升级 (Ρ + 1)η个 ONT需要的时间具体如公式(1 )所示: In this embodiment, the node list includes storage by receiving a list of nodes from the access device. The IP address and port number of the device with the upgraded file, and the upgrade file is downloaded from the corresponding device according to the IP address and port number of the device, and the upgrade file is used for upgrade, thereby effectively improving the efficiency and performance of the upgrade, and satisfying The need for large-scale commercial use. FIG. 6 is a schematic structural diagram of an embodiment of an access network according to the present invention. As shown in FIG. 6, the access network in this embodiment includes an access device 31 and a plurality of terminal devices 32, wherein a plurality of terminal devices 32 are The access device 31 is interconnected by the access device 31. The access device 31 and the plurality of terminal devices 32 are in a VLAN. The access device 31 receives a loading list from the network management system. The loading list includes the identifier of the terminal device to be upgraded and the target version. No., according to the loading list, send a node list to the terminal device that needs to be upgraded, and notify the IP address and the port number of the device that stores the upgrade file corresponding to the target version number, so that the terminal device that needs to be upgraded corresponds to the IP address and the port number. Download the upgrade file on the device to upgrade. In this embodiment, the access device 31 may be an OLT, and the terminal device 32 may be an ONT. For example, the time required to upgrade (Ρ + 1) n ONTs is specifically as shown in formula (1):
其中, Ρ为一个 Peer的最大连接数, n为种子的分发次数, M为程序文件 的大小, R为以 P2P协议传输程序文件的传输速率, r为效率损失(本实施例中 r = 0.7 ) 。 例如: 当 M = 10 M、 R= 200 K、 P = 4 , OLT 43连接的 ONT 42的数量 为 5000个, 那么升级该 5000个 ONT 需要 6次种子(即 n = 6 )分发才能实现, 则代入公式(1 ) 可以得到10 χ 1()24 χ 6 = 7.31分钟, 相较于现有技术中的终端设备 Where Ρ is the maximum number of connections of a peer, n is the number of times the seed is distributed, M is the size of the program file, R is the transmission rate of the program file transmitted by the P2P protocol, and r is the efficiency loss (r = 0.7 in this embodiment) . For example: When M = 10 M, R = 200 K, P = 4, the number of ONTs 42 connected by OLT 43 is 5000, then upgrading the 5000 ONTs requires 6 seed (ie n = 6) distribution to achieve, then Substituting into equation (1), you can get 10 χ 1()24 χ 6 = 7.31 minutes, compared to the terminal equipment in the prior art.
200 x 0.7  200 x 0.7
升级, 本实施例中的系统解决了现有技术中 OLT无法支撑大容量的升级的性能 瓶颈, 实现了各种类型的 ΟΝΤ并发加载, 从而解决了现有技术中升级文件的传 输都在 OLT上的限制, 从而有效地提高了升级的效率和性能, 并满足了大规模 商用的需求。 The system in this embodiment solves the performance bottleneck in the prior art that the OLT cannot support the large-capacity upgrade, and implements various types of concurrent loading, thereby solving the problem that the upgrade file is transmitted on the OLT in the prior art. Limits, which effectively improve the efficiency and performance of the upgrade, and meet the large scale Commercial needs.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤可 以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读取存 储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储 介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代码的介质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其限 制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术人员 应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其 中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技术方案的 本质脱离本发明各实施例技术方案的精神和范围。  It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权利要求书 Claim
1、 一种接入网络中的升级方法, 所述接入网络包括接入设备以及多个终端 设备, 其特征在于, 所述多个终端设备之间能通过所述接入设备实现互通, 所 述接入设备与所述多个终端设备处在一个虚拟局域网内, 所述方法包括: An upgrade method in an access network, where the access network includes an access device and a plurality of terminal devices, wherein the multiple terminal devices can communicate with each other through the access device. The access device and the plurality of terminal devices are located in a virtual local area network, and the method includes:
接收来自网管的加载列表, 所述加载列表包括需要升级的终端设备的设备 标识以及目标版本号;  Receiving a loading list from the network management, where the loading list includes a device identifier of the terminal device to be upgraded and a target version number;
根据所述加载列表向需要升级的终端设备发送节点列表, 告知存储有目标 版本号对应的升级文件的设备的 IP地址以及端口号, 以使得需要升级的终端设 备根据所述 IP地址以及端口从对应的设备上下载升级文件进行升级。  Sending, according to the loading list, a node list to the terminal device that needs to be upgraded, and notifying the IP address and the port number of the device storing the upgrade file corresponding to the target version number, so that the terminal device that needs to be upgraded corresponds to the IP address and the port according to the Download the upgrade file on the device to upgrade.
2、 根据权利要求 1所述的方法, 其特征在于, 所述接收来自网管的加载列 表之后还包括: 有, 则从网管下载所述升级文件; 如果判定某个终端设备上存储有所述升级文  The method according to claim 1, wherein the receiving the loading list from the network management system further comprises: if yes, downloading the upgrade file from the network management; if it is determined that the upgrading is stored on a terminal device Text
中。 in.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述根据所述加载列表 向需要升级的终端设备发送节点列表, 告知存储有目标版本号对应的升级文件 的设备的 IP地址以及端口号具体包括:  The method according to claim 1 or 2, wherein the transmitting the node list to the terminal device that needs to be upgraded according to the loading list, and notifying the IP address of the device storing the upgrade file corresponding to the target version number and The port number specifically includes:
采用设定的算法从所述加载列表中选择一个终端设备, 将所述节点列表发 送给所选择的终端设备,所述节点列表包括所述接入设备的 IP地址以及端口号, Selecting a terminal device from the load list by using a set algorithm, and sending the node list to the selected terminal device, where the node list includes an IP address and a port number of the access device,
4、 根据权利要求 3所述的方法, 其特征在于, 所述端口号包括用于传输控 制协议连接的端口号、 用于套接字连接的端口号、 用于连接的端口号、 用于比 特流连接的端口号或者用于预设私有协议连接的端口号。 4. The method according to claim 3, wherein the port number comprises a port number for transmitting a control protocol connection, a port number for a socket connection, a port number for connection, and a bit number. The port number of the stream connection or the port number used to preset the private protocol connection.
5、 根据权利要求 1所述的方法, 其特征在于, 所述根据所述加载列表向需 要升级的终端设备发送节点列表之后还包括:  The method according to claim 1, wherein the sending the node list to the terminal device that needs to be upgraded according to the loading list further includes:
接收终端设备的握手信号, 判定发送所述握手信号的终端设备升级完成后, 将所述升级完成的终端设备的 IP地址和端口号添加到所述节点列表中。  After receiving the handshake signal of the terminal device, determining that the terminal device that sends the handshake signal is upgraded, the IP address and port number of the upgraded terminal device are added to the node list.
6、 根据权利要求 5所述的方法, 其特征在于, 将所述升级完成的终端设备 的 IP地址和端口号添加到所述节点列表中之后还包括:  The method of claim 5, after the adding the IP address and the port number of the upgraded terminal device to the node list, the method further includes:
将所述接入设备的 IP地址及端口号从所述节点列表中删除。  The IP address and port number of the access device are deleted from the node list.
7、 一种接入设备, 其特征在于, 所述接入设备与其连接的多个终端设备处 在一个局域网内, 所述接入设备包括:  An access device, wherein the access device and the plurality of terminal devices connected thereto are located in a local area network, and the access device includes:
代理模块, 用于作为所述多个终端设备的代理, 使得所述多个终端设备之 间实现互通;  a proxy module, configured to act as a proxy for the multiple terminal devices, to enable interworking between the multiple terminal devices;
第一接收模块, 用于接收来自网管的加载列表, 所述加载列表包括需要升 级的终端设备的设备标识以及目标版本号;  a first receiving module, configured to receive a loading list from the network management, where the loading list includes a device identifier of the terminal device that needs to be upgraded, and a target version number;
发送模块, 用于根据所述加载列表向需要升级的终端设备发送节点列表, 要升级的终端设备根据所述 IP地址以及端口从对应的设备上下载升级文件进行 升级。  And a sending module, configured to send, according to the loading list, a node list to the terminal device that needs to be upgraded, where the terminal device to be upgraded is upgraded according to the IP address and the port downloading the upgrade file from the corresponding device.
8、 根据权利要求 7所述的接入设备, 其特征在于, 还包括:  The access device according to claim 7, further comprising:
第二接收模块, 用于接收终端设备的握手信号; 信号处理模块, 用于在判定发送所述握手信号的终端设备升级完成后, 将 所述升级完成的终端设备的 IP地址和端口号添加到所述节点列表中。 a second receiving module, configured to receive a handshake signal of the terminal device; And a signal processing module, configured to add, after the upgrade of the terminal device that sends the handshake signal, the IP address and port number of the upgraded terminal device to the node list.
9、 一种终端设备, 其特征在于, 所述终端设备能通过接入设备与所述接入 设备连接的第一终端设备进行通信, 且所述终端设备、 第一终端设备以及所述 接入设备处在一个虚拟局域网内, 所述终端设备包括:  A terminal device, wherein the terminal device can communicate with the first terminal device connected to the access device by using the access device, and the terminal device, the first terminal device, and the access device The device is located in a virtual local area network, and the terminal device includes:
网络测接口模块, 用于接收来自所述接入设备的节点列表, 所述节点列表  a network measurement interface module, configured to receive a list of nodes from the access device, where the node list
IP接口, 用于根据所述终端设备的 IP地址以及端口号从相应的终端设备下 载所述升级文件; An IP interface, configured to download the upgrade file from the corresponding terminal device according to the IP address and the port number of the terminal device;
升级模块, 用于采用所述升级文件进行升级。  An upgrade module is used to upgrade by using the upgrade file.
10、 一种接入网络, 所述接入网络包括接入设备以及多个终端设备, 其特 征在于, 所述多个终端设备之间能通过所述接入设备实现互通, 所述接入设备 与所述多个终端设备处在一个虚拟局域网内,  An access network, where the access network includes an access device and a plurality of terminal devices, wherein the multiple terminal devices can communicate with each other through the access device, and the access device And the plurality of terminal devices are in a virtual local area network,
所述接入设备, 接收来自网管的加载列表, 所述加载列表包括需要升级的 终端设备的设备标识以及目标版本号; 根据所述加载列表向需要升级的终端设 备发送节点列表, 告知存储有目标版本号对应的升级文件的设备的 IP地址以及 端口号, 以使得需要升级的终端设备根据所述 IP地址以及端口从对应的设备上 下载升级文件进行升级。  The access device receives a loading list from the network management system, where the loading list includes the device identifier of the terminal device to be upgraded and the target version number; and sends a node list to the terminal device that needs to be upgraded according to the loading list, to notify the storage target The IP address and the port number of the device of the upgrade file corresponding to the version number, so that the terminal device that needs to be upgraded is upgraded according to the IP address and the port to download the upgrade file from the corresponding device.
PCT/CN2012/072996 2011-03-25 2012-03-26 Update method, apparatus in access network and access network WO2012130111A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011100740996A CN102694674A (en) 2011-03-25 2011-03-25 Upgrading method in access network, apparatus and access network thereof
CN201110074099.6 2011-03-25

Publications (1)

Publication Number Publication Date
WO2012130111A1 true WO2012130111A1 (en) 2012-10-04

Family

ID=46859966

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072996 WO2012130111A1 (en) 2011-03-25 2012-03-26 Update method, apparatus in access network and access network

Country Status (2)

Country Link
CN (1) CN102694674A (en)
WO (1) WO2012130111A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6527943B2 (en) * 2014-10-14 2019-06-12 華為技術有限公司Huawei Technologies Co.,Ltd. Software upgrade method and device
CN104991797A (en) * 2015-06-23 2015-10-21 上海卓易科技股份有限公司 Firmware updating method for mobile terminal and mobile terminal
CN105337776B (en) * 2015-11-19 2018-10-19 北京金山安全软件有限公司 Method and device for generating website fingerprint and electronic equipment
CN106708589A (en) * 2017-01-17 2017-05-24 浙江众合科技股份有限公司 Rail transit signal device upgrading method
CN108881502B (en) * 2017-05-12 2022-06-10 中兴通讯股份有限公司 Multi-terminal IP address conversion method, device and system
CN109936609B (en) * 2017-12-19 2021-11-16 浙江宇视科技有限公司 Terminal chain type upgrading method and device and upgrading management server
CN109831317A (en) * 2018-12-21 2019-05-31 武汉长光科技有限公司 A kind of method that new online ONT upgrades automatically in PON system
CN112769589B (en) * 2019-11-06 2022-03-11 大唐移动通信设备有限公司 Base station upgrading method and device
CN111225281A (en) * 2020-01-20 2020-06-02 珠海迈科智能科技股份有限公司 Method for releasing PVR function of low-end set-top box terminal
CN114760200A (en) * 2022-06-15 2022-07-15 深圳市华迅光通信有限公司 Service configuration method, device, equipment and storage medium of passive optical network equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658574A (en) * 2005-03-23 2005-08-24 港湾网络有限公司 Automatic update method and system for network equipment
CN1832610A (en) * 2005-03-11 2006-09-13 上海华为技术有限公司 Method of updating remote subsystem in mobile communication system
CN1905538A (en) * 2006-08-10 2007-01-31 华为技术有限公司 Loading upgrading control method and apparatus for application apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9092286B2 (en) * 2002-12-20 2015-07-28 Qualcomm Incorporated System to automatically process components on a device
CN101447884B (en) * 2007-11-26 2011-08-03 华为技术有限公司 Method for achieving software upgrade by cooperation among network elements, equipment and system therefor
CN101778097B (en) * 2009-11-25 2013-11-06 中兴通讯股份有限公司 Network updating method and system and main service side used for realizing network upgrade

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1832610A (en) * 2005-03-11 2006-09-13 上海华为技术有限公司 Method of updating remote subsystem in mobile communication system
CN1658574A (en) * 2005-03-23 2005-08-24 港湾网络有限公司 Automatic update method and system for network equipment
CN1905538A (en) * 2006-08-10 2007-01-31 华为技术有限公司 Loading upgrading control method and apparatus for application apparatus

Also Published As

Publication number Publication date
CN102694674A (en) 2012-09-26

Similar Documents

Publication Publication Date Title
WO2012130111A1 (en) Update method, apparatus in access network and access network
CN103873366B (en) There is central controlled converging network communication means and the network equipment
ES2384531T3 (en) Method, device and service distribution system
US8489717B2 (en) Accelerated cable modem restart service
US9641253B2 (en) Data over cable service interface specification (DOCSIS) over passive optical network (PON)
CN104052618A (en) Control plane for integrated switch wavelength division multiplexing
US8699486B1 (en) Managing multicast distribution using multicast trees
US10462048B2 (en) Virtual cluster establishment method and network device
US9900100B2 (en) Optical line terminal, communication control method, and communication control program
WO2012000251A1 (en) Software upgrading method and system for optical node in ethernet passive optical network
BR112015030807B1 (en) METHOD AND DEVICE TO VIRTUALIZE PASSIVE OPTICAL NETWORK AND PASSIVE OPTICAL NETWORK VIRTUALIZATION SYSTEM
CN110855809B (en) Message processing method and device
WO2015117296A1 (en) Optical network system and management method
US20140373116A1 (en) Establishing a secure file transfer session for secure file transfer to a demarcation device
WO2012022169A1 (en) Management method and apparatus for network address translation
WO2012136102A1 (en) Method and system for controlling coaxial broadband access terminal
CN110720197A (en) Computing device and method for executing architecture deployment in a datacenter
CN110720195B (en) Computing device and method for generating link IPv6 address
ES2705070T3 (en) Method, apparatus and system to acquire configuration file
CN110720196A (en) Computing device and method for generating an architecture-wide IPV6 address
CN110754069B (en) Computing device and method for performing secure neighbor discovery
RU2612610C1 (en) Control device, communication system, method of transmitting control information and program
US11700228B2 (en) Hardware address consistency management
WO2015070427A1 (en) Method, device, and system for configuring maintenance association (ma)
CN104067564A (en) Inter domain link for fibre channel

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: 12764622

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: 12764622

Country of ref document: EP

Kind code of ref document: A1