CN107465608B - Internet of Things Multifunctional gateway based on NB-IoT - Google Patents

Internet of Things Multifunctional gateway based on NB-IoT Download PDF

Info

Publication number
CN107465608B
CN107465608B CN201710705588.4A CN201710705588A CN107465608B CN 107465608 B CN107465608 B CN 107465608B CN 201710705588 A CN201710705588 A CN 201710705588A CN 107465608 B CN107465608 B CN 107465608B
Authority
CN
China
Prior art keywords
interface
network
module
communication
microprocessor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710705588.4A
Other languages
Chinese (zh)
Other versions
CN107465608A (en
Inventor
曹舒雨
穆志洋
洪宽
管虹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Better Technology Co Ltd
Original Assignee
Zhejiang Better Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Better Technology Co Ltd filed Critical Zhejiang Better Technology Co Ltd
Priority to CN201710705588.4A priority Critical patent/CN107465608B/en
Publication of CN107465608A publication Critical patent/CN107465608A/en
Application granted granted Critical
Publication of CN107465608B publication Critical patent/CN107465608B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Abstract

The Internet of Things Multifunctional gateway design based on NB-IoT that the present invention provides a kind of, it is intended to solve the communication issue in two kinds or more wireless or wired sensing communication networks and NB-IoT.Including interface module, conversion module, main control module, NB-IoT mould group.Interface module provides the module interface with other wireless or wired sensing networks;Conversion module realizes the electrical level match and conversion of interface module and main control module;Main control module provides protocol adaptation, the protocol conversion, data processing of each communication network by microprocessor;NB-IoT mould group passes through operator's base station access to communication networks and server communication.Using microprocessor as core component, other network modules are connected by standard Extensible interface, the information exchange between other networks are established with bus mode, and communicated by the base station mobile operator with server with NB-IoT mould group.

Description

Internet of Things Multifunctional gateway based on NB-IoT
Technical field
The present invention relates to radio network gateway fields, more particularly to the Multifunctional gateway based on narrowband Internet of Things.
Background technique
Wireless sensor network is a kind of wireless self-organization network system of oriented mission, usually there is several data gathering nodes It constitutes.The currently used technology for wireless networking includes: the short-range communication techniques such as Zigbee, WiFi, Bluetooth, The wan communications technologies such as LoRa, and the NB-IoT that has just emerged at present.It is also same that different wireless communication techniques respectively has advantage When with the limitation in use: LoRa is transmitted in unlicensed spectrum, and the reliability of transmission, safety are not enough to construct More massive Internet of things system;The short-range communication techniques such as WIFI, Zigbee, Bluetooth, the ad hoc network covering realized Power is not strong, and lacks the standard of unified operation and maintenance in utilization.
With the proposition of NB-IoT, a series of Internet of Things problems are resolved scheme.However due to various wireless communication skills The terminal of art various criterion cannot interconnect, and the ad hoc network for causing traditional wireless communication technology to be formed cannot be led to NB-IoT Letter.To solve the above problems, there is an urgent need to one kind can connect one or more traditional Internet of things system and NB-IoT simultaneously Gateway flexibly to adapt to current increasingly complicated environment of internet of things.
Summary of the invention
For the problems raised in the background art, the present invention provides a kind of Internet of Things Multifunctional gateway suitable for NB-IoT Equipment can complete interconnecting for communication network in current environment and NB-IoT network immediately, it is logical to have expanded serial network Believe range.
For this purpose, the present invention adopts the following technical scheme:
A kind of Internet of Things Multifunctional gateway based on NB-IoT, wherein the gateway include: interface module, conversion module, Main control module, NB-IoT mould group;
The interface module provides the communication module interface with wireless or wired sensing network;The interface module packet It includes: one or more of 485 interface boards, 232 interface boards, CAN interface plate, Ethernet interface, USB interface and indicator light mould Block, 485 interface board are provided with 485 channel interfaces and are used to connect 485 networks, and 232 interface board is provided with 232 channels and connects Mouth is used to connect 232 networks, and the CAN interface plate is provided with CAN channel interface and is used to connect CAN network, and the Ethernet connects Mouth is used to and ethernet communication, and the USB interface is used to connect USB network, and 485 interface board or 232 interface boards respectively can For connecting Zigbee network, Bluetooth network, Wi-Fi network;The interface module passes through interface circuit and conversion module It is connected, is also used to complete interface protection while connecting heterogeneous networks;
The conversion module realizes the electrical level match and conversion of interface module and main control module;The conversion module includes: Bus level conversion circuit, serial expanded circuit and clock circuit;The conversion module passes through bus level conversion circuit and master It controls module to be connected, for expanding the serial ports of main control module and completing the level conversion of serial ports Yu each bus;
The main control module provides protocol adaptation, the protocol conversion, data processing of each communication network by microprocessor; The main control module is using the microprocessor as core component, further includes power module, data memory module and interface circuit;
The NB-IoT mould group passes through operator's base station access to communication networks and server communication;The NB-IoT mould group To work in the case where authorizing frequency spectrum, the Internet of Things communication module group of 3GPP communications protocol is supported;The NB-IoT mould group is controlled comprising SIM Circuit, RTC control circuit, power-supplying circuit;
Using the microprocessor as core component, the microprocessor is connected the gateway with multiple standard Extensible interfaces It connects, can connect one or more communication networks;The microprocessor in a manner of bus by bus level conversion circuit with Each interface is connected;The microprocessor is by the reception or transmission of the complete paired data of interface, and the microprocessor is according to connecing The difference of the data received, parses data and is encapsulated, and target communication network communication protocol is completed in main control module After encapsulation, the data that encapsulation is completed are communicated or are sent to server by the base station mobile operator from NB-IoT mould group Other target networks;
Multiple communication modules of the interface module access and the NB-IoT mould group are under the control of the microprocessor Form internal communication network;The internal communication network is using the microprocessor as core, and the communication module is at micro- place Manage device control under, can independently with NB-IoT mould group two-way communication;
The internal communication network carries out the communication of the communication module and NB-IoT mould group by the microprocessor Coordinate, and carries out protocol conversion, data processing in inside;The microprocessor is each unique mark of communication network setting in advance Know, memory interface address information, whether there are data to need to send according to the address information poll to inquiry port, if desired send out It send and then stops regular hour t in the port, the port meets interface network to microprocessor transmission in time t The message of communication protocol after the microprocessor receives the message, extracts valid data load, and the valid data carry Pocket includes network identity, and parsing data frame reads first character section, obtains the mark of source network and target network;It is adjusted by mark Protocol processes method is taken, destination address and source address are obtained, and be packaged to the data frame extracted, by the microprocessor Target port is sent it to be sent;
The multiple communication module can also be communicated mutually, under the control of the microprocessor in communication process In, all data flows are controlled by the microprocessor;According to setting different network marks in the microprocessor Know, the first character section that data frame is arranged is the combination of source network mark and the target network identity, when micro- place After reason device receives data, the encapsulation of target network agreement, envelope are carried out to current data by first character section in parsing data Data after dress are sent in controller by target port, are communicated with target network.
Preferably, each interface can be extended based on bus interface in the interface module, connect the communication mould Block;Mesh network is constituted by the internal communication network between the communication module, the mesh network is based on bus Token-ring network is physically being bus structures, logically cyclic annular;According to current Interface connection bus, provide Multiple bus interface, one of interface connect main website of the controller as the token bus network, remaining each connect The aggregation node that mouth connects external network controls the multi-hop ad hoc network as host, while being also used as the token bus network A slave station;Communications protocol is defined in the main website, controls the communication of network and the transmitting-receiving of data, and by data by connecing Mouth is sent to the bus control unit in gateway, completes the parsing of agreement, carries out target association to data again in the application layer of gateway The encapsulation of view, is sent to target port.
Preferably, the gateway provides multiple standards interface, can connect including Zigbee, WiFi, Bluetooth, LoRa In wireless sensor network and PLC, RS485, RS232, CAN industrial network any one or more network, by the net Data in network are sent to server by NB-IoT mould group.
Preferably, the ad hoc network of the interface connection in the gateway is multihop network, and connecting on interface is described from group A unique network aggregation node for net, is defined as host, other are slave;The host is every slave point in network Address designator with a byte, and addition to equipment and exiting is managed;The slave described in communication process is to institute It states host and sends data, data are sent to the intra-gateway by interface by the host;The gateway interface connection LoRa network can form multi channel Star Network with the radio frequency chip in the gateway, receive disappearing for each node transmission Breath is sent to intra-gateway and handles data.
Preferably, the main control module carries integrated multiple bus interface, low-power consumption STM32F series monolithic as embedding Enter formula processor, NB-IoT mould group is connected by serial ports.
Preferably, the bus level conversion circuit connects the main control module, electric with extended serial port after level conversion Road, RTC clock circuit are attached;The extended serial port circuit connects asynchronous receipts by the microprocessor spi bus interface Hair device expands 4 road serial line interfaces, connects 485 interface circuits;One is connected using a serial ports in the microprocessor to integrate The slave processor of CAN interface controller for connecting CAN interface circuit, and connects asynchronism transceiver and expands 232 and connect Mouthful;
Preferably, 485 interface board is connect with 485 interface circuit of main control module, and use is anti-lightning strike, supports more piece Cake core ADM2587 is isolated in the single supply of point, and the chip is controlled by 485 interface circuits on the main control module;The CAN Interface board and the main control module CAN interface circuit connection, CAN controller are connected with CAN bus transceiver, wherein CAN bus Transceiver is controlled by the CAN interface circuit on the main control module;Two stages of circuit is equipped with before each channel to carry out interface Protection;By interface board, user independently can select interface to access according to the network in current environment.
Preferably, the power module is respectively each section power supply using the design of 16V, 5V power supply.
The present invention proposed on the basis of meeting and being communicated between traditional Internet of Things network a kind of traditional ad hoc network of solutions and The equipment scheme of NB-IoT communication issue solves the problems, such as that communication distance is short in traditional networking, safety is poor, collects in the program At NB-IoT mould group, multiple standard Extensible interfaces are provided, propose that USB interface is direct-connected, 485 interfaces are direct-connected, the channel CAN is straight Even and 232 interfaces are direct-connected and bus structured networks access scheme, one or more traditional networks can be allowed simultaneously to pass through NB-IoT Module connection telecommunication network is communicated with user terminal server, based on the above, user can connecing according to practical existing ad hoc network Mouth situation and communication mode independently select connection type.In addition, communication module and NB-IoT mould group carry out protocol conversion, Data processing can complete interconnecting for communication network in current environment and NB-IoT network immediately.
Detailed description of the invention
Fig. 1 is general frame figure of the invention.
Fig. 2 is schematic block circuit diagram of the invention.
Fig. 3 is expanded circuit figure of the invention.
Fig. 4 is interface network exploded view of the invention.
Fig. 5 is processor program flow chart of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
General frame of the invention, circuit design and program work process are given below by specific embodiment Further instruction out.
Embodiment one
The gateway uses three layer model, respectively includes articulamentum, core layer and wan communication layer.Wherein articulamentum is used Carry out other ad hoc networks in JA(junction ambient), make its access gateway and is communicated with core layer;Core layer is connected to articulamentum With wan communication layer, agreement fusion, agreement are carried out to the data received from articulamentum and wan communication layer in this layer Conversion, data processing;Wide area network articulamentum is responsible for accessing telecommunication network, is communicated with server.
As shown in Figure 1, being suitable for the Internet of Things Multifunctional gateway of NB-IoT (narrowband Internet of Things) by interface module, modulus of conversion Block, main control module, NB-IoT mould group composition;It provides an expansible USB host interface, Ethernet interface, connect for 4 485 Mouthful, 2 232 interfaces and CAN interface, may be implemented Ethernet, usb bus network, 485 bus network, CAN bus network, The communication mutual between any two of NB-IoT network.
In the gateway main control module, integrated multiple bus interface, low-power consumption STM32L0 series monolithic are carried as embedding Enter formula processor, NB-IoT mould group is connected by serial ports, includes USB network interface circuit, USB host interface is provided;NB-IoT Module is connect by serial ports with microprocessor, and inside includes SIM control circuit, RTC control circuit, 3.8V power-supplying circuit.
Main control module includes extended serial port circuit, bus level conversion circuit, RTC clock circuit;Bus level conversion electricity Road connects main control module, is attached after level conversion with extended serial port circuit, RTC clock circuit;Extended serial port circuit is adopted 4 tunnel, 232 serial line interface is extended with asynchronism transceiver MAX14380, and passes through 485 interface circuit of MAX14840 connection;Using main place UART connects another single-chip microcontroller comprising CAN controller and is used as from processor in reason device, for extend CAN interface circuit with 232 interface circuits avoid the caching of CAN bus from conflicting with USB interface buffer area.
Conversion module includes extended serial port circuit, bus level conversion circuit, RTC clock circuit;Interface module includes 232 Interface board, 485 interface boards, CAN interface plate, Ethernet interface plate and indicator light interface board, for completing the expansion of interface Exhibition and protection, also provide selection for the access of where applicable other communication networks.232 interface boards are by extending string in main control module Mouth circuit obtains, including 2 232 channels, is controlled by 232 interface circuit on main control module;485 interface boards and main control module 485 Interface circuit connection, use is anti-lightning strike, supports the single supply of multinode that cake core ADM2587 is isolated, and the chip is controlled by master 485 interface circuits in module are controlled, an interface board integrates 2 485 channels;CAN interface plate and main control module CAN interface circuit Connection, CAN controller are connected with CAN bus transceiver, and wherein CAN bus transceiver is controlled by the CAN interface on main control module Circuit, every piece of interface board integrate 2 channels CAN;By interface board, user can independently select to connect according to the network in current environment Mouth access.Multiple standard Extensible interface channels are integrated in each interface board;Wherein master control borad passes through bus level conversion circuit It is connected with conversion module, interface module is connected by internal each interface board with the interface circuit in main control module, and controlled In main control module.It is specific as shown in Figure 2.
The single-chip microcontroller that CAN interface and 232 Interface Expanding circuits are selected uses STM32L0 series processors, at this The encapsulation and parsing that CAN bus transport protocol and 232 transport protocols can be completed in reason device, in the data for receiving interface transmission Afterwards, gateway primary processor is sent to by serial ports in time after extracting to valid data.Processor and primary processor keep same Step communication.External 16V, 5V power supply of power module, while built-in DC-DC power module, linear voltage regulator are each section in system Power supply.
STM32L0R8T6 is chosen in an implementation as primary processor, by UART1 connection BC95, by DM in single-chip microcontroller, DP, USBOE, USB_CRS_SYNC, VDD_USB connect usb circuit;Pass through USART2 connection bus level conversion circuit.
It is connected in an implementation using asynchronism transceiver MAX14380 with spi bus in processor and extends 4 road serial line interfaces, is connect Mouthful circuit as shown in figure 3, and wherein will be converted to 485 interface circuits by two-way serial line interface connection MAX14840,;Using STM32F Series monolithic is connect with UART in primary processor, for expanding CAN interface circuit and 232 interface circuits;
232 interface boards are in conversion module from processor extended serial port circuit by obtaining in an implementation, including 2 232 logical Road is controlled by 232 interface circuit from processor;485 interface boards are connect with 485 interface circuit of main control module, use is anti-lightning strike, Support the single supply of multinode that cake core ADM2587 is isolated, and the chip is controlled by 485 interface circuits on main control module, one A interface board integrates 2 485 channels;CAN interface plate and main control module CAN interface circuit connection, CAN controller and CAN bus Transceiver connection, wherein CAN bus transceiver is controlled by the CAN interface circuit on main control module, and every piece of interface board is 2 integrated The channel CAN;
In an implementation, each network module can be independently connected into interface on hardware, usb bus corresponding to interface or It can be communicated, can also be communicated with each other between any two with NB-IoT module by processor respectively in 485 buses or CAN bus.Connection Each network communication module on the bus sends data centered on processor, to processor, is assisted by processor After discussing fusion, protocol conversion, data processing, it is sent to target communication network, in NB-IoT network, data will pass through telecommunications network Network is sent to server.Wherein each interface can be extended based on Current bus interface in interface module, be connected various logical Interrogate module.Mesh network is constituted by the internal communication network between various communication modules, the network is according to current interface Bus is connected, multiple bus interface are provided, one of interface connects main website of the controller as the token bus network, The aggregation node that remaining each interface connects external network controls the multi-hop ad hoc network as host, while being also used as should One slave station of token bus network.Communications protocol is defined in main website, controls the communication of network and the transmitting-receiving of data, and will count Be sent to the bus control unit in gateway according to by interface, complete the parsing of agreement, gateway application layer again to data into The encapsulation of row target protocol, is sent to target port.
The standard interface that gateway provides can connect the wireless sensor networks such as including Zigbee, WiFi, Bluetooth, LoRa, And the network of any one in the industrial networks such as PLC, RS485, RS232, CAN or more.Zigbee module, LoRa module It supports serial communication, 232,485 interfaces can be connected;Bluetooth module, WIFI module support USB port, serial ports;It is other to be usually used in industry Communication module in network supports 485 interfaces or CAN interface;The ad hoc network such as Zigbee, bluetooth are multihop network, on interface Connection is a unique network aggregation node for the ad hoc network, is defined as host, other are slave.The host is in network Every slave distribute the address designator of a byte, and the addition and release of equipment are managed, in communication process Slave is sent into data to host, intra-gateway is sent to by interface;LoRa network connects less radio-frequency by the gateway interface LoRa communication node forms multi channel Star Network in chip and environment, receives the message that each node is sent and is sent to gateway Inside handles data.Network module can form ad hoc network and be connected to interface in wired or wireless manner by interface In, data are sent to processor, agreement is carried out by processor centered on processor with the network including NB-IoT After fusion, protocol conversion, data processing, realization communicates with each other between any two.Specific communication process is accomplished in the following manner:
It is in the processor each net definitions network identity ID, with F for NB-IoT network, E is RS232 network, and D is RS485 network, C are CAN bus network, and B is USB network, and A is Zigbee network, and 9 be Bluetooth network, and 8 be Wi-Fi net Network, 7 be LoRa network.In each network, the first character section for defining data frame is 0x+ source network mark+target network mark Know.
By taking each network module and NB-IoT network communication as an example, when processor receives message from port, data are read First character section in frame, processor is according to the control information carried in data frame, when the first character section for receiving data is When 0xef, data are converted to NB-IoT by RS232, switch to NB-IoT by RS485 when receiving first character section and being 0xdf, work as receipts To first character section to switch to NB-IoT by CAN when 0xcf, NB-IoT is switched to by USB when receiving first character section and being 0xbf, NB-IoT switched to by Zigbee when receiving first character section and being 0xaf, when receiving first character section and being 0x9f by Bluetooth switchs to NB-IoT, by Wi-Fi switchs to NB-IoT when receiving first character section and being 0x8f, when receiving first character NB-IoT is switched to by LoRa when section is 0x7f, it is on the contrary then be to switch to its purpose communication network by NB-IoT.
Processor parses message according to source network mark, extracts valid data, processor therefrom reads purpose Address;According to target network identity, data frame is encapsulated as message with target network communication protocol, it will be packaged by processor Data frame is sent to destination address port, completes two internetwork communications.
In the communication process of network, using poll, in limited time by the way of come control interface data are sent and received, make It obtains and only has one group of network working in a period, avoid conflicting.In netinit, each connection ad-hoc network Interface sends the address information of oneself to processor, they are formed chained list by processor, every time according to chained list to each port into Whether row poll has data to need to send.Chained list is refreshed at regular intervals, more new information.In queries, if currently Port has data to need to send, then stops the time receiving data of some cycles at present port, handle data, counts When after from current location, subsequent interface is traversed according to chained list.
On software, configuration information is written in the processor in advance, and network identity is arranged: with F for NB-IoT network, E is RS232 network, D are RS485 network, and C is CAN bus network, and B is USB network, and A is Zigbee network, and 9 be Bluetooth net Network, 8 be Wi-Fi network, and 7 be LoRa network;The data frame format of its transmission is defined in each network module.
In the course of work, the workflow of primary processor can be subdivided into following steps, and detailed process is as shown in Figure 5:
1, device power, system are initialized, and the interface for accessing network module sends the address of itself to processor, place Reason device, which is written into chained list, to be saved, and configuration information is read from E2PROM, is checked network connection state, and be Basic status amount is configured in system.
2, processor is carried out each interface for having network module to access using " poll system " according to the link table information of preservation It checks, and records and update wrap count m:
If 1) current interface does not have data to need to send, next interface in chained list is inquired;
If 2) current interface has data to need to send, it is to think to set constant that timer, which starts t=nT(n, and T is that processor is every Carry out the process cycle an of packet parsing, encapsulation, transmission) timing, processor starts to handle data:
A) processor receives data frame, identifies from first character section identification target network identity and source network.
B) according to source network identification (RNC-ID) analytic message, key data is extracted, reads destination address;According to target network identity pair Current data frame is packaged with target network communication protocol;
C) packaged data frame is sent to and obtains port corresponding to destination address, and obtained confirmation from target network and receive Message.
After timing, judge whether present port is the last one port address in chained list, if so, updating the value of m; If it is not, then processor inquires interface next in chained list from current location.
3, after m reaches certain numerical value, to system execute it is primary update operation, judge whether there is new interface be added into Chained list.System basic status amount returns to initial value.
As shown in figure 4, each interface can complete extension in the state of current.USB interface can be complete by hub At extension;CAN interface, 485 interfaces, 232 interfaces can use bus and are extended.Interface after extension can connect different Communication module forms an independent token network.Specific implementation is as follows:
According to current Interface connection bus, multiple bus interface are provided, one of interface connects a controller and makees For the main website of the token bus network, communications protocol is defined in main website, controls the communication of network and the transmitting-receiving of data, and will count According to the bus control unit being sent to by interface in gateway.Remaining interface connects an aggregation node of external network according to demand The multi-hop ad hoc network is controlled as host, while also as a slave station of the token bus network.Network is physically total Cable architecture, logically token-ring network realize modules with the data transmit-receive of intra-gateway processor.
Each communication network is individually present mutually, and the communication of any two can be selected manually by operation between network, is selected It selects result and working condition is shown by indicator light.
The principle of the present invention and its effect is only illustrated in above-described embodiment, and is not intended to limit the present invention.It is any ripe The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as At all equivalent modifications or change, should be covered by the claims of the present invention.

Claims (8)

1. a kind of Internet of Things Multifunctional gateway based on NB-IoT, which is characterized in that the gateway includes: interface module, conversion Module, main control module, NB-IoT mould group;
The interface module provides the communication module interface with wireless or wired sensing network;The interface module includes: One or more of 485 interface boards, 232 interface boards, CAN interface plate, Ethernet interface, USB interface and indicating lamp module, 485 interface board is provided with 485 channel interfaces and is used to connect 485 networks, and 232 interface board is provided with 232 channel interfaces For connecting 232 networks, the CAN interface plate is provided with CAN channel interface and is used to connect CAN network, the Ethernet interface It is used to and ethernet communication, the USB interface is used to connect USB network, 485 interface board or 232 interface boards is separately available To connect Zigbee network, Bluetooth network, Wi-Fi network;The interface module passes through interface circuit and conversion module phase Even, also it is used to complete interface protection while connecting heterogeneous networks;
The conversion module realizes the electrical level match and conversion of interface module and main control module;The conversion module includes: bus Level shifting circuit, serial expanded circuit and clock circuit;The conversion module passes through bus level conversion circuit and master control mould Block is connected, for expanding the serial ports of main control module and completing the level conversion of serial ports Yu each bus;
The main control module provides protocol adaptation, the protocol conversion, data processing of each communication network by microprocessor;It is described Main control module is using the microprocessor as core component, further includes power module, data memory module and interface circuit;
The NB-IoT mould group passes through operator's base station access to communication networks and server communication;The NB-IoT mould group is work Make in the case where authorizing frequency spectrum, supports the Internet of Things communication module group of 3GPP communications protocol;The NB-IoT mould group includes SIM control electricity Road, RTC control circuit, power-supplying circuit;
Using the microprocessor as core component, the microprocessor is connected the gateway with multiple standard Extensible interfaces, It can connect one or more communication networks;The microprocessor is passed through bus level conversion circuit and is respectively connect in a manner of bus Mouth is connected;The microprocessor is by the reception or transmission of the complete paired data of interface, and the microprocessor is according to receiving Data difference, data are parsed and are encapsulated, in main control module complete target communication network communication protocol encapsulation Afterwards, the data that encapsulation is completed are communicated by the base station mobile operator and server from NB-IoT mould group or is sent to other Target network;
Multiple communication modules of the interface module access form under the control of the microprocessor with the NB-IoT mould group Internal communication network;The internal communication network is using the microprocessor as core, and the communication module is in the microprocessor Under control, can independently with NB-IoT mould group two-way communication;
The internal communication network coordinates the communication module and the communication of NB-IoT mould group by the microprocessor, And protocol conversion, data processing are carried out in inside;The microprocessor is each communication network setting unique identification, storage in advance Whether interface IP address information has data to need to send, if desired sends and then exist according to the address information poll to inquiry port The port stops regular hour t, and the port meets interface network communication protocols to microprocessor transmission in time t The message of view after the microprocessor receives the message, extracts valid data load, and the valid data load includes Network identity, parsing data frame read first character section, obtain the mark of source network and target network;Agreement is transferred by mark Processing method obtains destination address and source address, and is packaged to the data frame extracted, is sent out by the microprocessor It send to target port and is sent;
The multiple communication module can also be communicated mutually under the control of the microprocessor, in communication process, institute Some data flows are controlled by the microprocessor;According to setting different network identities in the microprocessor, if The first character section for setting data frame is the combination of source network mark and the target network identity, when the microprocessor connects After receiving data, the encapsulation of target network agreement is carried out to current data by first character section in parsing data, after encapsulation Data are sent in controller by target port, are communicated with target network.
2. the Internet of Things Multifunctional gateway according to claim 1 based on NB-IoT, which is characterized in that the interface module In each interface can be extended based on bus interface, connect the communication module;By described between the communication module Internal communication network constitutes mesh network, and it is physically being total that the mesh network, which is the token-ring network based on bus, Cable architecture, it is logically cyclic annular;According to current Interface connection bus, multiple bus interface are provided, one of interface connects Main website of the controller as token bus network is met, the aggregation node that remaining each interface connects external network is made Multi-hop ad hoc network is controlled for host, while also as a slave station of the token bus network;Communication is defined in the main website Agreement controls the communication of network and the transmitting-receiving of data, and data is sent to the bus control unit in gateway by interface, completes The parsing of agreement carries out the encapsulation of target protocol in the application layer of gateway to data again, is sent to target port.
3. the Internet of Things Multifunctional gateway according to claim 1 based on NB-IoT, which is characterized in that the gateway provides Multiple standards interface, can connect including Zigbee, WiFi, Bluetooth, LoRa wireless sensor network and PLC, RS485, In RS232, CAN industrial network any one or more network, by the data in the network pass through NB-IoT mould group send out It send to server.
4. the Internet of Things Multifunctional gateway according to claim 2 based on NB-IoT, which is characterized in that in the gateway The ad hoc network of interface connection is multihop network, connect on interface be the ad hoc network a unique network aggregation node, It is defined as host, other are slave;The host is the address designator of every slave one byte of distribution in network, and right The addition of equipment and exiting is managed;The slave described in communication process sends data to the host, and the host will count The intra-gateway is sent to according to by interface;The LoRa network of the gateway interface connection can be with wirelessly penetrating in the gateway Frequency chip forms multi channel Star Network, receive the message that each node is sent be sent to intra-gateway to data at Reason.
5. the Internet of Things Multifunctional gateway according to claim 1 based on NB-IoT, which is characterized in that the main control module Integrated multiple bus interface, low-power consumption STM32F series monolithic are carried as embeded processor, NB- is connected by serial ports IoT mould group.
6. the Internet of Things Multifunctional gateway according to claim 1 based on NB-IoT, which is characterized in that the bus level Conversion circuit connects the main control module, is attached after level conversion with extended serial port circuit, RTC clock circuit;It is described Extended serial port circuit connects asynchronism transceiver by the microprocessor spi bus interface and expands 4 road serial line interfaces, connects 485 interface circuits;One, which is connected, using a serial ports in the microprocessor is integrated with the slave processor of CAN interface controller, For connecting CAN interface circuit, and connects asynchronism transceiver and expand 232 interfaces.
7. the Internet of Things Multifunctional gateway according to claim 1 based on NB-IoT, which is characterized in that 485 interface Plate is connect with 485 interface circuit of main control module, and use is anti-lightning strike, supports the single supply of multinode that cake core is isolated ADM2587, and the chip is controlled by 485 interface circuits on the main control module;The CAN interface plate and the main control module CAN interface circuit connection, CAN controller are connected with CAN bus transceiver, and wherein CAN bus transceiver is controlled by the master control CAN interface circuit in module;Two stages of circuit is equipped with before each channel to protect interface;Pass through interface board, user Independently interface can be selected to access according to the network in current environment.
8. the Internet of Things Multifunctional gateway according to claim 1 based on NB-IoT, which is characterized in that the power module It is respectively each section power supply using the design of 16V, 5V power supply.
CN201710705588.4A 2017-08-17 2017-08-17 Internet of Things Multifunctional gateway based on NB-IoT Active CN107465608B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710705588.4A CN107465608B (en) 2017-08-17 2017-08-17 Internet of Things Multifunctional gateway based on NB-IoT

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710705588.4A CN107465608B (en) 2017-08-17 2017-08-17 Internet of Things Multifunctional gateway based on NB-IoT

Publications (2)

Publication Number Publication Date
CN107465608A CN107465608A (en) 2017-12-12
CN107465608B true CN107465608B (en) 2019-03-12

Family

ID=60548932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710705588.4A Active CN107465608B (en) 2017-08-17 2017-08-17 Internet of Things Multifunctional gateway based on NB-IoT

Country Status (1)

Country Link
CN (1) CN107465608B (en)

Families Citing this family (43)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108124317A (en) * 2017-12-28 2018-06-05 厦门城联科技有限公司 A kind of bimodulus single-antenna wireless group network system of embedded gateway
CN108391254A (en) * 2018-01-05 2018-08-10 海尔优家智能科技(北京)有限公司 A kind of Internet of Things control method and device
CN108093541A (en) * 2018-01-08 2018-05-29 上海博昂电气有限公司 Lighting device control system
CN107968738A (en) * 2018-01-12 2018-04-27 深圳市英威腾电气股份有限公司 A kind of slave, communication expansion card and group network system
CN110324803A (en) * 2018-03-27 2019-10-11 苏州格联威智能科技有限公司 A kind of radio network gateway and its application based on NB-IoT and ZigBee
CN108684006B (en) * 2018-04-28 2022-03-01 潍坊奥博仪表科技发展有限公司 Dual-standard data transmission circuit and data transmission method
CN108445818B (en) * 2018-05-19 2023-12-12 赵明 Data interaction intelligent terminal system and communication method
CN108810136B (en) * 2018-06-08 2021-06-11 东北农业大学 Communication method and communication equipment based on NB-IoT and LoRa
CN108924042A (en) * 2018-06-14 2018-11-30 芜湖康爱而电气有限公司 The things-internet gateway and implementation method of transparent transmission between a kind of multi-protocols
FR3083408B1 (en) * 2018-06-28 2020-09-18 Sagemcom Energy & Telecom Sas PROCESS FOR TRANSPORTING LORA FRAMES ON A PLC NETWORK.
CN108923935B (en) * 2018-06-29 2021-07-09 天津金汤智能科技发展有限公司 Narrowband Internet of things data analysis management control system, method and application
CN109089177B (en) * 2018-07-09 2022-10-25 福建海缘信息科技有限公司 Quick connection module for modularized all-round IO and gateway
CN108712330A (en) * 2018-07-24 2018-10-26 深圳市丰利源节能科技有限公司 A kind of intelligent gateway based on NB-IOT Radio Transmission Technologys and multi-protocols networking
WO2020052576A1 (en) * 2018-09-16 2020-03-19 U-Thing Technology Ltd Method and system for enabling usb devices to operate as internet of thing (iot) devices based on thing description model
CN111131342B (en) * 2018-10-30 2021-07-23 宁波方太厨具有限公司 Building ad hoc network control method
CN109412631A (en) * 2018-11-23 2019-03-01 北京资信物联科技有限公司 Expandable type LoRa gateway system
CN109561009A (en) * 2018-12-21 2019-04-02 深圳科安达电子科技股份有限公司 A kind of intelligent bridge system of monitor of the railway signal equipment
CN111371827B (en) * 2018-12-26 2023-04-18 中兴通讯股份有限公司 Data transmission method, device and computer readable storage medium
CN111371733B (en) * 2018-12-26 2024-03-12 上海新微技术研发中心有限公司 System, apparatus, method, device and medium supporting NB-IOT protocol and LPmesh protocol
CN109976229A (en) * 2019-04-22 2019-07-05 杭州中恒派威电源有限公司 Cable monitoring device and its control method based on technology of Internet of things
CN111865807A (en) * 2019-04-30 2020-10-30 Oppo广东移动通信有限公司 Lora router and Internet of things system
CN110262989B (en) * 2019-06-14 2024-02-20 福建星云电子股份有限公司 Multifunctional communication converter and communication method
CN110243066B (en) * 2019-06-19 2020-12-29 南京东旭智能科技有限公司 Gateway box for controlling household central air conditioner and control method thereof
CN110519067A (en) * 2019-07-15 2019-11-29 北京航空航天大学 A kind of instrumentation tap system with Internet of Things function
CN110445529B (en) * 2019-08-05 2021-09-24 天宸星通(深圳)科技有限公司 Satellite Internet of things gateway station and information transmission method
CN110650430A (en) * 2019-09-05 2020-01-03 杭州电子科技大学 Design method of remote micro-vector biological wireless monitoring gateway
CN110602768B (en) * 2019-11-13 2020-12-01 江苏东洲物联科技有限公司 Intelligent Internet of things gateway method and device fusing multiple types of data transmission protocols
CN110972097B (en) * 2019-11-13 2022-02-18 中国地震局地震预测研究所 Method and equipment for determining data transmission network
CN110933651A (en) * 2019-12-09 2020-03-27 贵州宝智达网络科技有限公司 Transparent networking equipment based on NB-IOT and Modbus protocol
CN111147365A (en) * 2019-12-25 2020-05-12 上海新物科技有限公司 Modularization thing networking gateway equipment
CN111077839A (en) * 2020-01-17 2020-04-28 江苏卓玉智能科技有限公司 Multi-interface intelligent Internet of things data gateway
CN111240250B (en) * 2020-04-08 2022-07-12 中大检测(湖南)股份有限公司 Multi-interface protocol bidirectional conversion wireless transmission device and control method thereof
CN111488308B (en) * 2020-04-17 2022-11-18 苏州浪潮智能科技有限公司 System and method for supporting multi-processor expansion of different architectures
CN111615133A (en) * 2020-06-19 2020-09-01 国动物联网有限公司 Low-power-consumption transmission equipment for monitoring industrial control equipment
CN112422694A (en) * 2020-12-07 2021-02-26 国网甘肃省电力公司营销服务中心 Method for accessing information of multi-type energy equipment into system based on energy controller
CN113015145B (en) * 2021-03-31 2023-04-07 武汉大学 Multi-protocol supported spatio-temporal information network adapter
CN113115241B (en) * 2021-04-07 2022-11-15 青岛容商天下网络有限公司 Industrial Internet system based on industrial brain
CN113625632B (en) * 2021-08-10 2022-12-02 广域铭岛数字科技有限公司 Multi-scene application gateway, system and control method thereof
CN113888849B (en) * 2021-09-27 2023-08-04 北京法安通安全信息技术股份有限公司 Self-adapting device for fire alarm host bus
CN114125726B (en) * 2021-11-01 2023-02-24 哈尔滨工业大学 Information piggybacking device, system and method for wide area Internet of things under mMTC (multimedia type communication technology) background
CN114157729A (en) * 2021-12-06 2022-03-08 杨金燚 Multi-functional pluggable thing networking module based on LoRaWAN communication
CN114257556A (en) * 2021-12-21 2022-03-29 四川灵通电讯有限公司 Multi-access information processing device and communication method
CN117254987B (en) * 2023-11-15 2024-02-27 网易(杭州)网络有限公司 Communication method, communication device, and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106954233B (en) * 2016-01-07 2021-05-25 中兴通讯股份有限公司 Method for selecting narrow-band Internet of things user core network and communication equipment
CN206350034U (en) * 2016-12-23 2017-07-21 深圳市德传技术有限公司 A kind of RTU control terminals and long-distance intelligent collection and control system
CN107027162A (en) * 2017-06-06 2017-08-08 福建强闽信息科技有限公司 A kind of LoRa intelligent gateways and its application method, Internet of things system

Also Published As

Publication number Publication date
CN107465608A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN107465608B (en) Internet of Things Multifunctional gateway based on NB-IoT
CN207184521U (en) Internet of Things Multifunctional gateway based on NB IoT
CN102761941B (en) A kind of method utilizing ultra-low power consumption wireless smart sensor's network protocol transmission
CN103825883A (en) Multi-protocol conversion equipment based on wireless ZigBee, CAN bus and MODBUS/TCP and realization method thereof
CN108011814A (en) A kind of multi-protocols intelligent gateway and its implementation based on arrowband Internet of Things
CN103763187B (en) IP gateway of EnOcean and KNX and communication network and method
CN106792916A (en) A kind of mixed type remote-wireless sensor network system and its communication means
CN104936273B (en) A kind of Mesh ad-hoc wireless Sensor Network synchronizes suspend mode and the low-power consumption means of communication
CN206759742U (en) A kind of LoRa intelligent gateways, the Internet of things system of multimode communication conversion
CN106341292A (en) Multi-point networking communication system
CN102393702A (en) Method and system for expanding motion control terminal
CN102598796B (en) Sensor node in the method and Star Network of delivery beacon in Star Network (MASTER-SLAVE ADHOC network)
CN102571795B (en) Based on the automatic building control system of BACnet and EIB agreement
CN101227203A (en) Minitype self-adapting collocation type wireless sensor network appliance
CN105281433A (en) Distribution terminal communication system
CN110191032A (en) A method of by non-standard real-time ethernet turn-on time sensitive network
CN208768305U (en) A kind of remote transport gateway based on LoRa technology
Wang et al. Research on agricultural environment information collection system based on lora
Li et al. A kind of intelligent lighting control system using the EnOcean network
Ren et al. Can bus network design based on bluetooth technology
CN206272855U (en) Mixed type remote-wireless sensor network system
CN209590631U (en) Data acquisition device and system based on bluetooth Mesh network
CN201812149U (en) Primary-secondary clock system
CN207354300U (en) A kind of things-internet gateway of wired home
CN207995122U (en) A kind of multi-protocols intelligent gateway based on narrowband Internet of Things

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant