KR20110062031A - System for providing the restful bus-related information service - Google Patents
System for providing the restful bus-related information service Download PDFInfo
- Publication number
- KR20110062031A KR20110062031A KR1020090118604A KR20090118604A KR20110062031A KR 20110062031 A KR20110062031 A KR 20110062031A KR 1020090118604 A KR1020090118604 A KR 1020090118604A KR 20090118604 A KR20090118604 A KR 20090118604A KR 20110062031 A KR20110062031 A KR 20110062031A
- Authority
- KR
- South Korea
- Prior art keywords
- bus
- information
- related information
- stop
- rest
- Prior art date
Links
- 238000012546 transfer Methods 0.000 claims abstract description 9
- 238000000034 method Methods 0.000 claims description 53
- 238000005516 engineering process Methods 0.000 description 6
- 238000011160 research Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000003213 activating effect Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G06Q50/40—
-
- G06Q50/60—
Abstract
Description
인터넷 접속이 가능한 단말로 응용 서비스를 제공하는 서비스 제공 기술에 관한 것으로, 특히 단말 사용자가 요청하는 버스 관련 정보를 제공하기 위한 기술에 관한 것이다.The present invention relates to a service providing technology for providing an application service to a terminal with internet access, and more particularly, to a technology for providing bus-related information requested by a terminal user.
본 발명은 지식경제부 사업의 일환으로 수행한 연구로부터 도출된 것이다.[과제관리번호: 2009-F-048-01, 과제명: 네트워크 기반 수요자 지향 융합서비스 공통플랫폼 기술 개발]The present invention is derived from a study conducted as part of the Ministry of Knowledge Economy. [Task Management No .: 2009-F-048-01, Title: Development of a network-based consumer-oriented convergence service common platform technology]
최근 지자체를 중심으로 지능형 교통시스템(Intelligent Transport Systems, ITS)이 구축되고 있다. 지능형 교통시스템은 해당 지자체를 중심으로 교통 관리, 통행료 전자 지불, 대중교통 활성화, 안전 운전 지원 등 도로 이용자에게 안전 및 편리성을 도모하기 위한 유무선 통신기술과 접목한 종합 교통정보관리시스템으로 구축이 되고 있다. 이러한 지능형 교통시스템은 대중 교통 중 특히 버스 이용자들에 대한 편의 제공을 위하여, 버스의 도착 예정 시간을 알리는 서비스도 제공하고 있다. 버스 이용자가 인터넷을 통해 지능형 교통시스템에 접속하여 특정 버스가 특정 정류장으로 언제 도착할지를 문의해 놓으면, 지능형 교통시스템은 SMS 등으로 특성 버스의 특정 정류장 도착 예정 시간을 버스 이용자에게 알려주는 것이다. 그러나 이러한 방식의 서비스는 벌크성 SMS 전송으로 인한 전송 시간 지연 및 버스 관련 정보의 부정확성이라는 문제점을 지니고 있다. 또한 고정적인 시간에만 전송 요청을 할 수 있도록 설정되어 있어, 사용자의 가변적인 상황에 따라 적절한 버스 도착 정보를 제공하지 못하며, 이는 결국 자원의 낭비 및 서비스 이용의 비효율성이라는 문제를 야기한다.Recently, Intelligent Transport Systems (ITS) are being built around local governments. The intelligent transportation system is constructed as a comprehensive traffic information management system combined with wired / wireless communication technology to promote safety and convenience to road users such as traffic management, electronic toll payment, public transportation activation, and safe driving assistance, centering on the local government. have. Such an intelligent transportation system also provides a service of notifying the estimated time of arrival of the bus, in order to provide convenience to the passengers, especially during public transportation. When the bus user accesses the intelligent transportation system through the Internet and inquires when a specific bus will arrive at a specific stop, the intelligent transportation system informs the bus user of the estimated time of arrival of a specific stop by SMS. However, this type of service has problems such as transmission time delay and inaccurate bus related information due to bulk SMS transmission. In addition, since the transmission request is set to be fixed only at a fixed time, it does not provide appropriate bus arrival information according to a user's variable situation, which causes a problem of waste of resources and inefficiency of service use.
한편, REST(Representational State Transfer) 기반의 HTTP(Hypertext Transfer Protocol) 기술은 인터넷을 기반으로 한 정보 교환에 있어 기본 원칙을 제시하고 있다. 즉, 사람과 기계(웹서버)와의 정보 교환뿐만 아니라 기계와 기계간의 상호 정보교환이 가능하도록, URL로 식별 가능한 자원을 구성하고, 자원과 자원 간의 연결(링크)를 구성한 다음, 해당 자원에 대한 HTTP 기반의 정보 생성(POST), 질의(GET), 삭제(DELETE), 업데이트(PUT), 동작(Operation)을 기본으로 자원과의 상호정보교환을 하는 원칙을 제시하고 있다. 최근 REST 기술은 웹 포탈이나 통신사업자의 개방형 API(Application Programming Interface, Open API)를 제공함에 있어서, 개발자의 적응력이 떨어지고 이해가 복잡한 WSDL(Web Services Description Language), SOAP(Simple Object Access Protocol) 기반의 웹 서비스(Web Services) 접근 방식에 대한 대안으로 널리 활용되고 있다.On the other hand, Hypertext Transfer Protocol (HTTP) technology based on Representational State Transfer (REST) proposes a basic principle in exchange of information based on the Internet. That is, in order not only to exchange information between a person and a machine (web server) but also to exchange information between machines and machines, a resource identifiable by a URL is configured, and a resource (resource) link (link) is formed. It presents the principle of mutual information exchange with resources based on HTTP-based information generation (POST), query (GET), deletion (DELETE), update (PUT), and operation (Operation). In recent years, REST technology has provided an open API (Application Programming Interface, Open API) for web portals and service providers. Based on WSDL (Simple Object Access Protocol) and WSDL (Simple Object Access Protocol) It is widely used as an alternative to the Web Services approach.
사용자에게 편리하고 효율적인 버스 관련 정보를 제공할 수 있는 REST 기반 버스 관련 정보 제공 장치 및 방법, 그리고 시스템을 제공함을 목적으로 한다.An object of the present invention is to provide a REST-based bus-related information providing device, method, and system that can provide a user with convenient and efficient bus-related information.
전술한 기술적 과제를 달성하기 위한 REST 기반 버스 관련 정보 제공 장치는 클라이언트로부터 HTTP 기반 버스 관련 정보 요청을 수신하는 HTTP 요청 수신부, REST 기반으로 표현된 자원 및 링크로 구성되는 버스 관련 정보에서 요청된 정보를 검색하여 클라이언트로 제공하는 자원 제공부를 포함한다.The REST-based bus-related information providing apparatus for achieving the above-described technical problem includes information requested from the bus-related information consisting of an HTTP request receiving unit, a REST-based resource and a link, which receives an HTTP-based bus-related information request from a client. It includes a resource providing unit for searching and providing to the client.
한편, 전술한 기술적 과제를 달성하기 위한 REST 기반 버스 관련 정보 제공 방법은 클라이언트로부터 HTTP 기반 버스 관련 정보 요청을 수신하는 단계, REST 기반으로 표현된 자원 및 링크로 구성되는 버스 관련 정보로부터 요청된 정보를 검색하는 단계, 및 검색된 정보를 클라이언트로 응답하는 단계를 포함한다.Meanwhile, a method for providing REST-based bus-related information for achieving the above-described technical problem includes receiving an HTTP-based bus-related information request from a client, requesting information from bus-related information consisting of resources and links represented by REST-based information. Retrieving, and responding the retrieved information to the client.
한편, 전술한 기술적 과제를 달성하기 위한 REST 기반 버스 관련 정보 제공 시스템은 HTTP 기반으로 버스 관련 정보를 요청하고 응답받는 클라이언트, 및 REST 기반으로 표현된 자원 및 링크로 구성되는 버스 관련 정보를 관리하며, 클라이언트로부터의 HTTP 기반 버스 관련 정보 요청에 따라 해당 정보를 검색하여 클라이언트로 응답하는 REST 기반 버스 관련 정보 제공 장치를 포함한다.On the other hand, the REST-based bus-related information providing system for achieving the above-described technical problem manages bus-related information consisting of a client requesting and receiving bus-related information based on HTTP, and resources and links represented by REST, It includes a REST-based bus-related information providing device for retrieving the information in response to the HTTP-based bus-related information request from the client to respond to the client.
본 발명은 REST 기반으로 버스 관련 정보 자원 및 링크를 구성하고, 클라이 언트에 설치 가능한 HTTP 클라이언트 응용(application)을 통하여 사용자가 원하는 시점에 버스 관련 정보를 쉽게 획득할 수 있도록 한다. 또한 본 발명은 사용자가 주로 이용하는 버스 및 정류장에 대한 정보를 클라이언트 응용에 설정하고, 사용자가 원하는 시각에 버스도착예정 정보를 언제 어디서든 실시간으로 검색할 수 있게 한다. 또한 본 발명은 버스도착예정시간에 대한 리스트도 제공함으로써, 사용자가 정류장까지의 이동을 언제 할지에 대한 판단을 도와준다. 즉, 본 발명은 사용자로 하여금 손쉽게 버스도착예정 정보에 접근할 수 있게 함으로써, 최근 늘어가는 대중교통 이용을 활성화하는데 도움을 줄 수 있다.The present invention configures bus-related information resources and links based on REST, and enables the user to easily obtain bus-related information at a desired time through an HTTP client application that can be installed on the client. In addition, the present invention is to set the information on the bus and the station mainly used by the user in the client application, the user can search the bus arrival schedule information anytime, anywhere in real time. In addition, the present invention also provides a list of scheduled bus arrival times, to help the user determine when to move to the stop. That is, the present invention can help the user to easily access the bus arrival information, thereby activating the recent increase in the use of public transportation.
전술한, 그리고 추가적인 본 발명의 양상들은 첨부된 도면을 참조하여 설명되는 바람직한 실시예들을 통하여 더욱 명백해질 것이다. 이하에서는 본 발명을 이러한 실시예를 통해 당업자가 용이하게 이해하고 재현할 수 있도록 상세히 설명하기로 한다.The foregoing and further aspects of the present invention will become more apparent through the preferred embodiments described with reference to the accompanying drawings. Hereinafter, the present invention will be described in detail to enable those skilled in the art to easily understand and reproduce the present invention.
도 1은 본 발명의 일 실시예에 따른 REST 기반 버스 관련 정보 제공 시스템의 구성도이다.1 is a block diagram of a REST-based bus-related information providing system according to an embodiment of the present invention.
REST 기반 버스 관련 정보 제공 시스템은 클라이언트(100)와 REST 기반 버스 관련 정보 제공 장치(110)를 포함한다. 클라이언트(100)로는 모바일 단말을 예로 들 수 있다. 이 클라이언트(100)에는 버스 관련 서비스 이용을 위한 HTTP 기반의 응용 소프트웨어(101)가 설치된다. 응용 소프트웨어(101)는 모바일 단말의 접속상황에 따라서 유선 인터넷 혹은 무선 인터넷(2G, 3G, WLAN, Wibro 등)을 통해서 HTTP의 요청 및 응답을 처리할 수 있는 기본적인 기능을 가지고 있다. 또한 응용 소프트웨어(101)는 사용자로부터 폼(Form) 형태의 입력을 받아 HTTP 전송을 요청하고 그 응답으로 수신받은 내용을 파싱하는 역할을 가진다. 즉, 응용 소프트웨어(101)는 REST 기반 버스 관련 정보 제공 장치(110)와 상호 정의된 XML 스키마를 파싱하는 역할을 가진다. 응용 소프트웨어(101)는 HTTP 기능 위에서 동작하므로, 특정 제품의 단말에 대한 의존성이 없다. 앱스토어와 같은 오픈 마켓플레이스처럼 사용자는 일정 금액을 지불하고 응용 소프트웨어(101)를 클라이언트(100)에 다운로드하여 설치할 수도 있으며, REST 기반 버스 관련 정보 제공 장치(110)에서 다운로드하여 설치할 수도 있다.The REST based bus related information providing system includes a
REST 기반 버스 관련 정보 제공 장치(110)는 버스 관련 정보를 REST 기반의 자원(Resource)으로 표현하고, 이에 대한 HTTP 요청에 대해 관련 정보를 응답하는 시스템이다. 따라서 전체적인 동작 흐름은 응용 소프트웨어(101)가 사용자의 입력을 받아 HTTP 요청을 REST 기반 버스 관련 정보 제공 장치(110)로 전송하고, 그 응답을 받아 사용자에게 표현하는 것이다. 이 같은 REST 기반 버스 관련 정보 제공 장치(110)는 HTTP 요청 수신부(111)와 자원 제공부(112)를 포함한다. HTTP 요청 수신부(111)는 응용 소프트웨어(101)로부터 HTTP를 이용한 버스 관련 정보 요청을 수신하고 자원 제공부(112)로 전달한다. 자원 제공부(112)는 버스 관련 정보 요청에 따라 버스 관련 정보 중에서 해당 정보를 검색하고, 검색된 자원을 응용 소프트웨어(101)로 전송한다. 본 발명의 일 양상에 따라 버스 관련 정보는 REST 기반으로 표현된 자원 및 링크로 구성된다. 그리고 버스 관련 정보에는 버스 정보와 버 스 정류장 정보 및 버스 도착 예정 정보가 포함된다.The REST-based bus-related
도 2는 본 발명의 일 실시예에 따른 REST 기반 자원 및 링크의 구성도이다.2 is a block diagram of REST-based resources and links according to an embodiment of the present invention.
REST 기반 버스 관련 정보 제공 장치(110)는 REST 기반 자원의 표현 및 링크의 구성을 통해 버스 관련 정보를 관리한다. 버스 관련 정보는 버스 정보, 버스 정류장 정보, 그리고 버스 도착 예정 정보로 크게 구성된다. 클라이언트(100)는 아래와 같이 파라미터화된 HTTP 요청을 통해 각각의 정보를 얻을 수 있다.The REST-based bus
① 버스 정보에 대한 요청 및 응답 예① Example of request and response for bus information
사용자는 응용 소프트웨어(101)를 통해 버스 정보 요청시 동 이름을 입력하거나, 주요기관 혹은 건물명을 입력하여 버스 정보를 요청할 수 있다. 또한 간선 혹은 지선을 입력하거나, 버스종횡방향을 입력하여 버스 정보를 요청할 수 있다. When the user requests the bus information through the
- 동 이름 : GET http://daejeon.bus.com/buses?q=둔산동-Dong name: GET http://daejeon.bus.com/buses?q = Dunsan-dong
- 주요기관 혹은 건물 : GET http://daejeon.bus.com/buses?q=한국전자통신연구원-Major Institutions or Buildings: GET http://daejeon.bus.com/buses?q = Korea Electronics and Telecommunications Research Institute
- 간선 혹은 지선 : GET http://daejeon.bus.com/buses?q=간선-Main Line or Branch Line: GET http://daejeon.bus.com/buses?q = Main Line
- 버스종횡방향 : GET http://daejeon.bus.com/buses/남/북 -Bus Crossing Direction: GET http://daejeon.bus.com/buses/South/North
<응답> : REST 기반 버스 관련 정보 제공 장치(110)는 위 질의에 해당되는 버스 식별자로 구성된 리스트 값을 응용 소프트웨어(101)로 응답한다.<Response>: The REST-based bus-related
Content-Type : application/xml
<?xml version="1.0" encoding="utf-8" ?>
<buses>
<bus href="/buses/111A"/>
<bus href="/buses/111B"/>
<bus href="/buses/333A"/>
<bus href="/buses/333B"/>
</buses>200 OK
Content-Type: application / xml
<? xml version = "1.0" encoding = "utf-8"?>
<buses>
<bus href = "/ buses / 111A"/>
<bus href = "/ buses / 111B"/>
<bus href = "/ buses / 333A"/>
<bus href = "/ buses / 333B"/>
</ buses>
② 특정 버스 정보에 대한 요청 및 응답 예② Example of request and response for specific bus information
사용자는 응용 소프트웨어(101)를 통해 위 응답 버스 식별자들 중에서 원하는 버스 식별자를 입력하여 특정 버스 정보를 요청할 수 있다.The user may request specific bus information by inputting a desired bus identifier among the response bus identifiers through the
- GET http://daejeon.bus.com/buses/{ bus _ id } -GET http://daejeon.bus.com/buses/ { bus _ id }
<응답> : REST 기반 버스 관련 정보 장치(110)는 요청된 특정 버스에 대한 정보를 응용 소프트웨어(101)로 응답한다. 일 실시예에 있어서, 응답 정보에는 버스 식별자(bus_id), 버스의 이름(111번 상행), 배차간격(30분), 노선도 이미지 등에 대한 정보가 담겨있다.<Response>: The REST-based bus related
Content-Type: application/xml
<?xml version="1.0" encoding="utf-8" ?>
<bus_info id="111A">
<bus_id>111A</bus_id>
<bus_name>111번상행</bus_name>
<interval type="minute">30</interval>
<route type="image">http://daejon.bus.com/buses/111A/route.jpg</route>
</buses>200 OK
Content-Type: application / xml
<? xml version = "1.0" encoding = "utf-8"?>
<bus_info id = "111A">
<bus_id> 111A </ bus_id>
<bus_name> Uphill 111 </ bus_name>
<interval type = "minute"> 30 </ interval>
<route type = "image"> http://daejon.bus.com/buses/111A/route.jpg </ route>
</ buses>
③ 버스정류장 정보에 대한 요청 및 응답 예③ Example of request and response for bus stop information
사용자 응용 소프트웨어(101)를 통해 버스정류장 정보 요청시 동 이름을 입력하거나, 주요기관 혹은 건물명을 입력하여 버스정류장 정보를 요청할 수 있다.When requesting bus stop information through the
- 동 이름 : GET http://daejeon.bus.com/stops?q=둔산동-Dong name: GET http://daejeon.bus.com/stops?q = Dunsan-dong
- 주요기관 혹은 건물 : GET http://daejeon.bus.com/stops?q=한국전자통신연구원-Major Institution or Building: GET http://daejeon.bus.com/stops?q = Korea Electronics and Telecommunications Research Institute
<응답> : REST 기반 버스 관련 정보 제공 장치(110)는 위 질의에 해당되는 버스정류장 식별자로 구성된 리스트 값을 응용 소프트웨어(101)로 응답한다.<Response>: The REST-based bus-related
Content-Type: application/xml
<?xml version="1.0" encoding="utf-8" ?>
<stops>
<stops href="/stops/1234A"/>
<stops href="/stops/1234B"/>
<stops href="/stops/5678A"/>
<stops href="/stops/5678B"/>
<stops href="/stops/3456A"/>
<stops href="/stops/3456B"/>
</stops>200 OK
Content-Type: application / xml
<? xml version = "1.0" encoding = "utf-8"?>
<stops>
<stops href = "/ stops / 1234A"/>
<stops href = "/ stops / 1234B"/>
<stops href = "/ stops / 5678A"/>
<stops href = "/ stops / 5678B"/>
<stops href = "/ stops / 3456A"/>
<stops href = "/ stops / 3456B"/>
</ stops>
④ 특정 버스정류장 정보에 대한 요청 및 응답 예④ Example of request and response for specific bus stop information
사용자는 응용 소프트웨어(101)를 통해 위 응답 버스정류장 식별자들 중에서 원하는 버스정류장 식별자를 입력하여 특정 버스정류장 정보를 요청할 수 있다.The user may request specific bus stop information by inputting a desired bus stop identifier among the response bus stop identifiers through the
- GET http://daejeon.bus.com/stops/{ stop _ id } -GET http://daejeon.bus.com/stops/ { stop _ id }
<응답> : REST 기반 버스 관련 정보 제공 장치(110)는 요청된 특정 버스정류장에 대한 정보를 응용 소프트웨어(101)로 응답한다. 일 실시예에 있어서, 응답 정보에는 정류장 식별자(stop_id), 정류장의 이름(한국전자통신연구원 앞), 정류장 위치 이미지 링크, 정류장에 정차하는 버스 리스트 등에 정보가 담겨 있다.<Response>: The REST-based bus-related
Content-Type: application/xml
<?xml version="1.0" encoding="utf-8" ?>
<stop_info id="1234A">
<stop_id>1234A</stop_id>
<stop_name>한국전자통신연구원앞</stop_name>
<location type="image">http://daejeon.bus.com/stops/1234A/stopimage.jpg
</location>
<buses>
<bus href="/buses/111A"/>
<bus href="/buses/333A"/>
</buses>
</stop_info>200 OK
Content-Type: application / xml
<? xml version = "1.0" encoding = "utf-8"?>
<stop_info id = "1234A">
<stop_id> 1234A </ stop_id>
<stop_name> In front of Korea Electronics and Telecommunications Research Institute </ stop_name>
<location type = "image"> http://daejeon.bus.com/stops/1234A/stopimage.jpg
</ location>
<buses>
<bus href = "/ buses / 111A"/>
<bus href = "/ buses / 333A"/>
</ buses>
</ stop_info>
⑤ 버스 도착 예정 정보에 대한 요청 및 응답 예⑤ Request and response example for bus arrival information
사용자는 응용 소프트웨어(101)를 통해 버스 도착 예정 정보 요청시 버스 식별자와 정류장 식별자를 입력하여 버스 도착 예정 정보를 요청할 수 있다.When the user requests the bus arrival schedule information through the
- GET http://daejeon.bus.com/arrival?bus_id="111A"&stop_id="1234A"-GET http://daejeon.bus.com/arrival?bus_id="111A"&stop_id="1234A "
<응답> : REST 기반 버스 관련 정보 제공 장치(110)는 요청된 버스 도착 예정 정보를 응용 소프트웨어(101)로 응답한다. 일 실시예에 있어서, 응답 버스 도착 예정 정보에는 해당 버스(bus_id)가 해당 버스 정류장(stop_id)에 도착하기 위한 예정시간에 대한 정보가 주 내용으로 포함된다. 그리고 도착예정시간으로는 현재 버스 정류장에 가장 가깝게 진행중인 버스의 도착예정시간만이 포함될 수 있으며, 그 이후에 도착 예정인 버스들에 대한 도착예정시간도 그 정보가 유효하면 포함될 수 있다. 또한 클라이언트(100)에의 디스플레이를 위해, 버스 이름(111번 상행)과 정류장 이름(한국전자통신연구원 앞)이 응답 버스 도착 예정 정보에 포함된다.<Response>: The REST-based bus related
Content-Type: application/xml
<?xml version="1.0" encoding="utf-8" ?>
<arrival_info xmlns=http://daejeon.businfo.com/ns/bus_arrival>
<base-url>http://daejeon.businfo.com</base-url>
<bus href="/buses/111A" name="111번상행"/>
<stop href="/stops/1234A" name="한국전자통신연구원앞"/>
<next_arrival>
<timeleft type='minute'>10</timeleft>
<timeleft type='minute'>30</timeleft>
</next_arrival>
</arrival info>200 OK
Content-Type: application / xml
<? xml version = "1.0" encoding = "utf-8"?>
<arrival_info xmlns = http: //daejeon.businfo.com/ns/bus_arrival>
<base-url> http://daejeon.businfo.com </ base-url>
<bus href = "/ buses / 111A" name = "go up 111"/>
<stop href = "/ stops / 1234A" name = "In front of Korea Electronics and Telecommunications Research Institute"/>
<next_arrival>
<timeleft type = 'minute'> 10 </ timeleft>
<timeleft type = 'minute'> 30 </ timeleft>
</ next_arrival>
</ arrival info>
도 3은 본 발명의 일 실시예에 따른 버스 정보 요청 및 응답 과정을 나타낸 절차도이다.3 is a flowchart illustrating a bus information request and response process according to an embodiment of the present invention.
클라이언트(100)는 총 3회의 요청 및 응답 과정을 통해 버스 정보를 획득한다. 즉, 최초 요청 및 응답 과정(3-1)에서 클라이언트(100)는 REST 기반 버스 관련 정보 제공 장치(110)로부터 버스 정보에 속하는 활용 가능한 자원들에 대한 링크 정보를 획득하고, 두 번째 요청 및 응답 과정(3-2)에서는 “둔산동”과 관련된 버스 정보를 요청하여 관련 버스 리스트를 응답받으며, 세 번째 요청 및 응답 과정(3-3)에서는 특정 버스 식별자를 지정하여 특정 버스 식별자에 대한 버스 정보를 응답받는다. 이 과정 중 두 번째 요청 및 응답 과정(3-2)과 세 번째 요청 및 응답 과정(3-3)은 위 예시 중 ①과 ②의 요청 및 응답 과정에 해당된다. 이 같은 절차를 통해 응용 소프트웨어(101)는 REST 기반 버스 관련 정보 제공 장치(110)로부터 원하는 버스 정보를 얻을 수 있다.The
도 4는 본 발명의 일 실시예에 따른 버스 정류장 정보 요청 및 응답 과정을 나타낸 절차도이다.4 is a flowchart illustrating a bus stop information request and response process according to an embodiment of the present invention.
클라이언트(100)는 총 3회의 요청 및 응답 과정을 통해 버스 정류장 정보를 획득한다. 즉, 최초 요청 및 응답 과정(4-1)에서 클라이언트(100)는 REST 기반 버스 관련 정보 제공 장치(110)로부터 버스 정류장 정보에 속하는 활용 가능한 자원들에 대한 링크 정보를 획득하고, 두 번째 요청 및 응답 과정(4-2)에서는 “한국전자통신연구원”과 관련된 버스 정류장 정보를 요청하여 관련 버스 정류장 리스트를 응답받으며, 세 번째 요청 및 응답 과정(4-3)에서는 특정 버스 정류장 식별자를 지정하여 특정 버스 정류장 식별자에 대한 버스 정류장 정보를 응답받는다. 이 과정 중 두 번째 요청 및 응답 과정(4-2)과 세 번째 요청 및 응답 과정(4-3)은 위 예시 중 ③과 ④의 요청 및 응답 과정에 해당된다. 이 같은 절차를 통해 응용 소프트웨어(101)는 REST 기반 버스 관련 정보 제공 장치(110)로부터 원하는 버스 정류장 정보를 얻을 수 있다.The
도 5는 본 발명의 일 실시예에 따른 버스 도착 예정 정보 요청 및 응답 과정을 나타낸 절차도이다.5 is a flowchart illustrating a bus arrival schedule information request and response process according to an embodiment of the present invention.
최초 요청 및 응답 과정(5-1)에서 클라이언트(100)는 REST 기반 버스 관련 정보 제공 장치(110)로부터 버스 정보 및 버스 정류장 정보에 속하는 활용 가능한 자원들에 대한 링크 정보를 획득한다. 그 다음 클라이언트(100)는 도 3의 과정(5-2)을 통해 버스 정보를 획득하며, 도 4의 과정(5-3)을 통해 버스 정류장 정보를 획득한다. 이후 요청 및 응답 과정(5-4)에서 클라이언트(100)는 “111A(bus_id)”, “1234A(stop_id)”과 관련된 버스 도착 예정 정보를 REST 기반 버스 관련 정보 제공 장치(110)로 요청하고 응답받는다. 추가로, 클라이언트(100)는 요청 및 응답 과정(5-5)에서와 같이 버스 관련 정보에서 제공되는 링크를 통해 자세한 버스 정보 를 더 알아볼 수 있다. 또한, 추가로 클라이언트(100)는 요청 및 응답 과정(5-6)에서와 같이 버스 관련 정보에서 제공되는 링크를 통해 자세한 정류장 정보를 더 알아볼 수 있다.In the initial request and response process 5-1, the
위의 절차는 사용자가 클라이언트(100)를 통해 “버스 정보” 혹은 “버스 정류장 정보”를 검색하고 찾은 다음, 버스 식별자(bus_id)와 버스 정류장 식별자(stop_id)를 이용해 파라미터화된 질의를 하는 경우에 이루어지는 절차이다. 위 절차는 사용자가 클라이언트(100)를 통해 버스 도착 예정 정보 검색을 최초로 할 경우나, 클라이언트(100)에 사용자가 미리 설정한 버스 식별자나 버스 정류장 식별자가 없는 경우에 이용된다. 만일 사용자가 자주 사용하는 버스 식별자나 정류장 식별자를 설정해놓은 경우, 클라이언트(100)는 도 5의 요청 및 응답 과정(4)을 곧바로 수행할 수 있다. 따라서 사용자는 원하는 시점에 보다 빠르게 버스 도착 예정 정보를 얻을 수 있다.The above procedure is performed when the user searches for and finds "bus information" or "bus stop information" through the
이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far I looked at the center of the preferred embodiment for the present invention. Those skilled in the art will appreciate that the present invention can be implemented in a modified form without departing from the essential features of the present invention. Therefore, the disclosed embodiments should be considered in an illustrative rather than a restrictive sense. The scope of the present invention is shown in the claims rather than the foregoing description, and all differences within the scope will be construed as being included in the present invention.
도 1은 본 발명의 일 실시예에 따른 REST 기반 버스 관련 정보 제공 시스템의 구성도.1 is a block diagram of a REST-based bus-related information providing system according to an embodiment of the present invention.
도 2는 본 발명의 일 실시예에 따른 REST 기반 자원 및 링크의 구성도.2 is a block diagram of a REST-based resource and link according to an embodiment of the present invention.
도 3은 본 발명의 일 실시예에 따른 버스 정보 요청 및 응답 과정을 나타낸 절차도.3 is a flowchart illustrating a bus information request and response process according to an embodiment of the present invention.
도 4는 본 발명의 일 실시예에 따른 버스 정류장 정보 요청 및 응답 과정을 나타낸 절차도.4 is a procedure showing a bus stop information request and response process according to an embodiment of the present invention.
도 5는 본 발명의 일 실시예에 따른 버스 도착 예정 정보 요청 및 응답 과정을 나타낸 절차도.5 is a flowchart illustrating a bus arrival schedule information request and response process according to an embodiment of the present invention.
Claims (17)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090118604A KR20110062031A (en) | 2009-12-02 | 2009-12-02 | System for providing the restful bus-related information service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090118604A KR20110062031A (en) | 2009-12-02 | 2009-12-02 | System for providing the restful bus-related information service |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20110062031A true KR20110062031A (en) | 2011-06-10 |
Family
ID=44396287
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020090118604A KR20110062031A (en) | 2009-12-02 | 2009-12-02 | System for providing the restful bus-related information service |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20110062031A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9723428B2 (en) | 2014-01-22 | 2017-08-01 | Electronics And Telecommunications Research Institute | Internet-of-things system for public transportation service and method of operating same |
-
2009
- 2009-12-02 KR KR1020090118604A patent/KR20110062031A/en not_active Application Discontinuation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9723428B2 (en) | 2014-01-22 | 2017-08-01 | Electronics And Telecommunications Research Institute | Internet-of-things system for public transportation service and method of operating same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2011082611A1 (en) | Road condition distribution system based on web and method thereof | |
CN101296255A (en) | Web page browsing method, system, proxy server and mobile phone browser | |
CN106357758B (en) | A kind of localization method, system and terminal | |
CN101141479A (en) | Mediated registration of client applications and content providers with push content delivery system | |
CN105489051A (en) | Bus station arrival prompting method, mobile terminal and cloud server | |
CN110166536A (en) | A kind of cloud mobile phone cross-region control method, system, device and storage medium | |
CN103325046A (en) | Real-time car-sharing system based on HTML5 | |
JP5027754B2 (en) | Information distribution system and information distribution server | |
JPH0981447A (en) | Data processor and information obtaining method | |
CN103116580A (en) | Providing method, system and device of website content information | |
TW201024670A (en) | Local information service method and system, and portable electronic device | |
US9628968B2 (en) | Driver notification | |
CN103716348A (en) | Method, system and device for data access based on CDN network | |
KR20110062031A (en) | System for providing the restful bus-related information service | |
TW487807B (en) | Data supply method, mobile communication network and mobile communication terminal | |
KR102099144B1 (en) | Travel help service providing system based on location | |
CN103379163A (en) | Service object determination method and determination device | |
CN101668074A (en) | Method for obtaining global positioning information of destination | |
CN101895550A (en) | Cache accelerating system and method for compatibility of dynamic and static contents of internet website | |
Peytchev et al. | Experiences in building decision support systems for traffic and transportation GIS | |
CN103575266B (en) | Method and system of mobile navigation as well as GIS (geographic information system) server | |
CN106385443A (en) | Page access method and device | |
JP2015204090A (en) | Method, device and program for establishing secure link between server and terminal by using telephone number | |
CN104731801A (en) | Page adaptation method, platform and system | |
CN203151553U (en) | Client data presentation system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |