Device for improving networking success rate of Internet of things terminal
Technical Field
This patent relates to the information technology field.
Background
The technology of internet of things is the third revolution of the information technology industry. The internet of things is that any object is connected with a network through information sensing equipment according to an agreed protocol, and the object performs information exchange and communication through an information transmission medium so as to realize functions of intelligent identification, positioning, tracking, supervision and the like.
The municipal administration valve well especially the gas well in the municipal administration valve well is increasing along with the gas application scale and the continuous expansion quantity of application field, and the management degree of difficulty is constantly increaseed, and the valve well on-line monitoring technique based on internet of things is produced in this background. However, in actual work, the terminal of the valve well online monitoring system is usually low in online rate, the online rate of the current test network is basically below 50%, the online rate can not meet the requirement of online monitoring at all, and the type selection and the site selection of the valve well online monitoring equipment become two key links. The network transmission technology adopted by the valve well online monitoring equipment mostly uses mature technologies in the field of Internet of things, and NB-IOT and LoRa are two low-power-consumption wide area network technologies with the greatest development prospect.
In the prior art, the networking success rate of the terminal of the internet of things mainly depends on two factors, wherein the first factor is the technical factor of the terminal of the internet of things, and is called equipment factor for short; the second factor is the factor of the environment of the base station where the terminal of the internet of things is located, which is called the environment factor for short. The device with the name of 2020103091582 for measuring the normal underground signal of the Internet of things equipment on the well is applied in the prior art, the problem that the selection of the monitoring terminal of the valve well online monitoring system is not uniform in standard is solved, multiple factors such as the antenna shape, the antenna type, the circuit process, the electromagnetic compatibility and the component selection of the Internet of things terminal are summarized into uniform physical indexes by using an engineering method, and the technical indexes can simply and effectively measure the network communication capacity of the monitoring terminal without considering environmental factors. In the prior art, an engineering physical index summarizing the environment of a base station where an internet of things terminal is located and a method and a device for improving the online rate of the internet of things terminal by adapting to environmental factors are lacked.
In view of the defects of the prior art, the base station environment communication capacity with good signal-to-noise ratio is far greater than the communication capacity of the base station with good signal strength through network test, so that the device for improving the networking success rate of the terminal of the internet of things comprises a communication signal recording module, a time interval divider, a signal-to-noise ratio average calculator, a base station priority setting module, a time interval priority setting module, a terminal networking priority determiner of the internet of things, a base station monitor and a time interval monitor; according to the invention, through recording networking communication signals of the terminal of the Internet of things, a time interval divider is used for dividing continuous time intervals for connecting different base stations; calculating the average value of the signal-to-noise ratio of each time period by a signal-to-noise ratio average value calculator; the base station priority setting module sorts the base stations connected with the Internet of things terminal at each time interval from large to small according to the average value of the signal-to-noise ratio at each time interval, and generates the priority of the signal-to-noise ratio base stations; and the time period priority setting module sorts the priority of each time period according to the average value of the signal-to-noise ratio of each time period from large to small to generate the signal-to-noise ratio time period priority. Selecting one of the priority of the signal-to-noise ratio base station and the priority of the signal-to-noise ratio time period as the priority used by the terminal equipment of the internet of things by the internet of things terminal networking priority determiner; when the priority of the signal-to-noise ratio base station is used, the base station monitor reads the priority of the signal-to-noise ratio base station and monitors the current networking base station recorded by the communication signal recording module, and when the current networking base station is located in the base station with the highest priority in the priority of the signal-to-noise ratio base station, the terminal of the internet of things is informed to carry out communication; when the signal-to-noise ratio time period priority is used, the time period monitor reads the signal-to-noise ratio time period priority and informs the Internet of things terminal to carry out communication when the signal-to-noise ratio time period priority is in the time period with the highest priority; through the priority algorithm, the networking communication of the Internet of things terminal in a good state in the base station network environment is optimized, and the online rate of the Internet of things terminal is greatly enhanced.
Disclosure of Invention
The device for improving the networking success rate of the terminal of the Internet of things comprises a communication signal recording module, a time interval divider, a signal-to-noise ratio mean calculator, a base station priority setting module, a time interval priority setting module, a terminal networking priority determiner of the Internet of things, a base station monitor and a time interval monitor;
the communication signal recording module records networking signals of the terminal of the Internet of things in real time, wherein the networking signals comprise networking time, networking base station numbers, networking signal-to-noise ratios and networking signal intensity;
a time interval divider is used for dividing continuous time intervals for connecting different base stations, and the networking signal-to-noise ratios with the same networking base station number and continuous networking time are recorded as a signal-to-noise ratio time sequence corresponding to the networking base station number;
calculating the signal-to-noise ratio mean value of the signal-to-noise ratio time sequence corresponding to the networking base station number by a signal-to-noise ratio mean value calculator to generate the signal-to-noise ratio mean value and the time period corresponding to the networking base station number;
the base station priority setting module sorts the signal-to-noise ratio mean value corresponding to the networking base station number and the number of the networking base station in the time period from large to small according to the signal-to-noise ratio mean value corresponding to the networking base station number and the signal-to-noise ratio mean value in the time period, and generates the signal-to-noise ratio base station priority;
the time period priority setting module sorts the signal-to-noise ratio mean value corresponding to the number of the networking base station and the priority of each time period in the time period from large to small according to the signal-to-noise ratio mean value corresponding to the number of the networking base station and the priority of each time period in the time period;
selecting one of the priority of the signal-to-noise ratio base station and the priority of the signal-to-noise ratio time period as the priority used by the terminal equipment of the internet of things by the internet of things terminal networking priority determiner;
when the priority of the signal-to-noise ratio base station is used, the base station monitor reads the priority of the signal-to-noise ratio base station and monitors the number of the current networking base station recorded by the communication signal recording module, and when the number of the current networking base station is the number of the networking base station with the highest priority in the priority of the signal-to-noise ratio base station, the internet-of-things terminal is informed to carry out communication;
when the signal-to-noise ratio period priority is used, the period monitor reads the signal-to-noise ratio period priority and informs the Internet of things terminal to carry out communication when the signal-to-noise ratio period priority is in the period with the highest priority.
Advantageous effects
The invention optimizes the environmental factors of the terminal of the Internet of things by an engineering method, the environmental factors comprise the physical conditions of the base station, the periodic user networking characteristics and the aperiodic user networking characteristics of the base station, and the environmental factors are added into the composition module of the terminal of the Internet of things in a priority optimization mode by the realization of the invention, thereby greatly improving the communication success rate of the terminal of the Internet of things.
Drawings
FIG. 1 is a schematic structural diagram of the present invention.
Detailed description of the invention
Referring to fig. 1, the device for improving the networking success rate of the internet of things terminal, which is provided by the invention, is composed of a communication signal recording module 1, a time interval divider 2, a signal-to-noise ratio mean calculator 3, a base station priority setting module 4, a time interval priority setting module 5, an internet of things terminal networking priority determiner 6, a base station monitor 7 and a time interval monitor 8;
the communication signal recording module 1 records networking signals of the terminal of the Internet of things in real time, wherein the networking signals comprise networking time, networking base station numbers, networking signal-to-noise ratios and networking signal intensity;
a time interval divider 2 divides continuous time intervals for connecting different base stations, and records the networking signal-to-noise ratios with the same networking base station number and continuous networking time as a signal-to-noise ratio time sequence corresponding to the networking base station number;
the signal-to-noise ratio mean value calculator 3 calculates the signal-to-noise ratio mean value of the signal-to-noise ratio time sequence corresponding to the networking base station number to generate the signal-to-noise ratio mean value and the time period corresponding to the networking base station number;
the base station priority setting module 4 sorts the signal-to-noise ratio mean value corresponding to the number of the networking base station and the number of the networking base station in the time period from large to small according to the signal-to-noise ratio mean value corresponding to the number of the networking base station and the number of the networking base station in the time period, and generates the priority of the signal-to-noise ratio base station;
the time period priority setting module 5 sorts the signal-to-noise ratio mean value corresponding to the number of the networking base station and the priority of each time period in the time period from large to small according to the signal-to-noise ratio mean value corresponding to the number of the networking base station and the priority of each time period in the time period;
the Internet of things terminal networking priority determiner 6 selects one of the signal-to-noise ratio base station priority and the signal-to-noise ratio time period priority as the priority used by the Internet of things terminal equipment;
when the priority of the signal-to-noise ratio base station is used, the base station monitor 7 reads the priority of the signal-to-noise ratio base station and monitors the current networking base station number recorded by the communication signal recording module, and when the current networking base station number is the networking base station number with the highest priority in the priority of the signal-to-noise ratio base station, the internet-of-things terminal is informed to carry out communication;
when the signal-to-noise ratio period priority is used, the period monitor 8 reads the signal-to-noise ratio period priority and notifies the internet of things terminal to perform communication when the period is the time period with the highest priority in the signal-to-noise ratio period priority.