WO2011082628A1 - Method and device for searching information - Google Patents

Method and device for searching information Download PDF

Info

Publication number
WO2011082628A1
WO2011082628A1 PCT/CN2010/080143 CN2010080143W WO2011082628A1 WO 2011082628 A1 WO2011082628 A1 WO 2011082628A1 CN 2010080143 W CN2010080143 W CN 2010080143W WO 2011082628 A1 WO2011082628 A1 WO 2011082628A1
Authority
WO
WIPO (PCT)
Prior art keywords
road
link
information
road link
searching
Prior art date
Application number
PCT/CN2010/080143
Other languages
French (fr)
Chinese (zh)
Inventor
戴希
李建军
薛明
Original Assignee
北京世纪高通科技有限公司
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 北京世纪高通科技有限公司 filed Critical 北京世纪高通科技有限公司
Publication of WO2011082628A1 publication Critical patent/WO2011082628A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/091Traffic information broadcasting
    • G08G1/092Coding or decoding of the information
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/091Traffic information broadcasting
    • G08G1/093Data selection, e.g. prioritizing information, managing message queues, selecting the information to be output

Definitions

  • the present invention relates to the field of intelligent traffic information services, and in particular, to a method and apparatus for finding information.
  • a textual description of the geographic location is usually received. For example, traffic information obtained through user feedback, manual collection, etc., is fed back to the system through a textual description of the geographic location; for example, when the user sends a request for a traffic information service to the system through the mobile terminal or the network, the text also needs to be The way to describe the location.
  • the description is generally information such as road name, road direction, etc., such as: Zhichun Road From Xuezhiqiao to Zhongguancun Street, from east to west.
  • the inventors have found that, in the prior art, after the system obtains the text information, the system directly searches for a corresponding traffic information in a database of the navigation electronic map, because a large amount of traffic exists in the electronic map database. Information, direct search is less efficient.
  • Embodiments of the present invention provide a method and apparatus for finding information that can improve the efficiency of finding traffic information.
  • a method of finding information including:
  • a device for finding information including:
  • a first acquiring unit configured to acquire road link information of each road link from a pre-established electronic map database
  • a first generating unit configured to generate a link end attribute of the corresponding link according to the link information acquired by the first acquiring unit
  • a second generating unit configured to generate a road geographical name index table according to the road link information acquired by the first acquiring unit and the road link endpoint attribute obtained by the first generating unit;
  • the road toponymic index table generated by the second generating unit searches for traffic information.
  • the method and device for searching for information according to an embodiment of the present invention, by generating a road place name index table for each eligible road link in the navigation electronic map database, recording the road link information and the link end point attribute in the road place name index table
  • the corresponding traffic information can be quickly found through the index table, and the search efficiency of the prior art directly searching the corresponding navigation information in the database of the navigation electronic map is solved.
  • the method and apparatus for finding information provided by the embodiments of the present invention can improve the efficiency of finding traffic information.
  • FIG. 1 is a flowchart of a method for searching for information according to an embodiment of the present invention
  • FIG. 2 is a flow chart of the method of step 102 shown in FIG. 1;
  • FIG. 3 is a flow chart of a different name route extraction algorithm described in step 203 of FIG. 2;
  • FIG. 4 is a schematic structural diagram of an apparatus for searching for information according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a first generating unit 402 shown in FIG. 4
  • FIG. 6 is a schematic structural diagram of an apparatus for searching for information according to an embodiment of the present invention. two. detailed description
  • the embodiment of the present invention provides a method and an apparatus for searching for information.
  • the method for searching for information provided by the embodiment of the present invention is applied to a smart traffic information service system, including:
  • Step 101 Obtain road link information of each road link from a pre-established electronic map database
  • each link link and point Node is extracted from the navigation electronic map database.
  • Each road has multiple links, and each link is a complete line, ie it will not be interrupted by other roads. For example: extract the road name, road grade, road direction, road length, etc. of the corresponding road for each link; extract the latitude and longitude and interest points (Point of Interest) of the location of the associated link for each point Node. P0I) and so on. Read this information into your computer's memory.
  • Step 102 Generate a link end attribute of the corresponding link according to the link information.
  • the link end attribute refers to a name and a name of the start and end points of the link.
  • the names of the start and end points are also the corresponding intersection names. The specific method for obtaining the name of the intersection is as follows:
  • Step 201 Select a road link that conforms to a preset rule according to the road link information.
  • a selection rule of a road geographical name index is determined in advance, that is, which roads need to generate a road geographical name index, and which are on the roads. The intersection should be selected to divide the road.
  • selection principles (1) According to the classification of road grades in the navigation electronic map, the principle of ranking is established, that is, only the roads that meet the requirements of certain grades need to generate the road name index;
  • intersection should be selected to divide the road
  • the expressway should be interrupted as an important intersection at the overpass and important entrances and exits;
  • Both directions of the road corresponding to the T-junction should be interrupted, but if there are other intersections in the direction that is not directly connected to the intersection, then it may not be interrupted;
  • a road name list is generated for the road chain; if the selection principle is not satisfied, it is not necessary to generate a road name index table for the road chain.
  • Step 202 Select a road link from the road chain that meets the preset rules as an index road link;
  • the last link in the set of route chains conforming to the rule is generally taken as an index link.
  • Step 203 Acquire, respectively, a link that is connected to two end points of the index link and that is different from the index link;
  • Step 1 the road link set meeting the rule is represented by Q;
  • Step 2 the last link in Q is used as an index link, denoted by L, and find all links connected to an endpoint of L to form a search set S;
  • Step 3 Perform rank and attribute selection on all links in S, and remove the non-conformity Conditional link;
  • Step 4 Determine whether there is a link with a different name from L and the road name is not empty. If there is such a link, the search is successful, and the found link name is used as an endpoint name of the index link;
  • Step 5 If there is no such link, continue to search for all links in S with empty road names, and the set of the components is represented by N;
  • Step 6 Determine whether there is a link of the roundabout attribute in the N and the link is connected to a different road name. If there is such a link, the search is successful, and the different road name is used as an endpoint name of the index link;
  • Step 7 if there is no such link, continue to determine whether there is a link in N to connect a road with a different name. If there is such a link, the search is successful, and the name of the different name road is used as an endpoint of the index link. Name
  • Step 8 If there is no such link, continue to determine whether there is a link with the same name as L in S. If there is such a link, find the direction with the best matching direction from all the links with the same name, and add the link with the best requirement to the end of Q;
  • Step 9 If there is no such link, continue to judge whether there is a link extension in N to connect the link with the same name. If there is such a link, add all the links of the extension to the end of Q in order, as the next index link, restart The above steps; if there is no such link, the search fails. Chain endpoint attribute.
  • Step 103 Generate a road name index table according to the road link information and the link end point attribute;
  • the generated road place name index table is as follows: Name type note
  • Road name char [256] Road name The index indicates the direction, divided into four types: east to west, west to direction char [5]
  • Ii Bo read the table into the computer's memory to speed up the positioning of information.
  • Step 104 Search for traffic information according to the road name index table.
  • the user generally inputs the geographical location information by way of the road name + direction + starting point end name, and by using the correspondence relationship of Table 1, the corresponding road link number can be quickly found, and the traffic information is obtained through the link number of the road. Find traffic information in the table.
  • the method for searching for information generates a road name index table for each road link that meets the requirements in the navigation electronic map database, and records the road link information and the link end point attribute in the road name index table.
  • the corresponding traffic information can be quickly found through the index table, which solves the problem that the prior art directly searches for the corresponding traffic information in the database of the navigation electronic map, and the search efficiency is low.
  • the method and apparatus for finding information provided by the embodiments of the present invention can improve the efficiency of finding traffic information.
  • an embodiment of the present invention further provides an apparatus for searching for information, which is applied to an intelligent traffic information service system, and includes:
  • a first obtaining unit 401 configured to obtain, from a pre-established electronic map database, road link information of each road link;
  • a first generating unit 402 configured to generate, according to the road link information acquired by the first acquiring unit, a link end attribute of the corresponding road link;
  • a second generating unit 403 configured to generate a road name index table according to the road link information acquired by the first acquiring unit and the road link endpoint attribute obtained by the first generating unit;
  • the searching unit 404 is configured to search for traffic information according to the road name index table generated by the second generating unit.
  • the first generating unit 402 includes: a first selecting unit 4021, configured to select, according to the road link information acquired by the first acquiring unit 401, a road link that conforms to a preset rule;
  • a second selecting unit 4022 configured to select a road link from the road chain that is obtained by the first selecting unit 4021 and meets a preset rule as an index road link;
  • a second obtaining unit 4023 configured to respectively acquire a link that is connected to two end points of the index link and that is different from the index link;
  • the third selecting unit 4024 is configured to select, by the second obtaining unit 4023, a setting unit 4025, configured to set one of the different name road chains acquired by the second acquiring unit 4023 as the index road link.
  • the apparatus for searching for information further includes: a reading unit 405, configured to read the road name index table generated by the second generating unit 403 into a computer memory.
  • a reading unit 405 configured to read the road name index table generated by the second generating unit 403 into a computer memory.
  • the device for searching for information records the road link information and the link end point attribute in the road name index table by generating a road name index table for each eligible road link in the navigation electronic map database.
  • the corresponding traffic information can be quickly found through the index table, and the problem of low search efficiency caused by searching the corresponding traffic information directly in the database of the navigation electronic map by the prior art is solved.
  • the method and apparatus for finding information provided by the embodiments of the present invention can improve the efficiency of finding traffic information.
  • the technical solution provided by the present invention can be applied to the technical field of finding traffic information.

Abstract

A method and a device for searching information are disclosed. The method comprises: obtaining the link information of each link from an electronic map database which is constructed in advance (101); generating the link end point attribute corresponding to the link according to the link information (102); generating a road name index table according to the link information and the link end point attribute (103); and searching traffic information according to the road name index table (104). The method can be applied to the technical field of searching traffic information, and solves the problem of low searching efficiency caused by directly searching the corresponding traffic information from the database of a navigation electronic map in the prior art.

Description

查找信 息 的 方 法和装置 本申请要求于 201 0 年 1 月 8 日提交中国专利局、 申请号为 201 01 0033840. X , 发明名称为 "查找信息的方法和装置" 的中国专利 申请的优先权, 其全部内容通过引用结合在本申请中。  The present invention claims the priority of a Chinese patent application filed on January 8, 201, the Chinese Patent Office, Application No. 201 01 0033840. X, entitled "Method and Apparatus for Finding Information", The entire contents of this application are incorporated herein by reference.
技术领域 Technical field
本发明涉及智能交通信息服务领域, 尤其涉及一种查找信息的 方法和装置。  The present invention relates to the field of intelligent traffic information services, and in particular, to a method and apparatus for finding information.
背 景技术 Background technique
在智能交通信息服务系统中, 通常会接收到对地理位置的文字 描述。 例如, 通过用户反馈、 人工釆集等方式获取的交通信息要通过 对地理位置的文字描述反馈给系统; 又例如, 用户通过移动终端或网 络向系统发送请求交通信息服务时, 也需要通过文字的方式对地理位 置进行描述。 该描述一般为道路名称、 道路方向等信息, 如: 知春路 从学知桥到中关村大街, 从东至西方向。  In the intelligent traffic information service system, a textual description of the geographic location is usually received. For example, traffic information obtained through user feedback, manual collection, etc., is fed back to the system through a textual description of the geographic location; for example, when the user sends a request for a traffic information service to the system through the mobile terminal or the network, the text also needs to be The way to describe the location. The description is generally information such as road name, road direction, etc., such as: Zhichun Road From Xuezhiqiao to Zhongguancun Street, from east to west.
在实现本发明的过程中, 发明人发现, 现有技术中, 系统获取 该文字信息后, 直接到导航电子地图的数据库中查找对应的交通信 息, 由于所述电子地图数据库中存有大量的交通信息, 直接查找的效 率较低。  In the process of implementing the present invention, the inventors have found that, in the prior art, after the system obtains the text information, the system directly searches for a corresponding traffic information in a database of the navigation electronic map, because a large amount of traffic exists in the electronic map database. Information, direct search is less efficient.
发 明 内 容 Invented content
本发明的实施例提供一种查找信息的方法和装置, 能够提高查 找交通信息的效率。  Embodiments of the present invention provide a method and apparatus for finding information that can improve the efficiency of finding traffic information.
为达到上述目的, 本发明的实施例釆用如下技术方案:  In order to achieve the above object, embodiments of the present invention use the following technical solutions:
一种查找信息的方法, 包括:  A method of finding information, including:
从预先建立的电子地图数据库中获取每条路链的路链信息; 根据所述路链信息生成对应路链的路链端点属性;  Obtaining road link information of each road link from a pre-established electronic map database; generating a link end attribute of the corresponding road link according to the road link information;
根据所述路链信息和所述路链端点属性生成道路地名索引表; 根据所述道路地名索引表查找交通信息。 一种查找信息的装置, 包括: Generating a road place name index table according to the road link information and the road link end point attribute; and searching for traffic information according to the road place name index table. A device for finding information, including:
第一获取单元, 用于从预先建立的电子地图数据库中获取每条 路链的路链信息;  a first acquiring unit, configured to acquire road link information of each road link from a pre-established electronic map database;
第一生成单元, 用于根据由所述第一获取单元获取的路链信息 生成对应路链的路链端点属性;  a first generating unit, configured to generate a link end attribute of the corresponding link according to the link information acquired by the first acquiring unit;
第二生成单元, 用于根据由所述第一获取单元获取的路链信息 和由所述第一生成单元获得的路链端点属性生成道路地名索引表; 查找单元, 用于根据由所述第二生成单元生成的道路地名索引 表查找交通信息。  a second generating unit, configured to generate a road geographical name index table according to the road link information acquired by the first acquiring unit and the road link endpoint attribute obtained by the first generating unit; The road toponymic index table generated by the second generating unit searches for traffic information.
本发明实施例提供的查找信息的方法和装置, 通过为导航电子 地图数据库中每条符合要求的路链生成道路地名索引表, 将路链信息 和路链端点属性记录在所述道路地名索引表中, 当用户以文字方式输 入地理位置信息时, 能通过该索引表迅速地找到对应的交通信息, 解 决了现有技术直接到导航电子地图的数据库中查找对应的交通信息 而造成的查找效率低的问题。 本发明的实施例提供的查找信息的方法 和装置, 能够提高查找交通信息的效率。  The method and device for searching for information according to an embodiment of the present invention, by generating a road place name index table for each eligible road link in the navigation electronic map database, recording the road link information and the link end point attribute in the road place name index table When the user inputs the geographical location information in text mode, the corresponding traffic information can be quickly found through the index table, and the search efficiency of the prior art directly searching the corresponding navigation information in the database of the navigation electronic map is solved. The problem. The method and apparatus for finding information provided by the embodiments of the present invention can improve the efficiency of finding traffic information.
附 图 说明 Attachment
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下 面将对实施例或现有技术描述中所需要使用的附图作简单地介绍, 显 而易见地, 下面描述中的附图是本发明的一些实施例, 对于本领域普 通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附 图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are Some embodiments of the present invention may also be used to obtain other drawings based on these drawings without departing from the prior art.
图 1为本发明实施例提供的查找信息的方法流程图;  FIG. 1 is a flowchart of a method for searching for information according to an embodiment of the present invention;
图 2为图 1所示的步骤 102的方法流程图;  2 is a flow chart of the method of step 102 shown in FIG. 1;
图 3为图 2所示的步骤 203中所述的不同名路链提取算法流程 图;  3 is a flow chart of a different name route extraction algorithm described in step 203 of FIG. 2;
图 4为本发明实施例提供的查找信息的装置结构示意图一; 图 5为图 4中所示的第一生成单元 402的结构示意图; 图 6为本发明实施例提供的查找信息的装置结构示意图二。 具体 实 施方 式 4 is a schematic structural diagram of an apparatus for searching for information according to an embodiment of the present invention; FIG. 5 is a schematic structural diagram of a first generating unit 402 shown in FIG. 4; FIG. 6 is a schematic structural diagram of an apparatus for searching for information according to an embodiment of the present invention; two. detailed description
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将 结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在 没有付出创造性劳动前提下所获得的所有其他实施例, 都属于本发明 保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope are the scope of the present invention.
为了解决现有技术直接到导航电子地图的数据库中查找对应的 交通信息而造成的查找效率较低的问题, 本发明实施例提供一种查找 信息的方法和装置。  In order to solve the problem that the search efficiency is low when the related art directly searches for the corresponding traffic information in the database of the navigation electronic map, the embodiment of the present invention provides a method and an apparatus for searching for information.
如图 1所示, 本发明实施例提供的查找信息的方法, 应用于智 能交通信息服务系统中, 包括:  As shown in FIG. 1, the method for searching for information provided by the embodiment of the present invention is applied to a smart traffic information service system, including:
步骤 101, 从预先建立的电子地图数据库中获取每条路链的路 链信息;  Step 101: Obtain road link information of each road link from a pre-established electronic map database;
在本实施例中, 从导航电子地图数据库中提取每条路链 link 和点 Node的必要信息。每条道路有多条 link, 并且每条 link都是一 条完整的线, 即不会被其它的道路所打断。 例如: 对每条 link提取 出其所对应道路的道路名称、 道路等级、 道路方向、 道路长度等; 对 每个点 Node 提取出其所关联的 link 所在位置的经纬度、 兴趣点 (Point of Interest, P0I)等。 将这些信息读取到计算机内存中。  In this embodiment, the necessary information of each link link and point Node is extracted from the navigation electronic map database. Each road has multiple links, and each link is a complete line, ie it will not be interrupted by other roads. For example: extract the road name, road grade, road direction, road length, etc. of the corresponding road for each link; extract the latitude and longitude and interest points (Point of Interest) of the location of the associated link for each point Node. P0I) and so on. Read this information into your computer's memory.
步骤 102, 根据所述路链信息生成对应路链的路链端点属性; 在本实施例中, 路链端点属性指的是路链起点和终点的名称, 称。 同时, 该起点和终点的名称也是对应的路口名称。 具体的获得该 路口名称的方法如下:  Step 102: Generate a link end attribute of the corresponding link according to the link information. In this embodiment, the link end attribute refers to a name and a name of the start and end points of the link. At the same time, the names of the start and end points are also the corresponding intersection names. The specific method for obtaining the name of the intersection is as follows:
步骤 201, 根据所述路链信息选取符合预先设置的规则的路链; 在本实施例中, 预先制定了道路地名索引的选取规则, 即哪些 道路需要生成道路地名索引, 以及在这些道路上哪些路口应该被选取 来划分道路。 具体来说, 主要有以下一些选取原则: ( 1 )按照导航电子地图中对道路等级的划分, 制定等级选取原 则, 即只有达到一定等级要求的道路才需要生成道路地名索引; Step 201: Select a road link that conforms to a preset rule according to the road link information. In this embodiment, a selection rule of a road geographical name index is determined in advance, that is, which roads need to generate a road geographical name index, and which are on the roads. The intersection should be selected to divide the road. Specifically, there are mainly the following selection principles: (1) According to the classification of road grades in the navigation electronic map, the principle of ranking is established, that is, only the roads that meet the requirements of certain grades need to generate the road name index;
( 2 )若该道路在导航电子地图中没有有效的道路名称, 则不需 要生成道路地名索引;  (2) If the road does not have a valid road name in the navigation electronic map, then it is not necessary to generate a road name index;
( 3)如果该道路被一条符合等级和名称要求的道路打断, 则该 路口应该被选取来划分道路;  (3) If the road is interrupted by a road that meets the grade and name requirements, the intersection should be selected to divide the road;
( 4 ) 主辅路出入口处原则上不作为应被打断的路口处理;  (4) The entrance and exit of the main and auxiliary roads shall in principle not be treated as intersections that should be interrupted;
( 5 ) 高速路在立交桥和重要出入口处应该被作为重要路口打 断;  (5) The expressway should be interrupted as an important intersection at the overpass and important entrances and exits;
( 6 )丁字路口对应道路的两个方向均应该被打断, 但如果在不 与路口直接相连的方向上近距离还有其它路口的话, 则可以不打断;  (6) Both directions of the road corresponding to the T-junction should be interrupted, but if there are other intersections in the direction that is not directly connected to the intersection, then it may not be interrupted;
( 7 )如果道路被同样名称的道路多次打断且相距很近, 则取最 远距离的路口作为索引路口, 其它路口不需要做打断处理;  (7) If the road is interrupted several times by the same name road and the distance is very close, the intersection of the farthest distance is taken as the index intersection, and other intersections do not need to be interrupted;
( 8)对道路尽头按照 "边界点" 进行标识, 并选取临近的 P0I 作为备注名称说明。  (8) Mark the end of the road according to the "boundary point" and select the adjacent P0I as the note name.
如果一条路链满足以上选取原则, 则为该路链生成道路地名索 引表; 如果不满足所述选取原则, 则不必为该路链生成道路地名索引 表。  If a road chain satisfies the above selection principle, a road name list is generated for the road chain; if the selection principle is not satisfied, it is not necessary to generate a road name index table for the road chain.
步骤 202, 从所述符合预先设置的规则的路链中选取一条路链 作为索引路链;  Step 202: Select a road link from the road chain that meets the preset rules as an index road link;
在本实施例中, 一般取符合所述规则的路链集合中的最后一条 路链作为索引路链。  In this embodiment, the last link in the set of route chains conforming to the rule is generally taken as an index link.
步骤 203, 分别获取与所述索引路链两个端点相连、 并且与所 述索引路链不同名路链;  Step 203: Acquire, respectively, a link that is connected to two end points of the index link and that is different from the index link;
在本实施例中, 该步骤的具体算法如下:  In this embodiment, the specific algorithm of this step is as follows:
步骤 1, 将所述符合所述规则的路链集合用 Q表示;  Step 1, the road link set meeting the rule is represented by Q;
步骤 2, 将 Q中的最后一条路链作为索引路链, 用 L表示, 找 出与 L某个端点连接的所有 link组成一个搜索集合 S;  Step 2, the last link in Q is used as an index link, denoted by L, and find all links connected to an endpoint of L to form a search set S;
步骤 3, 对 S中的所有 link进行等级和属性 选, 去掉不符合 条件的 link; Step 3: Perform rank and attribute selection on all links in S, and remove the non-conformity Conditional link;
步骤 4, 判断 S 中是否存在与 L不同名, 并且道路名不为空的 link, 如果存在这样的 link, 表示查找成功, 将找到的 link名称作 为该索引 link某个端点名称;  Step 4: Determine whether there is a link with a different name from L and the road name is not empty. If there is such a link, the search is successful, and the found link name is used as an endpoint name of the index link;
步骤 5, 如果不存在这样的 link, 则继续寻找 S中所有道路名 为空的 link, 组成的集合用 N表示;  Step 5: If there is no such link, continue to search for all links in S with empty road names, and the set of the components is represented by N;
步骤 6, 判断 N中是否存在环岛属性的 link并且该 link连接 了不同的道路名, 如果存在这样的 link, 表示查找成功, 将所述不同 的道路名称作为该索引 link某个端点名称;  Step 6: Determine whether there is a link of the roundabout attribute in the N and the link is connected to a different road name. If there is such a link, the search is successful, and the different road name is used as an endpoint name of the index link;
步骤 7, 如果不存在这样的 link, 继续判断 N 中是否有 link 连接了不同名的道路, 如果存在这样的 link, 表示查找成功, 将所述 不同名道路的名称作为该索引 link某个端点的名称;  Step 7, if there is no such link, continue to determine whether there is a link in N to connect a road with a different name. If there is such a link, the search is successful, and the name of the different name road is used as an endpoint of the index link. Name
步骤 8, 如果不存在这样的 link, 继续判断 S 中是否存在与 L 同名的 link,如果存在这样的 link,从所有同名的 link中找出方向、 等级最符合要求的 link添加到 Q的末尾;  Step 8. If there is no such link, continue to determine whether there is a link with the same name as L in S. If there is such a link, find the direction with the best matching direction from all the links with the same name, and add the link with the best requirement to the end of Q;
步骤 9, 如果不存在这样的 link, 继续判断 N 中是否有 link 扩展连接了同名 link, 如果存在这样的 link, 将扩展的所有 link按 顺序添加到 Q的末尾, 作为下一个索引 link, 重新开始以上步骤; 如 果不存在这样的 link, 表示查找失败。 链端点属性。  Step 9. If there is no such link, continue to judge whether there is a link extension in N to connect the link with the same name. If there is such a link, add all the links of the extension to the end of Q in order, as the next index link, restart The above steps; if there is no such link, the search fails. Chain endpoint attribute.
步骤 103, 根据所述路链信息和所述路链端点属性生成道路地 名索引表;  Step 103: Generate a road name index table according to the road link information and the link end point attribute;
在本实施例中, 生成的道路地名索引表如下所示: 名称 类型 备注 In this embodiment, the generated road place name index table is as follows: Name type note
路名 char [256] 道路名称 该索引指示的方向, 分为 四种: 东至西方向、 西至 方向 char [5]  Road name char [256] Road name The index indicates the direction, divided into four types: east to west, west to direction char [5]
东方向、 南至北方向、 北 至南方向  East direction, south to north direction, north to south direction
该索引的起点名称 (起点 起点 char [256]  The starting point name of the index (starting point starting point char [256]
连接的不同道路名称) 该索引的终点名称 (终点 终点 char [256]  The name of the different roads to be connected) The end point name of the index (end point end point char [256]
连接的不同道路名称) Different road names for the connection)
Link在导航电子地图中的 路链号 char [n] Link's link number in the navigation map. char [n]
唯一标识 ID (长度可变) 该 link 在这个索引中的 序号 int 顺序号 (按索引方向顺序 排列)  Unique identifier ID (variable length) The serial number of the link in this index int sequence number (in order of index direction)
长度 int 该 link的长度  Length int the length of the link
起点特别说明, 如 P0I信 起点备注 char [256] 终点特别说明, 如 Ρ0Ι信 终点备注 char [256]  Special starting point, such as P0I letter starting point note char [256] end point special description, such as Ρ0Ι letter end point note char [256]
ii菩 将该表读取到计算机内存中, 以便加快定位信息的速度。  Ii Bo read the table into the computer's memory to speed up the positioning of information.
步骤 104, 根据所述道路地名索引表查找交通信息。  Step 104: Search for traffic information according to the road name index table.
在本实施例中, 用户一般会以道路名称 +方向 +起点终点名称的 方式来输入地理位置信息, 通过表一的对应关系, 可以迅速找到对应 的路链号, 通过该路链号去交通信息表中查找交通信息。  In this embodiment, the user generally inputs the geographical location information by way of the road name + direction + starting point end name, and by using the correspondence relationship of Table 1, the corresponding road link number can be quickly found, and the traffic information is obtained through the link number of the road. Find traffic information in the table.
本发明实施例提供的查找信息的方法, 通过为导航电子地图数 据库中每条符合要求的路链生成道路地名索引表, 将路链信息和路链 端点属性记录在所述道路地名索引表中, 当用户以文字方式输入地理 位置信息时, 能通过该索引表迅速地找到对应的交通信息, 解决了现 有技术直接到导航电子地图的数据库中查找对应的交通信息而造成 的查找效率低的问题。 本发明的实施例提供的查找信息的方法和装 置, 能够提高查找交通信息的效率。 The method for searching for information according to the embodiment of the present invention generates a road name index table for each road link that meets the requirements in the navigation electronic map database, and records the road link information and the link end point attribute in the road name index table. When the user enters the text as text When the location information is used, the corresponding traffic information can be quickly found through the index table, which solves the problem that the prior art directly searches for the corresponding traffic information in the database of the navigation electronic map, and the search efficiency is low. The method and apparatus for finding information provided by the embodiments of the present invention can improve the efficiency of finding traffic information.
如图 4所示, 本发明实施例还提供一种查找信息的装置, 应用 于智能交通信息服务系统中, 包括:  As shown in FIG. 4, an embodiment of the present invention further provides an apparatus for searching for information, which is applied to an intelligent traffic information service system, and includes:
第一获取单元 401 , 用于从预先建立的电子地图数据库中获取 每条路链的路链信息;  a first obtaining unit 401, configured to obtain, from a pre-established electronic map database, road link information of each road link;
第一生成单元 402 , 用于根据由所述第一获取单元获取的路链 信息生成对应路链的路链端点属性;  a first generating unit 402, configured to generate, according to the road link information acquired by the first acquiring unit, a link end attribute of the corresponding road link;
第二生成单元 403 , 用于根据由所述第一获取单元获取的路链 信息和由所述第一生成单元获得的路链端点属性生成道路地名索引 表;  a second generating unit 403, configured to generate a road name index table according to the road link information acquired by the first acquiring unit and the road link endpoint attribute obtained by the first generating unit;
查找单元 404 , 用于根据由所述第二生成单元生成的道路地名 索引表查找交通信息。  The searching unit 404 is configured to search for traffic information according to the road name index table generated by the second generating unit.
进一步地, 如图 5所示, 所述第一生成单元 402包括: 第一选取单元 4021 , 用于根据由所述第一获取单元 401获取的 路链信息选取符合预先设置的规则的路链;  Further, as shown in FIG. 5, the first generating unit 402 includes: a first selecting unit 4021, configured to select, according to the road link information acquired by the first acquiring unit 401, a road link that conforms to a preset rule;
第二选取单元 4022 , 用于从由所述第一选取单元 4021 获得的 符合预先设置的规则的路链中选取一条路链作为索引路链;  a second selecting unit 4022, configured to select a road link from the road chain that is obtained by the first selecting unit 4021 and meets a preset rule as an index road link;
第二获取单元 4023 , 用于分别获取与所述索引路链两个端点相 连、 并且与所述索引路链不同名路链;  a second obtaining unit 4023, configured to respectively acquire a link that is connected to two end points of the index link and that is different from the index link;
第三选取单元 4024 , 用于选取由所述第二获取单元 4023获取 设置单元 4025 , 用于将由所述第二获取单元 4023获取的不同 名路链中的其中一条设置为所述索引路链。  The third selecting unit 4024 is configured to select, by the second obtaining unit 4023, a setting unit 4025, configured to set one of the different name road chains acquired by the second acquiring unit 4023 as the index road link.
进一步地, 如图 6所示, 所述查找信息的装置还包括: 读取单元 405 , 用于将由所述第二生成单元 403生成的道路地 名索引表读取到计算机内存中。 以上所述查找信息装置的具体实现方法可以参见图 1和图 2所 示的方法流程图, 此处不再赘述。 Further, as shown in FIG. 6, the apparatus for searching for information further includes: a reading unit 405, configured to read the road name index table generated by the second generating unit 403 into a computer memory. For the specific implementation method of the foregoing information searching device, refer to the method flowchart shown in FIG. 1 and FIG. 2, and details are not described herein again.
本发明实施例提供的查找信息的装置, 通过为导航电子地图数 据库中每条符合要求的路链生成道路地名索引表, 将路链信息和路链 端点属性记录在所述道路地名索引表中, 当用户以文字方式输入地理 位置信息时, 能通过该索引表迅速地找到对应的交通信息, 解决了现 有技术直接到导航电子地图的数据库中查找对应的交通信息而造成 的查找效率低的问题。 本发明的实施例提供的查找信息的方法和装 置, 能够提高查找交通信息的效率。  The device for searching for information according to the embodiment of the present invention records the road link information and the link end point attribute in the road name index table by generating a road name index table for each eligible road link in the navigation electronic map database. When the user inputs the geographical location information in text mode, the corresponding traffic information can be quickly found through the index table, and the problem of low search efficiency caused by searching the corresponding traffic information directly in the database of the navigation electronic map by the prior art is solved. . The method and apparatus for finding information provided by the embodiments of the present invention can improve the efficiency of finding traffic information.
本发明提供的技术方案可以应用在查找交通信息的技术领域 中。  The technical solution provided by the present invention can be applied to the technical field of finding traffic information.
本领域普通技术人员可以理解实现上述实施例方法中的全部或 部分步骤是可以通过程序来指令相关的硬件完成, 所述的程序可以存 储于一计算机可读存储介质中, 如 R0M/RAM、 磁碟或光盘等。  A person skilled in the art can understand that all or part of the steps of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium, such as ROM/RAM, magnetic. Disc or CD.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围 并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术 范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应所述以权利要求的保护范围为准。  The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权 利 要 求 书 Claim
1、 一种查找信息的方法, 应用于智能交通信息服务系统中, 其特 征在于, 包括:  A method for finding information, which is applied to an intelligent traffic information service system, and the features thereof include:
从预先建立的电子地图数据库中获取每条路链的路链信息; 根据所述路链信息生成对应路链的路链端点属性;  Obtaining road link information of each road link from a pre-established electronic map database; generating a link end attribute of the corresponding road link according to the road link information;
根据所述路链信息和所述路链端点属性生成道路地名索引表; 根据所述道路地名索引表查找交通信息。  Generating a road place name index table according to the road link information and the road link end point attribute; and searching for traffic information according to the road place name index table.
2、 根据权利要求 1所述的查找信息的方法, 其特征在于, 所述路 链信息包括: 所述路链的编号、 长度和所述路链对应道路的道路名称、 道路等级、 道路方向、 道路长度。  The method for searching for information according to claim 1, wherein the road link information comprises: a number, a length of the road link, a road name of the road corresponding to the road chain, a road grade, a road direction, Road length.
3、 根据权利要求 2所述的查找信息的方法, 其特征在于, 所述根 据所述路链信息生成对应路链的路链端点属性包括:  The method for searching for information according to claim 2, wherein the generating the link end point attributes of the corresponding road link according to the road link information comprises:
根据所述路链信息选取符合预先设置的规则的路链;  Selecting a road link that conforms to a preset rule according to the road link information;
从所述符合预先设置的规则的路链中选取一条路链作为索引路 链;  Selecting a road link from the road chain that meets the preset rules as an index road link;
分别获取与所述索引路链两个端点相连、 并且与所述索引路链不 同名路链;  Obtaining, respectively, a link chain connected to two end points of the index road link and different from the index road link;
4、 根据权利要求 3所述的查找信息的方法, 其特征在于, 所述方 法还包括: The method for searching for information according to claim 3, wherein the method further comprises:
将所述不同名路链中的其中一条设置为所述索引路链。  One of the different name road chains is set as the index road link.
5、 根据权利要求 1所述的查找信息的方法, 其特征在于, 所述根 据所述路链信息和所述路链端点属性生成道路地名索引表之后, 还包 括:  The method for searching for information according to claim 1, wherein after the road name index table is generated according to the road link information and the link end point attribute, the method further includes:
将所述道路地名索引表读取到计算机内存中。  The road toponymic index table is read into the computer memory.
6、 一种查找信息的装置, 应用于智能交通信息服务系统中, 其特 征在于, 包括:  6. A device for finding information, which is applied to an intelligent traffic information service system, and the special feature comprises:
第一获取单元, 用于从预先建立的电子地图数据库中获取每条路 链的路链信息; 第一生成单元, 用于根据由所述第一获取单元获取的路链信息生 成对应路链的路链端点属性; a first acquiring unit, configured to acquire road link information of each road link from a pre-established electronic map database; a first generating unit, configured to generate a link end point attribute of the corresponding road link according to the road link information acquired by the first acquiring unit;
第二生成单元, 用于根据由所述第一获取单元获取的路链信息和 由所述第一生成单元获得的路链端点属性生成道路地名索引表;  a second generating unit, configured to generate a road name index table according to the road link information acquired by the first acquiring unit and the road link endpoint attribute obtained by the first generating unit;
查找单元, 用于根据由所述第二生成单元生成的道路地名索引表 查找交通信息。  And a searching unit, configured to search for traffic information according to the road toponymic index table generated by the second generating unit.
7、 根据权利要求 6所述的查找信息的装置, 其特征在于, 所述第 一生成单元包括:  The apparatus for searching for information according to claim 6, wherein the first generating unit comprises:
第一选取单元, 用于根据由所述第一获取单元获取的路链信息选 取符合预先设置的规则的路链;  a first selecting unit, configured to select a road link that conforms to a preset rule according to the road link information acquired by the first acquiring unit;
第二选取单元, 用于从由所述第一选取单元获得的符合预先设置 的规则的路链中选取一条路链作为索引路链;  a second selecting unit, configured to select a road link from the road chain obtained by the first selecting unit that meets a preset rule as an index road link;
第二获取单元, 用于分别获取与所述索引路链两个端点相连、 并 且与所述索引路链不同名路链;  a second acquiring unit, configured to respectively acquire a link that is connected to two end points of the index link and that is different from the index link;
第三选取单元, 用于选取由所述第二获取单元获取的不同名路链 的名称作为所述对应路链的路链端点属性。  And a third selecting unit, configured to select a name of a different name road chain acquired by the second acquiring unit as a link end attribute of the corresponding road link.
8、 根据权利要求 7所述的查找信息的装置, 其特征在于, 所述第 一生成单元还包括: 设置单元, 用于将由所述第二获取单元获取的不 同名路链中的其中一条设置为所述索引路链。  The device for searching for information according to claim 7, wherein the first generating unit further comprises: a setting unit, configured to set one of different name road chains acquired by the second acquiring unit For the index road link.
9、 根据权利要求 6所述的查找信息的装置, 其特征在于, 所述装 置还包括:  The device for searching for information according to claim 6, wherein the device further comprises:
读取单元, 用于将由所述第二生成单元生成的道路地名索引表读 取到计算机内存中。  And a reading unit, configured to read the road toponymic index table generated by the second generating unit into a computer memory.
PCT/CN2010/080143 2010-01-08 2010-12-22 Method and device for searching information WO2011082628A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010033840A CN101807196A (en) 2010-01-08 2010-01-08 Method and device for searching information
CN201010033840.X 2010-01-08

Publications (1)

Publication Number Publication Date
WO2011082628A1 true WO2011082628A1 (en) 2011-07-14

Family

ID=42608991

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/080143 WO2011082628A1 (en) 2010-01-08 2010-12-22 Method and device for searching information

Country Status (2)

Country Link
CN (1) CN101807196A (en)
WO (1) WO2011082628A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807196A (en) * 2010-01-08 2010-08-18 北京世纪高通科技有限公司 Method and device for searching information
CN103185580B (en) * 2011-12-27 2017-07-18 上海博泰悦臻电子设备制造有限公司 Determine the method and apparatus, air navigation aid and device of road section information
CN103377559B (en) * 2012-04-20 2016-03-16 腾讯科技(深圳)有限公司 The methods of exhibiting of road condition information of electronic map and system
CN103134497B (en) * 2012-12-25 2016-06-15 上海博泰悦臻电子设备制造有限公司 The defining method of road real-time road condition information and device, navigation system
CN106991098B (en) * 2016-01-21 2019-12-10 北京四维图新科技股份有限公司 Method and system for selecting index points of same-name roads
CN107270922B (en) * 2017-06-15 2020-04-14 北京航空航天大学 Traffic accident spatial positioning method based on POI (Point of interest) index
CN107451241A (en) * 2017-07-27 2017-12-08 江苏新通达电子科技股份有限公司 The elevation information extracting method and device of a kind of road
CN108133063A (en) * 2018-02-08 2018-06-08 江苏图博地理信息科技有限公司 A kind of map place name road inquiry device based on big data
CN110046210B (en) * 2019-03-29 2022-04-05 北京三快在线科技有限公司 Map information updating method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1691084A (en) * 2004-04-23 2005-11-02 Lg电子有限公司 Apparatus and method for processing traffic information
CN101346000A (en) * 2008-07-29 2009-01-14 方圆信通科技(北京)有限公司 System for providing local mobile geographic information service based on GPS and mobile terminal
CN101807196A (en) * 2010-01-08 2010-08-18 北京世纪高通科技有限公司 Method and device for searching information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1691084A (en) * 2004-04-23 2005-11-02 Lg电子有限公司 Apparatus and method for processing traffic information
CN101346000A (en) * 2008-07-29 2009-01-14 方圆信通科技(北京)有限公司 System for providing local mobile geographic information service based on GPS and mobile terminal
CN101807196A (en) * 2010-01-08 2010-08-18 北京世纪高通科技有限公司 Method and device for searching information

Also Published As

Publication number Publication date
CN101807196A (en) 2010-08-18

Similar Documents

Publication Publication Date Title
WO2011082628A1 (en) Method and device for searching information
JP5066206B2 (en) Link string conversion method, road information providing apparatus, and road information providing system
US10002140B2 (en) Geographical location search using multiple data sources
CN105677793B (en) The recommended method and device of the foundation of locality database and candidate pick-up point
JP6375293B2 (en) Method and apparatus for recommending candidate terms based on geographic location
US8688366B2 (en) Method of operating a navigation system to provide geographic location information
US9008888B1 (en) Cost based navigation
US10216765B2 (en) Image based routing and confirmation
CN102411615B (en) Identifying physical locations of entities
US8412667B2 (en) Comparing and identifying similar tracks
US20130046795A1 (en) System and method for the calculation and use of travel times in search and other applications
US20100070171A1 (en) System and Method for Real-Time Travel Path Prediction and Automatic Incident Alerts
JP2002116689A (en) Updating method of road information in map information providing system, its updating server, server program and recording medium recorded with the program
US9057612B1 (en) Systems and methods for unified directions
US20140156189A1 (en) Personalized Map Routes
CN103940441A (en) Method and device for searching interest point
JP2011138485A (en) Method and apparatus for traffic information conversion using traffic information element knowledge base
US9805130B1 (en) Geographical location search using multiple data sources
KR20110025799A (en) A method of resolving a location from encoded data representative thereof
US20130166204A1 (en) Generating Travel Time Data
CN108288201A (en) The method and device of stroke expense bill is provided in net about vehicle system for target user
WO2012019482A1 (en) Road indexing method for dynamic traffic information treatment.
CN103136298A (en) Electronic equipment and information presentation method thereof
CN104636457A (en) Method and device for location search cognition
JP5271150B2 (en) Route integration server, route integration system, and route integration method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10841971

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10841971

Country of ref document: EP

Kind code of ref document: A1