CN105338085A - Smart city mobile cloud service platform based on XMPP protocol - Google Patents
Smart city mobile cloud service platform based on XMPP protocol Download PDFInfo
- Publication number
- CN105338085A CN105338085A CN201510733114.1A CN201510733114A CN105338085A CN 105338085 A CN105338085 A CN 105338085A CN 201510733114 A CN201510733114 A CN 201510733114A CN 105338085 A CN105338085 A CN 105338085A
- Authority
- CN
- China
- Prior art keywords
- xmpp
- server
- client
- message
- data flow
- 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
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
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a smart city mobile cloud service platform based on an XMPP protocol, comprising a client, a cloud server, a terminal, and an XMPP server. The client sends a first message to the cloud server via the Internet, the cloud server converts the first message into an XML-based first data flow and transmits the first data flow to the XMPP server, the XMPP server transmits the first data flow to the terminal, and the terminal parses the first data flow to obtain the first message. The terminal converts a second message into an XML-based second data flow and sends the second data flow to the XMPP server, the XMPP server transmits the second data flow to the cloud server, and the cloud server parses the second data flow to obtain the second message and transmits the second message to the client via the Internet. The platform can overcome the defect that various mobile Internet-of-things intelligent terminals are of a low degree of application integration.
Description
Technical field
The present invention relates to cloud service platform, particularly a kind of smart city mobile cloud service platform based on XMPP.
Background technology
Smart city (SmartCity), that Internet of Things of new generation and cloud computing are fully applied among all trades and professions in city, the advanced form of knowledge based type social innovation 2.0, contribute to alleviating " big city is sick ", improve urbanization quality, realize the becoming more meticulous of city, mobilism and wisdom management.
In December, 2012, Chinese Academy of Engineering organizes drafting of and intelligent city is classified as one of Chinese 30 Important Project science and technology special projects towards the year two thousand thirty by " the Chinese engineering science and technology Study on Long-team Strategy research report " issued.In May in this year, the smart city pilot work in 2013 of second batch country starts.At present, learn from autonomous region's house and the town and country construction Room, construction is orientated as with " safety " for core, accelerates pressure surface and builds to regional information exchange centre, extensively use the wisdom environment of the generation information such as Internet of Things, cloud computing technique construction Urban Operation and brand-new urban morphology.
Up to the present, certain scale is reached towards the infrastructure construction of smart city, the development of infrastructure network and various the application system construction.But various mobile Intelligent terminal for Internet of things application integrating degree is very low, and this phenomenon will limit the performance of prior art advantage, become a bottleneck of in-depth smart city application level.
The information being disclosed in this background technology part is only intended to increase the understanding to general background of the present invention, and should not be regarded as admitting or imply in any form that this information structure has been prior art that persons skilled in the art are known.
Summary of the invention
The object of the present invention is to provide a kind of smart city mobile cloud service platform based on XMPP, thus overcome the low-down shortcoming of various mobile Intelligent terminal for Internet of things application integrating degree.
For achieving the above object, the invention provides a kind of smart city mobile cloud service platform based on XMPP, comprising: client, Cloud Server, terminal and XMPP server; Described client sends the first message to Cloud Server by Internet of Things, first message conversion is become the first data flow based on XML and is sent to XMPP server by described Cloud Server, described XMPP server is by described first data stream to terminal, and the first data flow described in described terminal parses obtains described first message; Second message conversion is become the second data flow extremely described XMPP server based on XML by described terminal, described XMPP server is by described second data stream to described Cloud Server, and described Cloud Server is resolved described second data flow and obtained described second message and be sent to described client by Internet of Things.
Preferably, in technique scheme, described client comprises pc client and WEB client side.
Preferably, in technique scheme, described pc client, described WEB client side and described terminal need log in described XMPP server to communicate.
Preferably, in technique scheme, described terminal is mobile phone.
Compared with prior art, client is integrated by Cloud Server by the present invention, client comprises pc client and WEB client side etc., by application integration such as " emergency command, intelligent transportation, environmental monitoring, medical rescues ", on the mobile phone timely various scene and command information being pushed to staff at different levels simultaneously, utilize the instant messaging based on XMPP, realize the low-power consumption communication under motive objects networked environment.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from specification, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write specification, claims and accompanying drawing and obtain.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, together with embodiments of the present invention for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the structure chart according to the smart city mobile cloud service platform based on XMPP of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in detail, but is to be understood that protection scope of the present invention not by the restriction of embodiment.
The present invention adopts the principle of instantaneous communication system, adopt XMPP server as in transfer the communication issue realized between client and mobile device, XMPP (ExtensibleMessagingandPresenceProtocol, front title Jabber) be a kind of open real-time communication protocol based on XML, be the internet standard passed through via Internet Engineering Task group (IETF).XMPP be freely, open, disclosed in, and be easy to understand.And in client, server, assembly, source code storehouse etc., all each own multiple realization.The XMPP server adopted in the present invention is that Openfire, Openfire adopt Java exploitation, and live collaboration (RTC) server of increasing income is based on XMPP (Jabber) agreement.Openfire installs and uses very simple.Separate unit XMPP server can support concurrent user up to ten thousand, owing to being adopt open XMPP, can using the IM client software Sign-On services of various support XMPP, also just mean and can sign in Openfire server by oneself development sequence.
Communication between devices content is self-defining XML data form, is used for transfer instruction and data.(English: eXtensibleMarkupLanguage is called for short: XML), be a kind of markup language extend markup language.Mark refers to computer information symbol to understand, by this kind of mark, between computer can pack processing containing the article etc. of various information.XML design is used for transmitting and carrying data message, the advantage of XML purposes is that it illustrates what data are, and can carry data message, and has function field, data field etc. in XML agreement, function field is used for realizing different functions, and data field is used for transmitting data.
As shown in Figure 1, according to the smart city mobile cloud service platform based on XMPP of the specific embodiment of the invention, comprising: client 10, Cloud Server 20, terminal 40 and XMPP server 30.
In this embodiment, client 10 comprises pc client and WEB client side etc.; Wherein, pc client, WEB client side and terminal 40 need log in carries out authentication to XMPP server 30, and make pc client and WEB client side by communicating between XMPP server 30 with terminal 40, terminal 40 is preferably mobile phone.
In this platform, its Principle of Communication is:
(1) client 10 sends: client 10 (pc client and WEB client side) sends the first message message of aspects such as " emergency command, intelligent transportation, environmental monitoring, medical rescues " (this message can comprise) to Cloud Server 20 by Internet of Things, first message conversion is become the first data flow based on XML and is sent to XMPP server 30 by Cloud Server 20, XMPP server 30 is by the first data stream to terminal 40, and terminal 40 is resolved the first data flow and obtained the first message;
(2) terminal sends: the second message conversion becomes based on second data flow of XML to XMPP server 30 by terminal 40, XMPP server 30 is by the second data stream to Cloud Server 20, and Cloud Server 20 is resolved the second data flow and obtained the second message and be sent to client 10 by Internet of Things.
Further, in " emergency command ", the terminal that pc client and WEB client side can be worn emergency worker transmits the message of emergent aspect, greatly can improve response speed and the coordination ability of emergency command, effectively reduce error; Again further, in " intelligent transportation ", pc client and WEB client side can in time for traffic policeman carries out traffic dispersion and commander provides convenient information, also driver is facilitated to avoid congested link, improve road efficiency, more further, in " environmental monitoring ", pc client and WEB client side can provide the message of the emergency trouble shooting measures under hazard weather and environment to numerous citizen in time, reduce the loss caused because of disaster environment; Further, in " medical rescue ", pc client and WEB client side send medical information in time to healthcare givers, can improve accuracy and promptness that healthcare givers turns out for work.
Pc client and WEB client side are integrated by Cloud Server by the present invention, by application integration such as " emergency command, intelligent transportation, environmental monitoring, medical rescues ", and carry out instant messaging by XMPP, timely various scene and command information are pushed on the mobile phone (terminal) of staff at different levels, realize the low-power consumption communication under motive objects networked environment.
The present invention can have multiple multi-form embodiment; above for Fig. 1 by reference to the accompanying drawings to technical scheme of the present invention explanation for example; this does not also mean that the instantiation that the present invention applies can only be confined in specific flow process or example structure; those of ordinary skill in the art should understand; specific embodiments provided above is some examples in multiple its preferred usage, and the execution mode of any embodiment the claims in the present invention all should within technical solution of the present invention scope required for protection.
Last it is noted that the foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, although with reference to previous embodiment to invention has been detailed description, for a person skilled in the art, it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (4)
1., based on a smart city mobile cloud service platform for XMPP, it is characterized in that, comprising: client, Cloud Server, terminal and XMPP server;
Described client sends the first message to Cloud Server by Internet of Things, first message conversion is become the first data flow based on XML and is sent to XMPP server by described Cloud Server, described XMPP server is by described first data stream to terminal, and the first data flow described in described terminal parses obtains described first message;
Second message conversion is become the second data flow extremely described XMPP server based on XML by described terminal, described XMPP server is by described second data stream to described Cloud Server, and described Cloud Server is resolved described second data flow and obtained described second message and be sent to described client by Internet of Things.
2. the smart city mobile cloud service platform based on XMPP according to claim 1, it is characterized in that, described client comprises pc client and WEB client side.
3. the smart city mobile cloud service platform based on XMPP according to claim 2, it is characterized in that, described pc client, described WEB client side and described terminal need log in described XMPP server to communicate.
4. the smart city mobile cloud service platform based on XMPP according to claim 1, it is characterized in that, described terminal is mobile phone.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510733114.1A CN105338085A (en) | 2015-11-02 | 2015-11-02 | Smart city mobile cloud service platform based on XMPP protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510733114.1A CN105338085A (en) | 2015-11-02 | 2015-11-02 | Smart city mobile cloud service platform based on XMPP protocol |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105338085A true CN105338085A (en) | 2016-02-17 |
Family
ID=55288360
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510733114.1A Pending CN105338085A (en) | 2015-11-02 | 2015-11-02 | Smart city mobile cloud service platform based on XMPP protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105338085A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106407679A (en) * | 2016-09-13 | 2017-02-15 | 上海市徐汇区中心医院 | Mobile Internet cross-platform cross-equipment remote diagnosis and treatment system |
CN108645450A (en) * | 2018-06-29 | 2018-10-12 | 张家港市鸿嘉数字科技有限公司 | A kind of smart city environment friendly system and its working method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090043849A1 (en) * | 2007-07-27 | 2009-02-12 | Intelligent Software Solutions, Inc. | Collaborative web-based computing |
CN101488926A (en) * | 2009-02-27 | 2009-07-22 | 浪潮集团山东通用软件有限公司 | Network message communication method based on XMPP protocol and SMS |
CN103338182A (en) * | 2013-05-09 | 2013-10-02 | 闫凤麒 | Health data communication method based on XMPP (extension message and presence protocol) |
-
2015
- 2015-11-02 CN CN201510733114.1A patent/CN105338085A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090043849A1 (en) * | 2007-07-27 | 2009-02-12 | Intelligent Software Solutions, Inc. | Collaborative web-based computing |
CN101488926A (en) * | 2009-02-27 | 2009-07-22 | 浪潮集团山东通用软件有限公司 | Network message communication method based on XMPP protocol and SMS |
CN103338182A (en) * | 2013-05-09 | 2013-10-02 | 闫凤麒 | Health data communication method based on XMPP (extension message and presence protocol) |
Non-Patent Citations (1)
Title |
---|
张卫等: "XMPP应用于物联网通讯协议的研究", 《中国农学通报》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106407679A (en) * | 2016-09-13 | 2017-02-15 | 上海市徐汇区中心医院 | Mobile Internet cross-platform cross-equipment remote diagnosis and treatment system |
CN106407679B (en) * | 2016-09-13 | 2019-03-26 | 上海市徐汇区中心医院 | Mobile interchange cross-platform cross equipment remote diagnosis system |
CN108645450A (en) * | 2018-06-29 | 2018-10-12 | 张家港市鸿嘉数字科技有限公司 | A kind of smart city environment friendly system and its working method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111787066B (en) | Internet of things data platform based on big data and AI | |
Zhao | Research on data security technology in internet of things | |
DE60120920D1 (en) | MESSAGING SYSTEM | |
CN108038207A (en) | A kind of daily record data processing system, method and server | |
CN107992767A (en) | A kind of authority control method based on more cloud platforms | |
CN102571939A (en) | Cross-platform communication method and system | |
CN105338085A (en) | Smart city mobile cloud service platform based on XMPP protocol | |
CN105024923B (en) | The method and device that message category based on XMPP extension message is realized | |
CN106846190A (en) | Intellectual property case management system | |
CN106204364A (en) | A kind of user's legal services demand precisely mate lawyer timely time exchange method | |
CN106648922A (en) | Data collecting method based on XMPP | |
CN107835150A (en) | A kind of full media customer service dispatching method and system | |
CN104639242B (en) | Road lamp identifies acquisition system and method | |
CN104135414A (en) | Method for secondary safety protection of synchronous cross-district services based on information exchange bus | |
CN204990384U (en) | Government affairs management system of wisdom community | |
CN103019980A (en) | Control method for information flow of power distribution network based on IEC(International Electrotechnical Commission) 61968 standard | |
CN105933390B (en) | Websocket-based port oil spill DTU data management system | |
CN213637815U (en) | Data processing system and server | |
CN204965728U (en) | IoT (Internet of things) data acquisition terminal | |
CN204652428U (en) | A kind of distributed data base management system (DDBMS) | |
CN104320351A (en) | Software traffic control method and system based on zero copy and Linux kernel | |
Sun et al. | Intelligent collaborative urban traffic management system based on SOA and cloud computing | |
Liu et al. | Design and application of intelligent traffic guidance system for fog area based on LoRa | |
CN103593416A (en) | Method for automatically generating distributed test run middleware heterogeneous gateway | |
CN106530177A (en) | Network-based meteorological station management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160217 |
|
WD01 | Invention patent application deemed withdrawn after publication |