Intelligent well lid device and program upgrading method

Through the combination of the three-axis acceleration module, main control module and NB communication module of the intelligent manhole cover device, real-time monitoring of manhole cover and abnormal data transmission are realized, solving the problem of poor real-time performance of manhole cover monitoring in the existing technology, and improving the manhole cover displacement monitoring Accuracy and real-time reduce maintenance costs.

CN118915507APending Publication Date: 2024-11-08NANJING YIMEIWO ELECTRONICS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410871685.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The existing manhole cover monitoring methods rely on manual inspection, resulting in poor real-time monitoring and failure to detect abnormal manhole covers in time, affecting urban operation and safety.

Method used

Design an intelligent manhole cover device, integrating three-axis acceleration module, main control module and NB communication module, and real-time monitoring of the spatial displacement data of the manhole cover, determine whether the position status is abnormal, and transmit the abnormal data to the management end to improve the manhole cover displacement monitoring Real-time and accuracy.

Benefits of technology

Through real-time monitoring and data transmission of intelligent manhole cover devices, false alarms of manhole cover displacement monitoring are reduced, stable transmission of position abnormal data is ensured, real-time and accuracy of manhole cover displacement monitoring are improved, and maintenance costs are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118915507A_ABST
    Figure CN118915507A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of urban manhole covers, in particular to an intelligent manhole cover device and a program upgrading method, and the intelligent manhole cover device comprises a three-axis acceleration module, a main control module and an NB communication module; the main control module is respectively connected with the three-axis acceleration module and the NB communication module, and the NB communication module is also in communication connection with the management end; the three-axis acceleration module is used for responding to the state monitoring instruction, monitoring the spatial position of the well lid, obtaining spatial displacement data and sending the spatial displacement data to the main control module; the main control module is further used for receiving the spatial displacement data, calling a preset state judgment strategy based on the spatial displacement data, judging whether the position state of the well lid is an abnormal state or not according to the preset state judgment strategy, and outputting position abnormal data to the NB communication module when the position state is the abnormal state; and the NB communication module is used for receiving the position abnormal data and sending the position abnormal data to the management end.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of urban manhole covers, and in particular to an intelligent manhole cover device and a program upgrading method. Background Art

[0002] Manhole covers are protective covers covering the entrances of underground pipelines, communications, electricity and other facilities. They are usually made of cast iron, steel fiber, resin and other materials. They play a vital role in urban infrastructure. They not only effectively prevent citizens from falling, but also have functions such as drainage and pollution prevention, and provide maintenance channels for underground facilities. With the acceleration of urbanization, the number of manhole covers continues to increase. Abnormal conditions of manhole covers (such as displacement or theft) will not only affect the operation of the city, but may also cause safety accidents and property losses. Therefore, it is particularly important to monitor manhole covers.

[0003] The existing manual inspection method requires a lot of manpower and time costs, and the real-time monitoring is poor. In the case of widespread distribution of manhole covers in cities, once an abnormality occurs in the manhole cover, it may not be discovered and handled in the first time, affecting the real-time and accuracy of manhole cover displacement monitoring. Summary of the invention

[0004] The present invention provides an intelligent manhole cover device and a program upgrading method, which can improve the real-time performance and accuracy of manhole cover displacement monitoring.

[0005] In order to solve the above technical problems, a technical solution adopted by the present invention is: to provide an intelligent manhole cover device, the intelligent manhole cover device includes: a three-axis acceleration module, a main control module and a NB communication module, the main control module is respectively connected to the three-axis acceleration module and the NB communication module, the NB communication module is also connected to the management end for communication, the three-axis acceleration module is used to respond to the status monitoring instruction, monitor the spatial position of the manhole cover, obtain spatial displacement data, and send the spatial displacement data to the main control module, the main control module is used to receive the spatial displacement data, call a preset status judgment strategy based on the spatial displacement data, and judge whether the position status of the manhole cover is an abnormal state according to the preset status judgment strategy. When the position status is an abnormal state, the position abnormality data is output to the NB communication module, and the NB communication module is used to receive the position abnormality data and send the position abnormality data to the management end.

[0006] Optionally, the intelligent manhole cover device also includes a real-time clock circuit, which is connected to the main control module. The real-time clock circuit is used to determine multiple status monitoring times according to a preset acquisition cycle, so that the main control module can output status monitoring instructions to the three-axis acceleration module according to each status monitoring time.

[0007] Optionally, the three-axis acceleration module includes: a LIS2DW12 motion sensor, which is connected to the main control module, and is used to respond to status monitoring instructions, monitor the spatial position of the manhole cover, obtain the spatial monitoring position, compare the spatial monitoring position with the preset spatial position, obtain spatial displacement data, and send the spatial displacement data to the main control module.

[0008] Optionally, the main control module includes: an msp430 main control chip, which is respectively connected to the LIS2DW12 motion sensor, the NB communication module and the real-time clock circuit; the msp430 main control chip is used to receive multiple status monitoring times sent by the real-time clock circuit, and output status monitoring instructions to the LIS2DW12 motion sensor according to each status monitoring time, so that the LIS2DW12 motion sensor responds to each status monitoring instruction respectively, monitors the spatial position of the manhole cover, and obtains spatial displacement data; the msp430 main control chip is also used to receive the spatial displacement data, call a preset status judgment strategy based on the spatial displacement data, and judge whether the position status of the manhole cover is an abnormal state according to the preset status judgment strategy; when the position status is an abnormal state, output the position abnormality data to the NB communication module.

[0009] Optionally, the NB communication module includes: a NB-IoT communication chip, the NB-IoT communication chip is connected to the msp430 main control chip, the NB-IoT communication chip is also communicated with the management end, and the NB-IoT communication chip is used to receive the location abnormality data and send the location abnormality data to the management end.

[0010] Optionally, the intelligent manhole cover device also includes: a storage module, which is connected to the msp430 main control chip, and is used to receive status operation data sent by the msp430 main control chip, and the status operation data includes the status monitoring time, the spatial displacement data, the position abnormality data and the upgrade program data.

[0011] To solve the above technical problems, another technical solution adopted by the present invention is: to provide a program upgrade method, applied to an intelligent manhole cover device, the program upgrade method comprising: in response to an upgrade notification instruction sent by a management end, parsing the upgrade notification instruction, obtaining attributes of the program to be upgraded, the attributes of the program to be upgraded including version data, real-time monitoring of the currently executed task, obtaining current running data, calling a preset idle determination rule to process the current running data, obtaining task execution attributes, judging whether the current running state is an idle state based on the task execution attributes, and when the current running state is an idle state, sending a program request instruction to the management end, receiving upgrade program data sent by the management end in response to the program request instruction, calling a preset number comparison table based on the version data, judging whether the upgrade program data is complete according to the preset number comparison table, and when the upgrade program data is complete, performing a program upgrade based on the upgrade program data to obtain an updated program.

[0012] Optionally, the real-time monitoring of the currently executed task, obtaining the current running data, calling the preset idle determination rule to process the current running data, obtaining the task execution attribute, and judging whether the current running state is an idle state based on the task execution attribute include: real-time monitoring of the currently executed task, obtaining the task execution table, generating the current running data based on the task execution table, calling the preset idle determination rule to identify the current running data, obtaining multiple task types, and obtaining the task execution attributes of each task type based on the preset task attribute table, wherein the task execution attributes include key tasks and auxiliary tasks, and when all task execution attributes are the auxiliary tasks, judging that the current running state is a potential idle state, sending a state confirmation instruction to the management end, receiving a multi-dimensional confirmation signal sent by the management end based on the state confirmation instruction, and identifying the multi-dimensional confirmation signal, and when the multi-dimensional confirmation signal is an idle confirmation signal, judging that the current running state is an idle state, and the multi-dimensional confirmation signal is obtained according to weather dimension data and crowd flow dimension data.

[0013] Optionally, calling a preset number comparison table based on the version data and judging whether the upgrade program data is complete according to the preset number comparison table include: calling a preset number comparison table corresponding to the upgrade program data based on the version data, the preset number comparison table including each sub-upgrade program data and a corresponding preset number, identifying the received upgrade program data, obtaining each sub-upgrade program data and a corresponding actual number, comparing the actual number corresponding to each sub-upgrade program data with the preset number one by one, and obtaining a number comparison result, the number comparison result including a sequential comparison result and a continuous comparison result, and when the sequential comparison result is consistent and the continuous comparison result is continuous, the upgrade program data is determined to be complete.

[0014] Optionally, the program upgrade method also includes: calling a historical update schedule based on the attributes to be upgraded, obtaining the latest upgrade time according to the historical update schedule, obtaining a time difference between the latest upgrade time and the current time, using the time difference as the upgrade time interval, judging whether the latest upgrade time exceeds a preset time threshold, and when the latest upgrade time exceeds the preset time threshold, sending a program request instruction to the management end, and receiving upgrade program data sent by the management end in response to the program request instruction.

[0015] The beneficial effects of the present invention are as follows: The intelligent manhole cover device of the present invention includes a three-axis acceleration module, a main control module and a NB communication module. The main control module is connected to the three-axis acceleration module and the NB communication module respectively. The NB communication module is also connected to the management end for communication. The three-axis acceleration module can respond to the status monitoring instruction, monitor the spatial position of the manhole cover, obtain spatial displacement data, and send the spatial displacement data to the main control module. The main control module can receive the spatial displacement data, call a preset status judgment strategy based on the spatial displacement data, and judge whether the position status of the manhole cover is an abnormal state according to the preset status judgment strategy. When the position status is an abnormal state, the position abnormality data is output to the NB communication module. The NB communication module can receive the position abnormality data and send the position abnormality data to the management end. The three-axis acceleration module can quickly capture any abnormal displacement of the manhole cover and obtain high-precision spatial displacement data. The main control module can determine whether the position of the manhole cover is in an abnormal state based on the preset state judgment strategy and the received spatial displacement data, thereby reducing the occurrence of false alarms. The NB communication module has the advantages of wide coverage and low power consumption, and can ensure the stable transmission of abnormal position data. The present invention improves the real-time and accuracy of manhole cover displacement monitoring through the mutual cooperation between the three-axis acceleration module, the main control module and the NB communication module in the intelligent manhole cover device.

[0016] 2. The program upgrade method of the present invention is applied to an intelligent manhole cover device. The program upgrade method includes responding to an upgrade notification instruction sent by the management end, parsing the upgrade notification instruction, obtaining the attributes of the program to be upgraded, the attributes of the program to be upgraded include version data, real-time monitoring of the currently executed task, obtaining the current running data, calling a preset idle judgment rule to process the current running data, obtaining the task execution attribute, judging whether the current running state is an idle state based on the task execution attribute, and when the current running state is an idle state, sending a program request instruction to the management end, receiving the upgrade program data sent by the management end in response to the program request instruction, calling a preset number comparison table based on the version data, judging whether the upgrade program data is complete according to the preset number comparison table, and when the upgrade program data is complete, executing the program upgrade based on the upgrade program data to obtain the update program. The present invention realizes the remote program upgrade function of the intelligent manhole cover device in the above manner, and effectively reduces the maintenance cost after the manhole cover is installed. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] One or more embodiments are exemplarily described by corresponding drawings, which do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and the figures in the drawings do not constitute proportional limitations unless otherwise stated.

[0018] Figure 1 It is a structural schematic diagram of an intelligent manhole cover device provided in an embodiment of the present application; Figure 2 It is a flowchart of a program upgrade method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0020] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, and all are within the protection scope of the present invention. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device schematic diagram or the order in the flow chart.

[0021] It should be understood that in the present invention, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.

[0022] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0023] See also Figure 1 , Figure 1 It is a structural schematic diagram of an intelligent manhole cover device provided in an embodiment of the present application.

[0024] The intelligent manhole cover device includes a three-axis acceleration module, a main control module and a NB communication module. The main control module is connected to the three-axis acceleration module and the NB communication module respectively, and the NB communication module is also connected to the management end for communication.

[0025] Among them, the smart manhole cover device is an electronic device for monitoring the position status of the manhole cover, which can be fixed to the inside of the manhole cover or the bottom of the manhole cover by means of screws, glue, etc. The specific fixing method can be selected according to the actual situation to ensure that the smart manhole cover device will not move or fall off during the displacement of the manhole cover; the three-axis acceleration module represents a sensor that can measure the displacement change of the manhole cover in three different directions (X, Y, and Z axes); the main control module is the core control unit of the smart manhole cover device, usually composed of a microprocessor (such as a single-chip microcomputer); the NB communication module is a communication module based on the narrowband Internet of Things (NB-IoT) technology, which can connect the smart manhole cover device to the management end to realize remote transmission of data; the management end is a remote management platform for the smart manhole cover device, usually a software system or application, usually with a user interface, which is convenient for the administrator to view the status information of the manhole cover and manage the smart manhole cover device.

[0026] The three-axis acceleration module can respond to the status monitoring instruction, monitor the spatial position of the manhole cover, obtain the spatial displacement data, and send the spatial displacement data to the main control module; the main control module can receive the spatial displacement data, call the preset status judgment strategy based on the spatial displacement data, and judge whether the position status of the manhole cover is an abnormal state according to the preset status judgment strategy. When the position status is an abnormal state, the position abnormality data is output to the NB communication module; the NB communication module can receive the position abnormality data and send the position abnormality data to the management end.

[0027] The state monitoring instruction is a command that triggers the intelligent manhole cover device to start monitoring the position state of the manhole cover, which can be specifically issued by the management terminal and transmitted to the main control module through the NB communication module, and the main control module then controls the three-axis acceleration module to start working; the spatial position represents the actual position of the manhole cover in three-dimensional space, the spatial displacement data represents the data of the change of the spatial position of the manhole cover, usually including the displacement in three directions (X, Y, Z axis), and the preset state judgment strategy represents a set of predefined rules for judging whether the spatial position of the manhole cover is abnormal according to the received spatial displacement data; the position state represents whether the current spatial position of the manhole cover is normal, including normal state and abnormal state, the normal state represents that the manhole cover is in a normal working position and no abnormal situation occurs; the abnormal state represents that the spatial position of the manhole cover is abnormal, such as being opened, displaced or damaged, that is, abnormal displacement occurs; the position abnormality data represents the data generated and output by the main control module when the intelligent manhole cover device judges that the spatial position of the manhole cover is abnormal, the position abnormality data is the abnormal alarm information, and specifically may include specific information of the abnormal position of the manhole cover, such as the time when the position abnormality occurs, the type of the position abnormality, the degree of the position abnormality, etc.

[0028] It should be noted that the spatial displacement data can reflect the actual position changes of the manhole cover, and can provide data support for the subsequent main control module to determine whether the manhole cover has undergone abnormal displacement. When the main control module determines that the manhole cover has undergone abnormal displacement, the position abnormality data is sent to the management end through the NB communication module, which can ensure that the management end can receive abnormal alarm information in real time, respond to the abnormal alarm information in a timely manner, improve the safety of manhole cover management, and reduce safety hazards caused by manhole cover abnormalities.

[0029] In this embodiment, the three-axis acceleration module can quickly capture any abnormal displacement of the manhole cover and obtain high-precision spatial displacement data. The main control module can determine whether the position of the manhole cover is in an abnormal state based on the preset state judgment strategy and the received spatial displacement data, thereby reducing the occurrence of false alarms. The NB communication module has the advantages of wide coverage and low power consumption, and can ensure the stable transmission of abnormal position data. The present invention improves the real-time and accuracy of manhole cover displacement monitoring through the mutual cooperation between the three-axis acceleration module, the main control module and the NB communication module in the intelligent manhole cover device.

[0030] In some embodiments, the intelligent manhole cover device also includes a real-time clock circuit, and the real-time clock circuit is connected to the main control module.

[0031] Specifically, the real-time clock circuit may include a clock chip, which can provide an accurate time reference to ensure that the intelligent manhole cover device performs various timing tasks according to preset time intervals, such as monitoring the spatial position of the manhole cover.

[0032] The real-time clock circuit can determine a plurality of state monitoring times according to a preset acquisition cycle, so that the main control module can output state monitoring instructions to the three-axis acceleration module according to each state monitoring time.

[0033] Among them, the preset acquisition cycle is a pre-set time interval for regularly triggering status monitoring, such as every 20 minutes, 1 hour or other specified time intervals; the status monitoring time is a specific time point generated by the real-time clock circuit according to the preset acquisition cycle, such as 8:00, 9:20, 19:00, etc.

[0034] Specifically, the real-time clock circuit triggers a timing event according to a set time interval (such as every hour, every day, etc.), and sends a signal to the main control module at a preset time point to instruct it to perform a corresponding task (such as status monitoring).

[0035] For example, assuming that the preset acquisition cycle is once per hour, the real-time clock circuit will generate a time signal at every hour (such as 8:00, 9:00, 10:00, 11:00). When the hour arrives, the main control module will receive the time signal and immediately output a status monitoring instruction to the three-axis acceleration module. The three-axis acceleration module will then start working and determine whether its spatial position has changed by measuring the acceleration changes of the manhole cover in three different directions.

[0036] It should be noted that the preset acquisition cycle defines the frequency with which the intelligent manhole cover device monitors the spatial position of the manhole cover, which can be adjusted according to actual conditions. The real-time clock circuit determines multiple status monitoring times according to the preset acquisition cycle. The main control module outputs status monitoring instructions to the three-axis acceleration module according to each status monitoring time, which can ensure that the three-axis acceleration module starts monitoring activities at a predetermined time point and can obtain the latest manhole cover status data.

[0037] In some embodiments, the three-axis acceleration module includes a LIS2DW12 motion sensor, and the LIS2DW12 motion sensor is connected to the main control module.

[0038] The LIS2DW12 motion sensor is a high-performance 3D digital accelerometer with low power consumption, high resolution and multiple intelligent functions. It has a digital I²C / SPI serial port standard output, so that the LIS2DW12 motion sensor can communicate data with the main control module.

[0039] Specifically, the LIS2DW12 motion sensor uses a small plastic flat grid array package, which allows it to operate normally over a wider temperature range (-40°C to +85°C). It is small in size and light in weight, making it easy to integrate into various devices. It also has intelligent sleep-to-wake-up (activity) and return-to-sleep (inactivity) functions, with advanced power saving capabilities.

[0040] The LIS2DW12 motion sensor can respond to status monitoring instructions, monitor the spatial position of the manhole cover, obtain the spatial monitoring position, compare the spatial monitoring position with the preset spatial position, obtain the spatial displacement data, and send the spatial displacement data to the main control module.

[0041] Among them, the spatial monitoring position represents the three-dimensional coordinate position of the manhole cover measured by the LIS2DW12 motion sensor at a specific time point, that is, the specific position of the manhole cover in space, usually including the coordinate values ​​on the three axes of X, Y, and Z; the preset spatial position represents the standard position of the manhole cover in a normal state, which can be used as a reference position for comparison, that is, the normal position data of the manhole cover when it is not moved or tilted; the spatial displacement data is the result of comparing the current spatial monitoring position and the preset spatial position, describing the difference between the two.

[0042] Specifically, by comparing the spatial monitoring position with the preset spatial position, it is possible to determine whether the manhole cover is moved or tilted, thereby judging whether there are potential safety hazards; the spatial displacement data reflects the actual movement of the manhole cover, including the direction and distance of movement, and is an important basis for judging the status of the manhole cover.

[0043] It should be noted that the power consumption of the LIS2DW12 motion sensor is 90 µA in high-resolution mode and less than 1 µA in low-power mode, that is, the LIS2DW12 motion sensor can maintain high energy efficiency in different working modes. The LIS2DW12 motion sensor has ultra-low noise performance and always has low power consumption characteristics. In addition, combined with high sensing accuracy, the LIS2DW12 motion sensor can accurately detect tiny motion changes and provide optimal displacement monitoring. The LIS2DW12 motion sensor also has a built-in 32-level first-in-first-out (FIFO) buffer that can temporarily store data, reduce the processing burden of the main control module, and improve data processing efficiency. In addition, the LIS2DW12 motion sensor supports free fall detection, 6D direction detection, single and double-click detection, activity / inactivity detection, wake-up events and other functions, so that the LIS2DW12 motion sensor can automatically generate interrupt signals in different states and promptly notify the main control module for processing.

[0044] In some embodiments, the main control module includes an msp430 main control chip, and the msp430 main control chip is respectively connected to the LIS2DW12 motion sensor, the NB communication module and the real-time clock circuit.

[0045] Among them, the msp430 main control chip is the core processing unit of the intelligent manhole cover device, which is responsible for receiving, processing and transmitting data from various parts. The chip has efficient processing capabilities and low power consumption characteristics, and is suitable for use in intelligent monitoring systems.

[0046] The msp430 main control chip can receive multiple state monitoring times sent by the real-time clock circuit, and output state monitoring instructions to the LIS2DW12 motion sensor according to each state monitoring time, so that the LIS2DW12 motion sensor responds to each state monitoring instruction, monitors the spatial position of the manhole cover, and obtains spatial displacement data; The msp430 main control chip can also receive spatial displacement data, call the preset state judgment strategy based on the spatial displacement data, and judge whether the position state of the manhole cover is abnormal according to the preset state judgment strategy. When the position state is abnormal, the position abnormality data is output to the NB communication module.

[0047] Among them, the preset state judgment strategy can be stored in the FLASH memory, and the msp430 main control chip needs to call it from the FLASH memory when judging whether the position state of the manhole cover is an abnormal state according to the spatial displacement data.

[0048] For example: The preset state judgment strategy stipulates that if the displacement of the manhole cover in the Z-axis direction exceeds a certain threshold (such as 4 cm), the manhole cover is considered to be opened or closed, and its position state is abnormal. At a certain moment, the LIS2DW12 motion sensor measures that the manhole cover has moved 6 cm in the Z-axis direction. After the msp430 main control chip receives this displacement data, it compares it with the threshold in the preset state judgment strategy. Since 6 cm exceeds the preset 4 cm threshold, the msp430 main control chip determines that the position state of the manhole cover is abnormal.

[0049] In some other embodiments, the position status of the manhole cover can be determined by combining displacement data in two or three directions. According to the actual application scenario and needs, you can choose to focus on displacement data in different directions or combinations, and formulate corresponding preset status judgment strategies. The present invention is not limited to this.

[0050] Example: Assume that the preset state judgment strategy only focuses on the displacement of the X-axis and Z-axis, and stipulates that if the displacement in the Z-axis direction exceeds 5 cm and / or the displacement in the X-axis direction exceeds 8 cm, it is judged that the manhole cover may be hit by a vehicle and its position state is abnormal. The LIS2DW12 motion sensor detects that there is no significant change in the Z-axis displacement, the X-axis displacement is 10 cm (instantaneous), and the Y-axis displacement has no significant change. According to the preset state judgment strategy, although the Z-axis displacement has no significant change, the X-axis displacement exceeds 8 cm, which may be an instantaneous displacement caused by a rapid impact by a vehicle. Therefore, the msp430 main control chip judges that the manhole cover position state is abnormal and outputs the position abnormality data.

[0051] It should be noted that the msp430 main control chip enters low power mode to reduce energy consumption while waiting for an event to be triggered. When the LIS2DW12 motion sensor detects the movement of the manhole cover, generates an interrupt signal and notifies the msp430 main control chip, the msp430 main control chip wakes up from low power mode, processes the interrupt event, reads the spatial displacement data sent by the LIS2DW12 motion sensor, analyzes the spatial displacement data according to the preset state judgment strategy, and determines whether the position state of the manhole cover is in an abnormal state. If an abnormal state is detected, the msp430 main control chip sends an alarm message to the management end through the NB communication module. After processing the interrupt event, the msp430 main control chip enters low power mode again and waits for the next event to be triggered.

[0052] In some embodiments, the NB communication module includes: a NB-IoT communication chip, the NB-IoT communication chip is connected to the msp430 main control chip, and the NB-IoT communication chip is also connected to the management end.

[0053] Among them, the NB-IoT communication chip is a chip specially designed for narrowband Internet of Things, which is used to achieve data communication of IoT devices with low power consumption, wide coverage and massive connections. It supports data transmission through cellular networks (such as LTE), has extremely low power consumption, low cost and strong coverage capabilities, and is very suitable for IoT applications that require long-term operation and long-distance data transmission.

[0054] The NB-IoT communication chip can receive location abnormality data and send the location abnormality data to the management end.

[0055] Specifically, the msp430 main control chip sends the location abnormality data to the NB-IoT communication chip through the UART, I²C or SPI interface. The NB-IoT communication chip sends the location abnormality data to the base station through the cellular network. The base station receives the location abnormality data and transmits it to the management end. The management end notifies the management personnel to handle it.

[0056] In some embodiments, the intelligent manhole cover device also includes a storage module, and the storage module is connected to the msp430 main control chip.

[0057] The storage module includes FLASH memory and FRAM memory. The FLASH memory can erase and reprogram the storage unit, and the FRAM memory can store data to ensure that the data is not lost after power failure.

[0058] The storage module can receive the status operation data sent by the msp430 main control chip, and the status operation data includes status monitoring time, spatial displacement data, position abnormality data and upgrade program data.

[0059] Among them, the upgrade program data represents a specific data packet of the program upgrade, which contains all necessary upgrade content and can update the program version of the intelligent manhole cover device, specifically updating the program of the msp430 main control chip.

[0060] It should be noted that FLASH memory is used for long-term data storage, such as equipment configuration, historical records and other data that do not change frequently. When the smart manhole cover device is started, the msp430 main control chip reads the firmware data to initialize and run. When the smart manhole cover device is upgraded, the msp430 main control chip can write the new firmware (upgrade program data) to the FLASH memory and load the new firmware after restarting; the high-speed writing and high durability of FRAM memory ensure that data can be updated frequently, and it is suitable for storing frequently changing data, such as status monitoring time, spatial displacement data, position abnormality data, etc., and data will not be lost when the device loses power.

[0061] In some embodiments, the intelligent manhole cover device also includes a reset circuit, and the reset circuit is connected to the msp430 main control chip.

[0062] The reset circuit can restore the intelligent manhole cover device to the initial state, and can be reset manually or automatically, and can specifically include a reset control chip.

[0063] Specifically, for manual reset, the administrator presses the reset button, and the reset control chip generates a low-level signal, which is transmitted to the reset pin of the msp430 main control chip, triggering the chip reset, so that the msp430 main control chip restarts, initializes each module, and restores to the initial state; for automatic reset, the reset control chip outputs a low-level signal when the voltage fluctuates or the device fails, and the signal is transmitted to the reset pin of the main control chip, triggering the chip reset, so that the msp430 main control chip restarts, initializes each module, and restores to the initial state.

[0064] It should be noted that the reset circuit restores the intelligent manhole cover device to the initial state to ensure that the device starts from a known initial state and prevents abnormal operation caused by an error state.

[0065] In some embodiments, the intelligent manhole cover device also includes a crystal oscillator circuit, which is connected to the msp430 main control chip.

[0066] Among them, the crystal oscillator circuit can provide a basic clock signal for the intelligent manhole cover device, so that various parts of the device can maintain synchronous operation, including but not limited to the crystal oscillator, oscillator, etc.

[0067] Specifically, when the device is powered on, the oscillator starts, and a stable clock signal is generated through the crystal oscillator, which is supplied to the msp430 main control chip. The msp430 main control chip uses the clock signal provided by the crystal oscillator for system timing and synchronization operations. After synchronization, the clock chip uses the clock signal to count time and determines multiple state monitoring times according to the preset acquisition cycle. When the main power supply of the intelligent manhole cover device is disconnected, the clock chip switches to the backup battery (button battery) for power supply and continues to rely on the clock signal provided by the crystal oscillator for timing. Button batteries are also called button batteries, which refer to batteries whose external dimensions are like a small button.

[0068] In some embodiments, the smart manhole cover device also includes a Bluetooth circuit and a Bluetooth wake-up circuit, and the Bluetooth circuit is connected to the msp430 main control chip and the Bluetooth wake-up circuit respectively.

[0069] Among them, the Bluetooth circuit can realize wireless data transmission between the intelligent manhole cover device and the management end, and the Bluetooth circuit includes but is not limited to a Bluetooth chip; the Bluetooth wake-up circuit may specifically include a wake-up control chip, which can wake up the Bluetooth chip when needed, so that it enters a working state to pair and communicate with the management end.

[0070] It should be noted that the Bluetooth circuit is usually in a low-power sleep state, and the Bluetooth wake-up circuit constantly monitors the wake-up signal. When an external wake-up signal is detected (such as pressing the wake-up button on the smart manhole cover device), the wake-up control chip sends a control signal to the Bluetooth chip to switch it from the sleep state to the working state and prepare to communicate with the management end. The Bluetooth circuit communicates with the msp430 main control chip, transmits the received data to the msp430 main control chip, or receives the data of the msp430 main control chip and transmits it to the management end.

[0071] In some embodiments, the intelligent manhole cover device also includes a battery voltage detection module, and the battery voltage detection module is connected to the msp430 main control chip.

[0072] Among them, the battery voltage detection module can detect the battery voltage value of the intelligent manhole cover device, and can alarm when the detected voltage value is lower than the set value or the battery is faulty, so that the management personnel can perform maintenance in time to ensure the normal operation of the intelligent manhole cover device.

[0073] Specifically, when the msp430 main control chip finds that the detection voltage value is lower than the set value or the battery is faulty, it generates an alarm message and sends the alarm message to the management end through the NB communication module. The management end receives the alarm message and notifies the management personnel through the interface prompt, so that the management personnel can replace the battery and perform other operations in time to ensure the normal operation of the smart manhole cover device.

[0074] See also Figure 2 , Figure 2 : is a flowchart of a program upgrade method provided in an embodiment of the present application, including steps S1 to S4, which are as follows: S1. In response to an upgrade notification instruction sent by a management terminal, the upgrade notification instruction is parsed to obtain attributes of a program to be upgraded, wherein the attributes of the program to be upgraded include version data.

[0075] Among them, the management end is a remote management platform for the smart manhole cover device, usually a software system or application, usually with a user interface, which is convenient for the administrator to view the status information of the manhole cover and manage the smart manhole cover device, including program upgrades for the smart manhole cover device; the upgrade notification instruction represents an instruction sent by the management end, which can trigger the upgrade process of the smart manhole cover device and notify the smart manhole cover device to prepare for program upgrade; the attributes of the program to be upgraded represent a set of specific information used to describe and identify the program to be upgraded, which can help the device identify the new version of the program, including key information about the new program version; the version data represents version information of the upgrade program, such as version number and update content.

[0076] It should be noted that the version data is the key information to distinguish the current program from the program to be upgraded, ensuring that the intelligent manhole cover device knows which version of the program to upgrade to. When the management end sends an upgrade notification instruction to the msp430 main control chip through the NB communication module or Bluetooth circuit, the msp430 main control chip can receive the upgrade notification instruction and parse the instruction content to extract the necessary upgrade information, such as the version number and update content. In some other embodiments, the version data also includes other information such as the release date of the upgrade program and compatibility information.

[0077] S2. Monitor the currently executed task in real time, obtain current operation data, call preset idle determination rules to process the current operation data, obtain task execution attributes, and determine whether the current operation state is an idle state based on the task execution attributes.

[0078] Among them, the currently executed task represents the task currently being executed by the intelligent manhole cover device; the current operation data represents the data reflecting the execution status of the current task based on real-time monitoring; the preset idle judgment rule represents the rule used to determine whether the current operating state is an idle state; the task execution attribute reflects the importance of the task; the current operating state represents the current working state of the intelligent manhole cover device, which can be an execution state or an idle state; the idle state indicates that there are currently no important tasks to be processed and the program can be upgraded.

[0079] Specifically, by continuously monitoring the task currently being performed by the intelligent manhole cover device, current operating data can be obtained, making it easier to understand the task execution status in real time.

[0080] It should be noted that the current task execution status can provide a basis for determining the idle state. By calling the preset idle determination rules, the priority and urgency of the current task can be effectively determined to avoid upgrading during the execution of critical tasks.

[0081] In some embodiments, step S2 (monitoring the currently executed task in real time, obtaining the current running data, calling the preset idle determination rule to process the current running data, obtaining the task execution attribute, and determining whether the current running state is an idle state based on the task execution attribute) specifically includes steps S20-S23: S20: Monitor the currently executed task in real time, obtain a task execution table, and generate current operation data based on the task execution table.

[0082] The task execution table refers to a table that records all tasks currently executed by the intelligent manhole cover device and related information.

[0083] S21. Calling a preset idle determination rule to identify the current running data, obtaining multiple task types, and obtaining task execution attributes of each task type based on a preset task attribute table, wherein the task execution attributes include key tasks and auxiliary tasks.

[0084] Among them, the task type represents the classification of tasks in the task execution table; the preset task attribute table is a table that records different task types and their execution attributes; the key task represents an important task that must be completed first and cannot be interrupted; the auxiliary task represents a task with a lower priority, which can be postponed or can be interrupted.

[0085] S22: When all the task execution attributes are the auxiliary tasks, determine that the current running state is a potential idle state, and send a state confirmation instruction to the management terminal.

[0086] Among them, the potential idle state indicates that the smart manhole cover device has confirmed that its operating state is idle, but the idle state has not yet been confirmed by the management end; the state confirmation instruction indicates the instruction sent to the management end when the smart manhole cover device determines that it is in a potential idle state, which is used to confirm whether the current smart manhole cover device is in an idle state.

[0087] It should be noted that the current operating state of the smart manhole cover device can be determined as the idle state only if both the smart manhole cover device and the management end consider that the current operating state of the smart manhole cover device is the idle state.

[0088] S23. Receive a multi-dimensional confirmation signal sent by the management end based on the status confirmation instruction, identify the multi-dimensional confirmation signal, and when the multi-dimensional confirmation signal is an idle confirmation signal, determine that the current operating state is an idle state, and the multi-dimensional confirmation signal is obtained according to weather dimension data and crowd flow dimension data.

[0089] Among them, the multi-dimensional confirmation signal indicates a signal that the management end confirms whether the current operating state of the intelligent manhole cover device is in an idle state based on multi-dimensional data; the idle confirmation signal indicates a signal that the management end confirms that the current operating state of the intelligent manhole cover device is in an idle state based on multi-dimensional data; the idle state indicates that the intelligent manhole cover device currently has no critical tasks being executed and a program upgrade can be performed; the weather dimension data includes but is not limited to temperature, rainfall, wind speed and other data; the crowd dimension data indicates crowd flow, density, activity frequency and other data. For example, late at night or periods with few people may be a good time for an upgrade.

[0090] It should be noted that confirming whether it is a space state based on the pedestrian dimension data can ensure that the program is upgraded when the pedestrian flow is low to avoid affecting the surrounding environment and the crowd. Determining whether it is an idle state based on the weather dimension data can ensure that the program is upgraded under suitable weather conditions.

[0091] S3. When the current running state is an idle state, sending a program request instruction to the management end, and receiving upgrade program data sent by the management end in response to the program request instruction.

[0092] Among them, the program request instruction represents the instruction sent by the smart manhole cover device to the management end in an idle state to request to obtain upgrade program data; the upgrade program data represents the specific data packet of the program upgrade, which contains all necessary upgrade content and can update the program version of the smart manhole cover device.

[0093] Specifically, after confirming that it is in an idle state, the smart manhole cover device sends a clear request instruction, i.e., a program request instruction, to the management end, indicating that the smart manhole cover device is ready to receive the upgrade program data. After receiving the program request instruction, the management end responds and sends the upgrade program data to the smart manhole cover device, and the smart manhole cover device receives the upgrade program data sent by the management end for upgrading. When obtaining a multi-dimensional confirmation signal based on weather dimension data and human flow dimension data, weight values ​​can be pre-set for weather dimension data and human flow dimension data, which can be adjusted according to actual conditions, and the present invention does not impose specific restrictions on this.

[0094] It should be noted that after receiving the idle confirmation signal, the main control module sends a program request instruction to the management end through the NB communication module or the Bluetooth circuit. The management end responds to the program request instruction and sends the upgrade program data to the main control module through the NB communication module or the Bluetooth circuit. The main control module writes the upgrade program data into the FLASH memory for temporary storage and calls it when needed.

[0095] S4. Calling a preset number comparison table based on the version data, determining whether the upgrade program data is complete according to the preset number comparison table, and when the upgrade program data is complete, performing a program upgrade based on the upgrade program data to obtain an updated program.

[0096] Among them, the preset number comparison table represents a comparison table that records each sub-upgrade program data and the corresponding number, defines all the parts that the upgrade program data should include, and each part has a unique number, which can be used to verify whether the received upgrade program data is complete; executing program upgrade represents the process of updating the program based on the complete upgrade program data; the update program represents the new program version after the upgrade.

[0097] It should be noted that complete verification of the upgrade program data can ensure that the upgrade program data is complete, that is, the numbering sequence and continuity of all sub-upgrade program data are correct and can be executed correctly, thereby avoiding upgrade failure or system failure.

[0098] In some embodiments, step S4 (calling a preset number comparison table based on the version data, and determining whether the upgrade program data is complete according to the preset number comparison table) specifically includes steps S40-S42: S40: calling a preset number comparison table corresponding to the upgrade program data based on the version data, wherein the preset number comparison table includes each sub-upgrade program data and a corresponding preset number.

[0099] The entire upgrade program data is divided into a plurality of independent data blocks in advance, each independent data block is a sub-upgrade program data, including part of the upgrade content; the preset number represents the predefined number corresponding to each independent data block.

[0100] It should be noted that calling the preset number comparison table to verify the integrity of the upgrade program data can ensure that the sequence and content of the upgrade program data are consistent with expectations.

[0101] S41, identifying the received upgrade program data, obtaining each sub-upgrade program data and the corresponding actual number, comparing the actual number corresponding to each sub-upgrade program data with the preset number one by one, and obtaining the number comparison result, wherein the number comparison result includes a sequential comparison result and a continuous comparison result.

[0102] Among them, the actual number represents the number actually attached to each sub-upgrade program data during the receiving process, which is used for comparison with the preset number; the number comparison result represents the overall result after comparing the preset number and the actual number of each sub-upgrade program data; the sequence comparison result represents whether the actual numbers of the received sub-upgrade program data are arranged in accordance with the preset number sequence; the continuous comparison result represents whether the actual numbers of the received sub-upgrade program data are continuous and whether they match the continuity of the preset numbers. If the actual numbers are continuous but do not match the continuity of the preset numbers, it indicates that the data block is missing and the continuous comparison result is also discontinuous.

[0103] S42: When the sequential comparison results are consistent and the continuous comparison results are continuous, it is determined that the upgrade program data is complete.

[0104] It should be noted that a consistent sequential comparison result indicates that the data order is correct, and a continuous comparison result indicates that there is no missing data. The upgrade program data can only be determined to be complete when the sequential comparison results are consistent and the continuous comparison results are continuous. The following example is used to illustrate this.

[0105] For example, a certain upgrade program data is pre-divided into three independent data blocks, that is, the upgrade program data includes three sub-upgrade program data, which are respectively assigned preset numbers 1, 2, and 3 according to the execution order of each sub-upgrade program data during the upgrade process.

[0106] When the actual number corresponding to the first sub-upgrade program data actually received is 1, the actual number corresponding to the second sub-upgrade program data is 2, and the actual number corresponding to the third sub-upgrade program data is 3, the actual numbers are compared with the preset numbers one by one. In the sequential comparison results, the actual numbers 1, 2, 3 are consistent with the preset numbers 1, 2, 3, and in the continuous comparison results, the actual numbers 1, 2, 3 are continuous and match the continuity of the preset numbers 1, 2, 3. It is confirmed that all sub-upgrade program data are received in the correct order and continuity, the received upgrade program data is complete, the number comparison results are the same, and the program upgrade can be performed.

[0107] When the actual number corresponding to the first sub-upgrade program data actually received is 1, and the actual number corresponding to the second sub-upgrade program data is 3, the actual numbers are compared with the preset numbers one by one. In the sequential comparison results, the actual numbers 1 and 3 are inconsistent with the preset numbers 1, 2, and 3. In the continuous comparison results, the actual numbers 1 and 3 are not continuous and do not match the continuity of the preset numbers 1, 2, and 3 (missing data blocks). Therefore, the sequential comparison results are inconsistent and the continuous comparison results are not continuous. It is determined that the upgrade program data is incomplete and the program upgrade cannot be performed.

[0108] In this embodiment, the provided program upgrade method is applied to the intelligent manhole cover device, including responding to the upgrade notification instruction sent by the management end, parsing the upgrade notification instruction, obtaining the attributes of the program to be upgraded, the attributes of the program to be upgraded include version data, real-time monitoring of the currently executed task, obtaining the current running data, calling the preset idle judgment rule to process the current running data, obtaining the task execution attribute, judging whether the current running state is an idle state based on the task execution attribute, and when the current running state is an idle state, sending a program request instruction to the management end, receiving the upgrade program data sent by the management end in response to the program request instruction, calling the preset number comparison table based on the version data, judging whether the upgrade program data is complete according to the preset number comparison table, and when the upgrade program data is complete, executing the program upgrade based on the upgrade program data to obtain the updated program. The present invention realizes the remote program upgrade function of the intelligent manhole cover device in the above manner, and effectively reduces the maintenance cost after the manhole cover is installed.

[0109] Through the description of the above embodiments, it can be clearly understood by those skilled in the art that each embodiment can be implemented by means of software plus a general hardware platform, or by hardware. It can be understood by those skilled in the art that all or part of the processes in the above embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0110] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may also be combined, the steps may be implemented in any order, and there are many other changes in different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. An intelligent manhole cover device, characterized in that: The intelligent manhole cover device comprises: Three-axis acceleration module, main control module and NB communication module; The main control module is connected to the three-axis acceleration module and the NB communication module respectively, and the NB communication module is also connected to the management end for communication; The three-axis acceleration module is used to respond to the status monitoring instruction, monitor the spatial position of the manhole cover, obtain spatial displacement data, and send the spatial displacement data to the main control module; The main control module is used to receive the spatial displacement data, call a preset state judgment strategy based on the spatial displacement data, judge whether the position state of the manhole cover is an abnormal state according to the preset state judgment strategy, and output the position abnormality data to the NB communication module when the position state is an abnormal state; The NB communication module is used to receive the location abnormality data and send the location abnormality data to the management end.

2. The intelligent manhole cover device according to claim 1, characterized in that: The intelligent manhole cover device also includes a real-time clock circuit; The real-time clock circuit is connected to the main control module; The real-time clock circuit is used to determine a plurality of state monitoring times according to a preset acquisition cycle, so that the main control module outputs state monitoring instructions to the three-axis acceleration module according to each state monitoring time.

3. The intelligent manhole cover device according to claim 2, characterized in that: The three-axis acceleration module includes: LIS2DW12 motion sensor; The LIS2DW12 motion sensor is connected to the main control module; The LIS2DW12 motion sensor is used to respond to status monitoring instructions, monitor the spatial position of the manhole cover, obtain the spatial monitoring position, compare the spatial monitoring position with the preset spatial position, obtain spatial displacement data, and send the spatial displacement data to the main control module.

4. The intelligent manhole cover device according to claim 3, characterized in that: The main control module includes: msp430 main control chip; The msp430 main control chip is respectively connected to the LIS2DW12 motion sensor, the NB communication module and the real-time clock circuit; The msp430 main control chip is used to receive multiple state monitoring times sent by the real-time clock circuit, and output state monitoring instructions to the LIS2DW12 motion sensor according to each state monitoring time, so that the LIS2DW12 motion sensor responds to each state monitoring instruction, monitors the spatial position of the manhole cover, and obtains spatial displacement data; The msp430 main control chip is also used to receive the spatial displacement data, call a preset state judgment strategy based on the spatial displacement data, judge whether the position state of the manhole cover is an abnormal state according to the preset state judgment strategy, and output the position abnormality data to the NB communication module when the position state is an abnormal state.

5. The intelligent manhole cover device according to claim 4, characterized in that: The NB communication module includes: an NB-IoT communication chip; The NB-IoT communication chip is connected to the msp430 main control chip, and the NB-IoT communication chip is also connected to the management terminal for communication; The NB-IoT communication chip is used to receive the location abnormality data and send the location abnormality data to the management end.

6. The intelligent manhole cover device according to claim 1, characterized in that: The intelligent manhole cover device further includes: a storage module; The storage module is connected to the msp430 main control chip; The storage module is used to receive the status operation data sent by the msp430 main control chip, and the status operation data includes the status monitoring time, the spatial displacement data, the position abnormality data and the upgrade program data.

7. A program upgrade method, applied to an intelligent manhole cover device, characterized in that: The program upgrade method comprises: In response to the upgrade notification instruction sent by the management end, the upgrade notification instruction is parsed to obtain the attributes of the program to be upgraded, wherein the attributes of the program to be upgraded include version data; Perform real-time monitoring on the currently executed task, obtain current running data, call preset idle determination rules to process the current running data, obtain task execution attributes, and determine whether the current running state is an idle state based on the task execution attributes; When the current running state is an idle state, sending a program request instruction to the management end, and receiving upgrade program data sent by the management end in response to the program request instruction; A preset number comparison table is called based on the version data, and whether the upgrade program data is complete is determined according to the preset number comparison table. When the upgrade program data is complete, a program upgrade is performed based on the upgrade program data to obtain an updated program.

8. The program upgrade method according to claim 7, characterized in that: The real-time monitoring of the currently executed task, obtaining the current running data, calling the preset idle determination rule to process the current running data, obtaining the task execution attribute, and judging whether the current running state is an idle state based on the task execution attribute include: Perform real-time monitoring on the currently executed tasks, obtain the task execution table, and generate current operation data based on the task execution table; Calling a preset idle determination rule to identify the current running data, obtaining multiple task types, and obtaining task execution attributes of each task type based on a preset task attribute table, wherein the task execution attributes include key tasks and auxiliary tasks; When all the task execution attributes are the auxiliary tasks, determining that the current running state is a potential idle state, and sending a state confirmation instruction to the management terminal; Receive the multi-dimensional confirmation signal sent by the management end based on the status confirmation instruction, identify the multi-dimensional confirmation signal, and when the multi-dimensional confirmation signal is an idle confirmation signal, judge that the current operating state is an idle state, and the multi-dimensional confirmation signal is obtained based on weather dimension data and crowd flow dimension data.

9. The program upgrade method according to claim 8, characterized in that: The calling of a preset number comparison table based on the version data and judging whether the upgrade program data is complete according to the preset number comparison table include: Based on the version data, calling a preset number comparison table corresponding to the upgrade program data, the preset number comparison table including each sub-upgrade program data and the corresponding preset number; Identify the received upgrade program data, obtain each sub-upgrade program data and the corresponding actual number, compare the actual number corresponding to each sub-upgrade program data with the preset number one by one, and obtain the number comparison result, wherein the number comparison result includes a sequential comparison result and a continuous comparison result; When the sequential comparison results are consistent and the continuous comparison results are continuous, it is determined that the upgrade program data is complete.

10. The program upgrade method according to claim 9, characterized in that: The program upgrade method also includes: Calling a historical update schedule based on the attribute to be upgraded, and obtaining the latest upgrade time according to the historical update schedule; Obtain the time difference between the latest upgrade time and the current time, and use the time difference as the upgrade time interval; Determine whether the latest upgrade time exceeds a preset time threshold, and when the latest upgrade time exceeds the preset time threshold, send a program request instruction to the management end, and receive upgrade program data sent by the management end in response to the program request instruction.