CN109040186A - A kind of mqtt data processing method and device based on nbiot network - Google Patents

A kind of mqtt data processing method and device based on nbiot network Download PDF

Info

Publication number
CN109040186A
CN109040186A CN201810702229.8A CN201810702229A CN109040186A CN 109040186 A CN109040186 A CN 109040186A CN 201810702229 A CN201810702229 A CN 201810702229A CN 109040186 A CN109040186 A CN 109040186A
Authority
CN
China
Prior art keywords
mqtt
data
nbiot
monitoring
control
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.)
Pending
Application number
CN201810702229.8A
Other languages
Chinese (zh)
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.)
Hubei Haina Sky Eagle Technology Development Co Ltd
Original Assignee
Hubei Haina Sky Eagle Technology Development 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 Hubei Haina Sky Eagle Technology Development Co Ltd filed Critical Hubei Haina Sky Eagle Technology Development Co Ltd
Priority to CN201810702229.8A priority Critical patent/CN109040186A/en
Publication of CN109040186A publication Critical patent/CN109040186A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/561Adding application-functional data or data for application control, e.g. adding metadata
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Library & Information Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of mqtt data processing method and device based on nbiot network, applied to a mqtt message proxy server, the mqtt message proxy server and a polymorphic type NBIoT environment monitoring equipment NBIoT are connected to the network, the described method includes: obtaining continuous monitoring data according to the polymorphic type NBIoT environment monitoring equipment and being converted to mqtt data packet;Control is received by more concurrent mqtt data packets, and con current control and message forwarding are carried out to the mqtt data packet;Control is parsed by mqtt custom protocol, customized parsing is carried out to the mqtt data packet, obtain corresponding monitoring data;The monitoring data is subjected to classification storage by mqtt data storage cell;If mqtt message proxy server described in cloud platform and/or big data analysis platform access, the monitoring data is sent to cloud platform and/or big data analysis platform by the mqtt data storage cell.Reached by the method and device and reliably the continuous data of enviromental monitoring equipment has been transmitted, has constructed the technical effect of environment monitoring system.

Description

A kind of mqtt data processing method and device based on nbiot network
Technical field
The present invention relates to technical field of data processing more particularly to a kind of data processing sides mqtt based on nbiot network Method and device.
Background technique
Really to realize effective management to ecological environment, it is necessary to solve that environment monitoring data source is true, environment monitoring Key issues of process pipe must live, environment monitoring effect is visible.
But present inventor during inventive technique scheme, has found above-mentioned technology in realizing the embodiment of the present application At least have the following technical problems:
Although also gradually being opened currently, gradually recognizing the importance of environment protection digital and the necessity of environment monitoring in industry It establishes and has set a collection of environment monitoring system, but these monitoring systems are often built-up by Small Universal type sensor, simultaneously It is a kind of monitoring thinking of topical regional, the data monitored have the characteristics that not exclusively professional, regional.
Summary of the invention
The embodiment of the invention provides a kind of mqtt data processing method and device based on nbiot network, solve existing There is environmental monitoring data in technology unprofessional, the technical issues of topical regional, has reached reliably to enviromental monitoring equipment Continuous data is transmitted, and the technical effect of environment monitoring system is constructed.
In view of the above problems, propose the embodiment of the present application in order to provide a kind of mqtt data based on nbiot network at Manage method and apparatus.
In a first aspect, being applied to one the present invention provides a kind of mqtt data processing method based on nbiot network Mqtt message proxy server, the mqtt message proxy server and a polymorphic type NBIoT environment monitoring equipment NBIoT net Network connection, which comprises according to the polymorphic type NBIoT environment monitoring equipment, obtain continuous monitoring data and be converted to Mqtt data packet;Control is received by more concurrent mqtt data packets, and con current control and message turn are carried out to the mqtt data packet Hair;Control is parsed by mqtt custom protocol, customized parsing is carried out to the mqtt data packet, obtain corresponding monitoring number According to;The monitoring data is subjected to classification storage by mqtt data storage cell;If cloud platform and/or big data analysis The monitoring data is sent to cloud and put down by mqtt message proxy server described in platform access, the mqtt data storage cell Platform and/or big data analysis platform.
Preferably, described to receive control to mqtt data packet progress con current control by more concurrent mqtt data packets It is forwarded with message, further includes: judge whether more concurrent mqtt data packets receive normal;If more concurrent mqtt numbers It is received normally according to packet, customized parsing is carried out to the mqtt data packet by mqtt custom protocol analysis software, obtains phase The monitoring data answered.
Preferably, the method also includes: if more concurrent mqtt data packet receives abnormal, starting is concurrently controlled Administrative mechanism processed implements connection control.
It is preferably, described that customized parsing is carried out to the mqtt data packet by mqtt custom protocol parsing control, Obtain corresponding monitoring data, further includes: judge whether the customized parsing is normal;If the customized parsing is normal, The monitoring data is subjected to classification storage using corresponding storage method.
Preferably, the method also includes: if it is described it is customized parsing it is abnormal, abandon the monitoring data.
Second aspect, the present invention provides a kind of mqtt data processing equipments based on nbiot network, are applied to one Mqtt message proxy server, the mqtt message proxy server and a polymorphic type NBIoT environment monitoring equipment NBIoT net Network connection, described device include:
First obtains unit, the first obtains unit are used to be obtained according to the polymorphic type NBIoT environment monitoring equipment It obtains continuous monitoring data and is converted to mqtt data packet;
First receiving unit, first receiving unit are used to receive control to described by more concurrent mqtt data packets Mqtt data packet carries out con current control and message forwarding;
Second obtaining unit, second obtaining unit are used to parse control to described by mqtt custom protocol Mqtt data packet carries out customized parsing, obtains corresponding monitoring data;
First storage unit, first storage unit are used to pass through mqtt data storage cell for the monitoring data Carry out classification storage;
First transmission unit, if first transmission unit is used for cloud platform and/or big data analysis platform access institute Mqtt message proxy server is stated, the monitoring data is sent to cloud platform and/or big number by the mqtt data storage cell According to analysis platform.
Preferably, described device further include:
First judging unit, first judging unit is for judging whether just more concurrent mqtt data packets receive Often;
Third obtaining unit is led to if the third obtaining unit receives normally for more concurrent mqtt data packets It crosses mqtt custom protocol analysis software and customized parsing is carried out to the mqtt data packet, obtain corresponding monitoring data.
Preferably, described device further include:
First start unit, if first start unit is abnormal for more concurrent mqtt data packets receptions, Start intercurrent control management mechanism, implements connection control.
Preferably, described device further include:
Whether second judgment unit, the second judgment unit are normal for judging the customized parsing;
Second storage unit, if second storage unit is normal for the customized parsing, by the monitoring number According to using corresponding storage method to carry out classification storage.
Preferably, described device further include:
First discarding unit abandons the prison if first discarding unit is abnormal for the customized parsing Measured data.
The third aspect, the present invention provides a kind of mqtt data processing equipment based on nbiot network, including memory, Processor and storage on a memory and the computer program that can run on a processor, the processor execution described program When perform the steps of
According to the polymorphic type NBIoT environment monitoring equipment, obtains continuous monitoring data and be converted to mqtt data packet;
Control is received by more concurrent mqtt data packets, and con current control and message forwarding are carried out to the mqtt data packet;
Control is parsed by mqtt custom protocol, customized parsing is carried out to the mqtt data packet, obtain corresponding Monitoring data;
The monitoring data is subjected to classification storage by mqtt data storage cell;
If mqtt message proxy server described in cloud platform and/or big data analysis platform access, the mqtt data The monitoring data is sent to cloud platform and/or big data analysis platform by storage unit.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects Fruit:
1. a kind of mqtt data processing method and device based on nbiot network provided by the embodiments of the present application, are applied to One mqtt message proxy server, the mqtt message proxy server and a polymorphic type NBIoT environment monitoring equipment NBIoT Network connection, which comprises according to the polymorphic type NBIoT environment monitoring equipment, obtain continuous monitoring data and convert For mqtt data packet;Control is received by more concurrent mqtt data packets, and con current control and message are carried out to the mqtt data packet Forwarding;Control is parsed by mqtt custom protocol, customized parsing is carried out to the mqtt data packet, obtain corresponding monitoring Data;The monitoring data is subjected to classification storage by mqtt data storage cell;If cloud platform and/or big data point Mqtt message proxy server described in platform access is analysed, the monitoring data is sent to cloud by the mqtt data storage cell Platform and/or big data analysis platform.Solve in the prior art that environmental monitoring data is not professional, the technology of topical regional Problem has reached and has reliably transmitted to the continuous data of enviromental monitoring equipment, the technology effect of building environment monitoring system Fruit.
2. the embodiment of the present application is by judging that it is whether normal that more concurrent mqtt data packets receive;If more than described simultaneously It sends out mqtt data packet to receive normally, customized solution is carried out to the mqtt data packet by mqtt custom protocol analysis software Analysis, obtains corresponding monitoring data, reaches the technical effect for obtaining correct detection data.
3. whether the embodiment of the present application is normal by judging the customized parsing;If the customized parsing is normal, The monitoring data is subjected to classification storage using corresponding storage method, reaches the technical effect for storing correct monitoring data.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the mqtt data processing method based on nbiot network in the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of the mqtt data processing equipment based on nbiot network in the embodiment of the present invention;
Fig. 3 is the structural representation of mqtt data processing equipment of the another kind based on nbiot network in the embodiment of the present invention Figure.
Specific embodiment
The embodiment of the invention provides a kind of mqtt data processing method and device based on nbiot network, solve existing There is environmental monitoring data in technology unprofessional, the technical issues of topical regional, has reached reliably to enviromental monitoring equipment Continuous data is transmitted, and the technical effect of environment monitoring system is constructed.
Technical solution general thought provided by the invention is as follows:
Applied to a mqtt message proxy server, the mqtt message proxy server and a polymorphic type NBIoT environmental protection Monitoring device NBIoT network connection, which comprises according to the polymorphic type NBIoT environment monitoring equipment, obtain continuous Monitoring data are simultaneously converted to mqtt data packet;Control is received by more concurrent mqtt data packets to carry out the mqtt data packet Con current control and message forwarding;Control is parsed by mqtt custom protocol, and customized parsing is carried out to the mqtt data packet, Obtain corresponding monitoring data;The monitoring data is subjected to classification storage by mqtt data storage cell;If cloud platform And/or mqtt message proxy server described in big data analysis platform access, the mqtt data storage cell is by the prison Control data are sent to cloud platform and/or big data analysis platform.Solves environmental monitoring number in the prior art by the above method According to unprofessional, the technical issues of topical regional, reach and reliably the continuous data of enviromental monitoring equipment has been transmitted, Construct the technical effect of environment monitoring system.
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that this Shen Please the specific features in embodiment and embodiment be detailed description to technical scheme, rather than to the application The restriction of technical solution, in the absence of conflict, the technical characteristic in the embodiment of the present application and embodiment can be mutual group It closes.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates may exist three kinds Relationship, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, Character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Embodiment one
Fig. 1 is a kind of flow diagram of the mqtt data processing method based on nbiot network in the embodiment of the present invention. As shown in Figure 1, a kind of mqtt data processing method based on nbiot network, is applied to a mqtt (Message Queuing Telemetry Transport, message queue telemetering transmission) message proxy server, the mqtt message proxy server with One polymorphic type NBIoT (Narrow Band Internet of Things, narrowband Internet of Things) environment monitoring equipment NBIoT network Connection, which comprises
Step 110: according to the polymorphic type NBIoT environment monitoring equipment, obtaining continuous monitoring data and be converted to mqtt Data packet;
Specifically, the polymorphic type NBloT environmental protection test equipment includes flue gas class environmental protection test equipment, flue dust class ring Monitoring device, oil smoke class environment monitoring equipment, ozone class environment monitoring equipment, VOC class environment monitoring equipment etc. are protected, for examining Survey the parameters such as extension, flue dust, oil smoke, ozone, the VOC in environment.The polymorphic type NBloT environmental protection test equipment is traditional On the basis of the monitoring functions such as flue gas, flue dust, oil smoke, ozone, VOC, increased pair from communications protocol, transmission instruction etc. The support of NBIoT network, so as to realize the communication link based on NBIoT network, for the mqtt number based on NBIoT network Data source basis is provided according to sending.Continuous monitoring data are obtained from the polymorphic type NBIoT environment monitoring equipment, and will The data are converted to the mqtt data packet based on NBIoT network.
Step 120: receiving control by more concurrent mqtt data packets and is carried out by con current control and is disappeared for the mqtt data packet Breath forwarding;
Specifically, more concurrent mqtt data packets use the publish/subscribe mechanism based on theme, pass through more examples Con current control realize polymorphic type equipment access balance, support towards single-point, cluster or bridge networking reliable news road By holding equipment condition managing interface can carry out fast integration by plug-in unit and existing certification or storage system.By mostly simultaneously It sends out mqtt data packet and receives the mqtt data packet, and con current control and message forwarding are carried out to the mqtt data packet.
Step 130: control being parsed by mqtt custom protocol, customized parsing is carried out to the mqtt data packet, obtained Obtain corresponding monitoring data;
Specifically, mqtt custom protocol analysis software is installed in the customized parsing control of mqtt, it is described Mqtt custom protocol analysis software obtains monitoring data for parsing to the mqtt data packet by custom protocol. The mqtt custom protocol analysis software uses expansible building mode, and the quick of different agreement parsing module is supported to insert It pulls out, to meet quickly accessing and changing for different type environment monitoring equipment.
Step 140: the monitoring data is carried out by classification storage by mqtt data storage cell;
Specifically, the mqtt data storage cell is used to after the monitoring data are classified store, institute Mqtt data storage cell is stated in such a way that more example relationship type databases and unstructured caching mechanism combine, is met The read and write access requirement of the mqtt data stored.
Step 150: if mqtt message proxy server described in cloud platform and/or big data analysis platform access, described The monitoring data is sent to cloud platform and/or big data analysis platform by mqtt data storage cell.
Specifically, the mqtt message proxy server includes that more concurrent mqtt data packet receptions control, is described Mqtt custom protocol parses control and the mqtt data storage cell.When cloud platform and/or big data analysis platform access The monitoring data of storage is sent to cloud platform by the mqtt message proxy server, the mqtt data storage cell And/or big data analysis platform, for consulting.
Further, described that the mqtt data packet is concurrently controlled by more concurrent mqtt data packets reception controls System and message forwarding, further includes:
Judge whether more concurrent mqtt data packets receive normal;
If more concurrent mqtt data packets receive normally, by mqtt custom protocol analysis software to described Mqtt data packet carries out customized parsing, obtains corresponding monitoring data.
Further, the method also includes:
If more concurrent mqtt data packets receive abnormal, starting intercurrent control management mechanism, implementation connection control System.
Specifically, after more concurrent mqtt data packet reception controls receive the mqtt data packet, it is first First judge to receive more concurrent mqtt data packets it is whether normal, if more concurrent mqtt data packets receive control pair The mqtt data packet receives normally, then the mqtt custom protocol analysis software makes the mqtt data packet by oneself Justice parsing, obtains corresponding monitoring data.If more concurrent mqtt data packets receive control and connect to the mqtt data packet Receive abnormal, more concurrent mqtt data packets receive control starting intercurrent control management mechanism, implement connection control, again More concurrent mqtt data packets are received.
Further, described that control is parsed to the customized solution of mqtt data packet progress by mqtt custom protocol Analysis, obtains corresponding monitoring data, further includes:
Judge whether the customized parsing is normal;
If the customized parsing is normal, the monitoring data is subjected to classification storage using corresponding storage method.
Further, the method also includes:
If the customized parsing is abnormal, the monitoring data are abandoned.
Specifically, described make the mqtt data packet by oneself by mqtt custom protocol parsing control After justice parsing, the mqtt custom protocol analysis software judges whether the customized parsing is normal, if described customized Parsing is normal, and the mqtt data storage cell is divided the monitoring data after parsing using corresponding storage method Class storage.If abnormal, the monitoring data after abandoning the parsing of the customized parsing.
In the present embodiment, solve in the prior art that environmental monitoring data is not professional by the method, regional area Property the technical issues of, reached and reliably the continuous data of enviromental monitoring equipment transmitted, building environment monitoring system Technical effect.
Embodiment two
Based on inventive concept same as a kind of mqtt data processing method based on nbiot network in previous embodiment, The present invention provides a kind of mqtt data processing equipments based on nbiot network, as shown in Fig. 2, being applied to a mqtt message generation Server is managed, the mqtt message proxy server and a polymorphic type NBIoT environment monitoring equipment NBIoT are connected to the network, described Device includes:
First obtains unit 11, the first obtains unit 11 according to the polymorphic type NBIoT environment monitoring for setting It is standby, it obtains continuous monitoring data and is converted to mqtt data packet;
First receiving unit 12, first receiving unit 12 are used to receive control pair by more concurrent mqtt data packets The mqtt data packet carries out con current control and message forwarding;
Second obtaining unit 13, second obtaining unit 13 are used to parse control to institute by mqtt custom protocol It states mqtt data packet and carries out customized parsing, obtain corresponding monitoring data;
First storage unit 14, first storage unit 14 are used to pass through mqtt data storage cell for the monitoring Data carry out classification storage;
First transmission unit 15, if first transmission unit 15 is visited for cloud platform and/or big data analysis platform Ask the mqtt message proxy server, the mqtt data storage cell by the monitoring data be sent to cloud platform and/or Big data analysis platform.
Preferably, described device further include:
First judging unit, first judging unit is for judging whether just more concurrent mqtt data packets receive Often;
Third obtaining unit is led to if the third obtaining unit receives normally for more concurrent mqtt data packets It crosses mqtt custom protocol analysis software and customized parsing is carried out to the mqtt data packet, obtain corresponding monitoring data.
Preferably, described device further include:
First start unit, if first start unit is abnormal for more concurrent mqtt data packets receptions, Start intercurrent control management mechanism, implements connection control.
Preferably, described device further include:
Whether second judgment unit, the second judgment unit are normal for judging the customized parsing;
Second storage unit, if second storage unit is normal for the customized parsing, by the monitoring number According to using corresponding storage method to carry out classification storage.
Preferably, described device further include:
First discarding unit abandons the prison if first discarding unit is abnormal for the customized parsing Measured data.
The various change mode of mqtt data processing method of one of 1 embodiment 1 of earlier figures based on nbiot network A kind of mqtt data processing equipment based on nbiot network of the present embodiment is equally applicable to specific example, by aforementioned right A kind of detailed description of the mqtt data processing based on nbiot network, those skilled in the art are clear that this implementation A kind of implementation method of the mqtt data processing equipment based on nbiot network in example, so in order to illustrate the succinct of book, herein No longer it is described in detail.
Embodiment three
Based on inventive concept same as a kind of mqtt data processing method based on nbiot network in previous embodiment, Mqtt data processing equipment the present invention also provides another kind based on nbiot network, is stored thereon with computer program, the journey A kind of either mqtt data processing method based on nbiot network described previously method is realized when sequence is executed by processor Step.
Wherein, in Fig. 3, bus architecture (is represented) with bus 300, and bus 300 may include any number of interconnection Bus and bridge, bus 300 will include the one or more processors represented by processor 302 and what memory 304 represented deposits The various circuits of reservoir link together.Bus 300 can also will peripheral equipment, voltage-stablizer and management circuit etc. Etc various other circuits link together, these are all it is known in the art, therefore, no longer it is carried out herein into The description of one step.Bus interface 306 provides interface between bus 300 and receiver 301 and transmitter 303.301 He of receiver Transmitter 303 can be the same element, i.e. transceiver, provide for over a transmission medium communicating with various other devices Unit.
Processor 302 is responsible for management bus 300 and common processing, and memory 304 can be used for storage processor 302 when executing operation used data.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects Fruit:
1. a kind of mqtt data processing method and device based on nbiot network provided by the embodiments of the present application, are applied to One mqtt message proxy server, the mqtt message proxy server and a polymorphic type NBIoT environment monitoring equipment NBIoT Network connection, which comprises according to the polymorphic type NBIoT environment monitoring equipment, obtain continuous monitoring data and convert For mqtt data packet;Control is received by more concurrent mqtt data packets, and con current control and message are carried out to the mqtt data packet Forwarding;Control is parsed by mqtt custom protocol, customized parsing is carried out to the mqtt data packet, obtain corresponding monitoring Data;The monitoring data is subjected to classification storage by mqtt data storage cell;If cloud platform and/or big data point Mqtt message proxy server described in platform access is analysed, the monitoring data is sent to cloud by the mqtt data storage cell Platform and/or big data analysis platform.Solve in the prior art that environmental monitoring data is not professional, the technology of topical regional Problem has reached and has reliably transmitted to the continuous data of enviromental monitoring equipment, the technology effect of building environment monitoring system Fruit.
2. the embodiment of the present application is by judging that it is whether normal that more concurrent mqtt data packets receive;If more than described simultaneously It sends out mqtt data packet to receive normally, customized solution is carried out to the mqtt data packet by mqtt custom protocol analysis software Analysis, obtains corresponding monitoring data, reaches the technical effect for obtaining correct detection data.
3. whether the embodiment of the present application is normal by judging the customized parsing;If the customized parsing is normal, The monitoring data is subjected to classification storage using corresponding storage method, reaches the technical effect for storing correct monitoring data.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer journey Sequence product.Therefore, complete hardware embodiment, complete software embodiment or combining software and hardware aspects can be used in the present invention The form of embodiment.Moreover, it wherein includes the calculating of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions each in flowchart and/or the block diagram The combination of process and/or box in process and/or box and flowchart and/or the block diagram.It can provide these computers Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices To generate a machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute For realizing the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram Device.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that instruction stored in the computer readable memory generation includes The manufacture of command device, the command device are realized in one box of one or more flows of the flowchart and/or block diagram Or the function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that Series of operation steps are executed on computer or other programmable devices to generate computer implemented processing, thus calculating The instruction executed on machine or other programmable devices is provided for realizing in one or more flows of the flowchart and/or side The step of function of being specified in block diagram one box or multiple boxes.
Obviously, those skilled in the art can carry out various modification and variations without departing from this to the embodiment of the present invention The spirit and scope of inventive embodiments.If being wanted in this way, these modifications and variations of the embodiment of the present invention belong to right of the present invention Ask and its equivalent technologies within the scope of, then the present invention is also intended to include these modifications and variations.

Claims (7)

1. a kind of mqtt data processing method based on nbiot network is applied to a mqtt message proxy server, the mqtt Message proxy server and a polymorphic type NBIoT environment monitoring equipment NBIoT are connected to the network, which is characterized in that the method packet It includes:
According to the polymorphic type NBIoT environment monitoring equipment, obtains continuous monitoring data and be converted to mqtt data packet;
Control is received by more concurrent mqtt data packets, and con current control and message forwarding are carried out to the mqtt data packet;
Control is parsed by mqtt custom protocol, customized parsing is carried out to the mqtt data packet, obtain corresponding monitoring number According to;
The monitoring data is subjected to classification storage by mqtt data storage cell;
If mqtt message proxy server described in cloud platform and/or big data analysis platform access, the mqtt data storage The monitoring data is sent to cloud platform and/or big data analysis platform by unit.
2. the method as described in claim 1, which is characterized in that described to receive control to described by more concurrent mqtt data packets Mqtt data packet carries out con current control and message forwarding, further includes:
Judge whether more concurrent mqtt data packets receive normal;
If more concurrent mqtt data packets receive normally, by mqtt custom protocol analysis software to the mqtt data Packet carries out customized parsing, obtains corresponding monitoring data.
3. method according to claim 2, which is characterized in that the method also includes:
If more concurrent mqtt data packets receive abnormal, starting intercurrent control management mechanism, implementation connection control.
4. the method as described in claim 1, which is characterized in that described to parse control to described by mqtt custom protocol Mqtt data packet carries out customized parsing, obtains corresponding monitoring data, further includes:
Judge whether the customized parsing is normal;
If the customized parsing is normal, the monitoring data is subjected to classification storage using corresponding storage method.
5. method as claimed in claim 4, which is characterized in that the method also includes:
If the customized parsing is abnormal, the monitoring data are abandoned.
6. a kind of mqtt data processing equipment based on nbiot network is applied to a mqtt message proxy server, the mqtt Message proxy server and a polymorphic type NBIoT environment monitoring equipment NBIoT are connected to the network, which is characterized in that described device packet It includes:
First obtains unit, the first obtains unit are used to be obtained continuous according to the polymorphic type NBIoT environment monitoring equipment Monitoring data are simultaneously converted to mqtt data packet;
First receiving unit, first receiving unit are used to receive control to the mqtt number by more concurrent mqtt data packets Con current control and message forwarding are carried out according to packet;
Second obtaining unit, second obtaining unit are used to parse control to the mqtt data by mqtt custom protocol Packet carries out customized parsing, obtains corresponding monitoring data;
First storage unit, first storage unit is for being divided the monitoring data by mqtt data storage cell Class storage;
If mqtt message proxy server described in cloud platform and/or big data analysis platform access, the mqtt data storage The monitoring data is sent to cloud platform and/or big data analysis platform by unit.
7. a kind of mqtt data processing equipment based on nbiot network is applied to a mqtt message proxy server, the mqtt Message proxy server and a polymorphic type NBIoT environment monitoring equipment NBIoT are connected to the network, which is characterized in that the processor It is performed the steps of when executing described program
According to the polymorphic type NBIoT environment monitoring equipment, obtains continuous monitoring data and be converted to mqtt data packet;
Control is received by more concurrent mqtt data packets, and con current control and message forwarding are carried out to the mqtt data packet;
Control is parsed by mqtt custom protocol, customized parsing is carried out to the mqtt data packet, obtain corresponding monitoring number According to;
The monitoring data is subjected to classification storage by mqtt data storage cell;
If mqtt message proxy server described in cloud platform and/or big data analysis platform access, the mqtt data storage The monitoring data is sent to cloud platform and/or big data analysis platform by unit.
CN201810702229.8A 2018-06-30 2018-06-30 A kind of mqtt data processing method and device based on nbiot network Pending CN109040186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810702229.8A CN109040186A (en) 2018-06-30 2018-06-30 A kind of mqtt data processing method and device based on nbiot network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810702229.8A CN109040186A (en) 2018-06-30 2018-06-30 A kind of mqtt data processing method and device based on nbiot network

Publications (1)

Publication Number Publication Date
CN109040186A true CN109040186A (en) 2018-12-18

Family

ID=65522076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810702229.8A Pending CN109040186A (en) 2018-06-30 2018-06-30 A kind of mqtt data processing method and device based on nbiot network

Country Status (1)

Country Link
CN (1) CN109040186A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547333A (en) * 2018-12-19 2019-03-29 北京仁科互动网络技术有限公司 Instant communicating method and device
CN109624775A (en) * 2018-12-27 2019-04-16 浙江大学 A kind of charging pile system based on NBIoT Internet of Things
CN110381023A (en) * 2019-06-14 2019-10-25 浪潮软件股份有限公司 A kind of message storage method based on MQTT agreement
CN111866006A (en) * 2020-07-28 2020-10-30 山东浪潮通软信息科技有限公司 Internet of things supervision system and method
CN112765427A (en) * 2020-12-03 2021-05-07 湖北海纳天鹰科技发展有限公司 Environment-friendly monitoring data processing method and device based on mqtt protocol

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601665A (en) * 2014-12-22 2015-05-06 西安电子科技大学 System and method for real-time cloud simulation on Internet of things sensing device
CN105577736A (en) * 2014-11-07 2016-05-11 华为技术有限公司 Power line carrier communication terminal control device, system and method
CN106100981A (en) * 2016-08-22 2016-11-09 布比(北京)网络技术有限公司 Social network data exchange method and device
CN106973097A (en) * 2017-03-28 2017-07-21 上海艾络格电子技术有限公司 A kind of industrial Internet of things system
CN107563905A (en) * 2017-07-20 2018-01-09 西安电子科技大学 A kind of academic platform service system and method for building up based on block chain
CN107613017A (en) * 2017-10-13 2018-01-19 天津科技大学 Dangerous matter sources monitoring system and its implementation based on Internet of Things

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577736A (en) * 2014-11-07 2016-05-11 华为技术有限公司 Power line carrier communication terminal control device, system and method
CN104601665A (en) * 2014-12-22 2015-05-06 西安电子科技大学 System and method for real-time cloud simulation on Internet of things sensing device
CN106100981A (en) * 2016-08-22 2016-11-09 布比(北京)网络技术有限公司 Social network data exchange method and device
CN106973097A (en) * 2017-03-28 2017-07-21 上海艾络格电子技术有限公司 A kind of industrial Internet of things system
CN107563905A (en) * 2017-07-20 2018-01-09 西安电子科技大学 A kind of academic platform service system and method for building up based on block chain
CN107613017A (en) * 2017-10-13 2018-01-19 天津科技大学 Dangerous matter sources monitoring system and its implementation based on Internet of Things

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547333A (en) * 2018-12-19 2019-03-29 北京仁科互动网络技术有限公司 Instant communicating method and device
CN109624775A (en) * 2018-12-27 2019-04-16 浙江大学 A kind of charging pile system based on NBIoT Internet of Things
CN109624775B (en) * 2018-12-27 2020-07-10 浙江大学 Charging pile system based on NBIoT Internet of things
CN110381023A (en) * 2019-06-14 2019-10-25 浪潮软件股份有限公司 A kind of message storage method based on MQTT agreement
CN110381023B (en) * 2019-06-14 2022-02-18 浪潮软件股份有限公司 Message storage method based on MQTT protocol
CN111866006A (en) * 2020-07-28 2020-10-30 山东浪潮通软信息科技有限公司 Internet of things supervision system and method
CN112765427A (en) * 2020-12-03 2021-05-07 湖北海纳天鹰科技发展有限公司 Environment-friendly monitoring data processing method and device based on mqtt protocol

Similar Documents

Publication Publication Date Title
CN109040186A (en) A kind of mqtt data processing method and device based on nbiot network
US10785249B2 (en) Predicting the risk associated with a network flow, such as one involving an IoT device, and applying an appropriate level of security inspection based thereon
US20130346585A1 (en) Network system, and policy route setting method
US9813438B2 (en) Anomaly prediction method and system for heterogeneous network architecture
KR20130126730A (en) Network system, switch, and connection terminal detection method
WO2012029422A1 (en) Communication quality monitoring system, communication quality monitoring method, and storage medium
KR20160042441A (en) Application-aware network management
CN107707557B (en) Anonymous access method, device, network equipment and readable storage medium
CN102891803B (en) Congestion processing method and network device
CN103891217A (en) Service assurance using network measurement triggers
CN112039796A (en) Data packet transmission method and device, storage medium and electronic equipment
CN107645389B (en) Network communication method and device
CN112788060A (en) Data packet transmission method and device, storage medium and electronic equipment
US10594584B2 (en) Network analysis and monitoring tool
JP5741446B2 (en) Usable bandwidth measuring method, usable bandwidth measuring system, terminal device and program
US9356876B1 (en) System and method for classifying and managing applications over compressed or encrypted traffic
WO2017135254A1 (en) Terminal, relay device selection device, communication method, relay device selection method, and program
JP2019009610A (en) Edge device, data processing system, data transmission method and program
US20110161741A1 (en) Topology based correlation of threshold crossing alarms
CN109104709A (en) A kind of air quality dissemination method and device based on NBIoT and MQTT agreement
Pham et al. Minimizing the IoT System Delay with the Edge Gateways
US20200007407A1 (en) Network building apparatus, network building method, non-transitory computer readable medium storing program
CN105763347A (en) Method for obtaining parameter, network equipment and system
CN115277504A (en) Network traffic monitoring method, device and system
CN112306701B (en) Service fusing method, device, equipment and storage medium

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181218

WD01 Invention patent application deemed withdrawn after publication