WO2021139183A1 - 电子地图的搜索方法、装置、设备和介质 - Google Patents

电子地图的搜索方法、装置、设备和介质 Download PDF

Info

Publication number
WO2021139183A1
WO2021139183A1 PCT/CN2020/112422 CN2020112422W WO2021139183A1 WO 2021139183 A1 WO2021139183 A1 WO 2021139183A1 CN 2020112422 W CN2020112422 W CN 2020112422W WO 2021139183 A1 WO2021139183 A1 WO 2021139183A1
Authority
WO
WIPO (PCT)
Prior art keywords
event
poi
attribute information
target
information
Prior art date
Application number
PCT/CN2020/112422
Other languages
English (en)
French (fr)
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 百度在线网络技术(北京)有限公司
Priority to EP20864287.6A priority Critical patent/EP3876109A4/en
Priority to JP2021516772A priority patent/JP7171905B2/ja
Priority to KR1020217008133A priority patent/KR102526873B1/ko
Priority to US17/280,074 priority patent/US11609961B2/en
Publication of WO2021139183A1 publication Critical patent/WO2021139183A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/36Input/output arrangements for on-board computers
    • G01C21/3679Retrieval, searching and output of POI information, e.g. hotels, restaurants, shops, filling stations, parking facilities
    • G01C21/3682Retrieval, searching and output of POI information, e.g. hotels, restaurants, shops, filling stations, parking facilities output of POI information on a road map
    • 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/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • G06F40/295Named entity recognition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • H04W4/022Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences with dynamic range variability

Definitions

  • Electronic maps are maps that are stored and consulted digitally using computer technology.
  • the method of storing information in electronic maps generally uses vector image storage.
  • the scale of the map can be enlarged, reduced or rotated without affecting the display effect, and can achieve any scale and range of drawing output.
  • the electronic map can only search for the address information corresponding to the search term on the electronic map for the search term entered by the user, and the search service is relatively simple.
  • An electronic map search method, device, device, and medium provided in the embodiments of the present application are used to search for POIs in the electronic map according to event-type search information, so as to enrich the search form of the electronic map.
  • the embodiment of the application discloses a searching method for an electronic map, which includes:
  • the target POI is determined as a search result; wherein the event attribute information includes at least the event content.
  • the above embodiments have the following advantages or beneficial effects: by determining whether the target search information belongs to event-type search information, and provide POI services for the event-type search information, thereby overcoming the problem that the electronic map cannot meet the retrieval requirements for the event location, and achieve By searching for information based on the event type, the POI in the related electronic map can be obtained, so as to show the effect of the location information related to the event to the user.
  • the method before determining whether the target search information input by the user belongs to event-type search information, the method further includes:
  • event webpage data If it belongs to event webpage data, extract event attribute information and POI attribute information from the webpage data;
  • the association relationship between the POI and the event attribute information in the electronic map is established.
  • the event-type webpage data is determined by preliminary screening of the webpage data, thereby filtering the webpage data that does not include event information, so that the retained webpage data includes valuable information .
  • the association relationship between the POI and the event attribute information in the electronic map it is convenient to subsequently determine the POI corresponding to the event search information according to the association relationship.
  • determining whether the crawled webpage data belongs to event webpage data includes:
  • the above-mentioned embodiment has the following advantages or beneficial effects: through template matching, it is determined whether the webpage data belongs to event webpage data, so as to filter the webpage data to filter out the webpage data that does not include event information, so that the reserved Web page data includes valuable information in order to extract event attribute information and POI attribute information.
  • the event attribute information further includes the event time
  • the method further includes:
  • the event attribute information is eliminated; or, the association relationship between the event attribute information and the POI in the electronic map is eliminated.
  • the above-mentioned embodiment has the following advantages or beneficial effects: by eliminating time-expired event attribute information or association relationships, the expired information is removed in time, and the expired POI results are not displayed when the user searches for information based on the event category. The user is misleading and affects the user's experience.
  • the method before establishing the association relationship between the POI and the event attribute information in the electronic map according to the POI attribute information, the method further includes:
  • the POI attribute information is filtered out.
  • the foregoing embodiment has the following advantages or beneficial effects: through cross-validation, the corresponding relationship of each information is further verified, the accuracy of each information is ensured, and the accuracy of subsequent retrieval is ensured.
  • the POI associated with the event attribute information is used as the target POI.
  • the foregoing embodiment has the following advantages or beneficial effects: by matching the event attribute information with the target event content, the accuracy of the event POI is improved.
  • the embodiment of the application also discloses an electronic map search device, which includes:
  • the information type determination module is used to determine whether the target search information input by the user belongs to event search information
  • the target event content extraction module is configured to extract target event content in the target search information if it belongs to the event category search information;
  • the search result determination module is used to determine the target POI as a search result according to the target event content and the event attribute information associated with the POI in the electronic map; wherein the event attribute information includes at least the event content.
  • the device further includes:
  • the webpage data type determination module is used to determine whether the crawled webpage data belongs to event webpage data
  • the attribute information determining module is configured to extract event attribute information and POI attribute information from the web page data if it belongs to event-type web page data;
  • the association relationship determination module is used to establish an association relationship between the POI and the event attribute information in the electronic map according to the POI attribute information.
  • the web page data type determining module includes:
  • the first determining unit is configured to, if it is detected that the captured webpage data includes event information, time and location information at the same time based on template matching, then determine that the webpage data belongs to event-type webpage data;
  • the second determining unit is configured to otherwise determine that the webpage data does not belong to event-type webpage data.
  • the event attribute information further includes the event time
  • the device further includes:
  • the elimination module is used to eliminate the event attribute information if it is detected that the event time in any event attribute information is earlier than the current time; or, eliminate the association relationship between the event attribute information and the POI in the electronic map.
  • the device further includes:
  • the cross-validation module is used to cross-validate the POI name, POI city, and POI address in the POI attribute information;
  • the filtering module is configured to filter out the POI attribute information if the verification fails.
  • the search result determination module includes:
  • the matching unit is configured to, if the event content in any event attribute information in the electronic map is successfully matched with the target event content, the POI associated with the event attribute information is used as the target POI.
  • At least one processor At least one processor
  • a memory communicatively connected with the at least one processor; wherein,
  • the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the instructions described in any one of the embodiments of the present application. Methods.
  • Fig. 1 is a schematic flowchart of a search method for an electronic map provided according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of another method for searching an electronic map according to an embodiment of the present application
  • Fig. 3 is a schematic diagram of the association between POI and event attribute information provided according to an embodiment of the present application
  • Fig. 4 is a schematic structural diagram of a search device for an electronic map provided according to an embodiment of the present application.
  • Fig. 1 is a schematic flowchart of a search method for an electronic map provided according to an embodiment of the present application.
  • This embodiment is applicable to the case of searching based on an electronic map.
  • this embodiment can be applied to a situation in which event-type search information is searched to obtain POI information based on an electronic map.
  • the electronic map search method disclosed in this embodiment can be executed by an electronic map search device, which can be implemented by software and/or hardware. Referring to FIG. 1, the search method of the electronic map provided in this embodiment includes:
  • S110 Determine whether the target search information input by the user belongs to event search information.
  • the target search information input by the user through the electronic map may not be event-type search information, and does not correspond to the venue in the electronic map. Therefore, the target POI in the electronic map cannot be retrieved through the target search information.
  • S120 If it belongs to the event search information, extract the target event content in the target search information.
  • the content of the target event may be the content of the held event included in the target search information.
  • the content of the target event is "Zhang San's concert”.
  • the event attribute information may include event content, time and other information.
  • the electronic map includes POI (Point of Interest), each POI can be associated with event attribute information, and the information of each POI includes the location information of the event attribute information corresponding to the time, such as the host city, address, and so on.
  • POI Point of Interest
  • each POI can be associated with event attribute information
  • the information of each POI includes the location information of the event attribute information corresponding to the time, such as the host city, address, and so on.
  • the target event content in the target search information retrieve the event attribute information related to the event content and the target event content from the event attribute information associated with the POI in the electronic map, so as to determine the POI associated with the event attribute information as the target POI, To display the target event content corresponding to the event location information.
  • the target POI before obtaining the target POI, obtain the time corresponding to the target event content from the map database, and determine whether the time corresponding to the target event content is before the current time. If the time corresponding to the target event content is before the current time, the retrieval of the POI corresponding to the target event content is stopped. If the time corresponding to the content of the target event is after the current time, continue to determine the target POI according to the content of the target event.
  • the technical solution of the embodiment of the present application determines whether the target search information belongs to event-type search information, and provides POI service for the event-type search information, so that the electronic map can meet the retrieval requirements of the event location, and realize the search based on the event type.
  • the information can obtain the POI in the electronic map related to it, so as to show the effect of the location information related to the event to the user.
  • S210 Determine whether the captured webpage data belongs to event webpage data.
  • the web page data may be text information such as web articles, news reports, and celebrity blog posts.
  • Web page data includes a large amount of data and is of real-time nature, and its title or the first paragraph of an article often includes event information. Therefore, the event information and venue information can be obtained by crawling the web page data, so that it can be displayed on the electronic map later.
  • the event webpage data may be webpage data including events, for example, "Zhang San will hold a concert at the Workers Stadium in XX City on May 20, 2022". By determining whether the webpage data belongs to event webpage data, the webpage data is filtered to filter out the useless webpage data that does not include the event content, and the webpage data that can extract the key information of the event is retained, so that the processing resources can be reasonably and effectively used.
  • determining whether the captured webpage data belongs to event webpage data includes: if it is detected that the captured webpage data includes event information, time and location information based on template matching, then determining that the webpage data belongs to the event Class webpage data; otherwise, it is determined that the webpage data does not belong to event webpage data.
  • a text rule matching template library including three elements of event, time, and location is constructed, and matching is performed based on the templates in the template library to determine whether the three elements are included in the web page data. If the three elements are included in the web page data, it is indicated Web page data is web page data with use value, which can be used to extract event information. If the webpage data does not include the three elements, it means that the webpage data has no use value and cannot be used to extract event information, so it is filtered out. For example, for the web page data "Zhang San will hold a concert at the Workers Stadium at No.
  • the template matching is determined, including the event “Zhang San concert” and the time “2022 "May 20th, 2010" and the location "No. 7 First Avenue” have three elements, so the webpage data belongs to the event webpage data. If the web page data is "Zhang San’s latest single will be released soon”, which only includes the event “Zhang San’s latest single will be released soon”, the time and place corresponding to the event is not included, and the three elements are not complete, it is determined that the web page data is not Event web page data. According to template matching, it is determined whether the web page data includes three elements for filtering, so that valuable web page data can be obtained comprehensively and accurately, so as to realize the extraction of event, time and location information in the web page data.
  • S220 If it belongs to event webpage data, extract event attribute information and POI attribute information from the webpage data.
  • the event attribute information may include event content and event time.
  • the POI attribute information may include POI name, POI city, and POI address.
  • the entity in the event webpage data can be identified based on a conditional random field (CRF) model to extract the POI name, POI city, and POI address.
  • CRF conditional random field
  • the training sample prediction samples including the five elements of event content, event time, POI name, POI city, and POI address are determined by manual labeling, and the CRF model is trained using the prediction samples, and the CRF model is paired based on the training.
  • the prediction samples are predicted, and the CRF model is iterated repeatedly on the wrong data to obtain the POI information recognition model. Identify POI information based on the obtained model. For example, for event web data "Zhang San will hold a concert at Workers Stadium on No.
  • the POI in the electronic map is determined according to the POI name, POI address, and POI city, and the POI in the electronic map is associated with the event attribute information, so that the POI in the electronic map corresponding to the event can be subsequently determined according to the association relationship. .
  • the event attribute information further includes the event time; correspondingly, the method further includes: if it is detected that the event time in any event attribute information is earlier than the current time, removing the event attribute information; or The relationship between the event attribute information and the POI in the electronic map.
  • the event attribute information is extracted from the event-type webpage data, and it is determined whether the event time in the event attribute information is earlier than the current time. If the event time is earlier than the current time, it means that the event-type webpage data has expired, so it is excluded The event attribute information. Or, if it is determined based on the event attribute information in the association relationship, and the event time is earlier than the current time, it means that the event has been held. Therefore, the association relationship is removed, and the expired event will no longer be displayed when the user enters the event search information. POI.
  • the method before establishing the association relationship between the POI and the event attribute information in the electronic map according to the POI attribute information, the method further includes: cross-validating the POI name, POI city, and POI address in the POI attribute information; If the verification fails, the POI attribute information is filtered out.
  • S240 Determine whether the target search information input by the user belongs to event search information.
  • the target event content extracted from the target search information is matched with the event content in the event attribute information in the electronic map, so as to determine the event attribute information that matches the target event content, and associate the event attribute information
  • the POI as the target POI search result is provided to the user, and then the electronic map POI search is realized according to the input event search information, which enriches the search function of the electronic map and facilitates the user's operation.
  • the embodiment of the application determines whether the captured webpage data belongs to event webpage data; if it belongs to event webpage data, extracts event attribute information and POI attribute information from the webpage data; establishes according to the POI attribute information
  • the association relationship between the POI and the event attribute information in the electronic map facilitates subsequent determination of the search result corresponding to the target search information according to the association relationship.
  • Fig. 4 is a schematic structural diagram of a search device for an electronic map provided according to an embodiment of the present application.
  • an embodiment of the present application discloses an electronic map search device 300.
  • the device 300 includes: an information type determination module 301, a target event content extraction module 302, and a search result determination module 303.
  • the information type determining module 301 is used to determine whether the target search information input by the user belongs to event type search information
  • the target event content extraction module 302 is configured to extract target event content in the target search information if it belongs to the event category search information;
  • the search result determination module 303 is configured to determine the target POI as a search result according to the target event content and the event attribute information associated with the POI in the electronic map; wherein the event attribute information includes at least the event content.
  • the device further includes:
  • the webpage data type determination module is used to determine whether the crawled webpage data belongs to event webpage data
  • the attribute information determining module is configured to extract event attribute information and POI attribute information from the web page data if it belongs to event-type web page data;
  • the association relationship determination module is used to establish an association relationship between the POI and the event attribute information in the electronic map according to the POI attribute information.
  • the web page data type determining module includes:
  • the first determining unit is configured to, if it is detected that the captured webpage data includes event information, time and location information at the same time based on template matching, then determine that the webpage data belongs to event-type webpage data;
  • the second determining unit is configured to otherwise determine that the webpage data does not belong to event-type webpage data.
  • the event attribute information further includes the event time
  • the device further includes:
  • the elimination module is used to eliminate the event attribute information if it is detected that the event time in any event attribute information is earlier than the current time; or, eliminate the association relationship between the event attribute information and the POI in the electronic map.
  • the device further includes:
  • the cross-validation module is used to cross-validate the POI name, POI city, and POI address in the POI attribute information;
  • the filtering module is configured to filter out the POI attribute information if the verification fails.
  • the search result determination module 303 includes:
  • the matching unit is configured to, if the event content in any event attribute information in the electronic map is successfully matched with the target event content, the POI associated with the event attribute information is used as the target POI.
  • the electronic map search device provided in the embodiment of the present application can execute the electronic map search method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.
  • the present application also provides an electronic device and a readable storage medium.
  • FIG. 5 is a block diagram of an electronic device used to implement the electronic map search method in an embodiment of the present application.
  • Electronic devices are intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers.
  • Electronic devices can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices.
  • the components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the application described and/or required herein.
  • the electronic device includes: one or more processors 401, a memory 402, and interfaces for connecting various components, including a high-speed interface and a low-speed interface.
  • the various components are connected to each other using different buses, and can be installed on a common motherboard or installed in other ways as needed.
  • the processor may process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input/output device (such as a display device coupled to an interface).
  • an external input/output device such as a display device coupled to an interface.
  • multiple processors and/or multiple buses can be used with multiple memories and multiple memories.
  • multiple electronic devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system).
  • a processor 401 is taken as an example.
  • the memory 402 is the non-transitory computer-readable storage medium provided by this application.
  • the memory stores instructions executable by at least one processor, so that the at least one processor executes the electronic map search method provided in this application.
  • the non-transitory computer-readable storage medium of the present application stores computer instructions, and the computer instructions are used to make the computer execute the search method of the electronic map provided in the present application.
  • the memory 402 as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as the program instructions/modules corresponding to the electronic map search method in the embodiment of the present application (for example, the information type determination module 301, the target event content extraction module 302, and the search result determination module 303 shown in FIG. 4).
  • the processor 401 executes various functional applications and data processing of the server by running non-transient software programs, instructions, and modules stored in the memory 402, that is, implements the electronic map search method in the foregoing method embodiment.
  • the memory 402 may include a storage program area and a storage data area, where the storage program area may store an operating system and an application program required by at least one function; the storage data area may store data created by the use of electronic devices based on the search of an electronic map Wait.
  • the memory 402 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid state storage devices.
  • the memory 402 may optionally include memories remotely provided with respect to the processor 401, and these remote memories may be connected to the search electronic device of the electronic map through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
  • the electronic device of the electronic map search method may further include: an input device 403 and an output device 404.
  • the processor 401, the memory 402, the input device 403, and the output device 404 may be connected by a bus or other methods. In FIG. 5, the connection by a bus is taken as an example.
  • the input device 403 can receive input digital or character information, and generate key signal input related to the user settings and function control of the electronic device for searching the electronic map, such as touch screen, keypad, mouse, track pad, touch pad, pointing stick , One or more mouse buttons, trackballs, joysticks and other input devices.
  • the output device 404 may include a display device, an auxiliary lighting device (for example, LED), a tactile feedback device (for example, a vibration motor), and the like.
  • the display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some embodiments, the display device may be a touch screen.
  • Various implementations of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: being implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, the programmable processor It can be a dedicated or general-purpose programmable processor that can receive data and instructions from the storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device. An output device.
  • machine-readable medium and “computer-readable medium” refer to any computer program product, device, and/or device used to provide machine instructions and/or data to a programmable processor ( For example, magnetic disks, optical disks, memory, programmable logic devices (PLD)), including machine-readable media that receive machine instructions as machine-readable signals.
  • machine-readable signal refers to any signal used to provide machine instructions and/or data to a programmable processor.
  • the systems and technologies described herein can be implemented in a computing system that includes back-end components (for example, as a data server), or a computing system that includes middleware components (for example, an application server), or a computing system that includes front-end components (for example, A user computer with a graphical user interface or a web browser, through which the user can interact with the implementation of the system and technology described herein), or includes such back-end components, middleware components, Or any combination of front-end components in a computing system.
  • the components of the system can be connected to each other through any form or medium of digital data communication (for example, a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.
  • the computer system can include clients and servers.
  • the client and server are generally far away from each other and usually interact through a communication network.
  • the relationship between the client and the server is generated by computer programs that run on the corresponding computers and have a client-server relationship with each other.

Abstract

一种电子地图的搜索方法、装置、设备和介质。该方法包括以下步骤:确定用户输入的目标搜索信息是否属于事件类搜索信息(S110);若属于所述事件类搜索信息,则提取所述目标搜索信息中的目标事件内容(S120);根据所述目标事件内容,以及电子地图中POI关联的事件属性信息,确定目标POI,以作为搜索结果;其中,所述事件属性信息至少包括事件内容(S130)。通过为事件类搜索信息提供POI服务,丰富了电子地图的搜索方式。

Description

电子地图的搜索方法、装置、设备和介质
本申请要求在2020年01月08日提交中国专利局、申请号为202010017416.X的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及数据处理领域,例如涉及一种电子地图技术,具体涉及一种电子地图的搜索方法、装置、设备和介质。
背景技术
电子地图,是利用计算机技术,以数字方式存储和查阅的地图。电子地图储存资讯的方法,一般使用向量式图像储存,地图比例可放大、缩小或旋转而不影响显示效果,能够实现任意比例尺、任意范围的绘图输出。
目前电子地图只能够针对用户输入的检索词,在电子地图上搜索检索词对应的地址信息,检索服务较简单。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本申请实施例提供的一种电子地图的搜索方法、装置、设备和介质,以实现根据事件类搜索信息对电子地图中的POI进行搜索,以丰富电子地图的搜索形式。
本申请实施例公开了一种电子地图的搜索方法,该方法包括:
确定用户输入的目标搜索信息是否属于事件类搜索信息;
若属于所述事件类搜索信息,则提取所述目标搜索信息中的目标事件内容;
根据所述目标事件内容,以及电子地图中POI关联的事件属性信息,确定目标POI,以作为搜索结果;其中,所述事件属性信息至少包括事件内容。
上述实施例具有如下优点或有益效果:通过确定目标搜索信息是否属于事件类搜索信息,并为事件类搜索信息提供POI服务,从而克服了电子地图无法满足对事件举办地点的检索需求的问题,实现了根据事件类搜索信息即可以获取与其相关的电子地图中的POI,从而为用户展示与事件相关地点信息的效果。
在本申请实施例中,确定用户输入的目标搜索信息是否属于事件类搜索信息之前,还包括:
确定抓取的网页数据是否属于事件类网页数据;
若属于事件类网页数据,则从所述网页数据中提取事件属性信息和POI属性信息;
根据所述POI属性信息,建立电子地图中POI与事件属性信息之间的关联 关系。
据此,上述实施例具有如下优点或有益效果:通过对网页数据进行初步筛选,确定事件类网页数据,从而滤除不包括事件信息的网页数据,以使保留的网页数据中包括有价值的信息。通过建立电子地图中POI和事件属性信息之间的关联关系,从而便于后续根据关联关系确定事件类搜索信息对应的POI。
在本申请实施例中,确定抓取的网页数据是否属于事件类网页数据,包括:
若基于模板匹配,检测到抓取的网页数据中同时包括事件信息、时间和地点信息,则确定所述网页数据属于事件类网页数据;
否则,确定所述网页数据不属于事件类网页数据。
据此,上述实施例具有如下优点或有益效果:通过基于模板匹配,确定网页数据是否属于事件类网页数据,从而对网页数据进行筛选,以滤除不包括事件信息的网页数据,从而使保留的网页数据为包括有价值的信息,以便提取其中的事件属性信息和POI属性信息。
在本申请实施例中,所述事件属性信息还包括事件时间;
相应地,所述方法还包括:
若检测到任一事件属性信息中的事件时间早于当前时间,则剔除该事件属性信息;或者,剔除该事件属性信息和电子地图中POI之间的关联关系。
据此,上述实施例具有如下优点或有益效果:通过剔除时间过期的事件属性信息或者关联关系,从而及时去除过期信息,避免在用户根据事件类搜索信 息进行检索时仍展示过期的POI结果,对用户产生误导,影响用户的体验。
在本申请实施例中,根据所述POI属性信息,建立电子地图中POI与事件属性信息之间的关联关系之前,还包括:
对所述POI属性信息中的POI名称、POI城市和POI地址进行交叉验证;
若验证失败,则滤除所述POI属性信息。
据此,上述实施例具有如下优点或有益效果:通过交叉验证,从而进一步验证每个信息的对应关系,保证每个信息的准确性,进而保证后续检索的准确性。
在本申请实施例中,根据所述目标事件内容,以及电子地图中POI关联的事件属性信息,确定目标POI,包括:
若电子地图中任一事件属性信息中的事件内容与所述目标事件内容匹配成功,则将该事件属性信息关联的POI作为目标POI。
据此,上述实施例具有如下优点或有益效果:通过将事件属性信息与目标事件内容进行匹配,从而提高事件类POI的准确性,。
本申请实施例还公开了一种电子地图的搜索装置,该装置包括:
信息类型确定模块,用于确定用户输入的目标搜索信息是否属于事件类搜索信息;
目标事件内容提取模块,用于若属于所述事件类搜索信息,则提取所述目标搜索信息中的目标事件内容;
搜索结果确定模块,用于根据所述目标事件内容,以及电子地图中POI关 联的事件属性信息,确定目标POI,以作为搜索结果;其中,所述事件属性信息至少包括事件内容。
在本申请实施例中,所述装置还包括:
网页数据类型确定模块,用于确定抓取的网页数据是否属于事件类网页数据;
属性信息确定模块,用于若属于事件类网页数据,则从所述网页数据中提取事件属性信息和POI属性信息;
关联关系确定模块,用于根据所述POI属性信息,建立电子地图中POI与事件属性信息之间的关联关系。
在本申请实施例中,所述网页数据类型确定模块,包括:
第一确定单元,用于若基于模板匹配,检测到抓取的网页数据中同时包括事件信息、时间和地点信息,则确定所述网页数据属于事件类网页数据;
第二确定单元,用于否则,确定所述网页数据不属于事件类网页数据。
在本申请实施例中,所述事件属性信息还包括事件时间;
相应地,所述装置还包括:
剔除模块,用于若检测到任一事件属性信息中的事件时间早于当前时间,则剔除该事件属性信息;或者,剔除该事件属性信息和电子地图中POI之间的关联关系。
在本申请实施例中,所述装置还包括:
交叉验证模块,用于对所述POI属性信息中的POI名称、POI城市和POI 地址进行交叉验证;
滤除模块,用于若验证失败,则滤除所述POI属性信息。
在本申请实施例中,所述搜索结果确定模块,包括:
匹配单元,用于若电子地图中任一事件属性信息中的事件内容与所述目标事件内容匹配成功,则将该事件属性信息关联的POI作为目标POI。
本申请实施例还公开了一种电子设备,该设备包括:
至少一个处理器;以及
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如本申请实施例中任一项所述的方法。
本申请实施例还公开了一种存储有计算机指令的非瞬时计算机可读存储介质,所述计算机指令用于使所述计算机执行如本申请实施例中任一项所述的方法。
上述可选方式所具有的其他效果将在下文中结合具体实施例加以说明。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图说明
附图用于更好地理解本方案,不构成对本申请的限定。其中:
图1是根据本申请实施例提供的电子地图的搜索方法的流程示意图;
图2是根据本申请实施例提供的另一种电子地图的搜索方法的流程示意图;
图3是根据本申请实施例提供的POI与事件属性信息关联示意图;
图4是根据本申请实施例提供的电子地图的搜索装置的结构示意图;
图5是用来实现本申请实施例的电子地图的搜索方法的电子设备的框图。
具体实施方式
以下结合附图对本申请的示范性实施例做出说明,其中包括本申请实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本申请的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。
图1是根据本申请实施例提供的电子地图的搜索方法的流程示意图。本实施例可适用于基于电子地图进行搜索的情况。典型地,本实施例可以适用于基于电子地图,对事件类搜索信息进行搜索以获取POI信息的情况。本实施公开的电子地图的搜索方法可以由一种电子地图的搜索装置来执行,该装置可以由软件和/或硬件的方式实现。参见图1,本实施例提供的电子地图的搜索方法包括:
S110、确定用户输入的目标搜索信息是否属于事件类搜索信息。
其中,目标搜索信息可以为用户通过电子地图输入的信息,本实施例中对用户输入方式不作具体限定,例如可以是语音输入或手动输入等。事件类搜索信息可以为包括具体举办的活动事件的搜索信息,例如,“张三的演唱会”属于事件类搜索信息,包括举办的事件内容,对应有举办地点,而“张三的新歌”由于不对应举办地点,不属于事件类搜索信息。
具体的,用户通过电子地图输入的目标搜索信息可能不是事件类搜索信息,不对应电子地图中的举办地点,因此无法通过该目标搜索信息检索到电子地图中的目标POI。本申请实施例中,在接收到用户输入的目标搜索信息后,确定目标搜索信息是否属于事件类搜索信息,从而对目标搜索信息进行筛选,对于属于事件类搜索信息的目标搜索信息进行响应搜索以展示其对应的目标POI。可以基于事件模板匹配,确定目标搜索信息是否属于事件类搜索信息。通过对目标搜索信息进行筛选,从而提高了响应速度,对于不属于事件类搜索信息能够准确地返回搜索结果,提高了用户体验。
S120、若属于所述事件类搜索信息,则提取所述目标搜索信息中的目标事件内容。
其中,目标事件内容可以为目标搜索信息中包括的举办事件内容。例如,对于目标搜索信息“搜索张三演唱会的举办地点”,其中目标事件内容则为“张三演唱会”。
S130、根据所述目标事件内容,以及电子地图中POI关联的事件属性信息,确定目标POI,以作为搜索结果;其中,所述事件属性信息至少包括事件内容。
其中,事件属性信息可以包括事件内容、时间等信息。电子地图中包括POI(Point of Interest,兴趣点),每个POI可以关联有事件属性信息,每个POI的信息中包括事件属性信息对应时间举办的地点信息,例如举办城市、地址等。
根据目标搜索信息中的目标事件内容,从电子地图中POI关联的事件属性信息中,检索包括事件内容与目标事件内容相关的事件属性信息,从而确定该事件属性信息关联的POI,作为目标POI,以展示目标事件内容对应事件的举办地点信息。
可选的,在获取目标POI之前,从地图数据库中获取目标事件内容对应的时间,确定目标事件内容对应的时间是否位于当前时间之前。若目标事件内容对应的时间位于当前时间之前,则停止对目标事件内容对应POI的检索。若目标事件内容对应的时间位于当前时间之后,则继续根据目标事件内容确定目标POI。
本申请实施例的技术方案,通过确定目标搜索信息是否属于事件类搜索信息,并为事件类搜索信息提供POI服务,从而使电子地图能够满足对事件举办地点的检索需求,实现了根据事件类搜索信息即可以获取与其相关的电子地图中的POI,从而为用户展示与事件相关地点信息的效果。
图2是根据本申请实施例提供的另一种电子地图的搜索方法的流程示意图。本实施例是在上述实施例的基础上提出的一种可选方案。参见图2,本实施例提供的电子地图的搜索方法包括:
S210、确定抓取的网页数据是否属于事件类网页数据。
其中,网页数据可以为网络文章、新闻报道和明星博文等文本信息。网页数据包括较多的数据量,具有实时性,其标题或文章首段往往包括事件的信息。因此,通过抓取网页数据能够获取其中的事件信息和举办地点信息,以便后续通过电子地图进行展示。事件类网页数据可以为包括举办事件的网页数据,例如,“张三将于2022年5月20日在某某市工人体育场举办演唱会”。通过确定网页数据是否属于事件类网页数据,从而对网页数据进行筛选,以滤除不包括事件内容的无用网页数据,保留能够提取出事件关键信息的网页数据,从而合理有效地利用处理资源。
可选的,确定抓取的网页数据是否属于事件类网页数据,包括:若基于模板匹配,检测到抓取的网页数据中同时包括事件信息、时间和地点信息,则确定所述网页数据属于事件类网页数据;否则,确定所述网页数据不属于事件类网页数据。
示例性的,构建包括事件、时间、地点三要素的文本规则匹配模板库,基于模板库中的模板进行匹配,以确定网页数据中是否包括三要素,若网页数据中包括三要素,则说明该网页数据为具有使用价值的网页数据,能够用以提取事件信息。若网页数据中不包括三要素,则说明该网页数据不具有使用价值,不能够用以提取事件信息,因此滤除。例如,对于网页数据“张三将于2022年5月20日在某某市第一大道7号工人体育场举办演唱会”,经过模板匹配确定,其中包括事件“张三演唱会”、时间“2022年5月20日”和地点“第一大道7号”,具备三要素,因此该网页数据属于事件类网页数据。若网页数据为“张三的最新单曲即将发布”,其中只包括事件“张三的最新单曲即将发 布”,未包括事件对应的时间的地点,三要素不齐全,则确定该网页数据不是事件类网页数据。通过根据模板匹配确定网页数据是否包括三要素,以进行筛选,从而全面准确地获取有价值的网页数据,以实现对网页数据中事件、时间和地点等信息的提取。
S220、若属于事件类网页数据,则从所述网页数据中提取事件属性信息和POI属性信息。
其中,事件属性信息可以包括事件内容和事件时间。POI属性信息可以包括POI名称、POI城市和POI地址。示例性的,如图3所示,在过滤掉无价值的网页数据得到事件类网页数据后,从事件类网页数据中提取事件的内容、时间、POI名称、城市和地址,以全面地获取事件相关的对应信息。可以基于条件随机场(conditional random field,CRF)模型对事件类网页数据中的实体进行识别,以提取其中的POI名称、POI城市和POI地址。可选的,通过人工标记的方式确定包括事件内容、事件时间、POI名称、POI城市和POI地址五要素的训练样本预测样本,利用预测样本对CRF模型进行训练,并基于训练得到的CRF模型对预测样本进行预测,对预测错误的数据进行反复迭代完善CRF模型,得到POI信息识别模型。根据得到的模型进行POI信息的识别,例如,对于事件类网页数据“张三将于2022年5月20日在某某市第一大道7号工人体育场举办演唱会”,识别出其中的事件内容为“张三演唱会”,事件时间为“2022年5月20日”,POI名称为“工人体育场”,POI城市为“某某市”,POI地址为“第一大道7号”。
S230、根据所述POI属性信息,建立电子地图中POI与事件属性信息之间的关联关系。
示例性的,根据POI名称、POI地址和POI城市,确定电子地图中的POI,并将电子地图中的POI与事件属性信息进行关联,以便于后续根据关联关系确定事件对应的电子地图中的POI。
可选的,所述事件属性信息还包括事件时间;相应地,所述方法还包括:若检测到任一事件属性信息中的事件时间早于当前时间,则剔除该事件属性信息;或者,剔除该事件属性信息和电子地图中POI之间的关联关系。
示例性的,从事件类网页数据中提取出事件属性信息,确定事件属性信息中的事件时间是否早于当前时间,如果事件时间早于当前时间,则说明该事件类网页数据已经过期,因此剔除该事件属性信息。或者,若根据关联关系中的事件属性信息确定,其中的事件时间早于当前时间,则说明该事件已经举办,因此剔除该关联关系,在用户输入事件类搜索信息时则不再显示过期事件的POI。
可选的,根据所述POI属性信息,建立电子地图中POI与事件属性信息之间的关联关系之前,还包括:对所述POI属性信息中的POI名称、POI城市和POI地址进行交叉验证;若验证失败,则滤除所述POI属性信息。
示例性的,基于电子地图,确定POI名称对应的城市地址是否和识别得到的POI城市和POI地址一致,若一致,则验证成功,若不一致,则验证失败,说明POI名称、POI城市和POI地址不对应,需要丢弃该信息重新识别。
S240、确定用户输入的目标搜索信息是否属于事件类搜索信息。
S250、若属于所述事件类搜索信息,则提取所述目标搜索信息中的目标事件内容。
S260、若电子地图中任一事件属性信息中的事件内容与所述目标事件内容匹配成功,则将该事件属性信息关联的POI作为目标POI。
示例性的,将从目标搜索信息中提取的目标事件内容,与电子地图中事件属性信息中的事件内容进行匹配,从而确定与目标事件内容相匹配的事件属性信息,并将该事件属性信息关联的POI作为目标POI搜索结果,提供给用户,进而实现根据输入的事件类搜索信息进行电子地图POI的搜索,丰富了电子地图的搜索功能,方便了用户的操作。
本申请实施例,通过确定抓取的网页数据是否属于事件类网页数据;若属于事件类网页数据,则从所述网页数据中提取事件属性信息和POI属性信息;根据所述POI属性信息,建立电子地图中POI与事件属性信息之间的关联关系,从而便于后续根据关联关系确定目标搜索信息对应的搜索结果。通过确定目标搜索信息是否属于事件类搜索信息,并在电子地图中任一事件属性信息中的事件内容与所述目标事件内容匹配成功时,将该事件属性信息关联的POI作为目标POI,从而实现根据事件对电子地图中POI的搜索,丰富了电子地图的搜索功能,方便了用户对电子地图的应用。
图4是根据本申请实施例提供的电子地图的搜索装置的结构示意图。参见图4,本申请实施例公开了一种电子地图的搜索装置300,该装置300包括:信息类型确定模块301、目标事件内容提取模块302和搜索结果确定模块303。
其中,信息类型确定模块301,用于确定用户输入的目标搜索信息是否属于事件类搜索信息;
目标事件内容提取模块302,用于若属于所述事件类搜索信息,则提取所述目标搜索信息中的目标事件内容;
搜索结果确定模块303,用于根据所述目标事件内容,以及电子地图中POI关联的事件属性信息,确定目标POI,以作为搜索结果;其中,所述事件属性信息至少包括事件内容。
在本申请实施例中,所述装置还包括:
网页数据类型确定模块,用于确定抓取的网页数据是否属于事件类网页数据;
属性信息确定模块,用于若属于事件类网页数据,则从所述网页数据中提取事件属性信息和POI属性信息;
关联关系确定模块,用于根据所述POI属性信息,建立电子地图中POI与事件属性信息之间的关联关系。
在本申请实施例中,所述网页数据类型确定模块,包括:
第一确定单元,用于若基于模板匹配,检测到抓取的网页数据中同时包括事件信息、时间和地点信息,则确定所述网页数据属于事件类网页数据;
第二确定单元,用于否则,确定所述网页数据不属于事件类网页数据。
在本申请实施例中,所述事件属性信息还包括事件时间;
相应地,所述装置还包括:
剔除模块,用于若检测到任一事件属性信息中的事件时间早于当前时间,则剔除该事件属性信息;或者,剔除该事件属性信息和电子地图中POI之间的 关联关系。
在本申请实施例中,所述装置还包括:
交叉验证模块,用于对所述POI属性信息中的POI名称、POI城市和POI地址进行交叉验证;
滤除模块,用于若验证失败,则滤除所述POI属性信息。
在本申请实施例中,所述搜索结果确定模块303,包括:
匹配单元,用于若电子地图中任一事件属性信息中的事件内容与所述目标事件内容匹配成功,则将该事件属性信息关联的POI作为目标POI。
本申请实施例所提供的电子地图的搜索装置可执行本申请任意实施例所提供的电子地图的搜索方法,具备执行方法相应的功能模块和有益效果。
根据本申请的实施例,本申请还提供了一种电子设备和一种可读存储介质。
如图5所示,图5是用来实现本申请实施例的电子地图的搜索方法的电子设备的框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。
如图5所示,该电子设备包括:一个或多个处理器401、存储器402,以及用于连接各部件的接口,包括高速接口和低速接口。各个部件利用不同的总线互相连接,并且可以被安装在公共主板上或者根据需要以其它方式安装。处理器可以对在电子设备内执行的指令进行处理,包括存储在存储器中或者存储器上以在外部输入/输出装置(诸如,耦合至接口的显示设备)上显示GUI的图形信息的指令。在其它实施方式中,若需要,可以将多个处理器和/或多条总线与多个存储器和多个存储器一起使用。同样,可以连接多个电子设备,各个设备提供部分必要的操作(例如,作为服务器阵列、一组刀片式服务器、或者多处理器系统)。图5中以一个处理器401为例。
存储器402即为本申请所提供的非瞬时计算机可读存储介质。其中,所述存储器存储有可由至少一个处理器执行的指令,以使所述至少一个处理器执行本申请所提供的电子地图的搜索方法。本申请的非瞬时计算机可读存储介质存储计算机指令,该计算机指令用于使计算机执行本申请所提供的电子地图的搜索方法。
存储器402作为一种非瞬时计算机可读存储介质,可用于存储非瞬时软件程序、非瞬时计算机可执行程序以及模块,如本申请实施例中的电子地图的搜索的方法对应的程序指令/模块(例如,图4所示的信息类型确定模块301、目标事件内容提取模块302和搜索结果确定模块303)。处理器401通过运行存储在存储器402中的非瞬时软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例中的电子地图的搜索方法。
存储器402可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据电子地图 的搜索的电子设备的使用所创建的数据等。此外,存储器402可以包括高速随机存取存储器,还可以包括非瞬时存储器,例如至少一个磁盘存储器件、闪存器件、或其他非瞬时固态存储器件。在一些实施例中,存储器402可选包括相对于处理器401远程设置的存储器,这些远程存储器可以通过网络连接至电子地图的搜索电子设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
电子地图的搜索方法的电子设备还可以包括:输入装置403和输出装置404。处理器401、存储器402、输入装置403和输出装置404可以通过总线或者其他方式连接,图5中以通过总线连接为例。
输入装置403可接收输入的数字或字符信息,以及产生与电子地图的搜索的电子设备的用户设置以及功能控制有关的键信号输入,例如触摸屏、小键盘、鼠标、轨迹板、触摸板、指示杆、一个或者多个鼠标按钮、轨迹球、操纵杆等输入装置。输出装置404可以包括显示设备、辅助照明装置(例如,LED)和触觉反馈装置(例如,振动电机)等。该显示设备可以包括但不限于,液晶显示器(LCD)、发光二极管(LED)显示器和等离子体显示器。在一些实施方式中,显示设备可以是触摸屏。
此处描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、专用ASIC(专用集成电路)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且 将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。
这些计算程序(也称作程序、软件、软件应用、或者代码)包括可编程处理器的机器指令,并且可以利用高级过程和/或面向对象的编程语言、和/或汇编/机器语言来实施这些计算程序。如本文使用的,术语“机器可读介质”和“计算机可读介质”指的是用于将机器指令和/或数据提供给可编程处理器的任何计算机程序产品、设备、和/或装置(例如,磁盘、光盘、存储器、可编程逻辑装置(PLD)),包括,接收作为机器可读信号的机器指令的机器可读介质。术语“机器可读信号”指的是用于将机器指令和/或数据提供给可编程处理器的任何信号。
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部 件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)、区块链网络和互联网。
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发申请中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本申请公开的技术方案所期望的结果,本文在此不进行限制。
上述具体实施方式,并不构成对本申请保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本申请的精神和原则之内所作的修改、等同替换和改进等,均应包括在本申请保护范围之内。

Claims (10)

  1. 一种电子地图的搜索方法,包括:
    确定用户输入的目标搜索信息是否属于事件类搜索信息;
    若属于所述事件类搜索信息,则提取所述目标搜索信息中的目标事件内容;
    根据所述目标事件内容,以及电子地图中POI关联的事件属性信息,确定目标POI,以作为搜索结果;其中,所述事件属性信息至少包括事件内容。
  2. 根据权利要求1所述的方法,确定用户输入的目标搜索信息是否属于事件类搜索信息之前,还包括:
    确定抓取的网页数据是否属于事件类网页数据;
    若属于事件类网页数据,则从所述网页数据中提取事件属性信息和POI属性信息;
    根据所述POI属性信息,建立电子地图中POI与事件属性信息之间的关联关系。
  3. 根据权利要求2所述的方法,其中,确定抓取的网页数据是否属于事件类网页数据,包括:
    若基于模板匹配,检测到抓取的网页数据中同时包括事件信息、时间和地点信息,则确定所述网页数据属于事件类网页数据;
    否则,确定所述网页数据不属于事件类网页数据。
  4. 根据权利要求2所述的方法,其中,所述事件属性信息还包括事件时间;
    相应地,所述方法还包括:
    若检测到任一事件属性信息中的事件时间早于当前时间,则剔除该事件属性信息;或者,剔除该事件属性信息和电子地图中POI之间的关联关系。
  5. 根据权利要求2所述的方法,根据所述POI属性信息,建立电子地图中POI与事件属性信息之间的关联关系之前,还包括:
    对所述POI属性信息中的POI名称、POI城市和POI地址进行交叉验证;
    若验证失败,则滤除所述POI属性信息。
  6. 根据权利要求1所述的方法,其中,根据所述目标事件内容,以及电子地图中POI关联的事件属性信息,确定目标POI,包括:
    若电子地图中任一事件属性信息中的事件内容与所述目标事件内容匹配成功,则将该事件属性信息关联的POI作为目标POI。
  7. 一种电子地图的搜索装置,所述装置包括:
    信息类型确定模块,用于确定用户输入的目标搜索信息是否属于事件类搜索信息;
    目标事件内容提取模块,用于若属于所述事件类搜索信息,则提取所述目标搜索信息中的目标事件内容;
    搜索结果确定模块,用于根据所述目标事件内容,以及电子地图中POI关联的事件属性信息,确定目标POI,以作为搜索结果;其中,所述事件属性信息至少包括事件内容。
  8. 根据权利要求7所述的装置,还包括:
    网页数据类型确定模块,用于确定抓取的网页数据是否属于事件类网页数据;
    属性信息确定模块,用于若属于事件类网页数据,则从所述网页数据中提取事件属性信息和POI属性信息;
    关联关系确定模块,用于根据所述POI属性信息,建立电子地图中POI与事件属性信息之间的关联关系。
  9. 一种电子设备,包括:
    至少一个处理器;以及
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-6中任一项所述的方法。
  10. 一种存储有计算机指令的非瞬时计算机可读存储介质,所述计算机指令用于使所述计算机执行权利要求1-6中任一项所述的方法。
PCT/CN2020/112422 2020-01-08 2020-08-31 电子地图的搜索方法、装置、设备和介质 WO2021139183A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP20864287.6A EP3876109A4 (en) 2020-01-08 2020-08-31 METHOD AND DEVICE FOR SEARCHING ON ELECTRONIC BOARD, APPARATUS AND MEDIA
JP2021516772A JP7171905B2 (ja) 2020-01-08 2020-08-31 電子地図の検索方法、装置、機器および媒体
KR1020217008133A KR102526873B1 (ko) 2020-01-08 2020-08-31 전자 지도의 검색 방법, 장치, 설비 및 매체
US17/280,074 US11609961B2 (en) 2020-01-08 2020-08-31 Search method and apparatus for an electronic map, device and medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010017416.XA CN113094600A (zh) 2020-01-08 2020-01-08 电子地图的搜索方法、装置、设备和介质
CN202010017416.X 2020-01-08

Publications (1)

Publication Number Publication Date
WO2021139183A1 true WO2021139183A1 (zh) 2021-07-15

Family

ID=76663274

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/112422 WO2021139183A1 (zh) 2020-01-08 2020-08-31 电子地图的搜索方法、装置、设备和介质

Country Status (5)

Country Link
US (1) US11609961B2 (zh)
EP (1) EP3876109A4 (zh)
JP (1) JP7171905B2 (zh)
CN (1) CN113094600A (zh)
WO (1) WO2021139183A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345489A (zh) * 2013-06-25 2013-10-09 百度在线网络技术(北京)有限公司 一种事件查询请求处理方法及装置
US8745065B2 (en) * 2009-07-07 2014-06-03 Google Inc. Query parsing for map search
CN105224660A (zh) * 2015-09-30 2016-01-06 北京奇虎科技有限公司 一种地图兴趣点poi数据的处理方法和装置
CN107577819A (zh) * 2017-09-30 2018-01-12 百度在线网络技术(北京)有限公司 一种文本内容展现方法、装置、计算机设备和存储介质
CN108197198A (zh) * 2017-12-27 2018-06-22 百度在线网络技术(北京)有限公司 一种兴趣点搜索方法、装置、设备和介质
CN110377676A (zh) * 2019-06-25 2019-10-25 北京百度网讯科技有限公司 一种语音指令的处理方法、装置、设备和计算机存储介质

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001282813A (ja) 2000-03-29 2001-10-12 Toshiba Corp マルチメディアデータ検索方法、インデックス情報提供方法、マルチメディアデータ検索装置、インデックスサーバ及びマルチメディアデータ検索サーバ
JP4781741B2 (ja) 2005-07-25 2011-09-28 ヤフー株式会社 情報検索システム、情報検索プログラム
US8490025B2 (en) * 2008-02-01 2013-07-16 Gabriel Jakobson Displaying content associated with electronic mapping systems
JP5020170B2 (ja) 2008-06-26 2012-09-05 ヤフー株式会社 ユーザに固有のイベントを判定する情報管理装置、情報管理方法及びプログラム
US20120202525A1 (en) * 2011-02-08 2012-08-09 Nokia Corporation Method and apparatus for distributing and displaying map events
TWI472720B (zh) * 2012-08-22 2015-02-11 Inst Information Industry 興趣點資訊地圖呈現系統、方法及其記錄媒體
JP6204752B2 (ja) 2013-08-28 2017-09-27 京セラ株式会社 情報処理装置ならびにメール作成プログラムおよび方法
US20160132513A1 (en) * 2014-02-05 2016-05-12 Sk Planet Co., Ltd. Device and method for providing poi information using poi grouping
CN103955534B (zh) 2014-05-13 2017-08-04 百度在线网络技术(北京)有限公司 地图查询方法及装置
KR102315891B1 (ko) * 2014-12-08 2021-10-21 삼성전자주식회사 Poi 정보를 제공하기 위한 방법 및 그 전자 장치
CN105045935B (zh) 2015-09-09 2019-05-31 北京奇虎科技有限公司 一种用于推荐位置信息的方法及电子设备
US10346446B2 (en) * 2015-11-02 2019-07-09 Radiant Geospatial Solutions Llc System and method for aggregating multi-source data and identifying geographic areas for data acquisition
US10352718B2 (en) * 2016-09-23 2019-07-16 Apple Inc. Discovering points of entry to a location
CN108628943B (zh) * 2018-03-28 2021-10-08 北京三快在线科技有限公司 一种数据处理方法、装置和电子设备
CN109710710A (zh) * 2018-12-13 2019-05-03 北京百度网讯科技有限公司 兴趣点的事件挖掘方法及其装置
CN110232160B (zh) 2019-06-20 2021-12-07 北京百度网讯科技有限公司 兴趣点变迁事件检测方法、装置及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8745065B2 (en) * 2009-07-07 2014-06-03 Google Inc. Query parsing for map search
CN103345489A (zh) * 2013-06-25 2013-10-09 百度在线网络技术(北京)有限公司 一种事件查询请求处理方法及装置
CN105224660A (zh) * 2015-09-30 2016-01-06 北京奇虎科技有限公司 一种地图兴趣点poi数据的处理方法和装置
CN107577819A (zh) * 2017-09-30 2018-01-12 百度在线网络技术(北京)有限公司 一种文本内容展现方法、装置、计算机设备和存储介质
CN108197198A (zh) * 2017-12-27 2018-06-22 百度在线网络技术(北京)有限公司 一种兴趣点搜索方法、装置、设备和介质
CN110377676A (zh) * 2019-06-25 2019-10-25 北京百度网讯科技有限公司 一种语音指令的处理方法、装置、设备和计算机存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3876109A4

Also Published As

Publication number Publication date
CN113094600A (zh) 2021-07-09
EP3876109A1 (en) 2021-09-08
US11609961B2 (en) 2023-03-21
JP2022519137A (ja) 2022-03-22
US20220114226A1 (en) 2022-04-14
JP7171905B2 (ja) 2022-11-15
EP3876109A4 (en) 2022-06-01

Similar Documents

Publication Publication Date Title
CN111709247B (zh) 数据集处理方法、装置、电子设备和存储介质
US10558754B2 (en) Method and system for automating training of named entity recognition in natural language processing
US20210365515A1 (en) Method for Recommending a Search Term, Method for Training a Target Model and Electronic Device
CN111782977B (zh) 兴趣点处理方法、装置、设备及计算机可读存储介质
US20210209416A1 (en) Method and apparatus for generating event theme
TW202020691A (zh) 特徵詞的確定方法、裝置和伺服器
US20210049354A1 (en) Human object recognition method, device, electronic apparatus and storage medium
JP7163440B2 (ja) テキストクエリ方法、装置、電子機器、記憶媒体及びコンピュータプログラム製品
CN111625552B (zh) 数据收集方法、装置、设备和可读存储介质
US11508162B2 (en) Method and apparatus for detecting mobile traffic light
CN111984774B (zh) 搜索方法、装置、设备以及存储介质
CN111309872B (zh) 搜索处理方法、装置及设备
CN115145924A (zh) 数据处理方法、装置、设备及存储介质
JP7072034B2 (ja) トピック概念マイニング方法、装置、電子機器、記憶媒体及びプログラム
US20210216710A1 (en) Method and apparatus for performing word segmentation on text, device, and medium
CN111460257A (zh) 专题生成方法、装置、电子设备和存储介质
WO2021139183A1 (zh) 电子地图的搜索方法、装置、设备和介质
CN111984876A (zh) 兴趣点处理方法、装置、设备及计算机可读存储介质
KR102526873B1 (ko) 전자 지도의 검색 방법, 장치, 설비 및 매체
CN111460971A (zh) 视频概念检测方法、装置以及电子设备
CN115809364B (zh) 对象推荐方法和模型训练方法
WO2018000533A1 (zh) 用于提供搜索推荐信息的方法和装置
CN114861062B (zh) 信息过滤方法和装置
CN113268987B (zh) 一种实体名称识别方法、装置、电子设备和存储介质
US20210209166A1 (en) Relationship network generation method and device, electronic apparatus, and storage medium

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 20217008133

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2021516772

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2020864287

Country of ref document: EP

Effective date: 20210324

NENP Non-entry into the national phase

Ref country code: DE