KR20170006747A - Apparatus and method for controlling network camera - Google Patents

Apparatus and method for controlling network camera Download PDF

Info

Publication number
KR20170006747A
KR20170006747A KR1020150097864A KR20150097864A KR20170006747A KR 20170006747 A KR20170006747 A KR 20170006747A KR 1020150097864 A KR1020150097864 A KR 1020150097864A KR 20150097864 A KR20150097864 A KR 20150097864A KR 20170006747 A KR20170006747 A KR 20170006747A
Authority
KR
South Korea
Prior art keywords
area
value
ftl
standard
backup
Prior art date
Application number
KR1020150097864A
Other languages
Korean (ko)
Other versions
KR102282468B1 (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 KR1020150097864A priority Critical patent/KR102282468B1/en
Publication of KR20170006747A publication Critical patent/KR20170006747A/en
Application granted granted Critical
Publication of KR102282468B1 publication Critical patent/KR102282468B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/183Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source
    • H04N7/185Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source from a mobile camera, e.g. for remote control
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • G08B13/19665Details related to the storage of video surveillance data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • H04N5/23206
    • H04N5/23225

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

According to an embodiment of the present invention, a device for controlling a network camera, which upgrades firmware, includes: a receiving unit which downloads a new firmware file; a storing unit which includes a sub area and a backup area and stores the existing firmware file or the new firmware file; and a control unit which performs booting in a standard area or the backup area and stores the new firmware file in either the standard area or the backup area, where booting is not performed, corresponding to the reception of the new firmware file.

Description

네트워크 카메라 제어 장치 및 방법{Apparatus and method for controlling network camera}[0001] Apparatus and method for controlling network camera [0002]

본 발명은 펌웨어의 업그레이드를 수행하는 네트워크 카메라 제어 장치 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus and a method for controlling a network camera for performing an upgrade of firmware.

네트워크 카메라 및 기타 보안 관련 장비의 유지 보수를 위해, 출시 후 단종될 때까지 정기적으로, 또는 기존의 기능이 개선되거나 새로운 기능이 추가되는 경우, 네트워크 카메라 및 기타 보안 관련 장비에 설치된 이전 버전의 펌웨어가 새로운 버전의 펌웨어로 업그레이드될 수 있다.For the maintenance of network cameras and other security-related equipment, periodically until the end of its life cycle, or when existing features are enhanced or new features are added, previous versions of firmware installed on network cameras and other security- It can be upgraded to a newer version of firmware.

펌웨어 업그레이드 시 발생할 수 있는 실패 상황에 대비하여 보다 효율적이고 안정적으로 펌웨어를 업그레이드하는 방법이 개발되고 있다.A method of upgrading the firmware more efficiently and stably is being developed in preparation for a failure situation that may occur when the firmware is upgraded.

국내 등록특허 제1281719호Domestic registered patent No. 1281719

본 발명이 해결하고자 하는 과제는 보다 효율적이고 안정적으로 펌웨어를 업그레이드하는 네트워크 카메라의 제어 장치 및 방법을 제공하는데 있다. 본 발명의 실시 예들이 해결하고자 하는 과제는 상기된 바와 같은 과제로 한정되지 않으며, 이하의 실시 예들로부터 또 다른 과제들이 유추될 수 있다.SUMMARY OF THE INVENTION It is an object of the present invention to provide an apparatus and method for controlling a network camera that upgrades firmware more efficiently and stably. The problems to be solved by the embodiments of the present invention are not limited to the above-described problems, and other problems may be deduced from the following embodiments.

본 발명의 일 실시 예에 따른 네트워크 카메라 제어 장치는 펌웨어의 업그레이드를 수행하는 네트워크 카메라 제어 장치에 있어서, 새로운 펌웨어 파일을 다운로드하는 수신부, 표준 영역 및 백업 영역을 포함하고, 기존 펌웨어 파일 또는 상기 새로운 펌웨어 파일을 저장하는 저장부, 및 상기 표준 영역 또는 상기 백업 영역으로 부팅을 수행하고, 상기 새로운 펌웨어 파일의 수신에 대응하여 상기 표준 영역 또는 상기 백업 영역 중에서 부팅이 수행되지 않은 영역에 상기 새로운 펌웨어 파일을 저장하는 제어부를 포함한다.A network camera control apparatus according to an exemplary embodiment of the present invention includes a receiver for downloading a new firmware file, a standard area, and a backup area, Wherein the booting is performed in the standard area or in the backup area and the new firmware file is stored in an area that is not booted from the standard area or the backup area in response to the reception of the new firmware file And a controller.

본 실시 예에 있어서, 상기 제어부는, 상기 새로운 펌웨어 파일의 수신에 대응하여, 상기 부팅이 수행되지 않은 영역의 FTL(Flash Translation Layer) 상태 값을 제1 값으로 설정한 후 상기 부팅이 수행되지 않은 영역에 저장된 상기 기존 펌웨어 파일을 삭제하고, 상기 부팅이 수행되지 않은 영역에 상기 새로운 펌웨어 파일을 저장한 후 상기 부팅이 수행되지 않은 영역의 FTL 상태 값을 상기 제1 값과 상이한 제2 값으로 설정할 수 있다.In this embodiment, in response to the reception of the new firmware file, the controller sets the FTL (Flash Translation Layer) status value of the unbootable area to the first value, And the FTL state value of the booted region is set to a second value different from the first value after storing the new firmware file in the booted region .

본 실시 예에 있어서, 상기 제어부는, 상기 표준 영역에 포함된 제1 커널 영역, 제1 램디스크 영역 및 제1 워크 영역 각각의 FTL 상태 값이 상기 제1 값이고, 상기 백업 영역에 포함된 제2 커널 영역, 제2 램디스크 영역 및 제2 워크 영역 각각의 FTL 상태 값이 상기 제2 값이면, 상기 백업 영역으로 부팅을 수행하고, 부팅 상태 값을 1로 설정하고, 상기 제1 커널 영역, 상기 제1 램디스크 영역 및 상기 제1 워크 영역 각각의 FTL 상태 값이 상기 제2 값이면, 상기 표준 영역으로 부팅을 수행하고, 부팅 상태 값을 0으로 설정할 수 있다.In the present embodiment, the control unit determines that the FTL status value of each of the first kernel area, the first ram disk area, and the first work area included in the standard area is the first value, If the FTL state value of each of the first kernel area, the second kernel area, the second RAM disk area, and the second work area is the second value, booting is performed to the backup area, the boot status value is set to 1, If the FTL status value of each of the first ramdisk area and the first work area is the second value, booting is performed in the standard area and the boot status value is set to zero.

본 실시 예에 있어서, 상기 제1 값은 모든 영역에서 동일하고, 상기 제2 값은 영역 별로 상이할 수 있다.In the present embodiment, the first value may be the same in all areas, and the second value may be different in each area.

본 발명의 일 실시 예에 따른 네트워크 카메라 제어 방법은 펌웨어의 업그레이드를 수행하는 네트워크 카메라 제어 방법에 있어서, 표준 영역 또는 백업 영역으로 부팅을 수행하는 단계, 새로운 펌웨어 파일을 다운로드하는 단계, 상기 표준 영역 또는 상기 백업 영역 중에서 부팅이 수행되지 않은 영역의 FTL 상태 값을 제1 값으로 설정하한 후 상기 부팅이 수행되지 않은 영역에 저장된 기존 펌에어 파일을 삭제하는 단계, 상기 부팅이 수행되지 않은 영역에 상기 새로운 펌웨어 파일을 저장한 후 상기 부팅이 수행되지 않은 영역의 FTL 상태 값을 상기 제1 값과 상이한 제2 값으로 설정하는 단계, 상기 표준 영역에 포함된 제1 커널 영역, 제1 램디스크 영역 및 제1 워크 영역 각각의 FTL 상태 값이 상기 제1 값이고, 상기 백업 영역에 포함된 제2 커널 영역, 제2 램디스크 영역 및 제2 워크 영역 각각의 FTL 상태 값이 상기 제2 값이면, 상기 백업 영역으로 부팅을 수행하고, 부팅 상태 값을 1로 설정하는 단계, 및 상기 제1 커널 영역, 상기 제1 램디스크 영역 및 상기 제1 워크 영역 각각의 FTL 상태 값이 상기 제2 값이면, 상기 표준 영역으로 부팅을 수행하고, 부팅 상태 값을 0으로 설정하는 단계를 포함하고, 상기 제1 값은 모든 영역에서 동일하고, 상기 제2 값은 영역 별로 상이하다.A method of controlling a network camera according to an exemplary embodiment of the present invention is a method of controlling a network camera that performs firmware upgrading, comprising the steps of: booting a standard area or a backup area; downloading a new firmware file; Setting an FTL status value of an area not booted in the backup area to a first value and then deleting an existing firmware air file stored in an area not booted; Setting a FTL status value of an area for which booting has not been performed to a second value different from the first value after storing a firmware file; setting a first kernel area, a first ram disk area, 1 FTL status value of each of the work areas is the first value, the second kernel area included in the backup area, If the FTL status value of each of the disk area and the second work area is the second value, booting the backup area and setting the boot status value to 1, and if the first kernel area, And if the FTL status value of each of the first work area and the first work area is the second value, booting to the standard area and setting a boot state value to 0, the first value being the same in all areas And the second value is different for each region.

상술한 실시 예들에 따르면, 효율적이고 안정적으로 펌웨어를 업그레이드하는 네트워크 카메라의 제어 장치 및 방법을 제공할 수 있다.According to the embodiments described above, it is possible to provide an apparatus and method for controlling a network camera that efficiently and stably upgrades firmware.

도 1은 본 발명의 일 실시 예에 따른 네트워크 카메라 제어 장치의 블록도이다.
도 2는 본 발명의 일 실시 예에 따른 네트워크 카메라 제어 방법을 설명하기 위한 흐름도이다.
도 3 내지 도 6은 본 발명의 다른 실시 예에 따른 네트워크 카메라 제어 방법을 설명하기 위한 흐름도이다.
1 is a block diagram of a network camera control apparatus according to an embodiment of the present invention.
2 is a flowchart illustrating a method of controlling a network camera according to an exemplary embodiment of the present invention.
3 to 6 are flowcharts for explaining a network camera control method according to another embodiment of the present invention.

본 발명은 다양한 변환을 가할 수 있고 여러 가지 실시 예를 가질 수 있는바, 특정 실시 예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변환, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.BRIEF DESCRIPTION OF THE DRAWINGS The present invention is capable of various modifications and various embodiments, and specific embodiments are illustrated in the drawings and described in detail in the detailed description. It is to be understood, however, that the invention is not to be limited to the specific embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

이하, 본 발명에 따른 실시 예들을 첨부 도면을 참조하여 상세히 설명하기로 하며, 첨부 도면을 참조하여 설명함에 있어, 동일하거나 대응하는 구성 요소는 동일한 도면번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. Referring to the accompanying drawings, the same or corresponding components are denoted by the same reference numerals, .

도 1은 본 발명의 일 실시 예에 따른 네트워크 카메라 제어 장치의 블록도이다.1 is a block diagram of a network camera control apparatus according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일 실시 예에 따른 네트워크 카메라 제어 장치(100)는 수신부(110), 저장부(120), 및 제어부(130)를 포함한다.Referring to FIG. 1, a network camera control apparatus 100 according to an exemplary embodiment of the present invention includes a receiving unit 110, a storage unit 120, and a control unit 130.

수신부(110)는 새로운 펌웨어 파일을 다운로드한다. 새로운 펌웨어 파일은 기존 펌웨어 파일에 포함된 기존 펌웨어보다 업그레이드된 펌웨어를 포함할 수 있다.The receiving unit 110 downloads a new firmware file. The new firmware file may include firmware upgraded from existing firmware included in the existing firmware file.

저장부(120)는 표준 영역 및 백업 영역을 포함하고, 기존 펌웨어 파일 또는 새로운 펌웨어 파일을 저장한다.The storage unit 120 includes a standard area and a backup area, and stores an existing firmware file or a new firmware file.

저장부(120)는 물리적으로 하나의 메모리로 구현될 수 있다. 예컨대, 저장부(120)는 하나의 NAND 메모리로 구현될 수 있고, 하나의 NAND 메모리에 표준 영역과 백업 영역이 각각 설정될 수 있다.The storage unit 120 may be physically implemented as a single memory. For example, the storage unit 120 may be implemented as one NAND memory, and a standard area and a backup area may be respectively set in one NAND memory.

저장부(120)는 표준 영역 및 백업 영역 각각에 기존 펌웨어 파일 또는 새로운 펌웨어 파일을 저장할 수 있다.The storage unit 120 may store an existing firmware file or a new firmware file in each of the standard area and the backup area.

표준 영역 및 백업 영역은 각각 커널(kernel) 영역, 램디스크(ramdisk) 영역, 및 워크(work) 영역을 포함할 수 있다. 이하에서, 표준 커널 영역, 표준 램디스크 영역, 및 표준 워크 영역은 각각 표준 영역의 커널 영역, 램디스크 영역, 및 워크 영역을 의미하고, 백업 커널 영역, 백업 램디스크 영역, 및 백업 워크 영역은 각각 백업 영역의 커널 영역, 램디스크 영역, 및 워크 영역을 의미한다. 표준 영역 및 백업 영역 각각은 하나의 펌웨어 파일을 저장할 수 있다. 즉, 표준 커널 영역, 표준 램디스크 영역, 및 표준 워크 영역에 저장된 파일들이 하나의 펌웨어를 구성하고, 백업 커널 영역, 백업 램디스크 영역, 및 백업 워크 영역에 저장된 파일들이 하나의 펌웨어를 구성할 수 있다.The standard area and the backup area may each include a kernel area, a ramdisk area, and a work area. Hereinafter, the standard kernel area, the standard ramdisk area, and the standard work area refer to a kernel area, a ramdisk area, and a work area of a standard area, respectively, and a backup kernel area, a backup ram disk area, A kernel area of the backup area, a RAM disk area, and a work area. Each of the standard area and the backup area can store one firmware file. That is, the files stored in the standard kernel area, the standard ramdisk area, and the standard work area constitute one firmware, and the files stored in the backup kernel area, the backup ram disk area, and the backup work area constitute one firmware have.

제어부(130)는 표준 영역 또는 백업 영역으로 부팅을 수행하고, 수신부(110)를 통해 새로운 펌웨어 파일이 다운로드되면 표준 영역 및 백업 영역에 저장된 기존의 펌웨어 파일을 삭제한 후 새로운 펌웨어 파일을 저장하는 방식으로 펌웨어 업그레이드를 수행한다. 제어부(130)는 표준 영역과 백업 영역 중 부팅이 수행되지 않은 영역에 대한 펌웨어 업그레이드를 우선 수행한 후, 부팅이 수행된 영역에 대한 펌웨어 업그레이드를 수행할 수 있다.When the new firmware file is downloaded through the receiving unit 110, the control unit 130 deletes the existing firmware file stored in the standard area and the backup area and then stores the new firmware file in the standard area or the backup area To perform firmware upgrade. The controller 130 may first perform a firmware upgrade on an area where booting is not performed in the standard area and the backup area, and then perform a firmware upgrade on the booted area.

예를 들어, 제어부(130)는 표준 영역 또는 백업 영역으로 부팅을 수행하고, 새로운 펌웨어 파일의 수신에 대응하여 표준 영역과 백업 영역 중 부팅이 수행되지 않은 영역의 FTL(Flash Translation Layer) 상태 값을 제1 값으로 설정한 후 부팅이 수행되지 않은 영역에 저장된 기존 펌웨어 파일을 삭제하고, 부팅이 수행되지 않은 영역에 새로운 펌웨어 파일을 저장한 후 부팅이 수행되지 않은 영역의 FTL 상태 값을 제1 값과 상이한 제2 값으로 설정한다. 이어서, 제어부(130)는 부팅이 수행된 영역의 FTL 상태 값을 제1 값으로 설정한 후 부팅이 수행된 영역에 저장된 기존 펌웨어 파일을 삭제하고, 부팅이 수행된 영역에 새로운 펌웨어 파일을 저장한 후 부팅이 수행된 영역의 FTL 상태 값을 제1 값과 상이한 제2 값으로 설정한다.For example, the control unit 130 performs booting to a standard area or a backup area, and in response to receiving a new firmware file, sets a flash translation layer (FTL) status value of an area that is not booted in the standard area and the backup area After setting the first value and deleting the existing firmware file stored in the unbootable area and storing the new firmware file in the unbootable area, the FTL status value of the unbootable area is set to the first value Is set to a second value different from the first value. Then, the controller 130 sets the FTL status value of the booted area to the first value, deletes the existing firmware file stored in the booted area, stores the new firmware file in the booted area And sets the FTL status value of the area in which the post-boot is performed to a second value different from the first value.

펌웨어 업그레이드는 표준 영역 및 백업 영역 각각을 구성하는 커널 영역, 램디스크 영역, 및 워크 영역 순으로 진행될 수 있다.The firmware upgrade may proceed in the order of the kernel area, the ramdisk area, and the work area that constitute the standard area and the backup area, respectively.

예를 들어, 제어부(130)는 먼저 부팅이 수행되지 않은 영역을 구성하는 제1 커널 영역의 FTL 상태 값을 제1 값으로 설정한 후 제1 커널 영역에 저장된 기존 펌웨어 파일을 삭제하고, 제1 커널 영역에 새로운 펌웨어 파일을 저장한 후 제1 커널 영역의 FTL 상태 값을 제2 값으로 설정할 수 있다. 이어서, 제어부(130)는 부팅이 수행되지 않은 영역을 구성하는 제1 램디스크 영역의 FTL 상태 값을 제1 값으로 설정한 후 제1 램디스크 영역에 저장된 기존 펌웨어 파일을 삭제하고, 제1 램디스크 영역에 새로운 펌웨어 파일을 저장한 후 제1 램디스크 영역의 FTL 상태 값을 제2 값으로 설정할 수 있다. 이어서, 제어부(130)는 부팅이 수행되지 않은 영역을 구성하는 제1 워크 영역의 FTL 상태 값을 제1 값으로 설정한 후 제1 워크 영역에 저장된 기존 펌웨어 파일을 삭제하고, 제1 워크 영역에 새로운 펌웨어 파일을 저장한 후 제1 워크 영역의 FTL 상태 값을 제2 값으로 설정할 수 있다. 부팅이 수행되지 않은 영역에 대한 펌웨어 업그레이드가 완료된 후, 제어부(30)는 부팅이 수행된 영역을 구성하는 제2 커널 영역의 FTL 상태 값을 제1 값으로 설정한 후 제2 커널 영역에 저장된 기존 펌웨어 파일을 삭제하고, 제2 커널 영역에 새로운 펌웨어 파일을 저장한 후 제2 커널 영역의 FTL 상태 값을 제2 값으로 설정할 수 있다. 이어서, 제어부(130)는 부팅이 수행된 영역을 구성하는 제2 램디스크 영역의 FTL 상태 값을 제1 값으로 설정한 후 제2 램디스크 영역에 저장된 기존 펌웨어 파일을 삭제하고, 제2 램디스크 영역에 새로운 펌웨어 파일을 저장한 후 제2 램디스크 영역의 FTL 상태 값을 제2 값으로 설정할 수 있다. 이어서, 제어부(130)는 부팅이 수행된 영역을 구성하는 제2 워크 영역의 FTL 상태 값을 제1 값으로 설정한 후 제2 워크 영역에 저장된 기존 펌웨어 파일을 삭제하고, 제2 워크 영역에 새로운 펌웨어 파일을 저장한 후 제2 워크 영역의 FTL 상태 값을 제2 값으로 설정할 수 있다. 이때, 제1 값은 모든 영역에서 0으로 동일할 수 있으나, 제2 값은 각 영역에서 각 영역의 고유 값으로 각각 상이할 수 있다.For example, the controller 130 first sets the FTL status value of the first kernel area, which constitutes the boot-unoccupied area, to the first value, then deletes the existing firmware file stored in the first kernel area, The FTL status value of the first kernel area can be set to the second value after storing the new firmware file in the kernel area. Then, the controller 130 sets the FTL status value of the first ram disk area constituting the unbootable area to the first value, deletes the existing firmware file stored in the first ram disk area, The FTL status value of the first ram disk area can be set to the second value after the new firmware file is stored in the disk area. Then, the controller 130 sets the FTL status value of the first work area that constitutes the boot-unoccupied area to the first value, deletes the existing firmware file stored in the first work area, The FTL status value of the first work area can be set to the second value after storing the new firmware file. After the firmware upgrade for the booted region is completed, the control unit 30 sets the FTL status value of the second kernel region constituting the booted region to the first value, The FTL status value of the second kernel area can be set to the second value after the firmware file is deleted and the new firmware file is stored in the second kernel area. Then, the controller 130 sets the FTL status value of the second ram disk area constituting the booted area to the first value, deletes the existing firmware file stored in the second ram disk area, The FTL status value of the second ram disk area can be set to the second value after storing the new firmware file in the area. Then, the controller 130 deletes the existing firmware file stored in the second work area after setting the FTL status value of the second work area that constitutes the booted area to the first value, After storing the firmware file, the FTL status value of the second work area can be set to the second value. In this case, the first value may be equal to 0 in all regions, but the second value may be different from the eigenvalues of the regions in each region.

FTL 상태 값은 저장부(120)에 설정된 영역들 각각의 펌웨어 파일 설치 여부를 의미할 수 있다. 예를 들면, 제어부(130)는 표준 영역의 펌웨어 업그레이드 수행 시, 표준 커널 영역, 표준 램디스크 영역, 및 표준 워크 영역 각각에 대하여, FTL 상태 값을 제1 값으로 설정한 후 기존 펌웨어 파일을 삭제하고, 새로운 펌웨어 파일을 저장한 후 FTL 상태 값을 제2 값을 설정하는데, 표준 커널 영역, 표준 램디스크 영역, 및 표준 워크 영역 중 적어도 하나의 FTL 상태 값이 제2 값이 아닌 경우, 제어부(130)는 표준 영역에 대한 펌웨어 업그레이드가 정상적으로 수행되지 않은 것으로 판단할 수 있다. 다른 예를 들면, 제어부(130)는 표준 커널 영역, 표준 램디스크 영역, 및 표준 워크 영역 각각의 FTL 상태 값이 모두 제2 값인 경우, 표준 영역에 대한 펌웨어 업그레이드가 정상적으로 수행된 것으로 판단할 수 있다.The FTL status value may indicate whether or not the firmware file of each of the areas set in the storage unit 120 is installed. For example, when the firmware upgrade of the standard area is performed, the controller 130 sets the FTL status value to the first value for each of the standard kernel area, the standard ramdisk area, and the standard work area, and then deletes the existing firmware file If the FTL status value of at least one of the standard kernel area, the standard RAM disk area, and the standard work area is not the second value, the control part 130 may determine that the firmware upgrade for the standard area is not normally performed. In another example, if the FTL status values of the standard kernel area, the standard RAM disk area, and the standard work area are all the second values, the controller 130 may determine that the firmware upgrade for the standard area is normally performed .

제어부(130)는 펌웨어 업그레이드가 수행된 후, 표준 커널 영역, 표준 램디스크 영역, 및 표준 워크 영역 각각의 FTL 상태 값 또는 백업 커널 영역, 백업 램디스크 영역, 및 백업 워크 영역 각각의 FTL 상태 값에 기초하여 부팅 영역을 결정할 수 있다. 예를 들면, 제어부(130)는 FTL 상태 값이 제2 값이 아닌 영역으로 부팅을 수행하지 않는다. 이때, 제어부(130)는 표준 커널 영역, 표준 램디스크 영역, 및 표준 워크 영역 각각의 FTL 상태 값과 백업 커널 영역, 백업 램디스크 영역, 및 백업 워크 영역 각각의 FTL 상태 값이 모두 제2 값이면 표준 영역으로 부팅을 수행하고, 부팅 상태 값을 0으로 설정한다. 또는, 제어부(130)는 표준 커널 영역, 표준 램디스크 영역, 및 표준 워크 영역 각각의 FTL 상태 값이 제1 값이고 백업 커널 영역, 백업 램디스크 영역, 및 백업 워크 영역 각각의 FTL 상태 값이 제2 값이면 백업 영역으로 부팅을 수행하고, 부팅 상태 값을 1로 설정한다.After the firmware upgrade is performed, the control unit 130 updates the FTL status values of the standard kernel area, the standard RAM disk area, and the standard work area or the FTL status values of the backup kernel area, the backup RAM disk area, The boot area can be determined based on the boot area. For example, the control unit 130 does not perform booting to the area where the FTL status value is not the second value. At this time, if the FTL status values of the standard kernel area, the standard RAM disk area, and the standard work area and the FTL status values of the backup kernel area, the backup RAM disk area, and the backup work area are all the second values Boot to the standard zone and set the boot status value to zero. Alternatively, if the FTL status value of each of the standard kernel area, the standard RAM disk area, and the standard work area is the first value, and the FTL status value of each of the backup kernel area, the backup RAM disk area, If the value is 2, boot to the backup area and set the boot status value to 1.

도 2는 본 발명의 일 실시 예에 따른 네트워크 카메라 제어 방법을 설명하기 위한 흐름도이다.2 is a flowchart illustrating a method of controlling a network camera according to an exemplary embodiment of the present invention.

도 2를 참조하면, 제어부(130)는 새로운 펌웨어 파일을 수신한 경우(S11), 새로운 펌웨어 파일에 대한 임시 파일을 생성한다(S13).Referring to FIG. 2, when a new firmware file is received (S11), the controller 130 generates a temporary file for a new firmware file (S13).

제어부(130)는 수신부(110)를 통해 새로운 펌웨어 파일의 다운로드에 성공하면(S15), 기존 펌웨어 파일에 대한 백업 이미지 파일을 생성하는 동시에 새로운 펌웨어 파일에 대한 임시 파일을 펌웨어에 반영한다(S17). 즉, 제어부(130)는 새로운 펌웨어 파일로 펌웨어를 업그레이드하는 동시에 기존 펌웨어 파일을 백업하여 이중화된 펌웨어 시스템을 구축할 수 있다.If a new firmware file is successfully downloaded through the receiving unit 110 (S15), the controller 130 generates a backup image file for the existing firmware file and reflects the temporary file for the new firmware file to the firmware (S17) . That is, the controller 130 upgrades the firmware to a new firmware file and backs up the existing firmware file to construct a redundant firmware system.

시스템 구동에 성공하면(S21), 펌웨어 업그레이드가 제대로 수행되었음을 알 수 있다. 다만, 시스템 구동에 실패하면(S21), 제어부(130)는 백업 이미지 파일을 펌웨어에 반영한다(S23). 또한, 제어부(130)는 새로운 펌웨어 다운로드에 실패하면(S15), 새로운 펌웨어 파일에 대한 임시 파일을 삭제한다(S19).If the system is successfully operated (S21), it is confirmed that the firmware upgrade has been performed properly. However, if the system fails to operate (S21), the controller 130 reflects the backup image file to the firmware (S23). If the download of the new firmware fails (S15), the control unit 130 deletes the temporary file for the new firmware file (S19).

이처럼, 본 발명의 일 실시 예에 따른 네트워크 카메라 제어 장치(100)는 새로운 펌웨어 파일에 대한 임시 파일을 삭제하거나 새로운 펌웨어 파일에 대한 임시 파일 대신 백업 이미지 파일을 펌웨어에 반영함으로써, 펌웨어 업그레이드 실패 상황에 대비할 수 있다. 예컨대, 본 발명의 일 실시 예에 따른 네트워크 카메라 제어 장치(100)는 펌웨어 시스템의 이중화를 통해, 펌웨어 업그레이드 중 전원이 차단되는 등의 돌발 상황이 발생하는 경우에도 정상적으로 부팅 등의 동작을 수행할 수 있다.As described above, the network camera control apparatus 100 according to an exemplary embodiment of the present invention deletes the temporary file for the new firmware file or reflects the backup image file to the firmware instead of the temporary file for the new firmware file, I can prepare. For example, the network camera control apparatus 100 according to an exemplary embodiment of the present invention can perform an operation such as booting normally even when an unexpected situation occurs, such as power interruption during firmware upgrade, through the redundancy of the firmware system have.

도 3 내지 도 6은 본 발명의 다른 실시 예에 따른 네트워크 카메라 제어 방법을 설명하기 위한 흐름도이다.3 to 6 are flowcharts for explaining a network camera control method according to another embodiment of the present invention.

도 3을 참조하면, 제어부(130)는 새로운 펌웨어 파일이 다운로드되면(S101), 새로운 펌웨어 파일의 압축을 해제한다(S103).Referring to FIG. 3, when a new firmware file is downloaded (S101), the controller 130 decompresses the new firmware file (S103).

제어부(130)는 부팅 상태 값을 고려하여(S105), 압축이 해제된 새로운 펌웨어 파일을, 백업 영역에 먼저 설치하여 백업 영역을 먼저 업그레이드하거나(S107), 표준 영역에 먼저 설치하여 표준 영역을 먼저 업그레이드한다(S111).The controller 130 considers the boot state value (S105), installs the new firmware file in the backup area first, and then upgrades the backup area first (S107) (S111).

부팅 상태 값은 부팅이 수행된 영역을 나타낼 수 있다. 예컨대, 부팅이 표준 영역으로 수행된 경우 부팅 상태 값은 0일 수 있고, 부팅이 백업 영역으로 수행된 경우 부팅 상태 값은 1일 수 있다. 제어부(130)는 하나의 부트 로더를 포함할 수 있고, 부팅 상태 값은 부팅을 수행할 때 선택된 부팅 영역이 표준 영역인지 또는 백업 영역인지 구분하기 위해 부트 로더가 가지는 값일 수 있다. 현재 시스템이 동작하는 영역은 부팅이 수행된 영역이다.The boot state value can indicate the area where the boot was performed. For example, the boot state value may be 0 if the boot is performed in the standard area, and the boot state value may be 1 if the boot is performed in the backup area. The control unit 130 may include one boot loader, and the boot status value may be a value of the boot loader to distinguish whether the selected boot area is a standard area or a backup area when the boot is performed. The area in which the current system operates is the area where the boot was performed.

제어부(130)는 부팅 상태 값이 0인 경우, 백업 영역을 먼저 업그레이드한 후, 백업 영역의 업그레이드가 완료되면 표준 영역을 업그레이드하고(S109), 재부팅을 수행한다(S115).If the boot status value is 0, the control unit 130 upgrades the backup area first, and then upgrades the standard area when the backup area is upgraded (S109), and performs a reboot (S115).

제어부(130)는 부팅 상태 값이 1인 경우, 표준 영역을 먼저 업그레이드한 후, 표준 영역의 업그레이드가 완료되면 백업 영역을 업그레이드하고(S109), 재부팅을 수행한다(S115).If the boot status value is 1, the control unit 130 upgrades the standard area first, then upgrades the backup area when the upgrade of the standard area is completed (S109), and performs a reboot (S115).

이처럼, 본 발명의 다른 실시 예에 따른 네트워크 카메라 제어 장치(100)는 현재 시스템이 동작하지 않는 영역부터 펌웨어 업그레이드를 진행함에 따라, 펌웨어 업그레이드 중 전원이 차단되는 등 돌발 상황이 발생하는 경우에도 현재 시스템이 동작하는 영역을 통해 정상적으로 부팅 등의 동작을 수행할 수 있다. 마찬가지로, 본 발명의 다른 실시 예에 따른 네트워크 카메라 제어 장치(100)는 현재 시스템이 동작하지 않는 영역에서의 펌웨어 업그레이드가 완료된 후, 현재 시스템이 동작하는 영역의 펌웨어 업그레이드가 정상적으로 완료되지 않은 경우에는, 현재 시스템이 동작하지 않는 영역을 통해 정상적으로 부팅 등의 동작을 수행할 수 있다.As described above, according to the network camera control apparatus 100 according to another embodiment of the present invention, when an unexpected situation occurs such as power is interrupted during the firmware upgrade as the firmware upgrade proceeds from the area where the current system does not operate, It is possible to normally perform an operation such as booting through the operating region. Likewise, if the firmware upgrade in the area where the current system operates is not completed normally after the firmware upgrade in the area where the current system is not operated is completed, the network camera control apparatus 100 according to another embodiment of the present invention, It is possible to perform an operation such as booting normally through an area where the current system does not operate.

도 4를 참조하면, 네트워크 카메라 제어 장치(100)는 펌웨어 업그레이드를 수행하기 위하여, 펌웨어 업그레이드를 수행할 영역의 FTL 상태 값을 0으로 설정하고(S301), FTL 상태 값이 0으로 설정된 영역에 저장되어 있던 기존 펌웨어를 삭제한다(S303).Referring to FIG. 4, in order to perform firmware upgrade, the network camera control device 100 sets the FTL status value of the area for performing the firmware upgrade to 0 (S301) and stores the FTL status value in the area where the FTL status value is set to 0 And deletes the existing firmware (S303).

예를 들어, 도 5를 참조하면, 제어부(130)는 부트 로더가 가지는 부팅 상태 값을 고려하여 표준 영역 및 백업 영역의 펌웨어 업그레이드 설치 순서를 결정할 수 있다.For example, referring to FIG. 5, the controller 130 may determine a firmware upgrade installation order of the standard area and the backup area by considering the boot state value of the boot loader.

예컨대, 제어부(130)는 부팅이 표준 영역으로 수행되면 부팅 상태 값을 0으로 설정할 수 있고, 부팅이 백업 영역으로 수행되면 부팅 상태 값을 1로 설정할 수 있다.For example, the controller 130 may set the boot state value to 0 if the boot is performed in the standard area, and may set the boot state value to 1 when the boot is performed in the backup area.

제어부(130)는 부팅 상태 값이 0이면 백업 영역의 펌웨어를 먼저 업그레이드한 후 표준 영역의 펌웨어를 업그레이드할 수 있고, 부팅 상태 값이 1이면 표준 영역의 펌웨어를 먼저 업그레이드한 후 백업 영역의 펌웨어를 나중에 업그레이드할 수 있다.If the boot status value is 0, the firmware of the backup area can be upgraded first and then the firmware of the standard area can be upgraded. If the boot status value is 1, the firmware of the standard area is upgraded first, You can upgrade later.

이때, 제어부(130)는 표준 영역의 FTL 상태 값 예컨대, 표준 커널 영역 FTL(12), 표준 램디스크 영역 FTL(14), 및 표준 워크 영역 FTL(16) 각각의 FTL 상태 값(121, 141, 161)을 0으로 설정하고, 표준 커널 영역 표준 램디스크 영역, 및 표준 워크 영역 각각의 기존 펌웨어를 삭제할 수 있다. 제어부(130)는 백업 영역의 FTL 상태 값 예컨대, 백업 커널 영역 FTL(22), 백업 램디스크 영역 FTL(24), 및 백업 워크 영역 FTL(26) 각각의 FTL 상태 값(221, 241, 261)을 0으로 설정하고, 백업 커널 영역, 백업 램디스크 영역, 및 백업 워크 영역 각각의 기존 펌웨어를 삭제할 수 있다.At this time, the control unit 130 sets the FTL status values 121, 141, and 142 of the standard areas such as the standard kernel area FTL 12, the standard RAM disk area FTL 14, and the standard work area FTL 16, 161) to 0, and can delete the existing firmware of each of the standard kernel area standard RAM disk area and the standard work area. The control unit 130 reads out the FTL status values 221, 241, and 261 of the backup area, for example, the backup kernel area FTL 22, the backup RAM disk area FTL 24, and the backup work area FTL 26, Is set to 0, and the existing firmware of each of the backup kernel area, the backup RAM disk area, and the backup work area can be deleted.

다시 도 4를 참조하면, 네트워크 카메라 제어 장치(100)는 펌웨어 업그레이드를 수행하기 위하여, 새로운 펌웨어를 설치하고(S305), 새로운 펌웨어가 설치된 영역의 상태 값을 해당 영역의 고유 값으로 설정한다(S307).Referring again to FIG. 4, the network camera control device 100 installs new firmware to perform firmware upgrade (S305), and sets the status value of the area in which the new firmware is installed as a unique value of the corresponding area (S307 ).

예를 들어, 다시 도 5를 참조하면, 제어부(130)는 표준 영역 및 백업 영역 각각의 FTL 상태 값을 이용하여 각 영역의 펌웨어 업그레이드 수행 여부를 표시할 수 있다. 제어부(130)는 표준 영역 및 백업 영역 각각의 커널 영역, 램디스크 영역, 및 워크 영역 순서로 새로운 펌웨어 파일을 설치할 수 있다.For example, referring to FIG. 5 again, the controller 130 may indicate whether to perform firmware upgrade of each area using the FTL status values of the standard area and the backup area. The controller 130 may install a new firmware file in the order of the kernel area, the RAM disk area, and the work area of the standard area and the backup area, respectively.

제어부(130)는 표준 영역에 새로운 펌웨어를 설치하고, 표준 영역의 FTL 상태 값 예컨대, 표준 커널 영역 FTL(12)의 FTL 상태 값(121)을 표준 커널 영역의 고유 값인 0xAA550123으로 설정하고, 표준 램디스크 영역 FTL(14)의 FTL 상태 값(141)을 표준 램디스크 영역의 고유 값인 0xAA554567로 설정하고, 표준 워크 영역 FTL(16)의 FTL 상태 값(161)을 표준 워크 영역의 고유 값인 0xAA5589AB로 설정할 수 있다. 제어부(130)는 백업 영역에 새로운 펌웨어를 설치하고, 백업 영역의 FTL 상태 값 예컨대, 백업 커널 영역 FTL(22)의 FTL 상태 값(221)을 백업 커널 영역의 고유 값인 0xAA550123으로 설정하고, 백업 램디스크 영역 FTL(24)의 FTL 상태 값(241)을 백업 램디스크 영역의 고유 값인 0xAA554567로 설정하고, 백업 워크 영역 FTL(26)의 FTL 상태 값(261)을 백업 워크 영역의 고유 값인 0xAA5589AB로 설정할 수 있다.The control unit 130 sets new firmware in the standard area and sets the FTL status value of the standard area, for example, the FTL status value 121 of the standard kernel area FTL 12 to 0xAA550123, which is a unique value of the standard kernel area, The FTL status value 141 of the disk area FTL 14 is set to 0xAA554567 which is a unique value of the standard ramdisk area and the FTL status value 161 of the standard work area FTL 16 is set to 0xAA5589AB which is a unique value of the standard work area . The control unit 130 installs new firmware in the backup area and sets the FTL status value of the backup area, for example, the FTL status value 221 of the backup kernel area FTL 22 to 0xAA550123, which is a unique value of the backup kernel area, The FTL status value 241 of the disk area FTL 24 is set to 0xAA554567 which is a unique value of the backup ram disk area and the FTL status value 261 of the backup work area FTL 26 is set to 0xAA5589AB which is a unique value of the backup work area .

이처럼, 본 발명의 다른 실시 예에 따른 네트워크 카메라 제어 장치(100)는, 새로운 펌웨어 파일의 수신에 대응하여 표준 영역 또는 백업 영역 중 부팅이 수행되지 않은 영역에 대하여, 해당 영역의 상태 값을 제1 값으로 설정한 후 저장된 기존 펌웨어 파일을 삭제하고, 수신된 새로운 펌웨어 파일을 저장한 후 해당 영역의 상태 값을 제1 값과 상이한 제2 값으로 설정함으로써, 펌웨어 업그레이드 수행 여부를 나타낼 수 있다.As described above, the network camera control apparatus 100 according to another embodiment of the present invention controls the status value of the corresponding region to be the first And then stores the received new firmware file, and then sets the state value of the corresponding area to a second value different from the first value, thereby indicating whether or not the firmware upgrade is performed.

도 6을 참조하면, 네트워크 카메라 제어 장치(100)는 부팅 또는 앞서 도 3을 참조하여 설명한 재부팅(S115)을 수행함에 있어서, 표준 영역의 FTL 상태 값을 고려한다(S501).Referring to FIG. 6, the network camera control apparatus 100 considers the FTL status value of the standard area in booting or performing the reboot S115 described above with reference to FIG. 3 (S501).

제어부(130)는 예컨대, 표준 영역의 FTL 상태 값이 0이 아닌 경우에는 표준 영역으로 부팅을 수행하고(S503), 표준 영역의 FTL 상태 값이 0인 경우에는 백업 영역의 FTL 상태 값을 고려한다(S505).If the FTL status value of the standard area is not 0, the controller 130 performs booting to the standard area (S503). If the FTL status value of the standard area is 0, the controller 130 considers the FTL status value of the backup area (S505).

앞서 제어부(130)는 기존 펌웨어가 삭제된 영역의 상태 값을 0으로, 새로운 펌웨어가 설치된 영역의 상태 값을 0이 아닌 해당 영역의 고유 값으로 설정하였으므로, 제어부(130)는 상태 값이 0이 아닌 경우에는 해당 영역의 펌웨어 업그레이드가 정상적으로 수행되었다고 판단하고, 상태 값이 0인 경우에는 해당 영역의 펌웨어 업그레이드가 정상적으로 수행되지 않고 문제가 발생하였다고 판단할 수 있다.The controller 130 sets the status value of the area in which the existing firmware is deleted to 0 and the status value of the area in which the new firmware is installed to a value other than 0, It is determined that the firmware upgrade of the corresponding area has been normally performed. If the status value is 0, it is determined that the firmware upgrade of the corresponding area is not normally performed and a problem occurs.

제어부(130)는 표준 영역을 우선적으로 부팅 수행 영역으로 판단할 수 있다. 따라서, 제어부(130)는 표준 커널 영역, 표준 램디스크 영역, 및 표준 워크 영역 각각의 FTL 상태 값이 모두 0이 아닌 경우 즉, 모두 고유 값인 경우에는 백업 영역의 FTL 상태 값에 상관 없이, 표준 영역으로 부팅을 수행할 수 있다.The controller 130 may determine that the standard area is preferentially the boot execution area. Accordingly, when the FTL status values of the standard kernel area, the standard RAM disk area, and the standard work area are not all 0, that is, if they are all unique values, the control part 130 determines whether the FTL status value of the standard area, To boot.

이어서, 제어부(130)는 예컨대, 표준 커널 영역, 표준 램디스크 영역, 및 표준 워크 영역 중 적어도 하나의 FTL 상태 값이 0이고, 백업 커널 영역, 백업 램디스크 영역, 및 백업 워크 영역 각각의 FTL 상태 값이 모두 0이 아닌 경우에는 백업 영역으로 부팅을 수행한다(S507).Then, the controller 130 determines whether the FTL status value of at least one of the standard kernel area, the standard RAM disk area, and the standard work area is 0 and the FTL status of each of the backup kernel area, the backup RAM disk area, If the values are not all 0, the booting is performed in the backup area (S507).

이처럼, 본 발명의 다른 실시 예에 따른 네트워크 카메라 제어 장치(100)는, 업그레이드가 수행된 후, 표준 커널 영역, 표준 램디스크 영역, 및 표준 워크 영역 각각의 FTL 상태 값 또는 백업 커널 영역, 백업 램디스크 영역, 및 백업 워크 영역 각각의 FTL 상태 값에 기초하여 부팅 영역을 결정함으로써, 새로운 펌웨어가 정상적으로 설치된 영역 또는 새로움 펌웨어 설치가 실패한 경우라도 기존 펌웨어가 정상적으로 설치된 영역에서 시스템을 동작시킬 수 있다.As described above, the network camera control apparatus 100 according to another embodiment of the present invention, after performing the upgrade, calculates the FTL status value of each of the standard kernel area, the standard RAM disk area, and the standard work area or the backup kernel area, The boot area is determined based on the FTL status values of the disk area and the backup work area so that the system can be operated in an area in which the existing firmware is normally installed even if the area where the new firmware is normally installed or the installation of the new firmware fails.

본 발명의 실시 예들에 따르면, 한정된 메모리 영역 내에서 시스템을 이중화하여 부팅 및 펌웨어 업그레이드를 실시할 수 있으므로 보다 효율적이고 안정적으로 펌웨어를 업그레이드할 수 있다.According to the embodiments of the present invention, the system can be duplicated within a limited memory area to perform booting and firmware upgrading, so that firmware can be upgraded more efficiently and stably.

한편, 본 발명은 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터가 읽을 수 있는 코드로 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록 매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함한다.Meanwhile, the present invention can be embodied in computer readable code on a computer readable recording medium. A computer-readable recording medium includes all kinds of recording apparatuses in which data that can be read by a computer system is stored.

컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현하는 것을 포함한다. 또한, 컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산 방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고 본 발명을 구현하기 위한 기능적인(functional) 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술 분야의 프로그래머들에 의하여 용이하게 추론될 수 있다.Examples of the computer-readable recording medium include a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device and the like, and also a carrier wave (for example, transmission via the Internet) . In addition, the computer-readable recording medium may be distributed over network-connected computer systems so that computer readable codes can be stored and executed in a distributed manner. In addition, functional programs, codes, and code segments for implementing the present invention can be easily deduced by programmers skilled in the art to which the present invention belongs.

이제까지 본 발명에 대하여 실시 예를 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 본 발명을 구현할 수 있음을 이해할 것이다. 그러므로 상기 개시된 실시 예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 한다.The present invention has been described above with reference to embodiments. It will be understood by those skilled in the art that the present invention may be embodied in various other forms without departing from the spirit or essential characteristics thereof. Therefore, the above-described embodiments should be considered in an illustrative rather than a restrictive sense. The scope of the present invention is indicated by the appended claims rather than by the foregoing description, and all differences within the scope of equivalents thereof should be construed as being included in the present invention.

100: 네트워크 카메라 제어 장치
110: 수신부
120: 저장부
130: 제어부
100: Network camera control device
110:
120:
130:

Claims (5)

펌웨어의 업그레이드를 수행하는 네트워크 카메라 제어 장치에 있어서,
새로운 펌웨어 파일을 다운로드하는 수신부;
표준 영역 및 백업 영역을 포함하고, 기존 펌웨어 파일 또는 상기 새로운 펌웨어 파일을 저장하는 저장부; 및
상기 표준 영역 또는 상기 백업 영역으로 부팅을 수행하고, 상기 새로운 펌웨어 파일의 수신에 대응하여 상기 표준 영역 또는 상기 백업 영역 중에서 부팅이 수행되지 않은 영역에 상기 새로운 펌웨어 파일을 저장하는 제어부를 포함하는 네트워크 카메라 제어 장치.
A network camera control device for performing firmware upgrade, comprising:
A receiving unit for downloading a new firmware file;
A storage unit including a standard area and a backup area and storing an existing firmware file or the new firmware file; And
And a controller for performing booting to the standard area or the backup area and storing the new firmware file in an area not booted from the standard area or the backup area in response to receiving the new firmware file, controller.
제1항에 있어서,
상기 제어부는,
상기 새로운 펌웨어 파일의 수신에 대응하여, 상기 부팅이 수행되지 않은 영역의 FTL(Flash Translation Layer) 상태 값을 제1 값으로 설정한 후 상기 부팅이 수행되지 않은 영역에 저장된 상기 기존 펌웨어 파일을 삭제하고, 상기 부팅이 수행되지 않은 영역에 상기 새로운 펌웨어 파일을 저장한 후 상기 부팅이 수행되지 않은 영역의 FTL 상태 값을 상기 제1 값과 상이한 제2 값으로 설정하는 네트워크 카메라 제어 장치.
The method according to claim 1,
Wherein,
In response to the receipt of the new firmware file, the FTL (Flash Translation Layer) status value of the unbootable area is set to the first value, and the existing firmware file stored in the unbootable area is deleted Storing the new firmware file in an area where booting has not been performed, and then setting an FTL status value of an area where the booting has not been performed to a second value different from the first value.
제2항에 있어서,
상기 제어부는,
상기 표준 영역에 포함된 제1 커널 영역, 제1 램디스크 영역 및 제1 워크 영역 각각의 FTL 상태 값이 상기 제1 값이고, 상기 백업 영역에 포함된 제2 커널 영역, 제2 램디스크 영역 및 제2 워크 영역 각각의 FTL 상태 값이 상기 제2 값이면, 상기 백업 영역으로 부팅을 수행하고, 부팅 상태 값을 1로 설정하고,
상기 제1 커널 영역, 상기 제1 램디스크 영역 및 상기 제1 워크 영역 각각의 FTL 상태 값이 상기 제2 값이면, 상기 표준 영역으로 부팅을 수행하고, 부팅 상태 값을 0으로 설정하는 네트워크 카메라 제어 장치.
3. The method of claim 2,
Wherein,
Wherein the FTL state value of each of the first kernel area, the first ram disk area, and the first work area included in the standard area is the first value, the second kernel area, the second ram disk area, If the FTL status value of each of the second work areas is the second value, booting to the backup area, setting the boot status value to 1,
If the FTL status value of each of the first kernel area, the first RAM disk area, and the first work area is the second value, booting to the standard area and setting the boot status value to 0, Device.
제2항에 있어서,
상기 제1 값은 모든 영역에서 동일하고, 상기 제2 값은 영역 별로 상이한
네트워크 카메라 제어 장치.
3. The method of claim 2,
Wherein the first value is the same in all regions, and the second value is different in each region
Network camera control device.
펌웨어의 업그레이드를 수행하는 네트워크 카메라 제어 방법에 있어서,
표준 영역 또는 백업 영역으로 부팅을 수행하는 단계;
새로운 펌웨어 파일을 다운로드하는 단계;
상기 표준 영역 또는 상기 백업 영역 중에서 부팅이 수행되지 않은 영역의 FTL 상태 값을 제1 값으로 설정하한 후 상기 부팅이 수행되지 않은 영역에 저장된 기존 펌에어 파일을 삭제하는 단계;
상기 부팅이 수행되지 않은 영역에 상기 새로운 펌웨어 파일을 저장한 후 상기 부팅이 수행되지 않은 영역의 FTL 상태 값을 상기 제1 값과 상이한 제2 값으로 설정하는 단계;
상기 표준 영역에 포함된 제1 커널 영역, 제1 램디스크 영역 및 제1 워크 영역 각각의 FTL 상태 값이 상기 제1 값이고, 상기 백업 영역에 포함된 제2 커널 영역, 제2 램디스크 영역 및 제2 워크 영역 각각의 FTL 상태 값이 상기 제2 값이면, 상기 백업 영역으로 부팅을 수행하고, 부팅 상태 값을 1로 설정하는 단계; 및
상기 제1 커널 영역, 상기 제1 램디스크 영역 및 상기 제1 워크 영역 각각의 FTL 상태 값이 상기 제2 값이면, 상기 표준 영역으로 부팅을 수행하고, 부팅 상태 값을 0으로 설정하는 단계를 포함하고,
상기 제1 값은 모든 영역에서 동일하고, 상기 제2 값은 영역 별로 상이한 네트워크 카메라 제어 방법.
A network camera control method for performing firmware upgrade,
Performing booting to a standard area or a backup area;
Downloading a new firmware file;
Setting an FTL status value of an area not booted in the standard area or the backup area to a first value and then deleting an existing firmware air file stored in an area not booted;
Storing the new firmware file in an area where booting has not been performed, and setting an FTL status value of the booted area to a second value different from the first value;
Wherein the FTL state value of each of the first kernel area, the first ram disk area, and the first work area included in the standard area is the first value, the second kernel area, the second ram disk area, If the FTL state value of each of the second work areas is the second value, booting to the backup area and setting a boot state value to 1; And
If the FTL status value of each of the first kernel area, the first ram disk area, and the first work area is the second value, booting into the standard area and setting the boot status value to 0 and,
Wherein the first value is the same in all areas, and the second value is different in each area.
KR1020150097864A 2015-07-09 2015-07-09 Apparatus and method for controlling network camera KR102282468B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150097864A KR102282468B1 (en) 2015-07-09 2015-07-09 Apparatus and method for controlling network camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150097864A KR102282468B1 (en) 2015-07-09 2015-07-09 Apparatus and method for controlling network camera

Publications (2)

Publication Number Publication Date
KR20170006747A true KR20170006747A (en) 2017-01-18
KR102282468B1 KR102282468B1 (en) 2021-07-27

Family

ID=57992327

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150097864A KR102282468B1 (en) 2015-07-09 2015-07-09 Apparatus and method for controlling network camera

Country Status (1)

Country Link
KR (1) KR102282468B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210023342A (en) 2019-08-23 2021-03-04 한화테크윈 주식회사 Apparatus for calculating motion vector, and method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040058450A (en) * 2002-12-26 2004-07-05 삼성전자주식회사 Set Top Box and controlling method thereof
KR20070084891A (en) * 2006-02-22 2007-08-27 삼성전자주식회사 Apparatus and method for upgrading firmware using digital multimedia broadcasting
KR20090041060A (en) * 2007-10-23 2009-04-28 브로드밴드미디어주식회사 Internet protocol television system and method for self-recovering using the same
KR101281719B1 (en) 2011-05-26 2013-07-03 주식회사 앰투앰넷 Mobile terminal comprising internal memory storing backup software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040058450A (en) * 2002-12-26 2004-07-05 삼성전자주식회사 Set Top Box and controlling method thereof
KR20070084891A (en) * 2006-02-22 2007-08-27 삼성전자주식회사 Apparatus and method for upgrading firmware using digital multimedia broadcasting
KR20090041060A (en) * 2007-10-23 2009-04-28 브로드밴드미디어주식회사 Internet protocol television system and method for self-recovering using the same
KR101281719B1 (en) 2011-05-26 2013-07-03 주식회사 앰투앰넷 Mobile terminal comprising internal memory storing backup software

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210023342A (en) 2019-08-23 2021-03-04 한화테크윈 주식회사 Apparatus for calculating motion vector, and method thereof

Also Published As

Publication number Publication date
KR102282468B1 (en) 2021-07-27

Similar Documents

Publication Publication Date Title
US6928579B2 (en) Crash recovery system
US6971095B2 (en) Automatic firmware version upgrade system
US8122447B2 (en) Firmware installation
US8136108B2 (en) Updating firmware with multiple processors
KR101427755B1 (en) Device and method for firmware upgrade using usb
US10747523B2 (en) Methods of updating firmware components, computer systems and memory apparatus
CN101815988A (en) Firmware image update and management
CN105681060A (en) Virtualization network function management upgrading method and apparatus and virtualization network function management server
EP2805233B1 (en) Installation engine and package format for parallelizable, reliable installations
CN110865819B (en) OS installation method, server and system
US9058231B2 (en) Deployment of operating systems with detection of loop conditions
KR101576370B1 (en) System and method for remote restoration of computer system, and computer-readable recording medium with program therefor
EP3260981B1 (en) Information processing apparatus, information processing system, and information processing method for updating firmware
CN102298531B (en) Method for upgrading flash memory file system in embedded system
KR102282468B1 (en) Apparatus and method for controlling network camera
CN108897565B (en) Software upgrading method and device in electronic equipment and electronic equipment
KR100832269B1 (en) Program update method and system for wireless communication terminal
US10509646B2 (en) Software update rollbacks using file system volume snapshots
JP2007206819A (en) Information processor, control method and program for information processor
US10120677B2 (en) Method of rewriting printer firmware, and printer
CN113721959A (en) Information processing method and device and electronic equipment
JP6099106B2 (en) Method, computer system, and memory device for providing at least one data carrier
KR102423056B1 (en) Method and system for swapping booting disk
KR100861751B1 (en) Management system of multiple client pc at facilities using multiple client pc
KR101653862B1 (en) Remote restoration device of computer system

Legal Events

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