CN101673462A - Traffic information release interface system supporting multiple service modes and method thereof - Google Patents

Traffic information release interface system supporting multiple service modes and method thereof Download PDF

Info

Publication number
CN101673462A
CN101673462A CN200910092558A CN200910092558A CN101673462A CN 101673462 A CN101673462 A CN 101673462A CN 200910092558 A CN200910092558 A CN 200910092558A CN 200910092558 A CN200910092558 A CN 200910092558A CN 101673462 A CN101673462 A CN 101673462A
Authority
CN
China
Prior art keywords
service
city
information
request message
pcdata
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
CN200910092558A
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.)
Beijing Cennavi Technologies Co Ltd
Original Assignee
Beijing Cennavi Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Cennavi Technologies Co Ltd filed Critical Beijing Cennavi Technologies Co Ltd
Priority to CN200910092558A priority Critical patent/CN101673462A/en
Publication of CN101673462A publication Critical patent/CN101673462A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention discloses a traffic information release interface system supporting multiple service modes and a method thereof, and relates to the field of intelligent transportation,aiming at solving the problem that the traffic information can not be effectively released in the prior art. The method comprises the steps: receiving the request message of traffic information, andleading the request message to adopt extensible markup language XML specification; and according to the request message of the traffic information, sending the response message of the traffic information, and leading the response message to adopt the XML specification. The technical scheme provided by the embodiment of the invention can be applied to releasing the dynamic traffic information.

Description

A kind of traffic information release interface system and method for supporting multiple service mode
Technical field
The present invention relates to intelligent transportation field, relate in particular to a kind of traffic information release interface system and method for supporting multiple service mode.
Background technology
The main target of intelligent transportation realizes the modernization of entire city traffic and transportation system exactly, and Urban Transportation modernization key link is the height fusion of all kinds of transport information and shares, and provides the real-time dynamic information service to satisfy the more and more urgent transport information demand of the public.The road real-time dynamic information has become the important foundation of entire I TS (Intelligent Transport System, intelligent transportation system) infosystem.The real-time dynamic information disposal system is exactly to carry out the fusion treatment analysis by the various source of traffic information that will collect, generate the real-time dynamic traffic traffic information, provide trip help informations such as congestion in road information, running time to the public by modes such as WEB distribution platform, wireless mobile network, broadcasting at last, provide part solution and decision-making foundation for relevant traffic department regulates the traffic to transport simultaneously.
In transport information mobile wireless value-added service field, the business of Real-time Road road conditions has appearred much providing towards the public, customize as the note road condition query, WAP road conditions issuing web site and 12580 operator attendance road condition queries etc., the content that provides mainly is the Real-time Road road condition query, this makes numerous cellphone subscribers can obtain quick practical accurate road information with cheap cost, in original internet and car-mounted terminal traffic information display, also begin to add the correlation function that launches around the real road road condition query, this kind business has become the new trend of real-time traffic service development.
State in realization in the process of transport information issue, the inventor finds that there are the following problems at least in the prior art: existing information processing issue mechanism lacks the data Access Control standard of unified transport information issue, in the face of mass data information the time, system handles pressure is big, efficiently distributing traffic information.
Summary of the invention
A kind of traffic information release interface system and method for supporting multiple service mode that the embodiment of the invention provides, provide one the cover transport information data Access Control standard.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of transport information issuing interface method of supporting multiple service mode comprises:
The request message of receiving traffic information, described request message adopts the expandable mark language XML specification;
According to the request message of described transport information, send the response message of described transport information, described response message adopts the XML specification.
A kind of traffic information release interface system of supporting multiple service mode, described system comprises gas producing formation, application layer and data Layer, described application layer comprises:
Receiver module is used for the request message of receiving traffic information, and described request message adopts the expandable mark language XML specification;
Sending module is used for the request message according to the transport information of described receiver module reception, sends the response message of described transport information, and described response message adopts the XML specification.
The traffic information release interface system and the method for the multiple service mode of support that the embodiment of the invention provides, integrated the demand data of various traffic-information service, standard data insert standard, make that the service system framework is more reasonable, solve the data content that the application of transport information product is faced in the prior art problem is provided, improved reliability, the extendability of service system.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The traffic information release interface system of the multiple service mode of support that Fig. 1 provides for the embodiment of the invention;
The traffic information release interface system Organization Chart of the multiple service mode of support that Fig. 2 provides for the embodiment of the invention;
The traffic information release interface system building-block of logic of the multiple service mode of support that Fig. 3 provides for the embodiment of the invention;
The process flow diagram of the transport information issuing interface method of the multiple service mode of support that Fig. 4 provides for the embodiment of the invention;
Another process flow diagram of the transport information dissemination method of the multiple service mode of support that Fig. 5 provides for the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Below in conjunction with specific embodiments and the drawings the present invention is further explained.
As shown in Figure 1, a kind of traffic information release interface system of supporting multiple service mode that the embodiment of the invention provides, described system comprises gas producing formation 101, application layer 102 and data Layer 103, described application layer 102 comprises:
Receiver module 1021 is used for the request message of receiving traffic information, and described request message adopts the expandable mark language XML specification;
Sending module 1022 is used for the request message according to the transport information of described receiver module 1021 receptions, sends the response message of described transport information, and described response message adopts the XML specification.
Below in conjunction with the system architecture diagram that the embodiment of the invention provides, as shown in Figure 2, the system that the embodiment of the invention is provided is described further:
Described gas producing formation 101 comprises note product, multimedia message product, wap product, 12580 systems etc.
Described data Layer 103 comprises road conditions data, Wap road conditions diagram data, POI data, event information data, user data.
Described application layer can also be further:
The road conditions enquiry module is used for the parameter information according to user's input, and the service of road placename-querying, road conditions custom-built query, road conditions inquiry is provided;
The road condition data release module is used for the city title according to user's input, and the service of the whole road conditions data in city is provided;
Urban transportation overview enquiry module is used for the parameter information according to user's input, and the service of inquiry of traffic overview and the inquiry of urban transportation eye is provided;
The most stifled road condition query module in city is used for the parameter information according to user's input, and the service of the most stifled road conditions information in city is provided;
City focus road condition query module is used for the parameter information according to user's input, and the service of city focus road conditions information is provided;
City focus road condition query module is used for the parameter information according to user's input, and the service of hot spot region, city road conditions is provided;
The path planning enquiry module is used for the parameter information according to user's input, and the service of the optimum travel route inquiry in city is provided
The POI enquiry module is used for city title and search key according to user's input, and the service of POI name query and POI coordinate inquiry is provided;
The event information enquiry module is used for city title and search key according to user's input, and the event information inquiry of single place and all services of up-to-date event inquiry are provided.
Following mask body is introduced each service module:
1, road conditions inquiry service function
1) road placename-querying
According to city title, the search key (can be Chinese, spelling, simplicity) of user's input, system retrieves the record tabulation that comprises this key word by fuzzy matching.
2) road conditions custom-built query
According to the various parameter informations (can inquire about the literal road conditions describes or the road conditions picture) of user's input, the single road traffic information of system queries coupling.
3) road conditions inquiry
According to the various parameter informations of user's input, system is the text description and the road conditions pictorial information of the single road road conditions of match query simultaneously.
2, road condition data issuing service function is used to obtain the urban road road condition data, according to the city title of user input, obtain the whole road conditions data in city.
3, urban transportation profile service function
1) urban transportation overview inquiry
Various parameter informations, system queries major urban arterial highway road conditions information and urban district panorama road conditions picture according to user's input.
2) urban transportation eye inquiry
According to the various parameter informations of user input, system queries city proper road conditions panorama sketch comprises the regional road conditions figure of urban district panorama sketch, the southeast, southwest, northeast, northwest four direction.
4, the road conditions service function is gambled in the city most, is used for the various parameter informations according to user's input, and the traffic information of road is gambled in the current city of system queries most.
5, city focus road conditions service function is used for the various parameter informations according to user's input, the focus traffic information in the current city of system queries.
6, city focus road conditions service function is used for the various parameter informations according to user's input, the relevant road conditions information of certain hot spot region, system queries city.
7, path planning inquiry service function is used for the various parameter informations according to user's input, the optimum travel route information of system queries city point-to-point transmission.
8, POI inquiry service function
1) POI name query
According to city title, the search key (can be Chinese, spelling) of user's input, system retrieves the record tabulation that comprises this key word by fuzzy matching.
2) POI coordinate inquiry
According to city title, the search key (can be Chinese, spelling) of user's input, system retrieves the POI coordinate information that mates this key word fully.
9, event information inquiry service function
1) the single place of inquiry event information
According to the city title of user's input, the key word (can be Chinese, spelling, simplicity) of search in title, the up-to-date event information of inquiring about this place.
2) the whole up-to-date event information of inquiry
According to the city title of user's input, whole up-to-date event information of inquiring about this city.
After doing with simple introduction to each module in the described system, the system service interface that the embodiment of the invention is provided is described further:
1, overall system specification
1) all service interfaces all provide with Web Service interface mode.
2) all services request and feedback all send and receive by HTTP POST mode.
3) message body of services request and feedback is used UTF-8 coding XML form, adopts the big-endian order;
4) independently interface is used in each service;
5) far call of support XMLHTTP, modes such as SOAP Toolkit, JSP/ASP;
6) the request message body of all services is in a reqinfo element;
7)) the response message body of all services is in a retinfo element;
8) the attribute type value of message call body and return results message body is consistent;
9) element, the unified small letter English alphabet that adopts of Property Name.
10) the city title parameter value of request and response all uses the spelling small letter.
2, service code
Figure G2009100925586D00071
(1) road conditions inquiry service
The request interface specification
Road conditions services request interface name: JAMQUERY
The XML DTD of road conditions interface requests message body is defined as follows:
<!ELEMENT?reqinfo(cityName?,name?,wap?,wapType?,wapSize?,txt?,pic?,roadInfoType?)>
<!ATTLIST?reqinfo?type?CDATA#REQUIRED>
<!ELEMENT?cityName(#PCDATA)>
<!ELEMENT?name(#PCDATA)>
<!ELEMENT?wap(#PCDATA)>
<!ELEMENT?wapType(#PCDATA)>
<!ELEMENT?wapSize(#PCDATA)>
<!ELEMENT?txt(#PCDATA)>
<!ELEMENT?pic(#PCDATA)>
<!ELEMENT?roadInfoType(#PCDATA)>
Below each parameter in the message body is introduced:
Type service code type is referring to the service code table.
City, cityName place title adopts the spelling small letter.
Name inquiry roads (crossing, viaduct) title is supported Chinese character, spelling, simplicity.
Whether wap needs to inquire about the Wap picture, and " 0 " expression needs, and " 1 " expression does not need.
WapType: picture/mb-type, support png, jpg and gif form, required parameter is png, the jpg of small letter or at least one among the gif.
The wapSize picture size, " 0 " expression request 128-128 size, " 1 " expression request 176-220 size, " 2 " expression request 240-320 size.
Txt returns road conditions descriptor form: " 0 " expression character string, " 1 " expression text stream, the text stream of " 2 " expression zip form compression.
Pic returns the road conditions picture format: the http url address of " 0 " expression picture, " 1 " expression picture document flow, the picture file stream of " 2 " expression zip form compression, " 3 " expression picture local address.
RoadInfoType: return road conditions descriptor type: " 0 " represents whole details, and as " road-direction-highway section ", " 1 " expression brief information is as " road-direction ".
The XML DTD of road conditions interface requests message body is defined as follows:
<!ELEMENT?retinfo(acnt,road)>
<!ATTLIST?retinfo
type?CDATA#IMPLIED>
<!ELEMENT?result(#PCDATA)>
<!ELEMENT?name(#PCDATA)>
<!ELEMENT?txtInfo(#PCDATA)>
<!ELEMENT?picInfo(#PCDATA)>
<!ELEMENT?timeStamp(#PCDATA)>
<!ELEMENT?acnt(#PCDATA)>
<!ELEMENT?road(name?)>
<!ELEMENT?name(#PCDATA)>
Type service code type is referring to the service code table.
Result: operating result: " 0 " is represented successfully, " 1 " expression failure, and there is similar coupling road in " 2 ", and " 3 " have only road conditions text description information, do not have pictorial information.
The road name of the unique coupling of name
TxtInfo road conditions text description information
PicInfo road conditions pictorial information
TimeStamp: road conditions time
The similar road name number of acnt.
The similar road name tabulation of road.
The name road name.
(2) road condition data issuing service
Road condition data services request interface name: DATAQUERY
The XML DTD of road condition data interface requests message body is defined as follows:
<!ELEMENT?reqinfo(cityName?,type?)>
<!ATTLIST?reqinfo?type?CDATA#REQUIRED>
<!ELEMENT?cityName(#PCDATA)>
<!ELEMENT?restType(#PCDATA)>
Wherein, type: the service code type, referring to the service code table; CityName: city, place title, adopt the spelling small letter; RestType: the text stream that returns the compression of road conditions descriptor form 0 character string 1 text stream 2zip form.
The XML DTD of road condition data interface response message body is defined as follows:
<!ELEMENT?reqinfo(ACNT,ROADINFO)>
<!ATTLIST?retinfo
type?CDATA#IMPLIED>
<!ELEMENT?ACNT(#PCDATA)>
<!ELEMENTROADINFO(SID?,ROADID?,ROADNAME?,DIRECTION?,DESCRIPTION?,TRAVELL_IME_SUM?,SPEED_AVG?,JAM_DEGREE?,PINYIN?,SIMPLE_PINYIN?,WAP_NAME?,UPDATE_TIME?,START?,END?)>
<!ELEMENT?SID(#PCDATA)>
<!ELEMENT?ROADID(#PCDATA)>
<!ELEMENT?ROADNAME(#PCDATA)>
<!ELEMENT?DIRECTION(#PCDATA)>
<!ELEMENT?DESCRIPTION(#PCDATA)>
<!ELEMENT?TRAVEL_TIME_SUM(#PCDATA)>
<!ELEMENT?SPEED_AVG(#PCDATA)>
<!ELEMENT?JAM_DEGREE(#PCDATA)>
<!ELEMENT?PINYIN(#PCDATA)>
<!ELEMENT?SIMPLE_PINYIN(#PCDATA)>
<!ELEMENT?WAP_NAME(#PCDATA)>
<!ELEMENT?UPDATE_TIME(#PCDATA)>
<!ELEMENT?START(#PCDATA)>
<!ELEMENT?END(#PCDATA)>
Wherein, type: the service code type, referring to the service code table; ACNT: return recording quantity; ROADINFO: the road conditions information of every record; SID: sequence number; ROADID: road number; ROADNAME: road name; DIRECTION: direction; DESCRIPTION: direction is described; TRAVEL_TIME_SUM: running time; SPEED_AVG: average speed; JAM_DEGREE: the degree of blocking up; PINYIN: road name phonetic; SIMPLE_PINYIN: road name simplicity; The WAP_NAME:Wap picture name; UPDATE_TIME: road condition updating time; START: road (highway section) starting point; END: road (highway section) terminal point.
(3) urban transportation overview inquiry service
Urban transportation overview request interface title: TOTALQUERY
The XML DTD of urban transportation overview request message body is defined as follows:
<!ELEMENT?reqinfo(cityName?,wap?,wapType?,wapSize?,kind?,txt?,pic?,roadInfoType?)>
<!ATTLIST?reqinfo?type?CDATA#REQUIRED>
<!ELEMENT?cityName(#PCDATA)>
<!ELEMENT?wap(#PCDATA)>
<!ELEMENT?wapType(#PCDATA)>
<!ELEMENT?wapSize(#PCDATA)>
<!ELEMENT?kind(#PCDATA)>
<!ELEMENT?txt(#PCDATA)>
<!ELEMENT?pic(#PCDATA)>
<!ELEMENT?roadInfoType(#PCDATA)>
Type, cityName, wap, wapType, wapSize, txt, pic, roadInfoType are identical with descriptor in the above-mentioned request message body, repeat no more herein.
Kind picture region kind, the big figure of panorama is used in " 1 " expression, and the little figure of panorama (normally) is used in " 2 " expression, and " 21 " expression northwest areal map, " 22 " northeast areal map " 23 " are represented southwestern areal map " 24 " expression southeast areal map.
The XML DTD of urban transportation overview response message body is defined as follows:
<!ELEMENT?retinfo(acnt,road)>
<!ATTLIST?retinfo
type?CDATA#IMPLIED>
<!ELEMENT?result(#PCDATA)>
<!ELEMENT?txtInfo(#PCDATA)>
<!ELEMENT?picInfo(#PCDATA)>
<!ELEMENT?timeStamp(#PCDATA)>
Type, result, txtInfo, picInfo are identical with descriptor in timeStamp and the above-mentioned request message body, repeat no more herein.
(4) gamble the road condition query service most
Road conditions services request interface name: CROWDQUERY is gambled in the city most
The XML DTD that road conditions interface requests message body is gambled in the city most is defined as follows:
<!ELEMENT?reqinfo(cityName?,txt?,rnum?)>
<!ATTLIST?reqinfo?type?CDATA#REQUIRED>
<!ELEMENT?cityName(#PCDATA)>
<!ELEMENT?txt(#PCDATA)>
<!ELEMENT?rnum(#PCDATA)>
Type, cityName, txt are identical with descriptor in the above-mentioned request message body, repeat no more herein.
Rnum returns the road conditions record number that blocks up most.
The XML DTD that road condition query interface response message body is gambled in the city most is defined as follows:
<!ELEMENT?retinfo>
<!ATTLIST?retinfo
type?CDATA#IMPLIED>
<!ELEMENT?result(#PCDATA)>
<!ELEMENT?txtInfo(#PCDATA)>
<!ELEMENT?timeStamp(#PCDATA)>
Type, result, txtInfo, timeStamp are identical with descriptor in the above-mentioned request message body, repeat no more herein.
(5) city focus road condition query service
City focus road conditions services request interface name: JDLKQUERY
The XML DTD of city focus road conditions interface requests message body is defined as follows:
<!ELEMENT?reqinfo(cityName?,txt?)>
<!ATTLIST?reqinfo?type?CDATA#REQUIRED>
<!ELEMENT?cityName(#PCDATA)>
<!ELEMENT?txt(#PCDATA)>
Type, cityName, txt are identical with descriptor in the above-mentioned request message body, repeat no more herein.
The XML DTD of city focus road condition query interface return messages body is defined as follows:
<!ELEMENT?retinfo>
<!ATTLIST?retinfo
type?CDATA#IMPLIED>
<!ELEMENT?result(#PCDATA)>
<!ELEMENT?txtInfo(#PCDATA)>
<!ELEMENT?timeStamp(#PCDATA)>
Type, result, txtInfo, timeStamp are identical with descriptor in the above-mentioned request message body, repeat no more herein.
(6) city focus road condition query service
City focus road conditions services request interface name: JDLKQUERY
The XML DTD of city focus road conditions interface requests message body is defined as follows:
<!ELEMENT?reqinfo(cityName?,txt?)>
<!ATTLIST?reqinfo?type?CDATA#REQUIRED>
<!ELEMENT?cityName(#PCDATA)>
<!ELEMENT?name(#PCDATA)>
<!ELEMENT?txt(#PCDATA)>
<!ELEMENT?roadInfoType(#PCDATA)>
Type, cityName, txt, roadInfoType are identical with descriptor in the above-mentioned request message body, repeat no more herein.
Name inquiry hot spot region title is only supported Chinese character.
The XML DTD of city focus road condition query interface response message body is defined as follows:
<!ELEMENT?retinfo>
<!ATTLIST?retinfo
type?CDATA#IMPLIED>
<!ELEMENT?result(#PCDATA)>
<!ELEMENT?txtInfo(#PCDATA)>
<!ELEMENT?timeStamp(#PCDATA)>
Type, result, txtInfo, timeStamp are identical with descriptor in the above-mentioned request message body, repeat no more herein.
(7) path planning inquiry service
Path planning services request interface name: PATHQUERY
The XML DTD of path planning service interface request message body is defined as follows:
<!ELEMENT?reqinfo(cityName?,startName?,endName?,wap?,wapType?,wapSize?,hasxy?,poicnt?,txt?,pic?)>
<!ATTLIST?reqinfo?type?CDATA#REQUIRED>
<!ELEMENT?cityName(#PCDATA)>
<!ELEMENT?startName(#PCDATA)>
<!ELEMENT?endName(#PCDATA)>
<!ELEMENT?wap(#PCDATA)>
<!ELEMENT?wapType(#PCDATA)>
<!ELEMENT?wapSize(#PCDATA)>
<!ELEMENT?hasxy(#PCDATA)>
<!ELEMENT?poicnt(#PCDATA)>
<!ELEMENT?txt(#PCDATA)>
<!ELEMENT?pic(#PCDATA)>
Type, city Name, wap, wapType, wapSize, txt, pic are identical with the descriptor of above-mentioned request message body, repeat no more herein.
StartName starting point title is supported Chinese character, spelling.
EndName terminal point title is supported Chinese character, spelling.
Poicnt returns the POI dominant record number of coupling beginning or end.
Whether the hasxy path planning needs to return 1 expression of tracing point information 0 expression needs or not.
The XML DTD of path planning query response message body is defined as follows:
<!ELEMENT?retinfo(startAcnt,start,endAcnt,end)>
<!ATTLIST?retinfo
typeCDATA#IMPLIED>
<!ELEMENT?result(#PCDATA)>
<!ELEMENT?txtInfo(#PCDATA)>
<!ELEMENT?picInfo(#PCDATA)>
<!ELEMENT?xyInfo(#PCDATA)>
<!ELEMENT?startAcnt(#PCDATA)>
<!ELEMENT?endAcnt(#PCDATA)>
<!ELEMENT?start(pname?)>
<!ELEMEN?Tpname(#PCDATA)>
<!ELEMENT?end(pname?)>
<!ELEMENT?pname(#PCDATA)>
Type, result, txtInfo are identical with the descriptor of above-mentioned request message body, repeat no more herein.
PicInfo: path planning pictorial information.
XyInfo: path planning tracing point information.
StartAcnt: similar starting point title number.
EndAcnt: similar terminal point title number.
Start: similar starting point name list.
The pname:POI title.
End: similar terminal point name list.
(8) POI inquiry service
POI search service request interface title: POIQUERY
The XML DTD of POI search service interface requests message body is defined as follows:
<!ELEMENT?reqinfo(cityName?,name?,cnt?)>
<!ATTLIST?reqinfo?type?CDATA#REQUIRED>
<!ELEMENT?cityName(#PCDATA)>
<!ELEMENT?name(#PCDATA)>
<!ELEMENT?cnt(#PCDATA)>
Type, cityName are identical with the descriptor of above-mentioned request message body, repeat no more herein.
Name inquiry POI title is supported Chinese character, spelling.
When there is similar coupling in cnt, the POI list records maximal value that need return.
The XML DTD of POI search return messages body is defined as follows:
<!ELEMENT?retinfo(acnt,poi)>
<!ATTLIST?retinfo
type?CDATA#IMPLIED>
<!ELEMENT?result(#PCDATA)>
<!ELEMENT?acnt(#PCDATA)>
<!ELEMENT?poi(name?)>
<!ELEMENT?name(#PCDATA)>
<!ELEMENT?x(#PCDATA)>
<!ELEMENT?y(#PCDATA)>
Type, result are identical with the descriptor of above-mentioned request message body, repeat no more herein.
Acnt: the poi number of similar coupling.
Poi: the poi tabulation of similar coupling.
The name:poi title.
The x:poi precision.
The y:poi latitude.
(9) event information inquiry service
Event information query service request interface name: EVENTQUERY
The XML DTD of event information inquiry service interface requests message body is defined as follows:
<!ELEMENT?reqinfo(cityName?,name?,txt?,cnt?)>
<!ATTLIST?reqinfo?type?CDATA#REQUIRED>
<!ELEMENT?cityName(#PCDATA)>
<!ELEMENT?name(#PCDATA)>
<!ELEMENT?txt(#PCDATA)>
<!ELEMENT?cnt(#PCDATA)>
Type, cityName, txt are identical with the descriptor of above-mentioned request message body, repeat no more herein.
The location of incident title of name input inquiry is supported Chinese character, spelling, simplicity.
Cnt returns similar location of incident name list record maximal value.
The XML DTD of event information inquiry return messages body is defined as follows:
<!ELEMENT?retinfo(eventInfoAcnt,eventInfo,eventPoiAcnt,eventPoi)>
<!ATTLIST?retinfo
type?CDATA#IMPLIED>
<!ELEMENT?result(#PCDATA)>
<!ELEMENT?name(#PCDATA)>
<!ELEMENT?txtInfo(#PCDATA)>
<!ELEMENT?eventInfoAcnt(#PCDATA)>
<!ELEMENT?eventInfo(iname?)>
<!ELEMENT?iname(#PCDATA)>
<!ELEMENT?eventPoi?Acnt(#PCDATA)>
<!ELEMENT?eventPoi(pname?)>
<!ELEMENT?pname(#PCDATA>
Type, result are identical with the descriptor of above-mentioned request message body, repeat no more herein.
Name: the location of incident title of unique coupling.
TxtInfo: the single place event description information of inquiry
EventInfoAcnt: city whole up-to-date event information record number.
EventInfo: city whole up-to-date event information inventory.
Iname: city location of incident title.
Info: single place, city up-to-date event descriptor.
EventPoiAcnt: the location of incident title record sum of coupling input inquiry.
EventPoi: the location of incident name information inventory of coupling input inquiry.
Pname: the location of incident name information of coupling input inquiry.
The system that the embodiment of the invention provides, integrated the demand data of various traffic-information service, standard data insert standard, make that the service system framework is more reasonable, solve the data content that the application of transport information product is faced in the prior art problem is provided, improved reliability, the extendability of service system; Adopt the Webservice issue, shielded the difference of different programming languages, practical simple and highly versatile; Adopt the input/output format of XML specification, can make things convenient for the data-interface service, satisfy the demand of all kinds of business; System provides 9 kinds of services, can satisfy different enterprise customers' demand, can provide perfect data issuing function at specific business again.
In conjunction with the system that the embodiment of the invention provides, the invention provides the building-block of logic of described system, as shown in Figure 3.
In conjunction with the building-block of logic that the embodiment of the invention provides, a kind of transport information issuing interface method of multiple service mode of supporting that the embodiment of the invention is provided is introduced:
As shown in Figure 4, a kind of transport information issuing interface method of supporting multiple service mode that the embodiment of the invention provides comprises:
The request message of step 401, receiving traffic information, described request message adopts the expandable mark language XML specification;
Step 402, according to the request message of described transport information, send the response message of described transport information, described response message adopts the XML specification.
The method that the embodiment of the invention provides, integrated the demand data of various traffic-information service, standard data insert standard, make that the service system framework is more reasonable, solve the data content that the application of transport information product is faced in the prior art problem is provided, improved reliability, the extendability of service system.
As shown in Figure 5, the transport information issuing interface method of the multiple service mode of support that another embodiment of the present invention provides comprises:
Step 501, from the request message of Webservice interface receiving traffic information, described request message adopts the expandable mark language XML specification;
In this step, can from note/multimedia message road condition query customization, WAP road conditions issuing web site and the 12580 operator attendance road condition queries of gas producing formation, obtain described request message.
Wherein said request message can be road conditions query service request, road condition data issuing service request, the request of urban transportation profile service, the most stifled road conditions services request in city, city focus road conditions services request, city focus road condition query services request, path planning query service request, POI query service request, event information query service request.
Step 502, obtain the service code in the described request message;
In this step, the type field from described request message obtains service code.
Step 503, judge whether described service code is legal, if legal, then execution in step 504; Otherwise, execution in step 505.
Step 504, call the service interface module of described service code correspondence, execution in step 406.
Step 505, return request error information to the user.
Step 506, judge whether the parameter in the described request message is legal, if legal, execution in step 507; Otherwise, execution in step 505.
Step 507, according to the parameter information in the described request message, the inquiry transport information.
Step 508, the transport information that inquiry obtains is sent to the user with the XML specification by the Webservice interface.
The system that the embodiment of the invention provides, integrated the demand data of various traffic-information service, standard data insert standard, make that the service system framework is more reasonable, solve the data content that the application of transport information product is faced in the prior art problem is provided, improved reliability, the extendability of service system; Adopt the Webservice issue, shielded the difference of different programming languages, practical simple and highly versatile; Adopt the input/output format of XML specification, can make things convenient for the data-interface service, satisfy the demand of all kinds of business; System provides 9 kinds of services, can satisfy different enterprise customers' demand, can provide the data issuing function of defeating completely at specific business again.
One of ordinary skill in the art will appreciate that and realize that all or part of step that the foregoing description method is carried is to instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, this program comprises one of step or its combination of method embodiment when carrying out.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing module, also can be that the independent physics in each unit exists, and also can be integrated in the module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, also can adopt the form of software function module to realize.If described integrated module realizes with the form of software function module and during as independently production marketing or use, also can be stored in the computer read/write memory medium.
The above-mentioned storage medium of mentioning can be a ROM (read-only memory), disk or CD etc.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection domain with claim.

Claims (7)

1, a kind of transport information issuing interface method of supporting multiple service mode is characterized in that, comprising:
The request message of receiving traffic information, described request message adopts the expandable mark language XML specification;
According to the request message of described transport information, send the response message of described transport information, described response message adopts the XML specification.
2, method according to claim 1, it is characterized in that the request message of described transport information comprises road conditions query service request, road condition data issuing service request, the request of urban transportation profile service, the most stifled road conditions services request in city, city focus road conditions services request, city focus road condition query services request, path planning query service request, POI query service request, event information query service request.
3, method according to claim 1 is characterized in that, described request message according to described transport information sends the response message of described transport information, comprising:
Obtain the service code in the described request message;
According to described service code, call the service interface module of described service code correspondence, so that described service interface module is inquired about described transport information;
Send the Query Result of described service interface module.
According to the arbitrary described method of claim 1 to 3, it is characterized in that 4, described request message and response message transmit by HTTP POST mode.
5, a kind of traffic information release interface system of supporting multiple service mode, described system comprises gas producing formation, application layer and data Layer, it is characterized in that, described application layer comprises:
Receiver module is used for the request message of receiving traffic information, and described request message adopts the expandable mark language XML specification;
Sending module is used for the request message according to the transport information of described receiver module reception, sends the response message of described transport information, and described response message adopts the XML specification.
6, system according to claim 5 is characterized in that, described application layer also comprises following at least one module:
The road conditions enquiry module is used for the parameter information according to user's input, and the service of road placename-querying, road conditions custom-built query, road conditions inquiry is provided;
The road condition data release module is used for the city title according to user's input, and the service of the whole road conditions data in city is provided;
Urban transportation overview enquiry module is used for the parameter information according to user's input, and the service of inquiry of traffic overview and the inquiry of urban transportation eye is provided;
The most stifled road condition query module in city is used for the parameter information according to user's input, and the service of the most stifled road conditions information in city is provided;
City focus road condition query module is used for the parameter information according to user's input, and the service of city focus road conditions information is provided;
City focus road condition query module is used for the parameter information according to user's input, and the service of hot spot region, city road conditions is provided;
The path planning enquiry module is used for the parameter information according to user's input, and the service of the optimum travel route inquiry in city is provided;
The POI enquiry module is used for city title and search key according to user's input, and the service of POI name query and POI coordinate inquiry is provided;
The event information enquiry module is used for city title and search key according to user's input, and the event information inquiry of single place and all services of up-to-date event inquiry are provided.
According to claim 5 or 6 arbitrary described systems, it is characterized in that 7, described application layer adopts described HTTP POST mode transfer request message and response message.
CN200910092558A 2009-09-11 2009-09-11 Traffic information release interface system supporting multiple service modes and method thereof Pending CN101673462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910092558A CN101673462A (en) 2009-09-11 2009-09-11 Traffic information release interface system supporting multiple service modes and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910092558A CN101673462A (en) 2009-09-11 2009-09-11 Traffic information release interface system supporting multiple service modes and method thereof

Publications (1)

Publication Number Publication Date
CN101673462A true CN101673462A (en) 2010-03-17

Family

ID=42020671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910092558A Pending CN101673462A (en) 2009-09-11 2009-09-11 Traffic information release interface system supporting multiple service modes and method thereof

Country Status (1)

Country Link
CN (1) CN101673462A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024331A (en) * 2010-10-26 2011-04-20 隋亚刚 Intelligent traffic signal control system
CN102044163A (en) * 2011-01-18 2011-05-04 北京世纪高通科技有限公司 Method, device and system for providing road condition information
CN102081845A (en) * 2011-01-25 2011-06-01 北京世纪高通科技有限公司 Preprocessing method and device of traffic information
CN105791380A (en) * 2015-12-30 2016-07-20 隋林木 Information push method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024331A (en) * 2010-10-26 2011-04-20 隋亚刚 Intelligent traffic signal control system
CN102044163A (en) * 2011-01-18 2011-05-04 北京世纪高通科技有限公司 Method, device and system for providing road condition information
CN102044163B (en) * 2011-01-18 2013-08-07 北京世纪高通科技有限公司 Method, device and system for providing road condition information
CN102081845A (en) * 2011-01-25 2011-06-01 北京世纪高通科技有限公司 Preprocessing method and device of traffic information
CN102081845B (en) * 2011-01-25 2013-08-07 北京世纪高通科技有限公司 Preprocessing method and device of traffic information
CN105791380A (en) * 2015-12-30 2016-07-20 隋林木 Information push method and device

Similar Documents

Publication Publication Date Title
US7127259B2 (en) Intermediation computer system
KR100754168B1 (en) Method and apparatus for updating map data, and recording medium storing a program to implement thereof
KR100543638B1 (en) Telecommunications apparatus and method
US8700295B2 (en) Method and apparatus for traffic information conversion using traffic information element knowledge base
CN101807349A (en) Road condition distribution system and method based on Web
CN101895358A (en) Method and system for distributing traffic information
CN101673462A (en) Traffic information release interface system supporting multiple service modes and method thereof
US8316042B2 (en) Roadside apparatus, control method and program
CN101677425A (en) Method, terminal and system for acquiring value-added information
CN201226532Y (en) System for dynamically updating navigation software interesting point data
JP2000250842A (en) System and method for retrieving information
EP1836630A1 (en) Recoding medium for point of information/news information service frame structure, and apparatus for processing application service based on tpeg protocol using the same
JP4243469B2 (en) Navigation system that supports multiple languages and formats
CN104933878A (en) Real-time publishing system for traffic jam conditions
JP2005327128A (en) Map content distribution system and method
JP2006268815A (en) Information providing system
JP2004220095A (en) Method and system for delivering information to on-vehicle terminal and on-vehicle terminal device
P/hretmair et al. XML-based integration of GIS and heterogeneous tourism information
Wind et al. A testbed for the exploration of novel concepts in mobile service delivery
Rinne Towards interoperable traffic data sources
KR100379681B1 (en) a system for providing position tracking information by satellite and method thereof
Fares et al. FAST-A MODEL FOR INSTITUTIONAL INTEGRATION AND INNOVATION
Hogan et al. ROAD-USER INFORMATION DATA EXCHANGE (RIDE)-MAKING TRAFFIC INFORMATION AVAILABLE OVER THE INTERNET
Karatzas et al. GIS-based Dissemination of Air Quality Information in APNEE
Verra WELCOME TO EMISSION CONTROL: ATHENS'SOLUTION TO TRAFFIC POLLUTION

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100317