KR20180130132A - Method for booting and upgrading a central controller of an air conditioner - Google Patents

Method for booting and upgrading a central controller of an air conditioner Download PDF

Info

Publication number
KR20180130132A
KR20180130132A KR1020170065796A KR20170065796A KR20180130132A KR 20180130132 A KR20180130132 A KR 20180130132A KR 1020170065796 A KR1020170065796 A KR 1020170065796A KR 20170065796 A KR20170065796 A KR 20170065796A KR 20180130132 A KR20180130132 A KR 20180130132A
Authority
KR
South Korea
Prior art keywords
booting
boot
central controller
usb
abnormal
Prior art date
Application number
KR1020170065796A
Other languages
Korean (ko)
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 KR1020170065796A priority Critical patent/KR20180130132A/en
Publication of KR20180130132A publication Critical patent/KR20180130132A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • Fuzzy Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to a method for booting and upgrading a central controller of an air conditioner. The method comprises the steps of: receiving a boot start command and executing a bootloader; determining whether booting is abnormal; rebooting in a backup mode when the booting is abnormal; determining whether the booting in the backup mode is abnormal; and rebooting in a USB mode when the booting in the backup mode is abnormal.

Description

공기조화장치의 중앙제어기의 부팅 및 업그레이드 방법{Method for booting and upgrading a central controller of an air conditioner}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of booting and upgrading a central controller of an air conditioner,

본 발명은 공기조화장치의 중앙제어기의 부팅 및 업그레이드 방법에 관한 것이다.The present invention relates to a method of booting and upgrading a central controller of an air conditioner.

공기조화장치는 사용자에게 더욱 쾌적한 실내환경을 조성하기 위해 실내를 냉/난방하거나 공기를 정화하는 장치를 말한다.The air conditioner is a device for cooling / heating the room or purifying the air to create a more comfortable indoor environment for the user.

이러한 공기조화장치는 실내기와 실외기를 각각 분리한 분리형 공기조화장치와, 실내기와 실외기가 하나의 장치로 결합된 일체형 공기조화장치로 구분할 수 있다. 또한, 공기조화장치의 용량에 따라 하나의 실내기를 구동시킬 수 있는 용량으로 좁은 장소에서 이용하도록 구성된 싱글 공기조화장치, 회사 또는 음식점에서 사용할 수 있도록 매우 큰 용량으로 구성된 중대형 공기조화장치 및 다수개의 실내기를 충분히 구동시킬 수 있는 용량으로 구성된 멀티 공기조화장치 등으로 구분할 수도 있다. Such an air conditioner can be classified into a separate type air conditioner in which an indoor unit and an outdoor unit are separated from each other, and an integrated type air conditioner in which an indoor unit and an outdoor unit are combined into one unit. In addition, a single air conditioner configured to be used in a narrow place with a capacity capable of driving one indoor unit according to the capacity of the air conditioner, a middle- or large-sized air conditioner configured with a very large capacity for use in a company or a restaurant, And a multi-function air conditioner configured to sufficiently drive the air conditioner.

이때, 분리형 공기조화장치는 실내에 설치되어 공조 공간 내부로 온풍 또는 냉풍을 공급하는 실내기와 실내기에서 충분한 열교환 동작이 이루어질 수 있도록 냉매의 압축 또는 팽창을 수행하는 실외기로 구성된다.At this time, the separate type air conditioner is composed of an indoor unit installed in a room and supplying warm air or cold air to the inside of the air conditioning space, and an outdoor unit performing compression or expansion of refrigerant so that sufficient heat exchange operation can be performed in the indoor unit.

공기조화장치는 내부를 순환하는 냉매가 압축, 응축, 팽창 및 증발의 순으로 순환하여 열을 전하는 사이클을 가진다. 상기 사이클에 따라 공기조화장치는 하절기에는 실내의 열을 외부로 배출하는 냉방 사이클로 동작하고, 동절기에는 냉방 사이클과 반대로 순환하여 실내로 열을 공급하는 히트 펌프(Heat pump)의 난방 사이클로 동작한다.The air conditioner has a cycle in which the refrigerant circulating in the inside circulates heat in the order of compression, condensation, expansion and evaporation. In accordance with the cycle, the air conditioner operates as a cooling cycle for discharging heat to the outside in the summer, and a heating pump for circulating the heat to the inside of the room in the winter season.

멀티 공기조화장치의 경우, 복수의 실외기는 중앙제어기와 연결되어 관리자는 복수의 실외기 및 복수의 실내기를 개별적으로 또는 동시에 작동하도록 제어할 수 있다.In the case of the multi-type air conditioner, the plurality of outdoor units are connected to the central controller so that the manager can control the plurality of outdoor units and the plurality of indoor units to operate individually or simultaneously.

중앙제어기를 켜면 부팅하면서 자동으로 버전을 체크하여 필요한 경우 업그레이드를 한다.When the central controller is turned on, it automatically checks the version at boot time and upgrades if necessary.

중앙제어기에는 시스템 파일과 백업 파일이 존재하는데, 시스템 파일이 깨질 경우 백업 파일을 이용하여 부팅 및 업그레이드를 할 수 있다.There are system files and backup files on the central controller. If the system files are corrupted, you can boot and upgrade using the backup files.

그런데 시스템 파일과 백업 파일이 모두 깨질 경우에는 부팅 및 업그레이드가 불가능하게 된다.However, if both the system file and the backup file are destroyed, booting or upgrading becomes impossible.

대한민국 등록특허공보 제10-0818237호에는 휴대용 기기의 동작수행에 대한 펌웨어를 업그레이드 시킬 수 있는 펌웨어 업그레이드 시스템 및 방법이 개시되어 있다.Korean Patent Registration No. 10-0818237 discloses a firmware upgrade system and method capable of upgrading firmware for performing an operation of a portable device.

펌웨어 업그레이드 시스템은, 통신망을 통해 접속된 서버로부터 최신 버전의 펌웨어를 다운로드할 수 있는 컴퓨터, 및 컴퓨터에 접속되며 컴퓨터와 데이터의 송수신이 가능한 휴대용기기를 구비한다. 여기서, 휴대용기기는 플래시메모리를 구비하며 컴퓨터에 다운로드된 펌웨어와 플래시메모리에 저장된 펌웨어를 비교하여 다운로드된 펌웨어가 플래시메모리에 저장된 펌웨어보다 최신 버전이면 플래시메모리에 저장된 펌웨어를 다운로드된 펌웨어로 업그레이드시킬 수 있도록 구현된다.The firmware upgrade system includes a computer capable of downloading the latest version of firmware from a server connected through a communication network, and a portable device connected to the computer and capable of transmitting and receiving data with the computer. Here, the portable device has a flash memory and compares the firmware downloaded to the computer with the firmware stored in the flash memory. If the downloaded firmware is newer than the firmware stored in the flash memory, the firmware stored in the flash memory can be upgraded to the downloaded firmware .

하지만, 이는 네트워크를 통해서만 업그레이드할 수 있고, 이 업그레이드는 시스템이 안정적이고 부팅이 완료되었을 때에만 할 수 있다. 즉, 시스템이 불안정할 때에는 네트워크를 통해서 업그레이드할 수 없으며, 백업 파일까지 깨져서 버전 체크조차 할 수 없는 경우에는 부팅 및 업그레이드를 할 수 없는 문제점이 있다.However, it can only be upgraded over the network, and this upgrade can only be done when the system is stable and booting is complete. In other words, when the system is unstable, it can not be upgraded through the network, and when the backup file is destroyed and even the version check can not be performed, there is a problem that booting and upgrading can not be performed.

본 발명은 공기조화기의 중앙제어기의 시스템 파일에서 유저 파티션과 백업 파티션이 모두 깨졌을 때에도 네트워크와 같은 복잡한 환경의 제약 없이 USB를 이용하여 부팅 및 업그레이드를 할 수 있는 방법을 제공하는 것을 목적으로 한다.An object of the present invention is to provide a method of booting and upgrading using a USB without restriction of a complicated environment such as a network even when both the user partition and the backup partition are broken in the system file of the central controller of the air conditioner.

상기 목적을 달성하기 위한 본 발명의 공기조화장치에서 복수의 실외기 및 실내기를 제어하는 중앙제어기의 부팅 및 업그레이드 방법은, 부팅 시작 명령이 입력되어 부트로더(bootloader)를 실행하는 단계, 부팅이 비정상인지 여부를 판단하는 단계, 부팅이 비정상인 경우, 백업 모드로 재부팅하는 단계, 백업 모드로 한 부팅이 비정상인지 여부를 판단하는 단계, 및 백업 모드로 한 부팅이 비정상인 경우, USB 모드로 재부팅하는 단계를 포함한다.In order to accomplish the above object, a booting and upgrading method of a central controller for controlling a plurality of outdoor units and indoor units in an air conditioner of the present invention includes a step of executing a boot loader by inputting a boot start command, Determining whether or not the booting in the backup mode is abnormality, and, if the booting in the backup mode is abnormal, rebooting to the USB mode .

상기 부팅이 비정상인지 여부를 판단하는 단계에서, 부팅 원인이 워치독 타이머(watchdog timer)에 의한 3회 이상의 리셋(reset)인지 여부를 판단하는 것이 바람직하다.It is preferable to determine whether the boot cause is a reset of three or more times by a watchdog timer in the step of determining whether the boot is abnormal.

상기 백업 모드로 한 부팅이 비정상인지 여부를 판단하는 단계에서, 부팅 원인이 워치독 타이머(watchdog timer)에 의한 2회 이상의 리셋(reset)인지 여부를 판단하는 것이 바람직하다.It is preferable to determine whether or not the boot cause is a reset of two or more times by a watchdog timer in the step of determining whether or not booting in the backup mode is abnormal.

상기 USB 모드로 재부팅하는 단계는, USB의 BIOS에서 부트로더를 RAM으로 불러오는 단계, 및 상기 부트로더를 실행하는 단계를 포함하는 것이 바람직하다.The step of rebooting into the USB mode preferably includes the steps of loading the boot loader into the RAM in the BIOS of the USB, and executing the boot loader.

상기 부트로더를 실행하는 단계는, CPU 및 메모리관리장치(MMU: memory management unit)를 초기화하는 단계, 기본 하드웨어를 초기화하는 단계, USB 인식 소프트웨어를 실행하는 단계, 커널(kernel) 파일을 RAM으로 로딩하는 단계, 및 커널 및 파일 시스템을 실행하는 단계를 포함하는 것이 바람직하다.The step of executing the boot loader includes the steps of initializing a CPU and a memory management unit (MMU), initializing basic hardware, executing USB recognition software, loading a kernel file into a RAM , And executing the kernel and the file system.

상기한 본 발명의 공기조화장치의 중앙제어기의 부팅 및 업그레이드 방법에 의하면, 중앙제어기의 시스템 파일에서 유저 파티션과 백업 파티션이 모두 깨졌을 때에도 네트워크와 같은 복잡한 환경의 제약 없이 USB를 이용하여 부팅 및 업그레이드를 할 수 있다.According to the booting and upgrading method of the central controller of the air conditioner of the present invention, even when the user partition and the backup partition are both broken in the system file of the central controller, can do.

또한, USB를 이용하여 부팅 및 업그레이드를 하는 과정에서, 불완전했던 커널 및 시스템 파일은 완전한 커널 및 시스템 파일로 대체될 수 있다.Also, during booting and upgrading using USB, incomplete kernel and system files can be replaced with complete kernel and system files.

그리고, 중앙제어기의 부팅 자체가 불가능한 상황에서도 전문가의 도움 없이도 사용자가 USB 메모리를 이용하여 쉽게 부팅 및 업그레이드를 할 수 있다.And, even if the central controller can not boot itself, the user can boot and upgrade easily using the USB memory without the help of a specialist.

도 1은 본 발명의 일 실시예에 따른 공기조화장치의 구성을 나타내는 개략도이다.
도 2는 본 발명의 바람직한 실시예에 따른 중앙제어기의 부팅 및 업그레이드 방법을 나타내는 플로우차트이다.
도 3은 USB의 부트로더를 이용하여 부팅하는 과정을 나타내는 플로우차트이다.
1 is a schematic view showing a configuration of an air conditioner according to an embodiment of the present invention.
2 is a flowchart illustrating a method of booting and upgrading a central controller according to a preferred embodiment of the present invention.
3 is a flowchart showing a process of booting using a USB boot loader.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명한다. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시예에 따른 공기조화장치의 구성을 나타내는 개략도이다.1 is a schematic view showing a configuration of an air conditioner according to an embodiment of the present invention.

도 1에는 복수의 실외기(31, 33, 35, 37)가 도시되어 있는데, 실외기는 냉방 또는 난방하려는 공간의 크기에 따라 하나 또는 복수개가 설치될 수 있다.1, a plurality of outdoor units 31, 33, 35, and 37 are illustrated, and one or a plurality of outdoor units may be installed depending on the size of a space for cooling or heating.

실외기에는 압축기와 열교환기 및 송풍팬이 구비되며, 상기 열교환기는 냉방시에 응축기로 기능하고 난방시에 증발기로 기능할 수 있다.The outdoor unit is provided with a compressor, a heat exchanger, and a blower fan. The heat exchanger functions as a condenser during cooling and as an evaporator during heating.

상기 복수의 실외기는 각각 하나 또는 복수의 실내기(41 ~ 53)와 냉매관 및 전선을 통해 연결될 수 있다.The plurality of outdoor units may be connected to one or a plurality of indoor units (41 to 53) through refrigerant pipes and electric wires.

실내기에는 열교환기 및 송풍팬이 구비되며, 상기 열교환기는 냉방시에 증발기로 기능하고 난방시에 응축기로 기능할 수 있다.The indoor unit is provided with a heat exchanger and a blower, and the heat exchanger functions as an evaporator during cooling and as a condenser during heating.

상기 실외기와 실내기는 냉매관을 통해 냉매가 순환하도록 연결되고, 외부 전원과 연결되어 상기 압축기와 송풍팬 등에 전력이 공급된다.The outdoor unit and the indoor unit are connected to circulate the refrigerant through a refrigerant pipe, and are connected to an external power source to supply power to the compressor and the blowing fan.

상기 복수의 실내기(41 ~ 53)에는 각각 그 실내기가 설치된 위치의 실내 공기 온도를 측정하는 온도센서가 구비된다.The plurality of indoor units (41 to 53) are each provided with a temperature sensor for measuring indoor air temperature at a position where the indoor unit is installed.

상기 복수의 실외기(31, 33, 35, 37)는 중앙제어기(20)와 연결되어 관리자는 복수의 실외기 및 복수의 실내기를 개별적으로 또는 동시에 작동하도록 제어할 수 있다.The plurality of outdoor units (31, 33, 35, 37) are connected to the central controller (20) so that the administrator can control the plurality of outdoor units and the plurality of indoor units to operate individually or simultaneously.

상기 중앙제어기(20)는 제어 대상이 되는 실내기 번호와 그 온도센서에 의해 측정된 실내 온도 등의 상태 정보를 표시하는 표시부(21)와, 관리자가 목표 온도 범위 등을 설정하기 위해 입력하는 입력버튼들(23, 24)을 구비할 수 있다.The central controller 20 includes a display unit 21 for displaying status information such as an indoor unit number to be controlled and room temperature measured by the temperature sensor, (23, 24).

상기 중앙제어기(20)는 관리자 컴퓨터(10)와 연결되어 더 큰 모니터를 통해 제어 대상들이 일목요연하게 표시될 수 있고, 키보드와 마우스 등의 입력장치를 통해 더욱 편리하게 공기조화장치를 제어할 수 있다.The central controller 20 is connected to the manager computer 10 so that control objects can be clearly displayed through a larger monitor and the air conditioner can be more conveniently controlled through an input device such as a keyboard and a mouse .

다만, 상기 관리자 컴퓨터(10)가 없더라도 상기 중앙제어기(20) 자체에 마이크로컴퓨터와 메모리부, 통신부 등을 구비하고 있기 때문에, 관리자는 상기 중앙제어기(20)를 통해서만 공기조화장치를 제어할 수 있다.Since the central controller 20 itself includes a microcomputer, a memory unit, and a communication unit even if the manager computer 10 is not provided, the manager can control the air conditioner only through the central controller 20 .

상기 중앙제어기(20)는 기기 온/오프, 모드 변경, 설정값 입력, 송풍팬 속도 조절, 루버 스윙(Louver Swing) 등의 기본적인 기능 외에, 상기 기본 기능들의 작동 예약, 설정값 자동 변경, 온도 설정범위 제한, 리모컨 잠금 설정, 디지털 출력 키트(Digital Output Kit)의 매뉴얼 제어 및 스케줄링(Manual Control and Scheduling), 피크/디맨드 제어(Peak/Demand Control), SD 카드 슬롯, 파워 분배 표시기(PDI: Power Distribution Indicator) 통합 등의 고급 기능들을 제공하는 고급 제어 플랫폼(ACP: Advanced Control Platform)인 것이 바람직하다.In addition to the basic functions such as device on / off, mode change, setting value input, blowing fan speed control, louver swing, etc., the central controller 20 can also operate the basic functions, (PDI), power management and scheduling, manual control and scheduling of digital output kits, Peak / Demand control, SD card slot, Power Distribution (ACP), which provides advanced functions such as integration of information and indicators.

상기 복수의 실외기(31, 33, 35, 37)에는 각각 실외기와 중앙제어기(20) 사이에 통신할 수 있도록 하는 게이트웨이(32, 34, 36,38)가 구비될 수 있다.The plurality of outdoor units 31, 33, 35, and 37 may include gateways 32, 34, 36, and 38 for communicating between the outdoor unit and the central controller 20, respectively.

상기 중앙제어기(20)는 하나의 실외기(31)에 구비된 게이트웨이(32)와 연결되고 상기 게이트웨이(32)는 다른 게이트웨이(34, 36,38)들과 순차적으로 연결됨으로써, 모든 게이트웨이(32, 34, 36,38)와 연결되어 통신할 수 있으므로 각 실외기(31, 33, 35, 37) 및 이들에 연결된 실내기(41~53)를 제어할 수 있다.The central controller 20 is connected to a gateway 32 provided in one outdoor unit 31 and the gateway 32 is sequentially connected to the other gateways 34, 36 and 38, 33, 35, and 37 and the indoor units 41 to 53 connected to the outdoor units 31, 33, 35, and 37, respectively.

각 실내기에 구비된 온도센서에 의해 측정되는 실내 온도 데이터는 상기 중앙제어기(20)로 전송되고, 중앙제어기(20)는 측정된 실내 온도에 따라 실외기와 실내기를 냉방 또는 난방 모드로 작동하도록 제어한다.Room temperature data measured by a temperature sensor provided in each indoor unit is transmitted to the central controller 20, and the central controller 20 controls the outdoor unit and the indoor unit to operate in a cooling or heating mode according to the measured room temperature .

이하, 도 2를 참조하여 본 발명의 바람직한 실시예에 따른 중앙제어기의 부팅 및 업그레이드 방법을 설명한다.Hereinafter, a booting and upgrading method of a central controller according to a preferred embodiment of the present invention will be described with reference to FIG.

사용자가 중앙제어기(20)를 켜면 시스템 파일에 의해 부팅이 시작된다(S10).When the user turns on the central controller 20, booting is started by the system file (S10).

그러면, 기본적으로 부트로더(bootloader)를 실행하여 부팅을 진행한다(S20).Then, basically, the boot loader (boot loader) is executed to proceed with booting (S20).

부트로더란 운영체제가 시동되기 이전에 미리 실행되면서 커널(kernel)이 올바르게 시동되기 위해 필요한 모든 관련 작업을 마무리하고 최종적으로 운영체제를 시동시키기 위한 목적을 가진 프로그램을 말한다.A boot loader is a program that runs before the operating system starts up, finishes all the tasks necessary for the kernel to start properly, and finally starts the operating system.

중앙제어기(20)가 부팅되면 그 부팅이 비정상인지 여부를 판단한다.When the central controller 20 is booted, it is determined whether or not the boot is abnormal.

구체적으로는, 부팅 원인이 워치독 타이머(watchdog timer)에 의한 3회 이상의 리셋(reset)인지 여부를 판단한다(S30).Specifically, it is determined whether the boot cause is reset three times or more by a watchdog timer (S30).

워치독 타이머는 컴퓨터의 오작동을 탐지하고 복구하기 위해 쓰이는 전자 타이머로서 단순히 "워치독"이라고도 한다. 정상 작동 중의 컴퓨터는 시간이 경과하거나 "타임아웃"이 되는 것을 막기 위해, 정기적으로 워치독 타이머를 재가동 시킨다. 만약, 하드웨어의 결함 혹은 프로그램 오류로 인해 컴퓨터가 워치독을 재가동하는 데 실패하면, 타이머가 시간을 두고 타임아웃 신호를 생성한다. 이 타임아웃 신호는 여러 시정 조치를 취하는데 쓰인다. 이 시정 조치는 일반적으로 컴퓨터 시스템을 안전한 상태로 유지하는 것과 정상적인 시스템 작동으로 원상복귀시키는 것을 포함한다.The watchdog timer is also known as a "watchdog", an electronic timer used to detect and recover from computer malfunctions. During normal operation, the computer periodically restarts the watchdog timer to prevent timeouts or "timeouts". If the computer fails to restart the watchdog due to a hardware fault or a program error, the timer generates a timeout signal over time. This timeout signal is used to take several corrective actions. This corrective action generally involves keeping the computer system in a safe state and restoring it to normal operation.

부팅이 정상적으로 이루어지지 않으면 워치독 타이머는 자동으로 중앙제어기를 리셋하게 된다.If booting is not successful, the watchdog timer will automatically reset the central controller.

워치독 타이머에 의해 리셋되더라도 그 횟수가 2회 이하이고 마지막 리셋에 의해 정상적으로 부팅된 경우에는, 시스템 파일의 유저 파티션 모드(user partition mode)에서 커널(kernel)을 실행하고 램디스크(Ramdisk)를 실행할 수 있다(S40).If it is reset by the watchdog timer and the number of times is less than two and the system is normally booted by the last reset, the kernel is executed in the user partition mode of the system file and the ramdisk is executed (S40).

워치독 타이머의 리셋이 3회 이상인 경우에는 유저 파티션이 깨진 것으로 판단할 수 있으므로, 백업 파티션 모드(backup partiotion mode)로 재부팅한다(S50).If the watchdog timer is reset three times or more, it is determined that the user partition is broken. Therefore, the backup partition mode is re-booted (S50).

백업 모드로 부팅할 때에도 워치독에 의한 리셋이 2회 이상인지 여부를 판단한다(S70). 그러한 경우라면 백업 파티션도 깨졌다고 판단할 수 있다.When booting in the backup mode, it is determined whether the reset by the watchdog is performed two or more times (S70). In such a case, it can be determined that the backup partition is also broken.

백업 모드로 부팅이 정상적으로 이루어지거나 워치독에 의한 리셋 후에 바로 정상적인 부팅이 이루어진 경우에는, 백업 파티션 모드에서 커널(kernel)을 실행하고 램디스크(Ramdisk)를 실행할 수 있다(S80).If the boot is normally performed in the backup mode or if the normal boot is immediately performed after the reset by the watchdog, the kernel can be executed in the backup partition mode and a ramdisk can be executed (S80).

워치독에 의한 리셋이 2회 이상인 경우에는 USB 모드로 재부팅한다(S100).If the watchdog is reset two or more times, the USB mode is rebooted (S100).

상기 중앙제어기(20)는 USB 메모리를 삽입하여 접속할 수 있는 잭을 구비한다. 중앙제어기(20)의 부팅시에는 USB 모드로 부팅될 수 있는 것을 대비하여, 부팅용 USB 메모리를 연결한 상태로 중앙제어기(20)를 켜서 부팅하게 된다.The central controller 20 has a jack for inserting and connecting a USB memory. When the central controller 20 is booted, the central controller 20 is booted with the bootable USB memory connected in preparation for booting in the USB mode.

USB 모드로 부팅시 부팅이 완전히 이루어지기 전에 USB 메모리에 의해 중앙제어기(20)의 소프트웨어를 업그레이드할 수 있다.The software of the central controller 20 can be upgraded by the USB memory before booting in the USB mode at boot time.

도 3에는 USB의 부트로더를 이용하여 부팅하는 과정을 나타내는 플로우차트가 도시되어 있다.3 is a flowchart showing a process of booting using a USB boot loader.

중앙제어기(20)의 유저 파티션과 백업 파티션이 모두 깨져서, USB 메모리를 이용한 부팅 명령 신호가 중앙제어기(20)에 입력되면, USB 메모리에 전원이 인가되어 파워 ON 된다(S110).When both the user partition and the backup partition of the central controller 20 are destroyed and a boot command signal using the USB memory is input to the central controller 20, the USB memory is powered on and powered on (S110).

그러면, USB의 BIOS에서 부트로더를 RAM으로 불러온다(S120).Then, the BIOS of the USB loads the boot loader into the RAM (S120).

일반적으로, BIOS(Basic Input/Output System)는 펌웨어(firmware)의 한 종류로서 IBM 호환 컴퓨터에 전원이 공급되면 시작되는 부팅 절차에서 하드웨어 초기화를 수행하고, 운영체제나 응용 프로그램에게 런타임 서비스를 제공한다. BIOS 펌웨어는 PC에 내장되어 있어서 전원이 인가되면 실행이 시작되는 최초의 프로그램이다. 현대 PC에서 BIOS는 하드웨어 부품을 초기화하고 검사하는 역할, 부트로더 또는 대용량 저장장치에 저장된 운영체제를 RAM으로 읽어오는 기능을 수행한다.In general, a basic input / output system (BIOS) is a type of firmware that performs hardware initialization and provides runtime services to an operating system or application program when the IBM-compatible computer is powered on. The BIOS firmware is built into the PC and is the first program to start running when power is applied. In modern PCs, the BIOS performs the functions of initializing and checking hardware components, reading the operating system stored in the boot loader or mass storage device into RAM.

중앙제어기(20)에 연결되어 있는 USB 메모리의 ROM에는 상기한 바와 같은 BIOS가 있고, 부팅시 제일 먼저 실행되어 부트로드를 RAM 영역으로 불러온다.In the ROM of the USB memory connected to the central controller 20, there is a BIOS as described above, and the boot load is first executed at the boot time, and the boot load is loaded into the RAM area.

이어서, 부트로드를 실행하여 부팅을 진행하게 된다.Then, the boot load is executed to proceed with booting.

부트로드는 먼저 중앙제어기(20)의 CPU 및 MMU(Memory Management Unit: 메모리 관리장치)를 초기화한다(S132).The bootload first initializes the CPU and the MMU (memory management unit) of the central controller 20 (S132).

MMU는 CPU가 메모리에 접근하는 것을 관리하는 컴퓨터 하드웨어 부품이다. 가상 메모리 주소를 실제 메모리 주소로 변환하며, 메모리 보호, 캐시 관리, 버스 중재 등의 역할을 담당하며 간단한 8비트 아키텍처에서는 뱅크 스위칭을 담당하기도 한다.An MMU is a piece of computer hardware that manages the CPU's access to memory. It translates virtual memory addresses into real memory addresses. It is responsible for memory protection, cache management, and bus arbitration. It also handles bank switching in a simple 8-bit architecture.

다음에, 부트로드는 기본 하드웨어를 초기화한다(S134).Next, the boot load initializes the basic hardware (S134).

기본 하드웨어에는 이더넷(Ethernet), SD 메모리 또는 NAND 플래시 메모리, 타이머 등이 포함될 수 있다.The basic hardware may include Ethernet, SD memory or NAND flash memory, timers, and the like.

다음으로, USB 인식 소프트웨어를 실행한다(S136).Next, USB recognition software is executed (S136).

보통의 경우는 부트로더 작업이 끝난 후 NAND 플래시 메모리 또는 eMMC 메모리 영역에 있는 커널 이미지를 RAM으로 로딩하는 작업을 한다. 여기서는, 부트로더 작업이 완료되기 전에 USB에 있는 커널 및 시스템 파일을 중앙제어기(20)의 NAND 플래시 메모리 또는 eMMC 메모리 영역으로 복사하는 기능을 수행하는 소프트웨어를 구비하여 USB를 인식할 수 있도록 한다.Normally, after the boot loader operation, the kernel image in the NAND flash memory or eMMC memory area is loaded into RAM. Here, software is provided to copy the kernel and system files in the USB to the NAND flash memory or the eMMC memory area of the central controller 20 before the boot loader operation is completed, so that USB can be recognized.

eMMC는 데이터 고속처리를 위해 모바일 기기에 내장되는 메모리 반도체이다. 모바일 기기의 보조 데이터 저장공간으로 사용되는 탈착형 외장 메모리 카드와 달리, eMMC는 컨트롤러와 낸드플래시 메모리가 패키지로 통합되어 제품에 내장되는 메모리이다.eMMC is a memory semiconductor embedded in mobile devices for high-speed data processing. Unlike a removable external memory card used as an auxiliary data storage space for a mobile device, the eMMC is a memory in which a controller and a NAND flash memory are integrated into a package in a product.

다음으로, USB 메모리에 있는 커널 파일을 RAM으로 로딩한다(S138).Next, the kernel file in the USB memory is loaded into the RAM (S138).

마지막으로, 부트로더에 의해 로딩된 커널 및 파일 시스템을 실행한다(S140). 그러면, 중앙제어기(20)의 파일 업그레이드도 자동으로 이루어지게 된다.Finally, the kernel and the file system loaded by the boot loader are executed (S140). Then, the file upgrade of the central controller 20 is automatically performed.

중앙제어기(20)의 NAND 플래시 메모리 또는 eMMC 메모리에서 불완전했던 커널 및 파일 시스템은 USB에 있는 정상적인 파일로 바뀌었기 때문에, 이후부터는 다시 부팅할 때 중앙제어기(20)의 유저 파티션(또는 백업 파티션)에 있는 커널 및 파일 시스템에 의해 부팅 및 업그레이드가 이루어질 수 있다.Since the kernel and the file system incomplete in the NAND flash memory or the eMMC memory of the central controller 20 have been replaced with normal files in the USB, they are stored in the user partition (or backup partition) of the central controller 20 Boot and upgrade can be done by the kernel and file system.

이상에서는 본 발명의 바람직한 실시예를 설명하였으나, 본 발명의 범위는 이 같은 특정 실시예에만 한정되지 않으며, 해당분야에서 통상의 지식을 가진 자라면 본 발명의 특허청구범위에 기재된 범주 내에서 적절하게 변경이 가능할 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is clearly understood that the same is by way of illustration and example only and is not to be taken by way of limitation, Changes will be possible.

10: 관리자 컴퓨터 20: 중앙제어기
31, 33, 35, 37: 실외기 32, 34, 36, 38: 게이트웨이
41~53: 실내기
10: administrator computer 20: central controller
31, 33, 35, 37: outdoor units 32, 34, 36, 38: gateway
41 to 53: indoor unit

Claims (5)

공기조화장치에서 복수의 실외기 및 실내기를 제어하는 중앙제어기의 부팅 및 업그레이드 방법에 있어서,
부팅 시작 명령이 입력되어 부트로더(bootloader)를 실행하는 단계;
부팅이 비정상인지 여부를 판단하는 단계;
부팅이 비정상인 경우, 백업 모드로 재부팅하는 단계;
백업 모드로 한 부팅이 비정상인지 여부를 판단하는 단계; 및
백업 모드로 한 부팅이 비정상인 경우, USB 모드로 재부팅하는 단계를 포함하는 중앙제어기의 부팅 및 업그레이드 방법.
A booting and upgrading method of a central controller for controlling a plurality of outdoor units and indoor units in an air conditioner,
Executing a boot loader by inputting a boot start command;
Determining whether the boot is abnormal;
Rebooting into a backup mode if booting is abnormal;
Determining whether a boot in the backup mode is abnormal; And
Booting and upgrading the central controller, including rebooting to USB mode if one boot in backup mode is abnormal.
제1항에 있어서,
상기 부팅이 비정상인지 여부를 판단하는 단계에서, 부팅 원인이 워치독 타이머(watchdog timer)에 의한 3회 이상의 리셋(reset)인지 여부를 판단하는 것을 특징으로 하는 중앙제어기의 부팅 및 업그레이드 방법.
The method according to claim 1,
Wherein the step of determining whether or not the booting is abnormal includes determining whether the boot cause is a reset of three or more times by a watchdog timer.
제2항에 있어서,
상기 백업 모드로 한 부팅이 비정상인지 여부를 판단하는 단계에서, 부팅 원인이 워치독 타이머(watchdog timer)에 의한 2회 이상의 리셋(reset)인지 여부를 판단하는 것을 특징으로 하는 중앙제어기의 부팅 및 업그레이드 방법.
3. The method of claim 2,
Wherein it is determined whether or not the boot cause is a reset of two or more times by a watchdog timer in a step of determining whether or not booting in the backup mode is abnormality. Way.
제1항 내지 제3항 중 어느 한 항에 있어서,
상기 USB 모드로 재부팅하는 단계는,
USB의 BIOS에서 부트로더를 RAM으로 불러오는 단계; 및
상기 부트로더를 실행하는 단계를 포함하는 것을 특징으로 하는 중앙제어기의 부팅 및 업그레이드 방법.
4. The method according to any one of claims 1 to 3,
Wherein the step of rebooting into the USB mode comprises:
Loading the boot loader from the BIOS of the USB into the RAM; And
And executing said boot loader. ≪ RTI ID = 0.0 > 11. < / RTI >
제4항에 있어서,
상기 부트로더를 실행하는 단계는,
CPU 및 메모리관리장치(MMU: memory management unit)를 초기화하는 단계;
기본 하드웨어를 초기화하는 단계;
USB 인식 소프트웨어를 실행하는 단계;
커널(kernel) 파일을 RAM으로 로딩하는 단계; 및
커널 및 파일 시스템을 실행하는 단계를 포함하는 것을 특징으로 하는 중앙제어기의 부팅 및 업그레이드 방법.
5. The method of claim 4,
Wherein executing the boot loader comprises:
Initializing a CPU and a memory management unit (MMU);
Initializing basic hardware;
Executing USB recognition software;
Loading a kernel file into the RAM; And
And executing a kernel and a file system.
KR1020170065796A 2017-05-29 2017-05-29 Method for booting and upgrading a central controller of an air conditioner KR20180130132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170065796A KR20180130132A (en) 2017-05-29 2017-05-29 Method for booting and upgrading a central controller of an air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170065796A KR20180130132A (en) 2017-05-29 2017-05-29 Method for booting and upgrading a central controller of an air conditioner

Publications (1)

Publication Number Publication Date
KR20180130132A true KR20180130132A (en) 2018-12-07

Family

ID=64669538

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170065796A KR20180130132A (en) 2017-05-29 2017-05-29 Method for booting and upgrading a central controller of an air conditioner

Country Status (1)

Country Link
KR (1) KR20180130132A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134415A (en) * 2019-04-12 2019-08-16 深圳市致宸信息科技有限公司 A kind of controller and its method for upgrading software and device
KR20210056642A (en) * 2019-11-11 2021-05-20 한국전자기술연구원 Method for applying appliance for storage duplixing on cloud environment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134415A (en) * 2019-04-12 2019-08-16 深圳市致宸信息科技有限公司 A kind of controller and its method for upgrading software and device
KR20210056642A (en) * 2019-11-11 2021-05-20 한국전자기술연구원 Method for applying appliance for storage duplixing on cloud environment

Similar Documents

Publication Publication Date Title
US9507604B2 (en) Boot method and boot system
US7293165B1 (en) BMC-hosted boot ROM interface
JP4688821B2 (en) Method and apparatus for remote correction of system configuration
US20170357515A1 (en) Multiple-stage bootloader and firmware for baseboard manager controller and primary processing subsystem of computing device
US6754818B1 (en) Method and system for bootstrapping from a different boot image when computer system is turned on or reset
CN101989212B (en) Method and device for providing virtual machine management program for starting blade server
EP2972809B1 (en) Boot sequencing for multi boot devices
US20080288767A1 (en) Computer system
US8918778B2 (en) Method of fail safe flashing management device and application of the same
US20060020845A1 (en) Unattended BIOS recovery
US6826710B2 (en) System and method for providing a fault-resilient boot
US10162646B2 (en) System for programmably configuring a motherboard
US20040255106A1 (en) Recovery of operating system configuration data by firmware of computer system
US9298470B2 (en) Method and apparatus for selecting bios program for a processor
US20090249319A1 (en) Testing method of baseboard management controller
EP3097477B1 (en) System firmware configuration data
US20150081829A1 (en) Out-of-band replicating bios setting data across computers
IE20070176A1 (en) A chipset-independent method for locally and remotely updating and configuring system bios
EP2977889B1 (en) Out-of-band retrieval of network interface controller information
WO2004017195A1 (en) Using system bios to update embedded controller firmware
US20090271660A1 (en) Motherboard, a method for recovering the bios thereof and a method for booting a computer
US7900033B2 (en) Firmware processing for operating system panic data
US20150154091A1 (en) Bios maintenance method
CN114968382A (en) Method and system for preventing shutdown and BIOS chip
KR20180130132A (en) Method for booting and upgrading a central controller of an air conditioner