Search

CN-122002228-A - Intelligent disaster recovery method for short message channel of Internet of things equipment

CN122002228ACN 122002228 ACN122002228 ACN 122002228ACN-122002228-A

Abstract

The invention relates to an intelligent disaster recovery method for short message channels of Internet of things equipment, which belongs to the field of IT and software development and comprises the steps of collecting multi-dimensional short message indexes of each short message channel, preprocessing, carrying out standardized processing on the short message indexes, determining weights of all the short message indexes, adjusting the weights of all the short message indexes in real time according to the scene requirement of the Internet of things, establishing a weighted comprehensive scoring model, carrying out quantitative evaluation on the overall performance of each short message channel, dynamically adjusting the triggering threshold value of channel switching according to the scene and time interval of the Internet of things, combining the sorting of channel comprehensive scores, preferentially selecting the short message channel with the highest score as a standby channel, introducing a pre-verification mechanism, sending the short message to test equipment to pre-verify the standby channel before the formal channel switching, and executing formal channel switching after the pre-verification is passed. The method can automatically monitor the channel state, comprehensively evaluate the channel performance and quickly trigger the optimal switching.

Inventors

  • LU ZIYAO
  • WANG CHANG
  • CHEN FURONG
  • SONG HAODONG

Assignees

  • 天翼物联科技有限公司

Dates

Publication Date
20260508
Application Date
20251229

Claims (10)

  1. 1. The intelligent disaster recovery method for the short message channel of the Internet of things equipment is characterized by comprising the following steps of: S1, collecting multi-dimensional short message indexes of each short message channel, and preprocessing the short message indexes to remove abnormal values and correct the abnormal values; S2, carrying out standardization processing on the short message indexes, determining the weight of each short message index through a hierarchical analysis method, adjusting the weight of each short message index in real time according to the scene requirement of the Internet of things, establishing a weighted comprehensive scoring model, and carrying out quantitative evaluation on the overall performance of each short message channel to obtain the channel comprehensive score of each short message channel, wherein the weighted comprehensive scoring model is as follows: S=(S_R×W_R)+(S_T×W_T)+(S_C×W_C)+(S_B×W_B) S is the comprehensive score of a channel, S_R is the standardized score of the success rate of the channel, S_T is the standardized score of the time delay of the channel, S_C is the standardized score of the cost of the channel, S_B is the standardized score of the bandwidth of the channel, W_R is the weight of the success rate of the channel, W_T is the weight of the time delay of the channel, W_C is the weight of the cost of the channel, and W_B is the weight of the bandwidth of the channel; s3, dynamically adjusting a triggering threshold of channel switching according to the scene and the time period of the Internet of things, and selecting a short message channel with the highest score as a standby channel by combining the sorting of channel comprehensive scores, wherein the triggering threshold of channel switching is a threshold of a short message index; S4, introducing a pre-verification mechanism in the channel switching process, after detecting a trigger threshold meeting the channel switching, sending a short message to test equipment before the formal channel switching to pre-verify the standby channel, and executing the formal channel switching after the pre-verification is passed, and switching the whole quantity to the standby channel to realize disaster recovery switching.
  2. 2. The intelligent disaster recovery method for the short message channel of the Internet of things equipment according to claim 1 is characterized in that in S1, the multi-dimensional short message index comprises a channel success rate, a channel time delay, a channel cost and a channel bandwidth.
  3. 3. The intelligent disaster recovery method for the short message channel of the Internet of things equipment according to claim 2 is characterized in that in S2, the channel success rate is preprocessed, wherein when the channel success rate is detected to be more than 100%, the channel success rate is corrected to be 100%, when the channel success rate is detected to be less than 0%, the channel success rate is corrected to be 0%, and when the number of short messages sent in one minute is detected to be less than 10, the average success rate of the first 5 minutes of the channel is adopted as the channel success rate; The channel delay is preprocessed, wherein the preprocessing comprises the steps of removing delay abnormal data which is larger than the sum of the historical average delay of the short message channel and 3 times of standard deviation, and then recalculating the average delay after removal; And preprocessing the channel cost and the channel bandwidth, wherein when the channel cost or the channel bandwidth acquired from the API interface is detected to be empty or exceeds a preset reasonable range, the historical default value of the channel is adopted as the channel cost or the channel bandwidth.
  4. 4. The intelligent disaster recovery method for the short message channel of the Internet of things equipment according to claim 1 is characterized in that in S2, the short message indexes are subjected to standardized processing, wherein the standardized processing comprises the steps of converting the short message indexes with different dimensions into unified scores of a percentile system by adopting a linear normalization method, dividing the short message indexes into two types of forward indexes and reverse indexes, and respectively adopting corresponding standardized formulas for processing.
  5. 5. The intelligent disaster recovery method for the short message channel of the Internet of things equipment according to claim 4, wherein a standardized formula for adopting forward indexes for the channel success rate and the channel bandwidth is as follows: The larger the S_forward value is, the better the corresponding short message index is; The normalized formula for the negative indicators of channel delay and channel cost is as follows: the smaller the value of the S_negative direction is, the better the corresponding short message index is.
  6. 6. The intelligent disaster recovery method for the short message channel of the Internet of things equipment according to claim 1, wherein in the step S3, based on the real-time monitoring short message channel operation data, the channel state is automatically judged, when the success rate of a target channel is lower than a trigger threshold value, a channel switching mechanism is triggered, and a short message sending task is transferred to a standby channel with high channel success rate.
  7. 7. The intelligent disaster recovery method for the short message channel of the internet of things equipment according to claim 1, wherein in the step S3, weight distribution and channel switching trigger thresholds of all short message indexes are based on historical data.
  8. 8. The intelligent disaster recovery method for the short message channel of the Internet of things equipment according to claim 1, wherein in the S4, in the pre-verification stage, representative equipment covering different areas and models is selected as test equipment, test short messages are sent to the test equipment through a standby channel, and each index of the standby channel is verified.
  9. 9. The intelligent disaster recovery method for the short message channel of the Internet of things equipment according to claim 1, wherein in the step S4, when the test result of the test equipment meets the index of the scene requirement, the pre-verification is judged to be successful, and the full-scale switching of the standby channel is executed.
  10. 10. The intelligent disaster recovery method for the short message channel of the Internet of things equipment according to claim 9, wherein in S4, full automatic switching of the standby channel is achieved by automatically modifying the short message sending route configuration.

Description

Intelligent disaster recovery method for short message channel of Internet of things equipment Technical Field The invention belongs to the field of IT and software development, and particularly relates to an intelligent disaster recovery method for a short message channel of Internet of things equipment. Background Current internet of things devices (such as intelligent water meters, gas meters, industrial sensors, and internet of vehicles) widely depend on short message channels to realize real-time and high-reliability communication requirements. For example, the vehicle enterprise issues an instruction to the vehicle-mounted equipment through the Internet of vehicles, the industrial sensor sends alarm information through a short message in an abnormal state, and the platform issues a parameter configuration instruction to the equipment through the short message. The scene has extremely high requirements on the instantaneity and stability of the short message channel, and once the channel fails or the success rate is reduced, the equipment data is lost, the instruction is issued to fail, and the normal operation of the whole Internet of things system is further affected. The use of the existing short message channel has the following problems: 1. At present, the internet of things platform generally adopts a mode of 'fixed channel' or 'manual switching channel' to manage short message communication: (1) And in the fixed channel mode, a platform sends a short message to equipment by using a single short message channel for a long time, and when the success rate of the channel is reduced (for example, the success rate is reduced from 99% to less than 80%) due to network fluctuation, bandwidth saturation, equipment failure and other reasons, the channel cannot be automatically adjusted, and a large number of short message sending failures are continuously generated. For example, when a certain intelligent meter reading platform uses a channel A, and the success rate of the channel A is reduced to 75% due to regional network congestion, 25% of water meter data cannot be uploaded, the channel can be switched after manual investigation, and data faults are generated for several hours in the period. (2) And in the manual switching mode, although a plurality of standby channels are configured on a part of the platform, operation and maintenance personnel are required to monitor the success rate of the channels in real time, and when the target channel is found to be abnormal, the system configuration is manually modified to switch to the standby channels. The mode has the problem of response delay, namely operation and maintenance personnel cannot monitor in real time for 24 hours, and the switching operation needs 10-30 minutes, and a large amount of short messages are still sent through a fault channel during the switching operation, so that the failure rate is high. Meanwhile, the manual switching depends on experience judgment, and the problem of error switching (such as switching a channel with a slightly lower success rate but lower cost into a channel with a high success rate but high cost, and increasing unnecessary expenditure) or error selecting a standby channel (such as that the standby channel is selected in a low success rate state) is easy to occur. 3. The platform circularly uses a plurality of channels according to a fixed sequence (such as channel A, channel B and channel C), and a large number of short messages can be distributed to channels with low success rate without considering the real-time success rate difference of the channels, for example, when the platform polls to the channel B, the success rate is only 70%, and 1/3 of short messages can still be sent through the channel, so that the failure rate is increased. 4. And (3) fixed threshold switching, namely setting a threshold by taking the success rate as a single index (switching if the success rate is lower than 90 percent), and not considering other key factors such as time delay, cost and the like of the channel. For example, the success rate of the channel A is 91% (more than the threshold value), the time delay is up to 5 seconds, the success rate of the channel B is 89% (less than the threshold value), the time delay is only 1 second, and the cost is lower, at the moment, the channel A is reserved according to the fixed threshold value, the actual channel B is more suitable for time-sensitive scenes (such as industrial alarms), and the fixed threshold value cannot meet the requirement of multiple scenes. In summary, in the prior art, the current internet of things device widely depends on a short message channel, and cannot realize disaster-to-standby switching of the short message channel with 'real-time, intelligent and multidimensional', so that a technical scheme capable of automatically monitoring channel states, comprehensively evaluating channel performances and rapidly triggering optimal switching is urgently needed. D