KR20090114974A - Program Update Method and Device for Remote Electric Tilt System of Antenna - Google Patents
Program Update Method and Device for Remote Electric Tilt System of Antenna Download PDFInfo
- Publication number
- KR20090114974A KR20090114974A KR1020080040879A KR20080040879A KR20090114974A KR 20090114974 A KR20090114974 A KR 20090114974A KR 1020080040879 A KR1020080040879 A KR 1020080040879A KR 20080040879 A KR20080040879 A KR 20080040879A KR 20090114974 A KR20090114974 A KR 20090114974A
- Authority
- KR
- South Korea
- Prior art keywords
- memory
- update
- program data
- program
- stored
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01Q—ANTENNAS, i.e. RADIO AERIALS
- H01Q3/00—Arrangements for changing or varying the orientation or the shape of the directional pattern of the waves radiated from an antenna or antenna system
- H01Q3/26—Arrangements for changing or varying the orientation or the shape of the directional pattern of the waves radiated from an antenna or antenna system varying the relative phase or relative amplitude of energisation between two or more active radiating elements; varying the distribution of energy across a radiating aperture
Abstract
Description
본 발명은 프로그램 업데이트 방법 및 장치에 관한 것으로서, 더욱 상세하게는 안테나의 원거리 틸트 시스템에서의 프로그램 업데이트 방법 및 장치에 관한 것이다. The present invention relates to a method and apparatus for updating a program, and more particularly, to a method and apparatus for updating a program in a remote tilt system of an antenna.
베이스 스테이션 안테나의 방사 패턴은 날씨와 같은 외부 환경에 영향을 받을 수도 있으며, 새로운 베이스 스테이션이 추가되거나 새로운 빌딩이 추가되는 것과 같은 주변 토폴로지(Topology)의 변경에 영향을 받을 수 있다. 이와 같은 이유로 인해 원하는 커버리지(Coverage)에 통신 신호를 제공할 수 있도록 안테나의 빔 틸트(Tilt)가 조절될 필요가 있다. Radiation patterns of the base station antennas may be affected by external conditions such as weather, and may be affected by changes in the surrounding topology, such as adding new base stations or adding new buildings. For this reason, the beam tilt of the antenna needs to be adjusted to provide a communication signal to a desired coverage.
초기에는 안테나의 빔 틸트는 작업자에 의해 수동으로 조절되었다. 일반적으로 베이스 스테이션 안테나는 산과 같은 고지대 위치하면서 타위에 주로 장착되며, 이와 같은 방식은 작업자가 빔 틸트의 조절이 필요할 때마다 타워에 올라가서 틸트 각을 조절하여야 문제점이 있었으며, 많은 시간 및 비용을 필요로 하였다 . Initially, the beam tilt of the antenna was manually adjusted by the operator. In general, the base station antenna is located at a high place such as a mountain, and is mainly mounted on the stomach. This method requires a worker to climb the tower and adjust the tilt angle whenever the beam tilt needs to be adjusted. It was.
이후, 안테나의 빔 틸트를 전기적으로 조절하는 방식이 제안되었으며, 이 방식이 사용될 경우 작업자가 직접 타워에 올라가 안테나 틸트 각을 조절하여야 하는 문제점은 해소되었다. 그러나, 안테나의 빔 틸트를 전기적인 방식에 의해 조절하더라도 작업자가 안테나가 위치한 곳까지 이동하여야 하는 문제점이 있었으며, 안테나의 위치가 산과 같은 고지대인 점을 감안할 때 여전히 많은 비용 및 시간이 소요되었다. Afterwards, a method of electrically adjusting the beam tilt of the antenna has been proposed, and when this method is used, the problem that the operator has to climb the tower directly and adjust the antenna tilt angle has been solved. However, even though the beam tilt of the antenna is adjusted by an electrical method, there is a problem that the operator must move to the place where the antenna is located, and it still takes a lot of cost and time in view of the fact that the location of the antenna is high, such as a mountain.
이와 같은 종래의 문제점을 해결하기 위해 원격지에서 안테나의 빔 틸트를 제어하는 방식이 제안되었으며, 이와 같은 안테나 빔 틸트 제어 방식을 RET(Remote Electric Tilt)라고 한다. In order to solve such a conventional problem, a method of controlling a beam tilt of an antenna at a remote location has been proposed. Such an antenna beam tilt control method is called a RET (Remote Electric Tilt).
도 1은 일반적인 RET 시스템을 도시한 도면이다. 1 is a diagram illustrating a general RET system.
도 1을 참조하면, RET 시스템은 빔 틸트 제어 장치(100), 중앙 제어 장치(102) 및 안테나(104)를 포함한다. Referring to FIG. 1, the RET system includes a beam
빔 틸트 제어 장치(100) 및 중앙 제어 장치(102)는 네트워크를 통해 연결되며, 여기서 네트워크는 전용 사설망, 인터넷망과 같은 유선 데이터 통신망은 물론 무선 네트워크도 포함될 수 있다. The beam
중앙 제어 장치(102)는 빔 틸트 제어 장치(100)에 빔 틸트 제어 정보를 제공하며, 빔 틸트 제어 장치(100)는 중앙 제어 장치(102)에서 제공하는 빔 틸트 제어 정보에 따라 안테나의 빔 틸트를 조절한다. The
일반적으로, 빔 틸트의 전기적인 제어는 페이즈 시프터에 의해 이루어지며 빔 틸트 제어 장치(100)는 페이즈 시프터의 구동을 위한 모터와 결합되어 있고, 모 터 구동 신호를 제공하여 안테나의 빔 틸트를 조절한다. In general, electrical control of the beam tilt is performed by a phase shifter, and the beam
빔 틸트 제어 장치(100)에는 중앙 제어 장치와의 커뮤니케이션 및 모터 구동 신호의 제공을 위한 어플리케이션 프로그램이 설치된다. 이러한 어플리케이션 프로그램은 통신 프로토콜의 변경 또는 제어 방식의 변경 등과 같은 이유로 업데이트될 필요가 있다. The beam
종래에 있어서, 이러한 빔 틸트 제어 장치(100)의 어플리케이션 프로그램 업데이트는 네트워크를 통해 이루어지나, 업데이트 과정에서 오류가 발생하거나 시스템이 리셋 또는 전원 공급 중단과 같은 돌발 상황이 발생할 경우 업데이트 절차가 실패할 뿐만 아니라 기존에 설치되었던 프로그램까지 훼손되는 문제점이 있었다. In the related art, the application program update of the beam
따라서, 종래에는 업데이트 절차가 실패할 경우 작업자가 직접 베이스 스테이션 안테나에 접근하여 훼손된 프로그램을 복구하여야 하는 문제점이 있었다. Therefore, in the related art, when an update procedure fails, a worker has to directly access a base station antenna to recover a damaged program.
본 발명에서는 상기한 바와 같은 종래 기술의 문제점을 해결하기 위해, RET 시스템에서 보다 안정적인 어플리케이션 프로그램 업데이트가 이루어질 수 있는 프로그램 업데이트 방법 및 장치를 제안하고자 한다.In the present invention, to solve the problems of the prior art as described above, it is proposed a program update method and apparatus that can be more stable application program update in the RET system.
본 발명의 다른 목적은 업데이트 절차가 실패하더라도 작업자가 직접 안테나에 접근하여 프로그램 복구를 할 필요가 없는 RET 시스템에서의 프로그램 업데이트 방법 및 장치를 제안하는 것이다. Another object of the present invention is to propose a method and apparatus for updating a program in a RET system in which an operator does not need to directly access an antenna and recover a program even if an update procedure fails.
상기한 바와 같은 목적을 달성하기 위해, 본 발명의 일 측면에 따르면, 제1 메모리 및 제2 메모리를 포함하는 RET 빔 틸트 제어장치에서의 프로그램 업데이트 방법으로서, 업데이트 프로그램 데이터를 수신하여 상기 제1 메모리에 저장하는 단계(a); 상기 제1 메모리에 모든 업데이트 프로그램 데이터가 저장될 경우 플래그 상태를 셋 상태로 설정하는 단계(b); 상기 제1 메모리에 저장된 업데이트 프로그램 데이터를 상기 제2 메모리에 복사하는 단계(c); 및 상기 제2 메모리로의 업데이트 프로그램 데이터 복사가 완료될 경우 상기 플래그 상태를 클리어 상태로 전환하는 단계(d)를 포함하는 RET 시스템에서 프로그램 업데이트 방법이 제공된다. In order to achieve the above object, according to an aspect of the present invention, a program updating method in a RET beam tilt control apparatus including a first memory and a second memory, receiving the update program data to receive the first memory (A) storing in the; (B) setting a flag state to a set state when all update program data is stored in the first memory; (C) copying update program data stored in the first memory into the second memory; And (d) transitioning the flag state to a clear state when copying of the update program data to the second memory is completed.
상기 단계(a)는 패킷 단위로 업데이트 프로그램 데이터를 수신하며, 수신된 데이터에 대한 CRC 검증을 수행한다. Step (a) receives the update program data on a packet basis and performs CRC verification on the received data.
상술한 방법은 상기 단계(b)에서 플래그 상태가 셋 상태로 설정된 후 시스템 리셋을 수행하는 단계를 더 포함할 수 있다. The method may further include performing a system reset after the flag state is set to the set state in the step (b).
상기 단계(c)는 상기 제1 메모리에 저장된 업데이트 프로그램 데이터에 대한 CRC 검증 후 제1 메모리의 데이터를 제2 메모리로 복사한다. In step (c), after CRC verification of the update program data stored in the first memory, the data of the first memory is copied to the second memory.
상기 제2 메모리에는 기존 프로그램 데이터가 저장되어 있으며, 상기 제1 메모리에 상기 업데이트 프로그램 데이터가 저장되는 과정에서 오류가 발생할 경우 상기 제2 메모리의 기존 프로그램 데이터는 훼손되지 않는다. Existing program data is stored in the second memory. If an error occurs while the update program data is stored in the first memory, the existing program data of the second memory is not damaged.
상기 단계(c) 진행 도중 오류가 발생할 경우, 시스템 리셋 후 상기 플래그 상태를 확인한 후 상기 제1 메모리에 저장된 업데이트 프로그램 데이터를 제2 메모리로 복사하는 과정을 재개한다. If an error occurs during the step (c), after resetting the system, the process of copying the update program data stored in the first memory to the second memory after resuming the flag state is resumed.
본 발명의 다른 측면에 따르면, 네트워크를 통해 업데이트 프로그램 데이터를 수신하는 통신부; 제1 메모리; 제2 메모리; 및 상기 통신부에서 수신된 업데이트 프로그램 데이터를 상기 제1 메모리에 1차적으로 저장하고, 저장이 완료된 후 상기 업데이트 프로그램 데이터를 제2 메모리에 복사하며 상기 제1 메모리의 플래그 상태를 제어하는 프로그램 업데이트 제어부를 포함하는 RET 시스템에서 프로그램 업데이트 장치가 제공된다. According to another aspect of the invention, the communication unit for receiving the update program data via the network; A first memory; Second memory; And a program update control unit for storing the update program data received by the communication unit in the first memory primarily, copying the update program data to the second memory after the storing is completed, and controlling a flag state of the first memory. A program update device is provided in a RET system that includes.
상기 제1 메모리는 비휘발성 메모리이며, 상기 제1 메모리 및 제2 메모리는 물리적으로 별개의 메모리인 것이 바람직하다. Preferably, the first memory is a nonvolatile memory, and the first memory and the second memory are physically separate memories.
상기 제1 메모리는 이피롬(EEPROM)이고 상기 제2 메모리는 플래시 메모리일 수 있다. The first memory may be an EEPROM and the second memory may be a flash memory.
상기 제1 메모리의 영역은 상기 통신부를 통해 수신되는 업데이트 프로그램 데이터를 저장하는 프로그램 데이터 저장 영역 및 상기 플래그 상태를 저장하는 플래그 영역을 포함할 수 있다. The area of the first memory may include a program data storage area for storing update program data received through the communication unit and a flag area for storing the flag state.
상기 제2 메모리의 영역은 부팅 프로세스가 진행되는 부트 로드 영역, 프로그램이 부팅되어 실행될 때 실행 공간을 제공하는 어플리케이션 실행 영역 및 어플리케이션 프로그램 데이터가 저장되는 프로그램 데이터 저장 영역을 포함할 수 있다. The region of the second memory may include a boot load region in which a booting process is performed, an application execution region providing an execution space when a program is booted and executed, and a program data storage region in which application program data is stored.
상기 프로그램 업데이트 제어부는 상기 업데이트 프로그램 데이터가 상기 제1 메모리에 모두 저장된 후 상기 플래그 상태를 셋 상태로 설정한다. The program update control unit sets the flag state to a set state after all of the update program data is stored in the first memory.
상기 프로그램 업데이트 제어부는 상기 제1 메모리에 저장된 상기 업데이트 프로그램 데이터가 상기 제2 메모리에 모두 복사된 후 상기 플래그 상태를 클리어 상태로 설정한다. The program update control unit sets the flag state to a clear state after all of the update program data stored in the first memory has been copied to the second memory.
상기 프로그램 업데이트 제어부는 상기 플래그 상태를 셋 상태로 설정한 후 시스템을 리셋시키며, 시스템 리셋 후 상기 플래그 상태가 셋 상태인 것을 확인한 후 상기 제1 메모리의 업데이트 프로그램 데이터를 상기 제2 메모리에 복사한다. The program update control unit resets the system after setting the flag state to the set state, and after confirming that the flag state is the set state after system reset, copies the update program data of the first memory to the second memory.
본 발명에 의하면, RET 시스템에서 보다 안정적인 어플리케이션 프로그램 업데이트가 이루어질 수 있으며, 업데이트 절차가 실패하더라도 작업자가 직접 안테나에 접근하여 프로그램 복구를 할 필요가 없는 장점이 있다. According to the present invention, a more stable application program update can be made in the RET system, and even if the update procedure fails, the operator does not need to directly access the antenna to restore the program.
이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시예에 따른 RET 시스템에서의 프로그램 업데이트 방법 및 장치를 상세하게 설명한다.Hereinafter, a method and apparatus for updating a program in a RET system according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.
도 2는 본 발명의 일 실시예에 따른 빔 틸트 제어 장치에 구비되는 프로그램 업데이트 장치의 모듈 구성을 도시한 블록도이다. 2 is a block diagram illustrating a module configuration of a program updater included in the beam tilt control apparatus according to an exemplary embodiment of the present invention.
도 2를 참조하면, 본 발명의 일 실시예에 따른 프로그램 업데이트 장치는 제1 메모리(200), 제2 메모리(202), 프로그램 업데이트 제어부(204) 및 통신부(206)를 포함할 수 있다. 2, a program update apparatus according to an embodiment of the present invention may include a
종래의 RET 시스템에서의 프로그램 데이터 파일은 하나의 메모리에 저장되며, 업데이트되는 프로그램 데이터 파일은 기존 프로그램 데이터 파일에 오버라이트 되는 방식으로 프로그램 업데이트가 이루어졌다. In the conventional RET system, the program data file is stored in one memory, and the program data file to be updated is updated in such a manner as to overwrite the existing program data file.
따라서, 프로그램 업데이트가 도중에 중단될 경우 업데이트가 실패하는 것은 물론 기존의 프로그램까지 훼손될 수 밖에 없었다. Therefore, if the program update is interrupted in the middle, the update fails as well as the existing program.
본 발명의 프로그램 업데이트 장치는 제1 메모리(200) 및 제2 메모리(202)의 두 개의 메모리를 이용하여 프로그램 업데이트 절차를 수행한다. 도 1의 제1 메모리(200) 및 제2 메모리(202)는 물리적으로 다른 별개의 메모리일 수도 있으며 동일한 메모리의 서로 다른 저장 영역일 수도 있다. 다만 제1 메모리(200)는 시스템의 전원이 꺼진 후에도 데이터가 유지되는 비휘발성 메모리인 것이 바람직하다. The program update apparatus of the present invention performs a program update procedure by using two memories of the
본 발명의 바람직한 실시예에 따르면, 제1 메모리(200)로 이피롬(EEPROM)이 사용되고, 제2 메모리(202)로 플래쉬 메모리가 사용될 수 있으나 이에 한정되는 것은 아니다. According to a preferred embodiment of the present invention, an EPIROM may be used as the
통신부(206)는 네트워크를 통해 업데이트 프로그램 데이터를 수신하는 기능을 한다. The
제1 메모리(200)에는 통신부(206)를 통해 수신되는 업데이트 프로그램 데이터가 저장된다. The update program data received through the
도 3은 본 발명의 일 실시예에 따른 제1 메모리의 저장 영역을 도시한 도면이다. 3 is a diagram illustrating a storage area of a first memory according to an embodiment of the present invention.
도 3을 참조하면, 제1 메모리의 저장 영역은 프로그램 데이터 저장 영역(300) 및 플래그 영역(302)을 포함한다. Referring to FIG. 3, the storage area of the first memory includes a program
프로그램 데이터 저장 영역(300)에는 통신부(206)를 통해 수신되는 업데이트 프로그램 데이터가 저장된다. 업데이트 프로그램 데이터는 패킷 단위로 통신부(206)에서 수신된 후 프로그램 데이터 저장 영역(300)에 저장된다. The program
플래그 영역(302)에는 업데이트 절차와 연관된 플래그가 셋(Set) 또는 클리어(Clear)된다. 플래그는 안정적인 업데이트를 위해 상태가 셋 또는 클리어 상태로 설정된다. In the
본 발명의 바람직한 실시예에 따르면, 플래그는 업데이트 프로그램 데이터가 모두 안정적으로 제1 메모리에 저장되었을 때 셋 상태가 되며, 업데이트 절차가 안정적으로 종료되었을 때 클리어 상태가 된다. According to a preferred embodiment of the present invention, the flag is set when the update program data are all stably stored in the first memory, and is cleared when the update procedure is stably terminated.
도 4는 본 발명의 일 실시예에 따른 제2 메모리의 저장 영역을 도시한 도면이다. 4 is a diagram illustrating a storage area of a second memory according to an embodiment of the present invention.
도 4를 참조하면, 본 발명의 일 실시예에 따른 제2 메모리의 저장 영역은 부 트 로더 영역(400), 어플리케이션 실행 영역(402) 및 프로그램 데이터 영역(404)을 포함할 수 있다. Referring to FIG. 4, a storage area of a second memory according to an embodiment of the present invention may include a
부트 로더 영역(400)은 시스템 리셋 시 부팅 프로세스가 진행되는 영역이다. The
어플리케이션 실행 영역(402)은 프로그램이 부팅되어 실행될 때 프로그램 실행 공간을 제공한다. The
프로그램 데이터 영역(404)은 어플리케이션 프로그램 데이터를 저장하는 공간이며, .img, .bin과 같은 형태로 RET 제어를 위한 프로그램 데이터가 저장된다. The
프로그램 업데이트 제어부(204)는 업데이트 프로그램의 전체적인 프로세스를 제어하며, 통신부(206), 제1 메모리(200) 및 제2 메모리(202)의 동작은 프로그램 업데이트 제어부(204)에 의해 제어된다. The program
이하에서는 상술한 바와 같은 구성을 갖는 RET 시스템의 프로그램 업데이트 장치의 상세한 동작을 살펴보기로 한다. Hereinafter, a detailed operation of the program updater of the RET system having the configuration as described above will be described.
도 5는 본 발명의 일 실시예에 따른 RET 시스템의 프로그램 업데이트 방법의 전체적인 흐름을 도시한 순서도이다. 5 is a flowchart illustrating the overall flow of the program update method of the RET system according to an embodiment of the present invention.
도 5를 참조하면, 빔 틸트 제어 장치는 네트워크를 통해 어플리케이션 프로그램의 업데이트를 요청한다(단계 500). 빔 틸트 제어 장치는 중앙 제어 장치에 어플리케이션 프로그램의 업데이트를 요청할 수도 있으며, 업데이트 프로그램을 저장하고 있는 별도의 서버에 요청할 수도 있다. Referring to FIG. 5, the beam tilt control apparatus requests an update of an application program through a network (step 500). The beam tilt control device may request an update of an application program from the central control device, or may request a separate server that stores the update program.
네트워크를 통해 전송되는 업데이트 프로그램 데이터는 통신부를 통해 수신되며, 수신된 데이터는 제1 메모리에 1차적으로 저장된다(단계 502). 전술한 바와 같이, 제1 메모리는 비휘발성 메모리인 것이 바람직하며, 이피롬(EEPROM)이 사용될 수 있다. The update program data transmitted through the network is received through the communication unit, and the received data is primarily stored in the first memory (step 502). As described above, the first memory is preferably a nonvolatile memory, and an EEPROM may be used.
모든 업데이트 프로그램 데이터가 수신되어 제1 메모리에 저장되면, 제1 메모리의 플래그 영역(202)에는 플래그가 셋 상태로 전환된다. 플래그는 안정적인 업데이트를 위해 상태를 표시하는 표시자(Indicator)로서의 역할을 한다. When all the update program data is received and stored in the first memory, the flag is switched to the set state in the
제1 메모리에 모든 업데이트 프로그램 데이터가 저장되고 플래그 셋이 이루어지면, 제1 메모리에 저장된 업데이트 프로그램 데이터는 제2 메모리의 프로그램 데이터 영역(404)에 복사된다. When all update program data is stored in the first memory and a flag is set, the update program data stored in the first memory is copied to the
종래의 프로그램 업데이트 방식에서는 네트워크를 통해 수신되는 업데이트 프로그램 데이터가 바로 프로그램 데이터 영역(404)에 저장되었으나, 본 발명에서는 1차적으로 제1 메모리에 업데이트 프로그램 데이터가 저장된 후 제2 메모리로 이동된다. In the conventional program update method, update program data received through a network is directly stored in the
이와 같이 제1 메모리에 업데이트 프로그램 데이터가 1차적으로 저장된 후 제2 메모리로 업데이트 프로그램 데이터를 복사하는 것은 업데이트 프로그램 데이터를 수신하는 중 오류가 발생하더라도 기존 프로그램 데이터는 손상이 가지 않도록 하기 위함이다. The copying of the update program data to the second memory after the update program data is primarily stored in the first memory as described above is to prevent the existing program data from being damaged even if an error occurs while receiving the update program data.
제1 메모리에서 제2 메모리로 업데이트 프로그램 데이터가 모두 복사되면, 프로그램 업데이이트 절차가 종료되며 제1 메모리 플래그 영역의 플래그는 클리어된다(단계 508). When all of the update program data is copied from the first memory to the second memory, the program update procedure ends and the flag of the first memory flag area is cleared (step 508).
즉, 본 발명의 업데이트 절차는 업데이트 프로그램 데이터를 제1 메모리에 저장하는 제1 절차 및 제1 메모리에 저장된 업데이트 프로그램 데이터를 제2 메모리에 복사하는 제2 절차로 구분되며, 업데이트 상태를 확인하기 위해 플래그가 이용된다. That is, the update procedure of the present invention is divided into a first procedure for storing update program data in a first memory and a second procedure for copying update program data stored in a first memory to a second memory. The flag is used.
이와 같은 방식은 제1 절차 및 제2 절차 중 어느 절차에서 오류가 발생하더라도 안정적으로 업데이트가 진행될 수 있도록 한다. 이하에서는 제1 절차 및 제2 절차를 보다 상세하게 살펴보기로 하며 제1 절차 및 제2 절차의 진행 도중 오류가 발생할 경우의 복구 방식에 대해서도 살펴보기로 한다. In this manner, the update can be reliably performed even if an error occurs in any of the first and second procedures. Hereinafter, the first procedure and the second procedure will be described in more detail, and a recovery method in the event of an error during the first and second procedures will be described.
도 6은 본 발명의 일 실시예에 따른 제1 메모리에 업데이트 프로그램 데이터가 저장되는 제1 절차에 대한 순서도이다. 6 is a flowchart illustrating a first procedure of storing update program data in a first memory according to an embodiment of the present invention.
도 6을 참조하면, 우선 프로그램 업데이트 데이터 패킷을 수신하는 절차가 진행된다(단계 600). Referring to FIG. 6, first, a procedure of receiving a program update data packet is performed (step 600).
프로그램 데이터는 패킷 단위로 수신되며, 각 패킷에는 시퀀스 넘버가 부여되고 시퀀스 순서대로 데이터 패킷의 수신이 이루어진다. Program data is received in packet units, and a sequence number is assigned to each packet, and data packets are received in sequence order.
각 데이터 패킷에는 CRC(Cyclic Redundancy Checking) 체크를 위한 부가 정보가 포함되어 있으며, 이를 이용하여 수신된 데이터에 오류가 있는지 여부에 대한 CRC 검증 절차가 진행된다(단계 602). Each data packet includes additional information for cyclic redundancy checking (CRC) check, and a CRC verification procedure for whether there is an error in the received data is performed using this (step 602).
CRC는 통신 링크로 전송되어온 데이터 내에 에러가 있는지 확인하기 위한 방법 중 하나로 전송될 데이터 블록에 16비트 또는 32비트 다항식을 적용하여 그 결과로 얻어진 코드를 블록에 덧붙인 후 수신측에서는 데이터에 같은 다항식을 적용하여 그 결과를 송신측에서 전송된 결과와 비교하여 오류가 있는지 여부를 검증하 는 방식이다. CRC is a method to check if there is an error in the data transmitted on the communication link. 16-bit or 32-bit polynomial is applied to the data block to be transmitted, the resulting code is added to the block, and the receiving side applies the same polynomial to the data. It compares the result with the result transmitted from the sender and verifies whether there is an error.
도 6에는 CRC를 통해 수신된 데이터 패킷을 검증하는 경우가 도시되어 있으나 수신된 데이터 패킷을 검증하기 위한 방법이 CRC에 한정되는 것은 아니며 다양한 데이터 검증 방식이 사용될 수 있다는 점은 당업자에게 있어 자명할 것이다. Although FIG. 6 illustrates a case of verifying a data packet received through a CRC, a method for verifying a received data packet is not limited to the CRC, and it will be apparent to those skilled in the art that various data verification methods may be used. .
데이터 검증이 완료되면, 수신된 데이터 패킷은 제1 메모리에 라이트(write)된다(단계 604). When data verification is complete, the received data packet is written to the first memory (step 604).
제1 메모리에 패킷 데이터가 라이트되면, 제1 메모리된 쓰여진 데이터를 리드(read)하며(단계 606), 제1 메모리의 리드 데이터와 단계 604에서 라이트된 데이터가 동일한지 여부가 체크된다(단계 608). When the packet data is written to the first memory, the first memory written data is read (step 606), and it is checked whether the read data of the first memory and the data written in
이는 데이터 라이트 과정에서 오류가 발생하였는지 여부를 확인하기 위한 작업이며, 리드 데이터가 라이트된 데이터와 일치하지 않을 경우 업데이트 프로그램을 다운로드하는 절차는 실패한다(단계 610). This operation is for checking whether an error has occurred during the data writing process, and if the read data does not match the written data, the procedure for downloading the update program fails (step 610).
리드 데이터와 라이트된 데이터가 일치할 경우, 모든 데이터 패킷이 수신되었는지 여부가 체크되며(단계 612), 아직 수신할 데이터 패킷이 있을 경우 다음 패킷에 대해 단계 600 내지 608의 절차가 진행된다.If the read data and the written data match, it is checked whether all data packets have been received (step 612), and if there are still data packets to receive, the procedure of
모든 데이터 패킷이 수신되었을 경우, 전체 프로그램 데이터에 대한 CRC 체크를 다시 수행하여 오류가 있는지 여부를 확인한다(단계 614). If all data packets have been received, CRC checks on the entire program data are performed again to see if there are any errors (step 614).
전체 프로그램 데이터에 대한 CRC 체크 결과 오류가 없으면 플래그 셋이 이루어진다(단계 616). If there is no error in the CRC check for the entire program data, a flag set is made (step 616).
도 7은 본 발명의 일 실시예에 따른 제1 메모리의 업데이트 프로그램 데이터 가 제2 메모리로 복사되는 제2 절차에 대한 순서도이다. 7 is a flowchart illustrating a second procedure in which update program data of a first memory is copied to a second memory according to an embodiment of the present invention.
제1 메모리에 모든 프로그램 데이터가 저장되고 플래그가 셋되면, 시스템이 리셋된다(단계 700). If all program data is stored in the first memory and the flag is set, the system is reset (step 700).
시스템은 리셋될 때 항상 플래그의 상태를 확인하도록 설정되어 있으며, 시스템 리셋 시 플래그의 상태를 체크한다(702). The system is set to always check the state of the flag upon reset, and checks the state of the flag upon system reset (702).
시스템은 플래그가 셋 상태인 것이 확인되면 제1 메모리의 프로그램 데이터를 제2 메모리로 복사하는 작업을 수행하고 플래그가 셋 상태가 아닐 경우 일반적인 프로그램 부팅 작업이 진행되도록 설정되어 있다. The system is configured to copy the program data of the first memory to the second memory when it is confirmed that the flag is in the set state, and to perform a normal program booting operation when the flag is not in the set state.
플래그를 체크한 후 제1 메모리에 저장된 업데이트 프로그램 데이터를 CRC 체크를 통해 다시 검증한다(단계 704).After the flag is checked, the update program data stored in the first memory is verified again through the CRC check (step 704).
CRC 검증 결과 오류가 없으면, 제1 메모리의 업데이트 프로그램 데이터는 제2 메모리에 복사된다(단계 706). If there is no error as a result of the CRC verification, the update program data of the first memory is copied to the second memory (step 706).
제2 메모리에 프로그램 데이터에 모두 복사되면, 플래그를 클리어 상태로 전환시킨다(단계 708). When all the program data has been copied to the second memory, the flag is switched to the clear state (step 708).
프로그램 업데이트가 완료되면 업데이트된 프로그램이 실행되어 동작한다(단계 710). When the program update is completed, the updated program is executed and operated (step 710).
상술한 바와 같은 RET 프로그램 업데이트 방식이 적용될 경우, 업데이트 절차 진행 중 오류가 발생하더라도 기존 프로그램에 영향을 주지 않으면서 추후 안정적인 업데이트 절차를 진행하는 것이 가능하며, 복구를 위해 작업자가 안테나가 있는 장소까지 이동하여야 할 필요성이 제거된다. When the RET program update method as described above is applied, even if an error occurs during the update process, it is possible to proceed with a stable update process later without affecting the existing program, and the worker moves to the place where the antenna is located for recovery. The need to do is eliminated.
업데이트 프로그램 데이터를 네트워크를 통해 수신하는 제1 절차 중 전원 꺼짐, 네트워크 연결 끊김과 같은 오류가 발생할 경우, 기존 프로그램 데이터가 저장되어 있는 제2 메모리에는 영향이 없기 때문에 기존 프로그램에 의한 동작이 가능하며 다시 업데이트 프로그램 데이터를 수신하는 것에 의해 업데이트 절차를 재개할 수 있다. If an error such as a power off or network disconnection occurs during the first procedure of receiving update program data through the network, operation by the existing program is possible because the second memory in which the existing program data is stored is not affected. The update procedure can be resumed by receiving the update program data.
한편, 제1 메모리에 저장된 업데이트 프로그램 데이터를 제2 메모리로 복사하는 과정에서 오류가 발생할 경우 제1 메모리의 플래그가 셋 상태이고 제1 메모리에 여전히 수신된 업데이트 프로그램 데이터가 저장되어 있기 때문에 시스템을 리셋시켜 업데이트 절차를 재개하는 것이 가능하다. On the other hand, if an error occurs while copying the update program data stored in the first memory to the second memory, the system resets the flag because the flag of the first memory is set and the received update program data is still stored in the first memory. It is possible to resume the update procedure.
제1 메모리에서 제2 메모리로 프로그램 업데이트 데이터를 복사하는 중 오류가 발생할 경우 시스템을 리셋시키면 제1 메모리의 플래그가 체크되며, 플래그가 셋 상태이기 때문에 제1 메모리에 저장된 업데이트 프로그램 데이터를 제2 메모리로 복사하는 과정이 진행되므로 시스템 리셋에 의해 다시 업데이트 절차를 진행할 수 있다. If an error occurs while copying the program update data from the first memory to the second memory, the flag of the first memory is checked when the system is reset. Since the flag is set, the update program data stored in the first memory is stored in the second memory. Since the copying process is started, the update process can be performed again by system reset.
도 1은 일반적인 RET 시스템을 도시한 도면.1 illustrates a typical RET system.
도 2는 본 발명의 일 실시예에 따른 빔 틸트 제어 장치에 구비되는 프로그램 업데이트 장치의 모듈 구성을 도시한 블록도.2 is a block diagram illustrating a module configuration of a program updater included in the beam tilt control apparatus according to an embodiment of the present invention.
도 3은 본 발명의 일 실시예에 따른 제1 메모리의 저장 영역을 도시한 도면.3 illustrates a storage area of a first memory according to an embodiment of the present invention.
도 4는 본 발명의 일 실시예에 따른 제2 메모리의 저장 영역을 도시한 도면.4 illustrates a storage area of a second memory according to an embodiment of the present invention.
도 5는 본 발명의 일 실시예에 따른 RET 시스템의 프로그램 업데이트 방법의 전체적인 흐름을 도시한 순서도.5 is a flow chart showing the overall flow of the program update method of the RET system according to an embodiment of the present invention.
도 6은 본 발명의 일 실시예에 따른 제1 메모리에 업데이트 프로그램 데이터가 저장되는 제1 절차에 대한 순서도.6 is a flowchart illustrating a first procedure in which update program data is stored in a first memory according to an embodiment of the present invention.
도 7은 본 발명의 일 실시예에 따른 제1 메모리의 업데이트 프로그램 데이터가 제2 메모리로 복사되는 제2 절차에 대한 순서도.7 is a flowchart illustrating a second procedure in which update program data of a first memory is copied to a second memory according to an embodiment of the present invention.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080040879A KR20090114974A (en) | 2008-04-30 | 2008-04-30 | Program Update Method and Device for Remote Electric Tilt System of Antenna |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080040879A KR20090114974A (en) | 2008-04-30 | 2008-04-30 | Program Update Method and Device for Remote Electric Tilt System of Antenna |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20090114974A true KR20090114974A (en) | 2009-11-04 |
Family
ID=41556149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080040879A KR20090114974A (en) | 2008-04-30 | 2008-04-30 | Program Update Method and Device for Remote Electric Tilt System of Antenna |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20090114974A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101436135B1 (en) * | 2012-08-13 | 2014-09-01 | 인터콘시스템스 주식회사 | software update apparatus for slave device |
CN108153540A (en) * | 2018-01-15 | 2018-06-12 | 北京小米移动软件有限公司 | Method, apparatus, terminal and the storage medium of system upgrade |
WO2020027413A1 (en) * | 2018-07-31 | 2020-02-06 | 삼성전자 주식회사 | Device and method for restoring application removed by factory data reset function |
-
2008
- 2008-04-30 KR KR1020080040879A patent/KR20090114974A/en active Search and Examination
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101436135B1 (en) * | 2012-08-13 | 2014-09-01 | 인터콘시스템스 주식회사 | software update apparatus for slave device |
CN108153540A (en) * | 2018-01-15 | 2018-06-12 | 北京小米移动软件有限公司 | Method, apparatus, terminal and the storage medium of system upgrade |
CN108153540B (en) * | 2018-01-15 | 2021-07-23 | 北京小米移动软件有限公司 | System upgrading method, device, terminal and storage medium |
WO2020027413A1 (en) * | 2018-07-31 | 2020-02-06 | 삼성전자 주식회사 | Device and method for restoring application removed by factory data reset function |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
ES2371995T3 (en) | UPDATE OF THE FIRMWARE OF AN ELECTRONIC DEVICE. | |
US7093244B2 (en) | Method of remotely upgrading firmware in field-deployed devices | |
ES2649044T3 (en) | Method and system to improve wireless data card | |
US8612734B2 (en) | Method and apparatus for reprogramming applications in embedded devices | |
US20050229173A1 (en) | Automatic firmware update proxy | |
US20100058316A1 (en) | Updating Firmware with Multiple Processors | |
CN104007996A (en) | Reliable firmware upgrading realizing method for distributed control system | |
US20160085538A1 (en) | Over-the-air updates for ble devices | |
JP7081223B2 (en) | Master device, master, method and program for checking the integrity of software, vehicle | |
JP2019159399A5 (en) | ||
CN109002312A (en) | Method for upgrading software, device and upgrade server and equipment | |
CN105511920A (en) | Container based mobile terminal operating system upgrading method and device | |
JP3864337B2 (en) | How to upgrade | |
KR20090114974A (en) | Program Update Method and Device for Remote Electric Tilt System of Antenna | |
CN114840242A (en) | System upgrading method and device of electronic equipment and readable storage medium | |
JP5017868B2 (en) | IC card program correction system, program, and IC card | |
CN113939802A (en) | Vehicle control device, update program, program update system, and write device | |
CN108845823B (en) | Software online upgrading method based on F2812 chip | |
JP2004110610A (en) | Remote maintenance system | |
JP6699324B2 (en) | Electronic control device and data rewriting system | |
CN114144759A (en) | Method and device for updating software of a vehicle computer comprising an execution memory, a backup memory and a check memory | |
CN113204366A (en) | Remote upgrading method for intelligent wine selling machine system | |
KR101436135B1 (en) | software update apparatus for slave device | |
JP2003309485A (en) | Device and method for updating software | |
JP2010079382A (en) | Software update method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
AMND | Amendment | ||
E601 | Decision to refuse application | ||
J201 | Request for trial against refusal decision | ||
AMND | Amendment | ||
B601 | Maintenance of original decision after re-examination before a trial | ||
J301 | Trial decision |
Free format text: TRIAL DECISION FOR APPEAL AGAINST DECISION TO DECLINE REFUSAL REQUESTED 20100830 Effective date: 20120322 |