Data processing method and system for elevator operation anomaly detection based on LoRa

By using a LoRa-based elevator operation anomaly detection method, node time-series status data is generated, duplicate records are removed, interruption status is completed, and the start and end times of the fault are determined. Combined with the node topology, the problem of difficult fault location in elevator operation anomaly detection is solved, and efficient fault identification and location are achieved.

CN123170449APending Publication Date: 2026-11-27JINZHONG VOCATIONAL TECHNICAL SCHOOL
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202611085166.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-21
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing elevator operation anomaly detection, it is difficult to accurately locate the fault start and end boundaries, the continuous process of the closed state lacks paired constraints, the statistical results are easily affected by noise, and maintenance personnel have difficulty identifying the location of high-frequency faults in the same elevator and the correlation between the preceding and following nodes, resulting in low anomaly location efficiency.

Method used

The LoRa-based elevator operation anomaly detection method generates node timing state data by acquiring the elevator node switch status and timestamp, removes duplicate status records, completes interrupted status, determines the start and recovery time of the shutdown state, generates fault records, identifies high-frequency fault nodes by combining node topology, and outputs anomaly detection results.

Benefits of technology

It enables a traceable fault record process, accurate location of high-frequency fault nodes, provides temporal and spatial location basis, and improves the efficiency and accuracy of anomaly detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123170449A_ABST
    Figure CN123170449A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of LoRa, in particular to a data processing method and system for elevator operation abnormality detection based on LoRa, which comprises the following steps: acquiring elevator node switch states uploaded by LoRa slave terminals, collecting time stamps and sensor states, generating node time sequence state data, eliminating repeated records and completing interrupted records according to time stamp continuity and state repeatability, forming node effective state sequences, identifying the starting time, recovery time and duration of closed nodes, generating fault records, counting fault times in the same elevator and high-frequency fault nodes, combining node topologies to output fork-shaped fault identifiers and output elevator operation abnormality detection results. In the application, through time sequence cleaning, state completion, start-stop binding, frequency sorting and topology positioning, the scattered reported states are converted into continuous and traceable fault processes, the abnormality detection results simultaneously reflect fault duration characteristics, occurrence concentration and node association positions, and the elevator operation abnormality can be quickly positioned.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of LoRa technology, and in particular to a data processing method and system for detecting elevator malfunctions based on LoRa. Background Technology

[0002] The LoRa technology field involves communication technologies that use wireless terminals, wireless channels, and network nodes to transmit sensor-collected information. Traditional LoRa-based elevator anomaly detection data processing involves installing sensors in the elevator car, traction machine, or control cabinet. A data acquisition terminal reads the sensor signals at a set period, encapsulates the device identifier, acquisition time, and sensor data into a wireless message, and sends it to a gateway via a LoRa communication node. Finally, the elevator operation data is written into a database.

[0003] Existing elevator node monitoring relies heavily on decentralized data collection and manual verification. Switch status is directly stored in the original reporting order, and duplicate records and communication interruption records are mixed in the same time sequence. It is difficult to accurately locate the fault start and end boundaries. The continuous process of the closed state lacks paired constraints. Statistical results are easily affected by noise. Maintenance personnel can only judge risks based on scattered counts. It is difficult to identify the location of high-frequency faults in the same elevator and the correlation between preceding and subsequent nodes, resulting in low anomaly location efficiency. Summary of the Invention

[0004] The purpose of this invention is to address the shortcomings of existing technologies by proposing a data processing method for detecting elevator operation anomalies based on LoRa.

[0005] To achieve the above objectives, the present invention adopts the following technical solution: a data processing method for elevator operation anomaly detection based on LoRa, comprising the following steps:

[0006] The elevator node switch status, acquisition timestamp, and sensor status uploaded by the data acquisition terminal via the LoRa slave terminal are obtained, and node timing status data is generated according to the elevator number and node number.

[0007] Based on the node time-series state data, and according to the continuity of adjacent acquisition timestamps and the repetition of the same elevator node switch states, duplicate state records are removed and interruption state records are completed to generate the node valid state sequence corresponding to the node time-series state data.

[0008] Extract the nodes in the closed state from the valid state sequence of the nodes, determine the start time of the closed state, the recovery time of the closed state, and the duration of the closed state, and bind the start time of the closed state and the recovery time of the closed state to generate a node fault record;

[0009] Read the node number corresponding to the node fault record under the same elevator number, calculate the duration and number of occurrences of the closed state, count the total number of faults within the time range, and determine the two high-frequency fault nodes with the highest number of occurrences.

[0010] The location of the high-frequency fault node in the elevator node topology is determined, a fork-shaped fault identifier is generated between the high-frequency fault node and the preceding node, and the elevator operation anomaly detection result is output.

[0011] Furthermore, the process for generating the node time-series state data is as follows:

[0012] Acquire data frames uploaded by LoRa slave terminals, parse the elevator number, node number, node switch status, acquisition timestamp and sensor status in the data frames, and filter data frames that fail to parse or are missing any field.

[0013] For data frames that have been successfully parsed by filtering fields, a node key-value relationship is established based on the elevator number and the node number. The collection timestamp is converted into a time sorting identifier under the same time base. Data frames belonging to the same node key-value relationship are sorted according to the time sorting identifier to generate the node time-series status data.

[0014] Furthermore, the process for generating the node's valid state sequence is as follows:

[0015] Obtain the time sequence status data of the nodes under the same elevator number and the same node number, read two adjacent status records according to the order of collection timestamps, compare the time interval between the two adjacent status records with the standard collection cycle, and determine the time continuity status.

[0016] When the continuous state of time satisfies the continuity condition and the elevator node switch states of two adjacent state records are the same, the state record with the later acquisition timestamp is retained as the valid state record, and the valid state sequence of the node is generated based on the valid state record.

[0017] Furthermore, the determination of the time-continuous state is achieved through the following steps:

[0018] The time interval between two adjacent state records is compared with the standard acquisition period. If the time interval is not less than the standard acquisition period and not greater than the preset period tolerance limit, the time continuous state is determined to meet the continuity condition; otherwise, the time continuous state is determined not to meet the continuity condition.

[0019] Furthermore, the process of generating the node fault record specifically includes:

[0020] Obtain valid status records corresponding to the same elevator number and the same node number in the valid status sequence of the node, compare the elevator node switch status of adjacent valid status records, and when the switch status of the elevator node changes from the open state to the closed state, determine the collection timestamp of the valid status record after the change as the start time of the closed state, and establish a fault candidate segment.

[0021] Read the valid status records after the fault candidate segment. When the elevator node switch state is restored from the closed state to the open state, determine the corresponding collection timestamp as the closed state restoration time. Calculate the closed state duration based on the closed state start time and the closed state restoration time, bind the closed state start time and the closed state restoration time, and output the node fault record.

[0022] Furthermore, the process for determining the high-frequency fault node specifically includes:

[0023] Read the node fault records under the same elevator number, filter candidate fault records whose shutdown state start time or shutdown state recovery time falls within the statistical time range according to the statistical time range, and group the candidate fault records according to the node number;

[0024] For each candidate fault record group corresponding to a node number, the duration of the shutdown state is accumulated and the number of occurrences is counted. The node numbers are sorted from high to low according to the number of occurrences. When the number of occurrences is the same, the nodes are sorted again according to the accumulated duration of the shutdown state. The two nodes with the highest ranking are determined as the high-frequency fault nodes.

[0025] Furthermore, the screening process for the candidate fault records is as follows:

[0026] Obtain the start and end times of the statistical time range. Compare the start time of the shutdown state and the recovery time of the shutdown state with the start and end times of the range, respectively. When the shutdown interval of the node fault record overlaps with the statistical time range, extract the node fault records that exceed the start or end time of the range. Update the shutdown duration participating in the statistics according to the overlapping interval, and determine the updated node fault records as candidate fault records.

[0027] Furthermore, the process of generating the fork-shaped fault identifier specifically includes:

[0028] Read the elevator node topology under the same elevator number, determine the high-frequency node topology position corresponding to the two high-frequency fault nodes according to the correspondence between the node number and the topology node position, and determine the preceding node adjacent to each high-frequency fault node along the node connection direction of the elevator node topology.

[0029] When two high-frequency fault nodes have different preceding nodes, an identification branch is established from the preceding node to the corresponding high-frequency node topology location; when two high-frequency fault nodes have the same preceding node, the same preceding node is used as the starting point for the fork and two identification branches are established to generate the fork-shaped fault identifier.

[0030] Furthermore, the specific process for outputting the elevator malfunction detection results includes:

[0031] Obtain the fork-shaped fault identifier, the two high-frequency fault nodes, the total number of faults, the number of occurrences, and the cumulative duration of the closed state. Establish a result mapping relationship between the fork-shaped fault identifier and the corresponding elevator number, and sort the occurrences and write them into the result mapping relationship.

[0032] When the total number of faults reaches the preset abnormal output threshold, the result mapping relationship is marked as an abnormal detection result. When the total number of faults does not reach the preset abnormal output threshold, the result mapping relationship is marked as an observation detection result, and the elevator operation abnormal detection result is output.

[0033] A data processing system for detecting elevator malfunctions based on LoRa includes:

[0034] The data acquisition unit is used to acquire the elevator node switch status, acquisition timestamp, and sensor status uploaded by the data acquisition terminal via the LoRa slave terminal, and generate node timing status data according to the elevator number and node number.

[0035] The timing cleaning and completion unit is used to generate a valid node state sequence corresponding to the node timing state data by removing duplicate state records and completing interrupted state records based on the continuity of adjacent acquisition timestamps and the repetition of the same elevator node switch states, according to the node timing state data.

[0036] The fault logging unit is used to extract nodes in the closed state from the valid state sequence of nodes, determine the start time of the closed state, the recovery time of the closed state, and the duration of the closed state, and bind the start time of the closed state and the recovery time of the closed state to generate a node fault record;

[0037] The high-frequency statistics unit is used to read the node number corresponding to the node fault record under the same elevator number, calculate the duration and number of occurrences of the closed state, count the total number of faults within the time range, and determine the two high-frequency fault nodes with the highest number of occurrences.

[0038] The topology identifier output unit is used to determine the position of the high-frequency fault node in the elevator node topology, generate a fork-shaped fault identifier located between the high-frequency fault node and the preceding node, and output the elevator operation abnormality detection result.

[0039] Compared with the prior art, the advantages and positive effects of the present invention are as follows:

[0040] In this invention, the node status uploaded based on LoRa is recombined into a unified time sequence according to the elevator number and node number. Redundant records are cleaned and interrupted segments are repaired by using the continuity of timestamps and the repeatability of status. This makes the shutdown state form a traceable process in the complete sequence. After the shutdown start time and recovery time are bound together, a fault record is generated. The duration and occurrence frequency are summarized under the same statistical caliber. The total number of faults and the ranking of high-frequency nodes can reflect the true distribution of anomalies. Then, the cross-shaped identifier between high-frequency nodes and the preceding nodes is determined by combining the node topology, so that the anomaly results have both temporal and spatial positioning basis. Attached Figure Description

[0041] Figure 1 This is a flowchart of the data processing method for elevator operation anomaly detection based on LoRa according to the present invention;

[0042] Figure 2 This is a schematic diagram illustrating the effect of the node timing state data formation in this invention.

[0043] Figure 3 This is a schematic diagram illustrating the cleaning and completion effect of the node effective state sequence in this invention.

[0044] Figure 4 This is a schematic diagram illustrating the output effect of the fork-shaped fault indicator of the present invention. Detailed Implementation

[0045] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0046] Example

[0047] Please see Figures 1 to 4This embodiment provides a data processing method for elevator operation anomaly detection based on LoRa. In practical applications, for example, during the process of continuously collecting door lock, limit switch, leveling, emergency stop, and associated safety circuit status data by node switch sensors in the elevator shaft and uploading the operation status data to the data acquisition terminal via the LoRa slave terminal, the data processing process continuously receives elevator number, node number, node switch status, collection timestamp, and sensor status, and forms elevator operation anomaly detection results based on the node timing, closed state interval, fault frequency, and node topology location under the same elevator number. The method includes the following steps: In a set of actual test data, taking elevator number DT-03-05 as an example, this elevator is equipped with a door lock in the shaft. The system consists of eight nodes: N01 (upper limit node), N02 (lower limit node), N03 (leveling node), N04 (emergency stop node), N05 (main safety circuit node), N06 (car door lock node), N07 (car door lock node), and N08 (hall door lock node). The LoRa slave terminal's reporting cycle is set to 1 second. The continuous data collection period is from 00:00:00 on May 18, 2026 to 23:59:59 on May 18, 2026. The theoretical number of data frames is 691,200 frames. The data acquisition terminal actually received 681,499 data frames, of which 680,412 frames were successfully parsed, 327 frames failed to be parsed, 118 frames had missing key fields, and 642 frames entered the verification buffer. This meets the data volume requirements for continuous monitoring of elevator node status.

[0048] S1: Obtain the elevator node switch status, acquisition timestamp, and sensor status uploaded by the data acquisition terminal via the LoRa slave terminal, and generate node timing status data according to the elevator number and node number.

[0049] The LoRa slave terminal is a communication terminal installed near the elevator node and connected to the node switch sensor. The data acquisition terminal is an acquisition node that receives LoRa uplink data frames and provides parsed fields for subsequent data processing. The data frame is the original communication record uploaded by the LoRa slave terminal, carrying the elevator number, node number, node switch status, acquisition timestamp, and sensor status. In this embodiment, a single LoRa uplink data frame is 32 bytes long, with the elevator number occupying 4 bytes, the node number occupying 2 bytes, the node switch status occupying 1 byte, the acquisition timestamp occupying 8 bytes, the sensor status occupying 1 byte, and the verification and traceability fields occupying 16 bytes. In the node switch status, "1" indicates an on state and "0" indicates a off state. In the sensor status, "00" indicates reliable acquisition, "01" indicates communication delay, "10" indicates acquisition distortion, and "11" indicates sensor unacknowledged. Elevator numbers are used to distinguish elevator objects, node numbers are used to distinguish switch nodes within that elevator, node switch status indicates whether the node is in an open or closed state, the acquisition timestamp indicates the time sequence for when the node status was acquired or written into the data frame, and sensor status indicates the working status, communication status, and acquisition reliability status of the node switch sensor itself. The node time-series status data is a time-ordered set of status records established with the same elevator number and the same node number, serving as input for subsequent cleaning, completion, and fault recording. Taking the N01 door lock node of elevator DT-03-05 as an example, 3594 original status records were received between 09:00:00 and 10:00:00 on May 18, 2026. After field validation, 3589 valid records were retained, forming the node time-series status data corresponding to that node.

[0050] S101: Obtain the data frame uploaded by the LoRa slave terminal, parse the elevator number, node number, node switch status, acquisition timestamp and sensor status in the data frame respectively, and filter the data frame that fails to parse or is missing any field.

[0051] The field parsing process reads LoRa uplink data frames from the data acquisition terminal's receive buffer and extracts the elevator number, node number, node on / off status, acquisition timestamp, and sensor status according to the field positions, names, and meanings stored in the communication protocol configuration table. The communication protocol configuration table is written during the deployment phase by the elevator operation anomaly detection data processing process and updated when the protocol version changes. It is stored in the acquisition configuration storage area for use during the data frame parsing phase. In this embodiment, the protocol version number of the communication protocol configuration table is V1.2, the elevator number field is located in bytes 1 to 4, the node number field in bytes 5 to 6, the node on / off status field in byte 7, the acquisition timestamp field in bytes 8 to 15, and the sensor status field in byte 16. The parsed fields undergo field integrity verification, which checks whether each field exists, whether the field type matches the protocol configuration table, whether the acquisition timestamp can be entered into the unified time sorting queue, whether the node on / off status belongs to the on or off state recorded in the status dictionary, and whether the sensor status corresponds to the sensor status dictionary. Of the 681,499 frames of data mentioned above, 126 frames had mismatched field types, 83 frames had timestamps that could not be entered into the unified time sorting queue, 52 frames had node switch states that exceeded the state dictionary, and 66 frames had sensor states that could not be matched with the state dictionary.

[0052] Data frames that fail to parse are written to the abnormal frame record area. This area stores the source terminal identifier, receiving record identifier, failure field name, and failure type for communication maintenance and data tracing. Data frames with missing fields are not included in the node's timing status data. The data processing generates a field missing status identifier for this data frame and associates this identifier with the LoRa slave terminal's transmission log. For example, if the source terminal identifier LORA-SLAVE-DT0305-N04 has three consecutive frames with missing timestamp fields at 14:26:11 on May 18, 2026, and the receiving record identifiers are RX-20260518-142611-104, RX-20260518-142612-105, and RX-20260518-142613-106, all of which are written to the abnormal frame record area and marked as TIME_FIELD_MISSING. When the sensor status indicates sensor data acquisition distortion, sensor unacknowledged data, or incomplete communication reception, the data frame enters the verification buffer. The verification buffer retains the original fields and parsing status, and is only used as a reference for interruption completion when subsequent valid records at the same node can close the time sequence; it is not directly used as a valid status record. In this embodiment, of the 642 frames of data to be verified, 486 frames are communication delay data, 97 frames are sensor acquisition distortion data, and 59 frames are sensor unacknowledged data; none of these are directly written into the node's valid status sequence.

[0053] S102: For data frames that have been successfully parsed by filtering fields, establish node key-value relationships based on elevator number and node number, convert the collection timestamp into a time sorting identifier under the same time base, and sort the data frames belonging to the same node key-value relationship according to the time sorting identifier to generate node time sequence status data.

[0054] The node key-value relationship is an index relationship formed by combining elevator numbers and node numbers, used to separate and store the status records of different elevators and different nodes. After a data frame with successfully parsed fields enters the node index cache, it first checks whether the elevator number exists in the elevator basic configuration table and whether the node number exists in the node configuration table corresponding to that elevator. The node configuration table stores the node name, node connection direction, the safety loop to which the node belongs, and the topology location identifier. For example, DT-03-05-N01 corresponds to a door lock node, the node connection direction is P00→N01, the node belongs to the SAFE-A safety loop, and the topology location identifier is TP-A-01; DT-03-05-N08 corresponds to a hall door lock node, the node connection direction is P00→N08, the node belongs to the SAFE-A safety loop, and the topology location identifier is TP-A-08. Data frames that cannot match the basic configuration are written to the unmatched node record area, and a node configuration pending maintenance status identifier is generated. Unmatched records are not included in subsequent fault statistics. In this embodiment, 37 of the 681499 frames of received data correspond to node number N99, which is not registered in the node configuration table of DT-03-05. Therefore, they are written into the unmatched node record area and are not included in the subsequent fault statistics.

[0055] The timestamp conversion process transforms the time information carried in the data frame into a time sorting identifier under a unified time base. The time sorting identifier is an internal sorting field that expresses the sequential relationship of the status records of the same node. It is generated after joint verification by the time synchronization configuration, the data acquisition terminal's received records, and the LoRa slave terminal's reported time. The time synchronization configuration is derived from the acquisition terminal's time service and device configuration table. In the first valid reception cycle after device startup, the acquisition terminal's received records are used as the sorting base. In subsequent operation, if the LoRa slave terminal's reported time matches the acquisition terminal's reception order, the converted timestamp is used to form the sorting identifier. If the two timestamps conflict, the record is written to a time conflict cache and temporarily sorted according to the confirmed reception order, while a time-pending-verification status identifier is generated. In this embodiment, the time synchronization error between the data acquisition terminal and the LoRa slave terminal is controlled within ±80ms, and the time sorting identifier uses a millisecond-level incrementing field. 214 time order conflict records were detected in the entire day's data, accounting for 0.031% of the actual received data frames. All of these were temporarily sorted according to the reception order and written to the time conflict cache.

[0056] After sorting, data frames belonging to the same node key-value relationship are written to the node time-series status data cache. Each status record in the node time-series status data includes an elevator number field, a node number field, a node switch status field, a collection timestamp field, a time sorting identifier field, a sensor status field, a parsing status field, and a traceability record field. The traceability record field stores the original data frame reception path, parsing result, and anomaly handling status, used for subsequent fault record reverse lookup to the original collection source. Taking node key-value relationship DT-03-05-N01 as an example, 85,136 valid status records were written to the node time-series status data cache throughout May 18, 2026; taking node key-value relationship DT-03-05-N08 as an example, 85,079 valid status records were written throughout the day.

[0057] S2: Based on the node time-series state data, according to the continuity of adjacent acquisition timestamps and the repetition of the same elevator node switch states, duplicate state records are removed and interruption state records are completed to generate the node valid state sequence corresponding to the node time-series state data.

[0058] The node's valid state sequence is a sequence of state records after time continuity verification, duplicate state rectification, and interruption state completion. This sequence retains valid state records that can participate in the identification of closed intervals and generates a completion identifier for data acquisition interruptions. The standard acquisition period is the baseline acquisition interval field set for elevator node state acquisition in the acquisition configuration table, and the preset period tolerance upper limit is the boundary field in the acquisition configuration table that allows communication jitter and acquisition delay to enter the continuous judgment. Both the standard acquisition period and the preset period tolerance upper limit are jointly written by the elevator node acquisition configuration, LoRa link configuration, and device operation configuration, stored in the acquisition rule table, called during the cleaning and completion phase, and updated synchronously when the device maintenance configuration is updated. In this embodiment, the standard acquisition period is set to 1000ms, the preset period tolerance upper limit is set to 200ms, and the continuous acquisition reference range is 800ms to 1200ms; when the time interval between adjacent records is greater than 1200ms but not more than 2500ms, it enters the delay verification range; when the time interval between adjacent records is greater than 2500ms, it enters the interruption range.

[0059] S201: Obtain the time sequence status data of nodes with the same elevator number and the same node number, read the adjacent status records according to the order of the collection timestamps, compare the time interval between adjacent status records with the standard collection cycle, and determine the time continuity status.

[0060] The time-continuous state is an intermediate state field generated during the cleaning and completion phase, used to indicate whether adjacent state records belong to a continuous acquisition relationship. When reading state records, adjacent state records are extracted from the node time-series state data cache by sorting them by time, based on the node key-value relationship. For nodes in the device startup phase, if the preceding record does not exist, the current record is marked as the startup baseline state record and written into the node's valid state sequence candidate area. For nodes with insufficient historical records, the cleaning and completion process only uses the state records that have been obtained and successfully parsed to establish adjacent relationships, without calling subsequent fault results that have not yet been generated. For example, the DT-03-05-N06 main safety loop node generates its first valid state record at 00:00:01 on May 18, 2026. This record is marked as the startup baseline state record because there is no preceding record, and does not directly trigger duplicate processing or fault candidate segment generation.

[0061] The time interval comparison process reads the standard acquisition period field and the preset period tolerance upper limit field, and categorizes the acquisition time difference between adjacent state records into the continuous acquisition reference range, the delay verification range, or the interruption range. When it falls within the continuous acquisition reference range, the time continuity status is marked as continuous; when it falls within the delay verification range, the sensor status and LoRa reception logs are combined to determine whether there is a communication delay. If the sensor status is valid and the reception logs contain a delay description, a delay continuity identifier is generated and reserved for subsequent cleaning entries; when it falls within the interruption range, an interruption status identifier is generated, and the gap between the preceding and following state records is registered in the interruption completion buffer. In the DT-03-05 full-day data, there were 673,845 adjacent records falling within the continuous acquisition reference range, 4,201 adjacent records falling within the delayed verification range, and 317 adjacent records falling within the interruption range. Among them, the longest interruption occurred at the N04 leveling node, from 14:26:10 on May 18, 2026 to 14:26:15 on May 18, 2026, with a gap time of 5 seconds.

[0062] S202: When the continuous state in time satisfies the continuity condition and the elevator node switch states of adjacent state records are the same, retain the state record with the later collection timestamp as the valid state record, and generate a node valid state sequence based on the valid state record.

[0063] Duplicate state records are adjacent records with the same node key-value relationship, continuous temporal states, and identical node on / off states. During the duplicate state sorting process, the state record with the later acquisition timestamp is retained as a valid state record, while the earlier record is written to the duplicate sorting log. The later state record can inherit the latest sensor state and time sorting position of the node during continuous acquisition, and therefore enters the node's valid state sequence candidate area. For example, the DT-03-05-N01 door lock node has 599 consecutive open state records between 09:00:00 and 09:10:00 on May 18, 2026. After duplicate state sorting, the state change entry with the later timestamp and necessary boundary records are retained, and 592 duplicate records are written to the duplicate sorting log. If the node on / off states of adjacent state records are different, the later state record is retained as a state change record, and its change entry is retained in the node's valid state sequence for subsequent identification of the start or recovery time of the closed state. In the full-day cleaning results, the 8 nodes of DT-03-05 generated a total of 18,326 valid node state sequence records, of which 17,984 were actually collected records and 342 were interrupted and completed records.

[0064] When the continuous state in time does not meet the continuity condition, the interrupt completion buffer reads the records before and after the interrupt, the sensor status, and the LoRa reception log. If the node's on / off state remains the same before and after the interrupt, the completion process generates an interrupt state record. This record carries the node key-value relationship, the interrupt start and end boundaries, the inherited node on / off states, and the completion source identifier. If the node's on / off states differ before and after the interrupt, the completion process does not directly determine whether shutdown has started or resumed. Instead, it generates a state transition confirmation identifier and uses the interrupt boundary as a boundary reference for subsequent fault candidate segments. The completion record and the actual acquisition record are distinguished in the node's valid state sequence by the source field. When calculating the duration later, the source field is used to determine the participation method, preventing the state during the interrupt from being mistakenly written as unverified acquisition facts. For example, the N04 floor level node was in an open state at 14:26:10 on May 18, 2026, and remained in an open state after receiving data resumed at 14:26:15 on May 18, 2026. Therefore, an interruption status record with the source identifier INTERRUPT_FILL was generated. On the other hand, the N08 hall door lock node was in an open state before the interruption at 16:41:32 on May 18, 2026, and was in a closed state after resuming data at 16:41:36 on May 18, 2026. Therefore, a status transition pending confirmation identifier was generated, and the closing start time was not directly written.

[0065] S203: Compare the time interval between adjacent state records with the standard acquisition period. If the time interval falls within the continuous acquisition reference range formed by the standard acquisition period and the preset period tolerance upper limit, then the continuous state is determined to meet the continuity condition; otherwise, the continuous state is determined not to meet the continuity condition.

[0066] The continuous acquisition reference range is defined by the standard acquisition period field and the preset period tolerance upper limit field, with the field source being the acquisition rule table. The comparison process does not change the original acquisition timestamp, but only generates a time continuity status field. The time continuity status field is stored in the node's valid status sequence candidate area and associated with the traceability record field of the corresponding adjacent record. When the time continuity status meets the continuity condition, the repeated status rectification process continues; when the time continuity status does not meet the continuity condition, the interruption completion process reads the interruption completion cache and generates an interruption status identifier, a delayed verification status identifier, or a status transition confirmation identifier. In this embodiment, adjacent records with time intervals of 1005ms, 978ms, or 1160ms are all marked as continuous; records with a time interval of 1680ms and a retransmission description in the LoRa reception log are marked as delayed verification; and records with a time interval of 3200ms are marked as interrupted.

[0067] When a data acquisition timestamp is missing, time sorting identifiers conflict, sensor status is invalid, or node key-value relationships do not match, the status record is not included in the continuity condition judgment. These records are entered into an abnormal status cache, which outputs the abnormal category, the original record source, and the subsequent processing flow. If a new successfully parsed record appears for the same node later, the cleaning and completion process re-establishes the time order from the most recent valid status record. If there are no historical valid status records after a cold start, the current successfully parsed record is used as the start-up baseline status record and enters the candidate area. Continuity judgment is then performed only after a subsequent status record arrives. In this embodiment, a total of 696 records entered the abnormal status cache, including 118 records with missing timestamps, 214 records with conflicting time sorting identifiers, 327 records with invalid sensor status, and 37 records with mismatched node key-value relationships.

[0068] S3: Extract nodes in the closed state from the valid state sequence, determine the start time of the closed state, the recovery time of the closed state, and the duration of the closed state, and bind the start time of the closed state and the recovery time of the closed state to generate node fault records.

[0069] Node fault records are structured fault data objects stored for the closed state interval, including elevator number, node number, closed state start time, closed state recovery time, closed state duration, fault candidate segment source, state recovery confirmation, and traceability record fields. The closed state start time is the time boundary in the node's valid state sequence where the node's switch state changes from open to closed. The closed state recovery time is the time boundary in the same fault candidate segment where the node's switch state changes from closed to open. The closed state duration is the time interval between the closed state start time and the closed state recovery time, used for subsequent cumulative processing and sorting within the statistical time range. In the DT-03-05 elevator's full-day valid node state sequence, a total of 41 closed state candidate segments were identified, of which 37 closed fault records have been restored and bound, and 4 records remain in an unrecovered candidate state at the end of the statistics.

[0070] S301: Obtain the valid status records corresponding to the same elevator number and the same node number in the valid status sequence of the node, compare the elevator node switch status of adjacent valid status records, and when the elevator node switch status changes from the open state to the closed state, determine the collection timestamp of the valid status record after the change as the start time of the closed state, and establish a fault candidate segment.

[0071] The fault candidate segment is a temporary interval object formed before the closed state is restored. It carries the elevator number, node number, closed state start time, start record traceability field, and candidate segment status. The comparison process reads adjacent valid state records from the node's valid state sequence. If the preceding record is in an open state and the following record is in a closed state, the collection timestamp of the following record is written to the closed state start time field, and the traceability record field of that following record is written to the fault candidate segment. For example, if the DT-03-05-N01 door lock node changes from an open state to a closed state at 09:14:23.000 on May 18, 2026, the data processing process determines 09:14:23.000 as the closed state start time and generates the fault candidate segment FC-DT0305-N01-20260518-091423. If the following record originates from an interrupted completion record, the fault candidate segment also writes a completion source identifier and waits for subsequent real-time collection records to confirm whether the state continues or is restored. Of the 41 candidate segments in the closed state throughout the day, 38 segments originated from actual data collection records, and 3 segments originated from interrupted data collection records that were awaiting confirmation from actual data collection.

[0072] If the first valid status record upon device startup is already in a closed state, the fault candidate segment will use the acquisition timestamp of the startup baseline status record as the start time of the closed state and write it into the startup boundary identifier. This identifier indicates that the start boundary of the closed state originates from the earliest valid status record that can be confirmed in the current data processing process, and the subsequent recovery time will still be confirmed by the actual recovery record. If invalid sensor status records are interspersed among consecutive closed states, the invalid records do not change the fault candidate segment, the fault candidate segment remains open, and the invalid records are written into the candidate segment anomaly details for the recovery confirmation stage to determine whether there are unusable acquisition segments. For example, if the DT-03-05-N06 main safety loop node's startup baseline status record is already in a closed state at 00:00:01 on May 18, 2026, the candidate segment writes the startup boundary identifier START_BOUNDARY, and completes the recovery binding after reading a valid open state record at 00:00:18 on May 18, 2026, with the closed state lasting for 17 seconds.

[0073] S302: Read the valid status records after the fault candidate segment. When the elevator node switch status is restored from the closed state to the open state, determine the corresponding collection timestamp as the closed state restoration time. Based on the closed state start time and the closed state restoration time, form the closed state duration and bind the closed state start time and the closed state restoration time, and output the node fault record.

[0074] The recovery confirmation process continues reading valid status records from the fault candidate segment onwards along the valid status sequence of the same node. When the preceding valid status record is in a closed state and the following valid status record is in an open state, the acquisition timestamp of the following valid status record is written into the closed state recovery time field, and the fault candidate segment status is updated to recovered. The closed state duration field is formed by the time interval corresponding to the start boundary and the recovery boundary, and is written into the node fault record along with the completion source identifier, invalid record details, and status recovery confirmation field within the interval. The node fault record is output to the fault record table, which is indexed by elevator number and node number for high-frequency statistical reading. For example, candidate segment FC-DT0305-N01-20260518-091423 reads that the N01 door lock node has returned from the closed state to the open state at 09:14:31.000 on May 18, 2026. Therefore, the time of the closed state recovery is 09:14:31.000, the duration of the closed state is 8s, and the node fault record FR-DT0305-N01-20260518-091423 is output.

[0075] If a candidate fault segment has not yet been read as a valid state record restored to the open state before statistical processing, the candidate segment is saved as an unrestored candidate state. During the statistical time range filtering, segments overlapping with the statistical time range are considered for candidate fault records. Unrestored candidate states are not directly written as closed fault records; the recovery time is added after a recovery record appears. If recovery record parsing fails or the sensor state is invalid, the recovery confirmation process keeps the candidate fault segment in the open state and writes the abnormal recovery record to the abnormal recovery cache. Binding is completed after a valid open state record appears for the same node subsequently. In this embodiment, the DT-03-05-N08 hall door lock node closed candidate segment, appearing at 23:58:46 on May 18, 2026, was not read as a valid open state record before the statistical deadline of 23:59:59. Therefore, it is entered into the statistical filtering as an unrestored candidate state, and its closed interval for statistical participation is tentatively set to 73 seconds.

[0076] S4: Read the node number corresponding to the node fault record under the same elevator number, calculate the duration and number of occurrences of the closed state, count the total number of faults within the time range, and determine the high-frequency fault node pairs with the highest number of occurrences.

[0077] The statistical time range is the time filtering condition received in the high-frequency statistics phase, including a range start time field and a range end time field. It originates from the anomaly detection task configuration or operation and maintenance query conditions and is stored in the statistical task configuration area. Candidate fault records are node fault records whose closure intervals overlap with the statistical time range and have been processed according to the duration update rules. The occurrence count is the count field of fault records in the candidate fault record group, and the accumulated closure duration is the summary field of the closure intervals of the candidate fault record corresponding to the same node number participating in the statistics within the statistical time range. High-frequency fault node pairs are the top-ranked node combinations determined by the occurrence count and duration sorting rules under the same elevator number, serving as input for the topology identification phase. In this embodiment, the statistical time range is set from 00:00:00 on May 18, 2026 to 23:59:59 on May 18, 2026. Within the statistical time range, the total number of faults of elevator DT-03-05 is 37. Among them, N01 door lock node occurred 12 times with a cumulative closed state duration of 96s, N08 hall door lock node occurred 9 times with a cumulative closed state duration of 81s, N04 leveling node occurred 5 times with a cumulative closed state duration of 44s, N06 main safety circuit node occurred 4 times with a cumulative closed state duration of 39s, N05 emergency stop node occurred 3 times with a cumulative closed state duration of 27s, N02 upper limit node occurred 2 times with a cumulative closed state duration of 18s, N03 lower limit node occurred 1 time with a cumulative closed state duration of 9s, and N07 car door lock node occurred 1 time with a cumulative closed state duration of 7s.

[0078] S401: Read the node fault records under the same elevator number, filter the candidate fault records whose start time or recovery time of the closed state falls within the statistical time range according to the statistical time range, and group the candidate fault records according to the node number.

[0079] During the high-frequency statistics phase, node fault records under the target elevator number are read from the fault record table. First, the existence of the statistical time range within the statistical task configuration area is verified, and the start and end times of the range are checked to ensure they form valid time boundaries. If the statistical time range is invalid, the statistical task enters a configuration anomaly state, outputs configuration anomaly records, and does not proceed to sorting and filtering. If the statistical time range is valid, the filtering process reads the shutdown state start time field, shutdown state recovery time field, and unrecovered candidate state field, and writes fault records that overlap with the statistical time range into the candidate fault record cache. Within the aforementioned statistical time range, 41 fault records for elevator node DT-03-05 are read from the fault record table. After time range filtering, 37 candidate fault records are identified, and 4 unrecovered candidate records are entered into the pending completion flag queue. One of these unrecovered candidate records is included in the statistical boundary calculation due to overlap with the statistical time range.

[0080] Candidate fault records are grouped into corresponding candidate fault record groups according to their node numbers. During the grouping process, fault records under the same node number retain the original traceability record fields to avoid merging closure intervals from different sources into untraceable objects. If a fault record is missing a node number or the node number cannot be matched in the node configuration table, the record is written to the statistical anomaly cache, and a node index anomaly status identifier is generated, which is not included in the high-frequency fault node sorting. If the closure state start time exists but the recovery time has not been formed, the screening process treats the record as an unrecoverable candidate record and generates a closure interval for statistical purposes based on the statistical time range and the current confirmed state boundary. For example, the 9 candidate fault records of the N08 hall door lock node retain traceability indexes such as FR-DT0305-N08-20260518-083512 and FR-DT0305-N08-20260518-104936, and are not merged into a single untraceable record.

[0081] S402: For each candidate fault record group corresponding to each node number, the duration of the shutdown state is accumulated and the number of occurrences is counted. The node numbers are sorted from high to low according to the number of occurrences. When the number of occurrences is the same, the nodes are sorted again according to the accumulated shutdown state duration. The nodes with higher ranking are determined as high-frequency fault node pairs.

[0082] The occurrence frequency sorting process uses node numbers as the sorting object. Each candidate fault record group reads the occurrence frequency field and the cumulative closed state duration field, and first sorts them in descending order according to the occurrence frequency field; for node numbers with the same occurrence frequency field, they are then sorted again according to the cumulative closed state duration field. The sorting rules are derived from the high-frequency statistical rule table, which stores the priority, meaning, source, and conflict handling order of the sorting fields in the statistical rule configuration area. After sorting, the nodes that rank first and form a node combination are written into the high-frequency fault node pair field, and the occurrence frequency field, cumulative closed state duration field, and sorting source field of each node are also written. In this embodiment, the sorting result is that the N01 door lock node ranks first with 12 occurrences and a cumulative duration of 96s; the N08 hall door lock node ranks second with 9 occurrences and a cumulative duration of 81s; and the N04 floor node ranks third with 5 occurrences and a cumulative duration of 44s. Therefore, the high-frequency fault node pair is determined to be N01 and N08.

[0083] If the node numbers participating in the sorting are insufficient to form high-frequency fault node pairs, the statistical phase still outputs the obtained sorting results and marks the high-frequency fault node pair field as incomplete. This state is passed to the topology identification phase, which generates single-branch identifiers based on the obtained high-frequency nodes or waits for subsequent statistical tasks to supplement the node combinations. If the candidate fault record cache is empty, the statistical phase outputs a no-candidate-fault state identifier and sets the total fault field to no-candidate state. Subsequent result output phases generate observation and detection results based on this state. In the statistical window of this embodiment, the node numbers participating in the sorting are 8, which meets the requirement for the number of high-frequency fault node pairs, therefore the incomplete node combination state is not triggered.

[0084] S403: Obtain the start and end times of the statistical time range, compare the start time of the shutdown state and the recovery time of the shutdown state with the start and end times of the range respectively, and when the shutdown interval of the node fault record overlaps with the statistical time range, extract the node fault records that exceed the start or end time of the range, update the shutdown duration participating in the statistics according to the overlapping interval, and determine the updated node fault records as candidate fault records.

[0085] The overlapping interval update process is based on the intersection of the closing interval and the statistical time range. When the closing interval falls entirely within the statistical time range, the candidate fault record retains the original closing state duration field. When the closing interval crosses the range start time, the starting boundary for participating in the statistics is updated to the range start time, and the original closing state start time is retained in the trace record field. When the closing interval crosses the range end time, the recovery boundary for participating in the statistics is updated to the range end time, and the original closing state recovery time is retained in the trace record field. When the closing interval covers the statistical time range, the closing state duration for participating in the statistics is formed by the boundary field of the statistical time range and written to the range truncation identifier. For example, the N08 hall door lock node entered the closing state at 23:58:46 on May 18, 2026, and the statistical range end time is 23:59:59 on May 18, 2026. Therefore, the recovery boundary for this unrecovered candidate record is updated to 23:59:59, the closing state duration for participating in the statistics is 73s, and the range truncation identifier RANGE_END_CUT is written to it.

[0086] After the overlapping interval is updated, the candidate fault record is written to the candidate fault record cache. The cached record contains the original fault record index, the updated participation statistical boundary, the duration of the closed state participating in the statistics, the range truncation identifier, and the trace record field. If the recovery time of the closed state is earlier than the start time of the closed state, the record enters the time boundary exception cache and does not participate in the statistics. If the closed interval does not overlap with the statistical time range, the record is written to the non-statistical range record area, only retained for query traceability, and not included in the occurrence count statistics. When the unrecovered candidate record overlaps with the statistical time range, the boundary of the confirmed closed state within the statistical time range is used as the participation statistical boundary, and the unrecovered state identifier is retained for record completion after subsequent recovery records arrive. In this embodiment, the candidate fault record cache finally writes 37 records, of which 36 records fall completely within the statistical time range, 1 record crosses the end time of the range, 0 time boundary exception records, and 4 records outside the statistical range.

[0087] S5: Determine the location of the high-frequency fault node in the elevator node topology, generate a fork-shaped fault identifier located between the high-frequency fault node and the preceding node, and output the elevator operation anomaly detection results.

[0088] The elevator node topology is a data object storing node connection relationships in the elevator node configuration table. It includes node number, topology node location, node connection direction, preceding node relationship, and the safety loop to which the node belongs. The topology node location is the node's position identifier within the elevator node topology, used to establish the correspondence between node number and connection relationship. The preceding node is the node located before and adjacent to the high-frequency fault node along the node connection direction. The fork-shaped fault identifier is a topology status identifier object generated based on the high-frequency fault node pair and preceding node relationship, carrying the fork start point, identified branch, branch end point, and corresponding high-frequency fault node. The elevator operation anomaly detection result is a data object outputting the result mapping relationship, including elevator number, fork-shaped fault identifier, high-frequency fault node pair, total fault count, occurrence count, cumulative shutdown duration, and detection status identifier. In this embodiment, the high-frequency fault nodes N01 and N08 of the DT-03-05 elevator both belong to the SAFE-A safety loop. The topology node position of N01 is TP-A-01, and the topology node position of N08 is TP-A-08. Their common predecessor node is the P00 safety loop input node, so a fork-shaped fault identifier with P00 as the starting point can be generated.

[0089] S501: Read the elevator node topology under the same elevator number, determine the high-frequency node topology position corresponding to each high-frequency fault node pair according to the correspondence between the node number and the topology node position, and determine the preceding node adjacent to each high-frequency fault node along the node connection direction of the elevator node topology.

[0090] The topology reading process retrieves the node connection relationships under the target elevator number from the node configuration table and the topology configuration table. The correspondence between node numbers and topology node positions is stored in the topology configuration table, which is written during elevator node configuration maintenance and updated when node wiring, node replacement, or topology configuration changes occur. After a high-frequency faulty node pair enters the topology matching process, it first checks whether each node number has a topology node position. If it does, it writes the high-frequency node topology position field; if it does not, it generates a topology unmatched status flag and retains the sorting field corresponding to that node in the result mapping relationship for configuration maintenance traceability. In this embodiment, the topology configuration table records connection relationships such as P00→N01, P00→N08, N01→N06, and N08→N06. Both N01 and N08 can match valid topology node positions, resulting in a 100% topology matching success rate.

[0091] The process of determining the preceding node involves reading the relationships between preceding nodes adjacent to the high-frequency fault node along the node connection direction. The node connection direction comes from the connection direction field in the topology configuration table, indicating the signal or safety loop connection order from the preceding node to subsequent nodes. If multiple candidate preceding relationships exist for the high-frequency fault node, the topology matching process determines the preceding node consistent with the current anomaly detection task based on the safety loop to which the node belongs and the connection direction field. If the candidate preceding relationships conflict, a topology relationship conflict status identifier is generated, the fork-shaped fault identifier still retains the confirmed branch, and the conflicting branch is written into the topology anomaly details. In this embodiment, N01 and N08 do not have preceding relationship conflicts, and their adjacent preceding nodes are all determined as P00. If the N04 level node participates in the topology matching, its preceding node is the N03 lower limit node, which can be distinguished from the door lock branch.

[0092] S502: When a pair of high-frequency fault nodes have different preceding nodes, establish an identification branch from the preceding node to the corresponding high-frequency node topology location; when a pair of high-frequency fault nodes have the same preceding node, use the same preceding node as the starting point of the fork and establish an identification branch to generate a fork-shaped fault identifier.

[0093] The branch identifier is a branch field within the fork-shaped fault identifier, containing the branch start point, branch end point, corresponding high-frequency fault node number, corresponding occurrence count, and cumulative shutdown duration. When a pair of high-frequency fault nodes has different preceding nodes, the fork-shaped fault identifier generates separate branch identifiers, using each preceding node as the branch start point and the corresponding high-frequency node topology position as the branch end point. When a pair of high-frequency fault nodes has the same preceding node, the fork-shaped fault identifier uses the same preceding node as the fork start point and establishes branch identifiers pointing to the topology positions of each high-frequency node. The fork start point field, branch end point field, and high-frequency node topology position field are all written to the topology identifier cache. In this embodiment, the fork-shaped fault identifier number is FX-DT0305-20260518-001, the fork start point is P00, the first identifier branch is P00→TP-A-01, corresponding to the high-frequency fault node N01, the number of occurrences is 12, and the cumulative shutdown state duration is 96s; the second identifier branch is P00→TP-A-08, corresponding to the high-frequency fault node N08, the number of occurrences is 9, and the cumulative shutdown state duration is 81s.

[0094] If the high-frequency fault node pair field is incomplete, the fork-shaped fault identifier generation process generates a single branch identifier based on the confirmed high-frequency fault node and its corresponding preceding node, and writes the incomplete node combination state into the result mapping relationship. If the topology mismatch state identifier exists, the fork-shaped fault identifier retains the branch corresponding to the matching node, and writes the unmatched node into the topology anomaly field. All of the above states enter the result output stage, and the result output stage determines the final detection state based on the total fault field and the anomaly output rules. Since the high-frequency fault node pair is complete and the topology matching is successful in this embodiment, the topology anomaly field is empty, and the incomplete node combination state is not triggered.

[0095] S503: Obtain the fork-shaped fault identifier, high-frequency fault node pair, total number of faults, number of occurrences, and duration of the closed state after accumulation. Establish a result mapping relationship between the fork-shaped fault identifier and the corresponding elevator number, and sort the occurrences and write them into the result mapping relationship.

[0096] The result mapping relationship is an output data object with the elevator number as the main index, carrying fields such as fork-shaped fault identifier, high-frequency fault node pairs, total number of faults, occurrence count sorting, cumulative shutdown duration, statistical time range identifier, topology matching status, anomaly handling status, and traceability record. During the result output stage, the fork-shaped fault identifier is read from the topology identifier cache, and the high-frequency fault node pairs, total number of faults, occurrence count, and cumulative shutdown duration are read from the high-frequency statistics cache. These fields are then written into the result mapping relationship according to the elevator number. When writing the occurrence count sorting, the sorting source field is retained, pointing to the high-frequency statistics rule table and the candidate fault record cache. In this embodiment, the main index of the result mapping relationship is DT-03-05, the statistical time range identifier is STAT-20260518-0000-2359, the total number of faults is 37, the occurrence count sorting is N01 > N08 > N04 > N06 > N05 > N02 > N03 > N07, the topology matching status is MATCHED, and the anomaly handling status is NORMAL_OUTPUT.

[0097] After the result mapping relationship is written to the result storage area, an output record identifier is generated and fed back to the operation and maintenance display interface, alarm interface, or historical query interface. The operation and maintenance display interface reads the fork-shaped fault identifier and topology location field to display the branch relationship between high-frequency fault nodes and upstream nodes; the alarm interface reads the detection status identifier and outputs the abnormal or observation status to the elevator operation monitoring terminal; the historical query interface reads the traceability record field to retrieve the original data frames, node valid status sequence, and node fault records. If the write to the result storage area fails, a write failure status identifier is generated during the result output stage, and the result to be written is saved in the result retry cache. After the storage interface recovers, the write continues according to the output record identifier. In this embodiment, the output record identifier OUT-DT0305-20260518-001 was successfully written to the result storage area, and the write time was 42ms. The historical query interface can use this output record identifier to retrieve the traceability index of 37 candidate fault records and 681499 frames of original received data.

[0098] S504: When the total number of faults reaches the preset abnormal output threshold, the result mapping relationship is marked as an abnormal detection result. When the total number of faults does not reach the preset abnormal output threshold, the result mapping relationship is marked as an observation detection result, and the elevator operation abnormal detection result is output.

[0099] The preset abnormal output threshold is a configurable field in the abnormal output rule table, derived from elevator operation and maintenance rule configuration, node safety loop configuration, and historical maintenance strategy configuration, and stored in the abnormal output rule area. This threshold field is used to determine whether the total number of faults within the statistical time range has entered the abnormal output state. During the result output stage, the total fault count field and the preset abnormal output threshold field are read, and a detection status identifier is generated according to the comparison order in the abnormal output rule table. When the total number of faults reaches the boundary corresponding to the abnormal output rule, the result mapping relationship is written to the abnormal detection result identifier; when the total number of faults does not reach this boundary, the result mapping relationship is written to the observation detection result identifier. In this embodiment, the preset abnormal output threshold is set to 20 times / 24h. The total number of faults of elevator DT-03-05 within the statistical time range is 37 times, which has reached the preset abnormal output threshold. Therefore, the result mapping relationship is marked as an abnormal detection result, and the detection status identifier is ABNORMAL.

[0100] Both anomaly detection results and observation detection results retain the same data traceability fields. Anomaly detection results enter the alarm interface output queue, carrying a fork-shaped fault identifier, high-frequency fault node pairs, and occurrence frequency sorting fields. Observation detection results enter the observation record queue, retaining the node fault record index, candidate fault record index, and topology identifier status for subsequent statistical tasks. If the anomaly output rule table is missing or the threshold field fails configuration verification, no anomaly detection result identifier is generated during the result output stage; instead, the rule configuration anomaly status is output, and the result mapping relationship is written to the configuration maintenance queue. In this embodiment, the anomaly detection results output by the alarm interface include elevator number DT-03-05, fork-shaped fault identifier FX-DT0305-20260518-001, high-frequency fault node pairs N01 and N08, total fault occurrences of 37, N01 occurrences 12 times with a cumulative duration of 96 seconds, and N08 occurrences 9 times with a cumulative duration of 81 seconds. These are used to prompt maintenance personnel to prioritize checking the safety loop branches between P00 and the door lock node and the hall door lock node.

[0101] The data processing system for elevator operation anomaly detection based on LoRa, which works in conjunction with the aforementioned method, carries out the aforementioned processing within the same elevator operation anomaly detection scenario. The data acquisition unit receives elevator node switch status, acquisition timestamps, and sensor status uploaded by the data acquisition terminal via the LoRa slave terminal, and outputs node timing status data to the timing cleaning and completion unit. The timing cleaning and completion unit reads the acquisition rule table, node timing status data, and abnormal frame records, and outputs the node valid status sequence, interruption status identifier, and duplicate processing log. The fault recording unit reads the node valid status sequence, generates node fault records, and writes them to the fault record table. The high-frequency statistics unit reads the fault record table and the statistics task configuration area to form candidate fault records, total faults, occurrence frequency ranking, and high-frequency fault node pairs. The topology identifier output unit reads the topology configuration table and high-frequency statistical results, generates fork-shaped fault identifiers and elevator operation anomaly detection results, and writes the result mapping relationship to the result storage area and the corresponding output interface. Input and output are passed between units through field-based data objects, and each cache, configuration table, record table, and result storage area maintains a traceability relationship through elevator number, node number, time sorting identifier, and output record identifier. In the data processing system test corresponding to this embodiment, the data acquisition unit processes 681,499 data frames per day, the time-series cleaning and completion unit outputs 18,326 valid node state sequences, the fault recording unit generates 37 node fault records, the high-frequency statistics unit sorts the occurrence frequency of 8 nodes, and the topology identification output unit generates 1 fork-shaped fault identifier and 1 anomaly detection result. The entire statistical task, from reading the node time-series state data to processing the mapping relationship of the output results, takes 1.86 seconds, which can meet the near real-time processing requirements of elevator operation anomaly detection.

[0102] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention in any other way. Any person skilled in the art may make changes or modifications to the above-disclosed technical content to create equivalent embodiments that can be applied to other fields. However, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the protection scope of the present invention.

Claims

1. A data processing method for elevator operation anomaly detection based on LoRa, characterized in that, Includes the following steps: The elevator node switch status, acquisition timestamp, and sensor status uploaded by the data acquisition terminal via the LoRa slave terminal are obtained, and node timing status data is generated according to the elevator number and node number. Based on the node time-series state data, and according to the continuity of adjacent acquisition timestamps and the repetition of the same elevator node switch states, duplicate state records are removed and interruption state records are completed to generate the node valid state sequence corresponding to the node time-series state data. Extract the nodes in the closed state from the valid state sequence of the nodes, determine the start time of the closed state, the recovery time of the closed state, and the duration of the closed state, and bind the start time of the closed state and the recovery time of the closed state to generate a node fault record; Read the node number corresponding to the node fault record under the same elevator number, calculate the duration and number of occurrences of the closed state, count the total number of faults within the time range, and determine the two high-frequency fault nodes with the highest number of occurrences. The location of the high-frequency fault node in the elevator node topology is determined, a fork-shaped fault identifier is generated between the high-frequency fault node and the preceding node, and the elevator operation anomaly detection result is output.

2. The data processing method for elevator operation anomaly detection based on LoRa according to claim 1, characterized in that, The specific process for generating the node time-series state data is as follows: Acquire data frames uploaded by LoRa slave terminals, parse the elevator number, node number, node switch status, acquisition timestamp and sensor status in the data frames, and filter data frames that fail to parse or are missing any field. For data frames that have been successfully parsed by filtering fields, a node key-value relationship is established based on the elevator number and the node number. The collection timestamp is converted into a time sorting identifier under the same time base. Data frames belonging to the same node key-value relationship are sorted according to the time sorting identifier to generate the node time-series status data.

3. The data processing method for elevator operation anomaly detection based on LoRa according to claim 1, characterized in that, The process of generating the node's valid state sequence is as follows: Obtain the time sequence status data of the nodes under the same elevator number and the same node number, read two adjacent status records according to the order of collection timestamps, compare the time interval between the two adjacent status records with the standard collection cycle, and determine the time continuity status. When the continuous state of time satisfies the continuity condition and the elevator node switch states of two adjacent state records are the same, the state record with the later acquisition timestamp is retained as the valid state record, and the valid state sequence of the node is generated based on the valid state record.

4. The data processing method for elevator operation anomaly detection based on LoRa according to claim 3, characterized in that, The determination of the time-continuous state is achieved through the following steps: The time interval between two adjacent state records is compared with the standard acquisition period. If the time interval is not less than the standard acquisition period and not greater than the preset period tolerance limit, the time continuous state is determined to meet the continuity condition; otherwise, the time continuous state is determined not to meet the continuity condition.

5. The data processing method for elevator operation anomaly detection based on LoRa according to claim 1, characterized in that, The process of generating the node fault record specifically includes: Obtain valid status records corresponding to the same elevator number and the same node number in the valid status sequence of the node, compare the elevator node switch status of adjacent valid status records, and when the switch status of the elevator node changes from the open state to the closed state, determine the collection timestamp of the valid status record after the change as the start time of the closed state, and establish a fault candidate segment. Read the valid status records after the fault candidate segment. When the elevator node switch state is restored from the closed state to the open state, determine the corresponding collection timestamp as the closed state restoration time. Calculate the closed state duration based on the closed state start time and the closed state restoration time, bind the closed state start time and the closed state restoration time, and output the node fault record.

6. The data processing method for elevator operation anomaly detection based on LoRa according to claim 1, characterized in that, The process of determining the high-frequency fault node specifically includes: Read the node fault records under the same elevator number, filter candidate fault records whose shutdown state start time or shutdown state recovery time falls within the statistical time range according to the statistical time range, and group the candidate fault records according to the node number; For each candidate fault record group corresponding to a node number, the duration of the shutdown state is accumulated and the number of occurrences is counted. The node numbers are sorted from high to low according to the number of occurrences. When the number of occurrences is the same, the nodes are sorted again according to the accumulated duration of the shutdown state. The two nodes with the highest ranking are determined as the high-frequency fault nodes.

7. The data processing method for elevator operation anomaly detection based on LoRa according to claim 6, characterized in that, The screening process for the candidate fault records is as follows: Obtain the start and end times of the statistical time range. Compare the start time of the shutdown state and the recovery time of the shutdown state with the start and end times of the range, respectively. When the shutdown interval of the node fault record overlaps with the statistical time range, extract the node fault records that exceed the start or end time of the range. Update the shutdown duration participating in the statistics according to the overlapping interval, and determine the updated node fault records as candidate fault records.

8. The data processing method for elevator operation anomaly detection based on LoRa according to claim 1, characterized in that, The generation process of the fork-shaped fault identifier specifically includes: Read the elevator node topology under the same elevator number, determine the high-frequency node topology position corresponding to the two high-frequency fault nodes according to the correspondence between the node number and the topology node position, and determine the preceding node adjacent to each high-frequency fault node along the node connection direction of the elevator node topology. When two high-frequency fault nodes have different preceding nodes, an identification branch is established from the preceding node to the corresponding high-frequency node topology location; when two high-frequency fault nodes have the same preceding node, the same preceding node is used as the starting point for the fork and two identification branches are established to generate the fork-shaped fault identifier.

9. The data processing method for elevator operation anomaly detection based on LoRa according to claim 1, characterized in that, The specific process for outputting the elevator malfunction detection results includes: Obtain the fork-shaped fault identifier, the two high-frequency fault nodes, the total number of faults, the number of occurrences, and the cumulative duration of the closed state. Establish a result mapping relationship between the fork-shaped fault identifier and the corresponding elevator number, and sort the occurrences and write them into the result mapping relationship. When the total number of faults reaches the preset abnormal output threshold, the result mapping relationship is marked as an abnormal detection result. When the total number of faults does not reach the preset abnormal output threshold, the result mapping relationship is marked as an observation detection result, and the elevator operation abnormal detection result is output.

10. A data processing system for detecting elevator malfunctions based on LoRa, characterized in that, The system is used to implement the data processing method for elevator operation anomaly detection based on LoRa as described in any one of claims 1-9, including: The data acquisition unit is used to acquire the elevator node switch status, acquisition timestamp, and sensor status uploaded by the data acquisition terminal via the LoRa slave terminal, and generate node timing status data according to the elevator number and node number. The timing cleaning and completion unit is used to generate a valid node state sequence corresponding to the node timing state data by removing duplicate state records and completing interrupted state records based on the continuity of adjacent acquisition timestamps and the repetition of the same elevator node switch states, according to the node timing state data. The fault logging unit is used to extract nodes in the closed state from the valid state sequence of nodes, determine the start time of the closed state, the recovery time of the closed state, and the duration of the closed state, and bind the start time of the closed state and the recovery time of the closed state to generate a node fault record; The high-frequency statistics unit is used to read the node number corresponding to the node fault record under the same elevator number, calculate the duration and number of occurrences of the closed state, count the total number of faults within the time range, and determine the two high-frequency fault nodes with the highest number of occurrences. The topology identifier output unit is used to determine the position of the high-frequency fault node in the elevator node topology, generate a fork-shaped fault identifier located between the high-frequency fault node and the preceding node, and output the elevator operation abnormality detection result.

Citation Information

Patent Citations

  • Circuit for generating short waves with the help of a magnetron tube

    DE673845C