its - 복사본.asn 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494
  1. ITS DEFINITIONS AUTOMATIC TAGS ::=
  2. BEGIN
  3. ISO14827-MESSAGE ::= CLASS {
  4. &name PrintableString (SIZE (0..255)),
  5. &definition PrintableString (SIZE (0..65535)),
  6. &remarks PrintableString (SIZE (0..2000)) OPTIONAL,
  7. &MessageBody,
  8. &messageType ENUMERATED
  9. {
  10. publication,
  11. subscription
  12. },
  13. &subscriptionType ENUMERATED
  14. {
  15. single ,
  16. event-driven,
  17. single-or-event,
  18. periodic,
  19. single-or-periodic,
  20. event-or-periodic,
  21. ingle-event-periodic
  22. } OPTIONAL,
  23. &initialPublication PrintableString (SIZE (0..255)) OPTIONAL,
  24. &subsequentPublications PrintableString (SIZE (0..255)) OPTIONAL,
  25. &id OBJECT IDENTIFIER
  26. }
  27. EndApplicationMessage ::= SEQUENCE {
  28. endApplication-Message-id ISO14827-MESSAGE.&id,
  29. endApplication-Message-msg ISO14827-MESSAGE.&MessageBody
  30. }
  31. DatexDataPacket ::= SEQUENCE {
  32. datex-Version-number ENUMERATED
  33. {
  34. experimental (0),
  35. version1 (1),
  36. ...
  37. },
  38. datex-Data OCTET STRING,
  39. datex-Crc-nbr OCTET STRING (SIZE (2))
  40. }
  41. C2CAuthenticatedMessage ::= SEQUENCE {
  42. datex-AuthenticationInfo-text OCTET STRING (SIZE (0..255)),
  43. datex-DataPacket-number INTEGER (0..4294967295),
  44. datex-DataPacketPriority-number INTEGER (0..10),
  45. options HeaderOptions,
  46. pdu PDUs
  47. }
  48. HeaderOptions ::= SEQUENCE {
  49. datex-Origin-text UTF8String (SIZE (0..40)) OPTIONAL,
  50. datex-OriginAddress-location OCTET STRING OPTIONAL,
  51. datex-Sender-text UTF8String (SIZE (0..40)) OPTIONAL,
  52. datex-SenderAddress-location OCTET STRING OPTIONAL,
  53. datex-Destination-text UTF8String (SIZE (0..40)) OPTIONAL,
  54. datex-DestinationAddress-location OCTET STRING OPTIONAL,
  55. datex-Cost Cost OPTIONAL,
  56. datex-DataPacket-time Time OPTIONAL
  57. }
  58. Cost ::= SEQUENCE {
  59. amount-Currency-code OCTET STRING (SIZE (3)),
  60. amount-Factor-quantity INTEGER,
  61. amount-Quantity-quantity INTEGER
  62. }
  63. PDUs ::= CHOICE {
  64. datex-Initiate-null Initiate,
  65. login Login,
  66. fred FrED,
  67. terminate Terminate,
  68. logout Logout,
  69. subscription Subscription,
  70. publication Publication,
  71. transfer-done TransferDone,
  72. accept Accept,
  73. reject Reject
  74. }
  75. Initiate ::= SEQUENCE {
  76. datex-Sender-txt UTF8String (SIZE (0..40)),
  77. datex-Destination-txt UTF8String (SIZE (0..40))
  78. }
  79. Login ::= SEQUENCE {
  80. datex-Sender-txt UTF8String (SIZE (0..40)),
  81. datex-Destination-txt UTF8String (SIZE (0..40)),
  82. datexLogin-UserName-txt OCTET STRING,
  83. datexLogin-Password-txt OCTET STRING,
  84. datexLogin-EncodingRules-id SEQUENCE OF OBJECT IDENTIFIER,
  85. datexLogin-HeartbeatDurationMax-qty INTEGER (0..65535),
  86. datexLogin-ResponseTimeOut-qty INTEGER (0..255),
  87. datexLogin-Initiator-cd ENUMERATED
  88. {
  89. serverInitiated,
  90. clientInitiated,
  91. ...
  92. },
  93. datexLogin-DatagramSize-qty INTEGER (0..65535)
  94. }
  95. FrED ::= INTEGER(0..4294967295) -- datexFrED-ConfirmPacket-nbr
  96. Terminate ::= ENUMERATED { -- datexTerminate-Reason-cd
  97. other,
  98. serverRequested,
  99. clientRequested,
  100. serverShutdown,
  101. clientShutdown,
  102. serverCommProblems,
  103. clientCommProblems,
  104. ...
  105. }
  106. Logout ::= ENUMERATED { -- datexLogout-Reason-cd
  107. other,
  108. serverRequested,
  109. clientRequested,
  110. serverShutdown,
  111. clientShutdown,
  112. serverCommProblems,
  113. clientCommProblems,
  114. ...
  115. }
  116. Subscription ::= SEQUENCE {
  117. datexSubscribe-Serial-nbr INTEGER (0..4294967295),
  118. datexSubscribe-Type SubscriptionType,
  119. ...
  120. }
  121. SubscriptionType ::= CHOICE {
  122. subscription SubscriptionData,
  123. datexSubscribe-CancelReason-cd ENUMERATED
  124. {
  125. other,
  126. dataNotNeeded,
  127. errorsInPublication,
  128. pendingLogout,
  129. processingMgmt,
  130. bandwidthMgmt,
  131. ...
  132. }
  133. }
  134. SubscriptionData ::= SEQUENCE {
  135. datexSubscribe-Persistent-bool BOOLEAN,
  136. datexSubscribe-Status-cd ENUMERATED
  137. {
  138. new,
  139. update
  140. },
  141. datexSubscribe-Mode SubscriptionMode,
  142. datexSubscribe-PublishFormat-cd ENUMERATED
  143. {
  144. other,
  145. ftp,
  146. tftp,
  147. dataPacket,
  148. ...
  149. },
  150. datexSubscription-Priority-nbr INTEGER (1..10),
  151. datexSubscribe-Guarantee-bool BOOLEAN,
  152. datexSubscribe-Pdu EndApplicationMessage
  153. }
  154. SubscriptionMode ::= CHOICE {
  155. single NULL,
  156. event-driven Registered,
  157. periodic Registered
  158. }
  159. Registered ::= CHOICE {
  160. continuous SEQUENCE
  161. {
  162. datexRegistered-UpdateDelay-qty INTEGER(0..424967295) DEFAULT 0,
  163. -- 0 means as soon as possible
  164. datexRegistered-StartTime Time OPTIONAL,
  165. -- defaults to immediate
  166. datexRegistered-EndTime Time OPTIONAL
  167. -- defaults to "until cancelled"
  168. },
  169. daily SEQUENCE
  170. {
  171. datexRegistered-UpdateDelay-qty INTEGER(0..424967295) DEFAULT 0,
  172. -- 0 means as soon as possible
  173. datexRegistered-DaysOfWeek-cd BIT STRING
  174. {
  175. other(0),
  176. sunday(1),
  177. monday(2),
  178. tuesday(3),
  179. wednesday(4),
  180. thursday(5),
  181. friday(6),
  182. saturday(7)
  183. }(SIZE (8)),
  184. datexRegistered-StartDate Time OPTIONAL,
  185. -- defaults to immediate
  186. datexRegistered-EndDate Time OPTIONAL,
  187. -- defaults to "until cancelled"
  188. datexRegistered-StartTime Time OPTIONAL,
  189. -- defaults to midnight
  190. datexRegistered-Duration-qty INTEGER(0..65535) OPTIONAL
  191. -- defaults to 1440 (i.e., 24 hours)
  192. }
  193. }
  194. Time ::= SEQUENCE {
  195. time-Year-qty INTEGER(-32768..32767) OPTIONAL,
  196. -- defaults to current year unless otherwise specified
  197. time-Month-qty INTEGER (1..12) OPTIONAL,
  198. -- defaults to current month unless otherwise specified
  199. time-Day-qty INTEGER (1..31) OPTIONAL,
  200. -- defaults to current day unless otherwise specified
  201. time-Hour-qty INTEGER (0..23) DEFAULT 0,
  202. time-Minute-qty INTEGER (0..59) DEFAULT 0,
  203. time-Second-qty INTEGER (0..60) DEFAULT 0,
  204. time-SecondFractions CHOICE
  205. {
  206. deci-seconds INTEGER (0..9),
  207. centi-seconds INTEGER (0..99),
  208. milliseconds INTEGER (0..999),
  209. ...
  210. } DEFAULT {0},
  211. time-Timezone SEQUENCE
  212. {
  213. timezone-Hour-qty INTEGER (-13..13) DEFAULT 0,
  214. time-Minute-qty INTEGER (0..59) DEFAULT 0
  215. } OPTIONAL
  216. -- defaults to UTC
  217. }
  218. Publication ::= SEQUENCE {
  219. datexPublish-Guaranteed-bool BOOLEAN,
  220. datexPublish-Format Publish-Format
  221. }
  222. Publish-Format ::= CHOICE {
  223. datexPublish-Data SEQUENCE OF PublicationData,
  224. datexPublish-FileName-txt UTF8String (SIZE (0..2000))
  225. }
  226. PublicationData ::= SEQUENCE {
  227. datexPublish-SubscribeSerial-nbr INTEGER (0..4294967295),
  228. datexPublish-Serial-nbr INTEGER (0..4294967295),
  229. datexPublish-LatePublicationFlag BOOLEAN,
  230. datexPublish-Type PublicationType
  231. }
  232. PublicationType ::= CHOICE {
  233. datexPublication-Management-cd ENUMERATED
  234. {
  235. temporarilySuspended,
  236. resume,
  237. terminate-other,
  238. terminate-dataNoLongerAvailable,
  239. terminate-publicationsBeingRejected,
  240. terminate-PendingShutdown,
  241. terminate-processingMgmt,
  242. terminate-bandwidthMgmt,
  243. terminate-accessDenied,
  244. unknownRequest,
  245. ...
  246. },
  247. datexPublish-Data EndApplicationMessage
  248. }
  249. TransferDone ::= SEQUENCE
  250. {
  251. datexTransferDone-Publication-nbr INTEGER (0..4294967295),
  252. datexTransferDone-FileName-txt UTF8String (SIZE (0..2000)),
  253. datexTransferDone-Sucess-bool BOOLEAN
  254. }
  255. Accept ::= SEQUENCE
  256. {
  257. datexAccept-Packet-nbr INTEGER (0..4294967295),
  258. datexAccept-Type CHOICE
  259. {
  260. logIn OBJECT IDENTIFIER,
  261. single-subscription NULL,
  262. registered-subscription INTEGER (0..4294967295),
  263. publication NULL
  264. }
  265. }
  266. Reject ::= SEQUENCE {
  267. datexReject-Packet-nbr INTEGER (0..4294967295),
  268. datexReject-Type RejectType,
  269. datexReject-AlternateRequest AlternateRequest OPTIONAL
  270. }
  271. RejectType ::= CHOICE {
  272. datexReject-Login-cd ENUMERATED
  273. {
  274. other,
  275. unknownDomainName,
  276. accessDenied,
  277. invalidNamePassword,
  278. timeoutTooSmall,
  279. timeoutTooLarge,
  280. heartbeatTooSmall,
  281. heartbeatTooLarge,
  282. sessionExists,
  283. maxSessionsReached,
  284. ...
  285. },
  286. datexReject-Subscription-cd ENUMERATED
  287. {
  288. other,
  289. unknownSubscriptionNbr,
  290. invalidTimes,
  291. frequencyTooSmall,
  292. frequencyTooLarge,
  293. invalid-mode,
  294. publishFormatNotSupported,
  295. unknowSubscriptionMsgId,
  296. invalidSubscriptionMsgId,
  297. invalidSubscriptionContent,
  298. ...
  299. },
  300. datexReject-Publication-cd ENUMERATED
  301. {
  302. other,
  303. unknownSubscription,
  304. unknownPublicationNbr,
  305. invalidPublishFormat,
  306. unknownPublicationMsgId,
  307. invalidPublicationMsgId,
  308. invalidPublicationMsgContent,
  309. repeatedPublicationNbr,
  310. ...
  311. }
  312. }
  313. AlternateRequest ::= SubscriptionType
  314. -- 교통소통정보
  315. CurrentLinkStateList::=SEQUENCE OF CurrentLinkState
  316. CurrentLinkState ::= SEQUENCE
  317. {
  318. link-LinkIdNumber UTF8String(SIZE(1..40)),
  319. link-SpeedRate INTEGER(0..300),
  320. link-VolumeRate INTEGER(0..100000) OPTIONAL,
  321. link-DensityRate INTEGER(0..2000) OPTIONAL,
  322. link-TravelTimeQuantity INTEGER(0..10800) OPTIONAL,
  323. link-DelayQuanity INTEGER(0..12000) OPTIONAL,
  324. tfdt-VehicleQueueLengthQuantity INTEGER(0..500000) OPTIONAL,
  325. tfdt-OccupancyPercent INTEGER(0..100)
  326. }
  327. -- 교통통제정보
  328. EventIdentityList::=SEQUENCE OF EventIdentity
  329. EventIdentity ::= SEQUENCE
  330. {
  331. node-NodeIdNumber UTF8String(SIZE(1..40)),
  332. link-LinkIdNumber UTF8String(SIZE(1..40)),
  333. evnt-IdentificationNumber INTEGER(0..4294967295) OPTIONAL,
  334. evnt-LocationJurisdictionNameText UTF8String (SIZE(1..256)),
  335. evnt-LocationLinkIdNumber UTF8String(SIZE(1..40)),
  336. evnt-LocationNodeIdNumber UTF8String(SIZE(1..40)),
  337. evnt-LocationRoadwayNameText UTF8String (SIZE(1..256)),
  338. evnt-DescriptionTypeEventCode ENUMERATED
  339. {
  340. none (0),
  341. other (1),
  342. constructions (2),
  343. planned-roadway-closure (3),
  344. special-event (4)
  345. } OPTIONAL,
  346. evnt-DescriptionTypeSpecialEventCode ENUMERATED
  347. {
  348. none (0),
  349. other (1),
  350. parade (2),
  351. sporting-event (3),
  352. demonstration (4),
  353. festival (5),
  354. performing-arts (6),
  355. dignitary-visit (7)
  356. } OPTIONAL,
  357. evnt-DescriptionPlannedRoadwayClosureCode ENUMERATED
  358. {
  359. none (0),
  360. other (1),
  361. long-term-construction (2),
  362. short-term-construction (3),
  363. maintenance (4),
  364. emergency-maintenance (5)
  365. } OPTIONAL,
  366. evnt-LanesBlockedOrClosedNumber INTEGER (0..255),
  367. evnt-LanesShouldersBlockedCode BIT STRING
  368. {
  369. none (0),
  370. other (1),
  371. right-shoulder (2),
  372. left-shoulder (3),
  373. both-shoulder (4)
  374. },
  375. evnt-TimelineStartGeneralizedTime VisibleString,
  376. evnt-TimelineEndGeneralizedTime VisibleString,
  377. evnt-TimelineDurationTime INTEGER(0..4294967295)
  378. }
  379. -- 돌발상황정보
  380. IncidentConditionsList::=SEQUENCE OF IncidentConditions
  381. IncidentConditions ::= SEQUENCE
  382. {
  383. node-NodeIdNumber UTF8String(SIZE(1..40)),
  384. link-LinkIdNumber UTF8String(SIZE(1..40)),
  385. orgn-ContactOrganizationNameText UTF8String(SIZE(1..128)),
  386. evnt-DescriptionTypeIncidentCode ENUMERATED
  387. {
  388. other-no-additional-information-required (0),
  389. other-additional-information-required (1),
  390. vehicular-accident (2),
  391. weather-related-incident (3),
  392. stalled-vehicle (4),
  393. vehicle-fire (5),
  394. roadway-debris (6),
  395. hazmat-spill (7),
  396. earthquake (8),
  397. landslide (9),
  398. flood (10),
  399. typhoon (11),
  400. unplanned-demonstration (12),
  401. increased-traffic-volume (13)
  402. },
  403. evnt-DescriptionTypeIncidentOther UTF8String(SIZE(1..256)) OPTIONAL,
  404. evnt-IncidentVehiclesInvolvedCode BIT STRING
  405. {
  406. other-no-additional-information-required (0),
  407. other-additional-information-required (1),
  408. cycle-motorcycle (2),
  409. car (3),
  410. bus (4),
  411. single-Unit-Truck (5),
  412. trailer (6)
  413. },
  414. evnt-IncidentVehiclesInvolvedOther UTF8String(SIZE(1..256)) OPTIONAL,
  415. evnt-IncidentStatusCode ENUMERATED
  416. {
  417. other-no-additional-information-required (0),
  418. other-additional-information-required (1),
  419. incident-detected (2),
  420. confirmed-and-responding (3),
  421. cleared-and-recovering (4),
  422. over-and-done (5),
  423. other (6)
  424. },
  425. evnt-IncidentStatusOther UTF8String(SIZE(1..256)) OPTIONAL,
  426. evnt-UpdateTypeCode ENUMERATED
  427. {
  428. other-no-additional-information-required (0),
  429. other-additional-information-required (1),
  430. new (2),
  431. update (3),
  432. delete (4),
  433. clear-or-closed (5)
  434. },
  435. evnt-UpdateTypeOther UTF8String(SIZE(1..256)) OPTIONAL
  436. }
  437. -- 돌발정보
  438. IncidentIdentityList::=SEQUENCE OF IncidentIdentity
  439. IncidentIdentity ::= SEQUENCE
  440. {
  441. node-NodeIdNumber UTF8String(SIZE(1..40)),
  442. link-LinkIdNumber UTF8String(SIZE(1..40)),
  443. evnt-LocationLinearDistanceOffsetBeginNumber INTEGER(0..999) OPTIONAL,
  444. evnt-LocationLinearDistanceOffsetEndNumber INTEGER(0..999) OPTIONAL,
  445. evnt-UpdateGeneralizedTime VisibleString,
  446. evnt-IncidentHumanFatalitiesCountQuantity INTEGER(0..255) OPTIONAL,
  447. evnt-IncidentHumanInjuriesCountQuantity INTEGER(0..255) OPTIONAL,
  448. evnt-IncidentPropertyDamageCode BIT STRING
  449. {
  450. other-no-additional-information-required (0),
  451. other-additional-information-required (1),
  452. guard-rail-damage (2),
  453. light-pole-damage (3),
  454. pavement-damage (4),
  455. structure-damage (5),
  456. traffic-equipment-damage (6)
  457. },
  458. evnt-IncidentPropertyDamageOther UTF8String(SIZE(1..256)) OPTIONAL
  459. }
  460. END