CN113127662A - Component searching method and device, electronic equipment and readable storage medium - Google Patents

Component searching method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113127662A
CN113127662A CN202110391798.7A CN202110391798A CN113127662A CN 113127662 A CN113127662 A CN 113127662A CN 202110391798 A CN202110391798 A CN 202110391798A CN 113127662 A CN113127662 A CN 113127662A
Authority
CN
China
Prior art keywords
component
searched
search
target
components
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
CN202110391798.7A
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.)
Glodon Co Ltd
Original Assignee
Glodon 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 Glodon Co Ltd filed Critical Glodon Co Ltd
Priority to CN202110391798.7A priority Critical patent/CN113127662A/en
Publication of CN113127662A publication Critical patent/CN113127662A/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/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures

Landscapes

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

Abstract

The invention relates to the technical field of engineering construction, and discloses a component searching method, a component searching device, electronic equipment and a readable storage medium. Wherein, the method comprises the following steps: acquiring index information corresponding to a component to be searched in a BIM (building information modeling) model, wherein the index information comprises product attributes and specification attributes; searching candidate components corresponding to the components to be searched based on the product attributes; and screening the candidate components based on the specification attributes to obtain a target component list meeting the specification attributes. By implementing the invention, the automatic screening of the specification-level components is realized, the manual distinguishing of the corresponding specification-level components under the product-level components is avoided, the workload of a user is reduced, the retrieval efficiency of the specification-level components is improved, and the project progress is ensured.

Description

Component searching method and device, electronic equipment and readable storage medium
Technical Field
The invention relates to the technical field of engineering construction, in particular to a component searching method, a component searching device, electronic equipment and a readable storage medium.
Background
The BIM building model comprises a plurality of product-level components, each product-level component usually comprises a plurality of specifications of components, namely specification-level components, and a user can search for components meeting the specification requirements of the user according to the user's requirements. But the user needs to differentiate the specification of each component in the BIM building model, resulting in waste of human resources. For this situation, a retrieval model is usually used to retrieve required components from the BIM building model, but most of the existing retrieval models return product-level components corresponding to product attributes and all relevant specification-level components thereof according to the product attributes of the components, so that it is difficult to filter internal specifications of the components, and it cannot be determined which specific components meet user requirements.
Disclosure of Invention
In view of this, embodiments of the present invention provide a component searching method, device, apparatus, and storage medium based on specification attributes, so as to solve the problems that a user needs to perform specification secondary screening on a search result, which results in low search efficiency and large workload of the user.
According to a first aspect, an embodiment of the present invention provides a component searching method, including the following steps: acquiring index information corresponding to a component to be searched in a BIM (building information modeling) model, wherein the index information comprises product attributes and specification attributes; searching candidate components corresponding to the components to be searched based on the product attributes; and screening the candidate components based on the specification attributes to obtain a target component list meeting the specification attributes.
According to the method for constructing the search, the index information corresponding to the component to be searched in the BIM is obtained, the index information comprises the product attribute and the specification attribute, the candidate component corresponding to the component to be searched is searched based on the product attribute in the index information, and then the target component list meeting the specification attribute is screened from the candidate component based on the specification attribute in the index information. The method realizes automatic screening of the specification-level components, avoids manual distinguishing of the corresponding specification-level components under the product-level components, reduces the workload of users, improves the retrieval efficiency of the specification-level components, and ensures the progress of engineering.
With reference to the first aspect, in a first implementation manner of the first aspect, the searching the candidate component based on the specification attribute to obtain a target component list satisfying the specification attribute includes: acquiring specification grade segmentation words of the component to be searched, which correspond to the specification attributes; filtering a plurality of target components containing the specification-level participles from the candidate components; calculating a display order of a plurality of the target members; arranging a plurality of the target members based on the display order, and generating the target member list.
With reference to the first embodiment of the first aspect, in a second embodiment of the first aspect, the calculating a display order of the plurality of target members includes: acquiring the search correlation of the target word segmentation; scoring each of the target members based on the search correlation and the feature data of the target member; the feature data comprises component versions, browsing quantity, downloading quantity and parametrizable parameter number; determining the display order corresponding to a plurality of target components based on the scoring result.
According to the construction searching method provided by the embodiment of the invention, the specification grade words of the component to be searched corresponding to the specification attributes are obtained, and the candidate components are filtered based on the specification grade words, so that the target component list meeting the specification attributes is screened out, and therefore, the user is prevented from manually screening the specification grade components. The display sequence of each target component in the target component list is determined based on the scoring result, and the scoring result corresponding to each target component is determined based on the component search correlation, the component version, the browsing amount, the downloading amount and the parametrizable parameter number corresponding to the target component. Therefore, the components which best meet the requirements of the user are ensured to be displayed at the forefront, and the workload of the user for searching the target components which meet the specification requirements of the user from the target component list is further reduced.
With reference to the first aspect, in a third implementation manner of the first aspect, the searching for a candidate component corresponding to the component to be searched based on the product attribute includes: obtaining a preliminary search result corresponding to the component to be searched based on a preset search rule; acquiring product-level segmentation words of the component to be searched, which correspond to the product attributes; and filtering the preliminary search result based on the product grade words, and screening out candidate components meeting the product attributes.
With reference to the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the searching for the preliminary search result corresponding to the member to be searched based on the preset search rule includes: generating a search condition based on the preset search rule; and searching to obtain a preliminary search result corresponding to the component to be searched based on the search condition.
With reference to the fourth embodiment of the first aspect, in a fifth embodiment of the first aspect, the preset search rule is determined based on an attribute name, a value, and a value type of the member to be searched.
According to the method for constructing the search, the preliminary search is carried out on the component to be searched through the preset search rule so as to determine the preliminary search result containing the component to be searched, wherein the preset search rule is determined according to the attribute name, the value and the value type of the component to be searched, and therefore the search accuracy of the preliminary search result is guaranteed. And filtering candidate components meeting the product attributes from the primary search result through product-level segmentation words of the components to be searched corresponding to the product attributes, thereby further improving the search accuracy while ensuring the search efficiency of the target components.
With reference to any one of the first to fifth embodiments of the first aspect, in a sixth embodiment of the first aspect, the acquiring index information corresponding to the member to be searched in the BIM model includes: performing word segmentation on the component to be searched, and determining a target word segmentation result corresponding to the component to be searched; and constructing an inverted index of the component to be searched based on the target word segmentation result to obtain index information of the component to be searched.
According to the searching method provided by the embodiment of the invention, the target word segmentation result corresponding to the component to be searched is obtained, and the inverted index of the component to be searched is constructed based on the target word segmentation result, so that the index information of the component to be searched is obtained. Index information of the member to be searched is generated based on the inverted index, and the member to be searched is retrieved through the index information, thereby increasing the search speed of the target member.
According to a second aspect, an embodiment of the present invention provides a component searching apparatus, including: the acquisition module is used for acquiring index information corresponding to a component to be searched in the BIM model; the first searching module is used for searching to obtain a candidate component corresponding to the component to be searched based on the product attribute in the index information; and the second searching module is used for searching the candidate components based on the specification attributes in the index information to obtain a target component list meeting the specification attributes.
According to the searching device for building, the index information corresponding to the component to be searched in the BIM is obtained, the index information comprises the product attribute and the specification attribute, the candidate component corresponding to the component to be searched is searched based on the product attribute in the index information, and then the target component list meeting the specification attribute is screened from the candidate component based on the specification attribute in the index information. The device has realized the autofilter of specification level component, has avoided artifical differentiation to produce the corresponding specification level component under the level component, has reduced user's work load, has improved the retrieval efficiency of specification level component, has guaranteed the engineering progress.
According to a third aspect, an embodiment of the present invention provides an electronic device, including: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, and the processor executing the computer instructions to perform the component search method according to the first aspect or any embodiment of the first aspect.
According to a fourth aspect, the present invention provides a computer-readable storage medium, which is characterized by storing computer instructions for causing a computer to execute the component search method according to the first aspect or any implementation manner of the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart of a component search method according to an embodiment of the invention;
FIG. 2 is another flow chart of a component search method according to an embodiment of the present invention;
FIG. 3 is another flow chart of a component search method according to an embodiment of the present invention;
FIG. 4 is a block diagram showing the construction of a component search apparatus according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, a retrieval model is usually used for retrieving components required by a building project from a BIM (building information modeling) building model, but most of the existing retrieval models return product-level components corresponding to product attributes and all relevant specification-level components thereof according to the product attributes of the components, so that the internal specifications of the components are difficult to filter, and the specific components meeting the user requirements cannot be judged, therefore, the existing retrieval models still need to manually distinguish the components meeting the specification requirements, the workload of users is increased, the retrieval efficiency is reduced, and the project progress is influenced.
In accordance with an embodiment of the present invention, there is provided an embodiment of a component search method, it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
In this embodiment, a component searching method is provided, which can be used in electronic devices, such as a computer, a tablet computer, a palmtop computer, a mobile phone, and the like, and fig. 1 is a flowchart of the component searching method according to the embodiment of the present invention, as shown in fig. 1, the flowchart includes the following steps:
and S11, acquiring index information corresponding to the member to be searched in the BIM, wherein the index information comprises product attributes and specification attributes.
The component to be searched is a component required by a user, and the index information is used for indexing the component to be searched to a search engine, so that the search engine can return a corresponding retrieval result based on the index information. The index information comprises product attributes and specification attributes, the product attributes are type parameters of the components to be searched, namely parameters shared by the same type of components, and once the type parameters are modified, all component family individuals corresponding to the type parameters are correspondingly changed. The specification attribute is an example parameter of the component to be searched, namely a parameter which only affects the individual component and does not affect other components of the same type.
Specifically, the electronic device receives a member to be searched input by a user, may obtain a model file corresponding to the member to be searched, and analyzes the model file by the back end of the electronic device to obtain attribute information of the member to be searched. Taking a water pump as an example, the attribute information may include: water inlet pipe diameter, water outlet pipe diameter, water pump interval, water pump position, water outlet pipe height, length, width, water inlet radius, water outlet radius, water pump height, water pump length, equipment manufacturer, equipment model, installation mode, flow, lift and other parameters. The type parameters corresponding to different component models are different, and a modeling technician can specify which parameters are type parameters or instance parameters according to modeling requirements.
And the user inputs a component to be searched into the electronic equipment and triggers the electronic equipment to search. When the electronic equipment receives a component to be searched input by a user, the electronic equipment can perform word segmentation on the component to be searched, determine a word segmentation corresponding to a product attribute and a word segmentation corresponding to a specification attribute, and respectively construct index information corresponding to the product attribute and index information corresponding to the specification attribute based on word segmentation results. And indexing the component to be searched to a search engine for retrieval by generating index information.
And S12, searching candidate components corresponding to the components to be searched based on the product attributes.
The electronic equipment can perform preliminary search based on the received attribute information corresponding to the component to be searched, obtain a preliminary search result conforming to the attribute of the component to be searched, and filter the component conforming to the product attribute from the preliminary search result. Because the product attribute and the specification attribute are in a parent-child relationship, the components meeting the product attribute necessarily comprise specification-level components meeting the requirements of users, and the electronic equipment can take the components meeting the product attribute as candidate components corresponding to the components to be searched so as to further perform component retrieval.
And S13, screening the candidate components based on the specification attributes to obtain a target component list meeting the specification attributes.
After the candidate components meeting the product attributes are retrieved, the electronic device can filter the candidate components according to the specification attributes corresponding to the components to be searched to screen out a target component list meeting the specification attributes, and the target component lists in the target component list can be sorted according to the search correlation between the target components and the components to be searched, so that a user can quickly locate the target components meeting the specification requirements of the user.
In the method for constructing a search provided by this embodiment, by obtaining index information corresponding to a component to be searched in a BIM model, where the index information includes a product attribute and a specification attribute, a candidate component corresponding to the component to be searched is searched based on the product attribute in the index information, and then a target component list satisfying the specification attribute is screened from the candidate component based on the specification attribute in the index information. The method realizes automatic screening of the specification-level components, avoids manual distinguishing of the corresponding specification-level components under the product-level components, reduces the workload of users, improves the retrieval efficiency of the specification-level components, and ensures the progress of engineering.
In this embodiment, a component searching method is provided, which can be used in electronic devices, such as a computer, a tablet computer, a palmtop computer, a mobile phone, and the like, and fig. 2 is a flowchart of the component searching method according to the embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
and S21, acquiring index information corresponding to the member to be searched in the BIM, wherein the index information comprises product attributes and specification attributes.
Specifically, the step S21 may include the following steps:
s211, performing word segmentation on the component to be searched, and determining a target word segmentation result corresponding to the component to be searched.
The electronic equipment acquires attribute information corresponding to a member to be searched, which is input by a user, and performs word segmentation processing on the attribute information with the attribute value being a character string type, so that the member to be searched can be divided into a plurality of words, and a target word segmentation result corresponding to the member to be searched is determined.
S212, constructing an inverted index of the component to be searched based on the target word segmentation result, and obtaining index information of the component to be searched.
And according to the target word segmentation result, acquiring the attribute value corresponding to each target word segmentation, and forming an index table according to each attribute value and the address recorded by the attribute value. Instead of determining the attribute value from the record, the index table determines the address of the record from the attribute value, i.e. the index table belongs to the inverted index. And the index table generated based on the inverted index is the index information corresponding to the member to be searched.
And S22, searching candidate components corresponding to the components to be searched based on the product attributes. For a detailed description, refer to the related description of step S12 corresponding to the above embodiment, and the detailed description is omitted here.
And S23, screening the candidate components based on the specification attributes to obtain a target component list meeting the specification attributes.
Specifically, the step S23 may include the following steps:
and S231, obtaining the specification level segmentation words of the component to be searched, which correspond to the specification attributes.
The specification grade segmentation words are the segmentation words only influencing the individual component to be searched, such as the water inlet pipe diameter value and the water outlet pipe height value corresponding to the water pump component. After the electronic equipment acquires the target word segmentation result of the component to be searched, the specification-level word segmentation corresponding to the specification attribute can be extracted from the target word segmentation result. For example, if the component to be searched, which is received by the electronic device and input by the user, is a water pump with a model "a", a pipe diameter B, and a height C, the electronic device may extract the participles "pipe diameter B" and "height C" corresponding to the water pump and synonyms corresponding to the participles "pipe diameter B" and "height C" as the specification-level participles.
S232, filtering a plurality of target components containing the specification grade participles from the candidate components.
And searching the candidate building blocks according to the specification level participles, and filtering one or more target building blocks containing the specification level participles. The target participles containing the specification level participles are target components meeting the specification attributes.
S233, the display order of the plurality of target members is calculated.
After the electronic device receives the target components which are returned by the search engine and meet the specification attributes, the display sequence of the target components can be calculated, and the target components can be displayed to the user in the calculated display sequence.
Specifically, the step S233 may include the steps of:
(1) and acquiring the search relevance of the target word segmentation.
The search relevance of the target participle is the relevance between the target participle and the search word, wherein the search word is a synonym corresponding to each participle. Specifically, a synonym thesaurus, a thesaurus dictionary, a stop word thesaurus and the like can be added by means of the ElasticSearch engine, after the electronic device obtains a plurality of target segmented words corresponding to the component to be searched, the segmentation results can be optimized by means of the synonym thesaurus, the thesaurus dictionary, the stop word thesaurus and the like added by the ElasticSearch engine, operations such as synonym addition and stop word removal can be performed, for example, windows and the like are common search words, and the words can be set as synonyms. When the target word is "window", the search word may be "window", and may also be "window", i.e. these words are equivalent, and any one of the inputs may search for the relevant component. The electronic device may determine the search relevance by comparing search results returned by its search engine.
(2) Scoring each target component based on the search correlation and the feature data of the target component; the feature data comprises component version, browsing amount, downloading amount and parametrizable parameter number.
The score corresponding to each target member may be determined based on its search relevance and feature data. Specifically, the feature data includes a component version, a browsing amount, a downloading amount, and the number of parameterable parameters. The final scoring result D is the composite score + the relevance score. Wherein, the comprehensive score is the component parameterization score, the component version score, the component monthly average browsing amount score and the component monthly average downloading amount score; the building block parameterization score is 100 (1-math.pow (0.895, number of building block parameterization parameters)).
The more version support, the higher the score; the higher the monthly average download amount is, the higher the score is; the higher the monthly average browsing volume is, the higher the score is; the more the number of parametrizable parameters is, the higher the score is; the higher the search relevance, the higher the score. Relevant data may be returned by the search engine for each of the above scores to determine, for example, a score of 100 when the component version is 2014; score 99 at 2015; a score of 2016 of 98; a score of 54 at 2017; a score of 41 at 2018, etc. Of course, the final scoring result may also be a weighted sum of the scores corresponding to the search relevance and the scores corresponding to the feature data, which is not limited in the present application.
(3) And determining the display sequence corresponding to the target components based on the scoring result.
The electronic equipment sorts the obtained scoring results corresponding to the target components from high to low, and the ranking order of the scoring results from high to low is used as the display order of the target components.
S234, a plurality of target members are arranged in the display order, and a target member list is generated.
And arranging all the target components according to the determined display sequence to obtain a target component list meeting the specification attribute, and displaying the target component list to a user so that the user can quickly locate the target components required to be searched by the user.
According to the search construction method provided by the embodiment, the target word segmentation result corresponding to the component to be searched is obtained, and the inverted index of the component to be searched is constructed based on the target word segmentation result, so that the index information of the component to be searched is obtained. Index information of the member to be searched is generated based on the inverted index, and the member to be searched is retrieved through the index information, thereby increasing the search speed of the target member.
The method comprises the steps of obtaining specification grade words of a component to be searched corresponding to specification attributes, filtering candidate components based on the specification grade words, and screening out a target component list meeting the specification attributes, so that a user is prevented from manually screening the specification grade components. The display sequence of each target component in the target component list is determined based on the scoring result, and the scoring result corresponding to each target component is determined based on the component search correlation, the component version, the browsing amount, the downloading amount and the parametrizable parameter number corresponding to the target component. Therefore, the components which best meet the requirements of the user are ensured to be displayed at the forefront, and the workload of the user for searching the target components which meet the specification requirements of the user from the target component list is further reduced.
In this embodiment, a component searching method is provided, which can be used in electronic devices, such as a computer, a tablet computer, a palmtop computer, a mobile phone, and the like, and fig. 3 is a flowchart of the component searching method according to the embodiment of the present invention, as shown in fig. 3, the flowchart includes the following steps:
and S31, acquiring index information corresponding to the member to be searched in the BIM, wherein the index information comprises product attributes and specification attributes. For a detailed description, refer to the related description of step S23 corresponding to the above embodiment, and the detailed description is omitted here.
And S32, searching candidate components corresponding to the components to be searched based on the product attributes.
Specifically, the step S32 may include the following steps:
s321, obtaining a preliminary search result corresponding to the component to be searched based on a preset search rule.
The preset search rule is a general search rule, so that the component to be searched is subjected to initial search, and an initial search result containing the component to be searched is obtained.
Specifically, the step S321 may include the following steps:
(1) the search condition is generated based on a preset search rule, wherein the preset search rule is determined based on the attribute name, the value and the value type.
The electronic equipment can carry out standardized coding on the component to be searched and store the standardized coding in the database so as to carry out retrieval based on the standardized coding when receiving the component to be searched input by the user.
Specifically, the preset search rule is shown in table 1, the electronic device may obtain an attribute name, a value, and a value type of a component to be searched, which are input by a user, and generate the following search condition based on a standardized code corresponding to the attribute name, the value, and the value type:
43513301_ S _55^43111313_ S _23^4311111401_ S _22^43511717_ I _0^43511717_ D _200.0^43511717XX _ E _200| | 300. The search criteria may be filtered as follows:
single value matching is performed on the character string attribute 43513301, and the value is 55;
single value matching is performed on the character string attribute 43111313, and the value is 23;
single value matching is performed on the character string attribute 4311111401, and the value is 22;
a single value match is made to integer attribute 43511717, with a value of 0;
performing single value matching on the floating point type attribute 43511717, wherein the value is 200.0;
the enumerated attribute 43511717XX is multi-valued matched, with values of 200, 300.
TABLE 1 Preset search rules
Type of value Multiple value matching Single value matching Is greater than or equal to Is less than or equal to Range matching
Floating point type
Shaping machine
Character string type × × × ×
Enumerated type × × ×
Wherein "√" represents a supported search; "X" indicates an unsupported search. For example, for floating-point type attributes, it supports multiple-value matching, single-value matching, greater-or-equal-to matching, less-or-equal-to matching, and range matching; string-type attributes only support single-value matching. Specifically, the multi-value matching can be expressed as: code _ type _ val1| | | val2, e.g., 43511717XX _ E _200| | 300. The single value match can be expressed as: code _ type _ val1, e.g., 43513301_ S _ 55. Greater than or equal to may be expressed as: code _ type _ val + "ge", e.g., 43511717_ I _23+ "ge". Less than or equal to can be expressed as: code _ type _ val + "le", e.g., 43511717_ I _23+ "le". The range match can be expressed as: code _ type _ val1-val2, e.g., 43511717_ D _ 200.0-300.0. Wherein, code is an attribute standard code; type is an attribute value type, and val, val1, and val2 are all values.
(2) Based on the search condition, the search obtains a preliminary search result corresponding to the component to be searched.
The search engine of the electronic device can retrieve the components related to the components to be searched based on the search conditions to obtain the initial search results of the components to be searched, for example, the height of the components to be searched is within a range of 100-200, and at this time, the search engine can perform range filtering on the heights of the components to query all the components with the heights of 100-200.
S322, acquiring product-level segmentation words of the component to be searched, wherein the product-level segmentation words correspond to product attributes.
The product-level segmentation is a segmentation affecting members of the family to which the member to be searched belongs, such as the model corresponding to the water pump member. After the electronic equipment acquires the target word segmentation result of the component to be searched, the specification-level word segmentation corresponding to the product attribute can be extracted from the target word segmentation result. For example, if the component to be searched, which is input by the user, is a water pump with a model a, a pipe diameter B and a height C, the electronic device may extract the word "model a" corresponding to the product attribute of the water pump and the synonym corresponding to the word "model a" as the product-level word.
S323, filtering the preliminary search result based on the product level grade words, and screening out candidate components meeting product attributes.
And filtering the preliminary search result according to the product level word, and screening one or more components containing the product level word as candidate components so as to further filter out target components simultaneously meeting the product attribute and the specification attribute.
And S33, screening the candidate components based on the specification attributes to obtain a target component list meeting the specification attributes. For a detailed description, refer to the related description of step S23 corresponding to the above embodiment, and the detailed description is omitted here.
According to the method for constructing the search, the preliminary search is carried out on the component to be searched through the preset search rule so as to determine the preliminary search result containing the component to be searched, and the candidate component meeting the product attribute is filtered from the preliminary search result through the product-level segmentation of the component to be searched corresponding to the product attribute, so that the search efficiency and the search accuracy of the target component are guaranteed.
In this embodiment, a component searching apparatus is further provided, and the component searching apparatus is used to implement the foregoing embodiments and preferred embodiments, and the description of the component searching apparatus is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware or a combination of software and hardware is also possible and contemplated.
The present embodiment provides a component searching apparatus, as shown in fig. 4, including:
the obtaining module 41 is configured to obtain index information corresponding to a component to be searched in the BIM model. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
And the first searching module 42 is used for searching to obtain a candidate component corresponding to the component to be searched based on the product attribute in the index information. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
And the second searching module 43 is configured to search the candidate component based on the specification attribute in the index information to obtain a target component list satisfying the specification attribute. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
According to the device for constructing the search, index information corresponding to the component to be searched in the BIM is obtained, the index information comprises a product attribute and a specification attribute, a candidate component corresponding to the component to be searched is searched based on the product attribute in the index information, and then a target component list meeting the specification attribute is screened from the candidate component based on the specification attribute in the index information. The device has realized the autofilter of specification level component, has avoided artifical differentiation to produce the corresponding specification level component under the level component, has reduced user's work load, has improved the retrieval efficiency of specification level component, has guaranteed the engineering progress.
The means for constructing the search in this embodiment is presented in the form of functional units, where a unit refers to an ASIC circuit, a processor and memory executing one or more software or fixed programs, and/or other devices that may provide the above-described functionality.
Further functional descriptions of the modules are the same as those of the corresponding embodiments, and are not repeated herein.
An embodiment of the present invention further provides an electronic device, which has the above-mentioned search building apparatus shown in fig. 4.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an alternative embodiment of the present invention, and as shown in fig. 5, the electronic device may include: at least one processor 501, such as a CPU (Central Processing Unit), at least one communication interface 503, memory 504, and at least one communication bus 502. Wherein a communication bus 502 is used to enable connective communication between these components. The communication interface 503 may include a Display (Display) and a Keyboard (Keyboard), and the optional communication interface 503 may also include a standard wired interface and a standard wireless interface. The Memory 504 may be a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 504 may optionally be at least one storage device located remotely from the processor 501. Wherein the processor 501 may be in connection with the apparatus described in fig. 4, an application program is stored in the memory 504, and the processor 501 calls the program code stored in the memory 504 for performing any of the above-mentioned method steps.
The communication bus 502 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 502 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The memory 504 may include a volatile memory (RAM), such as a random-access memory (RAM); the memory may also include a non-volatile memory (english: non-volatile memory), such as a flash memory (english: flash memory), a hard disk (english: hard disk drive, abbreviated: HDD) or a solid-state drive (english: SSD); the memory 504 may also comprise a combination of the above types of memory.
The processor 501 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of CPU and NP.
The processor 501 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
Optionally, the memory 504 is also used to store program instructions. Processor 501 may invoke program instructions to implement the component search method as shown in the embodiments of fig. 1-3 of the present application.
Embodiments of the present invention further provide a non-transitory computer storage medium, where computer-executable instructions are stored, and the computer-executable instructions may execute the processing method of the component search method in any of the above method embodiments. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

1. A component search method, comprising the steps of:
acquiring index information corresponding to a component to be searched in a BIM (building information modeling) model, wherein the index information comprises product attributes and specification attributes;
searching candidate components corresponding to the components to be searched based on the product attributes;
and screening the candidate components based on the specification attributes to obtain a target component list meeting the specification attributes.
2. The component searching method according to claim 1, wherein the searching the candidate components based on the specification attribute to obtain a target component list satisfying the specification attribute comprises:
acquiring specification grade segmentation words of the component to be searched, which correspond to the specification attributes;
filtering a plurality of target components containing the specification-level participles from the candidate components;
calculating a display order of a plurality of the target members;
arranging a plurality of the target members based on the display order, and generating the target member list.
3. The component search method according to claim 2, wherein the calculating of the display order of the plurality of target components includes:
acquiring the search correlation of the target word segmentation;
scoring each of the target members based on the search correlation and the feature data of the target member; the feature data comprises component versions, browsing quantity, downloading quantity and parametrizable parameter number;
determining the display order corresponding to a plurality of target components based on the scoring result.
4. The component searching method according to claim 1, wherein the searching for the candidate component corresponding to the component to be searched based on the product attribute comprises:
obtaining a preliminary search result corresponding to the component to be searched based on a preset search rule;
acquiring product-level segmentation words of the component to be searched, which correspond to the product attributes;
and filtering the preliminary search result based on the product grade words, and screening out candidate components meeting the product attributes.
5. The component searching method according to claim 4, wherein the searching for the preliminary search result corresponding to the component to be searched based on the preset search rule comprises:
generating a search condition based on the preset search rule;
and searching to obtain a preliminary search result corresponding to the component to be searched based on the search condition.
6. The component searching method according to claim 5, wherein the preset search rule is determined based on an attribute name, a value, and a value type of the component to be searched.
7. The component searching method according to any one of claims 1 to 6, wherein obtaining index information corresponding to a component to be searched in the BIM model comprises:
performing word segmentation on the component to be searched, and determining a target word segmentation result corresponding to the component to be searched;
and constructing an inverted index of the component to be searched based on the target word segmentation result to obtain index information of the component to be searched.
8. A component search apparatus, characterized by comprising:
the acquisition module is used for acquiring index information corresponding to a component to be searched in the BIM model;
the first searching module is used for searching to obtain a candidate component corresponding to the component to be searched based on the product attribute in the index information;
and the second searching module is used for searching the candidate components based on the specification attributes in the index information to obtain a target component list meeting the specification attributes.
9. An electronic device, comprising:
a memory and a processor, the memory and the processor being communicatively coupled to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the component search method of any one of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a computer to perform the component search method of any one of claims 1-7.
CN202110391798.7A 2021-04-13 2021-04-13 Component searching method and device, electronic equipment and readable storage medium Pending CN113127662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110391798.7A CN113127662A (en) 2021-04-13 2021-04-13 Component searching method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110391798.7A CN113127662A (en) 2021-04-13 2021-04-13 Component searching method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN113127662A true CN113127662A (en) 2021-07-16

Family

ID=76775858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110391798.7A Pending CN113127662A (en) 2021-04-13 2021-04-13 Component searching method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113127662A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103198079A (en) * 2012-01-06 2013-07-10 北大方正集团有限公司 Related search implementation method and device
CN104679778A (en) * 2013-11-29 2015-06-03 腾讯科技(深圳)有限公司 Search result generating method and device
CN108694191A (en) * 2017-04-08 2018-10-23 大连万达集团股份有限公司 The method of quick-searching component information in BIM models
CN109284440A (en) * 2018-09-11 2019-01-29 云南材材通信息技术有限公司 A kind of construction Information searching system and search method
CN109344223A (en) * 2018-09-18 2019-02-15 青岛理工大学 A kind of Building Information Model management system and method based on cloud computing technology
CN109885641A (en) * 2019-01-21 2019-06-14 瀚高基础软件股份有限公司 A kind of method and system of database Chinese Full Text Retrieval
CN110413738A (en) * 2019-07-31 2019-11-05 腾讯科技(深圳)有限公司 A kind of information processing method, device, server and storage medium
CN110968713A (en) * 2019-11-25 2020-04-07 盈嘉互联(北京)科技有限公司 BIM multi-scale information retrieval method and device
CN111178051A (en) * 2019-12-30 2020-05-19 盈嘉互联(北京)科技有限公司 Building information model self-adaptive Chinese word segmentation method and device
CN111444304A (en) * 2019-01-17 2020-07-24 北京京东尚科信息技术有限公司 Search ranking method and device
CN111797201A (en) * 2020-06-23 2020-10-20 中民筑友建设科技集团有限公司 BIM (building information modeling) model acquisition method, device, equipment and computer readable storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103198079A (en) * 2012-01-06 2013-07-10 北大方正集团有限公司 Related search implementation method and device
CN104679778A (en) * 2013-11-29 2015-06-03 腾讯科技(深圳)有限公司 Search result generating method and device
CN108694191A (en) * 2017-04-08 2018-10-23 大连万达集团股份有限公司 The method of quick-searching component information in BIM models
CN109284440A (en) * 2018-09-11 2019-01-29 云南材材通信息技术有限公司 A kind of construction Information searching system and search method
CN109344223A (en) * 2018-09-18 2019-02-15 青岛理工大学 A kind of Building Information Model management system and method based on cloud computing technology
CN111444304A (en) * 2019-01-17 2020-07-24 北京京东尚科信息技术有限公司 Search ranking method and device
CN109885641A (en) * 2019-01-21 2019-06-14 瀚高基础软件股份有限公司 A kind of method and system of database Chinese Full Text Retrieval
CN110413738A (en) * 2019-07-31 2019-11-05 腾讯科技(深圳)有限公司 A kind of information processing method, device, server and storage medium
CN110968713A (en) * 2019-11-25 2020-04-07 盈嘉互联(北京)科技有限公司 BIM multi-scale information retrieval method and device
CN111178051A (en) * 2019-12-30 2020-05-19 盈嘉互联(北京)科技有限公司 Building information model self-adaptive Chinese word segmentation method and device
CN111797201A (en) * 2020-06-23 2020-10-20 中民筑友建设科技集团有限公司 BIM (building information modeling) model acquisition method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN111460798A (en) Method and device for pushing similar meaning words, electronic equipment and medium
CN110019349A (en) Sentence method for early warning, device, equipment and computer readable storage medium
JP2018501540A (en) Stopword identification method and apparatus
CN109522396B (en) Knowledge processing method and system for national defense science and technology field
CN112395881B (en) Material label construction method and device, readable storage medium and electronic equipment
CN114780746A (en) Knowledge graph-based document retrieval method and related equipment thereof
CN108182234B (en) Regular expression screening method and device
CN108182200B (en) Keyword expansion method and device based on semantic similarity
CN112989813A (en) Scientific and technological resource relation extraction method and device based on pre-training language model
CN115422201A (en) Layer-level data analysis method and device and electronic equipment
CN115982346A (en) Question-answer library construction method, terminal device and storage medium
CN112632893B (en) Graph screening method and device, server and storage medium
US10353927B2 (en) Categorizing columns in a data table
CN113127662A (en) Component searching method and device, electronic equipment and readable storage medium
KR102527937B1 (en) A method for searching the similar patents based on artificial intelligence and an apparatus thereof
CN114238581A (en) Intelligent retrieval system and method based on semantic understanding
CN113468339A (en) Label extraction method, system, electronic device and medium based on knowledge graph
CN114117004B (en) Address recognition method, address recognition device, electronic equipment and storage medium
CN111737428B (en) Target material matching method, device, equipment and readable storage medium
CN116501841B (en) Fuzzy query method, system and storage medium for data model
CN117592462B (en) Correlation processing method and device for open source place name data based on place group
CN116842160A (en) Patent search type generation method, system, equipment and medium
CN117435645A (en) Component associated word mining method and device, computer equipment and storage medium
CN106776772A (en) A kind of method and device of data retrieval
CN118132572A (en) Database augmentation, deletion and verification method and device, electronic equipment and 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