[go: up one dir, main page]

CN103375875B - system log recording method and device - Google Patents

system log recording method and device Download PDF

Info

Publication number
CN103375875B
CN103375875B CN201210123361.6A CN201210123361A CN103375875B CN 103375875 B CN103375875 B CN 103375875B CN 201210123361 A CN201210123361 A CN 201210123361A CN 103375875 B CN103375875 B CN 103375875B
Authority
CN
China
Prior art keywords
time
centralized controller
password
user
function
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN201210123361.6A
Other languages
Chinese (zh)
Other versions
CN103375875A (en
Inventor
张光旭
赵志刚
金国华
吴贵
贺小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201210123361.6A priority Critical patent/CN103375875B/en
Publication of CN103375875A publication Critical patent/CN103375875A/en
Application granted granted Critical
Publication of CN103375875B publication Critical patent/CN103375875B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses a system log recording method and device. Wherein, the method comprises the following steps: the method comprises the steps that an integrated controller of the central air conditioner determines that a user successfully enters a password function item of the integrated controller in a password login mode; the centralized controller executes input operation of a user and records operation time and operation content of the input operation, wherein the operation time comprises login time and logout time. By the invention, the logs of the air-conditioning system of the user can be collected in time, thereby achieving the effects of conveniently improving the setting of the central air conditioner and reducing the working difficulty of maintenance personnel.

Description

系统日志记录方法及装置System log recording method and device

技术领域 technical field

本发明涉及空调领域,具体而言,涉及一种系统日志记录方法及装置。The present invention relates to the field of air conditioners, in particular to a system log recording method and device.

背景技术 Background technique

目前,为了方便控制各末端设备,中央空调均设有集中控制器。同时,为了防止非专业人员在集中控制器上针对集中控制器本身的运行参数或机组运行参数进行误操作,进而造成机器运转不正常或无法正常工作,通常需要对集中控制器的部分相关功能采用密码登录的保护措施,进而限制未授权用户进行操作。At present, in order to facilitate the control of each terminal equipment, central air conditioners are equipped with centralized controllers. At the same time, in order to prevent non-professionals from making misoperations on the centralized controller’s own operating parameters or unit operating parameters, which will cause the machine to run abnormally or fail to work normally, it is usually necessary to use some related functions of the centralized controller. Protective measures for password login, thereby restricting unauthorized users from operating.

现有技术中对集中控制器的功能项实现分级权限管理,例如,将功能项划分为用户级和厂家级,对于厂家级的功能操作,需要通过密码方能进入。需要密码进入的功能都涉及中央空调的系统核心运行参数或集中控制器本身的运行参数,因此,通过密码登录方式进行操作的时间和操作的内容对于空调维护技术人员来说至关重要。In the prior art, hierarchical authority management is implemented for the function items of the centralized controller. For example, the function items are divided into user level and manufacturer level. For the function operation of the manufacturer level, passwords are required to enter. The functions that require password access all involve the core operating parameters of the central air-conditioning system or the operating parameters of the centralized controller itself. Therefore, the time and content of operations through password login are very important for air-conditioning maintenance technicians.

但是,现有技术中并没有提供一种能够准确记录密码登录方式中的操作时间和操作内容的日志记录方法,使空调维护人员无法获知所有密码登录操作的操作时间和操作内容而导致对中央空调或集中控制器的维护难度较大。However, the prior art does not provide a log recording method that can accurately record the operation time and operation content in the password login mode, so that the air-conditioning maintenance personnel cannot know the operation time and operation content of all password login operations, resulting in the central air conditioner. Or the centralized controller is more difficult to maintain.

发明内容 Contents of the invention

本发明提供了一种系统日志记录方法及装置,以至少解决上述问题。The present invention provides a system log recording method and device to at least solve the above problems.

根据本发明的一个方面,提供了一种系统日志记录方法,包括:中央空调的集中控制器确定用户以密码登录方式成功进入集中控制器的密码功能项;集中控制器执行用户的输入操作,并记录输入操作的操作时间和操作内容,其中,操作时间包括登录时间和退出时间。According to one aspect of the present invention, a system log recording method is provided, including: the centralized controller of the central air conditioner determines that the user has successfully entered the password function item of the centralized controller in a password login mode; the centralized controller executes the user's input operation, and Record the operation time and operation content of the input operation, wherein the operation time includes login time and logout time.

优选地,操作内容包括以下两种组合之一:登录的功能界面名称、按键键值,以及按键操作实时时间;登录的功能界面名称、按键键值、按键操作实时时间,以及按键操作的参数。Preferably, the operation content includes one of the following two combinations: the registered function interface name, key value, and key operation real-time time; the registered function interface name, key value, key operation real-time time, and key operation parameters.

优选地,在确定用户以密码登录方式成功进入集中控制器的功能项之前,还包括:Preferably, before it is determined that the user successfully enters the function item of the centralized controller by means of password login, it also includes:

接受上电操作,并初始化集中控制器控制下的功能设备和存储器。Accepts the power-on operation and initializes the functional devices and memory under the control of the centralized controller.

优选地,功能设备包括:微控制单元(Micro Control Unit,简称为MCU)、按键或虚拟键盘,以及显示器;存储器包括:非易失闪存(NAND Flash)。Preferably, the functional device includes: a micro control unit (Micro Control Unit, referred to as MCU), keys or a virtual keyboard, and a display; the memory includes: non-volatile flash memory (NAND Flash).

优选地,初始化集中控制器控制下的功能设备和存储器,包括:为MCU、NAND Flash、按键或虚拟键盘,以及显示器上电;为MCU进行时间校准操作。Preferably, the initialization of the functional devices and memory under the control of the centralized controller includes: powering on the MCU, NAND Flash, buttons or virtual keyboard, and the display; performing time calibration operations for the MCU.

优选地,通过以下方式之一为MCU进行时间校准操作:通过预先设置在集中控制器上的实时时钟(Real-Time Clock,简称为RTC)电路为MCU进行时间校准;通过与网络上的上位机或其他设置有RTC电路的设备进行通信的方式为MCU进行时间校准。Preferably, carry out time calibration operation for MCU by one of the following ways: carry out time calibration for MCU by the real-time clock (Real-Time Clock, be called for short RTC) circuit that is pre-set on the centralized controller; Or other devices equipped with RTC circuits communicate with the MCU for time calibration.

优选地,确定用户以密码登录方式成功进入集中控制器的密码功能项,包括:根据用户输入的按键操作判断是否需要从当前界面切换到密码功能项的显示界面,在判断为是的情况下,弹出密码功能项的密码输入框;接收用户通过密码输入框输入的密码,判断密码是否正确,在正确的情况下,确定用户成功登录密码功能项。Preferably, determining that the user has successfully entered the password function item of the centralized controller in a password login mode includes: judging whether it is necessary to switch from the current interface to the display interface of the password function item according to the button operation input by the user, and if the judgment is yes, Pop up the password input box of the password function item; receive the password entered by the user through the password input box, judge whether the password is correct, and if it is correct, determine that the user has successfully logged into the password function item.

根据本发明的另一方面,提供了一种系统日志记录装置,包括:确定模块,用于确定用户以密码登录方式成功进入集中控制器的密码功能项;执行记录模块,用于执行用户的输入操作,并记录输入操作的操作时间和操作内容,其中,操作时间包括登录时间和退出时间。According to another aspect of the present invention, a system log recording device is provided, including: a determination module, used to determine the password function item that the user has successfully entered the centralized controller in the way of password login; an execution record module, used to execute the user's input operation, and record the operation time and operation content of the input operation, wherein the operation time includes login time and logout time.

优选地,操作内容包括以下两种组合之一:登录的功能界面名称、按键键值,以及按键操作实时时间;登录的功能界面名称、按键键值、按键操作实时时间,以及按键操作的参数。Preferably, the operation content includes one of the following two combinations: the registered function interface name, key value, and key operation real-time time; the registered function interface name, key value, key operation real-time time, and key operation parameters.

优选地,该装置还包括:初始化模块,用于接受上电操作,并初始化集中控制器控制下的功能设备和存储器,其中,功能设备包括:微控制单元(MCU)、按键或虚拟键盘,以及显示器;存储器包括:非易失闪存(NAND Flash)。Preferably, the device further includes: an initialization module, configured to accept a power-on operation, and initialize functional devices and memory under the control of the centralized controller, wherein the functional devices include: a micro control unit (MCU), a key or a virtual keyboard, and Display; memory includes: non-volatile flash memory (NAND Flash).

通过本发明,采用中央空调的集中控制器自动记录用户以密码登录方式中的操作时间和操作内容的空调系统日志,解决了空调维护人员无法获知所有密码登录操作的操作时间和操作内容而导致对中央空调或集中控制器的维护难度较大的问题,进而达到了及时收集用户的空调系统日志,从而方便改进中央空调的设置,降低维护人员的工作难度的效果。Through the present invention, the central air-conditioning central controller automatically records the air-conditioning system log of the user’s operation time and operation content in the password login mode, which solves the problem that the air-conditioning maintenance personnel cannot know the operation time and operation content of all password login operations. The maintenance of central air conditioners or centralized controllers is difficult, and then the user's air conditioning system logs can be collected in time, so as to facilitate the improvement of central air conditioner settings and reduce the work difficulty of maintenance personnel.

附图说明 Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:

图1是根据本发明实施例的系统日志记录方法流程图;Fig. 1 is a flow chart of a system log recording method according to an embodiment of the present invention;

图2是根据本发明优选实施例的系统日志记录流程图;Fig. 2 is a flow chart of system log recording according to a preferred embodiment of the present invention;

图3是根据本发明实施例的系统日志记录装置的结构框图;Fig. 3 is a structural block diagram of a system log recording device according to an embodiment of the present invention;

图4是根据本发明优选实施例的系统日志记录装置的结构框图;Fig. 4 is a structural block diagram of a system log recording device according to a preferred embodiment of the present invention;

图5是根据本发明优选实施例的集中控制器的硬件结构示意图;Fig. 5 is a schematic diagram of the hardware structure of a centralized controller according to a preferred embodiment of the present invention;

图6是根据本发明优选实施例的使用U盘从集中控制器拷贝系统日志的传输示意图。Fig. 6 is a transmission schematic diagram of copying system logs from a centralized controller using a U disk according to a preferred embodiment of the present invention.

具体实施方式 Detailed ways

下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

图1是根据本发明实施例的系统日志记录方法流程图,如图1所示,该方法主要包括以下步骤(步骤S102-步骤S104):Fig. 1 is a flow chart of a system log recording method according to an embodiment of the present invention. As shown in Fig. 1, the method mainly includes the following steps (step S102-step S104):

步骤S102,中央空调的集中控制器确定用户以密码登录方式成功进入集中控制器的密码功能项;Step S102, the centralized controller of the central air-conditioning determines that the user has successfully entered the password function item of the centralized controller through password login;

步骤S104,集中控制器执行用户的输入操作,并记录输入操作的操作时间和操作内容,其中,操作时间包括登录时间和退出时间。Step S104, the centralized controller executes the user's input operation, and records the operation time and operation content of the input operation, wherein the operation time includes login time and logout time.

在本实施例中,操作内容可以包括以下两种组合之一:登录的功能界面名称、按键键值,以及按键操作实时时间;登录的功能界面名称、按键键值、按键操作实时时间,以及按键操作的参数。在实际应用中,有部分功能项中并不包含按键操作的参数,而且,用户在成功登录密码功能项后有可能并不对中央空调或集中控制器的参数进行修改就退出了。因此,按键操作的参数并不一定在每个操作内容中都存在。In this embodiment, the operation content may include one of the following two combinations: the name of the registered function interface, the key value of the key, and the real-time time of the key operation; The parameters of the operation. In practical applications, some function items do not contain key operation parameters, and the user may log out without modifying the parameters of the central air conditioner or centralized controller after successfully logging in to the password function item. Therefore, the parameters of key operations do not necessarily exist in every operation content.

在本实施例中,在步骤S102之前,集中控制器可以首先接收整个空调系统的上电操作,在初始化集中控制器控制下的功能设备和存储器,其中,功能设备可以包括:微控制单元(MicroControl Unit,简称为MCU)、按键或虚拟键盘,以及显示器;存储器可以包括:非易失闪存(NAND Flash)。因此,在集中控制器对其控制下的各种设备和存储器进行初始化的过程中,主要体现为:为MCU、NAND Flash、按键或虚拟键盘,以及显示器上电;为MCU进行时间校准操作。In this embodiment, before step S102, the centralized controller may first receive the power-on operation of the entire air-conditioning system, and initialize the functional equipment and memory under the control of the centralized controller, wherein the functional equipment may include: a micro control unit (MicroControl Unit, referred to as MCU), buttons or virtual keyboard, and display; memory can include: non-volatile flash memory (NAND Flash). Therefore, in the process of initializing various devices and memories under the control of the centralized controller, it is mainly reflected in: powering on the MCU, NAND Flash, buttons or virtual keyboard, and the display; performing time calibration operations for the MCU.

在实际应用中,通过以下两种方式之一为MCU进行时间校准操作:(1)通过预先设置在集中控制器上的实时时钟(Real-Time Clock,简称为RTC)电路为MCU进行时间校准;(2)通过与网络上的上位机或其他设置有RTC电路的设备进行通信的方式为MCU进行时间校准。In practical applications, the time calibration operation is performed for the MCU in one of the following two ways: (1) time calibration is performed for the MCU by a real-time clock (Real-Time Clock, referred to as RTC) circuit pre-set on the centralized controller; (2) Perform time calibration for the MCU by communicating with the host computer on the network or other devices equipped with RTC circuits.

在本实施例中,在执行步骤S102的过程中,确定用户以密码登录方式成功进入集中控制器的密码功能具体可以采取以下方式:首先根据用户输入的按键操作判断是否需要从当前界面切换到密码功能项的显示界面,在判断为是的情况下,弹出密码功能项的密码输入框,当用户通过密码输入框输入的密码时,再判断密码是否正确,在正确的情况下,最终确定用户成功登录密码功能项。In this embodiment, in the process of executing step S102, it is determined that the user has successfully entered the password function of the centralized controller through password login. In the display interface of the function item, if the judgment is yes, the password input box of the password function item pops up. When the user enters the password through the password input box, it is judged whether the password is correct. If it is correct, the user is finally determined to be successful. Login password function item.

下面结合图2所示的优选实施例对上述系统日志记录方法做进一步的描述。The above system log recording method will be further described below in conjunction with the preferred embodiment shown in FIG. 2 .

图2是根据本发明优选实施例的系统日志记录流程图,如图2所示,该流程主要包括以下步骤(步骤S202-步骤S212):Fig. 2 is a flow chart of system log recording according to a preferred embodiment of the present invention, as shown in Fig. 2, the flow process mainly includes the following steps (step S202-step S212):

步骤S202,机组上电后,完成各外设寄存器的初始化,对RTC电路、NAND FLASH、LCD液晶显示器以及按键功能相关的寄存器进行初始化,进入机组默认主页;Step S202, after the unit is powered on, complete the initialization of each peripheral register, initialize the registers related to the RTC circuit, NAND FLASH, LCD liquid crystal display and key functions, and enter the default home page of the unit;

步骤S204,根据用户输入的按键操作判断是否需要进行页面切换,如果需要切换页面且即将进入的页面需要密码进入,则弹出密码输入框;Step S204, judging whether page switching is required according to the button operation input by the user, if it is necessary to switch pages and the page to be entered requires a password to enter, a password input box will pop up;

步骤S206,用户输入密码,如果密码正确,则进入根据步骤S204中的按键操作确定的需要进入的功能项界面(即上述的密码功能项的界面),集中控制器记录进入的功能项界面的名称(在实际应用中,可以采取多种方式来区分不同的功能界面的名称,例如,可以为每个功能界面的名称设置一个唯一标识)以及进入功能项界面时间;Step S206, the user enters the password, if the password is correct, then enters the function item interface (ie the interface of the above-mentioned password function item) determined according to the button operation in step S204, and the centralized controller records the name of the function item interface entered (In practical applications, multiple ways can be used to distinguish the names of different functional interfaces, for example, a unique identifier can be set for the name of each functional interface) and the time to enter the functional item interface;

步骤S208,当用户退出步骤S206中进入的功能项界面时,集中控制器记录界面标识以及退出界面时间。Step S208, when the user exits the function item interface entered in step S206, the centralized controller records the interface identifier and the time of exiting the interface.

步骤S210(可选),当用户需要分析关于密码登录操作的数据时,用U盘插入集中控制器的USB接口,根据集中控制器的界面提示可拷出密码登录相关历史数据;Step S210 (optional), when the user needs to analyze the data about the password login operation, insert the U disk into the USB interface of the centralized controller, and copy out the relevant historical data of password login according to the interface prompt of the centralized controller;

步骤S212(可选),使用个人电脑(PC)分析USB拷出的密码登录相关数据。Step S212 (optional), use a personal computer (PC) to analyze the data related to password login copied out of the USB.

需要说明的是,在上述流程日志记录流程中,整个记录系统日志的过程截止到步骤S208时就算完成了,但在实际应用中,为了对记录的系统日志数据进行查看和分析,可以将系统日志数据从集中控制器中拷贝出来(集中控制器上可以设置USB接口,方便使用USB存储设置进行拷贝),再对系统日志数据进行分析。因此,步骤S210和步骤S212是可选的,在实际应用中,完全可以根据需要决定是否需要对上述系统日志数据进行拷贝、查看、分析。It should be noted that in the above process log recording process, the entire process of recording the system log is completed by the time of step S208, but in practical applications, in order to view and analyze the recorded system log data, the system log can be The data is copied from the centralized controller (the USB interface can be set on the centralized controller, which is convenient for copying with USB storage settings), and then the system log data is analyzed. Therefore, step S210 and step S212 are optional, and in practical applications, it may be decided as required whether to copy, view, and analyze the above-mentioned system log data.

采用上述实施例提供的系统日志记录方法,可以自动记录用户以密码登录方式中的操作时间和操作内容的空调系统日志,进而达到了及时收集用户的空调系统日志,从而方便改进中央空调的设置,降低维护人员的工作难度的效果。The system log recording method provided by the above-mentioned embodiment can automatically record the air-conditioning system log of the user’s operation time and operation content in the password login mode, and then achieve timely collection of the user’s air-conditioning system log, thereby facilitating the improvement of central air-conditioning settings. The effect of reducing the work difficulty of maintenance personnel.

图3是根据本发明实施例的系统日志记录装置的结构框图,该装置用以实现上述实施例提供的系统日志记录方法,如图3所示,该装置主要包括:确定模块10和执行记录模块20。其中,确定模块10,用于确定用户以密码登录方式成功进入集中控制器的密码功能项;执行记录模块20,连接至确定模块10,用于执行用户的输入操作,并记录输入操作的操作时间和操作内容,其中,操作时间包括登录时间和退出时间。Fig. 3 is a structural block diagram of a system log recording device according to an embodiment of the present invention, the device is used to implement the system log recording method provided in the above embodiment, as shown in Fig. 3 , the device mainly includes: a determination module 10 and an execution recording module 20. Wherein, the determination module 10 is used to determine that the user successfully enters the password function item of the centralized controller in the password login mode; the execution recording module 20 is connected to the determination module 10, and is used to perform the user's input operation and record the operation time of the input operation and operation content, wherein the operation time includes login time and logout time.

在本发明实施例中,操作内容可以包括以下两种组合之一:登录的功能界面名称、按键键值,以及按键操作实时时间;登录的功能界面名称、按键键值、按键操作实时时间,以及按键操作的参数。在实际应用中,有部分功能项中并不包含按键操作的参数,而且,用户在成功登录密码功能项后有可能并不对中央空调或集中控制器的参数进行修改就退出了。因此,按键操作的参数并不一定在每个操作内容中都存在。In the embodiment of the present invention, the operation content may include one of the following two combinations: the name of the registered function interface, the key value of the key, and the real time of the key operation; the name of the registered function interface, the key value of the key, the real time of the key operation, and Parameters for keystrokes. In practical applications, some function items do not contain key operation parameters, and the user may log out without modifying the parameters of the central air conditioner or centralized controller after successfully logging in to the password function item. Therefore, the parameters of key operations do not necessarily exist in every operation content.

图4是根据本发明优选实施例的系统日志记录装置的结构框图,如图4所示,该装置还可以包括:初始化模块30,与确定模块10连接,用于接受上电操作,并初始化集中控制器控制下的功能设备和存储器,其中,功能设备包括:微控制单元(MCU)、按键或虚拟键盘,以及显示器;存储器包括:非易失闪存(NAND Flash)。Fig. 4 is a structural block diagram of a system log recording device according to a preferred embodiment of the present invention. As shown in Fig. 4, the device may also include: an initialization module 30, connected to the determination module 10, used to accept power-on operations, and initialize centralized Functional devices and memory under the control of the controller, wherein the functional devices include: micro control unit (MCU), keys or virtual keyboard, and display; the memory includes: non-volatile flash memory (NAND Flash).

当然,在实际应用中,采用能够完成与上述功能模块完成同样功能的模块也是完全可以的。Of course, in practical applications, it is entirely possible to use modules that can perform the same functions as the above-mentioned functional modules.

为了更好地理解中央空调的集中控制器的结构,以下对集中控制器的结构进行简要描述。In order to better understand the structure of the centralized controller of the central air conditioner, the structure of the centralized controller is briefly described below.

图5是根据本发明优选实施例的集中控制器的硬件结构示意图,如图5所示,集中控制器包括:微控制单元(MCU)、按键(虚拟键盘)、LCD显示器、非易失闪存(NAND Flash)以及USB接口。Fig. 5 is a schematic diagram of the hardware structure of the centralized controller according to a preferred embodiment of the present invention. As shown in Fig. 5, the centralized controller includes: micro control unit (MCU), button (virtual keyboard), LCD display, non-volatile flash memory ( NAND Flash) and USB interface.

在实际应用中,用户可通过按键(或者触摸屏)操作集中控制器,完成功能选择,密码输入等工作。LCD液晶显示器可以显示用户选择的任何功能界面。为了更方便地确定用户选择的功能界面名称,集中控制器可以对于不同的功能项页面可在软件上加以唯一的名称标识进行区分。In practical applications, users can operate the centralized controller through buttons (or touch screen) to complete function selection, password input and other work. The LCD liquid crystal display can display any function interface selected by the user. In order to more conveniently determine the name of the function interface selected by the user, the centralized controller can identify different function item pages with unique names on the software to distinguish them.

优选地,还可以在集中控制器控制板上设置实时时钟(RTC)电路用以对提供实时时间(即,时间校准),集中控制器也可通过通讯网络与上位机或者其他有实时时钟电路的设备校准时间。MCU可以将相关操作对应的系统日志记录,例如,登录的功能界面名称、登录时间与退出时间存入集中控制器的NAND Flash(当然,在实际应用中,完全不局限于此种闪存存储器)。Preferably, a real-time clock (RTC) circuit can also be set on the centralized controller control board to provide real-time time (that is, time calibration), and the centralized controller can also communicate with the upper computer or other devices with a real-time clock circuit through a communication network. Device calibration time. The MCU can store the system log records corresponding to relevant operations, such as the name of the login function interface, login time and logout time, into the NAND Flash of the centralized controller (of course, in practical applications, it is not limited to this kind of flash memory at all).

为了方便对记录的系统日志数据进行拷贝,集中控制器上是设置有USB接口的,进而可以将拷贝出的系统日志数据放在在PC机上进行数据分析操作。In order to facilitate the copying of recorded system log data, the centralized controller is provided with a USB interface, and then the copied system log data can be placed on a PC for data analysis operations.

其中,在集中控制器的用户界面中,不同的界面具有唯一标识,如将标识对应到标题(Title)上,再在程序中通过不同的赋值来体现不同的标题。在实施过程中,可以通过判断标题的赋值获得不同的界面标识,再判断进入了哪一功能界面以及该界面是否需要密码进入。Among them, in the user interface of the centralized controller, different interfaces have unique identifiers, for example, the identifiers are mapped to titles, and different titles are reflected in the program through different assignments. In the implementation process, different interface identifiers can be obtained by judging the assignment of the title, and then judging which functional interface has been entered and whether the interface requires a password to enter.

对于进入不同功能界面后的操作过程记录的系统日志而言,可以首先对各个界面的按键进行定义,当MCU查询获得有效按键信号时,记录下该按键的当前操作界面、按键键值、按键操作实时时间、按键操作的参数(部分按键是不涉及的);将以上参数全部记录在NANDFLASH中,进而可通过USB口拷贝出来。在此,拷贝过程请同时参考图6(图6是根据本发明优选实施例的使用U盘从集中控制器拷贝系统日志的传输示意图)。For the system log recorded in the operation process after entering different functional interfaces, the keys of each interface can be defined first, and when the MCU inquires and obtains a valid key signal, it records the current operation interface, key value, and key operation of the key. Real-time time, parameters of button operation (some buttons are not involved); record all the above parameters in NANDFLASH, and then copy them out through the USB port. Here, please refer to FIG. 6 for the copying process (FIG. 6 is a transmission diagram of copying system logs from a centralized controller using a U disk according to a preferred embodiment of the present invention).

采用上述实施例提供的系统日志记录装置,可以自动记录用户以密码登录方式中的操作时间和操作内容的空调系统日志,进而达到了及时收集用户的空调系统日志,从而方便改进中央空调的设置,降低维护人员的工作难度的效果。The system log recording device provided by the above-mentioned embodiment can automatically record the air-conditioning system log of the user’s operation time and operation content in the password login mode, and then achieve timely collection of the user’s air-conditioning system log, thereby facilitating the improvement of central air-conditioning settings. The effect of reducing the work difficulty of maintenance personnel.

从以上的描述中,可以看出,本发明实现了如下技术效果:采用中央空调的集中控制器自动记录用户以密码登录方式中的操作时间和操作内容的空调系统日志的方式,解决了空调维护人员无法获知所有密码登录操作的操作时间和操作内容而导致对中央空调或集中控制器的维护难度较大的问题,进而达到了及时收集用户的空调系统日志,从而方便改进中央空调的设置,降低维护人员的工作难度的效果。From the above description, it can be seen that the present invention achieves the following technical effects: the central air-conditioning central controller automatically records the user's operation time and operation content in the air-conditioning system log in the password login mode, which solves the problem of air-conditioning maintenance. Personnel cannot know the operation time and operation content of all password login operations, which makes it difficult to maintain the central air conditioner or centralized controller, and then collects the user's air conditioner system logs in time, so as to facilitate the improvement of central air conditioner settings and reduce The effect of the maintainer's job difficulty.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1. a system journal recording method, is characterized in that, comprising:
The Centralized Controller of central air-conditioning determines that user successfully enters the cryptographic function item of described Centralized Controller in password login mode;
Described Centralized Controller performs the input operation of user, and records operating time and the content of operation of described input operation, and wherein, the described operating time comprises login time and post-set time;
Wherein, by interface identification, described Centralized Controller determines that the function interface that user enters and this function interface enter the need of password.
2. method according to claim 1, is characterized in that, described content of operation comprises one of following two kinds of combinations:
The function interface title, the button value that log in, and button operation real-time time;
The function interface title, button value, the button operation real-time time that log in, and the parameter of button operation.
3. method according to claim 2, is characterized in that, before determining that user successfully enters the function items of Centralized Controller in password login mode, also comprises:
Accept power on operation, and the function device initialized under the control of described Centralized Controller and memory.
4. method according to claim 3, is characterized in that,
Described function device comprises: micro-control unit MCU, button or dummy keyboard, and display;
Described memory comprises: nonvolatile flash memory NAND Flash.
5. method according to claim 4, is characterized in that, initializes the function device under the control of described Centralized Controller and memory, comprising:
For described MCU, described NAND Flash, described button or described dummy keyboard, and described display powers on;
For described MCU carries out operation time calibration.
6. method according to claim 5, is characterized in that, one of in the following manner carries out operation time calibration for described MCU:
Be that described MCU carries out time calibration by the real-time clock RTC circuit be set in advance on described Centralized Controller;
Be that described MCU carries out time calibration by the mode of carrying out communicating with the equipment that the host computer on network or other are provided with described RTC circuit.
7. method according to any one of claim 1 to 6, is characterized in that, determines that user successfully enters the cryptographic function item of Centralized Controller in password login mode, comprising:
Judging whether the display interface needing to be switched to described cryptographic function item from current interface according to the button operation of user's input, when being judged as YES, ejecting the Password Input frame of described cryptographic function item;
Receive the password of user by described Password Input frame input, judge that whether described password is correct, in the right circumstances, determine cryptographic function item described in user's Successful login.
8. a system journal tape deck, is characterized in that, comprising:
Determination module, for determining that user successfully enters the cryptographic function item of Centralized Controller in password login mode;
Perform logging modle, for performing the input operation of user, and record operating time and the content of operation of described input operation, wherein, the described operating time comprises login time and post-set time;
By interface identification, judge module, determines that the function interface that user enters and this function interface enter the need of password for described Centralized Controller.
9. device according to claim 8, is characterized in that, described content of operation comprises one of following two kinds of combinations:
The function interface title, the button value that log in, and button operation real-time time;
The function interface title, button value, the button operation real-time time that log in, and the parameter of button operation.
10. device according to claim 8 or claim 9, it is characterized in that, described device also comprises:
Initialization module, for accepting power on operation, and the function device initialized under the control of described Centralized Controller and memory, wherein,
Described function device comprises: micro-control unit MCU, button or dummy keyboard, and display;
Described memory comprises: nonvolatile flash memory NAND Flash.
CN201210123361.6A 2012-04-24 2012-04-24 system log recording method and device Expired - Fee Related CN103375875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210123361.6A CN103375875B (en) 2012-04-24 2012-04-24 system log recording method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210123361.6A CN103375875B (en) 2012-04-24 2012-04-24 system log recording method and device

Publications (2)

Publication Number Publication Date
CN103375875A CN103375875A (en) 2013-10-30
CN103375875B true CN103375875B (en) 2015-08-26

Family

ID=49461383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210123361.6A Expired - Fee Related CN103375875B (en) 2012-04-24 2012-04-24 system log recording method and device

Country Status (1)

Country Link
CN (1) CN103375875B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107563160A (en) * 2017-09-06 2018-01-09 广东美的暖通设备有限公司 Maintenance protection personal identification method, system and air-conditioning
CN107885518B (en) * 2017-11-07 2021-04-20 惠州华阳通用电子有限公司 Method and device for recording abnormal log of vehicle-mounted system upgrading

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1963850A (en) * 2006-11-21 2007-05-16 南京鑫源招标咨询有限公司 System for managing stock service of business
EP1832988A1 (en) * 2006-03-06 2007-09-12 Siemens Schweiz AG Data synchronisation method for a mobile application
CN101225729A (en) * 2008-02-03 2008-07-23 深圳市俊武科技有限公司 Security box management and control system as well as management and control method
CN101329709A (en) * 2008-08-01 2008-12-24 北京航空航天大学 A system and method for data security migration
CN101374047A (en) * 2007-08-21 2009-02-25 Nhn公司 User authentication system using IP address and method thereof
CN101404643A (en) * 2008-11-13 2009-04-08 中国移动通信集团福建有限公司 Wireless single-point login system based on IPSEC technology and its operation method
CN101719845A (en) * 2010-01-04 2010-06-02 烽火通信科技股份有限公司 Method for remotely monitoring local maintenance terminal
CN101763294A (en) * 2008-11-26 2010-06-30 上海网环信息科技有限公司 Method for looking up and backing up system operation log according to time slots

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1196060A (en) * 1997-09-22 1999-04-09 Nec Corp Updated journal collecting device
US7302570B2 (en) * 2003-08-19 2007-11-27 International Business Machines Corporation Apparatus, system, and method for authorized remote access to a target system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1832988A1 (en) * 2006-03-06 2007-09-12 Siemens Schweiz AG Data synchronisation method for a mobile application
CN1963850A (en) * 2006-11-21 2007-05-16 南京鑫源招标咨询有限公司 System for managing stock service of business
CN101374047A (en) * 2007-08-21 2009-02-25 Nhn公司 User authentication system using IP address and method thereof
CN101225729A (en) * 2008-02-03 2008-07-23 深圳市俊武科技有限公司 Security box management and control system as well as management and control method
CN101329709A (en) * 2008-08-01 2008-12-24 北京航空航天大学 A system and method for data security migration
CN101404643A (en) * 2008-11-13 2009-04-08 中国移动通信集团福建有限公司 Wireless single-point login system based on IPSEC technology and its operation method
CN101763294A (en) * 2008-11-26 2010-06-30 上海网环信息科技有限公司 Method for looking up and backing up system operation log according to time slots
CN101719845A (en) * 2010-01-04 2010-06-02 烽火通信科技股份有限公司 Method for remotely monitoring local maintenance terminal

Also Published As

Publication number Publication date
CN103375875A (en) 2013-10-30

Similar Documents

Publication Publication Date Title
CN105404525B (en) Method and apparatus for managing BIOS configuration in a computer system
US8874953B2 (en) System and method of cloud testing and remote monitoring for integrated circuit components in system validation
EP2619701B1 (en) Attesting use of an interactive component during a boot process
US9230081B2 (en) User authorization and presence detection in isolation from interference from and control by host central processing unit and operating system
US20080141073A1 (en) BIOS debugging system and method
US20120216255A1 (en) Attesting a Plurality of Data Processing Systems
US9703937B2 (en) Method to prevent operating system digital product key activation failures
CN107894935A (en) OPS computer module detection process method, apparatus and electronic equipment
CN103279203A (en) Key reuse method and multifunctional key
US7784032B2 (en) Information processing apparatus
CN112685743A (en) Automatic reinforcing method and system for host security baseline
CN110020528A (en) A kind of BMC starting method, apparatus and electronic equipment and storage medium
CN113272785B (en) Method for mounting file system, terminal equipment and storage medium
CN103375875B (en) system log recording method and device
CN110187872A (en) A BIOS development method, system, electronic equipment, and storage medium
CN111611124A (en) Monitoring equipment analysis method and device, computer device and storage medium
CN112445670B (en) A kind of eMMC test method and device
CN118819992A (en) Server stability testing method, device, electronic device and non-volatile storage medium
CN111399871B (en) System updating method, device, equipment and medium of HBA card
CN102594815B (en) Before register system, user right is set and performs method, the device of corresponding operating
CN113849367A (en) Server and its management method, device, system, electronic device and storage medium
CN102480396A (en) Server system and connection method thereof
CN108197457A (en) Hard disk secure control method and device
US20070255937A1 (en) Basic input / output system (BIOS) set-value access method
CN110275807A (en) Detection method, system, equipment and the storage medium of smart machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150826

CF01 Termination of patent right due to non-payment of annual fee