KR20140130907A - Method for upgrading of nodes in remote meter reading system and apparatus thereof - Google Patents

Method for upgrading of nodes in remote meter reading system and apparatus thereof Download PDF

Info

Publication number
KR20140130907A
KR20140130907A KR20130049472A KR20130049472A KR20140130907A KR 20140130907 A KR20140130907 A KR 20140130907A KR 20130049472 A KR20130049472 A KR 20130049472A KR 20130049472 A KR20130049472 A KR 20130049472A KR 20140130907 A KR20140130907 A KR 20140130907A
Authority
KR
South Korea
Prior art keywords
node
upgrade
firmware image
version
lower node
Prior art date
Application number
KR20130049472A
Other languages
Korean (ko)
Other versions
KR101495749B1 (en
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 (주)누리텔레콤
Priority to KR20130049472A priority Critical patent/KR101495749B1/en
Publication of KR20140130907A publication Critical patent/KR20140130907A/en
Application granted granted Critical
Publication of KR101495749B1 publication Critical patent/KR101495749B1/en

Links

Images

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

Abstract

The present invention relates to a method for upgrading a node in a remote meter reading system and a device thereof. The method for upgrading a lower node with an upper node in the remote meter reading system comprises a step of: requesting version information of a current firmware image to a plurality of lower nodes and receiving the version information from each lower node; connecting a list of the lower nodes, in which version update is requested based on the received version information, to the version information and storing the connected information; transmitting firmware image information to perform version upgrade to a first lower node selected from the list of the lower nodes; and transmitting a copy command of the firmware image information to the first lower node in order for the the first lower node to upgrade a selected second lower node in the list by using the firmware image information, when the version upgrade of the selected first lower node is completed. According to the present method for upgrading the node and the device thereof, the upper node performs an upgrade to a lower node in the network, and the upgraded lower node follows a copy command to upgrade other surrounding lower nodes, thereby shortening upgrade time and reducing costs in comparison to an existing one-to-one upgrade method.

Description

원격 검침 시스템에서 노드 업그레이드 방법 및 그 장치{Method for upgrading of nodes in remote meter reading system and apparatus thereof}TECHNICAL FIELD The present invention relates to a method for upgrading a node in a remote meter reading system,

본 발명은 원격 검침 시스템에서 노드 업그레이드 방법 및 그 장치에 관한 것으로서, 보다 상세하게는 원격 검침 시스템에서 상위 노드가 하위 노드를 업그레이드 하기 위한 방법 및 그 장치에 관한 것이다.The present invention relates to a node upgrading method and apparatus, and more particularly, to a method and apparatus for upgrading a lower node in a remote meter reading system.

일반적으로 원격 검침 시스템에서 노드의 원격 업그레이드 방법은 서버나 집중기에서 각 노드를 1:1 폴링 형식으로 업그레이드하거나 네트워크상의 부모 노드에서 일부 노드의 업그레이드를 1:1 폴링 형식으로 수행한다.In general, the remote upgrade method of a node in the remote meter reading system upgrades each node in a 1: 1 polling format on a server or concentrator, or performs a 1: 1 polling on an upgrade of some nodes on a parent node on the network.

도 1은 종래의 원격 검침 시스템에 따른 1:1 폴링 형식의 업그레이드 방식을 설명하는 개념도이다. 도 1에서 상위 노드(1)는 서버, DCU(data concentrator unit) 등에 해당되는 것으로서, 네트워크 연결된 하위 노드(2)들을 1:1로 하나씩 업그레이드한다(도 1의 (a), (b), (c), (d) 순 참조). 1 is a conceptual diagram illustrating a 1: 1 polling type upgrade method according to a conventional remote meter reading system. 1, the upper node 1 corresponds to a server, a data concentrator unit (DCU), and the like. The upper node 1 upgrades the network-connected lower nodes 2 one by one (refer to (a), (b) c), and (d).

그런데 이와 같은 기존의 1:1 폴링 형식 위주의 업그레이드 방식은 상위 단말이 각 하위 단말에 대해 업그레이드를 순차적으로 진행해야 하므로 업그레이드 소요 시간 및 비용이 증대되는 문제점이 있다.However, the conventional upgrade method based on the 1: 1 polling format has a problem that the upgrade time and cost are increased because the higher-order terminal must sequentially perform the upgrade for each lower-order terminal.

본 발명의 배경이 되는 기술은 국내공개특허 제2009-0124256호(2009.12.03 공개)에 개시되어 있다.The technique of the present invention is disclosed in Korean Patent Laid-Open Publication No. 2009-0124256 (published on Dec. 13, 2009).

본 발명은 노드의 업그레이드 시간을 줄이고 비용을 절감할 수 있는 원격 검침 시스템에서 노드 업그레이드 방법 및 그 장치를 제공하는데 목적이 있다.It is an object of the present invention to provide a method and an apparatus for upgrading a node in an automatic meter reading system that can reduce upgrade time and cost of a node.

본 발명은, 원격 검침 시스템에서 상위 노드가 하위 노드를 업그레이드하는 방법에 있어서, 복수의 하위 노드에게 상기 하위 노드가 가지는 현재 펌웨어 이미지의 버전 정보를 요청하고 각각의 하위 노드로부터 상기 버전 정보를 수신하는 단계와, 상기 수신한 버전 정보를 바탕으로 버전 업그레이드가 요구되는 하위 노드의 목록을 상기 버전 정보와 연계하여 테이블에 저장하는 단계와, 상기 하위 노드의 목록 중 선택된 임의의 제1 하위 노드로 버전 업그레이드를 위한 펌웨어 이미지 정보를 전송하는 단계, 및 상기 제1 하위 노드의 버전 업그레이드가 완료되면 상기 제1 하위 노드가 자신의 업그레이드된 상기 펌웨어 이미지 정보를 이용하여 상기 목록 내의 임의의 제2 하위 노드의 업그레이드를 수행하도록 상기 제1 하위 노드로 상기 펌웨어 이미지 정보의 복제 명령을 전송하는 단계를 포함하는 원격 검침 시스템에서 하위 노드 업그레이드 방법을 제공한다.The present invention relates to a method for upgrading a lower node in an remote meter reading system, the method comprising: requesting a plurality of lower nodes for version information of a current firmware image of the lower node and receiving the version information from each lower node; A step of storing a list of child nodes requiring version upgrade on the basis of the received version information in association with the version information in a table; When the version upgrade of the first lower node is completed, the first lower node updates firmware image information for the upgrade of any second lower node in the list using the upgraded firmware image information of the first lower node, To the first child node, In the telemetry system comprises transmitting the Duplicate command of the beam provides a sub-node upgrade.

여기서, 상기 상위 노드로부터 업그레이드가 완료된 임의의 하위 노드는 상기 목록 내의 전체 하위 노드가 업그레이드될 때까지 상기 상위 노드로부터 상기 복제 명령을 수신할 수 있다.Here, any lower node upgraded from the upper node may receive the replication command from the upper node until the entire lower node in the list is upgraded.

또한, 상기 제1 하위 노드는, 상기 제2 하위 노드에 대한 버전 업그레이드가 완료되면, 상기 제2 하위 노드가 상기 목록 내의 임의의 제3 하위 노드에 대한 버전 업그레이드를 수행하도록 제2 하위 노드로 상기 복제 명령을 전송하고, 상기 제2 하위 노드가 상기 제3 하위 노드에 대한 버전 업그레이드를 수행하는 동안, 상기 제1 하위 노드는 상기 목록 내의 임의의 제4 하위 노드에 대한 버전 업그레이드를 수행할 수 있다.In addition, the first lower node may be configured to, when the version upgrade for the second lower node is completed, to cause the second lower node to perform version upgrade for any third lower node in the list, The first child node may perform a version upgrade for any fourth child node in the list while the second child node performs a version upgrade for the third child node .

그리고, 상기 상위 노드는, 상기 하위 노드가 기 수신한 펌웨어 이미지의 일부 부분에 대한 이미지 어드레스 정보를 상기 하위 노드로부터 더 수신하고, 상기 하위 노드가 기 수신한 펌웨어 이미지의 버전 정보가 상기 업그레이드를 위한 버전과 동일하면, 상기 이미지 어드레스 정보를 이용하여 상기 펌웨어 이미지의 나머지 부분을 상기 하위 노드로 전송할 수 있다.The upper node further receives image address information for a part of the firmware image received by the lower node from the lower node, and the version information of the firmware image received by the lower node is updated for the upgrade Version, it may transmit the remaining portion of the firmware image to the lower node using the image address information.

또한, 상기 테이블은, 상기 하위 노드 별로 상기 하위 노드의 고유 어드레스, 상기 이미지 어드레스, 상기 하위 노드의 업그레이드 시도 횟수, 상기 하위 노드의 RSSI 값들 중에서 적어도 하나를 포함하며, 상기 상위 노드는, 상기 RSSI 값이 큰 순서대로 상기 하위 노드의 업그레이드 순서를 결정할 수 있다.The table may include at least one of the unique address of the lower node, the image address, the number of upgrade attempts of the lower node, and RSSI values of the lower node for each lower node, The order of upgrading of the lower node can be determined in a descending order.

여기서, 상기 상위 노드는, 우선 순위에 해당하는 하위 노드에 대한 상기 펌웨어 이미지의 일부 또는 전부의 전송이 실패한 경우, 상기 업그레이드 순서를 참조하여 차 순위의 하위 노드로 상기 펌웨어 이미지를 전송하고, 상기 차 순위의 하위 노드에 상기 펌웨어 이미지의 일부 또는 전부가 전송되면, 상기 우선 순위에 해당하는 하위 노드로 나머지 펌웨어 이미지를 전송할 수 있다.Here, if the transmission of a part or all of the firmware image to the lower node corresponding to the priority is failed, the upper node transmits the firmware image to the lower node of the next rank with reference to the upgrade order, When a part or the whole of the firmware image is transmitted to the lower node of the rank, the remaining firmware image can be transmitted to the lower node corresponding to the priority.

또한, 상기 하위 노드는, 상기 상위 노드로부터 상기 펌웨어 이미지를 전달받는 동안에, 기 수신된 상기 펌웨어 이미지를 수시로 또는 일정 시간 간격으로 저장할 수 있다.In addition, the lower node may store the received firmware image at any time or at predetermined time intervals while receiving the firmware image from the upper node.

그리고, 본 발명은 원격 검침 시스템에서 하위 노드를 업그레이드 하는 장치에 있어서, 복수의 하위 노드에게 상기 하위 노드가 가지는 현재 펌웨어 이미지의 버전 정보를 요청하고 각각의 하위 노드로부터 상기 버전 정보를 수신하는 정보 송수신부와, 상기 수신한 버전 정보를 바탕으로 버전 업그레이드가 요구되는 하위 노드의 목록을 상기 버전 정보와 연계하여 테이블에 저장하는 테이블 저장부와, 상기 하위 노드의 목록 중 선택된 임의의 제1 하위 노드로 버전 업그레이드를 위한 펌웨어 이미지 정보를 전송하는 업그레이드부, 및 상기 제1 하위 노드의 버전 업그레이드가 완료되면 상기 제1 하위 노드가 자신의 업그레이드된 상기 펌웨어 이미지 정보를 이용하여 상기 목록 내의 임의의 제2 하위 노드의 업그레이드를 수행하도록 상기 제1 하위 노드로 상기 펌웨어 이미지 정보의 복제 명령을 전송하는 복제명령 전송부를 포함하는 원격 검침 시스템에서 하위 노드 업그레이드 장치를 제공한다.The present invention relates to an apparatus for upgrading a lower node in an remote meter-reading system, the apparatus comprising: a plurality of lower nodes for requesting version information of a current firmware image of the lower node and receiving the version information from each lower node; A table storage unit for storing a list of child nodes for which a version upgrade is required based on the received version information in association with the version information in a table; An upgrading unit for transferring firmware image information for upgrading a version of the first lower node, and an upgrade unit for upgrading the version of the first lower node when the upgrade of the first lower node is completed, Node to perform an upgrade of the node, And a replica command transmitting unit for transmitting a replica command of the firmware image information to the remote meter reading system.

본 발명에 따른 원격 검침 시스템에서 노드 업그레이드 방법 및 그 장치에 따르면, 상위 노드가 네트워크 내의 하위 노드에게 업그레이드를 수행한 다음 복제 명령을 통해 하위 노드가 주변의 다른 하위 노드의 업그레이드를 수행하도록 하여 기존의 1:1 업그레이드 방법과 달리 업그레이드 시간을 단축시키고 비용을 절감할 수 있는 이점이 있다.According to the method for upgrading a node in the remote meter reading system according to the present invention, an upper node performs an upgrade to a lower node in a network, and then a lower node performs an upgrade of other lower nodes through a replication command, Unlike the 1: 1 upgrade method, it has the advantage of reducing upgrade time and cost.

도 1은 종래의 원격 검침 시스템에 따른 1:1 폴링 형식의 업그레이드 방식을 설명하는 개념도이다.
도 2는 본 발명의 실시예에 따른 원격 검침 시스템에서 상위 노드가 하위 노드를 업그레이드 하는 방법을 설명하는 개념도이다.
도 3은 도 2에 도시된 상위 노드의 구성도를 나타낸다.
도 4는 도 2 및 도 3에 도시된 상위 노드가 하위 노드를 업그레이드하는 방법을 나타내는 흐름도이다.
1 is a conceptual diagram illustrating a 1: 1 polling type upgrade method according to a conventional remote meter reading system.
FIG. 2 is a conceptual diagram illustrating a method of upgrading a lower node in a remote meter reading system according to an embodiment of the present invention.
FIG. 3 shows a configuration diagram of an upper node shown in FIG. 2. FIG.
4 is a flowchart illustrating a method for upgrading a lower node by the upper node shown in FIG. 2 and FIG. 3. FIG.

그러면 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention.

도 2는 본 발명의 실시예에 따른 원격 검침 시스템에서 상위 노드가 하위 노드를 업그레이드 하는 방법을 설명하는 개념도이다. 여기서 업그레이드는 상위 노드에서 하위 노드로 업그레이드 버전을 갖는 펌웨어 이미지를 전송하는 것을 통해 수행한다.FIG. 2 is a conceptual diagram illustrating a method of upgrading a lower node in a remote meter reading system according to an embodiment of the present invention. Here, the upgrade is performed by transmitting the firmware image having the upgrade version from the parent node to the child node.

본 발명의 실시예에서는 상위 노드(100)가 네트워크 내의 하나의 하위 노드(200)에게 업그레이드를 수행한 다음 복제(clone) 명령을 전송함에 따라 이 하위 노드(200)가 자신의 업그레이드된 정보를 이용하여 주변의 다른 하위 노드(200)의 업그레이드를 수행하도록 한다. 이와 같은 방법을 바탕으로 도 2의 (a), (b), (c), (d) 순으로 업그레이드를 수행하게 되면 단시간에 총 8개의 하위 노드(20)가 모두 동일한 펌웨어 이미지 버전을 갖게 된다. 이러한 본 실시예에 따른 방법은 도 1과 같은 기존의 1:1 업그레이드 방법과 비교하여 볼 때 업그레이드 시간을 크게 단축시키고 비용을 절감할 수 있다.In the embodiment of the present invention, as the upper node 100 performs an upgrade to one lower node 200 in the network and then transmits a clone command, the lower node 200 uses its upgraded information So as to perform upgrade of the other lower node 200 in the vicinity. If the upgrade is performed in the order of (a), (b), (c), and (d) in this order, a total of eight lower nodes 20 will have the same firmware image version in a short time . The method according to this embodiment can significantly shorten the upgrade time and reduce the cost in comparison with the conventional 1: 1 upgrade method as shown in FIG.

이하에서는 이러한 프로세서를 바탕으로 본 발명의 실시예에 관하여 보다 상세히 설명한다. 도 3은 도 2에 도시된 상위 노드의 구성도를 나타내고, 도 4는 도 2 및 도 3에 도시된 상위 노드가 하위 노드를 업그레이드 하는 방법을 나타내는 흐름도이다. Hereinafter, embodiments of the present invention will be described in more detail based on such a processor. FIG. 3 shows a configuration diagram of an upper node shown in FIG. 2, and FIG. 4 is a flowchart showing a method of upgrading a lower node shown in FIG. 2 and FIG.

상기 상위 노드(100)는 네트워크 연결된 복수의 하위 노드(200)에 대한 펌웨어 이미지의 버전 업그레이드를 수행하는 것으로서, 정보 송수신부(110), 테이블 저장부(120), 업그레이드부(130), 복제명령 전송부(140)를 포함한다. The upper node 100 performs a version upgrade of a firmware image for a plurality of lower nodes 200 connected to the network and includes an information transmission and reception unit 110, a table storage unit 120, an upgrade unit 130, And a transmission unit 140.

먼저, 정보 송수신부(110)는 상위 노드(100)와 네트워크 연결된 복수의 하위 노드(200)에게 상기 하위 노드(200)가 가지는 현재 펌웨어 이미지의 버전 정보를 요청하고, 각각의 하위 노드로부터 상기 버전 정보를 수신한다(S410). The information transmitting and receiving unit 110 requests version information of the current firmware image of the lower node 200 to a plurality of lower nodes 200 connected to the upper node 100, Information is received (S410).

예를 들어, 상위 노드(100)는 복수의 하위 노드들 중에서 선택된 하나의 하위 노드 측으로 자신이 가지는 버전 정보(ex, v1.2)를 전송하여 버전 정보의 요청을 수행한 다음 해당 하위 노드로부터 현재 가진 버전 정보(ex, v1.1)를 수신하며, 이후 다음으로 선택된 하위 노드에 대해서도 동일한 동작을 수행하고 이를 반복한다. 이와 같이, 상위 노드(100)는 각각의 하위 노드(200)에 대해 순차적으로 버전 정보를 요청하고 수신하는 것을 반복하여 각 하위 노드(200)들로부터 그들이 가지는 버전 정보를 수집한다. 본 실시예에서 각 노드 간의 정보 송수신 과정은 MAC 레이어를 이용하여 통신을 수행한다. For example, the parent node 100 transmits version information (ex, v1.2) of its own to one of the child nodes selected from a plurality of child nodes to request version information, (Ex, v1.1), and then repeats the same operation for the next selected lower node. In this manner, the parent node 100 repeatedly requests and requests version information for each of the lower nodes 200 to collect version information that they have from each of the lower nodes 200. In the present embodiment, the process of transmitting and receiving information between nodes performs communication using a MAC layer.

여기서 만약, 버전 정보를 요청한 노드에서의 펌웨어 이미지 버전과, 요청을 받은 상대 측 노드에서의 펌웨어 이미지 버전이 동일한 경우, 상대 측 노드에 대한 별도의 버전 업그레이드 과정이 불필요하므로, 상대 측 노드로부터 버전 정보를 수신하는 과정을 생략할 수도 있다.If the firmware image version at the node that requested the version information is the same as the firmware image version at the node that receives the request, there is no need for a separate version upgrade process for the other node, May be omitted.

또한, 상기 정보 송수신부(110)는 S410 단계 시에 버전 정보만 수신하는 것은 아니며, 상기 하위 노드(200)가 기 수신한 펌웨어 이미지의 일부 부분에 대한 이미지 어드레스 정보(ex, 0x3000)를 더 수신한다. In addition, the information transmission / reception unit 110 does not receive only the version information at step S410 but further receives the image address information (ex, 0x3000) for a part of the firmware image received by the lower node 200 do.

이는 버전 정보를 요청한 노드와 요청받은 노드에서의 펌웨어 이미지 버전은 v1.2로 동일하나, 버전 정보를 요청받은 노드 즉 하위 노드(200)에 해당 버전이 완벽하게 저장되어 있지 않은 경우가 발생할 수 있기 때문이다. 해당 버전이 완벽하게 저장되지 않은 경우는 전송 과정에서 데이터가 도중에 끊겨서 완전한 버전 업그레이드가 실패한 경우 등에 해당될 수 있다.This is because the firmware image version at the node requesting the version information and the firmware image at the requested node are the same as v1.2, but the version may not be completely stored in the requested node, that is, the lower node 200 Because. If the corresponding version is not completely stored, the data may be interrupted during the transmission process and the complete version upgrade may fail.

즉, 하위 노드(200)가 기 수신하여 가지고 있는 펌웨어 이미지의 버전이 v1.2이긴 하나 버전만 1.2일 뿐 기존에 전송이 도중에 끊겨서 업그레이드가 완벽하게 수행되지 않은 경우가 발생할 수 있다. 이러한 경우는 추후 실패한 부분 이후부터 이어서 업그레이드를 수행하면 된다. 따라서, 본 실시예에서는 이를 알기 위한 지표로서 업그레이드 대상이 되는 하위 노드(200)로부터 버전 정보뿐만 아니라 이미지 어드레스 정보를 더 수신하고 이를 추후의 업그레이드 과정에 활용한다. 즉, 상위 노드(100)는 상기 하위 노드(200)가 기 수신한 펌웨어 이미지의 버전 정보가 상기 업그레이드를 위한 버전과 동일하면, 상기 이미지 어드레스 정보를 이용하여 상기 펌웨어 이미지의 나머지 부분을 하위 노드(200)로 전송하면 된다. That is, although the version of the firmware image received by the lower node 200 is v1.2, the version is only 1.2, and the upgrade may not be performed completely because the transfer is interrupted in the past. In such a case, you can upgrade from the point where it fails. Accordingly, in the present embodiment, as an index for recognizing this, not only the version information but also the image address information is further received from the lower node 200 to be upgraded and utilized in the subsequent upgrade process. That is, if the version information of the firmware image received by the lower node 200 is the same as the version for the upgrade, the upper node 100 transmits the remaining portion of the firmware image to the lower node 200).

이상과 같이 각종 정보를 수신한 이후, 테이블 저장부(120)는 상기 하위 노드(200)로부터 수신한 버전 정보를 바탕으로 버전 업그레이드가 요구되는 하위 노드의 목록을 상기 버전 정보와 연계하여 테이블에 저장한다(S420).After receiving the various information as described above, the table storage unit 120 stores a list of child nodes, which are requested to be upgraded based on the version information received from the lower node 200, in association with the version information in a table (S420).

이러한 S420 단계에서는 상위 노드(100)가 가진 버전보다 낮은 버전을 갖고 있는 하위 노드를 업그레이드가 요구되는 하위 노드의 목록으로 저장한다. In step S420, the lower node having a version lower than the version of the upper node 100 is stored as a list of lower nodes that are required to be upgraded.

이외에도, 상기 테이블은 아래의 표 1과 같이 상기 하위 노드(200) 별로 상기 하위 노드(200)의 고유 어드레스(MAC Address), 상기 이미지 어드레스(Image Address), 상기 하위 노드(200)의 업그레이드 시도 횟수(Register cnt), 상기 하위 노드(200)의 물리적 신호 세기 값인 RSSI 값들을 포함하여 저장한다.In addition, the table may include a unique address (MAC address) of the lower node 200, an image address (Image Address), an upgrade attempt number of the lower node 200 (Register cnt), and RSSI values that are physical signal intensity values of the lower node 200. [

MAC AddressMAC Address Image AddressImage Address Register cntRegister cnt RSSIRSSI

업그레이드 시도 횟수란 업그레이드가 한번에 되지 않는 경우 여러 번 반복하여 업그레이드를 시도한 경우의 시도 횟수를 의미한다. 또한, RSSI 값은 복수의 하위 노드(200)에 대한 업그레이드 순서를 결정하는 지표로 사용된다. 예를 상기 상위 노드(100)는 RSSI 값이 큰 순서대로 하위 노드(200)의 업그레이드 순서를 결정할 수 있다. 이때, 테이블 저장부(120)는 상기 RSSI 값에 따라 결정된 순서에 대응되도록 테이블을 정렬할 수 있다. 예를 들면, 테이블 정렬을 바탕으로 상위 노드인 노드 A는 상기 RSSI 값에 따라 하위 노드의 업그레이드를 노드 B, C, D, E의 순으로 수행할 수 있다.The number of attempts to upgrade means the number of attempts to be made when the upgrade is repeatedly attempted repeatedly if the upgrade is not performed at once. In addition, the RSSI value is used as an index for determining the upgrade order for the plurality of lower nodes 200. [ For example, the superordinate node 100 may determine the upgrade order of the lower nodes 200 in descending order of RSSI values. At this time, the table storage unit 120 may sort the table to correspond to the order determined according to the RSSI value. For example, based on the table arrangement, the node A, which is an upper node, can upgrade the lower nodes according to the RSSI value in the order of nodes B, C, D, and E.

이상과 같이 본 실시예에서는 주변의 노드들로부터 펌웨어 이미지의 업그레이드에 필요한 각종 정보를 수신하고 이를 테이블 정보로 저장하여 업그레이드 대상 노드의 정보를 등록한다.As described above, in this embodiment, various information necessary for upgrading the firmware image is received from surrounding nodes, and the information of the upgrade target node is registered by storing it as table information.

이와 같이, 주변의 업그레이드 대상 노드들에 대한 테이블 정보가 등록되면, 업그레이드부(130)는 상기 업그레이드 대상이 되는 하위 노드의 목록 중 선택된 임의의 제1 하위 노드로 버전 업그레이드를 위한 펌웨어 이미지 정보를 전송한다(S430).When the table information about the neighboring upgrade target nodes is registered, the upgrading unit 130 transmits firmware image information for version upgrade to the selected first lower node among the list of the child nodes to be upgraded (S430).

여기서, 제1 하위 노드는 복수의 하위 노드들 중에서 상기 RSSI 값이 가장 큰 노드에 해당될 수 있으나 본 발명이 반드시 이에 한정되지 않는다.Here, the first lower node may correspond to a node having the largest RSSI value among a plurality of lower nodes, but the present invention is not necessarily limited thereto.

만약, 상위 노드의 업그레이드를 위한 펌웨어 이미지 정보의 버전은 v1.2이고 제1 하위 노드의 현재 버전은 v1.1인 경우, v1.2에 해당하는 펌웨어 이미지 정보를 제1 하위 노드로 전송한다. 이에 따라, 제1 하위 노드가 가진 v1.1의 펌웨어 이미지는 v1.2로 업그레이드되기 시작한다.If the version of the firmware image information for upgrading the upper node is v1.2 and the current version of the first lower node is v1.1, firmware image information corresponding to v1.2 is transmitted to the first lower node. Accordingly, the firmware image of v1.1 of the first lower node starts to be upgraded to v1.2.

이와 같은 동작에 따라, 상기 제1 하위 노드의 버전이 v1.2로 업그레이드 완료된 이후에는, 상기 복제명령 전송부(140)는 상기 제1 하위 노드 측으로 상기 펌웨어 이미지 정보의 복제(clone) 명령을 전송한다(S440). According to this operation, after the version of the first lower node is upgraded to v1.2, the replication command transmission unit 140 transmits a clone command of the firmware image information to the first lower node side (S440).

여기서, 복제 명령은 상기 제1 하위 노드가 자신의 v1.2로 업그레이드된 펌웨어 이미지 정보를 이용하여 상기 목록 내의 임의의 제2 하위 노드의 업그레이드를 수행하도록 제어하는 것으로, 자신이 업그레이드 받은 펌웨어 이미지 버전인 v1.2를 복제하고 이를 다른 하위 노드로 전파하는 것을 명령하는 것이다. 이에 따라, 제1 하위 노드는 목록 내의 임의의 제2 하위 노드를 v1.2로 업그레이드한다. 이와 같은 방법으로 제2 하위 노드 또한 다른 제3 하위 노드를 v1.2의 업그레이드를 수행할 수 있다. 이러한 동작은 모든 하위 노드가 업그레이드될 때까지 수행할 수 있다.Here, the replication command controls the first lower node to perform an upgrade of any second lower node in the list using the firmware image information upgraded to v1.2 thereof, wherein the upgraded firmware image version V1.2 and propagate it to the other child nodes. Accordingly, the first child node upgrades any second child node in the list to v1.2. In this way, the second lower node can also perform the upgrade of v1.2 to another third lower node. This behavior can be performed until all child nodes have been upgraded.

이상과 같이, 상기 상위 노드(100)로부터 업그레이드가 완료된 임의의 하위 노드는 상기 목록 내의 전체 하위 노드가 업그레이드될 때까지 상기 상위 노드(100)로부터 상기 복제 명령을 수신한다. 여기서 상위 노드(100)로부터 업그레이드가 완료된 임의 하위 노드란 상위 노드로부터 직접 업그레이드 받은 하위 노드뿐만 아니라, 자신이 아닌 다른 하위 노드로부터 펌웨어 이미지를 업그레이드 받은 하위 노드를 포함하는 개념이다.As described above, any lower node upgraded from the upper node 100 receives the replication command from the upper node 100 until the entire lower node in the list is upgraded. Herein, the arbitrary lower node that has been upgraded from the upper node 100 includes not only a lower node directly upgraded from an upper node but also a lower node that has upgraded the firmware image from a lower node other than the lower node.

버전 업그레이드 과정에서는 순환 오류 체크 등의 오류 체크 구간이 포함될 수 있으며, 오류 체크 구간에 따라 펌웨어 이미지를 여러 차례 분할하여 수신할 수 있다. 오류 체크 구간 이후에는 오류 체크 직전에 확보한 이미지 어드레스 정보를 참조하여 펌웨어 이미지를 기 전송 분량에 이어 전송하도록 한다. The version upgrade process may include an error check interval such as a circular error check, and the firmware image may be divided and received several times according to the error check interval. After the error check period, the firmware image is transferred to the previous transfer amount by referring to the image address information acquired immediately before the error check.

또한, 제1 하위 노드는 제2 하위 노드로 클론 명령을 전송하여 제2 하위 노드가 제3 하위 노드를 업그레이드하도록 할 수 있으며 이와 동시에 제1 하위 노드는 다른 제4 하위 노드를 업그레이드할 수 있다. Also, the first child node may send a clone command to the second child node to cause the second child node to upgrade the third child node, while at the same time the first child node may upgrade another fourth child node.

즉, 상기 제1 하위 노드는 상기 제2 하위 노드에 대한 버전 업그레이드가 완료되면, 상기 제2 하위 노드가 상기 목록 내의 임의의 제3 하위 노드에 대한 버전 업그레이드를 수행하도록 제2 하위 노드로 상기 복제 명령을 전송한다. 또한, 상기 제2 하위 노드가 상기 제3 하위 노드에 대한 버전 업그레이드를 수행하는 동안, 상기 제1 하위 노드는 상기 목록 내의 임의의 제4 하위 노드에 대한 버전 업그레이드를 수행한다.That is, when the version upgrade for the second lower node is completed, the first lower node updates the replication to the second lower node so that the second lower node performs version upgrade for any third lower node in the list Command. Also, while the second child node performs the version upgrade for the third child node, the first child node performs a version upgrade for any fourth child node in the list.

본 발명의 실시예에서는 상기 테이블에 저장된 RSSI 값에 따라 하위 노드를 업그레이드 순서를 결정하는 방식을 사용한다. 이하에서는 상위 노드인 노드 A가 하위 노드를 노드 B, C, D, E 순으로 업그레이드하는 예를 설명한다. 먼저, 노드 A는 노드 B에 대해 펌웨어 이미지 정보를 전송하여 업그레이드를 수행하고 업그레이드된 이력을 저장한다. 같은 방법으로 노드 B, C, D, E에 대해서도 업그레이드를 순차적으로 진행한다. 이후 각 노드에 해당 펌웨어 이미지가 제대로 전송되었는지 확인한다. 만약, 노드 B와 E는 업그레이드가 완료되지 않았다면 노드 B와 노드 E에 대해서는 업그레이드를 재수행해야 한다. 그 구체적인 실시예는 다음과 같다.In the embodiment of the present invention, a method of determining the upgrade order of the lower nodes according to RSSI values stored in the table is used. Hereinafter, an example in which node A, which is an upper node, upgrades lower nodes in order of nodes B, C, D, and E will be described. First, the node A transmits the firmware image information to the node B, performs the upgrade, and stores the upgraded history. In the same way, the nodes B, C, D, and E are upgraded sequentially. After that, check whether the corresponding firmware image is transmitted to each node properly. If node B and node E are not upgraded, node B and node E must be upgraded again. The concrete embodiment is as follows.

노드 A는 업그레이드가 성공하였고 이후 노드 B의 업그레이드 과정에서 업그레이드가 실패한 경우에는 노드 B에 대한 업그레이드를 재시도하지 않고 노드 C의 업그레이드를 진행한다. 이어 노드 C와 노드 D는 업그레이드가 성공하였고 이후 노드 E의 업그레이드 도중에 업그레이드가 실패한 경우에는 노드 E에 대한 업그레이드를 재시도하지 않고 앞서 노드 B에 대한 업그레이드를 수행한다. 이때, 기존에 실패한 이후부터 이어서 수행한다. 여기서, 노드 B의 업그레이드가 다시 실패한 경우는 노드 E의 업그레이드를 다시 수행하되 기존에 실패한 이후부터 이어서 수행한다. 이때, 노드 E의 업그레이드가 성공한 경우 노드 B의 업그레이드를 다시 수행한다. 노드 B의 업그레이드가 성공하면 모든 노드의 업그레이드가 완료된 것이다. 여기서, 실패한 이후부터 업그레이드를 수행하기 위해서는 앞서 상술한 이미지 어드레스 정보를 이용하면 된다.If the upgrade is unsuccessful during the upgrade process of the node B after the upgrade is successful, the node A proceeds to upgrade the node C without retrying the upgrade to the node B. The node C and the node D are upgraded, and if the upgrade fails during the upgrade of the node E, the upgrade to the node B is performed without retrying the upgrade to the node E. At this time, it is performed after the failure. Here, if the upgrade of the node B fails again, the upgrade of the node E is performed again, but the upgrade is performed after the existing failure. At this time, if the upgrade of the node E is successful, the node B is upgraded again. If the upgrade of the node B is successful, the upgrade of all the nodes is completed. Here, in order to perform the upgrade after the failure, the above-described image address information may be used.

이와 같이, 상기 상위 노드(100)는 우선 순위에 해당하는 하위 노드에 대한 상기 펌웨어 이미지의 일부 또는 전부의 전송이 실패한 경우, 상기 RSSI 값에 따른 업그레이드 순서를 참조하여 차 순위의 하위 노드로 상기 펌웨어 이미지를 전송한다. 또한, 상기 차 순위의 하위 노드에 상기 펌웨어 이미지의 일부 또는 전부가 전송되면, 상기 우선 순위에 해당하는 하위 노드로 나머지 펌웨어 이미지를 전송한다.In this manner, when the transmission of a part or all of the firmware image to the lower node corresponding to the priority is failed, the upper node 100 refers to the upgrade order according to the RSSI value, Transfer the image. When a part or the whole of the firmware image is transmitted to a lower node of the difference rank, the remaining firmware image is transmitted to the lower node corresponding to the priority.

또한, 상기 하위 노드(200)는 상기 상위 노드(100)로부터 상기 펌웨어 이미지를 전달받는 동안에, 기 수신된 상기 펌웨어 이미지를 수시로 또는 일정 시간 간격으로 저장한다. 이에 따라, 동일 버전의 펌웨어 이미지를 다시 전달받을 때 기 저장된 펌웨어 이미지에 이어서 전송받을 수 있게 한다.Also, the lower node 200 stores the received firmware image at any time or at predetermined time intervals while receiving the firmware image from the upper node 100. Accordingly, when the firmware image of the same version is received again, the firmware image can be received after the previously stored firmware image.

이외에도 하위 노드 간의 업그레이드 작업 시에, 임의 하위 노드에서 다른 하위 노드로의 펌웨어 이미지 정보의 전송이 일부 또는 전부 실패한 경우, 반드시 상기 임의 하위 노드가 상기 다른 하위 노드의 업그레이드를 재시도할 필요는 없으며, 그 이외의 또 다른 하위 노드가 상기 다른 하위 노드의 업그레이드를 대신할 수도 있다.In addition, when upgrading between child nodes, if some or all transmission of firmware image information from any lower node to another child node fails, the lower child node does not necessarily have to retry the upgrade of the other child node, And another sub-node other than that may replace the upgrade of the other sub-node.

이상과 같은 본 발명에 따른 원격 검침 시스템에서 노드 업그레이드 방법 및 그 장치에 따르면, 상위 노드가 네트워크 내의 하위 노드에게 업그레이드를 수행한 다음 복제 명령을 통해 하위 노드가 주변의 다른 하위 노드의 업그레이드를 수행하도록 하여 기존의 1:1 업그레이드 방법과 달리 업그레이드 시간을 단축시키고 비용을 절감할 수 있는 이점이 있다.According to the node upgrade method and apparatus in the remote meter-reading system according to the present invention, an upper node performs an upgrade to a lower node in a network, and then a lower node performs an upgrade of neighboring lower nodes through a replication command Unlike the existing 1: 1 upgrade method, it has the advantage of shortening the upgrade time and reducing the cost.

또한, 본 발명에 따르면 기존의 원격 검침과는 달리 MAC 레이어를 이용하여 통신을 수행하는 것으로서 1 홉(hop) 이상의 네트워크에서는 트래픽을 유발하지 않으면서 빠르게 퍼져나가면서 업그레이드를 수행할 수 있다. 또한, MAC까지의 통신을 사용하므로 라우팅 테이블이 변경 변화에 상관없이 통신의 물리적 거리만 확보되면 무조건 업그레이드를 진행할 수 있으며, 무선 구간의 신뢰성을 높일 수 있다.Also, according to the present invention, unlike an existing remote meter reading, communication is performed using a MAC layer, so that it is possible to perform an upgrade while rapidly spreading traffic without causing traffic in a network of one hop or more. Also, since the communication up to the MAC is used, if the physical distance of the communication is secured regardless of the change of the routing table, the upgrade can be performed unconditionally and the reliability of the wireless section can be increased.

또한, 테이블 관리에 있어서 복제 프로세서 진행 중에 1 홉의 주변 노드의 리스트를 멀티캐스트로 응답을 받아 신호 세기와 업그레이드 카운터 이미지 어드레스를 별도로 관리하므로 실패시 재전송을 통해 업그레이드의 신뢰성을 높일 수 있다. 더욱이, 테이블의 이미지 어드레스를 주고받으면서 관리하기 때문에 펌웨어 이미지를 한번에 모두 보내지 않고 각 단위 별로 분할해서 보낼 수 있으며 이를 CRC로 검증하므로 펌웨어 이미지의 잘못된 전송을 막을 수 있다. Also, in the table management, since the signal strength and the upgrade counter image address are separately managed by receiving the multicast list of the list of peripheral nodes of one hop during the replication processor, reliability of upgrading can be improved through retransmission upon failure. In addition, since the image address of the table is managed by exchanging it, it is possible to send the firmware image by dividing each unit without sending the firmware image all at once, and it is verified by the CRC, thereby preventing the erroneous transmission of the firmware image.

또한, 기존의 1:1 업그레이드 방식을 사용할 경우 모든 노드를 업그레이드하는데 소요되는 시간은 네트워크 규모가 커질수록(노드의 개수가 많을수록) 증가한다. 즉, 기존의 경우 총 소요 시간은 '1개 노드의 업그레이드 시간 × 전체 노드 개수'에 해당된다.Also, when using the existing 1: 1 upgrade method, the time required to upgrade all the nodes increases as the network size increases (the number of nodes increases). That is, in the conventional case, the total time required corresponds to 'upgrade time of one node × total number of nodes'.

하지만 본 실시예에 따른 복제 방식을 사용할 경우, 총 소요 시간은 '1개 노드의 업그레이드 시간 × (log2(전체 노드 개수)+1)'로 단축된다. 단, 복제 업그레이드가 진행되면 진행될수록 망의 부하가 늘어나므로 위의 공식보다는 시간이 약간 더 길어질 수는 있다.However, when the replication method according to the present embodiment is used, the total required time is shortened to 'upgrade time of one node x (log 2 (total number of nodes) +1)'. However, as the replication upgrade progresses, the load on the network increases, so the time may be slightly longer than the above formula.

이상과 같은 본 발명에 따르면, DCU가 포함되어있지 않은 필드에서는 1:1 업그레이드 방식을 이용할 경우 모든 노드에게 일일이 전송해야 하므로 그만큼 비용이 발생한다. 그러나, 본 발명의 복제 업그레이드 방식을 사용하는 경우 한 개의 노드를 1:1 업그레이드하고 즉시 복제 실행 명령만 내려주면 해당 노드 근처의 다른 노드들은 자동으로 업그레이드되므로 비용을 절감할 수 있다.According to the present invention, when a 1: 1 upgrade scheme is used in a field that does not include a DCU, costs are incurred because it is required to be transmitted to all nodes one by one. However, in the case of using the replication upgrade method of the present invention, if only one node is upgraded 1: 1 and the replication execution command is immediately issued, the other nodes near the node are automatically upgraded, thereby reducing the cost.

또한, 1:1 업그레이드 방식을 사용할 경우 그 주체(DCU/서버)는 업그레이드 실행 중에는 그만큼 리소스를 뺐기게 되어 심한 경우에는 다른 동작을 수행하지 못할 수도 있다. 그러나, 본 발명의 방식을 사용하게 되면 1개의 노드(혹은 네트워크 구성에 따라 소수의 여러 개의 노드)에게 1:1 업그레이드를 수행하고 복제 실행 명령만 내려주면 더 이상 자신의 리소스를 사용하지 않아도 되는 이점이 있다.Also, when using the 1: 1 upgrade method, the subject (DCU / server) may not be able to perform other operations in a severe case because resources are removed during the upgrade. However, if the method of the present invention is used, a 1: 1 upgrade is performed to one node (or a small number of nodes in accordance with the network configuration) and only the copy execution command is issued, .

본 발명은 도면에 도시된 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 다른 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의하여 정해져야 할 것이다.While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. Accordingly, the true scope of the present invention should be determined by the technical idea of the appended claims.

100: 상위 노드 110: 정보 송수신부
120: 테이블 저장부 130: 업그레이드부
140: 복제명령 전송부 200: 하위 노드
100: an upper node 110: an information transmission /
120: table storage unit 130: upgrading unit
140: Replication command transmission unit 200: Child node

Claims (14)

원격 검침 시스템에서 상위 노드가 하위 노드를 업그레이드 하는 방법에 있어서,
복수의 하위 노드에게 상기 하위 노드가 가지는 현재 펌웨어 이미지의 버전 정보를 요청하고 각각의 하위 노드로부터 상기 버전 정보를 수신하는 단계;
상기 수신한 버전 정보를 바탕으로 버전 업그레이드가 요구되는 하위 노드의 목록을 상기 버전 정보와 연계하여 테이블에 저장하는 단계;
상기 하위 노드의 목록 중 선택된 임의의 제1 하위 노드로 버전 업그레이드를 위한 펌웨어 이미지 정보를 전송하는 단계; 및
상기 제1 하위 노드의 버전 업그레이드가 완료되면 상기 제1 하위 노드가 자신의 업그레이드된 상기 펌웨어 이미지 정보를 이용하여 상기 목록 내의 임의의 제2 하위 노드의 업그레이드를 수행하도록 상기 제1 하위 노드로 상기 펌웨어 이미지 정보의 복제 명령을 전송하는 단계를 포함하는 원격 검침 시스템에서 하위 노드 업그레이드 방법.
A method for an upper node upgrading a lower node in an remote meter reading system,
Requesting version information of a current firmware image of the lower node to a plurality of lower nodes and receiving the version information from each lower node;
Storing a list of lower nodes for which a version upgrade is required based on the received version information in a table in association with the version information;
Transmitting firmware image information for version upgrade to a selected first lower node among the list of the lower nodes; And
Wherein when the version upgrade of the first lower node is completed, the first lower node performs an upgrade of any second lower node in the list using its upgraded firmware image information, And transmitting a duplication command of the image information.
청구항 1에 있어서,
상기 상위 노드로부터 업그레이드가 완료된 임의의 하위 노드는 상기 목록 내의 전체 하위 노드가 업그레이드될 때까지 상기 상위 노드로부터 상기 복제 명령을 수신하는 원격 검침 시스템에서 하위 노드 업그레이드 방법.
The method according to claim 1,
Wherein the replication node receives the replication command from the upper node until all the lower nodes in the list have been upgraded from the lower node that has been upgraded from the upper node.
청구항 2에 있어서,
상기 제1 하위 노드는,
상기 제2 하위 노드에 대한 버전 업그레이드가 완료되면, 상기 제2 하위 노드가 상기 목록 내의 임의의 제3 하위 노드에 대한 버전 업그레이드를 수행하도록 제2 하위 노드로 상기 복제 명령을 전송하고,
상기 제2 하위 노드가 상기 제3 하위 노드에 대한 버전 업그레이드를 수행하는 동안, 상기 제1 하위 노드는 상기 목록 내의 임의의 제4 하위 노드에 대한 버전 업그레이드를 수행하는 원격 검침 시스템에서 하위 노드 업그레이드 방법.
The method of claim 2,
Wherein the first lower-
When the version upgrade for the second child node is completed, the second child node transmits the copy command to the second child node so as to perform version upgrade for any third child node in the list,
Wherein the first child node performs a version upgrade for any fourth child node in the list while the second child node performs a version upgrade for the third child node, .
청구항 1에 있어서,
상기 상위 노드는,
상기 하위 노드가 기 수신한 펌웨어 이미지의 일부 부분에 대한 이미지 어드레스 정보를 상기 하위 노드로부터 더 수신하고,
상기 하위 노드가 기 수신한 펌웨어 이미지의 버전 정보가 상기 업그레이드를 위한 버전과 동일하면, 상기 이미지 어드레스 정보를 이용하여 상기 펌웨어 이미지의 나머지 부분을 상기 하위 노드로 전송하는 원격 검침 시스템에서 하위 노드 업그레이드 방법.
The method according to claim 1,
The superordinate node,
Further receiving, from the lower node, image address information for a part of the firmware image received by the lower node,
And transmitting the remaining portion of the firmware image to the lower node using the image address information if the version information of the firmware image received by the lower node is the same as the version for upgrading, .
청구항 4에 있어서,
상기 테이블은,
상기 하위 노드 별로 상기 하위 노드의 고유 어드레스, 상기 이미지 어드레스, 상기 하위 노드의 업그레이드 시도 횟수, 상기 하위 노드의 RSSI 값들 중에서 적어도 하나를 포함하며,
상기 상위 노드는,
상기 RSSI 값이 큰 순서대로 상기 하위 노드의 업그레이드 순서를 결정하는 원격 검침 시스템에서 하위 노드 업그레이드 방법.
The method of claim 4,
The table includes:
At least one of the unique address of the lower node, the image address, the number of upgrade attempts of the lower node, and RSSI values of the lower node for each lower node,
The superordinate node,
Wherein the upgrade order of the lower node is determined in descending order of the RSSI value.
청구항 5에 있어서,
상기 상위 노드는,
우선 순위에 해당하는 하위 노드에 대한 상기 펌웨어 이미지의 일부 또는 전부의 전송이 실패한 경우,
상기 업그레이드 순서를 참조하여 차 순위의 하위 노드로 상기 펌웨어 이미지를 전송하고,
상기 차 순위의 하위 노드에 상기 펌웨어 이미지의 일부 또는 전부가 전송되면, 상기 우선 순위에 해당하는 하위 노드로 나머지 펌웨어 이미지를 전송하는 원격 검침 시스템에서 하위 노드 업그레이드 방법.
The method of claim 5,
The superordinate node,
When transmission of part or all of the firmware image to the lower node corresponding to the priority fails,
Transmits the firmware image to a child node of a next rank with reference to the upgrade procedure,
And transferring a remaining firmware image to a lower node corresponding to the priority when a part or all of the firmware image is transferred to a lower node of the lower rank.
청구항 1에 있어서,
상기 하위 노드는,
상기 상위 노드로부터 상기 펌웨어 이미지를 전달받는 동안에, 기 수신된 상기 펌웨어 이미지를 수시로 또는 일정 시간 간격으로 저장하는 원격 검침 시스템에서 하위 노드 업그레이드 방법.
The method according to claim 1,
The lower-
Wherein the firmware image is received from the upper node while the firmware image is received, and the received firmware image is stored at a predetermined time interval or at a predetermined time interval.
원격 검침 시스템에서 하위 노드를 업그레이드 하는 장치에 있어서,
복수의 하위 노드에게 상기 하위 노드가 가지는 현재 펌웨어 이미지의 버전 정보를 요청하고 각각의 하위 노드로부터 상기 버전 정보를 수신하는 정보 송수신부;
상기 수신한 버전 정보를 바탕으로 버전 업그레이드가 요구되는 하위 노드의 목록을 상기 버전 정보와 연계하여 테이블에 저장하는 테이블 저장부;
상기 하위 노드의 목록 중 선택된 임의의 제1 하위 노드로 버전 업그레이드를 위한 펌웨어 이미지 정보를 전송하는 업그레이드부; 및
상기 제1 하위 노드의 버전 업그레이드가 완료되면 상기 제1 하위 노드가 자신의 업그레이드된 상기 펌웨어 이미지 정보를 이용하여 상기 목록 내의 임의의 제2 하위 노드의 업그레이드를 수행하도록 상기 제1 하위 노드로 상기 펌웨어 이미지 정보의 복제 명령을 전송하는 복제명령 전송부를 포함하는 원격 검침 시스템에서 하위 노드 업그레이드 장치.
An apparatus for upgrading a child node in an automatic meter reading system,
An information transmission / reception unit for requesting version information of a current firmware image of the lower node to a plurality of lower nodes and receiving the version information from each lower node;
A table storage unit for storing a list of lower nodes for which a version upgrade is required based on the received version information, in association with the version information, in a table;
An upgrade unit for transmitting firmware image information for version upgrade to a selected first lower node among the list of the lower nodes; And
Wherein when the version upgrade of the first lower node is completed, the first lower node performs an upgrade of any second lower node in the list using its upgraded firmware image information, And a duplication command transmission unit for transmitting a duplication command of image information.
청구항 8에 있어서,
상기 노드 업그레이드 장치는 상위 노드이고,
상기 상위 노드로부터 업그레이드가 완료된 임의의 하위 노드는 상기 목록 내의 전체 하위 노드가 업그레이드될 때까지 상기 상위 노드로부터 상기 복제 명령을 수신하는 원격 검침 시스템에서 하위 노드 업그레이드 장치.
The method of claim 8,
Wherein the node upgrade apparatus is an upper node,
Wherein any lower node upgraded from the upper node receives the replication command from the upper node until all the lower nodes in the list are upgraded.
청구항 9에 있어서,
상기 제1 하위 노드는,
상기 제2 하위 노드에 대한 버전 업그레이드가 완료되면, 상기 제2 하위 노드가 상기 목록 내의 임의의 제3 하위 노드에 대한 버전 업그레이드를 수행하도록 제2 하위 노드로 상기 복제 명령을 전송하고,
상기 제2 하위 노드가 상기 제3 하위 노드에 대한 버전 업그레이드를 수행하는 동안, 상기 제1 하위 노드는 상기 목록 내의 임의의 제4 하위 노드에 대한 버전 업그레이드를 수행하는 원격 검침 시스템에서 하위 노드 업그레이드 장치.
The method of claim 9,
Wherein the first lower-
When the version upgrade for the second child node is completed, the second child node transmits the copy command to the second child node so as to perform version upgrade for any third child node in the list,
Wherein the first child node performs a version upgrade for any fourth child node in the list while the second child node performs a version upgrade for the third child node, .
청구항 9에 있어서,
상기 상위 노드는,
상기 하위 노드가 기 수신한 펌웨어 이미지의 일부 부분에 대한 이미지 어드레스 정보를 상기 하위 노드로부터 더 수신하고,
상기 하위 노드가 기 수신한 펌웨어 이미지의 버전 정보가 상기 업그레이드를 위한 버전과 동일하면, 상기 이미지 어드레스 정보를 이용하여 상기 펌웨어 이미지의 나머지 부분을 상기 하위 노드로 전송하는 원격 검침 시스템에서 하위 노드 업그레이드 장치.
The method of claim 9,
The superordinate node,
Further receiving, from the lower node, image address information for a part of the firmware image received by the lower node,
In the remote meter reading system in which the remaining part of the firmware image is transmitted to the lower node using the image address information if the version information of the firmware image received by the lower node is the same as the version for upgrading, .
청구항 11에 있어서,
상기 테이블은,
상기 하위 노드 별로 상기 하위 노드의 고유 어드레스, 상기 이미지 어드레스, 상기 하위 노드의 업그레이드 시도 횟수, 상기 하위 노드의 RSSI 값들 중에서 적어도 하나를 포함하며,
상기 상위 노드는,
상기 RSSI 값이 큰 순서대로 상기 하위 노드의 업그레이드 순서를 결정하는 원격 검침 시스템에서 하위 노드 업그레이드 장치.
The method of claim 11,
The table includes:
At least one of the unique address of the lower node, the image address, the number of upgrade attempts of the lower node, and RSSI values of the lower node for each lower node,
The superordinate node,
Wherein the upgrade order of the lower node is determined in descending order of the RSSI value.
청구항 12에 있어서,
상기 상위 노드는,
우선 순위에 해당하는 하위 노드에 대한 상기 펌웨어 이미지의 일부 또는 전부의 전송이 실패한 경우,
상기 업그레이드 순서를 참조하여 차 순위의 하위 노드로 상기 펌웨어 이미지를 전송하고,
상기 차 순위의 하위 노드에 상기 펌웨어 이미지의 일부 또는 전부가 전송되면, 상기 우선 순위에 해당하는 하위 노드로 나머지 펌웨어 이미지를 전송하는 원격 검침 시스템에서 하위 노드 업그레이드 장치.
The method of claim 12,
The superordinate node,
When transmission of part or all of the firmware image to the lower node corresponding to the priority fails,
Transmits the firmware image to a child node of a next rank with reference to the upgrade procedure,
And transmits the remaining firmware image to the lower node corresponding to the priority when a part or all of the firmware image is transmitted to the lower node of the difference rank.
청구항 9에 있어서,
상기 노드 업그레이드 장치는 상위 노드이고,
상기 하위 노드는,
상기 상위 노드로부터 상기 펌웨어 이미지를 전달받는 동안에, 기 수신된 상기 펌웨어 이미지를 수시로 또는 일정 시간 간격으로 저장하는 원격 검침 시스템에서 하위 노드 업그레이드 장치.
The method of claim 9,
Wherein the node upgrade apparatus is an upper node,
The lower-
And stores the received firmware image at an interval or at predetermined time intervals while receiving the firmware image from the upper node.
KR20130049472A 2013-05-02 2013-05-02 Method for upgrading of nodes in remote meter reading system and apparatus thereof KR101495749B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR20130049472A KR101495749B1 (en) 2013-05-02 2013-05-02 Method for upgrading of nodes in remote meter reading system and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20130049472A KR101495749B1 (en) 2013-05-02 2013-05-02 Method for upgrading of nodes in remote meter reading system and apparatus thereof

Publications (2)

Publication Number Publication Date
KR20140130907A true KR20140130907A (en) 2014-11-12
KR101495749B1 KR101495749B1 (en) 2015-02-25

Family

ID=52452526

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20130049472A KR101495749B1 (en) 2013-05-02 2013-05-02 Method for upgrading of nodes in remote meter reading system and apparatus thereof

Country Status (1)

Country Link
KR (1) KR101495749B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102074704B1 (en) * 2019-11-22 2020-02-07 (주)캐시스 Distributed upgrade Method used daisy chain and system thereof
CN117453257A (en) * 2023-12-25 2024-01-26 深圳万物安全科技有限公司 Upgrading method based on hierarchical management, terminal equipment and readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230075885A (en) * 2021-11-23 2023-05-31 (주)누리플렉스 Method and apparatus for upgrading firmware remotely in wireless mesh network

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100929000B1 (en) * 2008-01-18 2009-11-26 주식회사 케이티 Firmware management method, a method of providing a firmware management service, a terminal capable of firmware management and a server providing a firmware management service
US7673009B2 (en) * 2008-07-10 2010-03-02 Gene Fein Media delivery in data forwarding storage network
KR101383691B1 (en) * 2010-10-25 2014-04-09 한국전자통신연구원 Apparatus and method for cooperatively updating firmware on wireless mesh network
KR20120106043A (en) * 2011-03-17 2012-09-26 (주)누리텔레콤 Method for remote upgrade of remote meter reading system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102074704B1 (en) * 2019-11-22 2020-02-07 (주)캐시스 Distributed upgrade Method used daisy chain and system thereof
CN117453257A (en) * 2023-12-25 2024-01-26 深圳万物安全科技有限公司 Upgrading method based on hierarchical management, terminal equipment and readable storage medium
CN117453257B (en) * 2023-12-25 2024-03-26 深圳万物安全科技有限公司 Upgrading method based on hierarchical management, terminal equipment and readable storage medium

Also Published As

Publication number Publication date
KR101495749B1 (en) 2015-02-25

Similar Documents

Publication Publication Date Title
CN1237762C (en) Wireless master-slave distributed communications network
CN108464024B (en) Network node, wireless device, medium and method for handling wireless device capabilities
US20090190496A1 (en) Method of Organizing Nodes of a Network into Groupings of Nodes, Computer Program for Implementing such a Method and Communication Device Forming a Node of a Network of Nodes
US8504639B2 (en) Wireless communication device and method, and system comprising such a method
US11637440B2 (en) Battery management system, and method and apparatus for transmitting information
RU2010101323A (en) METHODS AND DEVICE FOR SYNCHRONIZING A DATA SET IN A WIRELESS COMMUNICATION MEDIA
CN112583677A (en) Method, device, storage medium and system for allocating addresses to slave devices
US10469620B2 (en) Method for transferring a new software version to at least one electricity meter via a communication network
US11307843B2 (en) Automatic device-to-device firmware upgrade of a wireless network
KR101495749B1 (en) Method for upgrading of nodes in remote meter reading system and apparatus thereof
JP2018522480A (en) Method and apparatus for searching a fronthaul topology
CN109189403B (en) Operating system OS batch installation method and device and network equipment
CN102106105A (en) Protocols for multi-hop relay system with centralized scheduling
CN110888892B (en) Block synchronization method, device and storage medium
US10924589B2 (en) RF transceiver and wireless mesh network
CN105531955A (en) Wireless networking with flexibly-ordered relayers
CN105049259A (en) Network equipment, and server, system and method used for network equipment
JP6965290B2 (en) Wireless communication equipment, wireless communication methods, and wireless communication systems
JP2009206723A (en) Firmware update method, distribution system, master station, slave station, and firmware update program
KR20140133242A (en) Method for upgrading firmware using remote meter reading system and apparatus thereof
US9973917B2 (en) Transmission method and user equipment
TWI669015B (en) Method for scheduling tasks of a wireless sensor network
CN111542117B (en) Cyclical time slot operation in a wireless industrial network
CN103595636A (en) A method, an apparatus and a system for obtaining maintenance entity group end point MAC addresses
KR20180047474A (en) Method and Apparatus for Control Terminals in IoT Service

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20180219

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190218

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20200217

Year of fee payment: 6