CN105897799A - WeChat platform based traffic fault reporting and alarming method - Google Patents
WeChat platform based traffic fault reporting and alarming method Download PDFInfo
- Publication number
- CN105897799A CN105897799A CN201410728171.6A CN201410728171A CN105897799A CN 105897799 A CN105897799 A CN 105897799A CN 201410728171 A CN201410728171 A CN 201410728171A CN 105897799 A CN105897799 A CN 105897799A
- Authority
- CN
- China
- Prior art keywords
- message
- user
- traffic control
- control department
- 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
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention relates to a WeChat platform based traffic fault reporting and alarming method. According to the invention, a user sends a message to a traffic management department account at a mobile phone client of WeChat, and the message arrives at the WeChat background through the network; the WeChat background receives the message and forwards the message to a traffic management department account background server; the traffic management department account server parses the message format after receiving a request, acquire a message required to be returned back to the user according to user content and server logic of the traffic management department account server, then packages the message, and returns back to the WeChat background; and the WeChat background forwards the message sent by the traffic management department account server to the WeChat mobile phone client of the user so as to enable the user to see the message sent by the traffic management department account on the mobile phone client.
Description
Technical field
The invention belongs to communication technical field, be specifically related to a kind of traffic report based on wechat platform barrier alarm method.
Background technology
Public Traveling run into block up, accident, find that the facility such as traffic light, traffic guardrail when breaking down, does not has advanced person's
Information-based means report to traffic control department, and field condition can not be processed in time, and the trip for the public is made troubles.Along with micro-
Popularizing of letter, reports transport information by wechat, can be that Public Traveling offers convenience.
Summary of the invention
It is an object of the present invention to provide a kind of traffic report based on wechat platform barrier alarm method, the public can be efficiently on-the-spot geographical
Position, photo site upload to traffic control department, and traffic control department can understand on-site actual situations in time, and establishment officer solves rapidly
Certainly site problems.System build up the terminal that handset Wechat will be made to become service society, it is provided that quick, authoritative, safe efficient,
Traffic administration socialized service system convenient, comprehensive.
A kind of traffic report based on wechat platform barrier alarm method, it is characterised in that:
(1) user sends a piece of news at the mobile phone cell-phone customer terminal of wechat to traffic control department account, and this message can pass through net
Network arrives wechat backstage;
(2), after wechat backstage receives this message, traffic control department account background server is forwarded the message to;
(3) after traffic control department keeps receives request, message format is resolved, according to user content and the service of oneself
Device logic, obtains the message needing to return user, then encapsulation messages, returns to wechat backstage;
(4) message that traffic control department keeps is sent on wechat backstage is transmitted to the wechat cell-phone customer terminal of user, uses
Family on cell-phone customer terminal it is seen that the message sent of traffic control department account.
Above-mentioned steps (4) farther includes:
(41) geographic location information that user is sent, traffic control department prompting user's upload pictures;User is sent
Photo, then can point out user upload field condition describe.
Further, said method also includes:
(5) traffic control department receives on-the-spot geographical position, photo site and the situation description that user uploads, through picture examination
After errorless, by going to process before existing SMS platform, intercommunication platform notice personnel nearby.
The present invention provide a kind of based on wechat platform traffic report barrier alarm method, reported by wechat platform block up, accident,
The information such as traffic signal light fault, traffic guardrail fault, are of value to the timely process of field condition, offer convenience for Public Traveling.
Meanwhile, also for the management offer convenience of traffic control department fault message.
Detailed description of the invention
The function that wechat public platform Shi Tengxun company is newly-increased on the basis of wechat, by this platform, individual and enterprise all may be used
To make the public number of a wechat, and realize and the word of special group, picture, the comprehensive communication of voice, interaction.
When developer submits checking application first to, wechat server will send GET request on the URL filled in, and carries
Upper four parameters (signature, timestamp, nonce, echostr), developer is by signature (i.e. signature)
Effect, judges the verity of this message.Hereafter, the when that each developer receiving user message, wechat the most all can bring
Above three parameters (signature, timestamp, nonce) access the URL that developer is arranged, and developer is still by right
The effect of signature judges the verity of this message.Effect mode is consistent with submitting checking application first to.Developer is by inspection
Request is verified by signature.If confirming, this GET request, from wechat server, former state please return echostr parameter
Content, then access and come into force, and becomes developer's success, otherwise access failure.
When user uploads geographical position, after clicking on " position " button, tune is played geographical location choice instrument by wechat client, complete
Becoming after selecting operation, the geographical position of selection is sent to the server of developer, stowed position selects instrument simultaneously, subsequently may be used
Receive the message that developer issues.When common wechat user is to public's account messaging, wechat server is by POST message
On the URL that XML data bag is filled in developer.Wherein the data packet format in geographical position is as follows:
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName>
<FromUserName><![CDATA[fromUser]]></FromUserName>
<CreateTime>1351776360</CreateTime>
<MsgType><![CDATA[location]]></MsgType>
<Location X>23.134521</Location X>
<Location Y>113.358803</Location Y>
<Scale>20</Scale>
<label><[CDATA [positional information]]></Label>
<MsgId>1234567890123456</MsgId>
</xml>
When user uploads scene photograph, after clicking on " picture " button, wechat client will eject selector and select " taking pictures " for user
Or " select from mobile phone photo album ".User i.e. walks other two kinds of flow processs after selecting.The data packet format of photo is as follows:
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName>
<FromUserName><![CDATA[fromUser]]></FromUserName>
<CreateTime>1348831860</CreateTime>
<MsgType><![CDATA[image]]></MsgType>
<PicUrl><![CDATA[this is a url]]></PicUrl>
<MediaId><![CDATA[media_id]]></MediaId>
<MsgId>1234567890123456</MsgId>
</xml>
For each POST request, developer returns specific XML structure in respond packet (Get), carries out this message
Response.The geographic location information sent for user, can point out user's upload pictures.The photo that user is sent, then
User can be pointed out to upload field condition describe.
A kind of based on wechat platform the traffic report barrier alarm method that the present invention provides, connects by calling the exploitation of wechat public platform
Mouthful, it is achieved upload geographical position and picture in real time.After traffic control business department has audited picture, led to by the mode such as phone, note
Know that related personnel processes field condition.Specifically include:
(1) user sends a piece of news at the mobile phone cell-phone customer terminal of wechat to traffic control department account, and this message can pass through net
Network arrives wechat backstage;
(2), after wechat backstage receives this message, traffic control department account background server is forwarded the message to;
(3) after traffic control department keeps receives request, message format is resolved, according to user content and the service of oneself
Device logic, obtains the message needing to return user, then encapsulation messages, returns to wechat backstage;
(4) message that traffic control department keeps is sent on wechat backstage is transmitted to the wechat cell-phone customer terminal of user, uses
Family on cell-phone customer terminal it is seen that the message sent of traffic control department account.
In above-mentioned steps (4), the geographic location information that user is sent, traffic control department prompting user's upload pictures;Right
In the photo that user sends, then user can be pointed out to upload field condition and to describe.
Traffic control department receives on-the-spot geographical position, photo site and the situation description that user uploads, after picture examination is errorless,
By going to process before existing SMS platform, intercommunication platform notice personnel nearby.
Claims (3)
1. traffic report based on a wechat platform barrier alarm method, it is characterised in that:
(1) user sends a piece of news at the mobile phone cell-phone customer terminal of wechat to traffic control department account, and this message can pass through net
Network arrives wechat backstage;
(2), after wechat backstage receives this message, traffic control department account background server is forwarded the message to;
(3) after traffic control department keeps receives request, message format is resolved, according to user content and the service of oneself
Device logic, obtains the message needing to return user, then encapsulation messages, returns to wechat backstage;
(4) message that traffic control department keeps is sent on wechat backstage is transmitted to the wechat cell-phone customer terminal of user, uses
Family on cell-phone customer terminal it is seen that the message sent of traffic control department account.
Traffic report based on wechat platform the most according to claim 1 barrier alarm method, it is characterised in that step (4)
Farther include:
(41) geographic location information that user is sent, traffic control department prompting user's upload pictures;User is sent
Photo, then can point out user upload field condition describe.
Traffic report based on wechat platform the most according to claim 2 barrier alarm method, it is characterised in that farther include:
(5) traffic control department receives on-the-spot geographical position, photo site and the situation description that user uploads, through picture examination
After errorless, by going to process before existing SMS platform, intercommunication platform notice personnel nearby.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410728171.6A CN105897799A (en) | 2014-12-03 | 2014-12-03 | WeChat platform based traffic fault reporting and alarming method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410728171.6A CN105897799A (en) | 2014-12-03 | 2014-12-03 | WeChat platform based traffic fault reporting and alarming method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105897799A true CN105897799A (en) | 2016-08-24 |
Family
ID=56699366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410728171.6A Pending CN105897799A (en) | 2014-12-03 | 2014-12-03 | WeChat platform based traffic fault reporting and alarming method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105897799A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107769969A (en) * | 2017-10-19 | 2018-03-06 | 湖南优图信息技术有限公司 | A kind of underground utilities accident alarming method and system |
CN107862883A (en) * | 2017-12-21 | 2018-03-30 | 天津市中环系统工程有限责任公司 | The fault detect and alarm of traffic lights and operation management system and implementation method |
-
2014
- 2014-12-03 CN CN201410728171.6A patent/CN105897799A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107769969A (en) * | 2017-10-19 | 2018-03-06 | 湖南优图信息技术有限公司 | A kind of underground utilities accident alarming method and system |
CN107862883A (en) * | 2017-12-21 | 2018-03-30 | 天津市中环系统工程有限责任公司 | The fault detect and alarm of traffic lights and operation management system and implementation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7603432B2 (en) | Locality based alert method and apparatus | |
EP3661163B1 (en) | Web service for mobile device tracking | |
AU2019276708B2 (en) | Emergency data gateway device | |
CN108053042A (en) | A kind of outage information is reported and submitted and delivery system | |
CN202904666U (en) | A self-service car insurance claim system | |
CA3174349C (en) | Emergency call data aggregation and visualization | |
CN107633666A (en) | Alarm method, alarm processing method, electronic equipment and computer-readable storage medium | |
CN107680354A (en) | Alarm processing method, alarm platform and storage medium | |
CN101861726B (en) | Emergency information distribution system, emergency information distribution method, transmission server, and mobile terminal | |
AU2023200242A1 (en) | System and method for delivery and receipt of electronic communications | |
CN103248864B (en) | A kind of cluster communication and video monitoring fusion method and system | |
US9430935B2 (en) | Emergency event message | |
TWI420426B (en) | Multidimensional emergency messaging system | |
AU2023237171A1 (en) | Edge-based location-specific warning system for LTE networks | |
WO2014019365A1 (en) | Help system and help method therefor | |
CN105897799A (en) | WeChat platform based traffic fault reporting and alarming method | |
Sasaki et al. | A disaster information sharing method by the mobile servers in challenged networks | |
US20170295115A1 (en) | Method and system for multi-media messaging and communications from mobile enabled networked devices directed to proximate organizations based on geolocated parameters | |
CN104955007A (en) | System and method for wireless publishing of public emergency information | |
Aziz et al. | Cooperative flood detection using GSMD via SMS | |
CN107612744A (en) | A kind of intelligent transportation equipment operational system based on mobile platform | |
CN107846349A (en) | A kind of traffic alarming method based on wechat platform | |
Aazam et al. | M2M Emergency help alert mobile cloud architecture | |
US20240098473A1 (en) | Methods and systems for sharing and displaying primary and supplemental emergency data | |
Dai et al. | Design of Emergency Position Service Platform Based on AML |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160824 |