CN109150697A - The method of real-time informing based on instant messaging agreement MQTT - Google Patents

The method of real-time informing based on instant messaging agreement MQTT Download PDF

Info

Publication number
CN109150697A
CN109150697A CN201811006929.XA CN201811006929A CN109150697A CN 109150697 A CN109150697 A CN 109150697A CN 201811006929 A CN201811006929 A CN 201811006929A CN 109150697 A CN109150697 A CN 109150697A
Authority
CN
China
Prior art keywords
mqtt
message
instant messaging
sent
agreement
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
CN201811006929.XA
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201811006929.XA priority Critical patent/CN109150697A/en
Publication of CN109150697A publication Critical patent/CN109150697A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/58Message adaptation for wireless communication
    • 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/55Push-based network services
    • 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/26Special purpose or proprietary protocols or architectures

Abstract

The invention discloses a kind of methods of real-time informing based on instant messaging agreement MQTT, comprising the steps of: 1), bus dispatching person edits the message to be sent in operation client when needing to send information, and choose the object to be sent;2), message is pushed to MQTT server, and MQTT server inspection pushes the node where target, and sends message to the node;3), driver mobile terminal receives the message of MQTT server transmission, carries out Context resolution according to MQTT agreement;4) after, parsing, the notification component for calling mobile terminal included, and message is added in notification component, it is sent to mobile front end.The method of real-time informing based on instant messaging agreement MQTT of the invention has the advantage that by introducing the instant messaging frame based on MQTT communication protocol, realize the displaying to multimedia pushed information, driver can be made to receive the PUSH message of prompt facility definitely in mobile terminal, facilitate reception information of the driver when driving.

Description

The method of real-time informing based on instant messaging agreement MQTT
Technical field
The present invention relates to a kind of intelligent bus, more precisely, being a kind of real-time logical based on instant messaging agreement MQTT The method known.
Background technique
In traditional system using public transport vehicle-mounted terminal instrument, driver can receive each of company's push by terminal instrument Category information, but these information can only be simple text.When the development with information technology, simple text cannot expire Its requirement of foot.
Summary of the invention
The present invention mainly solves technical problem present in the prior art, to provide a kind of based on instant messaging agreement The method of the real-time informing of MQTT.
Above-mentioned technical problem of the invention is mainly to be addressed by following technical proposals:
The invention discloses a kind of methods of real-time informing based on instant messaging agreement MQTT, comprising the steps of:
1) when, bus dispatching person needs to send information, the message to be sent is edited in operation client, and choose and to send out The object sent;
2), message is pushed to MQTT server, and MQTT server inspection pushes the node where target, and to described Node sends message;
3), driver mobile terminal receives the message of MQTT server transmission, carries out Context resolution according to MQTT agreement;
4) after, parsing, the notification component for calling mobile terminal included, and message is added in notification component, it sends To mobile front end.
The method of real-time informing based on instant messaging agreement MQTT of the invention has the advantage that be based on by introducing The instant messaging frame of MQTT communication protocol realizes the displaying to multimedia pushed information, and driver can be made to receive in mobile terminal To the PUSH message of prompt facility definitely, and speech synthesis technique is utilized, it can be the content of pure words, with voice Form is read out, and facilitates reception information of the driver when driving.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram of the method for the real-time informing of the invention based on instant messaging agreement MQTT.
Specific embodiment
The preferred embodiment of the present invention is described in detail with reference to the accompanying drawing, so that advantages and features of the invention energy It is easier to be readily appreciated by one skilled in the art, so as to make a clearer definition of the protection scope of the present invention.
As shown in Figure 1, the method for being somebody's turn to do the real-time informing based on instant messaging agreement MQTT, comprising the steps of:
1) when, bus dispatching person needs to send information, the message to be sent is edited in operation client, and choose and to send out The object sent;
2), message is pushed to MQTT server, and the mobile terminal of every Bus driver is all connected by Socket mode at this time Onto MQTT push server, MQTT server inspection pushes the node where target, and sends message to the node;
3), driver mobile terminal receives the message of MQTT server transmission, carries out Context resolution according to MQTT agreement;
4) after, parsing, the notification component for calling mobile terminal included, and message is added in notification component, it sends To mobile front end.
By introducing the instant messaging frame based on MQTT communication protocol, displaying of the realization to multimedia pushed information can It, can be so that driver receives the PUSH message of prompt facility definitely in mobile terminal, and utilizes speech synthesis technique The content of pure words, reads out in the form of speech, facilitates reception information of the driver when driving.
Not limited to this, any change or replacement expected without creative work should all be covered in guarantor of the invention Within the scope of shield.Therefore, protection scope of the present invention should be determined by the scope of protection defined in the claims.

Claims (1)

1. a kind of method of the real-time informing based on instant messaging agreement MQTT, comprising the steps of:
1) when, bus dispatching person needs to send information, the message to be sent is edited in operation client, and choose to be sent Object;
2), message is pushed to MQTT server, and MQTT server inspection pushes the node where target, and to the node Send message;
3), driver mobile terminal receives the message of MQTT server transmission, carries out Context resolution according to MQTT agreement;
4) after, parsing, the notification component for calling mobile terminal included, and message is added in notification component, it is sent to shifting Dynamic front end.
CN201811006929.XA 2018-08-31 2018-08-31 The method of real-time informing based on instant messaging agreement MQTT Pending CN109150697A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811006929.XA CN109150697A (en) 2018-08-31 2018-08-31 The method of real-time informing based on instant messaging agreement MQTT

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811006929.XA CN109150697A (en) 2018-08-31 2018-08-31 The method of real-time informing based on instant messaging agreement MQTT

Publications (1)

Publication Number Publication Date
CN109150697A true CN109150697A (en) 2019-01-04

Family

ID=64825719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811006929.XA Pending CN109150697A (en) 2018-08-31 2018-08-31 The method of real-time informing based on instant messaging agreement MQTT

Country Status (1)

Country Link
CN (1) CN109150697A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111092941A (en) * 2019-12-12 2020-05-01 紫光云(南京)数字技术有限公司 Real-time stable notification sending method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878377A (en) * 2016-12-23 2017-06-20 伟乐视讯科技股份有限公司 The safe supplying system and method for a kind of application message
CN106960573A (en) * 2017-04-07 2017-07-18 中科车港(深圳)实业股份有限公司 A kind of dynamic transport management method, apparatus and system
US9781189B2 (en) * 2014-07-22 2017-10-03 Sap Se Managed device-to-device communication in business computing systems
CN107302599A (en) * 2017-08-24 2017-10-27 太仓安顺财务服务有限公司 Many application converged messages push platform in a kind of mobile Internet

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9781189B2 (en) * 2014-07-22 2017-10-03 Sap Se Managed device-to-device communication in business computing systems
CN106878377A (en) * 2016-12-23 2017-06-20 伟乐视讯科技股份有限公司 The safe supplying system and method for a kind of application message
CN106960573A (en) * 2017-04-07 2017-07-18 中科车港(深圳)实业股份有限公司 A kind of dynamic transport management method, apparatus and system
CN107302599A (en) * 2017-08-24 2017-10-27 太仓安顺财务服务有限公司 Many application converged messages push platform in a kind of mobile Internet

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111092941A (en) * 2019-12-12 2020-05-01 紫光云(南京)数字技术有限公司 Real-time stable notification sending method

Similar Documents

Publication Publication Date Title
EP1347381A3 (en) Architecture for plugging messaging systems into an application server
DE60120920D1 (en) MESSAGING SYSTEM
JP4511240B2 (en) Provide scalable services for vehicle entertainment and information processing devices
WO2006101556A3 (en) Enabling application wakeup on a mobile device with a hybrid client
EP1215567A3 (en) Printing over the internet
EP1326352A3 (en) Mobile telephony on-board a vehicle
US8260333B2 (en) Consolidating international short message service messages destined to multiple recipients
WO2002043414A3 (en) Multimedia messaging services
ATE526772T1 (en) METHOD AND SYSTEM FOR MANAGING MESSAGE-ORIENTED APPLICATIONS AND APPLICATION PROVIDERS IN A COMMUNICATIONS NETWORK
CN101916293B (en) Introduce the method and apparatus of media information in a document
CN103778797A (en) Multimode response method of voice transportation information
EP1571791A3 (en) Mobile communication system and method for providing a real time messenger service among mobile communication terminals
WO2000062503A3 (en) Apparatus and method for authenticating messages in a multicast
US20120233262A1 (en) Message signature method and device
CN101097618A (en) Mail matter topics automatically generating method, device and system
CN109150697A (en) The method of real-time informing based on instant messaging agreement MQTT
CN103095549A (en) Method and system for messaging between instant messaging tools
HK1081357A1 (en) System and method for formatting electronic messages from a mobile communication device
EP3389196A3 (en) System and method for sending and receiving air traffic network messages using different protocols
CN105024923B (en) The method and device that message category based on XMPP extension message is realized
CN113630729B (en) Intelligent 5G message transmission system
JP2005229585A (en) Cross media data matching system
CN1885978A (en) User terminal and its method for processing message
EP1296490A3 (en) Message broker
CN103023991A (en) Realtime traffic information reporting method and system based on internet protocol (IP) packet

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190104