State switching system based on ELP electric power equipment transportation Internet of Things detection terminal
By collecting transportation distance values and comprehensive communication data, generating a state switching index and selecting an appropriate power state, the problem of impaired communication quality of IoT detection terminals in special environments is solved, and efficient energy consumption management and long battery life of the terminal are achieved.
Patent Information
- Application Number
- CN202411053596.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-08-02
AI Technical Summary
Existing IoT detection terminals cannot switch power states promptly and accurately in forest tunnels, high tide humidity or frequency interference environments in the same frequency band, resulting in impaired communication quality, delays or data loss, and affecting long-lasting use.
The transportation distance value is generated by collecting the transportation position and initial position of the power equipment, and the state switching index is generated based on the obstacle proportion, environmental negative value and frequency interference value, and the appropriate power state is selected to regulate the working state of the IoT detection terminal.
Accurately obtain the degree of damage to wireless communication quality, avoid data delays or losses, ensure that terminals switch to appropriate power states in different environments, reduce energy consumption, and extend service life.
Smart Images

Figure CN118590929B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and more specifically, to a state switching system based on an ELP electric power equipment transportation Internet of Things detection terminal. Background Art
[0002] During the transportation of power equipment, in order to avoid safety problems during transportation, the power logistics service platform (ELP) will be combined with the Internet of Things detection terminal to achieve real-time monitoring of the transportation status of the power equipment, and according to the actual transportation status and location of the power equipment, the working state of the Internet of Things detection terminal will be switched reasonably and accurately, thereby reducing the energy consumption of the Internet of Things detection terminal and achieving a longer battery life.
[0003] The patent application with reference publication number CN117615432A discloses a state switching method, device, terminal and medium of a transport monitoring terminal, which is used to monitor the impact of the power equipment during transportation by setting a transport monitoring terminal on the power equipment; obtaining the positioning information of the power equipment through the positioning module; obtaining the speed information of the power equipment through the speed sensor; determining the current transport state of the power equipment according to the positioning information and the speed information; controlling the current working state of the transport monitoring terminal to switch between a dormant state and a wake-up state according to the current transport state, and in the wake-up state, the transport monitoring terminal sends a signal to the positioning module, the speed sensor and the wireless communication module. The transport monitoring terminal is powered by the wireless communication module, and obtains the positioning information and speed information according to the first monitoring cycle; in the dormant state, the transport monitoring terminal disconnects the power supply to the wireless communication module, supplies power to the positioning module and the speed sensor, and obtains the positioning information and speed information of the power equipment according to the second monitoring cycle; the second monitoring cycle is greater than the first monitoring cycle; the transport monitoring terminal can be controlled to enter the awakening state in the transport state, and the impact on the power equipment during the transportation process can be monitored in real time; the monitoring terminal is controlled to enter the dormant state in the suspended transport state, the wireless communication function is turned off, the frequency of information acquisition is reduced, thereby reducing energy consumption and extending the endurance time of the transport monitoring terminal during the transportation of the power equipment;
[0004] The prior art has the following deficiencies:
[0005] The existing state switching system of the detection terminal determines whether the power equipment is in a transportation state by obtaining the location information and speed information of the power equipment, thereby switching the power state of the Internet of Things detection terminal to achieve a long battery life effect. However, when the power equipment enters a special terrain environment such as a forest tunnel, high tide humidity or frequency interference in the same frequency band, the forest tunnel, high tide humidity or frequency interference in the same frequency band will cause negative interference to the communication quality of the wireless communication network, and the transportation data transmission of the power equipment is prone to delay or even loss, which will cause the Internet of Things detection terminal to be unable to switch the power state in a timely and accurate manner, making it impossible to reasonably reduce the power consumption of the Internet of Things detection terminal, which is not conducive to the long battery life use of the Internet of Things detection terminal.
[0006] In view of this, the present invention proposes a state switching system based on the ELP electric power equipment transportation Internet of Things detection terminal to solve the above problems. Summary of the invention
[0007] In order to overcome the above-mentioned defects of the prior art and to achieve the above-mentioned purpose, the present invention provides the following technical solution: a state switching system based on an ELP electric power equipment transportation Internet of Things detection terminal, applied to an ELP server, comprising:
[0008] A first data collection module collects the current transportation position and the initial transportation position of the electric power equipment and generates a transportation distance value;
[0009] The switching mode determination module identifies the transportation state of the power equipment based on the transportation distance value and determines whether the Internet of Things detection terminal enters the state switching mode;
[0010] The second data collection module collects comprehensive communication data that affects the quality of wireless communication, and generates a state switching index based on the comprehensive communication data, wherein the comprehensive communication data includes an obstacle ratio value, an environmental negative value, and a frequency interference value;
[0011] A power state selection module compares the state switching index with a preset state switching threshold and selects a power state;
[0012] The power state switching module generates power control instructions according to the power state and switches the power state of the IoT detection terminal.
[0013] Furthermore, the method for generating the transport distance value includes:
[0014] Query the transport work order to obtain the shipping address and receiving address of the power equipment, and mark the shipping address and receiving address on the electronic map to obtain the transport map;
[0015] At time T1, the geographical location of the power equipment is obtained through the positioning chip in the IoT detection terminal and recorded as the initial transportation location;
[0016] Mark the point corresponding to the initial transport position on the transport map and record it as the initial point;
[0017] After a preset time, the geographical location of the power equipment is obtained through the positioning chip and recorded as the current transportation location;
[0018] Mark the point corresponding to the current transport position on the transport map and record it as the current point;
[0019] Use the scale to measure the distance between the current point and the initial point and the shipping address, and obtain the current distance value and the initial distance value;
[0020] After subtracting the current distance value from the initial distance value, the transportation distance value is obtained;
[0021] The expression for the transport distance value is:
[0022] ;
[0023] In the formula, is the transport distance value, is the current distance value, is the initial distance value.
[0024] Furthermore, the transportation status includes a real-time transportation status and a suspended transportation status;
[0025] The identification method of the real-time transportation status and the suspended transportation status includes:
[0026] when When it is not 0, the power equipment is identified as being in real-time transportation status;
[0027] when When it is 0, the power equipment is identified as suspended transportation state.
[0028] Furthermore, the method for determining whether the IoT detection terminal enters the state switching mode includes:
[0029] When the electric power equipment is identified as being in a suspended transportation state, it is determined that the Internet of Things detection terminal does not enter a state switching mode;
[0030] When the electric equipment is identified as being in a real-time transport state, it is determined that the Internet of Things detection terminal enters a state switching mode.
[0031] Furthermore, the method for obtaining the obstacle ratio value includes:
[0032] In the transportation map, a closed circle is drawn with the current point as the reference and the lengths corresponding to the five transportation distance values as the radius, and is recorded as the identification area.
[0033] The satellite remote sensing image corresponding to the identified area is queried through the map database, all the pixels in the satellite remote sensing image are marked, and the total number of pixels is counted;
[0034] Scan the pixel values of all the pixels in sequence, and record the pixel points whose pixel values are between the first pixel threshold and the second pixel threshold as target pixel points;
[0035] Draw lines at the boundary of the target pixel to form a closed area, and obtain target areas and count them one by one The number of target pixels in the target area;
[0036] The target area where the number of target pixels is greater than the preset number threshold is recorded as the effective area. effective area;
[0037] Will After the number of target pixels in the effective area is accumulated, it is compared with the total number of pixels to obtain the obstacle ratio value;
[0038] The expression of obstacle ratio is:
[0039] ;
[0040] In the formula, is the obstacle ratio, For the The number of target pixels in the effective area, is the total number of pixels.
[0041] Furthermore, the method for obtaining the negative value of the environment includes:
[0042] The real-time environmental humidity of the current transport location is detected by a humidity sensor, and the time when the real-time environmental humidity reaches the lower limit of the humidity influence for the first time is recorded as the starting time;
[0043] After the start time, the time when the real-time environmental humidity reaches the upper limit of humidity influence for the first time is recorded as the end time;
[0044] Subtract the end time from the start time to get the impact duration;
[0045] The expression that affects the duration is:
[0046] ;
[0047] In the formula, To influence the duration, To end the moment, is the starting time;
[0048] The negative value of the environment is obtained by subtracting the upper limit of the humidity impact from the lower limit of the humidity impact and comparing it with the impact duration.
[0049] The expression for the negative value of the environment is:
[0050] ;
[0051] In the formula, is the negative value of the environment, is the upper limit of moisture impact, This is the lower limit of moisture impact.
[0052] Furthermore, the method for obtaining the frequency interference value includes:
[0053] Query the radio wave transmission frequency of the IoT detection terminal through the technical parameter table and record it as the terminal frequency;
[0054] The real-time frequency of the radio waves at the current transport location is detected in real time by an electromagnetic spectrometer, and the real-time frequency that is consistent with the terminal frequency is recorded as the interference frequency;
[0055] The time when the interference frequency first appears is recorded as the starting time, and when the interference frequency does not appear again within the preset detection period, the time when the interference frequency last appears is recorded as the end time;
[0056] Count the number of real-time frequencies and the number of interference frequencies between the starting time and the end time, and obtain the total frequency amount and the total interference amount respectively;
[0057] After comparing the total interference amount with the total frequency amount, a sub-interference value is obtained;
[0058] The expression of the sub-interference value is:
[0059] ;
[0060] In the formula, is the sub-interference value, is the total amount of interference, is the total frequency;
[0061] Compare the sub-interference value with the difference between the end time and the start time to obtain the frequency interference value;
[0062] The expression of frequency interference value is:
[0063] ;
[0064] In the formula, is the frequency interference value, For the end moment, The starting time.
[0065] Furthermore, the expression of the state switching index is:
[0066] ;
[0067] In the formula, is the state switching index, , , is the weight factor.
[0068] Further, the power state includes a low power state and a high power state;
[0069] The selection methods of low power state and high power state include:
[0070] Switch state index The preset state switching threshold Compare;
[0071] when Less than When the power is low, select the low power state;
[0072] when Greater than or equal to , select the high power state.
[0073] Further, the power control instruction includes an instruction to reduce the working power and an instruction to increase the working power;
[0074] The method for generating the instruction to reduce the working power and the instruction to increase the working power includes:
[0075] When the power state is a low power state, generating an instruction to reduce working power;
[0076] When the power state is a high power state, generating an instruction to increase the working power;
[0077] The power state switching methods include:
[0078] When a power reduction instruction is generated, the ELP server sends information on reducing the operating power to the IoT detection terminal, and the IoT detection terminal switches to a low-power state;
[0079] When an instruction to increase the operating power is generated, the ELP server sends information to increase the operating power to the IoT detection terminal, and the IoT detection terminal switches to a high-power state.
[0080] The technical effects and advantages of the state switching system of the ELP electric power equipment transportation Internet of Things detection terminal of the present invention are as follows:
[0081] The present invention collects the current transportation position and the initial transportation position of the power equipment and generates a transportation distance value. Based on the transportation distance value, the transportation state of the power equipment is identified, and it is determined whether the Internet of Things detection terminal enters the state switching mode, and the comprehensive communication data affecting the quality of wireless communication is collected. Based on the comprehensive communication data, a state switching index is generated, and the state switching index is compared with a preset state switching threshold, and an appropriate power state is selected. According to the power state, a power control instruction is generated, and the power state of the Internet of Things detection terminal is switched. Compared with the prior art, by collecting the comprehensive communication data, the negative interference data affecting the communication quality of the wireless communication network can be accurately and comprehensively obtained, and the actual communication quality damage degree of the wireless communication network is analyzed based on the negative interference data, so that the damage error caused by the negative interference data such as obstacles, weather and frequency to the wireless communication quality can be compensated, and the phenomenon of delay or loss of transportation data is avoided, and a real data basis is provided for the subsequent working power size control of the Internet of Things detection terminal, so as to ensure that the Internet of Things detection terminal can switch to a suitable power state, and ensure that the Internet of Things detection terminal can switch to a suitable power state under different power demand environments, thereby effectively reducing the working energy consumption of the Internet of Things detection terminal and extending the service life of the Internet of Things detection terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0082] Figure 1 A schematic diagram of a state switching system based on an ELP electric power equipment transportation Internet of Things detection terminal provided in Example 1 of the present invention;
[0083] Figure 2 A schematic flow chart of a state switching method based on an ELP electric power equipment transportation Internet of Things detection terminal provided in Example 1 of the present invention;
[0084] Figure 3 A schematic diagram of a structural diagram of an electronic device provided in Embodiment 3 of the present invention;
[0085] Figure 4 A schematic diagram of the structure of a computer-readable storage medium provided in Example 4 of the present invention. DETAILED DESCRIPTION
[0086] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0087] Example 1: Please refer to Figure 1As shown, the state switching system based on the ELP power equipment transportation Internet of Things detection terminal described in this embodiment is applied to the ELP server, including:
[0088] A first data collection module collects the current transportation position and the initial transportation position of the electric power equipment and generates a transportation distance value;
[0089] The Electric Power Logistics Service Platform (ELP) is a platform for collecting, serving and regulating a series of wireless communication data generated by power equipment, such as factory delivery, transportation, monitoring and early warning, and provides state switching instructions for the IoT detection terminals deployed on power equipment, so that the IoT detection terminals can monitor the transportation status of power equipment efficiently and safely;
[0090] The current transport position refers to the current geographical location of the transported power equipment, which is used to indicate the current geographical location of the power equipment. Since the power equipment needs to be loaded on the transport equipment for transportation, the change of the current transport position depends on the transport equipment. The specific type of transport equipment is not unique, as long as it meets the transportation needs of the power equipment. Exemplary transport equipment is trucks, trains, airplanes, etc.; the initial transport position refers to the initial position of the transported power equipment when the geographical location is collected, which is not equivalent to the factory location of the power equipment. The initial transport position is combined with the current transport position to determine whether the position of the power equipment has changed, and the transport distance value is calculated based on the change in position, which ultimately indicates the magnitude of the change in the geographical location of the power equipment within a specific time.
[0091] The methods for generating the transport distance value include:
[0092] Query the transport work order to obtain the shipping address and receiving address of the power equipment, and mark the shipping address and receiving address on the electronic map to obtain the transport map; the electronic map is a map that can mark the shipping address and receiving address selected from the map database, so as to serve as the basis for obtaining the subsequent transport map;
[0093] At time T1, the geographical location of the power equipment is obtained through the positioning chip in the IoT detection terminal and recorded as the initial transportation location;
[0094] Mark the point corresponding to the initial transport position on the transport map and record it as the initial point;
[0095] After a preset time, the geographical location of the power equipment is obtained through the positioning chip and recorded as the current transportation location; the preset time is a numerical representation of the shortest time for detecting the geographical locations of two adjacent power equipment, which can ensure that the power equipment can have a sufficient displacement within the preset time, and the change of the location point can be clearly and directly observed on the electronic map; the preset time is obtained by collecting a large number of historical corresponding time lengths when the geographical locations of two adjacent power equipment have obvious displacements, and then calculating the average value;
[0096] Mark the point corresponding to the current transport position on the transport map and record it as the current point;
[0097] Use the scale to measure the distance between the current point and the initial point and the shipping address, and obtain the current distance value and the initial distance value;
[0098] After subtracting the current distance value from the initial distance value, the transportation distance value is obtained;
[0099] The expression for the transport distance value is:
[0100] ;
[0101] In the formula, is the transport distance value, is the current distance value, is the initial distance value;
[0102] The switching mode determination module identifies the transportation state of the power equipment based on the transportation distance value and determines whether the Internet of Things detection terminal enters the state switching mode;
[0103] After the transport distance is generated, the distance between the power equipment and the shipping address within a preset time period can be obtained according to the value of the transport distance, thereby serving as a numerical basis for identifying the transport status of the power equipment;
[0104] The transport state refers to the actual movement state of the power equipment within a preset time period, and the transport state includes the real-time transport state and the suspended transport state; the real-time transport state refers to the state in which the power equipment is in dynamic transport within a preset time period, and the suspended transport state refers to the state in which the power equipment is stationary within a preset time period;
[0105] The identification method of the real-time transportation status and the suspended transportation status includes:
[0106] when When it is not 0, it means that the transport distance value is not equal to 0. At this time, the power equipment has a displacement movement phenomenon within the preset time length, and the power equipment is identified as a real-time transport state;
[0107] when When it is 0, it means that the transport distance value is equal to 0. At this time, the power equipment does not produce displacement movement within the preset time, and the power equipment is identified as a suspended transport state;
[0108] When the real-time transport state and suspended transport state of the power equipment are identified, it can be determined whether the IoT detection terminal in the binding state with the power equipment needs to enter the state switching mode according to the identified transport state, so as to facilitate the IoT detection terminal to realize the complete and normal operation of the working state switching of the IoT detection terminal in the state switching mode;
[0109] The determination method of whether the IoT detection terminal enters the state switching mode includes:
[0110] When the power equipment is identified as being in a suspended transportation state, it means that both the Internet of Things detection terminal and the power equipment are in a stationary state, and there is no need to switch the working state of the Internet of Things detection terminal, so it is determined that the Internet of Things detection terminal does not enter the state switching mode;
[0111] When the power equipment is identified as being in a real-time transport state, it means that both the IoT detection terminal and the power equipment are in a dynamic motion state, and the working state of the IoT detection terminal needs to be switched, and the IoT detection terminal is determined to enter a state switching mode;
[0112] It should be noted that when the IoT detection terminal does not enter the state switching mode, the IoT detection terminal is in an extremely low power standby state, but is not directly shut down, so that the IoT detection terminal can only meet the working energy consumption of the positioning chip under the lowest power consumption condition;
[0113] The second data collection module collects comprehensive communication data that affects the quality of wireless communication, and generates a state switching index based on the comprehensive communication data; the comprehensive communication data includes obstacle ratio value, environmental negative value and frequency interference value;
[0114] Comprehensive communication data refers to diversified data that can affect the transmission quality of radio wave data emitted by the IoT detection terminal. Since the IoT detection terminal relies on wireless communication networks to transmit data, and wireless communication networks transmit data through radio waves, when radio waves are transmitted, they will be affected by interference from different aspects, resulting in the inability of radio waves to be fully and timely transmitted outward, thereby reducing the quality of wireless communication;
[0115] In this embodiment, the external factors that can affect the quality of wireless communication include obstacle impact, weather impact and frequency impact; obstacle impact refers to the impact of obstacles on the terrain at the current transportation location of the power equipment on radio wave transmission, and the more obstacles there are, the greater the impact; weather impact refers to the impact of the humid weather environment at the current transportation location of the power equipment on radio wave transmission, and the more humid the weather is, the greater the impact; frequency impact refers to the impact of the same frequency band in the wireless communication network at the current transportation location of the power equipment on radio wave transmission, and the more same frequency bands there are, the greater the impact;
[0116] Comprehensive communication data includes obstacle ratio, environmental negative value and frequency interference value;
[0117] The obstacle ratio value refers to the ratio between the number of pixels in the map of obstacles such as dense forests and trees or mountain tunnels in the terrain and the total number of pixels. The larger the obstacle ratio value, the greater the proportion of obstacles such as dense forests and trees or mountain tunnels in the map. At this time, the greater the impact on the quality of wireless communication, the greater the state switching index;
[0118] Methods for obtaining obstacle ratio values include:
[0119] In the transportation map, a closed circle is drawn with the current point as the reference and the lengths corresponding to the five transportation distance values as the radius, which is recorded as the identification area. The identification area is the area intercepted in the transportation map that can meet the requirements of obstacle identification and analysis. It can reduce the interference of a large amount of irrelevant data in the transportation map, and also reduce the scope of obstacle collection and identification, thereby improving the accuracy of obstacle identification.
[0120] The satellite remote sensing image corresponding to the identified area is queried through the map database, all the pixels in the satellite remote sensing image are marked, and the total number of pixels is counted;
[0121] Scan the pixel values of all the pixels in sequence, and record the pixel values between the first pixel threshold and the second pixel threshold as the target pixel points; the first pixel threshold and the second pixel threshold are used to numerically represent the minimum and maximum values of the pixel points corresponding to obstacles such as green forest trees or mountain tunnels, so as to determine the pixel value distinction range of the obstacles, and provide an accurate basis for the subsequent identification and removal of the obstacles; the first pixel threshold and the second pixel threshold are obtained by collecting a large number of historical minimum and maximum values of the pixel points corresponding to obstacles such as green forest trees or mountain tunnels, and then calculating their average values;
[0122] Draw lines at the boundary of the target pixel to form a closed area, and obtain target areas and count them one by one The number of target pixels in the target area;
[0123] The target area where the number of target pixels is greater than the preset number threshold is recorded as the effective area. The preset number threshold is the minimum value of the number of target pixels in the valid area, which can limit the number of target pixels in the valid area to ensure that the number of target pixels in each valid area can meet the minimum requirement; the preset number threshold is obtained by collecting a large number of historical minimum values of the number of target pixels in the valid area and calculating the average value;
[0124] Will After the number of target pixels in the effective area is accumulated, it is compared with the total number of pixels to obtain the obstacle ratio value;
[0125] The expression of obstacle ratio is:
[0126] ;
[0127] In the formula, is the obstacle ratio, For the The number of target pixels in the effective area, is the total number of pixels;
[0128] The negative environmental value refers to the negative impact of the natural weather humidity at the current transportation location on the wireless communication quality. The larger the negative environmental value, the greater the negative impact of the weather humidity on the wireless communication quality. At this time, the greater the impact on the wireless communication quality, the greater the state switching index.
[0129] Methods for obtaining negative environmental values include:
[0130] The real-time environmental humidity of the current transport location is detected by a humidity sensor, and the moment when the real-time environmental humidity reaches the lower limit of humidity impact for the first time is recorded as the starting moment; the lower limit of humidity impact refers to the lowest humidity that can have a negative impact on the communication quality of the wireless communication network, thereby improving the marking accuracy of the starting moment and avoiding the collection of a large amount of humidity data that will not have a negative impact on the communication quality of the wireless communication network;
[0131] After the start time, the time when the real-time environmental humidity reaches the upper limit of humidity impact for the first time is recorded as the end time; the upper limit of humidity impact refers to the highest humidity that can have a negative impact on the communication quality of the wireless communication network, thereby improving the marking accuracy of the start time and providing a basis for the collection time of humidity data; the lower limit of humidity impact and the upper limit of humidity impact are set according to the actual waterproof performance and moisture-proof performance of the Internet of Things detection terminal;
[0132] Subtract the end time from the start time to get the impact duration;
[0133] The expression that affects the duration is:
[0134] ;
[0135] In the formula, To influence the duration, To end the moment, is the starting time;
[0136] The negative value of the environment is obtained by subtracting the upper limit of the humidity impact from the lower limit of the humidity impact and comparing it with the impact duration.
[0137] The expression for the negative value of the environment is:
[0138] ;
[0139] In the formula, is the negative value of the environment, is the upper limit of moisture impact, It is the lower limit of moisture impact;
[0140] The frequency interference value refers to the interference degree of other radio waves in the same frequency band as the radio waves of the IoT detection terminal in the interference area where the IoT detection terminal is located. The larger the frequency interference value, the heavier the interference degree of other radio waves in the same frequency band as the radio waves of the IoT detection terminal, and the larger the state switching index;
[0141] Methods for obtaining frequency interference values include:
[0142] Query the radio wave transmission frequency of the IoT detection terminal through the technical parameter table and record it as the terminal frequency;
[0143] The real-time frequency of the radio waves at the current transport location is detected in real time by an electromagnetic spectrometer, and the real-time frequency that is consistent with the terminal frequency is recorded as the interference frequency;
[0144] The moment when the interference frequency appears for the first time is recorded as the starting time. When the interference frequency does not appear again within the preset detection period, the moment when the interference frequency appears for the last time is recorded as the end time. The preset detection period refers to the maximum duration when two adjacent interference frequencies appear, which can limit the detection duration of two adjacent interference frequencies. The preset detection period is obtained by collecting a large number of maximum durations of two adjacent interference frequencies in history and calculating the average value thereof.
[0145] Count the number of real-time frequencies and the number of interference frequencies between the starting time and the end time, and obtain the total frequency amount and the total interference amount respectively;
[0146] After comparing the total interference amount with the total frequency amount, a sub-interference value is obtained;
[0147] The expression of the sub-interference value is:
[0148] ;
[0149] In the formula, is the sub-interference value, is the total amount of interference, is the total frequency;
[0150] Compare the sub-interference value with the difference between the end time and the start time to obtain the frequency interference value;
[0151] The expression of frequency interference value is:
[0152] ;
[0153] In the formula, is the frequency interference value, For the end moment, is the starting time;
[0154] After obtaining the obstacle ratio value, the environmental negative value and the frequency interference value, the state switching index can be calculated according to the obstacle ratio value, the environmental negative value and the frequency interference value, so that the state switching index can directly represent the state switching demand of the IoT detection terminal in numerical value, thereby providing a basis for the subsequent power regulation of the IoT detection terminal;
[0155] The expression of the state switching index is:
[0156] ;
[0157] In the formula, is the state switching index, , , is the weight factor;
[0158] in, , exemplary, is 0.39, is 0.40, is 0.21;
[0159] In addition, it should be noted that the size of the weight factor is a specific value obtained by quantifying each data, which is convenient for subsequent comparison. The size of the weight factor depends on the amount of comprehensive communication data and the size of the weight factor corresponding to each set of comprehensive communication data preliminarily set by those skilled in the art;
[0160] A power state selection module compares the state switching index with a preset state switching threshold and selects a power state;
[0161] The working power state refers to the actual working power range of the IoT detection terminal according to the state switching index. Different switching state indexes correspond to different power ranges, which can provide a comparison basis for the subsequent power adjustment of the IoT detection terminal.
[0162] The power state includes a low power state and a high power state; the working power of the IoT detection terminal corresponding to the low power state is low, and the working power of the IoT detection terminal corresponding to the high power state is high;
[0163] The selection methods of low power state and high power state include:
[0164] Switch state index The preset state switching threshold Comparison; The preset state switching threshold refers to the critical value of the state switching index corresponding to the low power state or high power state of the IoT detection terminal, which can limit the size range of the state switching index corresponding to the low power state or high power state; The preset state switching threshold is obtained by collecting a large number of critical values of the state switching index corresponding to the low power state or high power state in history and calculating the average value;
[0165] when Less than When , it means that the state switching index is less than the preset state switching threshold. At this time, the power required for the IoT detection terminal to work is low, so the low power state is selected;
[0166] when Greater than or equal to When , it means that the state switching index is greater than or equal to the preset state switching threshold. At this time, the power required for the IoT detection terminal to work is high, so the high power state is selected;
[0167] The power state switching module generates a power control instruction according to the power state and switches the power state of the IoT detection terminal;
[0168] The power control instruction refers to the instruction of the ELP server to adjust and control the working power of the IoT detection terminal, so that the ELP server can adjust and control the power of the IoT detection terminal according to the actual state switching index, thereby ensuring that the IoT detection terminal can operate in sequence, reducing the operating energy consumption of the IoT detection terminal, extending the state switching accuracy of the IoT detection terminal, and thus extending the operating time of the IoT detection terminal;
[0169] The power control instructions include instructions for reducing working power and instructions for increasing working power;
[0170] The method for generating the instruction to reduce the working power and the instruction to increase the working power includes:
[0171] When the power state is a low power state, the IoT detection terminal is less affected by external interference and requires lower working energy consumption, so a working power reduction instruction is generated;
[0172] When the power state is a high power state, the IoT detection terminal is greatly affected by external interference and requires high working energy consumption, so an instruction to increase working power is generated;
[0173] It should be noted that, after a working power instruction or a working power increase instruction is generated, the actual working state of the Internet of Things detection terminal needs to be switched to achieve the power regulation effect of the Internet of Things detection terminal;
[0174] The power state switching methods include:
[0175] When a command to reduce the working power is generated, the ELP server sends information to reduce the operating power to the IoT detection terminal, and the IoT detection terminal sends an instruction to reduce the power allocation to the power control module, and the power control module controls the IoT detection terminal to switch to a low-power state;
[0176] When an instruction to increase the working power is generated, the ELP server sends information to increase the operating power to the IoT detection terminal, and the IoT detection terminal sends an instruction to increase the power allocation to the power control module, and the power control module controls the IoT detection terminal to switch to a high power state.
[0177] In this embodiment, by collecting the current transportation position and the initial transportation position of the power equipment and generating a transportation distance value, the transportation state of the power equipment is identified based on the transportation distance value, and it is determined whether the Internet of Things detection terminal enters the state switching mode, the comprehensive communication data affecting the quality of wireless communication is collected, and based on the comprehensive communication data, a state switching index is generated, the state switching index is compared with the preset state switching threshold, and an appropriate power state is selected. According to the power state, a power control instruction is generated, and the power state of the Internet of Things detection terminal is switched; compared with the prior art, by collecting the comprehensive communication data, the negative interference data affecting the communication quality of the wireless communication network can be accurately and comprehensively obtained, and the actual degree of damage to the communication quality of the wireless communication network can be analyzed based on the negative interference data, so that the damage error caused by the negative interference data such as obstacles, weather and frequency to the wireless communication quality can be compensated, and the phenomenon of delay or loss of transportation data is avoided, and a data basis is provided for the subsequent control of the working power size of the Internet of Things detection terminal, ensuring that the Internet of Things detection terminal can switch to a suitable power state, and ensuring that the Internet of Things detection terminal can switch to a suitable power state under different power demand environments, thereby effectively reducing the working energy consumption of the Internet of Things detection terminal and extending the service life of the Internet of Things detection terminal.
[0178] Example 2: Please refer to Figure 2 As shown, the part not described in detail in this embodiment is described in Example 1, and a state switching method based on an ELP electric power equipment transportation Internet of Things detection terminal is provided, which is implemented by a state switching system based on an ELP electric power equipment transportation Internet of Things detection terminal, including:
[0179] S1: Collect the current transportation position and initial transportation position of the power equipment and generate the transportation distance value;
[0180] S2: Based on the transport distance value, identify the transport status of the power equipment and determine whether the IoT detection terminal enters the state switching mode; if it is determined to enter the state switching mode, execute S3-S5; if it is determined not to enter the state switching mode, repeat S1-S2;
[0181] S3: Collecting comprehensive communication data that affects wireless communication quality, and generating a state switching index based on the comprehensive communication data;
[0182] S4: comparing the state switching index with a preset state switching threshold and selecting a power state;
[0183] S5: Generate a power control instruction according to the power state, and switch the power state of the IoT detection terminal.
[0184] Example 3: Please refer to Figure 3As shown, this embodiment discloses an electronic device, including a processor and a memory;
[0185] Wherein, the memory stores a computer program that can be called by the processor;
[0186] The processor executes the state switching method based on the ELP electric power equipment transportation Internet of Things detection terminal by calling the computer program stored in the memory.
[0187] Since the electronic device introduced in this embodiment is an electronic device used to implement the state switching method based on the ELP electric power equipment transportation Internet of Things detection terminal in Example 1 of the present application, based on the state switching method based on the ELP electric power equipment transportation Internet of Things detection terminal introduced in the embodiment of the present application, the technical personnel of this field can understand the specific implementation method of the electronic device of this embodiment and its various variations, so how the electronic device implements the method in the embodiment of the present application will not be introduced in detail here. As long as the technical personnel of this field implement the electronic device adopted by the state switching method based on the ELP electric power equipment transportation Internet of Things detection terminal in the embodiment of the present application, it belongs to the scope of protection of this application.
[0188] Example 4: Please refer to Figure 4 As shown, this embodiment discloses a computer-readable storage medium on which a rewritable computer program is stored;
[0189] When the computer program is run, the state switching method based on the ELP electric power equipment transportation Internet of Things detection terminal is implemented.
[0190] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. The state switching system based on the ELP power equipment transportation Internet of Things detection terminal is applied to the ELP server, which is characterized by: include: A first data collection module collects the current transportation position and the initial transportation position of the electric power equipment and generates a transportation distance value; The methods for generating the transport distance value include: Query the transport work order to obtain the shipping address and receiving address of the power equipment, and mark the shipping address and receiving address on the electronic map to obtain the transport map; At time T1, the geographical location of the power equipment is obtained through the positioning chip in the IoT detection terminal and recorded as the initial transportation location; Mark the point corresponding to the initial transport position on the transport map and record it as the initial point; After a preset time, the geographical location of the power equipment is obtained through the positioning chip and recorded as the current transportation location; Mark the point corresponding to the current transport position on the transport map and record it as the current point; Use the scale to measure the distance between the current point and the initial point and the shipping address, and obtain the current distance value and the initial distance value; After subtracting the current distance value from the initial distance value, the transportation distance value is obtained; The expression for the transport distance value is: ; In the formula, is the transport distance value, is the current distance value, is the initial distance value; The switching mode determination module identifies the transportation state of the power equipment based on the transportation distance value and determines whether the Internet of Things detection terminal enters the state switching mode; The transportation status includes real-time transportation status and suspended transportation status; The identification method of the real-time transportation status and the suspended transportation status includes: when When it is not 0, the power equipment is identified as being in real-time transportation status; when When it is 0, the power equipment is identified as suspended transportation state; The determination method of whether the IoT detection terminal enters the state switching mode includes: When the electric power equipment is identified as being in a suspended transportation state, it is determined that the Internet of Things detection terminal does not enter a state switching mode; When the power equipment is identified as being in a real-time transport state, it is determined that the IoT detection terminal enters a state switching mode; The second data collection module collects comprehensive communication data that affects the quality of wireless communication, and generates a state switching index based on the comprehensive communication data, wherein the comprehensive communication data includes an obstacle ratio value, an environmental negative value, and a frequency interference value; Methods for obtaining obstacle ratio values include: In the transportation map, a closed circle is drawn with the current point as the reference and the lengths corresponding to the five transportation distance values as the radius, and is recorded as the identification area. The satellite remote sensing image corresponding to the identified area is queried through the map database, all the pixels in the satellite remote sensing image are marked, and the total number of pixels is counted; Scan the pixel values of all the pixels in sequence, and record the pixel points whose pixel values are between the first pixel threshold and the second pixel threshold as target pixel points; Draw lines at the boundary of the target pixel to form a closed area, and obtain target areas and count them one by one The number of target pixels in the target area; The target area where the number of target pixels is greater than the preset number threshold is recorded as the effective area. effective area; Will After the number of target pixels in the effective area is accumulated, it is compared with the total number of pixels to obtain the obstacle ratio value; The expression of obstacle ratio is: ; In the formula, is the obstacle ratio, For the The number of target pixels in the effective area, is the total number of pixels; Methods for obtaining negative environmental values include: The real-time environmental humidity of the current transport location is detected by a humidity sensor, and the time when the real-time environmental humidity reaches the lower limit of the humidity influence for the first time is recorded as the starting time; After the start time, the time when the real-time environmental humidity reaches the upper limit of humidity influence for the first time is recorded as the end time; Subtract the end time from the start time to get the impact duration; The expression that affects the duration is: ; In the formula, To influence the duration, To end the moment, is the starting time; The negative value of the environment is obtained by subtracting the upper limit of the humidity impact from the lower limit of the humidity impact and comparing it with the impact duration. The expression for the negative value of the environment is: ; In the formula, is the negative value of the environment, is the upper limit of moisture impact, It is the lower limit of moisture impact; Methods for obtaining frequency interference values include: Query the radio wave transmission frequency of the IoT detection terminal through the technical parameter table and record it as the terminal frequency; The real-time frequency of the radio waves at the current transport location is detected in real time by an electromagnetic spectrometer, and the real-time frequency that is consistent with the terminal frequency is recorded as the interference frequency; The time when the interference frequency first appears is recorded as the starting time, and when the interference frequency does not appear again within the preset detection period, the time when the interference frequency last appears is recorded as the end time; Count the number of real-time frequencies and the number of interference frequencies between the starting time and the end time, and obtain the total frequency amount and the total interference amount respectively; After comparing the total interference amount with the total frequency amount, a sub-interference value is obtained; The expression of the sub-interference value is: ; In the formula, is the sub-interference value, is the total amount of interference, is the total frequency; Compare the sub-interference value with the difference between the end time and the start time to obtain the frequency interference value; The expression of frequency interference value is: ; In the formula, is the frequency interference value, For the end moment, is the starting time; The expression of the state switching index is: ; In the formula, is the state switching index, , , is the weight factor; A power state selection module compares the state switching index with a preset state switching threshold and selects a power state; The power state includes a low power state and a high power state; The selection methods of low power state and high power state include: Switch state index The preset state switching threshold Compare; when Less than When the power is low, select the low power state; when Greater than or equal to When , select high power state; The power state switching module generates a power control instruction according to the power state and switches the power state of the IoT detection terminal; The power control instructions include instructions for reducing working power and instructions for increasing working power; The method for generating the instruction to reduce the working power and the instruction to increase the working power includes: When the power state is a low power state, generating an instruction to reduce working power; When the power state is a high power state, generating an instruction to increase the working power; The power state switching methods include: When a power reduction instruction is generated, the ELP server sends information on reducing the operating power to the IoT detection terminal, and the IoT detection terminal switches to a low-power state; When an instruction to increase the operating power is generated, the ELP server sends information to increase the operating power to the IoT detection terminal, and the IoT detection terminal switches to a high-power state.
