CN112487314A - Building search method and device based on knowledge graph and storage medium - Google Patents

Building search method and device based on knowledge graph and storage medium Download PDF

Info

Publication number
CN112487314A
CN112487314A CN202011397487.3A CN202011397487A CN112487314A CN 112487314 A CN112487314 A CN 112487314A CN 202011397487 A CN202011397487 A CN 202011397487A CN 112487314 A CN112487314 A CN 112487314A
Authority
CN
China
Prior art keywords
data
knowledge
search
graph
subject 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
CN202011397487.3A
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.)
Guotai Epoint Software Co Ltd
Original Assignee
Guotai Epoint Software 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 Guotai Epoint Software Co Ltd filed Critical Guotai Epoint Software Co Ltd
Priority to CN202011397487.3A priority Critical patent/CN112487314A/en
Publication of CN112487314A publication Critical patent/CN112487314A/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/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/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • 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/9532Query formulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to a building search method, a building search device and a storage medium based on a knowledge graph, which belong to the technical field of computers, and the method comprises the following steps: constructing a knowledge graph library based on the building search requirement, wherein the knowledge graph library comprises various main data; configuring an incidence relation between different main data in a knowledge graph base to obtain a knowledge base; when search content is received through a search page, determining target main body data corresponding to the search content; determining other subject data which has an association relation with the target subject data from a knowledge base; establishing a knowledge graph by using the target subject data, other subject data and an association relation by using the target subject data as a graph core; displaying a knowledge graph corresponding to the searched content; the problems that the existing building information searching mode is single in searching result and low in retrieval efficiency of the correlated information can be solved; the method can ensure the diversity of the search results and improve the retrieval efficiency of the data which are mutually associated.

Description

Building search method and device based on knowledge graph and storage medium
Technical Field
The application relates to a building search method, a building search device and a storage medium based on a knowledge graph, and belongs to the technical field of computers.
Background
Currently, web pages provide users with a search function for building information. Such as: a user retrieves text data for the sheet through a search engine; the search engine displays the main data corresponding to the text data through a search result page, and the user clicks the main data to enter a detail page of the main data.
However, the search result page only shows the main data corresponding to the search content, the display content is single, and the user needs to retrieve other data associated with the main data again, which results in low retrieval efficiency.
Disclosure of Invention
The application provides a building search method, a building search device and a storage medium based on a knowledge graph, which can solve the problems that the search result of building information is single and the retrieval efficiency of the information which is correlated with each other is low. The application provides the following technical scheme:
in a first aspect, a knowledge graph-based building search method is provided, the method comprising:
constructing a knowledge graph library based on the building search requirement, wherein the knowledge graph library comprises various main data;
configuring the incidence relation between different main data in the knowledge graph base to obtain a knowledge base;
when search content is received through a search page, determining target main body data corresponding to the search content;
determining other subject data which has an association relation with the target subject data from the knowledge base;
establishing a knowledge graph by using the target subject data, the other subject data and the incidence relation by using the target subject data as a graph core;
and displaying the knowledge graph corresponding to the search content.
Optionally, the method further comprises:
displaying the target subject data;
and triggering and executing the step of determining other subject data which has an association relation with the target subject data from the knowledge base when a detail display operation on the target subject data is received.
Optionally, the plurality of subject data includes enterprise data, personnel data, project data, credit data, and qualification data of the residential and construction industry.
Optionally, after displaying the knowledge graph corresponding to the search content, the method further includes:
and updating the main data in the knowledge gallery to obtain an updated knowledge gallery.
Optionally, the displaying the knowledge graph corresponding to the search content includes:
rendering the knowledge graph on a search result page to display the knowledge graph.
In a second aspect, a knowledge-graph-based residential search apparatus is provided, the apparatus comprising:
the system comprises a diagram base construction module, a database search module and a database search module, wherein the diagram base construction module is used for constructing a knowledge diagram base based on building search requirements, and the knowledge diagram base comprises various main data;
the relation configuration module is used for configuring the incidence relation among different main data in the knowledge graph library to obtain a knowledge library;
the data searching module is used for determining target main body data corresponding to the searching content when the searching content is received through a searching page;
the data association module is used for determining other subject data which has an association relation with the target subject data from the knowledge base;
the map establishing module is used for establishing a knowledge map by using the target main body data, the other main body data and the incidence relation by taking the target main body data as a map core;
and the map display module is used for displaying the knowledge map corresponding to the search content.
Optionally, the apparatus further comprises:
the data display module is used for displaying the target main body data;
the data association module is further configured to trigger execution of the step of determining, from the knowledge base, other subject data having an association relationship with the target subject data when a detail display operation on the target subject data is received.
Optionally, the apparatus further comprises:
and the map library updating module is used for updating the main data in the knowledge map library after the knowledge map corresponding to the search content is displayed to obtain an updated knowledge map library.
In a third aspect, a knowledge-graph-based residential search apparatus is provided, the apparatus comprising a processor and a memory; the memory has stored therein a program that is loaded and executed by the processor to implement the method of knowledgegraph-based residential search of the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, in which a program is stored, the program being loaded and executed by the processor to implement the method for knowledgegraph-based residential search of the first aspect.
The beneficial effect of this application lies in: constructing a knowledge graph library based on the building search requirement, wherein the knowledge graph library comprises various main data; configuring an incidence relation between different main data in a knowledge graph base to obtain a knowledge base; when search content is received through a search page, determining target main body data corresponding to the search content; determining other subject data which has an association relation with the target subject data from a knowledge base; establishing a knowledge graph by using the target subject data, other subject data and an association relation by using the target subject data as a graph core; displaying a knowledge graph corresponding to the searched content; the problems that the existing building information searching mode is single in searching result and low in retrieval efficiency of the correlated information can be solved; the relation between the main data which are mutually related can be displayed through the knowledge graph, so that the diversity of search results is ensured, the display of the main data which are mutually related can be realized only by searching once, and the retrieval efficiency of the data which are mutually related is improved.
The foregoing description is only an overview of the technical solutions of the present application, and in order to make the technical solutions of the present application more clear and clear, and to implement the technical solutions according to the content of the description, the following detailed description is made with reference to the preferred embodiments of the present application and the accompanying drawings.
Drawings
FIG. 1 is a flow chart of a knowledge-graph based residential search method provided by an embodiment of the present application;
FIG. 2 is a block diagram of a knowledge-graph based residential search apparatus provided in one embodiment of the present application;
FIG. 3 is a block diagram of a knowledge-graph based residential search apparatus according to an embodiment of the present application.
Detailed Description
The following detailed description of embodiments of the present application will be described in conjunction with the accompanying drawings and examples. The following examples are intended to illustrate the present application but are not intended to limit the scope of the present application.
Optionally, the present application takes the execution subject of each embodiment as an example of an electronic device, where the electronic device has a page display function and a processing function, and the electronic device may be a computer, a mobile phone, a tablet computer, and the like, and the present embodiment does not limit the device type of the electronic device.
FIG. 1 is a flow chart of a knowledge-graph based residential search method according to an embodiment of the present application. The method at least comprises the following steps:
step 101, constructing a knowledge graph library based on the building search requirement, wherein the knowledge graph library comprises a plurality of main data.
The building search requirement is used for indicating that the user needs to search the obtained main data. Optionally, the plurality of subject data includes enterprise data, personnel data, project data, credit data, and qualification data for the residential industry. In other embodiments, the types of the main data may be more or less, and the present embodiment does not limit the types of the main data.
And 102, configuring the incidence relation among different main data in the knowledge graph base to obtain the knowledge base.
In one example, an electronic device displays a relationship configuration page that includes a plurality of subject data in a knowledge gallery; receiving the relationship configuration operation of a user on various main data through a relationship configuration page; and determining the incidence relation among various main data based on the relation configuration operation to obtain a knowledge base.
Step 103, when the search content is received through the search page, determining target main body data corresponding to the search content.
Optionally, the electronic device may send the search content to a server, and the server matches the corresponding target subject data from the database according to the search content; or, a database is stored in the electronic device, and the electronic device matches the corresponding target subject data from the database according to the search content, and the embodiment does not limit the manner of determining the target subject data corresponding to the search content.
And 104, determining other subject data which has an association relation with the target subject data from the knowledge base.
Optionally, the electronic device may determine other subject data having an association relationship immediately after determining the target subject data; or the electronic equipment displays the target main body data;
and when receiving a detail display operation on the target subject data, triggering to execute the step of determining other subject data which has an association relation with the target subject data from the knowledge base.
And 105, establishing a knowledge graph by using the target subject data as a graph core and using the target subject data, other subject data and the incidence relation.
The knowledge map is a graph for displaying the relation between the knowledge development process and the structure, and the knowledge resources and the carriers thereof are described by using a visualization technology so as to mine, analyze, construct, draw and display knowledge and the mutual relation between the knowledge resources and the carriers.
And 106, displaying the knowledge graph corresponding to the searched content.
The electronic device renders the knowledge graph on a search result page to display the knowledge graph.
Optionally, after displaying the knowledge graph corresponding to the search content, the electronic device may further update the main data in the knowledge graph library to obtain an updated knowledge graph library. Such as: after the target main body data are determined according to the search content, if the target main body data are not stored in the knowledge graph library, the target main body data are added to the knowledge graph library, and a relationship configuration page is fed back to a user to configure the association relationship between the target main body data and the stored data in the knowledge graph library.
In summary, in the building search method based on the knowledge graph provided by the embodiment, the knowledge graph library is constructed based on building search requirements, and the knowledge graph library includes various main data; configuring an incidence relation between different main data in a knowledge graph base to obtain a knowledge base; when search content is received through a search page, determining target main body data corresponding to the search content; determining other subject data which has an association relation with the target subject data from a knowledge base; establishing a knowledge graph by using the target subject data, other subject data and an association relation by using the target subject data as a graph core; displaying a knowledge graph corresponding to the searched content; the problems that the existing building information searching mode is single in searching result and low in retrieval efficiency of the correlated information can be solved; the relation between the main data which are mutually related can be displayed through the knowledge graph, so that the diversity of search results is ensured, the display of the main data which are mutually related can be realized only by searching once, and the retrieval efficiency of the data which are mutually related is improved.
FIG. 2 is a block diagram of a knowledge-graph based residential search apparatus according to an embodiment of the present application. The device at least comprises the following modules:
the gallery construction module 210 is configured to construct a knowledge gallery based on the building search requirement, where the knowledge gallery includes various main data;
the relationship configuration module 220 is configured to configure an association relationship between different subject data in the knowledge graph library to obtain a knowledge library;
a data search module 230, configured to determine, when search content is received through a search page, target main data corresponding to the search content;
a data association module 240, configured to determine, from the knowledge base, other subject data that has an association relationship with the target subject data;
a map establishing module 250, configured to establish a knowledge map using the target subject data, the other subject data, and the association relationship, with the target subject data as a map core;
and the map display module 260 is used for displaying the knowledge map corresponding to the searched content.
Optionally, the apparatus further comprises: and a data display module.
The data display module is used for displaying the target main body data;
the data association module is further configured to trigger execution of the step of determining, from the knowledge base, other subject data having an association relationship with the target subject data when a detail display operation on the target subject data is received.
Optionally, the apparatus further comprises:
and the gallery updating module is used for displaying the knowledge map corresponding to the search content.
For relevant details reference is made to the above-described method embodiments.
It should be noted that: in the above embodiment, when the building search device based on the knowledge graph performs building search based on the knowledge graph, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the building search device based on the knowledge graph is divided into different functional modules to complete all or part of the functions described above. In addition, the knowledge graph-based building search device provided by the embodiment and the knowledge graph-based building search method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment and are not described herein again.
FIG. 3 is a block diagram of a knowledge-graph based residential search apparatus according to an embodiment of the present application. The apparatus comprises at least a processor 301 and a memory 302.
Processor 301 may include one or more processing cores, such as: 4 core processors, 8 core processors, etc. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 301 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 302 may include one or more computer-readable storage media, which may be non-transitory. Memory 302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 302 is used to store at least one instruction for execution by processor 301 to implement the knowledgegraph-based building search method provided by method embodiments herein.
In some embodiments, the knowledge-graph-based building search apparatus may further include: a peripheral interface and at least one peripheral. The processor 301, memory 302 and peripheral interface may be connected by bus or signal lines. Each peripheral may be connected to the peripheral interface via a bus, signal line, or circuit board. Illustratively, peripheral devices include, but are not limited to: radio frequency circuit, touch display screen, audio circuit, power supply, etc.
Of course, the knowledge-graph-based residential searching device may also include fewer or more components, which is not limited in this embodiment.
Optionally, the present application further provides a computer-readable storage medium, in which a program is stored, and the program is loaded and executed by a processor to implement the method for building and searching based on knowledge-graph according to the above method embodiment.
Optionally, the present application further provides a computer product, which includes a computer-readable storage medium, in which a program is stored, and the program is loaded and executed by a processor to implement the method for building and searching based on knowledge-graph according to the above method embodiment.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A building search method based on knowledge graph is characterized in that the method comprises the following steps:
constructing a knowledge graph library based on the building search requirement, wherein the knowledge graph library comprises various main data;
configuring the incidence relation between different main data in the knowledge graph base to obtain a knowledge base;
when search content is received through a search page, determining target main body data corresponding to the search content;
determining other subject data which has an association relation with the target subject data from the knowledge base;
establishing a knowledge graph by using the target subject data, the other subject data and the incidence relation by using the target subject data as a graph core;
and displaying the knowledge graph corresponding to the search content.
2. The method of claim 1, further comprising:
displaying the target subject data;
and triggering and executing the step of determining other subject data which has an association relation with the target subject data from the knowledge base when a detail display operation on the target subject data is received.
3. The method of claim 1, wherein the plurality of subject data includes business data, personnel data, project data, credit data, and qualification data for a residential business.
4. The method according to claim 1, wherein after displaying the knowledge-graph corresponding to the search content, the method further comprises:
and updating the main data in the knowledge gallery to obtain an updated knowledge gallery.
5. The method according to claim 1, wherein the displaying the knowledge-graph corresponding to the search content comprises:
rendering the knowledge graph on a search result page to display the knowledge graph.
6. A knowledge-graph-based residential search apparatus, the apparatus comprising:
the system comprises a diagram base construction module, a database search module and a database search module, wherein the diagram base construction module is used for constructing a knowledge diagram base based on building search requirements, and the knowledge diagram base comprises various main data;
the relation configuration module is used for configuring the incidence relation among different main data in the knowledge graph library to obtain a knowledge library;
the data searching module is used for determining target main body data corresponding to the searching content when the searching content is received through a searching page;
the data association module is used for determining other subject data which has an association relation with the target subject data from the knowledge base;
the map establishing module is used for establishing a knowledge map by using the target main body data, the other main body data and the incidence relation by taking the target main body data as a map core;
and the map display module is used for displaying the knowledge map corresponding to the search content.
7. The apparatus of claim 6, further comprising:
the data display module is used for displaying the target main body data;
the data association module is further configured to trigger execution of the step of determining, from the knowledge base, other subject data having an association relationship with the target subject data when a detail display operation on the target subject data is received.
8. The apparatus of claim 6, further comprising:
and the map library updating module is used for updating the main data in the knowledge map library after the knowledge map corresponding to the search content is displayed to obtain an updated knowledge map library.
9. A knowledge-graph-based residential search apparatus, the apparatus comprising a processor and a memory; the memory has stored therein a program that is loaded and executed by the processor to implement the knowledge-graph based residential search method of any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that the storage medium has stored therein a program which, when being executed by a processor, is adapted to carry out the method of knowledge-graph based residential search according to any one of claims 1 to 5.
CN202011397487.3A 2020-12-04 2020-12-04 Building search method and device based on knowledge graph and storage medium Pending CN112487314A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011397487.3A CN112487314A (en) 2020-12-04 2020-12-04 Building search method and device based on knowledge graph and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011397487.3A CN112487314A (en) 2020-12-04 2020-12-04 Building search method and device based on knowledge graph and storage medium

Publications (1)

Publication Number Publication Date
CN112487314A true CN112487314A (en) 2021-03-12

Family

ID=74939247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011397487.3A Pending CN112487314A (en) 2020-12-04 2020-12-04 Building search method and device based on knowledge graph and storage medium

Country Status (1)

Country Link
CN (1) CN112487314A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113742403A (en) * 2021-09-06 2021-12-03 国泰新点软件股份有限公司 Method and device for displaying retrieval result of big building data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165337A (en) * 2018-10-17 2019-01-08 珠海市智图数研信息技术有限公司 A kind of method and system of knowledge based map construction bidding field association analysis
CN110148043A (en) * 2019-03-01 2019-08-20 安徽省优质采科技发展有限责任公司 The bid and purchase information recommendation system and recommended method of knowledge based map
CN111949855A (en) * 2020-07-31 2020-11-17 国网上海市电力公司 Knowledge map-based engineering technology knowledge retrieval platform and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165337A (en) * 2018-10-17 2019-01-08 珠海市智图数研信息技术有限公司 A kind of method and system of knowledge based map construction bidding field association analysis
CN110148043A (en) * 2019-03-01 2019-08-20 安徽省优质采科技发展有限责任公司 The bid and purchase information recommendation system and recommended method of knowledge based map
CN111949855A (en) * 2020-07-31 2020-11-17 国网上海市电力公司 Knowledge map-based engineering technology knowledge retrieval platform and method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113742403A (en) * 2021-09-06 2021-12-03 国泰新点软件股份有限公司 Method and device for displaying retrieval result of big building data

Similar Documents

Publication Publication Date Title
CN107958365B (en) Material information changing method and device, storage medium and electronic equipment
CN104657224A (en) Inter-process communication method and device
CA3154763A1 (en) Data operation method, device and system
CN112487036A (en) Data processing method and device
CN111813517A (en) Task queue allocation method and device, computer equipment and medium
CN112487314A (en) Building search method and device based on knowledge graph and storage medium
CN114237743A (en) Interface loading method and device, electronic equipment and storage medium
CN112487067A (en) Method, device and storage medium for page display based on data configuration
US20190196794A1 (en) Visual programming method, system and terminal device
CN109739738A (en) Event log management method, system and relevant apparatus based on HTML5
CN111857466B (en) Message display method and device
CN115484187B (en) Method, equipment and storage medium for testing container network interface in container environment
CN112199919A (en) Method and device for adding redundant standard cell, storage medium and electronic equipment
CN107169115A (en) Add the method and device of self-defined participle
CN108228611A (en) Document information copies method and apparatus
CN113138996A (en) Statement generation method and device
CN113626032B (en) Configuration method and device of list page and storage medium
CN113835835B (en) Method, device and computer readable storage medium for creating consistency group
CN112487035A (en) Label storage and query method and device based on elastic search
CN113849195A (en) Application program loading method and device, storage medium and terminal
CN111221817B (en) Service information data storage method, device, computer equipment and storage medium
CN112667682A (en) Data processing method, data processing device, computer equipment and storage medium
CN112699103A (en) Data rule probing method and device based on data pre-analysis
CN112905931A (en) Page information display method and device, electronic equipment and storage medium
CN112232027A (en) Symbol translation method, device, equipment and computer readable storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210312