Cable monitoring method and device, electronic equipment and storage medium
By receiving and verifying target instructions, the cable protective layer and shielding layer data are collected in real time, which solves the problem of cable faults not being discovered in time in the existing technology, and realizes real-time monitoring of cable status and improved safety.
Patent Information
- Application Number
- CN202510777309.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-04
- Publication Date
- 2025-09-16
AI Technical Summary
The existing technology lacks a timely and effective method for monitoring railway cable electrochemical interference, resulting in the failure to detect cable faults in a timely manner, posing a safety hazard.
By receiving target instructions, verifying the validity of the instructions, collecting target data of the cable protective layer and shielding layer, and displaying the data on the monitoring page, real-time monitoring of the cable status is achieved.
It improves the safety and stability of the system, detects cable anomalies in a timely manner, and improves the work efficiency of electrical maintenance personnel.
Smart Images

Figure CN120652206A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electric power technology, and in particular to a cable monitoring method and device, electronic equipment, and storage medium. Background Art
[0002] Railway signal outdoor cables are buried deep underground or placed in cable trenches, enter the signal machinery room through the cable well of the signal building, and are connected to the indoor distribution board. The cables are installed using a single-end grounding method.
[0003] Understandably, changes in the cable's electrical characteristics indicate a potential cable failure. However, the lack of timely and effective methods for monitoring railway cable electrical interference can prevent the timely detection of cable damage or failures, potentially leading to a series of safety incidents and potential safety hazards.
[0004] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the Invention
[0005] The main purpose of the embodiments of the present application is to provide a cable monitoring method and device, electronic equipment and storage medium, so as to enable a user to intuitively monitor the status of a cable protective layer and a cable shielding layer.
[0006] To achieve the above objectives, an embodiment of the present application provides a cable monitoring method, which includes the following steps:
[0007] receiving a target instruction, wherein the target instruction includes at least one of a read configuration instruction and a setting instruction;
[0008] Verifying whether the target instruction is valid;
[0009] If the target instruction is valid and the target instruction includes the read configuration instruction, collecting target data at the protective layer and the shielding layer of the cable according to the read configuration instruction, the read configuration instruction including the target data type of the target data;
[0010] In response to the first instruction, the target data is displayed on the monitoring page.
[0011] In some embodiments, verifying whether the target instruction is valid includes:
[0012] Determining whether the length of the target instruction is zero;
[0013] If the length of the target instruction is zero, it is determined that the target instruction is invalid.
[0014] In some embodiments, the target instruction includes a first verification code, and verifying whether the target instruction is valid includes:
[0015] Calculating a second check code according to the target instruction;
[0016] Determining whether the first verification code is the same as the second verification code;
[0017] If the first verification code is different from the second verification code, determining that the target instruction is invalid;
[0018] If the first verification code is the same as the second verification code, it is determined that the target instruction is valid.
[0019] In some embodiments, the setup instruction includes a target configuration, and the method further includes:
[0020] If the target instruction is valid and the target instruction includes the setting instruction, the acquisition machine at the cable protection layer and the cable shielding layer applies the target configuration.
[0021] In some embodiments, collecting target data at the protective layer and the shielding layer of the cable according to the read configuration instruction includes:
[0022] The acquisition machine through the cable protective layer and the cable shielding layer acquires target data according to the read configuration instruction;
[0023] If the collector fails to read, in response to the second instruction, an identifier indicating that the collector is not in place is displayed on the monitoring page.
[0024] In some embodiments, collecting target data at the protective layer and the shielding layer of the cable according to the read configuration instruction includes:
[0025] collecting the target data several times;
[0026] If the target data is greater than the warning value, the temperature data greater than the warning value and abnormal information are fed back;
[0027] If the target data are all less than or equal to the warning value, the target data with the latest collection time is fed back.
[0028] In some embodiments, the method further comprises:
[0029] In response to the third instruction, the target data and the data anomaly indicator are displayed on the monitoring page.
[0030] To achieve the above objectives, another aspect of the present application provides a cable monitoring device, comprising:
[0031] An instruction receiving module, configured to receive a target instruction, wherein the target instruction includes at least one of a read configuration instruction and a setting instruction;
[0032] A validity verification module, used to verify whether the target instruction is valid;
[0033] an acquisition module, configured to acquire target data at the protective layer and the shielding layer of the cable according to the read configuration instruction if the target instruction is valid and the target instruction includes the read configuration instruction, wherein the read configuration instruction includes a target data type of the target data;
[0034] The display module is configured to display the target data on a monitoring page in response to a first instruction.
[0035] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned method when executing the computer program.
[0036] To achieve the above objectives, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.
[0037] The embodiments of the present application include at least the following beneficial effects: the present application provides a cable monitoring method and device, an electronic device and a storage medium, which receives a target instruction; verifies whether the target instruction is valid, prevents the execution of invalid or malicious instructions, and is beneficial to improving the security and stability of the system; if the target instruction is valid and the target instruction includes a read configuration instruction, the target data is collected at the protective layer and shielding layer of the cable according to the read configuration instruction, and the cable termination monitoring is realized by collecting data in real time, which is beneficial to monitoring the working status of the cable and timely discovering abnormalities of the cable protective layer and cable shielding layer; in response to the first instruction, the target data is displayed on the monitoring page, which is beneficial for users to intuitively understand the working status of the cable protective layer and cable shielding layer, and improve the work efficiency of electrical maintenance personnel. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 is a flow chart of the cable monitoring method provided in an embodiment of the present application;
[0039] Figure 2 yes Figure 1 Flowchart of step S102 in FIG.
[0040] Figure 3 yes Figure 1 Flowchart of step S103 in FIG.
[0041] Figure 4 yes Figure 1 Flowchart of step S104 in FIG.
[0042] Figure 5This is a system hardware structure block diagram when the cable monitoring method provided in an embodiment of the present application is applied to a cable monitoring system;
[0043] Figure 6 This is the actual installation diagram of the terminal monitoring provided in the embodiment of the present application;
[0044] Figure 7 This is a diagram showing the effect of terminal monitoring provided by an embodiment of the present application;
[0045] Figure 8 This is a system flow chart when the cable monitoring method provided in an embodiment of the present application is applied to a database monitoring system;
[0046] Figure 9 This is a flowchart of the initialization of the cable monitoring system provided by the embodiment of the present application;
[0047] Figure 10 This is a schematic diagram of the screen display provided by the embodiment of the present application;
[0048] Figure 11 The embodiment of the present application provides a schematic structural diagram of a cable monitoring device provided in an embodiment of the present application;
[0049] Figure 12 Provided in an embodiment of the present application is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are merely examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the appended claims.
[0051] It will be understood that the terms "first", "second", etc. used in this application may be used herein to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0052] The terms "at least one", "plurality", "each", "any", etc. used in this application include "at least one", "two" or more, "plurality" or "each", "any" or "any one", "each" or "any one" in the context of the present invention, and "at least one" or "at least one" includes one, two or more, "plurality" or "any one" includes two or more, "each" or "each one" in the context of the present invention, and "any" or "any one
[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.
[0054] Before explaining the embodiments of the present application in detail, some of the nouns and terms involved in the embodiments of the present application are first explained. The nouns and terms involved in the embodiments of the present application are subject to the following explanations.
[0055] 1) Modbus CRC16 checksum is an error detection method used in the Modbus protocol to ensure the integrity of data transmission.
[0056] 2) Cyclic Redundancy Check (CRC) generates a check code by performing a specific mathematical operation on the data. The receiver performs the same operation after receiving the data. If the results are consistent, it means that no errors occurred during the data transmission process.
[0057] Railway signal outdoor cables are buried deep underground or placed in cable trenches, enter the signal machinery room through the cable well of the signal building, and are connected to the indoor distribution board. The cables are installed using a single-end grounding method.
[0058] Understandably, changes in the cable's electrical characteristics indicate a potential cable failure. However, the lack of timely and effective methods for monitoring railway cable electrical interference can prevent the timely detection of cable damage or failures, potentially leading to a series of safety incidents and potential safety hazards.
[0059] In summary, the technical problems existing in the relevant technologies need to be improved.
[0060] In view of this, a cable monitoring method, device, equipment and medium are provided in an embodiment of the present application. The scheme receives a target instruction; verifies whether the target instruction is valid, prevents the execution of invalid or malicious instructions, and is beneficial to improving the security and stability of the system; if the target instruction is valid and the target instruction includes a read configuration instruction, the target data is collected in the protective layer and shielding layer of the cable according to the read configuration instruction. By collecting data in real time, it is beneficial to monitor the working status of the cable and promptly discover abnormalities in the cable protective layer and cable shielding layer; in response to the first instruction, the target data is displayed on the monitoring page, which is beneficial for users to intuitively understand the working status of the cable protective layer and cable shielding layer, and improve the work efficiency of electrical maintenance personnel.
[0061] The cable monitoring method provided in the embodiment of the present application relates to the field of electric power technology. The cable monitoring method provided in the embodiment of the present application can be applied to a terminal, can be applied to a server, or can be software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a car terminal, etc., but is not limited to this; the server side can be configured as an independent physical server, or can be configured as a server cluster or distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network; the software can be an application that implements the cable monitoring method, etc., but is not limited to the above forms.
[0062] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and the like. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments in which tasks are performed by remote processing devices connected via a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media, including storage devices.
[0063] It should be noted that in each specific embodiment of the present application, when it comes to the need to perform relevant processing based on data related to the user's identity or characteristics, such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of such data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.
[0064] Figure 1 This is an optional flow chart of the cable monitoring method provided in the embodiment of the present application. Figure 1 The method may include but is not limited to steps S101 to S104.
[0065] Step S101: receiving a target instruction.
[0066] Specifically, the target instruction includes at least one of a read configuration instruction and a setting instruction.
[0067] In some embodiments, the CPU receives a target instruction from a host computer and determines a recipient of the target instruction.
[0068] Optionally, the target instruction includes a receiver of the instruction, and the receiver of the target instruction is determined according to the host computer.
[0069] For example, the user may manually select the recipient of the target instruction, or the default instruction recipient of the host computer may be used.
[0070] It is understandable that the recipient of the configuration instruction or setting instruction is the acquisition machine.
[0071] In some embodiments, the read configuration instruction can read sensor data of the collector in batches, and the set instruction can set (or update) the sensor configuration of the collector in batches. The set instruction includes the target configuration of the collector.
[0072] Exemplarily, the read configuration instruction is used to batch read target data of the collector, and the set instruction is used to batch set (or update) the temperature monitoring threshold and current monitoring threshold of the collector.
[0073] It is understood that when batch reading sensor data from a collector, the returned sensor data corresponds to the collector identifier, where the collector identifier is used to identify the source of the sensor data.
[0074] Furthermore, the target instruction also includes a device restart instruction and a device status query instruction.
[0075] It is understandable that when the target instruction includes an instruction to restart the device, the device restart result is displayed on the monitoring page; when the target instruction includes an instruction to query the device status, whether the device is in place is displayed on the monitoring page.
[0076] Step S102: Check whether the target instruction is valid.
[0077] It is understandable that after receiving the target instruction, the CPU needs to check whether the instruction is valid.
[0078] In some embodiments, it is determined whether the length of the target instruction is zero; if the length of the target instruction is zero, the target instruction is determined to be invalid.
[0079] In some embodiments, a second check code is calculated based on the target instruction; it is determined whether the first check code and the second check code are the same; if the first check code and the second check code are different, the target instruction is determined to be invalid; if the first check code and the second check code are the same, the target instruction is determined to be valid.
[0080] Optionally, it is checked whether the recipients of the target instruction are valid. If all recipients are valid, the target instruction is determined to be valid. Otherwise, the valid target instruction is sent to the recipient and the invalid target instruction is returned to the sender.
[0081] Specifically, when the target instruction includes a setting instruction, it is verified whether the target configuration in the setting instruction is valid. Exemplarily, it is determined whether the temperature monitoring threshold and the current monitoring threshold are within a reasonable range.
[0082] In some embodiments, it is determined whether the time difference between the sending time of the target instruction and the current time exceeds a time difference threshold. If so, it is determined that the target instruction is invalid.
[0083] Furthermore, if the target instruction is invalid, an invalid instruction indicator is displayed on the monitoring page. Optionally, "the length of the target instruction is zero", "the check code verification failed", "the recipient is invalid", "the instruction timed out", or "the target configuration is unreasonable" is returned as an invalid reason and then displayed on the monitoring page.
[0084] It can be understood that the target instruction is checked multiple times. If the target instruction is invalid, invalid information is returned; if part of the target instruction is valid, the valid part of the target instruction is sent to the recipient, and the invalid part of the target instruction information is returned to the sender. If the target instruction is valid after multiple verifications, the target instruction is sent to the recipient.
[0085] In this embodiment, whether the target instruction is valid is verified to prevent the execution of invalid or malicious instructions, which is beneficial to improving the security and stability of the system.
[0086] Step S103 : if the target instruction is valid and the target instruction includes a read configuration instruction, target data is collected at the protective layer and the shielding layer of the cable according to the read configuration instruction.
[0087] Specifically, the read configuration instruction includes a target data type of the target data, and the set instruction includes a target configuration.
[0088] In some embodiments, if the target instruction is valid, the target instruction is executed.
[0089] Optionally, if the target instruction is valid and includes a setting instruction, the acquisition machine (ie, the instruction receiver) at the cable protective layer and the cable shielding layer applies the target configuration.
[0090] Furthermore, if the target instruction includes a read configuration instruction, target data is collected according to the target data type. For example, if the target data type includes temperature and current, the collector (ie, the instruction receiver) collects temperature data and current data through sensors.
[0091] It should be noted that if the collector fails to read, a sign indicating that the collector is not in place is displayed on the monitoring page in response to the second instruction. The second instruction is triggered when the collector fails to read and the monitoring page is opened or updated, and is used to display that the collector is not in place.
[0092] It can be understood that the target data type can be a single type or include multiple types.
[0093] Optionally, the number of acquisitions, frequency, and time range can be set.
[0094] In some embodiments, target data is collected several times; if the target data is greater than the warning value, temperature data greater than the warning value and abnormal information are fed back; if the target data are all less than or equal to the warning value, the target data with the latest collection time is fed back.
[0095] Exemplarily, the target data types include temperature and current. Furthermore, several temperature and current data are collected. If all temperature data falls within the warning temperature range, the most recent temperature data collected is fed back. If all current data falls within the warning current range, the most recent current data collected is fed back. If any temperature data falls outside the warning temperature range, the temperature data not falling within the warning temperature range and temperature anomaly information are fed back. If any current data falls outside the warning current range, the current data not falling within the warning current range and current anomaly information are fed back.
[0096] In this embodiment, if the target instruction is valid and the target instruction includes a read configuration instruction, target data is collected at the protective layer and shielding layer of the cable according to the read configuration instruction. By collecting data in real time, cable termination monitoring is realized, which is beneficial to monitoring the status of the cable protective layer and shielding layer, timely discovering abnormalities of the cable protective layer and cable shielding layer, improving the safety of the cable, and preparing for subsequent page display.
[0097] Step S104 : Displaying target data on the monitoring page in response to the first instruction.
[0098] Specifically, the first instruction is triggered when there is no abnormality in the target data and the monitoring page is opened or updated.
[0099] It should be noted that, in response to the first instruction, if the target data collected according to the target instruction includes multiple data from multiple collectors, the multiple data from the multiple collectors are displayed on the monitoring page. Furthermore, in response to the user triggering the curve control, historical data stored by the collector is obtained and combined with the target data to generate a curve graph, which is then displayed on the monitoring page.
[0100] Exemplarily, the temperature data and current data of area 1 , the temperature data and current data of area 2 , and the temperature data and current data of area 3 are displayed on the monitoring page.
[0101] Furthermore, when the target instruction is invalid, an instruction invalidation mark and an invalidation reason are displayed on the monitoring page.
[0102] Optionally, in response to a third instruction, the target data and a data anomaly indicator are displayed on the monitoring page, wherein the third instruction is triggered when an anomaly exists in the target data and the monitoring page is opened or updated.
[0103] Exemplarily, the target data includes temperature data and current data. If the temperature data is abnormal and the current data is normal, the current data is displayed on the monitoring page in response to the first instruction, and the temperature data and the temperature abnormality indicator are displayed on the monitoring page in response to the third instruction.
[0104] It is understandable that when some target instructions are invalid and some target data are abnormal, the target data, instruction invalidity mark, invalidity reason and data abnormality mark can be displayed on the monitoring page.
[0105] Optionally, data storage and historical review functions are provided, allowing users to query past temperature and current changes. In response to the user triggering the curve control, the corresponding stored historical data is retrieved and combined with the target data to generate a curve graph, which is displayed on the monitoring page.
[0106] In this embodiment, in response to the first instruction, the target data is displayed on the monitoring page, which helps the user to intuitively understand the working status of the cable protective layer and the cable shielding layer, grasp the safety status of the equipment in real time, and prevent problems such as overheating or leakage from causing safety risks to equipment or personnel.
[0107] Steps S101 to S106 shown in the embodiment of the present application receive target instructions, verify whether the target instructions are valid, and prevent the execution of invalid or malicious instructions, which is beneficial to improving the security and stability of the system; if the target instruction is valid and the target instruction includes a read configuration instruction, target data is collected at the protective layer and shielding layer of the cable according to the read configuration instruction, and cable termination monitoring is achieved through real-time data collection, which is beneficial to monitoring the working status of the cable and timely discovering abnormalities in the cable protective layer and cable shielding layer; in response to the first instruction, the target data is displayed on the monitoring page, which is beneficial for users to intuitively understand the working status of the cable protective layer and cable shielding layer, and improve the work efficiency of electrical maintenance personnel.
[0108] See also Figure 2 In some embodiments, step S102 may include but is not limited to steps S201 to S205:
[0109] Step S201, receiving a host computer instruction.
[0110] In step S201 of some embodiments, the CPU receives a target instruction sent by a host computer.
[0111] Step S202: determine whether the length of the target instruction is zero.
[0112] In step S202 of some embodiments, the CPU determines whether the length of the target instruction is zero, and if not, executes step S203 , and if so, executes step S207 .
[0113] Furthermore, if the length of the target instruction is zero, an instruction invalidation flag and an invalidation reason of "the length of the target instruction is zero" are displayed on the monitoring page.
[0114] Step S203: determine whether the recipient of the target instruction is a data collector.
[0115] In step S203 of some embodiments, the CPU determines whether the recipient of the target instruction is the acquisition machine. If so, the CPU sends the target instruction to the acquisition machine and executes step S204. If not, the CPU executes step S207.
[0116] Furthermore, if the recipient of the target instruction is not a collector, an instruction invalidation mark and the invalidation reason of "the recipient is not a collector" will be displayed on the monitoring page.
[0117] Step S204, perform MobusCRC16 check.
[0118] Specifically, the target instruction includes a first check code.
[0119] In step S204 of some embodiments, the acquisition machine performs MobusCRC16 check.
[0120] Specifically, the MobusCRC16 check includes the following processes:
[0121] 1) Initialize a 16-bit CRC register to 0xFFFF.
[0122] 2) Perform an XOR operation on each byte of the received data and the lower 8 bits of the CRC register, and store the result back into the CRC register.
[0123] 3) Shift the CRC register right one bit at a time and decide whether to perform an XOR operation with the polynomial 0xA001 based on the value of the least significant bit (the bit shifted out).
[0124] 4) Repeat steps 2) and 3) until all data bytes have been processed.
[0125] 5) After processing, the value in the CRC register is the recalculated CRC16 check code.
[0126] 6) Calculate the new CRC value (second check code) and compare it with the CRC value (first check code) in the data sent by the host computer to verify whether the data is complete.
[0127] If the MobusCRC16 check succeeds, step S205 is executed; otherwise, step S207 is executed.
[0128] Furthermore, if the MobusCRC16 check fails, the invalid instruction mark and the invalid reason of "MobusCRC16 check failed" will be displayed on the monitoring page.
[0129] Step S205: Analyze the instruction content.
[0130] In step S205 of some embodiments, the acquisition machine analyzes whether the instruction is a read configuration instruction or a configuration instruction.
[0131] Step S206, executing the instruction.
[0132] In step S206 of some embodiments, if it is a read configuration instruction, the current configuration of the acquisition machine (ie, target data) is sent to the host computer; if it is a setting instruction, the acquisition machine configuration is set according to the instruction data (ie, target configuration).
[0133] Step S207, changing the working mode state.
[0134] In step S207 of some embodiments, it is determined that the target instruction is invalid, and the CPU operating mode state is changed.
[0135] See also Figure 3 In some embodiments, step S103 may include but is not limited to the following steps:
[0136] Step S301: Read the data of each sensor according to the configuration data.
[0137] In step S301 of some embodiments, each sensor data (ie, target data) is read according to configuration data (ie, reading configuration instructions).
[0138] In step S302, each temperature sensor reads data 10 times, removes the maximum and minimum values, and takes the average value; each current sensor reads 50 sets of data, sorts them, removes the 5 maximum values and 5 minimum values, and takes the average value; if no data can be read, it is marked as abnormal.
[0139] In step S302 of some embodiments, an average temperature value and an average current value (ie, temperature data and current data) are calculated.
[0140] If the data cannot be read, the problem type is marked as a read exception.
[0141] Step S303: If the comparison and analysis result between the sensor value and the configuration data is abnormal, the data is analyzed to determine the type of problem.
[0142] In step S303 of some embodiments, if the current data is greater than the current alarm value, it is determined whether the difference between the current data and the current alarm value is greater than a short circuit threshold. If so, the problem type is determined to be a short circuit.
[0143] In some embodiments, if the current is greater than the current alarm value but less than the short circuit threshold for a long time, the problem type is determined to be overload.
[0144] Step S304: If the comparison and analysis result of the sensor value and the configuration data is normal, the latest group data is kept each time it is written to the storage, and the count reaches 5 times.
[0145] In step S304 of some embodiments, if the comparison and analysis result of the sensor value and the configuration data is normal, the sensor value is written into the acquisition machine storage each time.
[0146] Furthermore, every time 5 groups of normal data are stored, the latest group of data is fed back to the CPU.
[0147] Step S305: Send to the host computer and display on the screen.
[0148] In step S305 of some embodiments, the normal latest group data is sent to the host computer and displayed on the screen.
[0149] Optionally, abnormal data and problem types are fed back to the host computer and displayed on the screen.
[0150] See also Figure 4 In some embodiments, step S104 may include but is not limited to the following steps:
[0151] Step S401: Send data to the screen.
[0152] In step S401 of some embodiments, the acquisition machine sends target data to the display screen.
[0153] Optionally, the acquisition machine or CPU sends an invalid instruction message, an acquisition machine reading failure message, and an abnormal data message to the screen.
[0154] Step S402: Refresh the screen display.
[0155] In step S402 of some embodiments, the screen display is refreshed after receiving the data.
[0156] Step S403: Display the sensor values in separate rows; when the sensor value is greater than the alarm value, the display color turns red.
[0157] In step S403 of some embodiments, the target data is displayed in rows.
[0158] Optionally, if the target data is greater than the alarm value, the target data and a data anomaly indicator (ie, the color turns red) are displayed on the monitoring page. Furthermore, the problem type can also be displayed.
[0159] Specifically, if the target instruction is invalid, an invalid instruction mark will be displayed on the monitoring page.
[0160] In addition, if the collector fails to read, the collector not in place mark will be displayed on the monitoring page.
[0161] Step S404: Display page turning when the page turning button is pressed.
[0162] In step S404 of some embodiments, if the target data is too large to be fully displayed on the screen, it is displayed in pages.
[0163] Furthermore, when the user presses a page-turning button, the page is turned and the target data of the next page is displayed.
[0164] Taking the cable monitoring system as an example, Figure 5 This is a system hardware structure block diagram when the cable monitoring method provided in the embodiment of the present application is applied to a cable monitoring system. Figure 5The system may include but is not limited to the following modules:
[0165] 1. Power module
[0166] Specifically, the system's main power supply is a 24V DC PoE voltage. This voltage is first isolated and stepped down to 5V via a lightning protection circuit, and then divided into three power conversion paths. One path is stepped down to 3.3V for the CPU system; another path is converted to ±15V by an internal isolated power circuit to supply the current sensor ADC acquisition circuit; and another path is converted to ±15V by an internal isolated power circuit to supply the temperature sensor ADC acquisition circuit. The isolation of all three paths effectively prevents the power supply from affecting the internal system architecture, enhancing stability.
[0167] 2. CPU unit
[0168] The CPU unit uses the STM32F103RET6, with a main frequency of 72MHz, a 512KB FLASH capacity, a 64KB RAM capacity, and an operating temperature range of -40°C to 105°C. Its excellent performance is sufficient to serve as the system's control unit. In terms of hardware architecture, it requires only a power supply circuit, a download circuit, and a reset circuit to form a minimal system for operation, so it was selected as the CPU unit. A watchdog chip, the STWD100NYWY3F, was added to this system. The CPU's PA11 pin regularly feeds the watchdog chip, ensuring normal and continuous CPU operation.
[0169] 3. Network port communication module
[0170] The network communication module utilizes the W5500 Ethernet chip and the HR911105A Ethernet connector, along with some peripheral protection circuitry, to form the network communication circuit. The W5500 chip integrates the TCP / IP protocol stack and can communicate with the CPU via SPI (Serial Peripheral Interface) to achieve network connectivity. This serial interface simplifies hardware connections while providing high-speed data transmission, simplicity, and reliable stability.
[0171] 4. Display module
[0172] The device features a 3.2-inch TFT LCD with a font library and two buttons for left and right page scrolling. The display is 240x320 RGB, and the CPU communicates via SPI (Serial Peripheral Interface) to control the screen display. The screen displays the sensor values. The screen includes a built-in font library, making development easy. Page scrolling via buttons is not easily affected by environmental factors, but remains stable and reliable.
[0173] 5. ADC acquisition module
[0174] The ADC sampling chip of the current sensor uses the CS5460A-BSZ chip, which integrates two delta-sigma analog-to-digital converters (ADCs), high-speed power calculation function and a serial SPI interface, and communicates directly with the CPU; the ADC sampling chip of the temperature sensor uses the ADS1216Y / 2K chip, a new, high-precision, wide dynamic range, Δ-∑ type 8-channel 24-bit ADC, which exchanges information with the CPU through the SPI interface.
[0175] 6. Multi-purpose multiplexing circuit module
[0176] The multiplexing circuit uses the CMOS analog multiplexer ADG408 chip. The CPU's I / 0 port controls the chip's binary address lines A0, A1, and A2 to achieve 8-to-1 selection. At the same time, the CPU's I / 0 control chip's EN enable pin realizes chip selection and implements the circuit function of the multiple-select-one multiplexing circuit, thereby enabling the ADC chip to realize polling acquisition of one to multiple sensors through the multiplexing circuit.
[0177] Specifically, the cable monitoring system is installed in a single-end grounding mode and can be used to monitor the cable terminations between cables in the signal building and the secondary terminations of cables entering the signal machinery room. For example, the actual installation diagram of the termination monitoring is as follows: Figure 6 As shown in the figure, the end monitoring effect is as follows Figure 7 As shown. Among them, Figure 7 The structural components numbered 1 and 5 are the left and right mounting brackets, respectively. These components securely attach the equipment to the aluminum profiles used for cable laying, preventing displacement during operation. Both brackets are constructed from 2.0 mm thick steel plates and are spray-coated with a plastic coating. This structure not only significantly enhances the strength and durability of the brackets, enabling them to withstand significant external impacts, but also maintains an aesthetically pleasing appearance, ensuring a reliable and coordinated overall system.
[0178] also, Figure 7 The structural component numbered 2 is the current sensor mounting bar. This structure features a long, waist-shaped hole, allowing the current grounding wire to pass smoothly and vertically through the sensor's central square hole without bending and reducing measurement accuracy. This structure also facilitates the entire installation process and creates a cleaner and more aesthetically pleasing overall appearance, enhancing the device's professionalism and user experience.
[0179] It should be noted that Figure 7The structural components numbered 3 and 4 are the mounting base and panel, respectively, which provide support and protection for the equipment. Crafted from 304 stainless steel, the structure offers excellent corrosion resistance and formability, ensuring long-term stability and reliability. Furthermore, the structure features a variety of surface treatments, allowing for a variety of cleaning methods during subsequent maintenance, greatly simplifying equipment maintenance and extending its lifespan.
[0180] The device structure of the present application embodiment achieves single-terminal detection by connecting the cable to the copper busbar at its connectors and terminals, using a single cable grounded through the copper busbar. Furthermore, this structure can be adapted to accommodate varying numbers of cables and copper busbars, effectively overcoming the drawback of prior art requiring single-terminal detection, reducing detection costs and increasing detection accuracy.
[0181] Furthermore, integrating the grounding copper bar current sensor and temperature sensor into the same device, along with a display, allows electrical maintenance personnel to monitor data in real time while inspecting cables, eliminating the need to return to the signal room. This improves work efficiency. By comparing monitoring data across rows, it's easier and faster to identify specific cables experiencing an anomaly.
[0182] Taking the cable monitoring system as an example, Figure 8 This is a system flow chart when the cable monitoring method provided in the embodiment of the present application is applied to a database monitoring system. Figure 8 The method may include but is not limited to the following modules:
[0183] Step 1, initialization.
[0184] Specifically, various peripherals are initialized and data of each part is configured, including the configuration of sensor type, sensor interface information, communication interface, screen display, etc. After the data is configured, the working mode of collecting and processing data is entered.
[0185] For example, the initialization flow chart of the cable monitoring system is as follows: Figure 9 shown.
[0186] Step 2: Data reception and judgment.
[0187] Specifically, the CPU connects to the network module via the SPI serial port to communicate with the host computer, sending and receiving various command data. The program must judge the received data and perform Mobus CRC16 verification, then perform corresponding operations and responses. Configuration instructions configure the sensor type, sensor interface information, communication interface, screen display, and other configurations. After configuration, the system enters the initial state of data collection and processing.
[0188] For example, after the MobusCRC16 check, the instruction is analyzed. The instruction with the first Byte being 01 is a read configuration instruction, and the instruction with the first Byte being 02 is a setting instruction.
[0189] Step 3, data processing.
[0190] Specifically, the data of each sensor is read according to the configuration data, collected multiple times, and the data value of each current sensor and temperature sensor is calculated by combining the algorithm. The data value is compared and analyzed with the set warning value. Any abnormality is sent to the host computer in time and displayed. If the data is normal, it is written to the storage each time, and the latest set of data is retained. After counting to 5 times, the latest data is sent to the host computer.
[0191] It should be noted that the failure to read the sensor value indicates that the sensor is abnormal, and the host computer displays the sensor as not in place.
[0192] Among them, the set warning value is set manually, and the data value of each current sensor and temperature sensor is automatically compared with the set warning value. If it is not within the preset warning value range, it is automatically judged as an abnormality and sent to the host computer for display in time.
[0193] In some embodiments, if the tested data value is abnormal, it is immediately sent to the host computer and displayed; if the data is normal, the data is collected 5 times and the latest one is sent to the host computer to reduce the occupation of the host computer's communication resources.
[0194] Step 4, screen display.
[0195] Specifically, the CPU sends data to the display screen through the SPI serial port, controls the screen display, and displays the current data of the temperature sensor and current sensor. You can use the button to turn the page left and right to view. After pressing the button, the display will remain for 5 seconds. If you do not press it again, the displayed data will be updated.
[0196] For example, the screen displays a schematic diagram as follows: Figure 10 As shown in the figure. White font indicates normal data, red font indicates data greater than the warning value, and the curve button is used to display the data curve.
[0197] The embodiment of the present application monitors the electrical and temperature characteristics of the cable armor and comprehensively analyzes the obtained data. When the cable armor is damaged and connected to the ground, or is subject to sudden strong electrical interference, real-time early warning / alarm reminders are implemented to eliminate potential faults and improve fault repair efficiency.
[0198] The embodiments of the present application can improve the work efficiency of electrical maintenance personnel. Faults caused by electrical interference and damage to equipment cables no longer require the trouble of being handled after the fault occurs, significantly reducing fault handling time. Faults caused by electrical interference and damage to cables can be modified from faults to planned repairs, reducing the large-scale disruption to transportation caused by faults and better maintaining railway operation safety and punctuality.
[0199] See also Figure 11 The present invention also provides a cable monitoring device that can implement the above cable monitoring method. The device includes:
[0200] The instruction receiving module 1101 is used to receive a target instruction, where the target instruction includes at least one of a read configuration instruction and a setting instruction;
[0201] Validity verification module 1102, used to verify whether the target instruction is valid;
[0202] The acquisition module 1103 is configured to acquire target data at the protective layer and the shielding layer of the cable according to the read configuration instruction if the target instruction is valid and the target instruction includes a read configuration instruction, the read configuration instruction including a target data type of the target data;
[0203] The display module 1104 is configured to display the target data on the monitoring page in response to the first instruction.
[0204] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0205] The present application also provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the cable monitoring method when executing the computer program. The electronic device can be any smart terminal including a tablet computer, an in-vehicle computer, or the like.
[0206] It can be understood that the contents of the above method embodiments are applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0207] See also Figure 12 , Figure 12 The hardware structure of an electronic device according to another embodiment is shown. The electronic device includes:
[0208] The processor 1201 can be implemented as a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0209] The memory 1202 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1202 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program codes are stored in the memory 1202 and are called by the processor 1201 to execute the cable monitoring method of the embodiments of this application.
[0210] Input / output interface 1203, used to implement information input and output;
[0211] Communication interface 1204, used to implement communication interaction between this device and other devices, which can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WiFi, Bluetooth, etc.);
[0212] Bus 1205 , which transmits information between various components of the device (e.g., processor 1201 , memory 1202 , input / output interface 1203 , and communication interface 1204 );
[0213] The processor 1201 , the memory 1202 , the input / output interface 1203 and the communication interface 1204 are connected to each other in communication within the device via the bus 1205 .
[0214] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned cable monitoring method is implemented.
[0215] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiment, the functions specifically implemented by the present storage medium embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0216] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0217] The cable monitoring method, cable monitoring device, electronic device and storage medium provided in the embodiments of the present application receive target instructions; verify whether the target instructions are valid to prevent the execution of invalid or malicious instructions, which is beneficial to improving the security and stability of the system; if the target instructions are valid and the target instructions include reading configuration instructions, target data is collected on the protective layer and shielding layer of the cable according to the read configuration instructions. By collecting data in real time, it is beneficial to monitor the working status of the cable and promptly discover abnormalities in the cable protective layer and cable shielding layer; in response to the first instruction, the target data is displayed on the monitoring page, which is beneficial for users to intuitively understand the working status of the cable protective layer and cable shielding layer, and improve the work efficiency of electrical maintenance personnel.
[0218] The embodiments described in the embodiments of this application are intended to more clearly illustrate the technical solutions of the embodiments of this application and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0219] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0220] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, i.e., they may be located in one place or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of this embodiment.
[0221] Those skilled in the art will appreciate that all or some of the steps in the methods, systems, and functional modules / units in the devices disclosed above may be implemented as software, firmware, hardware, or appropriate combinations thereof.
[0222] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0223] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0224] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0225] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0226] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0227] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes multiple instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes various media that can store programs, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0228] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but are not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and essence of the present invention should be within the scope of the present invention.
Claims
1. A cable monitoring method, characterized in that: The method comprises the following steps: receiving a target instruction, wherein the target instruction includes at least one of a read configuration instruction and a setting instruction; Verifying whether the target instruction is valid; If the target instruction is valid and the target instruction includes the read configuration instruction, collecting target data at the protective layer and the shielding layer of the cable according to the read configuration instruction, the read configuration instruction including the target data type of the target data; In response to the first instruction, the target data is displayed on the monitoring page.
2. The method according to claim 1, characterized in that The checking whether the target instruction is valid includes: Determining whether the length of the target instruction is zero; If the length of the target instruction is zero, it is determined that the target instruction is invalid.
3. The method according to claim 1, characterized in that The target instruction includes a first verification code, and the verification of whether the target instruction is valid includes: Calculating a second check code according to the target instruction; Determining whether the first verification code is the same as the second verification code; If the first verification code is different from the second verification code, determining that the target instruction is invalid; If the first verification code is the same as the second verification code, it is determined that the target instruction is valid.
4. The method according to claim 1, wherein The setting instruction includes a target configuration, and the method further includes: If the target instruction is valid and the target instruction includes the setting instruction, the acquisition machine at the cable protection layer and the cable shielding layer applies the target configuration.
5. The method according to claim 1, wherein The collecting target data at the protective layer and the shielding layer of the cable according to the read configuration instruction includes: The acquisition machine through the cable protective layer and the cable shielding layer acquires target data according to the read configuration instruction; If the collector fails to read, in response to the second instruction, an identifier indicating that the collector is not in place is displayed on the monitoring page.
6. The method according to claim 1, characterized in that The collecting target data at the protective layer and the shielding layer of the cable according to the read configuration instruction includes: collecting the target data several times; If the target data is greater than the warning value, the temperature data greater than the warning value and abnormal information are fed back; If the target data are all less than or equal to the warning value, the target data with the latest collection time is fed back.
7. The method according to claim 6, characterized in that The method further comprises: In response to the third instruction, the target data and the data anomaly indicator are displayed on the monitoring page.
8. A cable monitoring device, characterized in that: The device comprises: An instruction receiving module, configured to receive a target instruction, wherein the target instruction includes at least one of a read configuration instruction and a setting instruction; A validity verification module, used to verify whether the target instruction is valid; an acquisition module, configured to acquire target data at the protective layer and the shielding layer of the cable according to the read configuration instruction if the target instruction is valid and the target instruction includes the read configuration instruction, wherein the read configuration instruction includes a target data type of the target data; The display module is configured to display the target data on a monitoring page in response to a first instruction.
9. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Power tunnel cable running state comprehensive monitoring method
CN102866313A
Grounding performance monitoring system and method for dynamically monitoring shielding layers of communication cables
CN102879703A
Secure communication method, device, equipment and medium
CN114282202A
Cable operation monitoring method and system, terminal equipment and storage medium
CN115656683A