1、ICS 13.220.20 C 81 共和国国家标准中华人民GB/T 26875.8-2015 城市消防远程监控系统第8部分:监控中心对外数据交换协议Remote - monitoring system of urban fire protection Part 8: External data exchange protocol for monitoring center 2016-02国01实施2015-06-02发布发布中华人民共和国国家质量监督检验检亵总局中国国家标准化管理委员会飞yruGB/T 26875.8-2015 目次前言. . . . . . . . . . 1 1 范围-2
2、 规范性引用文件3 术语和定义4 缩略语5 XML Schema定义. . 6 一般要求. . . . . . . . . . . 2 7 数据查询接口. . . . . . . . 2 8 数据实时发布接口. . . . . . . . . . 7 附录A(规范性附录数据查询接口相关的XMLSchema定义. . . 10 附录B(规范性附录数据实时发布接口相关的XMLSchema定义 . . 18 附录C(规范性附录公用数据类型的XMLSchema定义 . . . . . 23 前GB 26875 ( !一监控中心一(xs:elem四.tname = jkzx_l ist (xs:comp
3、lexType) (xs:sequ四,ceminOccurs = 1 maxOccurs = 田lbounded)(xs:el阻四tname=jkzx type=jkzx_t/ (/xs:sequ四ce)(/xs:complexType) (jxs:ele皿四t)(/xs:sch四a)A.2 监控人员信息XMLSchema义监控人员信息的XMLSche皿a定义如下z(?xml vers ion = 1.0四coding=utf-8? ) (xs : schema targetNamespace = httpt / / sch四as.syfri./rmsufp/vl/openapixmlns=
4、http:/ 10 elementFormDefault=qualified attributeFormDefault二unqualified xmlns:xs= http:/www.w3.org/2001/XMLSch四a)(xs: include schemaLocation= define.xsd 1) ( !一监控人员一(xs:el阻四tname=jk巧_list)(xs:complexType) (xs:se耶四cem扫lOCCurS= 1 maxOccurs = 田由ounded)(xs:element name=jkry type=jk巧_t/)(/xs:sequ四ce)(/xs
5、:compl四:Type)GB/T 26875.8-2015 (/xs: element) (/xs:sch四a)A.3 联网用户基本情况信息XMLSchema定义联网用户基本情况信息的XMLSchema定义如下z(? xml version= 1.0四.coding=utf-8?) (xs : schema targetN皿espace=http:/ xmlns = http: / / sch四 xmlns:xs= http:/www.w3.org/2001/XMLSch四a)(xs: include sche皿aLocation= n def坦.e.xsd/) ( !一联网用户基本情况一(
6、xs:elem四tname= lwyhjbqk_list ) (xs:complexType) (xs : sequence m扫lOcCurS= 1 maxOccurs = 田由ounded)(xs:el四entname= lwyhjbqk type= lwyhjbqk_t /) (/xs:s吨uence)(/xs:complexType) (/xs I element) (/xs: schema) A.4 建、构筑物信息XMLSchema定义建、构筑物信息的XMLSchema定义如下z(?xml version=1.0 encoding=utf-8?) (xs:sche皿atargetNa
7、皿espace=http: / / sch四 http:/ elementFormDefault=qualified attributeFormDefault=unqualified xmlns :xs= http:/www.w3.org/2001/:lO钮.sch四a)(xs: include schemaLocation= define.xsd /) ( !一建、构筑物一(xs:element name=jgzw_list) (xs:complexType) (xs: sequence minOccurs = 1 皿axOccurs=田lbounded)(xs:el阻四.tname=jgz
8、w type=jgzw_t/) (/xs: sequence) (/xs:complexType) (/xs:elem囚的(/xs: schema) 11 GB/T 26875.8-2015 A.5 消防安全重点部位信息XMLSchema定义消防安全重点部位信息的阻.Schema定义如下z(?xml version=l.O encod扫19=utf-S? ) (xs: schema targetNamespace= http:/ / sch回 = http: / / sch四 ( !-消防安全重点部位信息数据项一(xs:el四entn四e=xf吨z曲w_list)(xs:comp1exType
9、) (xs:se职enceminOccurs = 1 maxOccurs = 田由ounded)(xs:e1回回tname= xfaqzdbw type= xfaqzdbw_t /) (/xs: sequence) (/xs:complexType) (/xs :e1四ent)(/xs:schema) A.6 消防设施信息XMLSchema定义消防设施信息的阻ISchema定义如下:(?xml version=1.0 encoding二utf-8?) (xs: schema targetNamespace二二http:/sch四 e1ementFormDefau1 t = qualif ied
10、 attributeFormDefau1 t = unqual if ied xm1ns 向:xs=h址tt句p:/w阳_.W峭3.or可g/旭2001/XML臼Scl回na曹忱xs趴z扛inc1u叫desch回d乱 a眈.ti坷。n=飞def扛扭le.xsd/仆( !一消防设施一(xs:elem四tna皿e=xfss_list) (xs:comp1exType) (xs : sequence minOccurs = 1 maxOccurs = 山由。unded)(xs:e1阻四tname= xfss type= xfss_t /) (/xs:sequ四ce)(/xs:comp1exType)
11、 (/xs:e1阻四t)(/ xs : schema) GB/T 26875.8-2015 A.7 消防设施部件信息XMLSchema定义消防设施部件信息的XMLSchema定义如下=(?:xml version=1.0 encoding=utf-8?) (xs : schema targetNamespace= http: / / sch四 = http: / / sch四 :xm1ns :xs= http:/www.w3 .org/2001/泪任.sch四a)(xs: include sch四.aLocation=define.xsd /) ( !一消防设施部件一(xs:e1em四tnam
12、e=xfssbj_list) (xs:comp1ex巧pe)(xs:sequ四ceminOccurs = 1 回到ccurs=田由ounded)(xs :e1ement name= xfssbj type= xfssbj_t /) (/xs:s吨U四ce)(/xs:comp1exType) (/xs:e1四囚的(/xs:schema) A.8 受理信息XMLSchema定义受理信息的XMLSchema定义如下z(?:xm1 version= 1.0四coding=utf-8?) (xs : schema targetN血espace=http:/sch四 = http: / / sch四 =
13、qualif ied attributeFormDefau1t=unqua1ified :xm1ns:xs=http:/w附.w3.org/2001/Xl征.Sch四a)(xs: inc1ude schemaLocation= define.xsd /) ( !一受理信息一(xs:e1em四tname= sl_list) (xs:comp1exType) (xs: sequence minOccurs = 1 maxOccurs = 田由ounded)(xs:e1锢entname= sl type= sl_t /) (/xs: sequence) (/xs:comp1臼Type)(/xs:e1
14、e皿囚的(/xs:schema) 13 GB月26875.8-2015A.9 查岗信息XMLSchema定义查岗信息的XMLSch四a定义如下z(? xm1 vers ion = 1.0四coding=utf-S?) (xs: schema targe四a皿espace=http: / sch刨出.syfri./rmsufp/v1/openapixm1ns = http:! / sch四 attributeFormDefau1t=unqua1ified xm1ns:xs= http:/www.w3.org/2001/XMLSch四a)(xs: inc1ude schemaLocation= d
15、efine.xsd /) (!-查岗信息一(xs:e1ement name=cg_list) (xs:comp1exType) (xs: selJl且由cem扫lOcCurS= 1 maxOccurs = 四lounded)(xs:e1ement name=cg type=cg_t/) (/xs: sequence) (/xs:comp1exType) (/xs:e1四囚的(/xs:sche皿a)A.10 火灾信息XMLSchema定义火灾信息的XMLSchema定义如下z(? xm1 version= 1.0四coding=utf-S?) (xs : schema targetN,四espa
16、ce=http:/ xm1ns= http:/ 14 e1ementFormDefau1 t = qualif ied attributeFormDefau1t=unqua1ified xm1ns :xs= http:/www.w3.org/2001/XMLSch四a)(xs: inc1ude schemaLocation= define.xsd /) ( !-火灾信息一(xs:e1阻四.tname=hz_list) (xs:comp1exType) (xs:sequ四.cem扫10CCurS二1maxOccurs = 田lounded)(xs:e1阻四.tname=hz type=hz_t/
17、) ( !一操作类型一(xs : element name二operationtype= xs: string fixed= subscrihe /) ( !一回调地址一( xs : element name = call back_盯type= xs: string /) ( !一回调数据的格式一(xs: element name = callback_format type = output_format_ t default = xml minOccurs= 0 /) 18 ( !一回调数据的编码类型一(xs: element name=田llb缸k_oetype= encodint d
18、efault= uF-8 minOccurs=O/ ( !一有效时限起始一(xs:element name= validity_from type= xs:date minOccurs= 0 /) ( !一有效时限结束一(xs:element name= validity_to type= xs:date minOccurs= 0 /) ( !一过滤条件一(xs: element name= filters) (xs: complexType) (xs: sequence) GB/T 26875.8-2015 ( !一过谑条件如有多个,则为逻辑与的关系一(xs: element name= f
19、ilter minOccurs= 1 maxOccurs= unbounded) (xs: complexType) (xs: sequence) ( I一参数名称一(xs:element name= para_name type= xs:string /) ( !一参数值一(xs:element name= p盯valuetype= xs:string/) (/ xs: sequence) (/ xs: complexType) ( !一响应数据的格式一(xs:element name=format type=output_format_t default=xml minOccurs=O/)
20、 ( !一请求的编码类型一(xs:element name= ie type= encoding_t default= UTF-8 minOccurs= 0/) ( !一响应数据的编码类型一(xs:element name=oe type=encoding_t default=UTF-8 minOccurs=O/) ( !一操作类型一(xs: element name= operation type= xs: string fixed = unsubscribe /) ( !一订阅编号-)(xs:element name= subscribe_id type= xs:string minOcc
21、urs= 1 /) 19 GB/T 26875.8-2015 (/xs:all (/ xs: complexType) (/ xs: element) (/ xs: schema) B.3 取消所有订阅请求的XMLSchema定义外部系统向监控中心发出的取消所有订阅请求的XMLSchema定义如下z( ? xml version = 1.0 encoding = utf-8? ) (xs: schema targetNamespace= http:/ openapi xmlns= http,/ / elementFormDefault= qualified attributeFormDefau
22、lt= unqualified xmlns:xs= http:/www.w3.org/2001/XMLSchema) (xs : include schemaLocation = define. xsd /) ( !一取消所有订阅一(xs: element name= clear_subscribe) (xs: complexType) (xs:all) (/xs:complexType) (/ xs: element) (/xs:schema) B.4 订阅晌应的XMLSchema定义监控中心为外部系统返回的订阅响应的XMLSchema定义如下z( ? xml version = 1矿Ien
23、coding = u tf-8 ? ) (xs: schema targetN且mespace= http:/schemas.syfri. cn/ rmsufp/ v 1/ openapi xmlns= http:/schemas.syfri. cn/rmsufp/v1/openapi elementFormDefault= qualified 20 attributeFormDefault= unqualified xmlns: xs= http:/www. w3.org/2001/XMLSchema) ( !一订阅响应一(xs: element name= subscribe_respon
24、se) GB/T 26875.8-2015 (xs: complexType) (xs:al1 ( !一订阅编号一(xs:element name= subscribe_id type= xs: string minOccurs= 1 /) ( !一有效时限起始一(xs: element name= validity _from type= xs: date minOccurs= 0 /) ( !一有效时限结束一(xs:element name= validity_to type= xs:date minOccurs= 0 /) (/xs:al1 (/ xs: complexType) (/
25、xs : element) (xs: schema targetNamespace二http:/ http:/ elementFormDefault= qualified attrihuteFormDefault= unqualified xmlns:xs= http:/www.w3.org/2001/XMLSchema勺( !一字符型,限长18一(xs: simpleType name= string18_t (xs: restriction hase= xs: string (xs:maxLength value=18/ (/ xs: restriction (/ xs: simpleTy
26、pe ( !一字符型,限长30一(xs:simpleType name= string30_t (xs : restriction base = xs: string (xs:maxLength value=30/ (/ xs: restriction (/xs:simpleType ( !一字符型,限长40一(xs: simpleType name= string40_t) (xs : restriction base = xs: string ) (xs: maxLength value=吨。/)(/ xs : restriction) (/xs:simpleType) ( !一字符型,限
27、长50一(xs: simpleType name= string50_t) (xs: restriction base= xs: string (xs: maxLength value= 50 / (/ xs: restriction (/xs:simpleType) ( !一字符型,限长70一(xs: simpleType name= string70_t (xs: restriction base= xs I string) 23 GB/T 26875.8-2015 24 (xs:maxLength value=70/) (/ xs: restriction) (/ xs: simpleT
28、ype) ( !一字符型,限长100一(xs: simpleType name= stringl00_t) (xs: restriction base= xs: string) (xs:maxLength value=100/) (/ xs : restriction) (/xs:simpleType) ( !一字符型,限长200一(xs: simpleType name= string200_t) (xs: restriction base= xs: string) (xs:maxLength value= 200 /) (/ xs: restriction) (/xs: simpleTyp
29、e) ( !一数值型,限长3一(! -数值型,限长4一(xs: simpleType name= int4_t) (xs: restriction base= xs: int) (xs: totalDigits value= 4 /) (/ xs : restriction) (/ xs: simpleType) ( !一数值型,限长5一(xs:simpleType name= int5_t) (xs: restriction base= xs: int) (xs:totalDigits value=5/) (/ xs: restriction) (/ xs: restriction) (/x
30、s: simpleType) ( !一公民身份号码一(xs:simpleType name=gmsfhm_t) ( xs : restriction base = xs : string ) (xs: maxLength value= 18 /) (/ xs: restriction) (/ xs: simpleType) ( !一人员信息一(xs:complexType name=ryxx_t) (xs: sequence) GB/T 26875.8-2015 25 GB/T 26875.8-2015 26 lgnJ心叶ngOMA、-dE3EiEm p-MLty vex-mmua图1口ahu
31、e-Ee巾mm剖MEI划hJHEM立山:XSE冗aA创SJ、XZLUJjiXJ/S可巳当王str、卫3忧川vm一,.,. ,、,、( !一安全出口形式(xs:element name= aqckxs type= string50_t minOccurs= 0 / ( !一消防电梯数量-(xs:element name=xfdtsl type=int3_t minOccurs=O/ ( !一消防电梯容纳总重量一(xs: element name= xfdtrnzzl type= int1 0_t minOccurs= 0 / ( !一日常工作时间人数一(xs:element name= rcgz
32、sjrs type= intl0_t minOccurs= 0 / ( !一最大容纳人数一(xs:element name= zdrnrs type= int1 0_t minOccurs= 0 / ( !一储存物名称一(xs:element name= ccwmc type= string40_t minOccurs= 0 / ( !一储存物数量一(xs:element name= ccwsl type= string40_t minOccurs= 0 / ( !一储存物性质一(xs:element name= ccwxz type= string40_t minOccurs= 0 / (
33、!一储存物形态一(xs:element name= ccwxt type= string40_t minOccurs= 0 / ( !一主要原料一(xs:element name=zyyl type=stringl00_t minOccurs=O/ ( !一主要产品一(xs:element name= zycp type= stringl00_t minOccurs= 0 / (/ xs: sequence (/ xs: complexType (/xs: element ( !一扩展一(xs:any minOccurs= 0 / (/ xs: sequence (/xs:complexTyp
34、e ( !一消防安全重点部位一(xs:complexType name= xfaqzdbw_t (xs: sequence ( !一重点部位名称一 ( !一建筑面租一(xs:element name=jzmj type=intl0_tj ( !一消防设施情况一( !一责任人(xs:element name= zrr type= ryxx_t j ( !一确立消防安全重点部位的原因一(xs: element name= qlxfaqzdbwdyy type= xs: string j ( !一防火标志的设立情况一(xs: element name= fhbzdslqk type= xs: str
35、ing j) ( !一危险糠情况一(xs:element name=wxyqk type=xs:stringj ( !一消防安全管理措施一(j xs: complexType) ( !一消防设施一(xs:complexType name=xfss_t) (xs: complexType (xs: sequence) ( !一探测器数量一GB/T 26875.8-2015 33 GB/T 26875.8-2015 34 (xs:element name= tcqsl type= int5_t minOccurs= 0/ ( !一控制器数量一(xs:element name=kzqsl type=
36、int5_t minOccurs=O/ ( !一手动报警按钮数量一(xs:element name=sdbjansl type=int5_t minOccurs=O/ ( !一消防电气控制装置数量一(xs:element name= xfdqkzzzsl type= int5_t minOccurs= 0 / ( !一市政给水管网形式一(xs:element name=szgsgwxs type=gsgwxs_t minOccurs=O/ ( !一市政进水管数量一(xs: element name= szjsgsl type= int3_t minOccurs= 0 / ( !一市政进水管管径
37、一(xs:element name=气功sggjtype= int5_t minOccurs= 0 / ( !一消防水池容量一(xs:element name= xfscrl type= intlO_t minOccurs= 0 / ( !一消防水池位置一(xs: element name= xfscwz type = string50_t minOccurs = 0 / ( !一消防水箱容量一(xs:element name=xfsxrl type=intlO_t minOccurs=O/ ( !一消防水箱位置一(xs:element name= xfsxwz type= string50_
38、t minOccurs= 0 / ( !一其他水源供水量一(xs: element name二qtsygsltype= intl0_t minOccurs= 0 / ( !一其他水源情况一(xs:element name=qtsyqk type=string200_t minOccurs=O/ ( !一消防泵房位置一(xs:element name= xfbfwz type= string50_t minOccurs= 0/ ( !一消防泵数量一(xs:element name=对bsltype= int5_t minOccurs= 0 / ( !一消防泵流量一(xs:element name
39、=xfbll type=int6_t minOccurs=O/ ( !一消防泵扬程一(xs:element name=xfbyc type=int6_t minOccurs=O/ ( !一室外消火栓管网形式一(xs: element name = sw对lSgWXStype= gsgwxs_t minOccurs= 0 / ( !一室外消火栓数量一(xs:element name= swxhsgwsl type= int5_t minOccurs= 0/ ( !一室外消火栓管径一(xs:element name= swxhsgwgj type= int5_t minOccurs= 0 / (
40、!一室内消火栓管网形式一(xs: element name = snxhsgwxs type= gsgwxs_t minOccurs = 0 / ( !一室内消火栓数量一(xs:element name= snxhssl type= int5_t minOccurs= 0/ GB/T 26875.8-2015 ( I一室内消火栓管径一(xs:element name= snxhsgj type= int5_t minOccurs= 0 j) ( !一水泵接合器数量一(xs:element name=sbjhqsl type=int5_t minOccurs=Oj ( !一水泵接合器位置一(xs
41、:element name= sbjhqwz type= string50_t minOccurs= 0 j ( !一稳压泵数量一(xs:element name=wybsl type=int5_t minOccurs=Oj ( !一稳压泵流量一(xs:element name=wybl1 type=int6_t minOccurs=Oj (! 气压罐容量一(xs:element name= qygrl type= intlO_t minOccurs= 0 j) ( !一报警阀数量一(xs:element name= bjfsl type= int5_t minOccurs= oj ( !一报警阀位置一(xs:element name= bjfwz type= string50_t minOccurs= 0 j ( !一水流指示器数量一(xs:element name= slzsqsl