Method and device for monitoring elevator fault, computer equipment and storage medium

文档序号:1702290 发布日期:2019-12-13 浏览:30次 中文

阅读说明:本技术 电梯故障的监控方法、装置、计算机设备和存储介质 (Method and device for monitoring elevator fault, computer equipment and storage medium ) 是由 郭雅萍 刘熙旺 于 2019-08-29 设计创作,主要内容包括:本发明涉及一种电梯故障的监控方法、装置、计算机设备和存储介质。所述方法包括:获取第一电梯数据包以及第二电梯数据包;所述第二电梯数据包为获取所述第一电梯数据包之前所获取的电梯数据包;当根据所述第二电梯数据包确定所述第一电梯数据包有效时,确定所述第一电梯数据包对电梯故障信息的携带状态;当根据所述携带状态确定所述第一电梯数据包携带有电梯故障信息时,发出电梯故障报警。采用本方法能够提高发出电梯故障报警的准确性。(The invention relates to a method and a device for monitoring elevator faults, computer equipment and a storage medium. The method comprises the following steps: acquiring a first elevator data packet and a second elevator data packet; the second elevator data packet is an elevator data packet acquired before the first elevator data packet is acquired; when the first elevator data packet is determined to be valid according to the second elevator data packet, determining the carrying state of the first elevator data packet on elevator fault information; and when the first elevator data packet is determined to carry elevator fault information according to the carrying state, an elevator fault alarm is sent. By adopting the method, the accuracy of sending the elevator fault alarm can be improved.)

1. A method of monitoring elevator faults, comprising the steps of:

Acquiring a first elevator data packet and a second elevator data packet; the second elevator data packet is an elevator data packet acquired before the first elevator data packet is acquired;

When the first elevator data packet is determined to be valid according to the second elevator data packet, determining the carrying state of the first elevator data packet on elevator fault information;

And when the first elevator data packet is determined to carry elevator fault information according to the carrying state, an elevator fault alarm is sent.

2. the method of claim 1, wherein the step of determining the carrying status of elevator fault information by the first elevator packet when the first elevator packet is determined to be valid based on the second elevator packet is preceded by the step of:

Performing data verification on the first elevator data packet; the data verification comprises at least one of the following modes: a sum check, an exclusive or check, or a CRC check;

If the first elevator data packet passes the verification, comparing the first elevator data packet with the second elevator data packet;

Determining that the first elevator data packet is valid when the first elevator data packet is consistent with the second elevator data packet.

3. The method of claim 1, wherein the step of issuing an elevator malfunction alert comprises:

Acquiring the packet loss rate of a communication line in a set time period; the communication line is used for transmitting elevator data packets;

determining the state of the communication line according to the packet loss rate;

and when the communication line is normal, sending out an elevator fault alarm.

4. the method according to claim 3, wherein the step of determining the state of the communication line according to the packet loss rate comprises:

and when the packet loss rate is smaller than a preset packet loss rate threshold value, determining that the communication line is normal.

5. The method of claim 3, wherein the step of issuing an elevator malfunction alert is preceded by:

Clearing the count value; and the counting value is used for calculating the number of the elevator data packets with the packet loss rate larger than the packet loss rate threshold value.

6. The method according to claim 3, wherein the step of determining the state of the communication line according to the packet loss rate comprises:

When the packet loss rate is greater than or equal to the packet loss rate threshold, controlling a count value to be added by 1 to obtain a new count value; the counting value is used for calculating the number of the elevator data packets with the packet loss rate larger than the packet loss rate threshold value;

And if the new count value is larger than a preset count threshold value, determining that the communication line has a fault.

7. The method of claim 6, wherein the step of determining that the communication line is faulty further comprises:

And clearing the new count value and sending out a communication fault alarm.

8. An elevator fault monitoring apparatus, characterized in that the apparatus comprises:

The data packet acquisition module is used for acquiring a first elevator data packet and a second elevator data packet; the second elevator data packet is an elevator data packet acquired before the first elevator data packet is acquired;

The state determining module is used for determining the carrying state of the first elevator data packet on the elevator fault information when the first elevator data packet is determined to be valid according to the second elevator data packet;

And the elevator fault alarm module is used for sending an elevator fault alarm when the first elevator data packet is determined to carry elevator fault information according to the carrying state.

9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.

Technical Field

the invention relates to the technical field of monitoring, in particular to a method and a device for monitoring elevator faults, computer equipment and a storage medium.

Background

With the popularization of high-rise buildings, elevators have been widely used in various high-rise buildings, such as houses, hospitals, office buildings, and the like. When the elevator breaks down, safety accidents can happen, and the lives of passengers are threatened. Therefore, it is very important to perform fault monitoring on the elevator.

At present, the fault monitoring of the elevator is mainly realized by carrying out fault check judgment on a data packet of the elevator. When the failure check of the data packet passes, the data packet is considered as an elevator failure, and an elevator failure alarm is sent. However, only by using fault check judgment, the reliability of sending out elevator fault alarm is not high, and false alarm often occurs.

Disclosure of Invention

In view of the above, it is necessary to provide a method, an apparatus, a computer device and a storage medium for monitoring an elevator fault, which can improve the accuracy of issuing an elevator fault alarm.

A method of monitoring for elevator faults, the method comprising: acquiring a first elevator data packet and a second elevator data packet; the second elevator data packet is an elevator data packet acquired before the first elevator data packet is acquired; when the first elevator data packet is determined to be valid according to the second elevator data packet, determining the carrying state of the first elevator data packet on elevator fault information; and when the first elevator data packet is determined to carry elevator fault information according to the carrying state, an elevator fault alarm is sent.

In one embodiment, before the step of determining the carrying state of the elevator fault information by the first elevator data packet when the first elevator data packet is determined to be valid according to the second elevator data packet, the method further comprises: performing data verification on the first elevator data packet; the data verification comprises at least one of the following modes: a sum check, an exclusive or check, or a CRC check; if the first elevator data packet passes the verification, comparing the first elevator data packet with the second elevator data packet; determining that the first elevator data packet is valid when the first elevator data packet is consistent with the second elevator data packet.

in one embodiment, the step of issuing an elevator malfunction alert comprises: acquiring the packet loss rate of a communication line in a set time period; the communication line is used for transmitting elevator data packets; determining the state of the communication line according to the packet loss rate; and when the communication line is normal, sending out an elevator fault alarm.

In an embodiment, the step of determining the state of the communication line according to the packet loss rate includes: and when the packet loss rate is smaller than a preset packet loss rate threshold value, determining that the communication line is normal.

In one embodiment, before the step of issuing an elevator malfunction alarm, the method further comprises: clearing the count value; and the counting value is used for calculating the number of the elevator data packets with the packet loss rate larger than the packet loss rate threshold value.

In an embodiment, the step of determining the state of the communication line according to the packet loss rate includes: when the packet loss rate is greater than or equal to the packet loss rate threshold, controlling a count value to be added by 1 to obtain a new count value; the counting value is used for calculating the number of the elevator data packets with the packet loss rate larger than the packet loss rate threshold value; and if the new count value is larger than a preset count threshold value, determining that the communication line has a fault.

In one embodiment, after the step of determining that the communication line is faulty, the method further includes: and clearing the new count value and sending out a communication fault alarm.

An elevator fault monitoring apparatus, the apparatus comprising: the data packet acquisition module is used for acquiring a first elevator data packet and a second elevator data packet; the second elevator data packet is an elevator data packet acquired before the first elevator data packet is acquired; the state determining module is used for determining the carrying state of the first elevator data packet on the elevator fault information when the first elevator data packet is determined to be valid according to the second elevator data packet; and the elevator fault alarm module is used for sending an elevator fault alarm when the first elevator data packet is determined to carry elevator fault information according to the carrying state.

A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program: acquiring a first elevator data packet and a second elevator data packet; the second elevator data packet is an elevator data packet acquired before the first elevator data packet is acquired; when the first elevator data packet is determined to be valid according to the second elevator data packet, determining the carrying state of the first elevator data packet on elevator fault information; and when the first elevator data packet is determined to carry elevator fault information according to the carrying state, an elevator fault alarm is sent.

A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of: acquiring a first elevator data packet and a second elevator data packet; the second elevator data packet is an elevator data packet acquired before the first elevator data packet is acquired; when the first elevator data packet is determined to be valid according to the second elevator data packet, determining the carrying state of the first elevator data packet on elevator fault information; and when the first elevator data packet is determined to carry elevator fault information according to the carrying state, an elevator fault alarm is sent.

According to the elevator fault monitoring method and device, the computer equipment and the storage medium, when the monitor confirms that the first elevator data packet is valid according to the second elevator data packet, whether the elevator fault information is carried in the first elevator data packet is further judged. When the elevator data packet carries elevator fault information, the monitor sends an elevator fault alarm. According to the validity of the elevator data packet and the carrying state of the elevator fault information, the accuracy of sending the elevator fault alarm by the monitor can be improved, and the elevator fault alarm is prevented from being sent by mistake.

Drawings

Fig. 1 is a view showing an application scenario of a monitoring method of an elevator failure in one embodiment;

Fig. 2 is a schematic flow diagram of a method of monitoring elevator faults in one embodiment;

Fig. 3 is a schematic flow diagram of a method for monitoring elevator faults in another embodiment;

Fig. 4 is a block diagram showing the construction of a monitoring apparatus for elevator trouble in one embodiment;

FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

The method for monitoring the elevator fault provided by the invention can be applied to the application environment shown in figure 1. The application environment includes a monitor 102, a processor 104, and a monitoring platform 106, where the monitor 102 may communicate with the processor 104 and the monitoring platform 106 via a network, respectively (specifically, the monitor 102 and the monitoring platform 106 may communicate via a GPRS or CDMA network). The processor 104 may be disposed on the elevator or provided independently of the elevator, and specifically may be an MPU or the like. Wherein, the monitor 102 performs information interaction with the processor 104 and the monitoring platform 106 through a wired connection or a wireless communication manner.

Specifically, when the processor 104 obtains the elevator data packet, the processor 104 sends the elevator data packet to the monitor 102, and the monitor 102 further determines the validity of the elevator data packet and the carrying status of the elevator fault information. When the monitor 102 determines that the elevator data packet is valid and carries elevator fault information, an elevator fault alarm is sent to the monitoring platform 106, and the elevator fault information is communicated to maintenance personnel by the monitoring platform 106. The manner in which the monitoring platform 106 communicates elevator fault information to the maintenance personnel may be, but is not limited to: the monitoring platform 106 displays elevator fault alarm information through a display screen of a computer or sends the elevator fault alarm information through a voice broadcasting device.

further, the monitor 102 may also directly send the elevator fault alarm to a computer or a voice broadcasting device, and the computer transmits the elevator fault information to the maintenance staff in a display screen display mode or a voice broadcasting mode.

Further, the monitor 102 and the monitoring platform 104 may be implemented by a terminal device or a server, the terminal device may be, but is not limited to, various personal computers, notebook computers, smart phones, and tablet computers, and the server may be implemented by an independent server or a server cluster composed of a plurality of servers. The processor 104 may be various processors having arithmetic and control functions. In some scenarios, the processor 104 may also be replaced with a terminal device or a server.

In one embodiment, as shown in fig. 2, there is provided a method for monitoring elevator faults, which is described by taking the method as an example of the monitor in fig. 1, and comprises the following steps:

Step S202, a first elevator data packet and a second elevator data packet are obtained; the second elevator data packet is the elevator data packet acquired before the first elevator data packet was acquired.

The elevator data packet may be a string of digital sequences carrying elevator information, the elevator information may refer to an elevator running speed, a running direction, a height of the elevator, an elevator calling response state, and the like, and further information, such as elevator fault information and the like, may be the elevator calling response is too slow, the running speed is unstable, and the like.

Further, the second elevator data packet is an elevator data packet acquired before the first elevator data packet is acquired.

In some embodiments, the second elevator data packet may be an elevator data packet acquired at a set time before the first elevator data packet is acquired, such as: the elevator data packet at the moment before the first elevator data packet is determined as the second elevator data packet, and at this moment, the first elevator data packet and the second elevator data packet can be considered as two elevator data packets continuously acquired by the monitor 102.

after the monitor 102 receives the first elevator data packet, it can determine the validity of the first elevator data packet. When the monitor 102 determines that the first elevator data packet is valid, it is further determined whether the first elevator data packet carries elevator failure information, that is, the following step S204 is performed.

and S204, when the first elevator data packet is determined to be valid according to the second elevator data packet, determining the carrying state of the first elevator data packet on the elevator fault information.

The carrying state of the elevator fault information can be determined according to whether a certain bit in the digital sequence is changed, and the bit can be regarded as a fault bit. If the fault bit is 0 (the default of the fault bit is 0), the carrying state of the elevator fault information of the first elevator data packet is considered as not carrying; and if the fault bit is 1, the carrying state of the elevator fault information of the first elevator data packet is considered as carrying. In addition, the type of fault can also be determined by several bits, for example: 00 denotes a speed fault and 01 denotes a call response fault.

And step S206, when the first elevator data packet is determined to carry the elevator fault information according to the carrying state, an elevator fault alarm is sent.

When the monitor 102 determines that the first elevator data packet carries the fault information, an elevator fault alarm is issued, for example, an elevator fault alarm is issued to the monitoring platform 106.

Further, when determining the fault information, the monitor 102 may also determine whether to send an elevator fault alarm according to the type of the elevator fault, and if the type of the fault is the elevator speed, the monitor 102 does not send the elevator fault alarm; when the type of fault is a call response, the monitor 102 issues an elevator fault alarm.

In some embodiments, when the first elevator data packet is the first elevator data packet acquired when the monitor 102 starts operating, since the first elevator data packet has no previous elevator data packet to which the first elevator data packet can be compared, the monitor 102 does not perform the validity and carrying state determination of the elevator fault information on the first elevator data packet, but buffers the first elevator data packet, acquires the next elevator data packet, and performs the validity and carrying state determination of the elevator fault information on the acquired next elevator data packet.

In some embodiments, after the monitor 102 issues an elevator failure alarm to the monitoring platform 106, the current first elevator packet is buffered and used as the second elevator packet to replace the previous elevator packet. The monitor 102 takes the next elevator data packet obtained as the first elevator data packet.

In the above method for monitoring elevator failure, the monitor 102 determines the validity of the elevator data packet and whether the elevator data packet carries elevator failure information. Based on the validity and elevator fault information, the monitor 102 issues an elevator fault alarm. The monitor further judges the elevator data packet, reduces the occurrence of false alarm and improves the accuracy of elevator fault alarm.

in one embodiment, when the first elevator data packet is determined to be valid according to the second elevator data packet, the step of determining the carrying state of the elevator fault information by the first elevator data packet is preceded by the following steps: performing data verification on the first elevator data packet; the data verification comprises at least one of the following modes: a sum check, an exclusive or check, or a CRC check; if the first elevator data packet passes the verification, comparing the first elevator data packet with the second elevator data packet; and when the first elevator data packet is consistent with the second elevator data packet, determining that the first elevator data packet is valid.

After the monitor 102 acquires the first elevator data packet, if the first elevator data packet passes the sum check, the exclusive or check or the CRC check, the first elevator data packet is considered to pass the check. In some embodiments, the verification of the first elevator data packet may also be performed by the processor 104, and the processor 104 sends the first elevator data packet to the monitor 102 after determining that the first elevator data packet is verified.

After obtaining the first elevator data packet, the monitor 102 compares the first elevator data packet with the previous elevator data packet, i.e., the second elevator data packet. When the data of two elevator data packets are the same (e.g., the values of the bits in the series of numbers are the same), the monitor 102 determines that the first elevator data packet is a valid elevator data packet.

From the reasonableness of the elevator data packet, when the elevator fails, the elevator failure information generally continuously appears in a plurality of elevator data packets, and the elevator data packets are consistent at the moment, which indicates that the elevator data packet is effective. Therefore, if only one elevator data packet carries elevator fault information, and the last elevator data packet or the next elevator data packet of the elevator data packet does not carry the elevator fault information, the two elevator data packets are inconsistent, the elevator data packet is invalid; an elevator data packet is valid if at least two consecutive elevator data packets carry the elevator fault information, which elevator data packets are identical. Also, if the communication line between the monitor 102 and the processor 104 fails, such as by electromagnetic interference, the elevator data packets received by the monitor may change due to the electromagnetic interference. The characteristics of an elevator data packet subjected to electromagnetic interference are as follows: the probability of two consecutive elevator data packets being identical is low because the change is out of order.

Therefore, before determining whether the elevator data packet has fault information, the monitor 102 determines that the elevator data packet is valid by determining the consistency of the elevator data packet, and then determines the carrying state of the elevator fault information, thereby avoiding unnecessary time consumption and improving monitoring efficiency.

In one embodiment, the step of issuing an elevator malfunction alert comprises: acquiring the packet loss rate of a communication line in a set time period; the communication line is used for transmitting elevator data packets; determining the state of the communication line according to the packet loss rate; when the communication line is normal, the elevator fault alarm is sent out.

The packet loss rate may be a ratio of a lost elevator data packet to a sent elevator data packet in the transmission process of the communication line, and the monitor 102 may obtain the packet loss rate in a set time period from the device for calculating the packet loss rate.

After the monitor 102 acquires the first elevator data packet, the packet loss rate of the communication line in a set time period is determined, for example, after the monitor 102 acquires the first elevator data packet, the packet loss rate of the communication line in 10 seconds is acquired. After obtaining the packet loss rate in the set time period, the monitor 102 further determines whether the communication line has a fault. When the monitor 102 determines that the communication line is normal according to the packet loss rate, it sends an elevator fault alarm. The set time period may refer to a set time period before the first elevator data packet is acquired, and the length of the set time period may be determined according to actual situations, for example: 5 seconds, 10 seconds, 20 seconds, etc.

In another embodiment, the step of determining the state of the communication line according to the packet loss rate includes: and when the packet loss rate is smaller than a preset packet loss rate threshold value, determining that the communication line is normal.

Specifically, after obtaining the packet loss rate, the monitor 102 determines whether the packet loss rate is smaller than a preset packet loss rate threshold. If the packet loss rate is less than the packet loss rate threshold, the monitor 102 confirms that the communication line with the processor 104 is normal.

the packet loss rate threshold may be determined according to statistics, big data analysis, and the like, that is, when the packet loss rate is determined to be a certain value through statistics, big data analysis, and the like, the probability that the communication line is abnormal is higher, and the value may be regarded as the packet loss rate threshold. Specifically, the packet loss rate threshold may be 20%, 33%, 50%, or the like.

When a communication line between the monitor 102 and the processor 104 fails, such as by electromagnetic interference, a packet loss rate increases during the communication between the monitor 102 and the processor 104. Whether the communication line has a fault can be determined by judging whether the packet loss rate is smaller than a packet loss rate threshold value.

In one embodiment, before the step of issuing an elevator fault alarm, the method further comprises: clearing the count value; the counting value is used for calculating the number of the elevator data packets with the packet loss rate larger than the packet loss rate threshold value.

The counting value is used for calculating the number of the elevator data packets with the packet loss rate larger than the threshold value of the packet loss rate. When the communication line between the monitor 102 and the processor 104 is normal, which indicates that the elevator data packets with the packet loss rate greater than the packet loss rate threshold are not continuous, the monitor 102 obtains the count value and clears the count value. And resetting the count value so as to judge that the packet loss rate of the elevator data packet is greater than the threshold value of the packet loss rate continuously.

In one embodiment, the step of determining the state of the communication line according to the packet loss rate includes: when the packet loss rate is greater than or equal to the packet loss rate threshold, controlling the count value to be added by 1 to obtain a new count value; the counting value is used for calculating the number of the elevator data packets with the packet loss rate larger than the packet loss rate threshold value; and if the new count value is larger than the preset count threshold value, determining that the communication line has a fault.

The counting value is used for calculating the number of the elevator data packets with the packet loss rate larger than the threshold value of the packet loss rate.

After obtaining the elevator data packet and the packet loss rate, the monitor 102 determines whether the packet loss rate is greater than a packet loss rate threshold. And when the packet loss rate is greater than the packet loss rate threshold value, confirming that the elevator data packet can be related to communication abnormity. At this time, the monitor 102 counts the number of elevator packets that may be related to the communication abnormality by controlling the count value to be increased by 1. When the count value is greater than the set count threshold, the monitor 102 determines that a communication abnormality occurs and confirms that the communication line is faulty.

The monitor 102 confirms that the communication line has a fault by calculating the number of the elevator data packets which are possibly related to communication abnormity, and the accuracy of sending a communication fault alarm is improved.

In one embodiment, after the step of determining that the communication line is faulty, the method further includes: and resetting the new count value and sending out a communication fault alarm.

Specifically, after the monitor 102 confirms that the communication line has a fault, the count value is cleared to prepare for the next counting, and the monitor 102 sends a communication fault alarm to the monitoring platform 106 to prompt maintenance personnel to investigate the communication line between the monitor and the processor, so as to ensure that the elevator data packet can be accurately transmitted.

In order to better understand the above method, referring to fig. 3, an application example of the elevator fault monitoring method of the present invention is described in detail below, and the specific flow is as follows:

And step S302, the monitor receives the elevator data packet sent by the processor.

Step S304, the monitor judges whether the elevator data packet is the first elevator data packet acquired after the monitor starts to operate; if yes, directly entering step S306 without comparing with the previous elevator data packet, and caching the elevator data packet; if not, the process proceeds to step S308.

step S308, the monitor judges whether the elevator data packet is consistent with the previous elevator data packet; if not, the step S316 is carried out, and the elevator data packet is cached; if yes, the process proceeds to step S310.

Step S310, the monitor judges whether the elevator data packet carries elevator fault information or not; if not, go to step S316; if yes, the process proceeds to step S312.

Step S312, the monitor judges whether the packet loss rate in the previous 10 seconds is more than or equal to 33%; if not, namely less than 33%, the method goes to step S314, the monitor clears the count value and sends an elevator fault alarm to the monitoring platform; if the count value is greater than or equal to 33%, the flow proceeds to step S316, and the monitor increments the count value by 1.

In step S318, the monitor buffers the elevator data packet, replaces the previous elevator data packet, and proceeds to step S320.

step S320, the monitor judges whether the count value is greater than 10; if the count value is less than or equal to 10, ending; if the count value is greater than 10, the process goes to step S322, where the monitor clears the count value and sends a communication failure alarm to the monitoring platform.

and after the monitor judges the validity of the elevator data packet and whether the elevator data packet carries elevator fault information, the packet loss rate of the communication line is further judged. When the packet loss rate within 10 seconds before 1 elevator data packet occurs is less than or equal to 33%, the monitor sends an elevator fault alarm to prompt maintenance personnel to process the elevator fault. When the packet loss rate within 10 seconds before 10 continuous elevator data packets appear is larger than 33%, the monitor sends a communication fault alarm to remind maintenance personnel to process communication faults first, and a communication circuit between the monitor and the processor is ensured to be normal.

it should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention.

The present invention also provides an elevator failure monitoring apparatus, which can be used to execute the above elevator failure monitoring method, based on the same idea as the elevator failure monitoring method in the above embodiment. For convenience of explanation, only the parts related to the embodiment of the present invention are shown in the schematic structural view of the embodiment of the monitoring apparatus for elevator failure, and those skilled in the art will understand that the illustrated structure does not constitute a limitation of the apparatus, and may include more or less components than those illustrated, or combine some components, or arrange different components.

In one embodiment, as shown in fig. 4, there is provided an elevator fault monitoring apparatus 400 comprising: a packet acquisition module 402, a status determination module 404, and an elevator malfunction alert module 406, wherein:

A data packet obtaining module 402, configured to obtain a first elevator data packet and a second elevator data packet; the second elevator data packet is the elevator data packet acquired before the first elevator data packet was acquired.

and the state determining module 404 is configured to determine a carrying state of the elevator fault information by the first elevator data packet when it is determined that the first elevator data packet is valid according to the second elevator data packet.

And the elevator fault alarm module 406 is used for sending an elevator fault alarm when it is determined that the first elevator data packet carries elevator fault information according to the carrying state.

in the monitoring device for elevator faults, the monitor judges the validity of the elevator data packet and judges whether the elevator data packet carries elevator fault information. And the monitor sends out an elevator fault alarm according to the validity and the elevator fault information. The monitor further judges the elevator data packet, reduces the occurrence of false alarm and improves the accuracy of elevator fault alarm.

In one embodiment, the state determination module 404 is further configured to: performing data verification on the first elevator data packet; the data verification comprises at least one of the following modes: a sum check, an exclusive or check, or a CRC check; if the first elevator data packet passes the verification, comparing the first elevator data packet with the second elevator data packet; and when the first elevator data packet is consistent with the second elevator data packet, determining that the first elevator data packet is valid.

In one embodiment, the elevator malfunction alert module 406 further includes: the packet loss rate obtaining unit is used for obtaining the packet loss rate of the communication line in a set time period; the communication line is used for transmitting elevator data packets; a communication line state determining unit, configured to determine a state of the communication line according to the packet loss rate; and the elevator fault alarm unit is used for sending an elevator fault alarm when the communication line is normal.

In one embodiment, the communication line status determination unit is further configured to: and when the packet loss rate is smaller than a preset packet loss rate threshold value, determining that the communication line is normal.

In one embodiment, the elevator malfunction alerting unit is further configured to: clearing the count value; the counting value is used for calculating the number of the elevator data packets with the packet loss rate larger than the packet loss rate threshold value.

In one embodiment, the communication line status determining unit further includes: the counting value obtaining subunit is configured to control the counting value to add 1 when the packet loss rate is greater than or equal to the packet loss rate threshold, so as to obtain a new counting value; the counting value is used for calculating the number of the elevator data packets with the packet loss rate larger than the packet loss rate threshold value; and the communication fault determining subunit is used for determining that the communication line has a fault if the new count value is greater than a preset count threshold value.

in one embodiment, the communication failure determination subunit is further configured to: and resetting the new count value and sending out a communication fault alarm.

The specific definition of the monitoring device for elevator faults can be referred to the definition of the monitoring method for elevator faults in the foregoing, and the detailed description is omitted here. The modules in the above-mentioned elevator fault monitoring device can be implemented wholly or partly by software, hardware and their combination. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.

In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing monitoring data of elevator faults. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of monitoring elevator faults.

Those skilled in the art will appreciate that the configuration shown in fig. 5 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing devices to which aspects of the present invention may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.

In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps of the above-described method embodiments when executing the computer program.

in an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the respective method embodiment as described above.

it will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.

The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种以时间维度评估电梯运行质量的监测系统及其监测方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!