CN112818072A - Tourism knowledge map updating method, system, equipment and storage medium - Google Patents

Tourism knowledge map updating method, system, equipment and storage medium Download PDF

Info

Publication number
CN112818072A
CN112818072A CN202110254305.5A CN202110254305A CN112818072A CN 112818072 A CN112818072 A CN 112818072A CN 202110254305 A CN202110254305 A CN 202110254305A CN 112818072 A CN112818072 A CN 112818072A
Authority
CN
China
Prior art keywords
target poi
entity
updated
travel
data
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202110254305.5A
Other languages
Chinese (zh)
Inventor
王海燕
鞠建勋
李健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ctrip Travel Information Technology Shanghai Co Ltd
Original Assignee
Ctrip Travel Information Technology Shanghai Co Ltd
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 Ctrip Travel Information Technology Shanghai Co Ltd filed Critical Ctrip Travel Information Technology Shanghai Co Ltd
Priority to CN202110254305.5A priority Critical patent/CN112818072A/en
Publication of CN112818072A publication Critical patent/CN112818072A/en
Pending legal-status Critical Current

Links

Images

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/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/288Entity relationship models
    • 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/23Updating
    • 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

Abstract

The invention provides a travel knowledge map updating method, a travel knowledge map updating system, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring tourism data; extracting a target POI entity and attribute information of the target POI entity from the travel data; determining a target POI entity to be updated according to the attribute information of the target POI entity; obtaining the relation information of each target POI entity according to the tourism data and judging whether the relation information of the target POI is accurate or not; if the relationship information is accurate, determining the target POI entity relationship information as target POI relationship information to be updated; and storing the target POI entity to be updated and the target POI entity relationship information to be updated to obtain an updated travel knowledge map. According to the method, under the tourism scene, the data acquisition and the storage and the update of the tourism knowledge map are completed, the labor cost can be greatly saved, the unnecessary delivery and repeated operation time is compressed to the maximum extent, and the obtained tourism knowledge map provides more visual display for the user.

Description

Tourism knowledge map updating method, system, equipment and storage medium
Technical Field
The invention relates to the field of data processing, in particular to a travel knowledge map updating method, a travel knowledge map updating system, electronic equipment and a storage medium.
Background
Knowledge map (Knowledge Graph) is called Knowledge domain visualization or Knowledge domain mapping map, is a series of different graphs displaying the relationship between the Knowledge development process and the structure, describes Knowledge resources and carriers thereof by using visualization technology, excavates, analyzes, updates, draws and displays Knowledge and the mutual relation among the Knowledge resources and the carriers, is used as a large-scale semantic network, has abundant semantic information, and lays a solid foundation for the development of various intelligent applications. At present, in addition to general knowledge maps for all fields, industry knowledge maps for different fields, such as financial knowledge maps and medical knowledge maps, are being updated in various industries.
Tourism is as one of the more general leisure mode of modern, also needs knowledge map to assist the visitor to look for the tourist attraction of heart appearance, selects the tourism product that more is fit for oneself to promote user experience, develop high-quality tourism.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present invention and therefore may include information that does not constitute prior art known to a person of ordinary skill in the art.
Disclosure of Invention
The invention aims to provide a travel knowledge map updating method, a system, electronic equipment and a storage medium, wherein the travel knowledge map updating method, the system, the electronic equipment and the storage medium are used for acquiring travel data, and target POI entities and target POI entity relation information contained in travel data are fused into the travel knowledge map.
The embodiment of the invention provides a travel knowledge map updating method, which comprises the following steps:
acquiring tourism data;
extracting a target POI entity and attribute information of the target POI entity from the travel data;
determining a target POI entity to be updated according to the attribute information of the target POI entity;
obtaining the relation information of each target POI entity according to the tourism data and judging whether the relation information of the target POI is accurate or not;
if the relationship information is accurate, determining the target POI entity relationship information as target POI relationship information to be updated;
and storing the target POI entity to be updated and the target POI entity relationship information to be updated to obtain an updated travel knowledge map.
According to some examples of the invention, the step of obtaining travel data comprises:
periodically synchronizing POI data from structured data of an internal system, or/and
and POI data are acquired from the webpage through a web crawler.
According to some examples of the invention, the target POI entity attribute information includes at least one of a target POI name, a target POI alias, a target POI pinyin, a target POI longitude, a target POI latitude, a target POI address, and a target POI comment.
According to some examples of the present invention, the determining the target POI entity to be updated according to the target POI entity attribute information comprises:
calculating the similarity of each target POI entity according to the attribute information of the target POI entities;
and merging the target POI entities with the similarity larger than the threshold value to obtain the target POI entities to be updated.
According to some examples of the present invention, after the step of extracting the attribute information of the target POI entity from the travel data, the method further comprises:
judging whether the target POI entity attribute information meets a configured verification rule;
and if the configured verification rule is met, determining the target POI entity attribute information as target POI entity attribute information to be updated.
According to some examples of the present invention, each of the target POI entity relationship information includes a hierarchical relationship of each of the target POI entities or/and a destination relationship of each of the target POI entities.
According to some examples of the invention, the obtaining the relationship information of the target POI entity according to the travel data and determining whether the relationship information is accurate comprises:
acquiring the superior-subordinate relationship information and/or destination relationship information of a target POI entity according to the tourism data;
detecting whether a ring exists in the superior-inferior relation of each target POI entity through a depth-first search algorithm, and if the ring does not exist, determining that the superior-inferior relation exists among the target POI entities and the relation information is accurate; or/and
and verifying whether the destination where each POI entity is located is correct or not through the boundary fence data of the destination, wherein if the destination is correct, the destination relation information of the POI entities is accurate.
According to some examples of the present invention, the saving the target POI entity to be updated and the target POI entity relationship information to be updated to obtain the updated travel knowledge map comprises the following steps:
fusing the target POI entity to be updated, the attribute information of the target POI entity to be updated and the relation information of the target POI entity to be updated to the current tourism knowledge map as nodes and edges of the tourism knowledge map;
and obtaining an updated travel knowledge map based on the fused result.
The embodiment of the invention also provides a tourist knowledge map updating system, which is used for realizing the tourist knowledge map updating method and comprises a data acquisition module, an entity determination module and a storage module, wherein:
the data acquisition module is used for acquiring tourism data;
the entity determining module is used for extracting target POI entity attribute information from the travel data;
the entity determining module is further used for determining a target POI entity to be updated according to the attribute information of the target POI entity; and
the entity determining module is further used for obtaining relationship information among the target POI entities according to the attribute information of the target POI entities and determining the relationship information of the target POI entities as target POI relationship information to be updated if the relationship information is accurate;
the storage module is used for storing the target POI entity to be updated and the target POI relation information to be updated to obtain the updated travel knowledge map.
An embodiment of the present invention further provides an electronic device, including:
a processor;
a memory having stored therein executable instructions of the processor;
wherein the processor is configured to perform the steps of the travel knowledge map updating method via execution of the executable instructions.
Embodiments of the present invention also provide a computer readable storage medium storing a program that, when executed, performs the steps of the travel knowledge map updating method.
The invention provides a travel knowledge map updating method, a travel knowledge map updating system, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring tourism data; extracting a target POI entity and attribute information of the target POI entity from the travel data; determining a target POI entity to be updated according to the attribute information of the target POI entity; obtaining the relation information of each target POI entity according to the tourism data and judging whether the relation information of the target POI is accurate or not; if the relationship information is accurate, determining the target POI entity relationship information as target POI relationship information to be updated; and storing the target POI entity to be updated and the target POI entity relationship information to be updated to obtain an updated travel knowledge map. According to the method, under the tourism scene, the data acquisition and the storage and the update of the tourism knowledge map are completed, the labor cost can be greatly saved, the unnecessary delivery and repeated operation time is compressed to the maximum extent, and the obtained tourism knowledge map provides more visual display for the user.
Drawings
Other features, objects, and advantages of the invention will be apparent from the following detailed description of non-limiting embodiments, which proceeds with reference to the accompanying drawings and which is incorporated in and constitutes a part of this specification, illustrating embodiments consistent with the present application and together with the description serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a flow chart of a travel knowledge map updating method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a travel knowledge base map updating system according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 4 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The invention provides a method for completing data acquisition and tourist knowledge map storage and update in a tourist scene, and fig. 1 is a flow chart of a tourist knowledge map updating method in an embodiment of the invention, and specifically, the tourist knowledge map updating method comprises the following steps:
s100: acquiring tourism data;
s200: extracting a target POI entity and attribute information of the target POI entity from the travel data; the target POI entity attribute information comprises at least one of target POI name, target POI alias, target POI pinyin, target POI longitude, target POI latitude, target POI address and target POI comment.
S300: determining a target POI entity to be updated according to the attribute information of the target POI entity;
s400: obtaining the relation information of each target POI entity according to the tourism data and judging whether the relation information of the target POI is accurate or not;
if the relationship information is accurate, S500: the target POI entity relationship information is determined as target POI relationship information to be updated;
s600: and storing the target POI entity to be updated and the target POI entity relationship information to be updated to obtain an updated travel knowledge map.
In an embodiment, the step of obtaining travel data described in step S100 includes:
s110: periodically synchronizing POI data from structured data of an internal system, or/and
s120: and POI data are acquired from the webpage through a web crawler.
After the step S200 of extracting the attribute information of the target POI entity from the travel data, the method may further include:
s210: judging whether the target POI entity attribute information meets a configured verification rule;
if the configured check rule is satisfied, S220: and determining the target POI entity attribute information as target POI entity attribute information to be updated.
Different verification rules configured for different target POI entity attribute information are different, and the verification rules are configured according to different characteristics of each attribute, for example, the verification rule of the target POI longitude or the target POI latitude can be a numerical range for setting the target POI longitude or the target POI latitude, if the target POI longitude or the target POI latitude of one target POI entity attribute information exceeds the numerical range, the verification rule is not satisfied, at this time, the target POI entity attribute information is considered to be inaccurate, and the attribute information is not used as the target POI entity attribute information to be updated; if the verification rule of the attribute of the target POI comment is that the set key word cannot appear, and when the set key word appears in the target POI comment, the verification rule is not satisfied. If the length of the target POI name is detected to be too long, the check rule is considered not to be satisfied, and the like, which is not described herein again.
The step S300 of determining the target POI entity to be updated according to the attribute information of the target POI entity includes the following steps:
s310: calculating the similarity of each target POI entity according to the attribute information of the target POI entities;
s320: and merging the target POI entities with the similarity larger than the threshold value to obtain the target POI entities to be updated.
In the above steps S310 and S320, the target POI entities with attribute information similarity greater than the threshold are determined to be the same entity for merging, and similarly, the calculation methods of the similarity of different attribute information are different, and for the target POI entities with different names, if the similarity of longitude and latitude of two target POIs is greater than a threshold and the similarity of addresses of two target POIs is also greater than a threshold, it is determined that the two POI entities are the same entity for attribute merging. The steps reduce the redundancy of the data and ensure the simplification of the data to be updated.
And the relation information of each target POI entity comprises the superior-inferior relation of each target POI entity or/and the destination relation of each target POI entity.
The step of obtaining the relationship information of the target POI entity according to the tour data and judging whether the relationship information is accurate in the step S400 includes:
s410: acquiring the superior-subordinate relationship information and/or destination relationship information of a target POI entity according to the tourism data;
s420: detecting whether a ring exists in the superior-inferior relation of each target POI entity through a depth-first search algorithm, and if the ring does not exist, determining that the superior-inferior relation exists among the target POI entities and the relation information is accurate; for example, the yellow mountain welcoming pine scenic spot of the target POI entity and the yellow mountain scenic spot of the target POI entity belong to a superior-inferior relationship. In step S420, if the obtained target POI entity relationship information does not form a loop with an edge relationship in the existing map, it is considered that this edge relationship can be fused into the existing map, and if the edge relationship forms a loop with the existing map, the variable relationship cannot be fused into the existing map. The method for checking whether the upper-level and lower-level relationships of the target POI entities are accurate is not limited to the upper depth-first search algorithm, and a minimum spanning tree algorithm or a set checking rule can be adopted, which is not described herein again.
Judging whether the relationship information is accurate may further include:
s430: and verifying whether the destination where each POI entity is located is correct or not through the boundary fence data of the destination, wherein if the destination is correct, the destination relation information of the POI entities is accurate. For example, if the destination relationship with the destination of the target POI entity is the beijing dongchun, the accuracy of the relationship information between the longitude and the latitude of the target POI entity can be determined by determining whether the longitude and the latitude of the target POI entity fall into the border fence data of the beijing dongchun. Wherein, the step S420 and the step S430 have no sequence.
According to some examples of the present invention, the saving the target POI entity to be updated and the target POI entity relationship information to be updated to obtain the updated travel knowledge map comprises the following steps:
fusing the target POI entity to be updated, the attribute information of the target POI entity to be updated and the relation information of the target POI entity to be updated to the current tourism knowledge map as nodes and edges of the tourism knowledge map;
and obtaining an updated travel knowledge map based on the fused result.
The data updated by the tourist knowledge map in the invention can be divided into two parts from the source: synchronizing from the structured data of the internal system, and acquiring from external networks such as a travel official website, a WeChat public number, a microblog and the like by adopting a web crawler. The data of the two parts can be acquired periodically or at regular time, the original data acquired by the web crawler generally needs to be subjected to preprocessing steps such as cleaning, useless data such as labels and pictures are removed, and only text description is reserved. Due to the real-time nature of the external network information, the data acquired by the web crawler can be used to supplement missing attribute information and relationship information in the target POI entity in the knowledge graph.
According to the invention, through acquiring the tourism data, the target POI entity contained in the tourism data and the relation information of the target POI entity are fused into the tourism knowledge map, and through the continuous iteration processing mode, the construction efficiency of the tourism knowledge map is greatly improved, unnecessary delivery and repeated operation time is compressed to the greatest extent, and the labor cost is greatly reduced. Meanwhile, the collected target POI entity and the target POI entity relation information marked to be updated can be updated to the travel knowledge map after manual examination. The updated travel knowledge graph can more intuitively show the association relation of the nodes and edges of the graph to the user through a visual display page, data summary statistics, interface documents and the like, and the graph is more diversified in use and calling modes.
The embodiment of the present invention further provides a travel knowledge map updating system, configured to implement the travel knowledge map updating method, see the schematic structural diagram of the travel knowledge map updating system of fig. 2, and specifically includes a data acquisition module M100, an entity determination module M200, and a storage module M300, where:
the data acquisition module M100 is used for acquiring travel data;
the entity determination module M200 is configured to extract target POI entity attribute information from the travel data;
the entity determining module M200 is further configured to determine a target POI entity to be updated according to the target POI entity attribute information; and
the entity determining module M200 is further configured to obtain relationship information between the target POI entities according to the attribute information of the target POI entities and determine the target POI entity relationship information as target POI relationship information to be updated, if the relationship information is accurate;
the storage module M300 is configured to store a target POI entity to be updated and target POI relationship information to be updated to obtain an updated travel knowledge map.
The function implementation manner of each function module in the travel knowledge map updating system of the embodiment can be implemented by adopting the specific implementation manner of each step in the travel knowledge map updating method. For example, the data acquisition module M100, the entity determination module M200, and the storage module M300 may respectively adopt the specific implementation manners of the steps S100 to S600 to implement the functions thereof, which are not described herein again. The target POI entity and the target POI entity relation information contained in the new travel data are fused into the travel knowledge map, and the construction efficiency of the travel knowledge map is greatly improved through the continuous iteration processing mode.
Of course, the travel knowledge map updating system of the invention can also comprise a map service module, which is used for map data service, map structure service, intelligent question and answer service, recommendation service, search service and the like of the travel knowledge map. The graph data service and the graph structure service are used for supporting graph data visualization and graph structure management in the platform display part. Through the arrangement, the tourism knowledge map updating system realizes the function of automatically updating the knowledge map to the final map in real time.
An electronic device 600 according to this embodiment of the invention is described below with reference to fig. 3. The electronic device 600 shown in fig. 3 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 3, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one memory unit 620, a bus 630 connecting the different platform components (including the memory unit 620 and the processing unit 610), a display unit 640, etc.
Wherein the storage unit stores program code which can be executed by the processing unit 610 such that the processing unit 610 performs the steps according to various exemplary embodiments of the present invention as described in the above-mentioned method section of the present specification. For example, processing unit 610 may perform the steps as shown in fig. 1.
The storage unit 620 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)6201 and/or a cache memory unit 6202, and may further include a read-only memory unit (ROM) 6203.
The memory unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 630 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 600, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 650. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via the bus 630. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, to name a few.
Embodiments of the present invention also provide a computer-readable storage medium for storing a program, where the program is executed to implement the steps of the travel knowledge map updating method. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention described in the method part above of this description when said program product is run on the terminal device.
Referring to fig. 4, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In summary, the present invention provides a travel knowledge map updating method, system, electronic device and storage medium, wherein the method comprises the following steps: acquiring tourism data; extracting a target POI entity and attribute information of the target POI entity from the travel data; determining a target POI entity to be updated according to the attribute information of the target POI entity; obtaining the relation information of each target POI entity according to the tourism data and judging whether the relation information of the target POI is accurate or not; if the relationship information is accurate, determining the target POI entity relationship information as target POI relationship information to be updated; and storing the target POI entity to be updated and the target POI entity relationship information to be updated to obtain an updated travel knowledge map. According to the method, under the tourism scene, the data acquisition and the storage and the update of the tourism knowledge map are completed, the labor cost can be greatly saved, the unnecessary delivery and repeated operation time is compressed to the maximum extent, and the obtained tourism knowledge map provides more visual display for the user.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (11)

1. A travel knowledge map updating method is characterized by comprising the following steps:
acquiring tourism data;
extracting a target POI entity and attribute information of the target POI entity from the travel data;
determining a target POI entity to be updated according to the attribute information of the target POI entity;
obtaining the relation information of each target POI entity according to the tourism data and judging whether the relation information of the target POI is accurate or not;
if the relationship information is accurate, determining the target POI entity relationship information as target POI relationship information to be updated;
and storing the target POI entity to be updated and the target POI entity relationship information to be updated to obtain an updated travel knowledge map.
2. The travel knowledge map updating method of claim 1, wherein the step of obtaining travel data comprises:
periodically synchronizing POI data from structured data of an internal system, or/and
and POI data are acquired from the webpage through a web crawler.
3. The travel knowledge graph updating method according to claim 1, wherein the target POI entity attribute information comprises at least one of target POI name, target POI alias, target POI pinyin, target POI longitude, target POI latitude, target POI address and target POI comment.
4. The method for updating a travel knowledge graph according to claim 1, wherein the step of determining the target POI entity to be updated according to the attribute information of the target POI entity comprises the following steps:
calculating the similarity of each target POI entity according to the attribute information of the target POI entity;
and merging the target POI entities with the similarity larger than the threshold value to obtain the target POI entities to be updated.
5. The travel knowledge graph updating method as claimed in claim 1, wherein after the step of extracting the attribute information of the target POI entity from the travel data, the method further comprises:
judging whether the target POI entity attribute information meets a configured verification rule;
and if the configured verification rule is met, determining the target POI entity attribute information as target POI entity attribute information to be updated.
6. The travel knowledge graph updating method according to claim 1, wherein each piece of target POI entity relationship information comprises a superior-inferior relationship of each target POI entity or/and a destination relationship of each target POI entity.
7. The travel knowledge graph updating method according to claim 6, wherein the step of obtaining relationship information of a target POI entity according to the travel data and judging whether the relationship information is accurate comprises:
acquiring the superior-subordinate relationship information and/or destination relationship information of a target POI entity according to the tourism data;
detecting whether a ring exists in the superior-inferior relation of each target POI entity through a depth-first search algorithm, and if the ring does not exist, determining that the superior-inferior relation exists among the target POI entities and the relation information is accurate; or/and
and verifying whether the destination where each POI entity is located is correct or not through the boundary fence data of the destination, wherein if the destination is correct, the destination relation information of the POI entities is accurate.
8. The method for updating a travel knowledge graph according to claim 5, wherein the step of saving the target POI entity to be updated and the target POI entity relationship information to be updated to obtain the updated travel knowledge graph comprises the steps of:
fusing the target POI entity to be updated, the attribute information of the target POI entity to be updated and the relation information of the target POI entity to be updated to the current tourism knowledge map as nodes and edges of the tourism knowledge map;
and obtaining an updated travel knowledge map based on the fused result.
9. A travel knowledge graph updating system for implementing the travel knowledge graph updating method of any one of claims 1 to 8, comprising a data acquisition module, an entity determination module and a storage module, wherein:
the data acquisition module is used for acquiring tourism data;
the entity determining module is used for extracting target POI entity attribute information from the travel data;
the entity determining module is further used for determining a target POI entity to be updated according to the attribute information of the target POI entity; and
the entity determining module is further used for obtaining relationship information among the target POI entities according to the attribute information of the target POI entities and determining the relationship information of the target POI entities as target POI relationship information to be updated if the relationship information is accurate;
the storage module is used for storing the target POI entity to be updated and the target POI relation information to be updated to obtain the updated travel knowledge map.
10. An electronic device, comprising:
a processor;
a memory having stored therein executable instructions of the processor;
wherein the processor is configured to perform the steps of the travel knowledge map updating method of any one of claims 1-8 via execution of the executable instructions.
11. A computer readable storage medium storing a program which when executed by a processor performs the steps of the travel knowledge map updating method of any one of claims 1 to 8.
CN202110254305.5A 2021-03-09 2021-03-09 Tourism knowledge map updating method, system, equipment and storage medium Pending CN112818072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110254305.5A CN112818072A (en) 2021-03-09 2021-03-09 Tourism knowledge map updating method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110254305.5A CN112818072A (en) 2021-03-09 2021-03-09 Tourism knowledge map updating method, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112818072A true CN112818072A (en) 2021-05-18

Family

ID=75863023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110254305.5A Pending CN112818072A (en) 2021-03-09 2021-03-09 Tourism knowledge map updating method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112818072A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113806556A (en) * 2021-09-14 2021-12-17 广东电网有限责任公司 Method, device, equipment and medium for constructing knowledge graph based on power grid data
CN114880406A (en) * 2022-05-05 2022-08-09 国网智能电网研究院有限公司 Data management method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013057729A1 (en) * 2011-10-18 2013-04-25 Tour Mate Ltd. System and method for providing interactive tour guidance
CN105574098A (en) * 2015-12-11 2016-05-11 百度在线网络技术(北京)有限公司 Knowledge graph generation method and device and entity comparing method and device
CN109508381A (en) * 2018-09-29 2019-03-22 北京国双科技有限公司 The processing method and processing device of knowledge mapping
EP3608795A1 (en) * 2018-08-08 2020-02-12 Beijing Baidu Netcom Science and Technology Co., Ltd. Method and apparatus for generating knowledge graph, device and computer readable storage medium
CN110909170A (en) * 2019-10-12 2020-03-24 百度在线网络技术(北京)有限公司 Interest point knowledge graph construction method and device, electronic equipment and storage medium
CN111639190A (en) * 2020-04-30 2020-09-08 南京理工大学 Medical knowledge map construction method
WO2020263182A1 (en) * 2019-06-24 2020-12-30 Singapore University Of Technology And Design Method and system for conducting a brainstorming session with a virtual expert
US20210012218A1 (en) * 2019-07-10 2021-01-14 International Business Machines Corporation Expanding knowledge graphs using external data source
CN112231416A (en) * 2020-10-14 2021-01-15 中国平安人寿保险股份有限公司 Knowledge graph ontology updating method and device, computer equipment and storage medium
CN112347222A (en) * 2020-10-22 2021-02-09 中科曙光南京研究院有限公司 Method and system for converting non-standard address into standard address based on knowledge base reasoning

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013057729A1 (en) * 2011-10-18 2013-04-25 Tour Mate Ltd. System and method for providing interactive tour guidance
CN105574098A (en) * 2015-12-11 2016-05-11 百度在线网络技术(北京)有限公司 Knowledge graph generation method and device and entity comparing method and device
EP3608795A1 (en) * 2018-08-08 2020-02-12 Beijing Baidu Netcom Science and Technology Co., Ltd. Method and apparatus for generating knowledge graph, device and computer readable storage medium
CN109508381A (en) * 2018-09-29 2019-03-22 北京国双科技有限公司 The processing method and processing device of knowledge mapping
WO2020263182A1 (en) * 2019-06-24 2020-12-30 Singapore University Of Technology And Design Method and system for conducting a brainstorming session with a virtual expert
US20210012218A1 (en) * 2019-07-10 2021-01-14 International Business Machines Corporation Expanding knowledge graphs using external data source
CN110909170A (en) * 2019-10-12 2020-03-24 百度在线网络技术(北京)有限公司 Interest point knowledge graph construction method and device, electronic equipment and storage medium
CN111639190A (en) * 2020-04-30 2020-09-08 南京理工大学 Medical knowledge map construction method
CN112231416A (en) * 2020-10-14 2021-01-15 中国平安人寿保险股份有限公司 Knowledge graph ontology updating method and device, computer equipment and storage medium
CN112347222A (en) * 2020-10-22 2021-02-09 中科曙光南京研究院有限公司 Method and system for converting non-standard address into standard address based on knowledge base reasoning

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113806556A (en) * 2021-09-14 2021-12-17 广东电网有限责任公司 Method, device, equipment and medium for constructing knowledge graph based on power grid data
CN114880406A (en) * 2022-05-05 2022-08-09 国网智能电网研究院有限公司 Data management method and device
CN114880406B (en) * 2022-05-05 2023-07-18 国网智能电网研究院有限公司 Data management method and device

Similar Documents

Publication Publication Date Title
CN109657068B (en) Cultural relic knowledge graph generation and visualization method for intelligent museum
CN110019616B (en) POI (Point of interest) situation acquisition method and equipment, storage medium and server thereof
KR101365860B1 (en) Short point-of-interest title generation
JP4950508B2 (en) Facility information management system, facility information management device, facility information management method, and facility information management program
CN112818072A (en) Tourism knowledge map updating method, system, equipment and storage medium
JP2018537760A (en) Method and apparatus for account mapping based on address information
CN110399448B (en) Chinese place name address searching and matching method, terminal and computer readable storage medium
CN110647607A (en) POI data verification method and device based on picture identification
CN111523061B (en) Method and apparatus for generating interest plane
CN114648676A (en) Point cloud processing model training and point cloud instance segmentation method and device
CN111309834A (en) Method and device for matching wireless hotspot with interest point
Sheeren et al. A data‐mining approach for assessing consistency between multiple representations in spatial databases
CN110674208B (en) Method and device for determining position information of user
US10956456B2 (en) Method to determine columns that contain location data in a data set
CN113158030A (en) Method and device for recommending different-place interest points, electronic equipment and storage medium
Zhang et al. Towards an interoperable online volunteered geographic information system for disaster response
CN110895587A (en) Method and device for determining target user
CN111125272B (en) Regional characteristic acquisition method, regional characteristic acquisition device, computer equipment and medium
Zhang et al. A graph-based approach for representing addresses in geocoding
CN110781283B (en) Chain brand word stock generation method and device and electronic equipment
CN112069273A (en) Address text classification method and device, electronic equipment and storage medium
TW202146850A (en) Processing apparatus and method for determining road names
CN112905612A (en) Knowledge card construction method and device
CN111797183A (en) Method and device for mining road attribute of information point and electronic equipment
CN114625757B (en) Task execution method and device based on domain specific language, medium and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination