CN110062004A - A kind of message handling system and method based on Internet of Things fidonetFido - Google Patents
A kind of message handling system and method based on Internet of Things fidonetFido Download PDFInfo
- Publication number
- CN110062004A CN110062004A CN201910362694.6A CN201910362694A CN110062004A CN 110062004 A CN110062004 A CN 110062004A CN 201910362694 A CN201910362694 A CN 201910362694A CN 110062004 A CN110062004 A CN 110062004A
- Authority
- CN
- China
- Prior art keywords
- message
- internet
- target topic
- things
- terminal module
- 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
Links
- 238000000034 method Methods 0.000 title abstract description 17
- 238000004891 communication Methods 0.000 claims abstract description 42
- 230000015654 memory Effects 0.000 claims description 21
- 238000003672 processing method Methods 0.000 claims description 8
- 238000013500 data storage Methods 0.000 claims description 6
- 210000000352 storage cell Anatomy 0.000 claims description 5
- 240000002853 Nelumbo nucifera Species 0.000 claims description 2
- 235000006508 Nelumbo nucifera Nutrition 0.000 claims description 2
- 235000006510 Nelumbo pentapetala Nutrition 0.000 claims description 2
- 238000004590 computer program Methods 0.000 claims description 2
- 230000004044 response Effects 0.000 abstract description 9
- 230000005540 biological transmission Effects 0.000 description 12
- 230000001052 transient effect Effects 0.000 description 7
- 238000010276 construction Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000004744 fabric Substances 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000037213 diet Effects 0.000 description 1
- 235000005911 diet Nutrition 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000007858 starting material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/26—Special purpose or proprietary protocols or architectures
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of message handling system and method based on Internet of Things fidonetFido, wherein system includes: multiple terminal modules, for receiving or sending subject message;Internet of Things proxy module, for identification the type of target topic message and shared subject message, store terminal module communication protocol information and target topic message subscription information;And determine whether shared subject message is target topic message that terminal module is subscribed to according to above- mentioned information;When shared subject message is the target topic message that terminal module is subscribed to;Target topic message is sent to terminal module corresponding with target topic message, and modifies the payload information of target topic message, payload information is sent out server;Server sends target topic message for receiving payload information, and to the residual terminal module except the corresponding terminal module of payload information.The present invention can be improved network application response speed, saves network bandwidth and mitigate the data processing pressure of server.
Description
Technical field
The present invention relates to Internet of Things fields of communication technology, and in particular to a kind of message handling system based on Internet of Things fidonetFido
And method.
Background technique
Internet of Things (Internet of Things, IOT) be the important component of generation information technology, it can be achieved that
Information world and physical world are formd even closer information flow system by people, machine, information sharing between object.Therefore, with
The universal and commercialization of Internet of Things, it is also most important to construct different Internet of Things communication environments, and different Internet of Things Network Communications
Environment and Internet of Things fidonetFido are closely bound up, such as: message queue telemetering transport protocol (MQTT agreement) is International Business Machine public affairs
The communication protocol for taking charge of (International Business Machines Corporation, IBM) exploitation, since MQTT is assisted
View possesses the transmission consumption and protocol data exchange of very little, can largely reduce network flow, therefore, MQTT agreement is mesh
The agreement that preceding Internet of Things network information transmission is recommended.MQTT agreement is as one of Internet of Things optimal protocols, in Internet of Things communication loop
Client is assisted to complete the subscription of message or the publication of server end completion message under border.
Current Internet of Things network communication system, the data information for usually acquiring the terminal device of multiple client side or multiple
The data information of the target topic of client subscription is uniformly sent to server end and carries out centralized processing or forwarding, due to multiple
Client uniformly sends data information to server end, this will lead to communication network congestion, is unfavorable for information transmission, and service
Device end handles the task of batch simultaneously, huge processing pressure can be also brought to server end, server end focuses on simultaneously
Data information is also easy to happen the phenomenon that loss of data.At the same time, if data information is sent to distance farther out by client
Server end carry out data processing, it is clear that carry out data transmission will also result in certain communication delay over long distances, and then influence
The processing speed of server end causes it to be unable to satisfy the service quality of Internet of Things Network Communication.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of message handling system and method based on Internet of Things fidonetFido, with
The problems such as network congestion in solution information transmission, data are easy to be lost.
In a first aspect, the embodiment of the invention provides a kind of message handling system based on Internet of Things fidonetFido, multiple terminals
Module, Internet of Things proxy module and server;Wherein, multiple terminal modules, for receiving the target master of Internet of Things proxy module transmission
It inscribes message or issues shared subject message to Internet of Things proxy module;The multiple terminal module is arranged in Internet of Things proxy module
Side is connect with multiple terminal modules, for identification the type of target topic message and shared subject message, each terminal of storage
The subscription information of the communication protocol information of module and each terminal module objective of subscription subject message;And according to target topic message
With the type, communication protocol information and subscription information of shared subject message, determine whether shared subject message is that terminal module is ordered
The target topic message read;If shared subject message is the target topic message that terminal module is subscribed to;Then to target topic
The corresponding terminal module of message sends target topic message, and modifies the payload information of target topic message, will effectively carry
Lotus information is sent out to server;Server is connect with Internet of Things proxy module, for receiving payload information, and to having
It imitates the residual terminal module except the corresponding terminal module of load information and sends target topic message.
With reference to first aspect, in first aspect first embodiment, each terminal module is provided with MQTT client, clothes
Business device is provided with MQTT server-side.
With reference to first aspect, in first aspect second embodiment, communication protocol information is MQTT protocol information.
With reference to first aspect, in first aspect third embodiment, Internet of Things processing module includes: packet sending and receiving list
Member is connect, for receiving or sending target topic message and shared theme report respectively with multiple terminal modules using communication interface
Text;Type of message recognition unit is connect using communication interface with packet sending and receiving unit, the target topic message for identification
It whether is MQTT subject message.
With reference to first aspect, in the 4th embodiment of first aspect, Internet of Things proxy module further include: data storage is single
Member, for storing communication protocol information and subscription information;Message topic identification unit, using the communication interface respectively with it is described
Message topic identification unit is connected with the data storage cell, for identification the target topic message and the shared theme
The type of message.
With reference to first aspect, in the 5th embodiment of first aspect, Internet of Things proxy module further include: MESSAGE EXCHANGE list
Member is connect, for forwarding respectively with packet sending and receiving unit, message topic identification unit and message agent unit using communication interface
Transmit the message information of packet sending and receiving unit, type of message recognition unit, message topic identification unit.
Second aspect, the embodiment of the present invention provide a kind of message handling system based on Internet of Things fidonetFido, comprising: receive more
The shared subject message of a terminal module publication;The communication protocol information and each terminal module for storing each terminal module are subscribed to
The subscription information of target topic message;Identify the type of shared subject message and target topic message;According to target topic message
With the type, communication protocol information and subscription information of shared subject message, determine whether shared subject message is that terminal module is ordered
The target topic message read;If shared subject message is target topic message, to terminal corresponding with target topic message
Module sends target topic message, and modifies the payload information of target topic message;Payload information is sent out
To server, so that server sends target topic to the residual terminal module except the corresponding terminal module of payload information
Message.
The third aspect, the embodiment of the invention provides a kind of storage mediums, are stored thereon with computer instruction, the instruction quilt
The Message processing side based on Internet of Things fidonetFido in first aspect or first aspect any embodiment is realized when processor executes
The step of method.
Fourth aspect the embodiment of the invention provides a kind of message processor, including memory, processor and is stored in
On memory and the computer program that can run on a processor, which is characterized in that the processor executes real when described program
The step of showing the message processing method based on Internet of Things fidonetFido in first aspect or first aspect any embodiment.
Technical solution of the present invention has the advantages that
Message handling system and method provided in an embodiment of the present invention based on Internet of Things fidonetFido, wherein Internet of Things generation in system
Position is close between reason module and terminal module, reduces the time delay of information transmission, improves the service quality of business.Internet of Things agency
Whether module subscribes to the subject message information of other terminal modules publication according to terminal module, to complete corresponding operating.If terminal
Module has subscribed the subject message of other terminal modules publication, then directly forwards subject message by Internet of Things proxy module.The present invention
Parsing, analysis and processing capacity using Internet of Things proxy module to MQTT protocol massages handle item to Internet of Things proxy module is met
The MQTT subject message of part is directly forwarded, and is improved service application response speed, is reduced server process pressure, is saved
Network bandwidth.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 shows the structural schematic diagram of the message handling system based on Internet of Things fidonetFido in inventive embodiments;
Fig. 2 shows the flow charts of the message processing method based on Internet of Things fidonetFido in inventive embodiments;
The client traffic application response delay comparison that Fig. 3 shows the present invention and the prior art in inventive embodiments is illustrated
Figure;
The network side link bandwidth that Fig. 4 shows the present invention and the prior art in inventive embodiments occupies contrast schematic diagram;
Fig. 5 shows the server-side processes pressure comparison schematic diagram of the present invention and the prior art in inventive embodiments;
Fig. 6 shows the structural schematic diagram of electronic equipment in inventive embodiments;
Specific embodiment
Technical solution of the present invention is clearly and completely described below in conjunction with attached drawing, it is clear that described implementation
Example is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill
Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that term " first ", " second ", " third ", " the 4th " are only used for retouching
Purpose is stated, relative importance is not understood to indicate or imply.
As long as in addition, the non-structure each other of technical characteristic involved in invention described below different embodiments
It can be combined with each other at conflict.
Embodiment 1
The present invention applies example and provides a kind of message handling system based on Internet of Things fidonetFido, as shown in Figure 1, the Message processing system
System includes: multiple terminal modules 1, Internet of Things proxy module 2, server 3.Specifically, each terminal module is provided with MQTT client
End;Server is provided with MQTT server-side;Internet of Things communication protocol information in the present embodiment is MQTT protocol information.
Terminal module 1, for receiving the target topic message of the transmission of Internet of Things proxy module 2 or being sent out to Internet of Things proxy module 2
Cloth shares subject message.Wherein target topic message is message content required for each terminal module 1, and shared subject message
The message content shared by each terminal module 1 to Internet of Things proxy module 2.The report based on Internet of Things fidonetFido in the present embodiment
When literary processing system is applied in electric power scenes of internet of things, wherein the information of target topic message and shared subject message is electricity
The state of power equipment, working condition information etc..Specifically, such as: for target topic message needed for first terminal module 1
For the temperature information A of transformer connector in power equipment, first terminal module is shared to Internet of Things proxy module 2 shared
Subject message is power equipment switch state C;The message handling system based on Internet of Things fidonetFido in the present embodiment can also be applied
In life intelligent terminal application scenarios, such as: the type of target topic message and shared subject message all can be music class
Type, sports genre, history type, financial type, type of diet and type of tour etc..Specifically, such as: for first end
Target topic message needed for end module 1 is the A in sports genre, and first terminal module is divided to Internet of Things proxy module 2
The shared subject message enjoyed is the C in music type;Such as: be for target topic message needed for second terminal module 1
A in financial type, the shared subject message for second terminal module 1 to the connection sharing of proxy module 2 is in history type
C。
Internet of Things proxy module 2, the Internet of Things proxy module 2 have packet sending and receiving unit 21, type of message recognition unit 22,
Data storage cell 23, message topic identification unit 24.The side of multiple terminal modules 1 is arranged in the Internet of Things proxy module 2, can
To reduce the time delay of information transmission, improve the service quality of business.
Wherein, packet sending and receiving unit 21: for receiving or sending target topic message and shared subject message, certainly, report
Literary Transmit-Receive Unit 21 can be also used for receiving and dispatching other data informations, and packet sending and receiving unit 21 herein can be antenna or other
The transceiving device of type.
In Fig. 1, type of message recognition unit 22: it is connect using communication interface 4 with packet sending and receiving unit 21, for identification
Whether the target topic message is MQTT subject message, specifically, whether identifies target topic message or shared subject message
For MQTT subject message.
Data storage cell 23: specifically, multiple for storing for storing communication protocol information and the subscription information
The communication protocol information of terminal module 1 and the subscription information.Data storage cell 23 includes two tables: for example: terminal module 1
For MQTT client, then this two tables are respectively MQTT client connection relational table, MQTT client subscription relation table.Specifically
Ground includes the MQTT Client Physical port numbering, IP address, port numbers in MQTT client connection relational table;MQTT clothes
Business 3 end IP address of device, port numbers;The address ... 1IP in MQTT client subscription relation table comprising subscription theme, MQTT client
The address nIP.
In Fig. 1, message topic identification unit 24: deposited respectively with MESSAGE EXCHANGE unit 25 and data using communication interface 4
Storage unit 23 connects, for identification the type of the target topic message and the shared subject message.Message theme herein
Recognition unit 24 can be processor.MESSAGE EXCHANGE unit 25: using communication interface 4 respectively with the packet sending and receiving unit 21,
Type of message recognition unit 22 and message topic identification unit 24 connect.MESSAGE EXCHANGE unit 25 herein can be exchanger.
Server 3, for being connect using communication interface 4 with packet sending and receiving unit 21, for receiving payload information, and
Residual terminal module except to the corresponding terminal module of payload information sends target topic message.
Specifically, the present invention provides a kind of message handling system based on Internet of Things fidonetFido, comprising: multiple terminal modules 1,
Internet of Things proxy module 2 and server 3.Multiple terminal modules 1, for receiving the target topic message of the transmission of Internet of Things proxy module 2
Or shared subject message is issued to Internet of Things proxy module 2;The side of multiple terminal modules 1 is arranged in Internet of Things proxy module 2, with
Multiple terminal modules 1 connect, for identification the type of target topic message and shared subject message, each terminal module 1 of storage
1 objective of subscription subject message of communication protocol information and each terminal module subscription information;And according to target topic message and
Type, communication protocol information and the subscription information of shared subject message determine whether shared subject message is that terminal module 1 is subscribed to
Target topic message;If shared subject message is the target topic message that terminal module 1 is subscribed to, then to target topic report
The corresponding terminal module 1 of text sends target topic message, and modifies the payload information of target topic message, by payload
Information is sent out to server 3;Server 3 is connect with Internet of Things proxy module 2, for receiving payload information, and to having
It imitates the residual terminal module 1 except the corresponding terminal module 1 of load information and sends target topic message.
The distance between Internet of Things proxy module 2 and multiple terminal modules 1 are relatively close, reduce the time delay of information transmission, improve
The service quality of business.Whether Internet of Things proxy module 2 subscribes to the theme report of other terminal modules 1 publication according to terminal module 1
Literary information, to complete corresponding operating.If terminal module 1 has subscribed the subject message of other terminal modules 1 publication, by Internet of Things generation
Reason module 2 directly forwards subject message.The present invention utilizes parsing, analysis and place of the Internet of Things proxy module 2 to MQTT protocol massages
Reason ability is directly forwarded the MQTT subject message for meeting 2 treatment conditions of Internet of Things proxy module, improves service application and rings
It answers speed, reduce 3 processing pressure of server, saved network bandwidth.Fig. 3 is shown as the client in the present invention and traditional scheme
Service application average response time delay compares, and abscissa " hit rate " indicates the MQTT that can be directly forwarded by Internet of Things proxy module 2
Theme publication message accounts for the ratio of all publication messages.From figure 3, it can be seen that with the promotion of hit rate, when average response
Prolonging has apparent improvement.The network side link bandwidth saving rate that Fig. 4 is shown as in the present invention and traditional scheme compares, abscissa
" hit rate " is as defined above, and uplink, the downlink bandwidth saving rate in the present invention are separately compared.As can be seen that
Due on other Internet of Things proxy modules 2 there may be the presence of the client for the MQTT for subscribing to corresponding theme, in the present invention
While directly being forwarded to theme publication message, corresponding publication still can be forwarded to the MQTT server-side of server 3
Message, so network side uplink bandwidth is not saved;And downlink bandwidth is due to the place of Internet of Things proxy module 2
Reason avoids redundant forwarding of the server-side to the MQTT client under this agency, has saved corresponding link bandwidth in afternoon.Fig. 5 is shown as
Server-side theme publication message forwarding quantity saving rate in the present invention and traditional scheme compares.With the downlink bandwidth section in Fig. 4
About rate similarly, is forwarded due to subscribing to client by a part of theme of Internet of Things proxy module 2 thereto,
Server-side theme publication message forwarding quantity compared with traditional scheme be improved significantly.
Embodiment 2
The embodiment of the invention provides a kind of message processing methods based on Internet of Things fidonetFido, for the object in embodiment 1
Join proxy module, as shown in Fig. 2, the message processing method of the Internet of Things fidonetFido includes:
Step S1: it receives message: receiving the shared subject message of multiple terminal module publications.
Step S2: storage information: store each terminal module communication protocol information and each terminal module objective of subscription
The subscription information of subject message.
Step S3: identification type of message: the type of shared subject message and target topic message is identified.
Step S4: determine whether to subscribe to subject message: according to the type of target topic message and shared subject message, communication
Protocol information and subscription information determine whether shared subject message is target topic message that terminal module is subscribed to.Specifically, remember
Record the TCP connection relevant information of terminal and server foundation;Record terminal subscribes to the corresponding relationship of theme with it;According to record
Information inquires whether shared subject message is target topic message that terminal module is subscribed to.
Step S5: subscribe to subject message: if shared subject message is target topic message, to target topic message
Corresponding terminal module sends target topic message, and modifies the payload information of target topic message.If shared theme
Message is target topic message, then passes through after being recombinated according to the connection relationship of the service terminal and server to publication message
The corresponding packet message reception in port/sending module of terminal connection carries out IP packet forwarding, repairs by Internet of Things proxy module
Change the publication message of front and back as shown in figure 3, modifying the payload information of primary cloth message simultaneously, increases the IP of processed terminal
Address information.
Step S6: payload information is sent out to server, so that server is corresponding to payload information
Residual terminal module except terminal module sends target topic message.Specifically, subject message is not subscribed to: acting on behalf of mould by Internet of Things
Block is directly forwarded to server.Specifically, if the shared non-targeted subject message of subject message, the shared subject message is by object
Connection proxy module is directly forwarded to server.
Step S7: sending target topic message to residual terminal: payload information be sent out to server, so that
Server sends target topic message to the residual terminal module except the corresponding terminal module of payload information.
By executing above-mentioned steps S1 to step S7, the Message processing side of Internet of Things fidonetFido provided in an embodiment of the present invention
Method, parsing, analysis and processing capacity using Internet of Things proxy module to MQTT protocol massages are handled Internet of Things proxy module is met
The MQTT subject message of condition is directly forwarded, and is improved service application response speed, is reduced server process pressure, section
About network bandwidth.
Optionally, terminal module in the above-described embodiments can be power business terminal module, education service terminal mould
Block, information service terminal module etc..
Message processing method provided in an embodiment of the present invention based on Internet of Things fidonetFido, Internet of Things proxy module and terminal module
Between position it is close, reduce information transmission time delay, improve the service quality of business.Internet of Things proxy module is according to terminal module
Whether the subject message information of other terminal modules publication is subscribed to, to complete corresponding operating.If terminal module has subscribed other ends
The subject message of end module publication, then directly forward subject message by Internet of Things proxy module.The present invention utilizes Internet of Things proxy module
Parsing, analysis and processing capacity to MQTT protocol massages, to the MQTT subject message for meeting Internet of Things proxy module treatment conditions
It is directly forwarded, improves service application response speed, reduces server process pressure, saved network bandwidth.Fig. 3 shows
Compare for client traffic application the average response time delay in the present invention and traditional scheme, abscissa " hit rate " expression can be by
The MQTT theme publication message that Internet of Things proxy module directly forwards accounts for the ratio of all publication messages.From figure 3, it can be seen that with
The promotion of hit rate, average response time delay have apparent improvement.Fig. 4 is shown as the network side chain in the present invention and traditional scheme
Road bandwidth conservation rate compares, and abscissa " hit rate " is as defined above, by the uplink in the present invention, downlink bandwidth section
About rate separately compares.As can be seen that since there may be the clients for the MQTT for subscribing to corresponding theme on other Internet of Things proxy modules
The presence at end, therefore in the present invention while directly being forwarded to theme publication message, it still can be to the MQTT of server
The corresponding publication message of server-side forwarding, so network side uplink bandwidth is not saved;And downlink bandwidth
Since the processing of Internet of Things proxy module avoids redundant forwarding of the server-side to the MQTT client under this agency, save corresponding
Afternoon link bandwidth.The server-side theme publication message forwarding quantity saving rate that Fig. 5 is shown as in the present invention and traditional scheme compares.
Similarly with the downlink bandwidth saving rate in Fig. 4, visitor is subscribed to due to having passed through a part of theme of Internet of Things proxy module thereto
Family end is forwarded, thus server-side theme publication message forwarding quantity compared with traditional scheme be improved significantly.
Embodiment 3
The embodiment of the present invention provides a kind of non-transient computer storage medium, which is stored with computer
The trusted system environment construction method in above-mentioned any embodiment 1 can be performed in executable instruction, the computer executable instructions.Its
In, above-mentioned storage medium can be magnetic disk, CD, read-only memory (Read-Only Memory, ROM), random storage note
Recall body (Random Access Memory, RAM), flash memory (Flash Memory), hard disk (Hard Disk Drive,
Abbreviation: HDD) or solid state hard disk (Solid-State Drive, SSD) etc.;The storage medium can also include depositing for mentioned kind
The combination of reservoir.
Embodiment 4
The embodiment of the present invention provides a kind of electronic equipment of trusted system environment construction method, structural schematic diagram such as Fig. 6
Shown, which includes: one or more processors 410 and memory 420, in Fig. 6 by taking a processor 410 as an example.
The electronic equipment for executing trusted system environment construction method can also include: input unit 430 and output device
440。
Processor 410, memory 420, input unit 430 and output device 440 can pass through bus or other modes
It connects, in Fig. 6 for being connected by bus.
Processor 410 can be central processing unit (Central Processing Unit, processor).Processor 410 is also
It can be other general processors, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity
Road (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
The combination of the chips such as discrete hardware components or above-mentioned all kinds of chips.General processor can be microprocessor or the processing
Device is also possible to any conventional processor etc..
Memory 420 is used as a kind of non-transient computer readable storage medium, can be used for storing non-transient software program, non-
Transient computer executable program and module, such as the corresponding program of trusted system environment construction method in the embodiment of the present application
Instruction/module, non-transient software program, instruction and the module that processor 410 is stored in memory 420 by operation, from
And the various function application and data processing of execute server 3, that is, realize the trusted system environment structure of above method embodiment
Construction method.
Memory 420 may include storing program area and storage data area, wherein storing program area can store operation system
Application program required for system, at least one function;Storage data area can store to be handled according to the credible starting of computing platform and fill
That sets uses created data etc..In addition, memory 420 may include high-speed random access memory, it can also include non-
Transient memory, for example, at least a disk memory, flush memory device or other non-transient solid-state memories.Some
In embodiment, it includes the memory remotely located relative to processor 410 that memory 420 is optional, these remote memories can be with
By being connected to the network to the credible starter of computing platform.The example of above-mentioned network includes but is not limited to internet, in enterprise
Portion's net, local area network, mobile radio communication and combinations thereof.
Input unit 430 can receive the number or character information of input, and the credible starting generated with computing platform is grasped
The related user setting of the processing unit of work and the related key signals input of function control.Output device 440 may include display
The display equipment such as screen.
One or more module is stored in memory 420, when being executed by one or more processor 410, is held
Row method as shown in Figure 2.
Method provided by the embodiment of the present invention can be performed in the said goods, has the corresponding functional module of execution method and has
Beneficial effect.The not technical detail of detailed description in embodiments of the present invention, for details, reference can be made to the phases in embodiment as shown in Figure 2
Close description.
Obviously, the above embodiments are merely examples for clarifying the description, and does not limit the embodiments.It is right
For those of ordinary skill in the art, can also make on the basis of the above description it is other it is various forms of variation or
It changes.There is no necessity and possibility to exhaust all the enbodiments.And it is extended from this it is obvious variation or
It changes still within the protection scope of the invention.
Claims (9)
1. a kind of message handling system based on Internet of Things fidonetFido characterized by comprising multiple terminal modules, Internet of Things agency
Module and server;
The multiple terminal module, for receiving target topic message that the Internet of Things proxy module is sent or to the Internet of Things generation
It manages module and issues shared subject message;
The Internet of Things proxy module, is arranged in the side of the multiple terminal module, connect, is used for the multiple terminal module
Identify the type of the target topic message and the shared subject message, the communication protocol information of each terminal module of storage and
Each terminal module subscribes to the subscription information of the target topic message;And according to the target topic message and described total
The type, the communication protocol information and the subscription information for enjoying subject message determine whether the shared subject message is institute
State the target topic message of terminal module subscription;If the shared subject message is the described of terminal module subscription
Target topic message then sends the target topic message to the terminal module corresponding with the target topic message, and
The payload information for modifying the target topic message, the payload information is sent out to the server;
The server is connect with the Internet of Things proxy module, for receiving the payload information, and to effective load
The residue terminal module except the corresponding terminal module of lotus information sends the target topic message.
2. the message handling system according to claim 1 based on Internet of Things fidonetFido, which is characterized in that each terminal
Module is provided with MQTT client, and the server is provided with MQTT server-side.
3. the message handling system according to claim 1 based on Internet of Things fidonetFido, which is characterized in that the communication protocol
Information is MQTT protocol information.
4. the message handling system according to claim 1 based on Internet of Things fidonetFido, which is characterized in that the Internet of Things agency
Module includes:
Packet sending and receiving unit is connect, for receiving or sending the mesh respectively with the multiple terminal module using communication interface
Mark subject message and the shared subject message;
Type of message recognition unit is connect using the communication interface with the packet sending and receiving unit, for identification the target
Whether subject message is MQTT subject message.
5. the message handling system according to claim 1 based on Internet of Things fidonetFido, which is characterized in that the Internet of Things agency
Module further include:
Data storage cell, for storing the communication protocol information and the subscription information;
Message topic identification unit is stored with the message topic identification unit and the data respectively using the communication interface
Unit connects, for identification the type of the target topic message and the shared subject message.
6. the message handling system according to claim 1 based on Internet of Things fidonetFido, which is characterized in that the Internet of Things agency
Module further include:
MESSAGE EXCHANGE unit, using the communication interface respectively with the packet sending and receiving unit, the message topic identification unit
It is connected with the message agent unit, transmits the packet sending and receiving unit, the type of message recognition unit, described for forwarding
The message information of message topic identification unit.
7. a kind of message processing method based on Internet of Things fidonetFido characterized by comprising
Receive the shared subject message of multiple terminal module publications;
Store the communication protocol information of each terminal module and ordering for each terminal module objective of subscription subject message
Read information;
Identify the type of the shared subject message and the target topic message;
Believed according to the type of the target topic message and the shared subject message, the communication protocol information and the subscription
Breath determines whether the shared subject message is the target topic message that the terminal module is subscribed to;
If the shared subject message is the target topic message, to the end corresponding with the target topic message
End module sends the target topic message, and modifies the payload information of the target topic message;
The payload information is sent out to server, so that the server is corresponding to the payload information
The residue terminal module except the terminal module sends the target topic message.
8. a kind of storage medium, is stored thereon with computer instruction, which is characterized in that realize power when the instruction is executed by processor
Benefit requires the step of message processing method based on Internet of Things fidonetFido in 7.
9. a kind of message processor, can run on a memory and on a processor including memory, processor and storage
Computer program, which is characterized in that the processor is realized in claim 7 when executing described program based on Internet of Things fidonetFido
The step of message processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910362694.6A CN110062004A (en) | 2019-04-30 | 2019-04-30 | A kind of message handling system and method based on Internet of Things fidonetFido |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910362694.6A CN110062004A (en) | 2019-04-30 | 2019-04-30 | A kind of message handling system and method based on Internet of Things fidonetFido |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110062004A true CN110062004A (en) | 2019-07-26 |
Family
ID=67321944
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910362694.6A Pending CN110062004A (en) | 2019-04-30 | 2019-04-30 | A kind of message handling system and method based on Internet of Things fidonetFido |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110062004A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110418305A (en) * | 2019-08-01 | 2019-11-05 | 上海应用技术大学 | A kind of transmission method and its Transmission system of Switch monitor information |
CN111970363A (en) * | 2020-08-17 | 2020-11-20 | 北京金山云网络技术有限公司 | Data processing method and device based on Internet of things |
CN112272238A (en) * | 2020-10-29 | 2021-01-26 | 国网山东省电力公司威海供电公司 | Cloud-edge service interaction method for power Internet of things |
CN112765091A (en) * | 2021-02-04 | 2021-05-07 | 南方电网科学研究院有限责任公司 | SoC inter-core communication method and device |
CN114710517A (en) * | 2022-02-21 | 2022-07-05 | 交控科技股份有限公司 | Internet of things data model management system |
CN114826979A (en) * | 2022-04-07 | 2022-07-29 | 中国联合网络通信集团有限公司 | Network link quality obtaining method, device, system, equipment and storage medium |
CN115460211A (en) * | 2021-06-07 | 2022-12-09 | 中移物联网有限公司 | Information interaction method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104052653A (en) * | 2014-06-23 | 2014-09-17 | 广东天波信息技术股份有限公司 | Method for state presentation based on MQTT |
CN104135429A (en) * | 2014-08-12 | 2014-11-05 | 中国科学院声学研究所 | A method and a device for pushing information |
CN106130882A (en) * | 2016-07-13 | 2016-11-16 | 北京百度网讯科技有限公司 | For the method and apparatus transmitting message |
US20180183862A1 (en) * | 2016-12-22 | 2018-06-28 | University-Industry Cooperation Group Of Kyung-Hee University | Apparatus and method for logically grouping client nodes in an iot environment using client identifiers |
CN108322356A (en) * | 2017-01-18 | 2018-07-24 | 重庆邮电大学 | A kind of industrial network gateway compatibility test method based on MQTT |
CN108540554A (en) * | 2018-04-10 | 2018-09-14 | 天津科技大学 | Based on MQTT agreements to the control method of Intelligent hardware device |
CN109587228A (en) * | 2018-11-23 | 2019-04-05 | 济南浪潮高新科技投资发展有限公司 | A kind of publicly-owned agreement platform of internet of things and equipment cut-in method |
-
2019
- 2019-04-30 CN CN201910362694.6A patent/CN110062004A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104052653A (en) * | 2014-06-23 | 2014-09-17 | 广东天波信息技术股份有限公司 | Method for state presentation based on MQTT |
CN104135429A (en) * | 2014-08-12 | 2014-11-05 | 中国科学院声学研究所 | A method and a device for pushing information |
CN106130882A (en) * | 2016-07-13 | 2016-11-16 | 北京百度网讯科技有限公司 | For the method and apparatus transmitting message |
US20180183862A1 (en) * | 2016-12-22 | 2018-06-28 | University-Industry Cooperation Group Of Kyung-Hee University | Apparatus and method for logically grouping client nodes in an iot environment using client identifiers |
CN108322356A (en) * | 2017-01-18 | 2018-07-24 | 重庆邮电大学 | A kind of industrial network gateway compatibility test method based on MQTT |
CN108540554A (en) * | 2018-04-10 | 2018-09-14 | 天津科技大学 | Based on MQTT agreements to the control method of Intelligent hardware device |
CN109587228A (en) * | 2018-11-23 | 2019-04-05 | 济南浪潮高新科技投资发展有限公司 | A kind of publicly-owned agreement platform of internet of things and equipment cut-in method |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110418305A (en) * | 2019-08-01 | 2019-11-05 | 上海应用技术大学 | A kind of transmission method and its Transmission system of Switch monitor information |
CN111970363A (en) * | 2020-08-17 | 2020-11-20 | 北京金山云网络技术有限公司 | Data processing method and device based on Internet of things |
CN112272238A (en) * | 2020-10-29 | 2021-01-26 | 国网山东省电力公司威海供电公司 | Cloud-edge service interaction method for power Internet of things |
CN112765091A (en) * | 2021-02-04 | 2021-05-07 | 南方电网科学研究院有限责任公司 | SoC inter-core communication method and device |
CN112765091B (en) * | 2021-02-04 | 2024-05-03 | 南方电网科学研究院有限责任公司 | SoC inter-core communication method and device |
CN115460211A (en) * | 2021-06-07 | 2022-12-09 | 中移物联网有限公司 | Information interaction method and device |
CN114710517A (en) * | 2022-02-21 | 2022-07-05 | 交控科技股份有限公司 | Internet of things data model management system |
CN114826979A (en) * | 2022-04-07 | 2022-07-29 | 中国联合网络通信集团有限公司 | Network link quality obtaining method, device, system, equipment and storage medium |
CN114826979B (en) * | 2022-04-07 | 2023-08-15 | 中国联合网络通信集团有限公司 | Network link quality acquisition method, device, system, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110062004A (en) | A kind of message handling system and method based on Internet of Things fidonetFido | |
US11522734B2 (en) | Method for controlling a remote service access path and relevant device | |
US9578081B2 (en) | System and method for providing an actively invalidated client-side network resource cache | |
JP4560513B2 (en) | Method and apparatus for sharing resources via handset terminal | |
CN107093138B (en) | Auction Ask-Bid System and its operation method based on distributed clog-free asynchronous message tupe | |
CN100407627C (en) | Method and system for realizing end-to-end data sharing | |
CN103780679B (en) | Long delay remote invocation method based on http protocol | |
CN107391664A (en) | Page data processing method and system based on WEB | |
CN101917394B (en) | Middleware system for sharing data in mobile phone equipment and working method | |
CN104253856A (en) | Scalable Web Real-Time Communications (WebRTC) media engines, and related method and system | |
CN107172187A (en) | A kind of SiteServer LBS and method | |
CN103026689A (en) | Network based peer-to-peer traffic optimization | |
CN100555285C (en) | Web page information synergistic browsing system and method | |
CN113259415B (en) | Network message processing method and device and network server | |
CN109327511A (en) | A kind of data request method and server based on http protocol | |
CN112132942A (en) | Three-dimensional scene roaming real-time rendering method | |
CN114338769B (en) | Access request processing method and device | |
CN111813529B (en) | Data processing method, device, electronic equipment and storage medium | |
US9426114B2 (en) | Parallel message processing on diverse messaging buses | |
CN110213155A (en) | Communication processing method, device and relevant device, storage medium | |
CN109617960A (en) | A kind of web AR data presentation method based on attributed separation | |
Chika et al. | Financial stock application using websocket in Real Time Application | |
CN105900433A (en) | Method for providing a content part of a multimedia content to a client terminal, corresponding cache | |
CN109429215A (en) | Data transmission method, relevant device and computer readable storage medium | |
CN106408793A (en) | Service-component sharing method and system applicable to ATM (Automatic Teller Machine) services |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190726 |
|
RJ01 | Rejection of invention patent application after publication |