A kind of monitoring system and monitoring method based on NB-IoT
Technical field
The present invention relates to mobile communication technology field, more particularly, to it is a kind of suitable for company of handset module based on NB-
The monitoring system and monitoring method of IoT.
Background technique
As the construction and development of mobile communications network reach its maturity, the work of the depth optimization of cordless communication network gradually at
For the focus of major carrier network optimization.During to wireless communication network optimization frequently with mode be to communication
Equipment or communication device are monitored, the state of real-time monitoring equipment, when communication equipment or communication device break down
It can timely be handled, it is ensured that cordless communication network works normally.Communication is set using wireless GPRS technology in the prior art
Standby or communication device is monitored, however GPRS signal is weak, and power consumption is high, and the communication equipment or communication device quantity that access have
Limit.
Summary of the invention
It is an object of the invention to overcome the deficiencies of existing technologies, provide that a kind of signal is good, low in energy consumption, access device quantity
More monitoring systems and monitoring method based on NB-IoT.
To achieve the above object, the following technical solutions are proposed: a kind of monitoring system based on NB-IoT by the present invention, including micro-
Processor module, NB-IoT communication module and company of handset module, wherein
The company of handset module and the NB-IoT communication module, microprocessor module communicate to connect, and accuse for exporting
Information is warned to microprocessor module;
The microprocessor module is believed for judging whether the warning information needs to report, and by the alarm for needing to report
Breath is transmitted to company of handset module by NB-IoT communication module, is gone out by the company of handset module transfer.
Preferably, the company of handset module, which also passes through base station and communicates with network management center, connect, the institute that will need to report
It states warning information and network management center is transmitted to by base station.
Preferably, the NB-IoT communication module, which is also used to receive, is answered by the network management center by what base station sended over
Information is answered, and response message is sent to microprocessor module, by the microprocessor module to being sent after response information processing
To company of handset module, company of handset module stops sending a warning message after receiving response message.
Preferably, the monitoring system based on NB-IoT further includes interface module, and the interface module includes at least one
A RJ45 communication interface modules, the company of handset module are communicated by the RJ45 communication interface modules with microprocessor module
Letter connection.
Preferably, the interface module further includes at least one RS232 communication interface modules and at least one RS485
Communication interface modules, the RS232 communication interface modules and RS485 communication interface modules communicate company with microprocessor module
It connects.
Preferably, the monitoring system based on NB-IoT further includes the memory of information for storing data, described to deposit
Reservoir is connected with the microprocessor module.
Preferably, the memory includes at least flash storage and random access memory.
Preferably, the monitoring system based on NB-IoT further includes charging for charging the battery the battery of management
Management module, the battery charging management module is communicated with microprocessor module to be connect.
Preferably, the monitoring system based on NB-IoT further includes the power management for carrying out power management to system
Chip module, the power management chip module is communicated with microprocessor module to be connect.
A kind of monitoring method of the monitoring system based on NB-IoT, includes the following steps:
S1, company of handset module send a warning message to microprocessor module;
S2, microprocessor module judge whether the warning information needs to report, and the warning information for needing to report is passed
Transport to NB-IoT communication module;
The warning information is transmitted to company of handset module by S3, NB-IoT communication module, by the company of handset module
It transfers out.
Preferably, in step s3, the company of handset module is passed the warning information for needing to report by base station
Transport to network management center.
Preferably, the network management center is also sent by base station and acknowledges message to NB-IoT communication module, NB-IoT communication
Response message is sent to microprocessor module by module, and microprocessor module is to being sent to company of handset mould after response Message Processing
Block, company of handset module stop sending a warning message after receiving response message.
Compared with prior art, the beneficial effects of the present invention are:
(1) company of handset module can be monitored in real time, realizes the real-time Transmission of warning information;
(2) monitoring system is based on NB-IoT communication protocol, has the advantages that signal is good, low in energy consumption, access device quantity is more;
(3) monitoring system can dock China Mobile docking China Mobile's Internet of Things open platform OneNet or Huawei
OceanConnect platform or own monitor supervision platform are convenient for integrating monitoring and data statistic analysis.
Detailed description of the invention
Fig. 1 is structural block diagram schematic diagram of the invention;
Fig. 2 is that data transmission flow diagram of the invention is intended to;
Fig. 3 is monitoring method flow chart schematic diagram of the invention.
Specific embodiment
Below in conjunction with attached drawing of the invention, clear, complete description is carried out to the technical solution of the embodiment of the present invention.
A kind of disclosed monitoring system and monitoring method based on NB-IoT is suitable for monitoring company of handset mould
Block can be monitored some company of handset modules that can not be monitored, such as the warning information of monitoring company of handset module.
Referring to figs. 1 and 2, a kind of monitoring system based on NB-IoT, including microprocessor module (MCU), NB-
IoT communication module and company of handset module.Company of handset module is communicated with microprocessor module to be connect, NB-IoT communication
Module is communicated with microprocessor module and is connect, meanwhile, NB-IoT communication module is also communicated with company of handset module and is connect.
Specifically, company of handset module is for covering signal blind zone, wirelessly by received base station signal
It is sent to user hand generator terminal, meanwhile, received mobile phone end signal is sent to base station.Company of handset module during the work time can
Generate some unstable factors, such as low-power output, low-voltage.In the present embodiment, illustrate hand so that low-power exports as an example
How machine companion module generates low-power outputting alarm information.Company of handset module compares output power with preset threshold,
When output power is lower than preset threshold, low-power outputting alarm information is generated.If output power preset threshold is 20dbm, when
When output power is lower than 20dbm, then low-power outputting alarm information is generated.
After company of handset module generates warning information, which is exported into microprocessor module, microprocessor
Module judges whether to need to report to the network management center on backstage according to warning information, for needing to report the alarm of network management center to believe
Breath, microprocessor module is based on NB-IoT agreement and encodes to warning information, and the warning information after coding is passed through NB-
IoT communication module is transmitted to company of handset module, and warning information is sent in network management center by company of handset module by base station.
Response is made after receiving warning information by network management center.Specifically, network management center sends response message by base station
Into NB-IoT communication module, the response message is equally based on NB-IoT protocol code and is formed, and NB-IoT communication module will answer
It answers information and is sent to microprocessor module, microprocessor module exports after decoding to response message to company of handset module, mobile phone
Companion's module stops sending a warning message after receiving response message.
As shown in Figure 1, the monitoring system based on NB-IoT further includes interface module, interface module includes at least one RJ45
Communication interface modules.When it is implemented, company of handset module is communicated by RJ45 communication interface modules with microprocessor module
Connection, on the one hand pass through the warning information that RJ45 communication interface modules is generated is sent to microprocessor mould to company of handset module
In block, on the other hand also passing through RJ45 communication interface modules is the power supply of entire monitoring system.Further, interface module further includes
At least one RS232 communication interface modules and at least one RS485 communication interface modules, RS232 communication interface modules and
RS485 communication interface modules, which is communicated with microprocessor module, to be connect.When it is implemented, passing through RS232 communication interface modules
With RS485 communication interface modules can external other equipment, other equipment include company of handset module.
As shown in Figure 1, the monitoring system based on NB-IoT further includes the memory of information for storing data, memory with
Microprocessor module communicates connection.Memory includes flash storage, random access memory.
Further, the monitoring system based on NB-IoT further includes battery charging management module and power management chip mould
Block, battery charging management module and power management chip module are communicated with microprocessor module and are connect.Battery charging management
Module is used to carry out management of charging and discharging to battery;Power management chip module is used to carry out power management to system, such as controls defeated
Enter the voltage etc. into microprocessor module.
As shown in figure 3, a kind of monitoring method of the monitoring system based on NB-IoT, comprising: company of handset module, which is sent, accuses
Information is warned to microprocessor module;Microprocessor module judges whether the warning information needs to report, and needs are reported
Warning information is transmitted to NB-IoT communication module;The warning information is transmitted to company of handset module by NB-IoT communication module,
It is gone out by the company of handset module transfer.
Specifically, after company of handset module generates warning information, which is exported into microprocessor module, it is micro-
Processor module judges whether to need to report to the network management center on backstage according to warning information, for needing to report network management center
Warning information, microprocessor module is based on NB-IoT agreement and encodes to warning information, and the warning information after coding is led to
It crosses NB-IoT communication module and is transmitted to company of handset module, warning information is sent in network management by company of handset module by base station
In the heart.
Further, response is made after receiving warning information by network management center.Specifically, network management center is sent by base station
Into NB-IoT communication module, the response message is equally based on NB-IoT protocol code and is formed response message, NB-IoT communication
Response message is sent to microprocessor module by module, and microprocessor module exports after decoding to response message to company of handset mould
Block, company of handset module stop sending a warning message after receiving response message.
Monitoring system and monitoring method of the present invention based on NB-IoT can carry out company of handset module real-time
Monitoring, realizes the real-time Transmission of warning information, company of handset module is made to be constantly in optimum state;And monitoring system is based on NB-
IoT communication protocol has the advantages that signal is good, low in energy consumption, access device quantity is more.Meanwhile the monitoring system based on NB-IoT
China Mobile Internet of Things open platform OneNet or Huawei's OceanConnet platform or own monitor supervision platform can be docked, just
In integrating monitoring and data statistic analysis.
Technology contents and technical characteristic of the invention have revealed that as above, however those skilled in the art still may base
Make various replacements and modification without departing substantially from spirit of that invention, therefore, the scope of the present invention in teachings of the present invention and announcement
It should be not limited to the revealed content of embodiment, and should include various without departing substantially from replacement and modification of the invention, and be this patent Shen
Please claim covered.