[go: up one dir, main page]

CN114629817A - Control method, device and electronic equipment for alarm device - Google Patents

Control method, device and electronic equipment for alarm device Download PDF

Info

Publication number
CN114629817A
CN114629817A CN202210295207.0A CN202210295207A CN114629817A CN 114629817 A CN114629817 A CN 114629817A CN 202210295207 A CN202210295207 A CN 202210295207A CN 114629817 A CN114629817 A CN 114629817A
Authority
CN
China
Prior art keywords
detection
task
detected
alarm
equipment
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.)
Pending
Application number
CN202210295207.0A
Other languages
Chinese (zh)
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.)
Tianjin Guoneng Binhai Thermal Power Co ltd
Original Assignee
Tianjin Guoneng Binhai Thermal Power Co ltd
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 Tianjin Guoneng Binhai Thermal Power Co ltd filed Critical Tianjin Guoneng Binhai Thermal Power Co ltd
Priority to CN202210295207.0A priority Critical patent/CN114629817A/en
Publication of CN114629817A publication Critical patent/CN114629817A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/182Level alarms, e.g. alarms responsive to variables exceeding a threshold
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B7/00Signalling systems according to more than one of groups G08B3/00 - G08B6/00; Personal calling systems according to more than one of groups G08B3/00 - G08B6/00
    • G08B7/06Signalling systems according to more than one of groups G08B3/00 - G08B6/00; Personal calling systems according to more than one of groups G08B3/00 - G08B6/00 using electric transmission, e.g. involving audible and visible signalling through the use of sound and light sources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Alarm Systems (AREA)

Abstract

本发明提供了一种报警装置的控制方法、装置及电子设备,属于自动控制技术领域。该方法包括:获取待检测设备的执行信号;根据检测计划中每个检测任务对应的检测周期以及在该检测周期内获取的该检测任务对应的待检测设备的执行信号,确定该检测任务的目标状态,并且如果目标状态满足预设报警状态,控制待检测设备对应的报警装置启动报警。本发明通过DCS逻辑模块设定待检测设备的检测计划,针对检测计划中的每个检测任务,根据待检测设备的执行信号判断该检测任务的目标状态,从而实现自动确定各个检测任务的完成状态,有效提升了待检测设备的检测任务状态监督和报警的效率和准确性,同时提升操作人员的工作效率。

Figure 202210295207

The invention provides a control method, device and electronic equipment of an alarm device, belonging to the technical field of automatic control. The method includes: acquiring an execution signal of a device to be detected; determining a target of the detection task according to a detection cycle corresponding to each detection task in the detection plan and the execution signal of the device to be detected corresponding to the detection task acquired during the detection cycle state, and if the target state satisfies the preset alarm state, the alarm device corresponding to the device to be detected is controlled to start an alarm. The invention sets the detection plan of the equipment to be detected through the DCS logic module, and for each detection task in the detection plan, judges the target state of the detection task according to the execution signal of the equipment to be detected, thereby realizing the automatic determination of the completion status of each detection task , which effectively improves the efficiency and accuracy of monitoring and alarming of the detection task status of the equipment to be tested, and at the same time improves the work efficiency of operators.

Figure 202210295207

Description

报警装置的控制方法、装置及电子设备Control method, device and electronic equipment for alarm device

技术领域technical field

本发明涉及自动控制技术领域,尤其是涉及一种报警装置的控制方法、装置及电子设备。The present invention relates to the technical field of automatic control, in particular to a control method, device and electronic equipment of an alarm device.

背景技术Background technique

近年来,随着云计算、物联网、大数据等信息化前沿科技的快速发展,电力企业中传统的思维模式、运营模式和管理模式往往是导致电厂工作效率低下的主要原因,这些模式已经难以适应新环境、新形势的要求。In recent years, with the rapid development of cutting-edge information technologies such as cloud computing, Internet of Things, and big data, the traditional thinking mode, operation mode and management mode in power enterprises are often the main reasons for the low efficiency of power plants. Adapt to the requirements of the new environment and new situation.

电厂中的机组运行过程中,备用设备缺陷的尽早发现和解决,是保障机组安全稳定运行的基础,例如假设汽机主油泵出现故障,而备用油泵同时出现故障,无法备用投入,将导致机组非停,或者某个设备在使用时发现无法正常启动,都会造成严重的经济损失。During the operation of the units in the power plant, the early detection and resolution of the defects of the backup equipment is the basis for ensuring the safe and stable operation of the units. For example, if the main oil pump of the turbine fails, and the backup oil pump fails at the same time, the backup cannot be put into operation, which will lead to the non-stop of the unit. , or a device is found to be unable to start normally when it is in use, which will cause serious economic losses.

目前现有的设备定期试验工作的管理,通常是通过管理人员将设备试验的结果手动输入管理台账进而对设备进行监督,设备容易漏检测,这种传统的方式无法直观反应设备状态,且人工录入效率较低,容易出现错检和漏检的情况。At present, the management of the existing equipment regular test work is usually through the management personnel manually inputting the equipment test results into the management ledger to supervise the equipment, and the equipment is easy to be missed. The entry efficiency is low, and it is prone to false detection and missed detection.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明的目的在于提供一种报警装置的控制方法、装置及电子设备,以提高对设备检测任务状态的监控效率和准确性。In view of this, the purpose of the present invention is to provide a control method, device and electronic device for an alarm device, so as to improve the monitoring efficiency and accuracy of the device detection task state.

第一方面,本发明实施例提供一种报警装置的控制方法,该方法应用于电子设备,电子设备与至少一个待检测设备通讯连接,电子设备中预存有检测计划,检测计划通过电子设备中的DCS逻辑模块预先设定,检测计划中包括多个检测任务,每个检测任务包括任务状态、检测周期以及该检测任务对应的待检测设备的设备标识,每个待检测设备上安装有报警装置;该方法包括:获取待检测设备的执行信号;其中,执行信号用于表征待检测设备是否已经启动;根据检测计划中每个检测任务对应的检测周期以及在该检测周期内获取的该检测任务对应的待检测设备的执行信号,确定该检测任务的目标状态;其中,目标状态用于表征该检测任务的执行情况;如果目标状态满足预设报警状态,控制待检测设备对应的报警装置启动报警。In the first aspect, an embodiment of the present invention provides a method for controlling an alarm device. The method is applied to an electronic device. The electronic device is communicatively connected to at least one device to be detected. A detection plan is pre-stored in the electronic device. The DCS logic module is preset, and the detection plan includes a plurality of detection tasks, each detection task includes the task status, the detection period and the device identification of the device to be detected corresponding to the detection task, and an alarm device is installed on each device to be detected; The method includes: acquiring an execution signal of the device to be detected; wherein, the execution signal is used to represent whether the device to be detected has been started; according to the detection cycle corresponding to each detection task in the detection plan and the corresponding detection task acquired in the detection cycle The execution signal of the device to be detected determines the target state of the detection task; the target state is used to represent the execution of the detection task; if the target state meets the preset alarm state, the alarm device corresponding to the device to be detected is controlled to start an alarm.

进一步地,上述如果目标状态满足预设报警状态,控制待检测设备对应的报警装置启动报警的步骤,包括:如果目标状态满足预设第一报警等级,控制待检测设备对应的报警装置同时启动灯光报警、声音报警和文字报警;如果目标状态满足预设第二报警等级,控制待检测设备对应的报警装置启动以下至少一者:灯光报警、声音报警和文字报警。Further, the above-mentioned step of controlling the alarm device corresponding to the device to be detected to start an alarm if the target state satisfies the preset alarm state includes: if the target state satisfies the preset first alarm level, controlling the alarm device corresponding to the device to be detected to simultaneously start the lights Alarm, sound alarm and text alarm; if the target state meets the preset second alarm level, control the alarm device corresponding to the device to be detected to activate at least one of the following: light alarm, sound alarm and text alarm.

进一步地,上述方法还包括:将检测任务的任务状态更新为目标状态。Further, the above method further includes: updating the task state of the detection task to the target state.

进一步地,上述检测计划中的每个检测任务还包括任务类型;其中,任务类型包括设备倒换检测和/或设备启动检测。Further, each detection task in the above detection plan further includes a task type; wherein, the task type includes device switching detection and/or device startup detection.

进一步地,当任务类型为设备倒换检测时,上述待检测任务对应的待检测设备包括主设备和备用设备。Further, when the task type is device switching detection, the devices to be detected corresponding to the above task to be detected include a master device and a backup device.

进一步地,上述根据检测计划中每个检测任务对应的检测周期以及在该检测周期内获取的该检测任务对应的待检测设备的执行信号,确定该检测任务的目标状态的步骤,包括:当任务类型为设备倒换检测时,根据检测周期、主设备的执行信号以及备用设备的执行信号确定检测任务的目标状态。Further, the above-mentioned step of determining the target state of the detection task according to the detection period corresponding to each detection task in the detection plan and the execution signal of the device to be detected corresponding to the detection task obtained in the detection period, includes: when the task When the type is device switching detection, the target state of the detection task is determined according to the detection period, the execution signal of the master device, and the execution signal of the backup device.

进一步地,上述根据检测周期、主设备的执行信号以及备用设备的执行信号确定检测任务的目标状态的步骤,包括:如果在检测周期内检测到主设备和备用设备的执行信号,确定检测任务的目标状态为工作已执行;如果在检测周期内没有检测到备用设备的执行信号,确定检测任务的目标状态为工作未执行。Further, the above-mentioned step of determining the target state of the detection task according to the detection period, the execution signal of the main equipment and the execution signal of the backup equipment includes: if the execution signals of the main equipment and the backup equipment are detected in the detection period, determine the target state of the detection task. The target state is that the work has been executed; if the execution signal of the standby device is not detected within the detection period, it is determined that the target state of the detection task is that the work has not been executed.

进一步地,上述根据检测计划中每个检测任务对应的检测周期以及在该检测周期内获取的该检测任务对应的待检测设备的执行信号,确定该检测任务的目标状态的步骤,包括:如果在检测周期内检测到待检测设备的执行信号,确定检测任务的目标状态为工作已执行;如果在检测周期内未检测到待检测设备的执行信号,确定检测任务的目标状态为工作未执行。Further, the above-mentioned step of determining the target state of the detection task according to the detection cycle corresponding to each detection task in the detection plan and the execution signal of the device to be detected corresponding to the detection task obtained in the detection cycle, includes: If the execution signal of the device to be detected is detected within the detection period, the target state of the detection task is determined to be the work performed; if the execution signal of the device to be detected is not detected within the detection period, the target state of the detection task is determined to be the work not performed.

进一步地,上述检测任务还包括定期标识;上述方法还包括:如果定期标识表征为周任务,在每周的第一预设时间将检测任务的任务状态设定为工作待执行;如果定期标识表征为月任务,在每月的第二预设时间将检测任务的任务状态设定为工作待执行。Further, the above-mentioned detection task also includes a periodic identification; the above method also includes: if the periodic identification is characterized as a weekly task, the task state of the detection task is set to work to be executed at the first preset time of each week; if the periodic identification is characterized For the monthly task, the task status of the detection task is set as work to be executed at the second preset time of each month.

进一步地,上述方法还包括:当接收到第一用户发出的针对目标检测任务的补充检测请求时,根据补充检测请求更新目标检测任务的任务状态。Further, the above method further includes: when a supplementary detection request for the target detection task sent by the first user is received, updating the task status of the target detection task according to the supplementary detection request.

进一步地,上述在接收到第一用户发出的针对目标检测任务的补充检测请求的步骤之后,上述方法还包括:向第一用户提供用户登录界面,并接收第一用户在用户登录界面输入的用户信息;其中,用户信息包括用户名和用户名对应的用户密码;判断用户信息是否合法,如果否,禁止第一用户修改目标检测任务的任务状态。Further, after the above-mentioned step of receiving a supplementary detection request for the target detection task sent by the first user, the method further includes: providing a user login interface to the first user, and receiving the user input from the first user in the user login interface. information; wherein, the user information includes a user name and a user password corresponding to the user name; it is judged whether the user information is legal, and if not, the first user is prohibited from modifying the task status of the target detection task.

第二方面,本发明实施例还提供一种报警装置的控制装置,该装置与至少一个待检测设备通讯连接,装置中预存有检测计划,检测计划通过电子设备中的DCS逻辑模块预先设定,检测计划中包括多个检测任务,每个检测任务包括任务状态、检测周期以及该检测任务对应的待检测设备的设备标识,每个待检测设备上安装有报警装置;该装置包括:信号获取模块,用于获取待检测设备的执行信号;其中,执行信号用于表征待检测设备是否已经启动;目标状态确定模块,用于根据检测计划中每个检测任务对应的检测周期以及在该检测周期内获取的该检测任务对应的待检测设备的执行信号,确定该检测任务的目标状态;其中,目标状态用于表征该检测任务的执行情况;报警模块,用于判断如果目标状态满足预设报警状态,控制待检测设备对应的报警装置启动报警。In a second aspect, an embodiment of the present invention also provides a control device for an alarm device, the device is communicatively connected to at least one device to be detected, a detection plan is pre-stored in the device, and the detection plan is preset by a DCS logic module in the electronic device, The detection plan includes a plurality of detection tasks, each detection task includes the task status, the detection period and the device identification of the device to be detected corresponding to the detection task, and an alarm device is installed on each device to be detected; the device includes: a signal acquisition module , which is used to obtain the execution signal of the device to be detected; wherein, the execution signal is used to indicate whether the device to be detected has been started; the target state determination module is used for the detection cycle corresponding to each detection task in the detection plan and within the detection cycle The acquired execution signal of the device to be detected corresponding to the detection task determines the target state of the detection task; wherein, the target state is used to represent the execution of the detection task; the alarm module is used to determine if the target state satisfies the preset alarm state , control the alarm device corresponding to the device to be detected to start the alarm.

第三方面,本发明实施例还提供一种电子设备,包括处理器和存储器,存储器存储有能够被处理器执行的计算机可执行指令,处理器执行计算机可执行指令以实现上述第一方面的报警装置的控制方法。In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, where the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the alarm in the first aspect above device control method.

第四方面,本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质存储有计算机可执行指令,计算机可执行指令在被处理器调用和执行时,计算机可执行指令促使处理器实现上述第一方面的报警装置的控制方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are invoked and executed by the processor, the computer-executable instructions cause the processor to The control method of the alarm device of the above-mentioned first aspect is realized.

本发明带来的有益效果:Beneficial effects brought by the present invention:

本发明实施例提供的上述报警装置的控制方法、装置及电子设备,首先获取待检测设备的执行信号;根据检测计划中每个检测任务对应的检测周期以及在该检测周期内获取的该检测任务对应的待检测设备的执行信号,确定该检测任务的目标状态,并且,如果目标状态满足预设报警状态,控制待检测设备对应的报警装置启动报警。本发明通过DCS逻辑模块设定待检测设备的检测计划,针对检测计划中的每个检测任务,根据待检测设备的执行信号判断该检测任务的目标状态,从而实现自动确定各个检测任务的完成状态,相比于人工检测后手动录入的方式,有效提升了待检测设备的检测任务状态监督的效率和准确性,同时,在预设报警状态时,启动报警装置,以直观的方式通知操作人员各个检测任务的完成状态,进一步提升了操作人员的工作效率。The control method, device and electronic device for the above-mentioned alarm device provided by the embodiments of the present invention firstly obtain the execution signal of the device to be detected; according to the detection period corresponding to each detection task in the detection plan and the detection task acquired in the detection period The corresponding execution signal of the device to be detected determines the target state of the detection task, and if the target state satisfies the preset alarm state, the alarm device corresponding to the device to be detected is controlled to start an alarm. The invention sets the detection plan of the equipment to be detected through the DCS logic module, and for each detection task in the detection plan, judges the target state of the detection task according to the execution signal of the equipment to be detected, so as to realize the automatic determination of the completion status of each detection task , compared with the manual entry method after manual detection, it effectively improves the efficiency and accuracy of monitoring the detection task status of the equipment to be detected. At the same time, when the alarm state is preset, the alarm device is activated to notify the operator in an intuitive way Detecting the completion status of tasks further improves the work efficiency of operators.

本公开的其他特征和优点将在随后的说明书中阐述,或者,部分特征和优点可以从说明书推知或毫无疑义地确定,或者通过实施本公开的上述技术即可得知。Additional features and advantages of the present disclosure will be set forth in the description that follows, or some may be inferred or unambiguously determined from the description, or may be learned by practicing the above-described techniques of the present disclosure.

为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present disclosure more obvious and easy to understand, the preferred embodiments are exemplified below, and are described in detail as follows in conjunction with the accompanying drawings.

附图说明Description of drawings

为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the specific embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the specific embodiments or the prior art. Obviously, the accompanying drawings in the following description The drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.

图1为本发明实施例提供的一种电子系统的结构示意图;1 is a schematic structural diagram of an electronic system according to an embodiment of the present invention;

图2为本发明实施例提供的一种报警装置的控制方法的流程图;FIG. 2 is a flowchart of a control method of an alarm device provided by an embodiment of the present invention;

图3为本发明实施例提供的另一种报警装置的控制方法的流程图;3 is a flowchart of another control method of an alarm device provided by an embodiment of the present invention;

图4为本发明实施例提供的另一种报警装置的控制方法的流程图;4 is a flowchart of another control method of an alarm device provided by an embodiment of the present invention;

图5为本发明实施例提供的一种检测任务的显示界面示意图;5 is a schematic diagram of a display interface of a detection task provided by an embodiment of the present invention;

图6为本发明实施例提供的一种在检测任务的显示界面中提供了用户登录界面的示意图;6 is a schematic diagram of providing a user login interface in a display interface of a detection task according to an embodiment of the present invention;

图7为本发明实施例提供的一种报警装置的控制装置的结构示意图;7 is a schematic structural diagram of a control device of an alarm device according to an embodiment of the present invention;

图8为本发明实施例提供的一种电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. example. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

目前的设备检测定期任务的完成情况的监督,主要依靠人工录入台账的方式进行管理,效率低下,且出错率较高,基于此,本发明实施例提供一种报警装置的控制方法、装置及电子设备,以提高对设备检测任务状态的监控效率和准确性。The current equipment to detect the completion of the periodic task is mainly managed by manual entry into the ledger, which is inefficient and has a high error rate. Electronic equipment to improve the monitoring efficiency and accuracy of the equipment detection task status.

参照图1所示的电子系统的结构示意图。该电子系统中包括电子设备,电子设备可以用于实现本发明实施例的报警装置的控制方法和装置。该电子设备与至少一个待检测设备通信连接,例如三个待检测的火力发电机、EH(Electric Hydraulic,电气液压)油泵或者闭式循环水泵,待检测设备可以与上述电子设备直接连接,也可以通过无线连接的方式连接,以便使电子设备能够接收到待检测设备发出的信号。该电子设备中预存有检测计划,该检测计划通过电子设备中的DCS逻辑模块预先设定,例如,可以在电子设备中安装DCS系统,通过DCS系统中的逻辑模块设定检测计划,检测计划中包括多个检测任务,每个检测任务包括任务状态、检测周期以及该检测任务对应的待检测设备的设备标识。Referring to the schematic structural diagram of the electronic system shown in FIG. 1 . The electronic system includes an electronic device, and the electronic device can be used to implement the control method and device of the alarm device according to the embodiment of the present invention. The electronic device is communicatively connected to at least one device to be tested, such as three thermal power generators to be tested, an EH (Electric Hydraulic, electro-hydraulic) oil pump or a closed circulating water pump. The device to be tested can be directly connected to the above electronic device, or can It is connected by a wireless connection, so that the electronic device can receive the signal sent by the device to be detected. A test plan is pre-stored in the electronic device, and the test plan is preset by the DCS logic module in the electronic device. For example, a DCS system can be installed in the electronic device, and the test plan can be set by the logic module in the DCS system. It includes a plurality of detection tasks, and each detection task includes a task status, a detection period, and a device identifier of the device to be detected corresponding to the detection task.

具体地,某电厂的待检测设备包括A01、A02和A03三个,针对这三个设备,可以预先设定多个检测任务,并显示在电子设备的显示装置中,例如任务1:在每周二10点至14点对A01和A02进行检测,任务2:在每月5日21点至22点对A03进行检测。针对任务1,检测周期为10点至14点,对应的待检测设备的设备标识为A01和A02。Specifically, the equipment to be tested in a power plant includes three equipments A01, A02 and A03. For these three equipments, multiple testing tasks can be preset and displayed on the display device of the electronic equipment, for example, task 1: every Tuesday Detect A01 and A02 from 10:00 to 14:00. Task 2: Detect A03 from 21:00 to 22:00 on the 5th of every month. For task 1, the detection period is from 10:00 to 14:00, and the device identifiers of the corresponding devices to be detected are A01 and A02.

另外,每个待检测设备上安装有报警装置,报警装置可以是文字报警、声音报警和灯光报警中的一个或者多个。根据警报级别,设置不同的报警模式。In addition, an alarm device is installed on each device to be detected, and the alarm device can be one or more of text alarm, sound alarm and light alarm. According to the alarm level, set different alarm modes.

图2为本发明实施例提供的一种报警装置的控制方法的流程图,该方法应用于上述电子设备,参见图2,该方法包括以下步骤:FIG. 2 is a flowchart of a control method of an alarm device provided by an embodiment of the present invention. The method is applied to the above-mentioned electronic equipment. Referring to FIG. 2 , the method includes the following steps:

S202:获取待检测设备的执行信号;其中,执行信号用于表征待检测设备是否已经启动;S202: Acquire an execution signal of the device to be detected; wherein, the execution signal is used to represent whether the device to be detected has been started;

对于待检测设备的执行信号的获取,可以是实时获取之后立即进行后续检测任务状态的判断,也可以是实时获取后存储在指定位置,在到达检测任务的状态判断的时间节点时,读取一段时间内的执行信号进行判断。For the acquisition of the execution signal of the device to be detected, it can be acquired in real time and immediately after the status of the subsequent detection task is determined, or it can be acquired in real time and stored in a designated location. When the time node for determining the status of the detection task is reached, read a section of The execution signal within the time is judged.

DCS系统根据检测计划在检测周期的开始时间触发待检测设备执行启动操作,如果待检测设备正常启动,则向DCS系统所在的电子设备发送执行信号,执行信号可以包括待检测设备的设备标识、启动时间等信息。接收到待检测设备的执行信号,则说明该待检测设备已经启动,否则说明该待检测未正常启动。The DCS system triggers the device to be detected to perform the startup operation at the start time of the detection cycle according to the detection plan. If the device to be detected starts normally, it sends an execution signal to the electronic device where the DCS system is located. The execution signal may include the device identification of the device to be detected, the startup time and other information. If the execution signal of the device to be detected is received, it means that the device to be detected has been started; otherwise, it means that the device to be detected has not been started normally.

S204:根据检测计划中每个检测任务对应的检测周期以及在该检测周期内获取的该检测任务对应的待检测设备的执行信号,确定该检测任务的目标状态;其中,目标状态用于表征该检测任务的执行情况;S204: Determine the target state of the detection task according to the detection cycle corresponding to each detection task in the detection plan and the execution signal of the device to be detected corresponding to the detection task obtained in the detection cycle; wherein, the target state is used to represent the Check the execution of tasks;

在收集到各个待检测设备的执行信号之后,电子设备还可以实时监控检测计划中的每个检测任务的检测周期是否已经开始或是否已经结束。例如,当检测到某个检测任务的检测周期到达结束时间,那么统计该检测周期的开始时间到结束时间之间获取的所有待检测设备的执行信号,并将执行信号与该检测任务的任务内容进行匹配,根据匹配结果,确定该检测任务的目标状态。After collecting the execution signals of each device to be inspected, the electronic device can also monitor in real time whether the inspection cycle of each inspection task in the inspection plan has started or ended. For example, when it is detected that the detection period of a certain detection task reaches the end time, the execution signals of all devices to be tested obtained between the start time and the end time of the detection period are counted, and the execution signals and the task content of the detection task are calculated. Matching is performed, and the target state of the detection task is determined according to the matching result.

S206:如果目标状态满足预设报警状态,控制待检测设备对应的报警装置启动报警。S206: If the target state satisfies the preset alarm state, control the alarm device corresponding to the device to be detected to start an alarm.

具体地,预设报警状态可以包括多个报警等级,例如包括三个报警等级,针对不同的报警等级,设置对应的报警模式。具体实施时,针对报警等级较高的情况,设置的报警模式最明显,针对报警等级较低的情况,设置相对不明显的报警模式,对于报警等级更低的情况,可以不启动报警装置。Specifically, the preset alarm state may include multiple alarm levels, for example, three alarm levels, and corresponding alarm modes are set for different alarm levels. In specific implementation, the alarm mode is the most obvious for situations with a high alarm level, and a relatively inconspicuous alarm mode is set for situations with a low alarm level. For a situation with a lower alarm level, the alarm device may not be activated.

本发明实施例提供的上述报警装置的控制方法,首先获取待检测设备的执行信号;根据检测计划中每个检测任务对应的检测周期以及在该检测周期内获取的该检测任务对应的待检测设备的执行信号,确定该检测任务的目标状态,并且,如果目标状态满足预设报警状态,控制待检测设备对应的报警装置启动报警。本发明通过DCS逻辑模块设定待检测设备的检测计划,针对检测计划中的每个检测任务,根据待检测设备的执行信号判断该检测任务的目标状态,从而实现自动确定各个检测任务的完成状态,相比于人工检测后手动录入的方式,有效提升了待检测设备的检测任务状态监督的效率和准确性,同时,在预设报警状态时,启动报警装置,以直观的方式通知操作人员各个检测任务的完成状态,进一步提升了操作人员的工作效率。The control method of the above-mentioned alarm device provided by the embodiment of the present invention firstly obtains the execution signal of the device to be detected; according to the detection cycle corresponding to each detection task in the detection plan and the device to be detected corresponding to the detection task obtained within the detection cycle to determine the target state of the detection task, and if the target state satisfies the preset alarm state, control the alarm device corresponding to the device to be detected to start the alarm. The invention sets the detection plan of the equipment to be detected through the DCS logic module, and for each detection task in the detection plan, judges the target state of the detection task according to the execution signal of the equipment to be detected, so as to realize the automatic determination of the completion status of each detection task , compared with the manual entry method after manual detection, it effectively improves the efficiency and accuracy of monitoring the detection task status of the equipment to be detected. At the same time, when the alarm state is preset, the alarm device is activated to notify the operator in an intuitive way Detecting the completion status of tasks further improves the work efficiency of operators.

在一些可能的实施方式中,上述步骤S206可以具体包括以下步骤:In some possible implementations, the above step S206 may specifically include the following steps:

L1:如果目标状态满足预设第一报警等级,控制待检测设备对应的报警装置同时启动灯光报警、声音报警和文字报警;L1: If the target state meets the preset first alarm level, control the alarm device corresponding to the device to be detected to simultaneously activate the light alarm, sound alarm and text alarm;

L2:如果目标状态满足预设第二报警等级,控制待检测设备对应的报警装置启动以下至少一者:灯光报警、声音报警和文字报警。L2: If the target state meets the preset second alarm level, control the alarm device corresponding to the device to be detected to activate at least one of the following: light alarm, sound alarm and text alarm.

在另一些可能的实施方式中,上述方法还可以包括:将检测任务的任务状态更新为目标状态。In some other possible implementations, the above method may further include: updating the task state of the detection task to the target state.

本步骤中,不同的目标状态可以设定成不同的显示方式,例如可以用不同的颜色显示不同的状态,具体地,当目标状态为工作已完成,则界面中该检测任务对应的显示区域背景色为绿色,如果目标状态为工作未完成,则界面中该检测任务对应的显示区域背景色为红色。In this step, different target states can be set to different display modes, for example, different states can be displayed in different colors. Specifically, when the target state is that the work has been completed, the background of the display area corresponding to the detection task in the interface will be displayed. The color is green. If the target status is unfinished, the background color of the display area corresponding to the detection task in the interface is red.

在一些可能的实施方式中,检测计划中的每个检测任务还包括任务类型;其中,任务类型包括设备倒换检测和/或设备启动检测。In some possible implementations, each detection task in the detection plan further includes a task type, wherein the task type includes device switching detection and/or device startup detection.

其中,设备倒换检测是判断主设备和备用设备是否可以进行正常的替换,即备用设备是否可以随时替换主设备进行正常工作。设备启动检测是针对每个设备,判断是否可以按时正常启动。Among them, the device switching detection is to determine whether the main device and the standby device can be replaced normally, that is, whether the standby device can replace the main device at any time to work normally. Device startup detection is for each device to determine whether it can be properly started on time.

基于此,当任务类型为设备倒换检测时,待检测任务对应的待检测设备包括主设备和备用设备。Based on this, when the task type is device switching detection, the devices to be detected corresponding to the task to be detected include a master device and a backup device.

其中,主设备与备用设备是结构相同作用相同的两个设备,备用设备在断电、主设备发生故障时可以起到和主设备相同作用,以保证火电机组的正常运行。可以理解的是,主设备和备用设备是预先设定了主备用关系的一对设备,主设备和备用设备可以互换,即作为主设备的待检测设备也可以设定成作为备用设备。一个主设备可以与一个备用设备一一对应,也可以多个主设备共用一个备用设备。Among them, the main equipment and the standby equipment are two equipment with the same structure and the same function. The standby equipment can play the same role as the main equipment when the power is cut off and the main equipment fails to ensure the normal operation of the thermal power unit. It can be understood that the master device and the backup device are a pair of devices with a master-standby relationship preset, and the master device and the backup device can be interchanged, that is, the device to be detected as the master device can also be set as the backup device. A master device can be in one-to-one correspondence with a backup device, or multiple master devices can share a backup device.

在上述实施例的基础上,本发明实施例还提供了另一种报警装置的控制方法,如图3所示,该过程为当任务类型为设备倒换检测时的设备检测任务监控方法,该方法包括以下步骤:On the basis of the above embodiment, the embodiment of the present invention also provides another method for controlling an alarm device. As shown in FIG. 3 , the process is a method for monitoring a device detection task when the task type is device switching detection. This method Include the following steps:

S302:获取待检测设备的执行信号;S302: Obtain the execution signal of the device to be detected;

S304:根据检测周期、主设备的执行信号以及备用设备的执行信号确定检测任务的目标状态;S304: Determine the target state of the detection task according to the detection period, the execution signal of the master device, and the execution signal of the backup device;

在具体应用场景中,可以是在检测周期的开始时刻以及检测周期的结束时刻,收集所有待检测设备发送的执行完毕的执行信号,续接上例,任务1可以是闭式循环水泵的倒换试验,即需要完成水泵A01和水泵A02的倒换检测,在任务1的检测周期的结束时刻,判断在检测周期的开始时刻到当前时刻,是否收集到水泵A01以及水泵A02的执行信号,如果收集到了水泵A01的执行信号以及水泵A02的检测信号,说明在检测周期阶段,水泵A01和水泵A02都正常启动,可以实现设备的倒换。如果只接收到了水泵A01的执行信号,没有接收到水泵A02的执行信号,说明备用设备A02无法与主设备A01同时启动,不能完成主设备到备用设备的倒换。In a specific application scenario, it can be at the beginning of the detection period and the end of the detection period to collect the execution signals sent by all the devices to be tested. Continuing with the above example, task 1 can be the switching test of the closed-circuit water pump. , that is, it is necessary to complete the switching detection of the water pump A01 and the water pump A02. At the end of the detection cycle of task 1, it is judged whether the execution signal of the water pump A01 and the water pump A02 is collected from the start time of the detection cycle to the current time. The execution signal of A01 and the detection signal of water pump A02 indicate that in the detection cycle stage, both water pump A01 and water pump A02 are normally started, which can realize equipment switching. If only the execution signal of water pump A01 is received, but the execution signal of water pump A02 is not received, it means that the standby device A02 cannot be started at the same time as the main device A01, and the switchover from the main device to the standby device cannot be completed.

基于以上描述可知,在一些可能的实施方式中,如果在检测周期内检测到主设备和备用设备的执行信号,确定检测任务的目标状态为工作已执行;如果在检测周期内没有检测到备用设备的执行信号,确定检测任务的目标状态为工作未执行。Based on the above description, in some possible implementations, if the execution signals of the master device and the backup device are detected within the detection period, it is determined that the target state of the detection task is that the work has been executed; if the backup device is not detected within the detection period The execution signal determines that the target state of the detection task is work not executed.

S306:如果目标状态满足预设报警状态,控制待检测设备对应的报警装置启动报警。S306: If the target state satisfies the preset alarm state, control the alarm device corresponding to the device to be detected to start an alarm.

具体地,可以设定,工作未执行为预设报警状态,那么当确定目标状态为工作未执行时,启动报警装置。Specifically, it can be set that the work is not executed as a preset alarm state, then when it is determined that the target state is that the work is not executed, the alarm device is activated.

在上述实施例的基础上,本发明实施例还提供了另一种报警装置的控制方法,如图4所示,该过程为当任务类型为设备启动检测时的设备检测任务监控方法,该方法包括以下步骤:On the basis of the above embodiment, the embodiment of the present invention also provides another method for controlling an alarm device. As shown in FIG. 4 , the process is a method for monitoring a device detection task when the task type is device startup detection. This method Include the following steps:

S402:获取待检测设备的执行信号;S402: Obtain the execution signal of the device to be detected;

S404:如果在检测周期内检测到待检测设备的执行信号,确定检测任务的目标状态为工作已执行;S404: If the execution signal of the device to be detected is detected within the detection period, determine that the target state of the detection task is that the work has been performed;

S406:如果在检测周期内未检测到待检测设备的执行信号,确定检测任务的目标状态为工作未执行;S406: If the execution signal of the device to be detected is not detected within the detection period, determine that the target state of the detection task is that the work is not executed;

对于单个待检测设备的启动检测,只需要判断是否在检测周期内检测到该设备的执行信号,例如上述的任务2可以具体是EH备用油泵启动试验,如果在检测周期内检测到备用油泵A03的执行信号,则该任务为工作已执行状态,如果在检测周期内没有检测到备用油泵A03的执行信号,则该任务2的状态为工作未执行。For the startup detection of a single device to be detected, it is only necessary to determine whether the execution signal of the device is detected within the detection period. For example, the above task 2 may specifically be the start-up test of the EH standby oil pump. If the execution signal is executed, the task is in the state of work being executed. If the execution signal of the standby oil pump A03 is not detected within the detection period, the state of the task 2 is that the work is not executed.

S408:如果目标状态满足预设报警状态,控制待检测设备对应的报警装置启动报警。S408: If the target state satisfies the preset alarm state, control the alarm device corresponding to the device to be detected to start an alarm.

检测任务通常是周期性的,例如每天、每周或者每个月的固定时间都要进行待检测设备的检测,以确保待检测设备的持续正常状态,因此,上述检测任务还包括定期标识;如果定期标识表征为周任务,在每周的第一预设时间将检测任务的任务状态设定为工作待执行;如果定期标识表征为月任务,在每月的第二预设时间将检测任务的任务状态设定为工作待执行。The detection task is usually periodic, such as the detection of the device to be detected at a fixed time every day, week or month to ensure the continuous normal state of the device to be detected. Therefore, the above detection task also includes periodic identification; if The periodic identification is characterized as a weekly task, and the task status of the detection task is set to work to be executed at the first preset time of each week; if the periodic identification is characterized as a monthly task, the detection task is set at the second preset time of each month. The task status is set to work pending.

图5为本发明实施例提供的一种检测任务的显示界面的示意图,通过本发明实施例提供的报警装置的控制方法,可以实现根据检测计划自动完成设备的检测、检测任务的状态更新以及报警装置的自动启动,用户通过界面可以直观的了解各个检测任务的完成情况,进而了解各个设备是否正常,有效提升了操作人员对设备的监控效率。FIG. 5 is a schematic diagram of a display interface of a detection task provided by an embodiment of the present invention. Through the control method of an alarm device provided by an embodiment of the present invention, the detection of equipment, the status update of the detection task, and the alarm can be automatically completed according to the detection plan. With the automatic startup of the device, the user can intuitively understand the completion of each detection task through the interface, and then understand whether each device is normal, which effectively improves the operator's monitoring efficiency of the device.

由于在机组实际运行中,会遇到各类临时情况,比如保电期,检修期,临时停机等情况,定期工作无法按照既定计划正常进行,如果运行人员需要根据设备情况补做定期工作,那么在定期工作记录本上无法体现设备实际试验情况,所以在报警装置的控制系统中添加了定期工作管理权限,当运行人员需要补做定期工作时,可以在定期工作管理权限中输入设定密码,这样补做定期工作的同时,也会在报警装置的控制系统正常记录为工作已进行。因此,在一些示例中,上述实施例中的方法还包括:当接收到第一用户发出的针对目标检测任务的补充检测请求时,根据补充检测请求更新目标检测任务的任务状态。Due to the fact that in the actual operation of the unit, various temporary situations will be encountered, such as power protection period, maintenance period, temporary shutdown, etc., the regular work cannot be carried out normally according to the established plan. If the operator needs to make up the regular work according to the equipment conditions, then The actual test situation of the equipment cannot be reflected in the regular work record book, so the regular work management authority is added to the control system of the alarm device. When the operator needs to do regular work, he can enter the set password in the regular work management authority In this way, while the regular work is done, it will also be recorded as the work has been carried out in the control system of the alarm device. Therefore, in some examples, the method in the above embodiment further includes: when a supplementary detection request for the target detection task sent by the first user is received, updating the task status of the target detection task according to the supplementary detection request.

其中的第一用户可以是火电机组的管理人员或者操作人员,在任务监控的界面中可以设定一个用于第一用户发出补充检测请求的按钮,当第一用户触发按钮时,电子设备接收到补充检测请求。The first user may be the manager or operator of the thermal power unit, and a button for the first user to send a supplementary detection request can be set in the task monitoring interface. When the first user triggers the button, the electronic device receives Supplemental detection request.

为了确保系统的安全性,避免人为的错误操作导致待检测设备的漏检,上述方法还包括用户验证过程,具体地,在接收到第一用户发出的针对目标检测任务的补充检测请求的步骤之后,向第一用户提供用户登录界面,并接收第一用户在用户登录界面输入的用户信息;其中,用户信息包括用户名和用户名对应的用户密码;判断用户信息是否合法,如果否,禁止第一用户修改目标检测任务的任务状态。图6为本发明实施例提供的一种在检测任务的显示界面中提供用户登录界面的示意图。In order to ensure the security of the system and avoid the missed detection of the device to be detected due to human error operations, the above method further includes a user verification process, specifically, after the step of receiving a supplementary detection request for the target detection task sent by the first user , provide a user login interface to the first user, and receive the user information input by the first user in the user login interface; wherein, the user information includes the user name and the user password corresponding to the user name; determine whether the user information is legal, if not, prohibit the first user The user modifies the task status of the object detection task. FIG. 6 is a schematic diagram of providing a user login interface in a display interface of a detection task according to an embodiment of the present invention.

进一步地,还可以通过DCS的逻辑模块设定激活时长,例如,设定激活时长为7200秒,则第一用户通过验证后的7200秒即为激活报警装置的控制系统的权限时间,在激活的7200秒内可以进行补充检测的任务,在7200s后通过DCS的转换模块权限复位,即禁止第一用户继续修改各个任务的任务状态。Further, the activation duration can also be set through the logic module of the DCS. For example, if the activation duration is set to be 7200 seconds, the 7200 seconds after the first user passes the verification is the authorization time for activating the control system of the alarm device. For tasks that can perform supplementary detection within 7200 seconds, the authority of the DCS conversion module is reset after 7200 seconds, that is, the first user is prohibited from continuing to modify the task status of each task.

为了防止设备误动或者系统设备状态失准,在一些示例中,可以在DCS的逻辑模块中加入延时模块,即检测周期的开始时间以及结束时间均包括一定的延时,以保证报警装置的控制系统实验历史记录的正确性和可靠性。In order to prevent equipment malfunction or system equipment state inaccuracy, in some examples, a delay module can be added to the logic module of the DCS, that is, the start time and the end time of the detection cycle include a certain delay to ensure the alarm device. Control the correctness and reliability of the experimental history of the system.

为了防止工作人员疏忽,没有注意到没有完成的任务,还可以在检测到某一任务没有完成,则自动启动该任务的设备上安装的报警装置。In order to prevent the staff from being negligent and not paying attention to the unfinished task, it is also possible to automatically activate the alarm device installed on the equipment of the task when it is detected that a certain task has not been completed.

基于上述方法实施例,本发明实施例还提供一种报警装置的控制装置,参见图7所示,该装置与至少一个待检测设备通讯连接,该装置中预存有检测计划,检测计划通过电子设备中的DCS逻辑模块预先设定,检测计划中包括多个检测任务,每个检测任务包括任务状态、检测周期以及该检测任务对应的待检测设备的设备标识,每个待检测设备上安装有报警装置;该装置包括:Based on the above method embodiment, an embodiment of the present invention also provides a control device for an alarm device, as shown in FIG. 7 , the device is communicatively connected to at least one device to be detected, a detection plan is pre-stored in the device, and the detection plan is passed through an electronic device. The DCS logic module is preset, and the detection plan includes a plurality of detection tasks. Each detection task includes the task status, detection cycle and the device identification of the device to be detected corresponding to the detection task. An alarm is installed on each device to be detected. apparatus; the apparatus includes:

信号获取模块702,用于获取待检测设备的执行信号;其中,执行信号用于表征待检测设备是否已经启动;The signal acquisition module 702 is used to acquire the execution signal of the device to be detected; wherein, the execution signal is used to represent whether the device to be detected has been started;

目标状态确定模块704,用于根据检测计划中每个检测任务对应的检测周期以及在该检测周期内获取的该检测任务对应的待检测设备的执行信号,确定该检测任务的目标状态;其中,目标状态用于表征该检测任务的执行情况;The target state determination module 704 is used to determine the target state of the detection task according to the detection period corresponding to each detection task in the detection plan and the execution signal of the device to be detected corresponding to the detection task obtained in the detection period; wherein, The target state is used to characterize the execution of the detection task;

报警模块708,用于判断如果目标状态满足预设报警状态,控制待检测设备对应的报警装置启动报警。。The alarm module 708 is configured to determine that if the target state satisfies the preset alarm state, control the alarm device corresponding to the device to be detected to start an alarm. .

本发明实施例提供的上述报警装置的控制装置,首先获取待检测设备的执行信号;根据检测计划中每个检测任务对应的检测周期以及在该检测周期内获取的该检测任务对应的待检测设备的执行信号,确定该检测任务的目标状态,并且,如果目标状态满足预设报警状态,控制待检测设备对应的报警装置启动报警。本发明通过DCS逻辑模块设定待检测设备的检测计划,针对检测计划中的每个检测任务,根据待检测设备的执行信号判断该检测任务的目标状态,从而实现自动确定各个检测任务的完成状态,相比于人工检测后手动录入的方式,有效提升了待检测设备的检测任务状态监督的效率和准确性,同时,在预设报警状态时,启动报警装置,以直观的方式通知操作人员各个检测任务的完成状态,进一步提升了操作人员的工作效率。The control device of the above-mentioned alarm device provided by the embodiment of the present invention first obtains the execution signal of the device to be detected; according to the detection cycle corresponding to each detection task in the detection plan and the device to be detected corresponding to the detection task obtained within the detection cycle to determine the target state of the detection task, and if the target state satisfies the preset alarm state, control the alarm device corresponding to the device to be detected to start the alarm. The invention sets the detection plan of the equipment to be detected through the DCS logic module, and for each detection task in the detection plan, judges the target state of the detection task according to the execution signal of the equipment to be detected, so as to realize the automatic determination of the completion status of each detection task , compared with the manual entry method after manual detection, it effectively improves the efficiency and accuracy of monitoring the detection task status of the equipment to be detected. At the same time, when the alarm state is preset, the alarm device is activated to notify the operator in an intuitive way Detecting the completion status of tasks further improves the work efficiency of operators.

上述报警模块708还用于:如果目标状态满足预设第一报警等级,控制待检测设备对应的报警装置同时启动灯光报警、声音报警和文字报警;如果目标状态满足预设第二报警等级,控制待检测设备对应的报警装置启动以下至少一者:灯光报警、声音报警和文字报警。The above-mentioned alarm module 708 is also used to: if the target state satisfies the preset first alarm level, control the alarm device corresponding to the equipment to be detected to simultaneously activate light alarm, sound alarm and text alarm; if the target state satisfies the preset second alarm level, control the The alarm device corresponding to the device to be detected activates at least one of the following: light alarm, sound alarm and text alarm.

上述装置还包括:更新模块,用于将检测任务的任务状态更新为目标状态。The above device further includes: an update module, configured to update the task state of the detection task to the target state.

上述检测计划中的每个检测任务还包括任务类型;其中,任务类型包括设备倒换检测和/或设备启动检测。Each detection task in the above detection plan further includes a task type, wherein the task type includes device switching detection and/or device startup detection.

上述当任务类型为设备倒换检测时,待检测任务对应的待检测设备包括主设备和备用设备。When the task type is device switching detection, the devices to be detected corresponding to the task to be detected include a master device and a backup device.

上述根据检测计划中每个检测任务对应的检测周期以及在该检测周期内获取的该检测任务对应的待检测设备的执行信号,确定该检测任务的目标状态的过程,包括:当任务类型为设备倒换检测时,根据检测周期、主设备的执行信号以及备用设备的执行信号确定检测任务的目标状态。The above-mentioned process of determining the target state of the detection task according to the detection cycle corresponding to each detection task in the detection plan and the execution signal of the device to be detected corresponding to the detection task obtained in the detection cycle, includes: when the task type is a device During switching detection, the target state of the detection task is determined according to the detection period, the execution signal of the master device, and the execution signal of the backup device.

上述根据检测周期、主设备的执行信号以及备用设备的执行信号确定检测任务的目标状态的过程,包括:如果在检测周期内检测到主设备和备用设备的执行信号,确定检测任务的目标状态为工作已执行;如果在检测周期内没有检测到备用设备的执行信号,确定检测任务的目标状态为工作未执行。The above-mentioned process of determining the target state of the detection task according to the detection period, the execution signal of the main device and the execution signal of the backup device includes: if the execution signal of the main device and the backup device is detected in the detection period, it is determined that the target state of the detection task is The work has been executed; if the execution signal of the standby device is not detected within the detection period, it is determined that the target state of the detection task is the work not executed.

目标状态确定模块704还用于,如果在检测周期内检测到待检测设备的执行信号,确定检测任务的目标状态为工作已执行;如果在检测周期内未检测到待检测设备的执行信号,确定检测任务的目标状态为工作未执行。The target state determination module 704 is also used to, if the execution signal of the device to be detected is detected in the detection period, determine that the target state of the detection task is that the work has been performed; if the execution signal of the device to be detected is not detected within the detection period, determine The target status of the detection task is Job Not Executed.

上述检测任务还包括定期标识;上述装置还包括:任务状态设定模块,用于判断如果定期标识表征为周任务,在每周的第一预设时间将检测任务的任务状态设定为工作待执行;如果定期标识表征为月任务,在每月的第二预设时间将检测任务的任务状态设定为工作待执行。The above-mentioned detection task also includes a periodic identification; the above-mentioned device also includes: a task state setting module for judging that if the periodic identification is represented as a weekly task, the task state of the detection task is set to work waiting at the first preset time of each week. Execute; if the periodic identifier is represented as a monthly task, the task status of the detection task is set to work to be executed at the second preset time of each month.

上述装置还包括:更新模块,用于当接收到第一用户发出的针对目标检测任务的补充检测请求时,根据补充检测请求更新目标检测任务的任务状态。The above device further includes: an update module, configured to update the task status of the target detection task according to the supplementary detection request when a supplementary detection request for the target detection task sent by the first user is received.

上述在接收到第一用户发出的针对目标检测任务的补充检测请求的过程之后,上述装置还包括:登录模块,用于向第一用户提供用户登录界面,并接收第一用户在用户登录界面输入的用户信息;其中,用户信息包括用户名和用户名对应的用户密码;判断模块,用于判断用户信息是否合法,如果否,禁止第一用户修改目标检测任务的任务状态。After the above-mentioned process of receiving the supplementary detection request for the target detection task sent by the first user, the above-mentioned device further includes: a login module, configured to provide the first user with a user login interface, and receive the input from the first user on the user login interface. The user information includes the user name and the user password corresponding to the user name; the judgment module is used to judge whether the user information is legal, and if not, prohibit the first user from modifying the task status of the target detection task.

本发明实施例提供的报警装置的控制装置,其实现原理及产生的技术效果和前述方法实施例相同,为简要描述,上述装置的实施例部分未提及之处,可参考前述报警装置的控制方法实施例中的相应内容。The control device of the alarm device provided by the embodiment of the present invention has the same realization principle and technical effect as the foregoing method embodiments. For the sake of brief description, for the parts not mentioned in the embodiments of the foregoing device, reference may be made to the control of the foregoing alarm device. Corresponding content in the method embodiment.

本发明实施例还提供了一种电子设备,如图8所示,为该电子设备的结构示意图,其中,该电子设备包括处理器801和存储器802,该存储器802存储有能够被该处理器801执行的计算机可执行指令,该处理器801执行该计算机可执行指令以实现上述报警装置的控制方法。An embodiment of the present invention also provides an electronic device, as shown in FIG. 8 , which is a schematic structural diagram of the electronic device, wherein the electronic device includes a processor 801 and a memory 802 , and the memory 802 stores data that can be used by the processor 801 Executed computer-executable instructions, the processor 801 executes the computer-executable instructions to implement the above-mentioned control method of the alarm device.

在图8示出的实施方式中,该电子设备还包括总线803和通信接口804,其中,处理器801、通信接口804和存储器802通过总线803连接。In the embodiment shown in FIG. 8 , the electronic device further includes a bus 803 and a communication interface 804 , wherein the processor 801 , the communication interface 804 and the memory 802 are connected through the bus 803 .

其中,存储器802可能包含高速随机存取存储器(RAM,Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个通信接口804(可以是有线或者无线)实现该系统网元与至少一个其他网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。总线803可以是ISA(IndustryStandard Architecture,工业标准体系结构)总线、PCI(Peripheral ComponentInterconnect,外设部件互连标准)总线或EISA(Extended Industry StandardArchitecture,扩展工业标准结构)总线等。所述总线803可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。The memory 802 may include a high-speed random access memory (RAM, Random Access Memory), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the network element of the system and at least one other network element is implemented through at least one communication interface 804 (which may be wired or wireless), which may use the Internet, a wide area network, a local network, a metropolitan area network, and the like. The bus 803 may be an ISA (IndustryStandard Architecture, industry standard architecture) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or an EISA (Extended Industry Standard Architecture, extended industry standard architecture) bus, or the like. The bus 803 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one bidirectional arrow is used in FIG. 8, but it does not mean that there is only one bus or one type of bus.

处理器801可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器801中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器801可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DigitalSignal Processor,简称DSP)、专用集成电路(Application Specific IntegratedCircuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器801读取存储器中的信息,结合其硬件完成前述实施例的报警装置的控制方法的步骤。The processor 801 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method may be completed by an integrated logic circuit of hardware in the processor 801 or an instruction in the form of software. The aforementioned processor 801 may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (Digital Signal Processor, DSP for short) , Application Specific Integrated Circuit (ASIC for short), Field-Programmable Gate Array (FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present invention may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory, and the processor 801 reads the information in the memory, and completes the steps of the control method of the alarm device in the foregoing embodiment in combination with its hardware.

本发明实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令在被处理器调用和执行时,该计算机可执行指令促使处理器实现上述报警装置的控制方法,具体实现可参见前述方法实施例,在此不再赘述。Embodiments of the present invention also provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are invoked and executed by a processor, the computer-executable instructions cause the processor to For the control method for realizing the above-mentioned alarm device, the specific implementation can refer to the foregoing method embodiments, which will not be repeated here.

本发明实施例所提供的报警装置的控制方法、装置及电子设备的计算机程序产品,包括存储了程序代码的计算机可读存储介质,所述程序代码包括的指令可用于执行前面方法实施例中所述的方法,具体实现可参见方法实施例,在此不再赘述。The control method, device, and computer program product of an electronic device for an alarm device provided by the embodiments of the present invention include a computer-readable storage medium storing program codes, and the instructions included in the program codes can be used to execute the methods described in the foregoing method embodiments. For the specific implementation, reference may be made to the method embodiments, which will not be repeated here.

除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对步骤、数字表达式和数值并不限制本发明的范围。The relative steps, numerical expressions and numerical values of the components and steps set forth in these embodiments do not limit the scope of the invention unless specifically stated otherwise.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a processor-executable non-volatile computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

在本发明的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the indicated device or element must have a specific orientation or a specific orientation. construction and operation, and therefore should not be construed as limiting the invention. Furthermore, the terms "first", "second", and "third" are used for descriptive purposes only and should not be construed to indicate or imply relative importance.

最后应说明的是:以上所述实施例,仅为本发明的具体实施方式,用以说明本发明的技术方案,而非对其限制,本发明的保护范围并不局限于此,尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本发明实施例技术方案的精神和范围,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present invention, and are used to illustrate the technical solutions of the present invention, but not to limit them. The protection scope of the present invention is not limited thereto, although referring to the foregoing The embodiment has been described in detail the present invention, those of ordinary skill in the art should understand: any person skilled in the art who is familiar with the technical field within the technical scope disclosed by the present invention can still modify the technical solutions described in the foregoing embodiments. Or can easily think of changes, or equivalently replace some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be covered in the present invention. within the scope of protection. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (14)

1. The method for controlling the alarm device is characterized in that the method is applied to electronic equipment, the electronic equipment is in communication connection with at least one piece of equipment to be detected, a detection plan is prestored in the electronic equipment and is preset through a DCS (distributed control system) logic module in the electronic equipment, the detection plan comprises a plurality of detection tasks, each detection task comprises a task state, a detection period and an equipment identifier of the equipment to be detected corresponding to the detection task, and the alarm device is installed on each piece of equipment to be detected; the method comprises the following steps:
acquiring an execution signal of the equipment to be detected; the execution signal is used for representing whether the equipment to be detected is started or not;
determining the target state of the detection task according to the detection period corresponding to each detection task in the detection plan and the execution signal of the equipment to be detected corresponding to the detection task, which is acquired in the detection period; the target state is used for representing the execution condition of the detection task;
and if the target state meets a preset alarm state, controlling an alarm device corresponding to the equipment to be detected to start alarming.
2. The method according to claim 1, wherein if the target state meets a preset alarm state, the step of controlling an alarm device corresponding to the equipment to be detected to start an alarm comprises the following steps:
if the target state meets a preset first alarm level, controlling an alarm device corresponding to the equipment to be detected to start a light alarm, a sound alarm and a text alarm at the same time;
if the target state meets a preset second alarm level, controlling an alarm device corresponding to the equipment to be detected to start at least one of the following devices: light alarm, sound alarm and text alarm.
3. The method of claim 1, further comprising:
and updating the task state of the detection task to the target state.
4. The method of claim 1, wherein each inspection task in the inspection plan further comprises a task type; the task type comprises equipment switching detection and/or equipment starting detection.
5. The method according to claim 4, wherein when the task type is the device switching detection, the device to be detected corresponding to the detection task includes a main device and a standby device.
6. The method according to claim 5, wherein the step of determining the target state of the detection task according to the detection cycle corresponding to each detection task in the detection plan and the execution signal of the device to be detected corresponding to the detection task acquired in the detection cycle comprises:
and when the task type is equipment switching detection, determining the target state of the detection task according to the detection period, the execution signal of the main equipment and the execution signal of the standby equipment.
7. The method of claim 6, wherein the step of determining the target status of the detection task according to the detection period, the execution signal of the primary device, and the execution signal of the standby device comprises:
if the execution signals of the main equipment and the standby equipment are detected in the detection period, determining that the target state of the detection task is that the work is executed;
and if the execution signal of the standby equipment is not detected in the detection period, determining that the target state of the detection task is work unexecuted.
8. The method according to claim 1, wherein the step of determining the target state of the detection task according to the detection cycle corresponding to each detection task in the detection plan and the execution signal of the device to be detected corresponding to the detection task acquired in the detection cycle comprises:
if the execution signal of the device to be detected is detected in the detection period, determining that the target state of the detection task is that the work is executed;
and if the execution signal of the equipment to be detected is not detected in the detection period, determining that the target state of the detection task is not executed.
9. The method of claim 1, wherein the detection task further comprises a periodic identification; the method further comprises the following steps:
if the periodic identification is characterized as a weekly task, setting the task state of the detection task to be a task to be executed at a first preset time every week;
and if the periodic identification is characterized as a monthly task, setting the task state of the detection task to be executed during a second preset time of each month.
10. The method of claim 1, further comprising:
when a supplementary detection request which is sent by a first user and aims at a target detection task is received, the task state of the target detection task is updated according to the supplementary detection request.
11. The method of claim 10, wherein after the step of receiving a supplemental detection request issued by a first user for a target detection task, the method further comprises:
providing a user login interface for the first user, and receiving user information input by the first user on the user login interface; the user information comprises a user name and a user password corresponding to the user name;
and judging whether the user information is legal or not, and if not, forbidding the first user to modify the task state of the target detection task.
12. A control device of an alarm device is characterized in that the control device is in communication connection with at least one device to be detected, a detection plan is prestored in the control device and is preset through a DCS (distributed control system) logic module in electronic equipment, the detection plan comprises a plurality of detection tasks, each detection task comprises a task state, a detection period and a device identification of the device to be detected, the device identification corresponds to the detection task, and the alarm device is installed on each device to be detected; the device comprises:
the signal acquisition module is used for acquiring an execution signal of the equipment to be detected; the execution signal is used for representing whether the equipment to be detected is started or not;
the target state determining module is used for determining the target state of each detection task according to the detection period corresponding to each detection task in the detection plan and the execution signal of the equipment to be detected corresponding to the detection task, which is acquired in the detection period; wherein, the target state is used for representing the execution condition of the detection task;
and the alarm module is used for judging whether the target state meets a preset alarm state or not and controlling an alarm device corresponding to the equipment to be detected to start alarming.
13. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the method of any of claims 1-11.
14. A computer-readable storage medium having computer-executable instructions stored thereon that, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1-11.
CN202210295207.0A 2022-03-23 2022-03-23 Control method, device and electronic equipment for alarm device Pending CN114629817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210295207.0A CN114629817A (en) 2022-03-23 2022-03-23 Control method, device and electronic equipment for alarm device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210295207.0A CN114629817A (en) 2022-03-23 2022-03-23 Control method, device and electronic equipment for alarm device

Publications (1)

Publication Number Publication Date
CN114629817A true CN114629817A (en) 2022-06-14

Family

ID=81904914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210295207.0A Pending CN114629817A (en) 2022-03-23 2022-03-23 Control method, device and electronic equipment for alarm device

Country Status (1)

Country Link
CN (1) CN114629817A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630585A (en) * 2015-12-21 2016-06-01 北京奇虎科技有限公司 Periodic task processing method and apparatus
US20190005465A1 (en) * 2017-06-29 2019-01-03 Walmart Apollo, Llc Systems and methods for performing and tracking asset inspections
CN110632433A (en) * 2019-10-30 2019-12-31 华能国际电力股份有限公司海门电厂 Fault diagnosis system and method for power plant equipment operation
CN111160804A (en) * 2019-12-31 2020-05-15 精英数智科技股份有限公司 Mining equipment management method, device and system based on Internet of things
US20200193341A1 (en) * 2017-09-25 2020-06-18 New Go - Arc (2015) Ltd. Systems and Methods for Improving Process Safety in an Industrial Environment
CN112215576A (en) * 2020-10-19 2021-01-12 重庆斯麦尔电气科技有限责任公司 Intelligent detection management system applied to electric power field and intelligent detection method thereof
CN112714125A (en) * 2020-12-29 2021-04-27 成都知道创宇信息技术有限公司 System safety monitoring method and device, storage medium and electronic equipment
JP2021149185A (en) * 2020-03-16 2021-09-27 株式会社東芝 Periodic inspection information cooperation system and periodic inspection information cooperation method
CN114155692A (en) * 2021-12-02 2022-03-08 观为监测技术无锡股份有限公司 Device failure reporting method, device and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630585A (en) * 2015-12-21 2016-06-01 北京奇虎科技有限公司 Periodic task processing method and apparatus
US20190005465A1 (en) * 2017-06-29 2019-01-03 Walmart Apollo, Llc Systems and methods for performing and tracking asset inspections
US20200193341A1 (en) * 2017-09-25 2020-06-18 New Go - Arc (2015) Ltd. Systems and Methods for Improving Process Safety in an Industrial Environment
CN110632433A (en) * 2019-10-30 2019-12-31 华能国际电力股份有限公司海门电厂 Fault diagnosis system and method for power plant equipment operation
CN111160804A (en) * 2019-12-31 2020-05-15 精英数智科技股份有限公司 Mining equipment management method, device and system based on Internet of things
JP2021149185A (en) * 2020-03-16 2021-09-27 株式会社東芝 Periodic inspection information cooperation system and periodic inspection information cooperation method
CN112215576A (en) * 2020-10-19 2021-01-12 重庆斯麦尔电气科技有限责任公司 Intelligent detection management system applied to electric power field and intelligent detection method thereof
CN112714125A (en) * 2020-12-29 2021-04-27 成都知道创宇信息技术有限公司 System safety monitoring method and device, storage medium and electronic equipment
CN114155692A (en) * 2021-12-02 2022-03-08 观为监测技术无锡股份有限公司 Device failure reporting method, device and storage medium

Similar Documents

Publication Publication Date Title
CN106355357B (en) Power distribution network fault processing method and information processing system
CN103034802B (en) A kind of automatic tour inspection system based on intelligent rules coupling and method
CN107800783B (en) Method and device for remotely monitoring server
CN107301101A (en) One kind storage fault filling method and system
CN112682301B (en) Water pump inspection method, inspection system, water pump and computer readable storage medium
CN114548929A (en) On-site inspection monitoring method and system
CN107572322A (en) A kind of lift facility management platform and lift facility management method
CN114629817A (en) Control method, device and electronic equipment for alarm device
CN206948352U (en) A kind of portable hand-held network patrol device
CN117061368B (en) Automatic identification method, device, equipment and medium for bypassing bastion host behavior
CN111522717B (en) Resource inspection method, system and computer readable storage medium
CN113986647A (en) Equipment monitoring method and system
CN119960855A (en) Method, system and storage medium for automatically creating BMC users of a server
CN108038935A (en) Method for inspecting substation equipment, system, device and computer-readable recording medium
CN118707218A (en) A calibration method and device for a box-type transformer measurement and control protection device
CN115438817B (en) Substation secondary safety measures control method, device, system and storage medium
CN112583912A (en) VPN automatic connection method, device, equipment and storage medium
CN115775436B (en) A method and device for identifying and processing fire conditions in plain forests
CN106411643A (en) BMC (Baseboard Management Controller) detection method and device
CN118051280A (en) Startup method and device for power grid control system
CN105099734A (en) Fault indication method and device
WO2022037332A1 (en) Fault alarm method and apparatus for virtual machine, and electronic device and computer-readable storage medium
CN106444705A (en) Test method, test system and power utilization information acquisition system
CN111506492B (en) Application program testing method and device, equipment and storage medium
CN113626233B (en) A method, device and equipment for automatically detecting BIOS watchdog function

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220614