Safe anti-theft warning system, method and equipment based on Internet of Things
By monitoring and evaluating network connection quality and environmental risks in real time in the smart safe, automatically switching networks and caching data, the problem of data loss caused by network instability is solved, the security and stability of the safe are improved, and data security is ensured. Completeness and timeliness.
Patent Information
- Application Number
- CN202411082123.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-08-08
AI Technical Summary
Existing smart safes can easily cause data loss when the network connection is unstable or during system maintenance.
By introducing the communication module, network connection quality assessment module, loss of connection risk assessment module and comprehensive network assessment module into the safe, real-time monitoring and assessment of network connection quality and environmental risks can automatically switch network connections, cache data and synchronize when the network is restored. sent to ensure data integrity and security.
It realizes automatic switching and data synchronization when the network is poor, improves the safety and stability of the safe, reduces information loss and security risks, and ensures continuous online and responsiveness.
Smart Images

Figure CN118632311B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of alarm devices, and in particular to an Internet of Things-based safe anti-theft warning system, method and equipment. Background Art
[0002] With the rapid development of informatization and networking, the Internet of Things refers to a system that connects physical devices, vehicles, etc. through the network to achieve intelligent interaction. The anti-theft method of traditional safes mainly relies on solid physical structure and basic locking mechanism to protect the valuables stored therein.
[0003] Existing IoT-based safe anti-theft warning systems are manufactured using heavy steel or other corrosion-resistant materials. The most common anti-theft safe locks include key locks, combination locks, and double locking systems.
[0004] For example, the announcement number is: CN102930677B invention patent announcement of an electric power substation anti-theft warning system, including: an alarm device, a communication network and an electric power substation master station; the alarm device is used to detect whether there is an intruder within a preset range of the power line, and if so, an alarm message is generated and sent to the communication network; the communication network is used to receive the alarm message, send the alarm message to the electric power substation master station, and send the alarm message to the designated mobile terminal according to the preset rules; the electric power substation master station is used to receive the alarm message and send the alarm message to the designated client terminal. The electric power substation anti-theft warning system provided by the embodiment of the present application can determine whether there is an intruder within a preset range of the power line, and if so, an alarm message is generated, and the alarm message is sent to the electric power substation master station and the designated mobile terminal through the communication network, which can effectively monitor and warn when an intruder approaches the power line.
[0005] For example, a cable anti-theft warning system announced by the invention patent with announcement number: CN105894704B includes: a master device and a slave device; the master device includes a master processor module, a GPRS remote communication module, a high-frequency carrier transceiver module I, an audio carrier sending module, a CT power supply module I and an electric field measurement module I respectively connected to the main processor module; the slave device includes a slave processor module, a high-frequency carrier transceiver module II, an audio carrier receiving module, a CT power supply module II and an electric field measurement module II respectively connected to the slave processor module; the high-frequency carrier transceiver module I and the high-frequency carrier transceiver module II are respectively connected to the two ends of the inner conductor of the cable; the audio carrier sending module and the audio carrier receiving module are respectively connected to the two ends of the cable shielding layer; the CT power supply module I and the CT power supply module II are respectively connected to the two ends of the inner conductor of the cable.
[0006] However, in the process of implementing the technical solution of the invention in the embodiments of the present application, the present application found that the above technology has at least the following technical problems:
[0007] In the prior art, many functions of smart safes rely on stable network connections. If the network connection is unstable or interrupted, or the safe needs to be temporarily offline during system maintenance or software updates, the safe data will be lost, resulting in the problem of missing safe offline information. Summary of the invention
[0008] The embodiments of the present application solve the problem of missing safe offline information in the prior art by providing a safe anti-theft warning system, method and device based on the Internet of Things, and realize the synchronization of safe offline information.
[0009] The embodiment of the present application provides a safe anti-theft warning system, method and device based on the Internet of Things, including: a communication module, a network connection quality assessment module, a loss of connection risk assessment module, a comprehensive network assessment module and a loss of connection judgment module; the communication module is used to establish a communication connection with a user end, and transmit the network performance data, loss of connection risk data and environmental risk data of the safe to the user end in real time; the network connection quality assessment module is used to calculate the network connection quality assessment value within a first preset time period through the network performance data obtained by the communication module, and switch the network connection according to the network connection quality assessment value; the loss of connection risk assessment module is used to calculate the loss of connection risk assessment value within a second preset time period through the environmental risk data obtained by the communication module, and issue an early warning according to the loss of connection risk assessment value; the comprehensive network assessment module is used to perform a comprehensive network assessment through the network connection quality assessment value and the loss of connection risk assessment value, and perform network initialization according to the comprehensive network assessment value; the loss of connection judgment module is used to determine that the safe is lost if the network connection quality assessment values of the preset network connection modes in the network connection quality assessment module are all lower than the network connection quality assessment value threshold, and process the data during the period when the safe is lost.
[0010] Furthermore, the specific steps of the network connection quality assessment module are: obtaining the network speed, bandwidth, delay, packet loss rate, delay jitter, throughput, and channel utilization of a preset network connection mode within a first preset time period; the preset network connection modes include: WiFi connection, LTE connection, 5G connection, LoRaWAN connection, and wired Ethernet connection; obtaining a network connection quality assessment value based on the obtained network speed, bandwidth, delay, packet loss rate, delay jitter, throughput, and channel utilization of the preset network connection mode within the first preset time; sorting from large to small according to the network connection quality assessment value, and if the network connection quality assessment value of the currently connected network is less than the network connection quality assessment value threshold, switching the corresponding network connection in descending order according to the network connection quality assessment value.
[0011] Furthermore, the calculation formula of the network connection quality evaluation value is:
[0012] ;
[0013] In the formula, represents a network connection quality evaluation value of a preset network n within a first preset time period, which is used to analyze the network connection quality; t represents a time number of a moment within the first preset time period; , T represents the preset duration in the first preset time period, represents the network speed of the preset network n in the first preset time period, where n represents the network type number, , represents the bandwidth at the nth moment in the first preset time period, represents the delay of the preset network n in the first preset time period, represents the minimum delay of the preset network n within the first preset time period, represents the packet loss rate of the preset network n in the first preset time period, represents the delay jitter of the preset network n in the first preset time period, represents the minimum delay jitter of the preset network n within the first preset time period, represents the throughput of the preset network n in the first preset time period, represents the channel utilization rate of the preset network n in the first preset time period, , , , , , , They respectively represent the influence weights of the network speed, bandwidth, delay, packet loss rate, delay jitter, throughput, and channel utilization of the preset network n within the first preset time period.
[0014] Furthermore, the environmental risk data obtained through the communication module calculates the loss risk assessment value within the second preset time period, and the specific analysis steps for issuing an early warning based on the loss risk assessment value are: respectively obtaining the signal strength, delay, packet loss rate, and number of network disconnections of the preset network connection mode within the second preset time period; analyzing the signal strength, delay, packet loss rate, and number of network disconnections of the preset network connection mode within the second preset time period to obtain a loss risk assessment value; obtaining a loss risk assessment value threshold; comparing the loss risk assessment value with the loss risk assessment value threshold, and if the loss risk assessment value is above the loss risk assessment value threshold, issuing an early warning message to the user end.
[0015] Furthermore, the specific steps of the comprehensive network evaluation module are: obtaining a network connection quality evaluation value of a preset network connection mode, a maximum network connection quality evaluation value in the preset network connection mode, a loss risk assessment value, and a minimum loss risk assessment value in the preset network connection mode; performing a comprehensive analysis based on the obtained network connection quality evaluation value of the preset network connection mode, the maximum network connection quality evaluation value in the preset network connection mode, the loss risk assessment value, and the minimum loss risk assessment value in the preset network connection mode to obtain a comprehensive network evaluation value; and initializing the network connection according to the comprehensive network evaluation value.
[0016] Furthermore, the specific steps of the loss of connection judgment module include: if the network connection quality evaluation values of the preset network connection modes in the network connection quality evaluation module are all lower than the network connection quality evaluation value threshold, then a cyclic network connection is performed; if the network is still in a lost state after multiple cycles of network connection, it is determined to be lost; the temperature of the surface of the safe, the humidity inside the safe, the vibration intensity during the loss of connection, the face recognition results, and the body recognition results are obtained; the environmental risk assessment value is calculated based on the obtained temperature of the surface of the safe, the humidity inside the safe, the vibration intensity during the loss of connection, the face recognition results, and the body recognition results; according to the environmental risk assessment value, the data of the safe during the loss of connection is processed, and the processed data is sent to the client after the network is connected.
[0017] Furthermore, the Internet of Things-based safe anti-theft warning method is characterized in that: the specific processing process of processing the data during the period when the safe is out of contact according to the environmental risk assessment value is as follows: if the safe cannot establish communication with the user end, then the network connection quality assessment value within the first preset time period is ordered from large to small, and a connection attempt is made cyclically, and the warning mode is entered at the same time, the data during the loss of connection and the environmental data are cached, and the environmental risk assessment value is calculated. After the connection is established, the environmental risk assessment value is sorted in order from large to small, and the cached information of the corresponding time point is sent one by one in the sorted order; if the environmental risk assessment value calculated during the network disconnection process is higher than the environmental risk assessment value threshold, a warning is issued, and when the network returns to normal, a strong reminder is issued.
[0018] Furthermore, the calculation formula of the environmental risk assessment value is:
[0019] ;
[0020] In the formula, represents the environmental risk assessment value, which is used to evaluate the environmental safety value. e represents the base of the natural logarithm. Indicates the temperature of the safe surface. Indicates normal ambient temperature, Indicates the maximum temperature of the safe surface. Indicates the humidity inside the safe Indicates normal air humidity. Indicates the maximum humidity inside the safe. Indicates the vibration intensity during the loss of contact. Indicates the maximum vibration intensity during the loss of contact. Represents the face recognition result, represents the body shape recognition result, Indicates the weight of face similarity. Indicates the influence weight of body shape similarity, Indicates the weight coefficient of the temperature on the surface of the safe in the comprehensive environmental parameters, Represents the weight coefficient of the humidity inside the safe in the comprehensive environmental parameters, , , They respectively represent the influence weight of comprehensive environmental parameters, the influence weight of vibration intensity, and the influence weight of comprehensive similarity results.
[0021] Furthermore, the Internet of Things-based safe anti-theft warning method is characterized in that it includes the following steps: establishing a communication connection with the user end, and transmitting the network performance data, loss risk data and environmental risk data of the safe to the user end in real time; calculating the network connection quality evaluation value through the data obtained by the communication module, and switching the network connection according to the network connection quality evaluation value; calculating the loss risk assessment value within a second preset time period through the environmental risk data obtained by the communication module, and issuing an early warning based on the loss risk assessment value; performing a comprehensive network evaluation based on the network connection quality evaluation value and the loss risk assessment value, and initializing the network based on the comprehensive network evaluation value; if the network connection quality evaluation values of the preset network connection modes in the network connection quality evaluation module are all lower than the network connection quality evaluation value threshold, it is determined to be lost, and the data of the safe during the period of loss of connection is processed.
[0022] An embodiment of the present application provides an electronic device, comprising: a processor, and a memory for storing instructions executable by the processor; when the processor is configured to execute the instructions, the electronic device implements a safe anti-theft warning system based on the Internet of Things.
[0023] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0024] 1. Through the network connection quality assessment module, the best network connection is automatically selected according to the network connection quality assessment value, so that it can automatically switch to another more stable network when the network condition is poor, thereby achieving the continuous online and responsiveness of the device, improving the security and stability of the safe, and effectively solving the problem of missing safe offline information in the prior art.
[0025] 2. Through the loss of connection risk assessment module, the loss of connection risk assessment value of the preset network connection mode within the second preset time period is evaluated, so as to automatically trigger an early warning when a potential loss of connection risk is detected, thereby realizing an early warning mechanism to ensure that potential network loss problems are handled in a timely manner and reduce information loss and safety hazards.
[0026] 3. Through the comprehensive network evaluation module, the evaluation parameters of the preset network connection method are obtained, and the comprehensive network evaluation value is obtained through comprehensive analysis, so that the network connection is initialized and optimized according to the comprehensive network evaluation value, thereby realizing the initialization of the optimal network connection, improving the stability of the network connection and the overall security of the safe. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A schematic diagram of the structure of a safe anti-theft warning system based on the Internet of Things provided in an embodiment of the present application;
[0028] Figure 2 A network connection quality evaluation value data table provided in an embodiment of the present application;
[0029] Figure 3 A flowchart of a safe anti-theft warning method based on the Internet of Things provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] The embodiments of the present application solve the problem of missing safe offline information in the prior art by providing a safe anti-theft warning system, method and device based on the Internet of Things, and automatically select the best network connection through the network connection quality evaluation value, thereby realizing the synchronization of safe offline information.
[0031] The technical solution in the embodiment of the present application is to solve the problem of missing offline information of the above-mentioned safe. The overall idea is as follows: by establishing a communication connection with the user end, the network performance data, loss risk data and environmental risk data of the safe are transmitted to the user end in real time; the network connection quality evaluation value is calculated through the data obtained by the communication module, and the network connection is switched according to the network connection quality evaluation value; the loss risk evaluation value within the second preset time period is calculated through the environmental risk data obtained by the communication module, and an early warning is issued according to the loss risk evaluation value; a comprehensive network evaluation is performed through the network connection quality evaluation value and the loss risk evaluation value, and the network is initialized according to the comprehensive network evaluation value; if the network connection quality evaluation value of the preset network connection mode in the network connection quality evaluation module is lower than the network connection quality evaluation value threshold, it is determined to be lost, and the data during the period when the safe is lost is processed. The offline information synchronization of the safe is achieved.
[0032] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0033] like Figure 1 As shown, it is a structural schematic diagram of the safe anti-theft warning system based on the Internet of Things provided by the embodiment of the present application. The safe anti-theft warning system based on the Internet of Things provided by the embodiment of the present application includes: a communication module, a network connection quality evaluation module, a loss of connection risk evaluation module, a comprehensive network evaluation module, and a loss of connection judgment module; the communication module is used to establish a communication connection with the user end, and transmit the network performance data, loss of connection risk data and environmental risk data of the safe to the user end in real time; the network connection quality evaluation module is used to calculate the network connection quality evaluation value within the first preset time period through the network performance data obtained by the communication module, and switch the network connection according to the network connection quality evaluation value; the loss of connection risk evaluation module is used to calculate the loss of connection risk evaluation value within the second preset time period through the environmental risk data obtained by the communication module, and issue an early warning according to the loss of connection risk evaluation value; the comprehensive network evaluation module is used to perform a comprehensive network evaluation through the network connection quality evaluation value and the loss of connection risk evaluation value, and initialize the network according to the comprehensive network evaluation value; the loss of connection judgment module is used to determine that it is lost if the network connection quality evaluation values of the preset network connection modes in the network connection quality evaluation module are all lower than the network connection quality evaluation value threshold, and process the data during the period when the safe is lost.
[0034] In this embodiment, the communication module is used to establish a communication connection with the user end, and transmit the network performance data, loss risk data and environmental risk data of the safe to the user end in real time. The network performance data of the safe includes: the network speed, bandwidth, delay, packet loss rate, delay jitter, throughput, and channel utilization rate at each moment in the first preset time period. The loss risk data includes: the signal strength, delay, packet loss rate, and number of network disconnections at each moment in the second preset time period. The environmental risk data includes: the temperature of the surface of the safe, the normal ambient temperature, the humidity inside the safe, the normal air humidity, the vibration intensity during the loss of connection, the face recognition result, and the body recognition result. This module ensures that the user can monitor the status of the safe at any time, timely understand the operation and potential risks of the safe, and improve the safety and management efficiency of the safe. The network connection quality evaluation module is used to calculate the network connection quality evaluation value within the first preset time period through the network performance data obtained by the communication module, and switch the network connection according to the network connection quality evaluation value. Through this module, the system can automatically select the best network connection and quickly switch to a better network when the network quality decreases, thereby ensuring the stability and reliability of data transmission and reducing the risk of communication interruption. Disconnection risk assessment module: used to calculate the connection loss risk assessment value within the second preset time period through the environmental risk data obtained by the communication module, and to issue an early warning based on the connection loss risk assessment value. This module evaluates the network connection loss risk in real time, and triggers the early warning mechanism in time when potential risks are detected, so as to prevent the potential safety hazards caused by network connection loss and ensure that users can take countermeasures in the first time. Comprehensive network assessment module: used to conduct a comprehensive network assessment through the network connection quality assessment value and the connection loss risk assessment value, and initialize the network according to the comprehensive network assessment value. When the system is started or the network is switched, the comprehensive network assessment module can evaluate according to the current network conditions and select the optimal network connection, so as to ensure the efficient operation and stability of the system and avoid communication problems caused by improper network selection. Disconnection judgment module: used to determine the connection loss when the network connection quality assessment values of the preset network connection methods in the network connection quality assessment module are all lower than the network connection quality assessment value threshold. This module promptly judges the connection loss status after multiple network connection attempts fail, and takes corresponding emergency measures, such as triggering an alarm, locking the safe, etc., to ensure the safety of the safe.
[0035] Furthermore, the specific steps of the network connection quality assessment module are: obtaining the network speed, bandwidth, delay, packet loss rate, delay jitter, throughput, and channel utilization of a preset network connection mode within a first preset time period; the preset network connection modes include: WiFi connection, LTE connection, 5G connection, LoRaWAN connection, and wired Ethernet connection; obtaining a network connection quality assessment value based on the obtained network speed, bandwidth, delay, packet loss rate, delay jitter, throughput, and channel utilization of the preset network connection mode within the first preset time; sorting from large to small according to the network connection quality assessment value, and if the network connection quality assessment value of the currently connected network is less than the network connection quality assessment value threshold, switching the corresponding network connection in descending order according to the network connection quality assessment value.
[0036] In this embodiment, compared with the existing technology, this process has the advantage of integrating multiple network connection methods and maintaining stable communication in various environments; by comprehensively analyzing multiple key network parameters, the comprehensiveness and accuracy of the evaluation results are ensured, the best network connection is selected, and the stability and reliability of data transmission are improved; the dynamic network switching mechanism ensures automatic switching to a better network when the current network connection quality decreases, reducing the risk of communication interruption; through the threshold judgment mechanism, it ensures timely switching of the network when the network quality is lower than the set standard, improving system stability and user experience; through real-time monitoring and evaluation of network connection quality, network failures are prevented, system reliability and security are improved, and the continuity and stability of data transmission are ensured. Through these improvements, the system can maintain efficient and stable communication in a complex and changeable network environment, improve the quality and reliability of data transmission, and effectively avoid security risks caused by network failures or unstable connections.
[0037] Furthermore, the calculation formula of the network connection quality evaluation value is:
[0038] ;
[0039] In the formula, represents a network connection quality evaluation value of a preset network n within a first preset time period, which is used to analyze the network connection quality; t represents a time number of a moment within the first preset time period; , T represents the preset duration in the first preset time period, represents the network speed of the preset network n in the first preset time period, where n represents the network type number, , represents the bandwidth at the nth moment in the first preset time period, represents the delay of the preset network n in the first preset time period, represents the minimum delay of the preset network n within the first preset time period, represents the packet loss rate of the preset network n in the first preset time period, represents the delay jitter of the preset network n in the first preset time period, represents the minimum delay jitter of the preset network n within the first preset time period, represents the throughput of the preset network n in the first preset time period, represents the channel utilization rate of the preset network n in the first preset time period, , , , , , , They respectively represent the influence weights of the network speed, bandwidth, delay, packet loss rate, delay jitter, throughput, and channel utilization of the preset network n within the first preset time period.
[0040] In this embodiment, the first preset time period is usually 3 seconds. The cumulative delay Standardized processing to minimize delay As a baseline, ensure that the impact of latency on network quality assessment is accurately reflected; Delay jitter Standardize the process and use the minimum delay jitter As a benchmark, the relative performance of different networks in terms of latency jitter can be measured, making the evaluation results more comparable. In the evaluation of network connection quality, network speed and bandwidth are highly correlated. Bandwidth determines the maximum transmission speed of the network. The higher the bandwidth, the faster the network speed is usually. The two together affect the user experience. Latency and packet loss rate have a moderate correlation in affecting network response speed. When the latency is high, the data packet stays in the network for a longer time, which will lead to an increase in packet loss rate. Latency jitter is closely related to network stability and user experience. When the latency jitter is large, the network response time is unstable, which seriously affects the user experience. Throughput and channel utilization reflect the use and load of network resources. The two are highly correlated. High channel utilization is usually accompanied by high throughput, indicating that network resources are fully utilized.
[0041] How to obtain parameters: The network connection quality evaluation value can also be obtained through the historical database, the network speed can be measured by the network speed test tool Ookla Speedtest, the bandwidth can be measured by SolarWinds NetworkPerformance Monitor (SolarWinds Network Performance Monitor), the delay can be measured by using the ping command or a network monitoring tool such as PingPlotter (network delay monitoring tool), the packet loss rate can be measured by Wireshark (network protocol analyzer), the delay jitter can be measured by using a network performance testing tool such as Iperf, the throughput can be measured by using a network performance monitoring tool such as Iperf, and the channel utilization can be measured by a wireless network analysis tool such as Ekahau Pro.
[0042] The influence weights of network speed, bandwidth, delay, packet loss rate, delay jitter, throughput, and channel utilization can be obtained through the network database. Through the relationship between network speed, bandwidth, delay, packet loss rate, delay jitter, throughput, channel utilization and network connection quality in the historical database, a mapping set of network speed, bandwidth, delay, packet loss rate, delay jitter, throughput, channel utilization and their corresponding weights is established respectively. By inputting the real-time network speed, bandwidth, delay, packet loss rate, delay jitter, throughput, and channel utilization, the corresponding network speed influence weight, bandwidth influence weight, delay influence weight, packet loss rate influence weight, delay jitter influence weight, throughput influence weight, and channel utilization influence weight in the mapping set are obtained.
[0043] Furthermore, the environmental risk data obtained by the communication module is used to calculate the loss risk assessment value within the second preset time period, and the specific analysis steps for issuing an early warning based on the loss risk assessment value are: respectively obtaining the signal strength, delay, packet loss rate, and number of network disconnections of the preset network connection mode within the second preset time period; analyzing the signal strength, delay, packet loss rate, and number of network disconnections of the preset network connection mode within the second preset time period to obtain a loss risk assessment value; obtaining a loss risk assessment value threshold; comparing the loss risk assessment value with the loss risk assessment value threshold, and if the loss risk assessment value is above the loss risk assessment value threshold, issuing an early warning message to the user end.
[0044] In this embodiment, the network connection quality assessment model is used to calculate the network connection quality assessment value. The risk assessment model is used to predict the loss of connection risk assessment value of the safe.
[0045] ;
[0046] In the formula, Represents the loss of connection risk assessment value, which is used to assess the loss of connection risk value and initialize the network connection according to the size of the loss of connection risk value. a time number representing a moment within a second preset time period, , represents the preset duration in the second preset time period, represents the signal strength of the preset network n in the second preset time period, Indicates the ideal signal strength for the preset network connection method. represents the delay of the preset network n in the second preset time period, Indicates the typical latency for a given network connection. represents the packet loss rate of the preset network n in the second preset time period, Indicates the typical packet loss rate of the preset network connection mode. Indicates the number of disconnections of the preset network n within the second preset time period, Indicates the typical number of disconnections for the preset network connection method. , , , Respectively represent the influence weights of signal strength, delay, packet loss rate, and number of network disconnections on the loss risk assessment value. The higher the signal strength, the lower the loss risk assessment value, indicating that the network stability is better. The higher the delay, the higher the loss risk assessment value, indicating that the network stability is worse. The higher the packet loss rate, the higher the loss risk assessment value, indicating that the network stability is worse. The higher the number of network disconnections, the higher the loss risk assessment value, indicating that the network stability is worse. Through these relationships, the stability and reliability of the network over a long period of time can be comprehensively evaluated.
[0047] How to obtain parameters: The signal strength can be measured by using a wireless signal strength measurement tool and obtained through the built-in signal strength monitoring function of the device. The number of network disconnections can be recorded by a network connection monitoring tool. The typical delay of the preset network connection method, the typical packet loss rate of the preset network connection method, and the typical number of network disconnections of the preset network connection method can be obtained from the device specification.
[0048] The influence weights of signal strength, delay, packet loss rate, and number of network disconnections on the loss risk assessment value can be obtained through the loss risk database. Through the relationship between signal strength, delay, packet loss rate, number of network disconnections and loss risk in historical data, a mapping set between signal strength, delay, packet loss rate, number of network disconnections and their corresponding weights is established respectively. By inputting real-time signal strength, delay, packet loss rate, and number of network disconnections, the signal strength influence weight, delay influence weight, packet loss rate influence weight, and number of network disconnection influence weight in the mapping set are obtained.
[0049] Furthermore, the specific steps of the comprehensive network evaluation module are: obtaining a network connection quality evaluation value of a preset network connection mode, a maximum network connection quality evaluation value in the preset network connection mode, a loss risk assessment value, and a minimum loss risk assessment value in the preset network connection mode; performing a comprehensive analysis based on the obtained network connection quality evaluation value of the preset network connection mode, the maximum network connection quality assessment value in the preset network connection mode, the loss risk assessment value, and the minimum loss risk assessment value in the preset network connection mode to obtain a comprehensive network evaluation value; and initializing the network connection according to the comprehensive network evaluation value.
[0050] In this embodiment, the calculation formula of the comprehensive network evaluation value is:
[0051] ;
[0052] Represents the comprehensive network evaluation value, which is used to evaluate the comprehensive network value. represents a network connection quality evaluation value of a preset network connection mode n within a first preset time period, Indicates the maximum value of the network connection quality evaluation value of the preset network connection mode n within the first preset time, represents the minimum risk assessment value of loss of connection of the preset network connection mode n within the second preset time, represents the risk assessment value of loss of connection of the preset network connection mode n within the second preset time, , Indicates the impact weight of the network connection quality assessment value and the impact weight of the loss of connection risk assessment value.
[0053] The network connection quality evaluation value of the preset network n in the first preset time period is representative in the first preset time period and can fully represent the overall performance of the network. The network state does not change dramatically in the time period and can reflect the normal performance of the network. Through normalization processing, the data in the first preset different time periods are converted into dimensionless values to eliminate the influence of the time period length on the calculation results. The loss risk evaluation value of the preset network connection mode n in the second preset time period is representative in the second preset time period and can fully represent the overall performance of the network. The network state does not change dramatically in the time period and can reflect the normal performance of the network. Through normalization processing, the data in the second preset different time periods are converted into dimensionless values to eliminate the influence of the time period length on the calculation results. Therefore, the network connection quality evaluation value of the preset network n in the first preset time period can be directly calculated with the loss risk evaluation value of the preset network connection mode n in the second preset time period. Such calculation is conducive to fundamentally better evaluation of the network.
[0054] The specific method for initializing the network connection according to the comprehensive network evaluation value is: after the second preset time period, the preset network connection mode is adjusted to cut off the network connection, and the preset network connection mode corresponding to the maximum value of the comprehensive network evaluation value is used as the optimal network to establish a network connection; if the preset network connection mode corresponding to the maximum value of the comprehensive network evaluation value is the same as the network connection mode after the second preset time period, the network connection is not cut off, and the status quo is maintained and the connection is continued.
[0055] Method of obtaining parameters: The influence weights of the network connection quality assessment value and the loss connection risk assessment value can be obtained through a comprehensive database. The mapping sets between the network connection quality assessment value and the loss connection risk assessment value and their corresponding weights are established respectively through the relationship between the network connection quality assessment value and the loss connection risk assessment value in the historical data and the comprehensive network assessment value. The corresponding network connection quality assessment value influence weight and the loss connection risk assessment value influence weight in the mapping set are obtained by inputting the real-time network connection quality assessment value and the loss connection risk assessment value.
[0056] The comprehensive network evaluation value is used to evaluate the overall quality and stability of the network, and guide the comprehensive network evaluation through the network connection quality evaluation value and the loss of connection risk evaluation value, and perform network initialization and optimization selection based on the comprehensive network evaluation value. The comprehensive network evaluation value is based on the network connection quality evaluation value within the first preset time period and the loss of connection risk evaluation value within the second preset time period. The best choice of the network is determined by calculating the maximum network connection quality evaluation value and the minimum loss of connection risk evaluation value in the preset network connection mode. The network connection quality evaluation value is comprehensively evaluated by parameters such as network speed, bandwidth, delay, packet loss rate, delay jitter, throughput and channel utilization, while the loss of connection risk evaluation value is comprehensively evaluated by parameters such as signal strength, delay, packet loss rate and number of network disconnections.
[0057] Furthermore, the specific steps of the loss of connection judgment module include: if the network connection quality evaluation values of the preset network connection modes in the network connection quality evaluation module are all lower than the network connection quality evaluation value threshold, then a cyclic network connection is performed; if the network connection is still in a lost state after multiple cycles, it is determined to be lost; the temperature of the surface of the safe, the humidity inside the safe, the vibration intensity during the loss of connection, the face recognition results, and the body recognition results are obtained; the environmental risk assessment value is calculated based on the obtained temperature of the surface of the safe, the humidity inside the safe, the vibration intensity during the loss of connection, the face recognition results, and the body recognition results; according to the environmental risk assessment value, the data of the safe during the loss of connection is processed, and the processed data is sent to the client after the network is connected.
[0058] In this embodiment, compared with the prior art, this process has significant innovations and benefits: first, by acquiring and analyzing a variety of environmental and network parameters in real time, the system can more comprehensively evaluate the security status during the period of loss of connection; second, the cyclic network connection mechanism ensures that the loss of connection status is timely judged when the connection cannot be made after multiple attempts, and corresponding measures are taken to avoid the safety hazards caused by long-term loss of connection; in addition, through video analysis and comprehensive environmental parameter evaluation, the system can continuously monitor the environment around the safe during the period of loss of connection, improving security and early warning capabilities; finally, after the network is restored, the system automatically sends the processed data to the client to ensure the integrity and timeliness of the data, and improve the user experience and system reliability. Through these innovations, the system can provide more efficient and reliable anti-theft warning and data management in a complex network environment, ensuring the security of the safe and the continuity of data transmission.
[0059] Furthermore, the Internet of Things-based safe anti-theft warning method is characterized in that: according to the environmental risk assessment value, the data during the period when the safe is out of contact is processed. The specific processing process is: if the safe cannot establish communication with the user end, the network connection quality assessment value within the first preset time period is evaluated in descending order, and a connection attempt is made cyclically, and the warning mode is entered at the same time, and the data during the loss of connection and the environmental data are cached, and the environmental risk assessment value is calculated. After the connection is established, the environmental risk assessment value is sorted in descending order, and the cached information of the corresponding time point is sent one by one in the sorting order; if the environmental risk assessment value calculated during the network disconnection process is higher than the environmental risk assessment value threshold, a warning is issued, and when the network returns to normal, a strong reminder is issued.
[0060] In this embodiment, if the safe cannot establish communication with the user end, it proves that the loss of connection risk assessment value is above the loss of connection risk assessment value threshold. Network recovery means that the loss of connection risk assessment value is below the loss of connection risk assessment value threshold, and the network connection quality assessment value is above the network connection quality assessment value threshold. The strong reminder specifically includes sending three consecutive SMS reminders. When the safe cannot establish communication with the client, the system will first try to reconnect to the network in a cycle according to the network connection quality assessment value in the preset time period from large to small. If it still cannot connect after multiple attempts, the system will enter the early warning mode and perform a series of operations, including sending loss of connection warning information to the user through an alternative communication channel (such as SMS or email), triggering the sound and light alarm system (including sound alarm and light alarm) to warn people in the surrounding environment, and locking the safe into a higher level of security mode to prevent illegal access and tampering. At the same time, the system will cache all key data and environmental data during the loss of connection, including sound, vibration, image, key operation and bioelectric parameters, and calculate the environmental risk assessment value. After re-establishing communication, the system will sort the environmental risk assessment values from large to small, and send the cached data and video images at the corresponding time point according to the sorting results.
[0061] If all the preset network connection methods of the safe fail, the system will judge the network failure by repeatedly trying to connect and failing, and the network connection quality assessment value continues to be lower than the threshold. At this time, the system will obtain the video of the environment around the safe through the external camera, especially the camera image of the path that must be passed outdoors or in the room, and send a reminder message to the client to inform the current network failure. The environmental risk assessment is performed based on the camera image parameters (such as the appearance of strangers, abnormal behavior) and the safe parameters (such as vibration, door opening attempts). If the environmental risk assessment value is higher than the preset threshold, the system will trigger the sound and light alarm system, including sound alarm and light alarm. In addition, the system will try to increase the wireless communication power and issue a warning message. When the network returns to normal, the system will issue a strong reminder to notify the client. Through the above scheme, the IoT-based safe anti-theft warning system can more effectively deal with various network failures and security threats, ensuring the safety and reliability of the safe.
[0062] In addition, the wireless communication power can be increased, and the network loss can be dealt with through dynamic wireless communication power adjustment, and multi-level early warning and protection can be carried out in combination with environmental risk assessment, achieving higher security and reliability. When a network failure or loss of connection risk is detected, the system will automatically adjust the wireless communication power to enhance the signal coverage and connection stability, so that a stable communication connection can be maintained in a complex network environment or with more interference. This process monitors the signal strength and connection quality in real time through the built-in wireless communication module, and automatically increases the communication power when weak signal strength or unstable network connection is detected. In addition, during the period of loss of connection, the system monitors environmental changes in real time through external cameras and sensors, and considers environmental factors by combining video images and sensor data (such as vibration, sound, temperature, humidity, etc.) obtained by the camera. If abnormal behavior is detected (such as the appearance of strangers or suspicious activities), the system will automatically trigger a multi-level early warning mechanism, including sending warning information to the user, triggering the sound and light alarm system, and locking the safe to prevent illegal access and potential sabotage. If the risk assessment value is higher than the preset threshold, the system will also try to increase the wireless communication power and further issue a warning message. When the network returns to normal, the system will send a strong reminder to the client, detailing all activities and risk assessment results during the period of loss of connection, so that users can fully understand what happened during the period of loss of connection and take necessary safety measures in a timely manner. Through dynamic wireless communication power regulation combined with multi-level early warning and protection, the system not only enhances stability in complex network environments, but also improves users' ability to control the safety status of the safe, ensuring the safety protection of the safe in various situations.
[0063] Furthermore, the calculation formula for the environmental risk assessment value is:
[0064] ;
[0065] In the formula, represents the environmental risk assessment value, which is used to evaluate the environmental safety value. e represents the base of the natural logarithm. Indicates the temperature of the safe surface. Indicates normal ambient temperature, Indicates the maximum temperature of the safe surface. Indicates the humidity inside the safe. Indicates normal air humidity. Indicates the maximum humidity inside the safe. Indicates the vibration intensity during the loss of contact. Indicates the maximum vibration intensity during the loss of contact. Represents the face recognition result, represents the body shape recognition result, Indicates the influence weight of face similarity, Indicates the influence weight of body shape similarity, Indicates the weight coefficient of the temperature on the surface of the safe in the comprehensive environmental parameters, Represents the weight coefficient of the humidity inside the safe in the comprehensive environmental parameters, , , They respectively represent the influence weight of comprehensive environmental parameters, the influence weight of vibration intensity, and the influence weight of comprehensive similarity results.
[0066] In this embodiment, the vibration intensity during the loss of connection represents the cumulative vibration intensity during the loss of connection, and the environmental risk assessment value calculates the environmental risk assessment value at each moment. The comprehensive similarity results include face recognition results and body recognition results, and the comprehensive environmental parameters include the temperature on the surface of the safe and the humidity inside the safe. Normal ambient temperature refers to the average value of the ambient temperature of the safe in the past preset time period, and normal air humidity refers to the average value of the ambient air humidity of the safe in the past preset time period. There may be artificial infiltration damage, which may damage the electronic parts inside and cause water to enter the electronic parts, so the impact of the humidity inside the safe on the environmental risk assessment value is considered. By normalizing temperature, humidity, vibration and comprehensive similarity, we ensure that each element is compared under the same dimension to avoid the problem of weight imbalance caused by different dimensions. Temperature and humidity reflect two main aspects of environmental conditions. The two jointly affect the safety of the environment. Changes in temperature and humidity are often related. High temperature may be accompanied by high humidity or low humidity. The combined effect of the two can reflect abnormal conditions in the environment. Increased vibration intensity may indicate abnormal activities in the environment, such as vandalism or accidental collisions. When the safe is severely collided and rubbed, heat energy may also be generated, which in turn affects the temperature of the surface of the safe. Face similarity and body similarity jointly reflect whether the identity of the person appearing in the environment is consistent with expectations. The recognized face and body are compared with the preset face and body in the database. If the face similarity is greater than the face similarity threshold, the face recognition result is 1, and if the face similarity is below the face similarity threshold, the face recognition result is 0; if the body similarity is greater than the body similarity threshold, the body recognition result is 1, and if the body similarity is less than the body similarity threshold, the body recognition result is 0.
[0067] How to obtain parameters: Environmental risk assessment values can also be obtained through expert experience. The temperature of the surface of the safe can be obtained through a temperature sensor, and the humidity inside the safe can be obtained through a humidity sensor. Normal ambient temperature and normal air humidity can be obtained by calculating the average value from the range of values in the equipment manual. The vibration intensity during the loss of contact can be obtained through seismic sensor detection. Face recognition results can be obtained by taking pictures with a camera, and converting each face image into a feature vector through a face recognition algorithm (such as FaceNet, Dlib) (using a pre-trained face recognition model to extract the face feature vector), and then comparing the similarity between the feature vectors of the two face images (calculating the Euclidean distance or cosine similarity between the two face feature vectors), and finally comparing them with the face similarity threshold. Body shape recognition results can be obtained by extracting human skeleton features through a posture estimation algorithm (such as OpenPose, PoseNet), and performing similarity comparison. First, the posture estimation model is used to extract the key points of the human skeleton, and then the relative position and angle features of the skeleton key points are calculated. Finally, the similarity of the two human skeleton features is compared and compared with the body shape similarity threshold.
[0068] The weight coefficient of the temperature on the surface of the safe in the comprehensive environmental parameters and the weight coefficient of the humidity inside the safe in the comprehensive environmental parameters can be obtained through the environmental database. The mapping sets between the temperature on the surface of the safe, the humidity inside the safe and their corresponding weights are established through the relationship between the temperature on the surface of the safe, the humidity inside the safe and the comprehensive environmental parameters in the historical data. The corresponding influence weight of the temperature on the surface of the safe and the influence weight of the humidity inside the safe in the mapping set are obtained by inputting the real-time temperature on the surface of the safe and the humidity inside the safe. The influence weight of the comprehensive environmental parameter, the influence weight of the vibration intensity and the influence weight of the comprehensive similarity result can be obtained through the environmental safety database. The mapping sets between the comprehensive environmental parameter, the vibration intensity and the comprehensive similarity result and their corresponding weights are established through the relationship between the comprehensive environmental parameter, the vibration intensity and the comprehensive similarity result in the historical data and the environmental risk assessment value. The corresponding influence weight of the comprehensive environmental parameter, the vibration intensity and the comprehensive similarity result in the mapping set are obtained by inputting the real-time comprehensive environmental parameter, the vibration intensity and the comprehensive similarity result.
[0069] Furthermore, the anti-theft warning method for a safe based on the Internet of Things is characterized in that it includes the following steps: establishing a communication connection with a user end, and transmitting the network performance data, loss risk data and environmental risk data of the safe to the user end in real time; calculating a network connection quality assessment value through data obtained by the communication module, and switching the network connection according to the network connection quality assessment value; calculating a loss risk assessment value within a second preset time period through the environmental risk data obtained by the communication module, and issuing an early warning according to the loss risk assessment value; performing a comprehensive network assessment through the network connection quality assessment value and the loss risk assessment value, and initializing the network according to the comprehensive network assessment value; if the network connection quality assessment values of the preset network connection modes in the network connection quality assessment module are all lower than the network connection quality assessment value threshold, it is determined to be lost, and the data of the safe during the period of loss of connection is processed.
[0070] An embodiment of the present application also provides an electronic device, including: a processor, and a memory for storing instructions executable by the processor; when the processor is configured to execute the instructions, the electronic device implements an anti-theft warning system for safes based on the Internet of Things.
[0071] To sum up, this embodiment uses a network connection quality assessment module to automatically select the best network connection according to the network connection quality assessment value, thereby automatically switching to another more stable network when the network condition is poor, thereby achieving continuous online and responsiveness of the device, improving the security and stability of the safe, and effectively solving the problem of missing safe offline information in the prior art.
[0072] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0073] The present invention is described with reference to flowcharts and / or block diagrams of systems, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.
[0074] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0075] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0076] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0077] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. Safe anti-theft warning system based on the Internet of Things, It is characterized in that include: Communication module, network connection quality assessment module, loss of connection risk assessment module and loss of connection judgment module; The communication module is used to establish a communication connection with the user terminal and transmit the network performance data, loss risk data and environmental risk data of the safe to the user terminal in real time; The network connection quality evaluation module is used to calculate a network connection quality evaluation value within a first preset time period through the network performance data obtained by the communication module, and switch the network connection according to the network connection quality evaluation value; The loss of connection risk assessment module is used to calculate the loss of connection risk assessment value within the second preset time period through the loss of connection risk data obtained by the communication module, and issue an early warning according to the loss of connection risk assessment value; The disconnection judgment module is used to judge that the connection is lost if the network connection quality evaluation values of the preset network connection modes in the network connection quality evaluation module are all lower than the network connection quality evaluation value threshold, and process the data during the period when the safe is disconnected; The specific steps of the loss of connection judgment module include: If the network connection quality evaluation values of the preset network connection modes in the network connection quality evaluation module are all lower than the network connection quality evaluation value threshold, a cyclic network connection is performed; If the network connection is still disconnected after multiple cycles, it is considered disconnected; Obtain the temperature of the safe surface, the humidity inside the safe, the vibration intensity during the loss of contact, the face recognition results, and the body recognition results; Calculate the environmental risk assessment value based on the obtained surface temperature of the safe, the humidity inside the safe, the vibration intensity during the loss of contact, the face recognition result, and the body recognition result; According to the environmental risk assessment value, the data during the period when the safe is disconnected is processed, and the processed data is sent to the client when the network is connected; The method for obtaining the environmental risk assessment value is as follows: ; In the formula, represents the environmental risk assessment value, which is used to evaluate the environmental safety value. e represents the base of the natural logarithm. Indicates the temperature of the safe surface. Indicates normal ambient temperature, Indicates the maximum temperature of the safe surface. Indicates the humidity inside the safe Indicates normal air humidity. Indicates the maximum humidity inside the safe. Indicates the vibration intensity during the loss of contact. Indicates the maximum vibration intensity during the loss of contact. Represents the face recognition result, represents the body shape recognition result, Indicates the influence weight of face similarity, Indicates the influence weight of body shape similarity, Indicates the weight coefficient of the temperature on the surface of the safe in the comprehensive environmental parameters, Represents the weight coefficient of the humidity inside the safe in the comprehensive environmental parameters, , , The weights affected by comprehensive environmental parameters, vibration intensity, and comprehensive similarity results are included.
2. The safe anti-theft warning system based on the Internet of Things as claimed in claim 1, Features: The specific steps of the network connection quality assessment module are: Obtaining network speed, bandwidth, delay, packet loss rate, delay jitter, throughput, and channel utilization of a preset network connection mode within a first preset time period; The preset network connection methods include: WiFi connection, LTE connection, 5G connection, LoRaWAN connection and wired Ethernet connection; The network connection quality evaluation value is obtained by analyzing the network speed, bandwidth, delay, packet loss rate, delay jitter, throughput, and channel utilization of the preset network connection mode within the first preset time; The network connections are sorted from large to small according to the network connection quality evaluation values. If the network connection quality evaluation value of the currently connected network is less than the network connection quality evaluation value threshold, the corresponding network connection is switched in descending order according to the network connection quality evaluation values.
3. The safe anti-theft warning system based on the Internet of Things as claimed in claim 1, Features: The calculation formula of the network connection quality evaluation value is: ; In the formula, represents a network connection quality evaluation value of a preset network n within a first preset time period, which is used to analyze the network connection quality; t represents a time number of a moment within the first preset time period; , T represents the preset duration in the first preset time period, represents the network speed of the preset network n in the first preset time period, where n represents the network type number, , represents the bandwidth at the nth moment in the first preset time period, represents the delay of the preset network n in the first preset time period, represents the minimum delay of the preset network n within the first preset time period, represents the packet loss rate of the preset network n in the first preset time period, represents the delay jitter of the preset network n in the first preset time period, represents the minimum delay jitter of the preset network n within the first preset time period, represents the throughput of the preset network n in the first preset time period, represents the channel utilization rate of the preset network n in the first preset time period, , , , , , , They respectively represent the influence weights of the network speed, bandwidth, delay, packet loss rate, delay jitter, throughput, and channel utilization of the preset network n within the first preset time period.
4. The safe anti-theft warning system based on the Internet of Things as claimed in claim 1, It is characterized in that The specific analysis steps of calculating the loss of connection risk assessment value within the second preset time period based on the loss of connection risk data obtained by the communication module and issuing an early warning based on the loss of connection risk assessment value are as follows: Respectively obtain the signal strength, delay, packet loss rate, and number of network disconnections of the preset network connection mode within the second preset time period; Analyze the signal strength, delay, packet loss rate, and number of network disconnections of the preset network connection mode within the second preset time period to obtain a loss of connection risk assessment value; Get the loss of contact risk assessment value threshold; The loss of connection risk assessment value is compared with the loss of connection risk assessment value threshold, and if the loss of connection risk assessment value is above the loss of connection risk assessment value threshold, an early warning message is sent to the user end.
5. The safe anti-theft warning system based on the Internet of Things as claimed in claim 1, It is characterized in that Also includes: A comprehensive network evaluation module is used to perform a comprehensive network evaluation based on a network connection quality evaluation value and a loss of connection risk evaluation value, and to initialize the network based on the comprehensive network evaluation value; The specific steps of performing comprehensive network evaluation through the network connection quality evaluation value and the loss of connection risk evaluation value and performing network initialization according to the comprehensive network evaluation value are as follows: Obtain a network connection quality assessment value of a preset network connection method, a maximum network connection quality assessment value in the preset network connection method, a loss of connection risk assessment value, and a minimum loss of connection risk assessment value in the preset network connection method; Perform a comprehensive analysis based on the obtained network connection quality assessment value of the preset network connection mode, the maximum network connection quality assessment value in the preset network connection mode, the loss of connection risk assessment value, and the minimum loss of connection risk assessment value in the preset network connection mode to obtain a comprehensive network assessment value; Initialize the network connection based on the comprehensive network evaluation value.
6. The safe anti-theft warning system based on the Internet of Things as claimed in claim 1, Features: The specific process of processing the data during the period when the safe is out of contact according to the environmental risk assessment value is as follows: If the safe cannot establish communication with the user end, it will try to connect cyclically in the order of network connection quality evaluation values from large to small within the first preset time period, and enter the early warning mode at the same time, cache the data and environmental data during the period of loss of connection, calculate the environmental risk evaluation value, and when the connection is established, sort the environmental risk evaluation values in order from large to small, and send the cached information of the corresponding time points one by one in the sorting order; If the environmental risk assessment value calculated during the network outage is higher than the environmental risk assessment value threshold, an early warning will be issued, and a strong reminder will be issued when the network returns to normal.
7. A method for applying the safe anti-theft warning system based on the Internet of Things as described in any one of claims 1 to 6, Features: The following steps are involved: Establish a communication connection with the user end, and transmit the network performance data, loss risk data and environmental risk data of the safe to the user end in real time; Calculate the network connection quality evaluation value through the data obtained by the communication module, and switch the network connection according to the network connection quality evaluation value; Calculate the loss of connection risk assessment value within the second preset time period through the loss of connection risk data obtained by the communication module, and issue an early warning according to the loss of connection risk assessment value; Conduct a comprehensive network assessment based on the network connection quality assessment value and the loss of connection risk assessment value, and perform network initialization based on the comprehensive network assessment value; If the network connection quality assessment values of the preset network connection modes in the network connection quality assessment module are all lower than the network connection quality assessment value threshold, it is determined to be lost, and the data of the safe during the period of loss of connection is processed.
8. An electronic device, It is characterized in that include: a processor, a memory for storing instructions executable by the processor; When the processor is configured to execute the instruction, the electronic device implements the safe anti-theft warning system based on the Internet of Things as described in any one of claims 1-6.
