CN108388577A - A kind of method and system automatically generating house floor plan syntax tree - Google Patents

A kind of method and system automatically generating house floor plan syntax tree Download PDF

Info

Publication number
CN108388577A
CN108388577A CN201810045011.XA CN201810045011A CN108388577A CN 108388577 A CN108388577 A CN 108388577A CN 201810045011 A CN201810045011 A CN 201810045011A CN 108388577 A CN108388577 A CN 108388577A
Authority
CN
China
Prior art keywords
point
house
details
target house
bedroom
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
CN201810045011.XA
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.)
Lianjia Beijing Technology Co Ltd
Original Assignee
Lianjia Beijing Technology 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 Lianjia Beijing Technology Co Ltd filed Critical Lianjia Beijing Technology Co Ltd
Priority to CN201810045011.XA priority Critical patent/CN108388577A/en
Publication of CN108388577A publication Critical patent/CN108388577A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees

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)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Residential Or Office Buildings (AREA)

Abstract

The present invention provides a kind of method and system automatically generating house floor plan syntax tree, wherein the method includes:Floor plan vector file based on target house, determine the target house point between type and quantity;The basic data information between each point in the floor plan vector file in the target house is extracted respectively, and analysis is associated to the basic data information, obtains the whole details of the details and the target house between each point of the target house;By the way that the details between each point of the target house to be indicated to generate with tree structure the syntax tree of target house floor plan, and the whole details of the syntax tree and the target house are visualized.The details of house floor plan are obtained automatically the present invention is based on the vector file of house floor plan and generate the syntax tree of house floor plan, can substitute the mode of the details of typing floor plan under boostrap, reduce manpower and materials cost, greatly raising efficiency.

Description

A kind of method and system automatically generating house floor plan syntax tree
Technical field
The present invention relates to field of computer technology, more particularly, to a kind of house floor plan syntax tree that automatically generates Method and system.
Background technology
Universal and broad development, the people of stochastic computer technology can obtain information of real estate more conveniently.When It is preceding that corresponding floor plan can be mounted by often covering house, and floor plan describes the integrity attribute in house on the platform of house prosperity transaction, from It can be intuitive to see very much the information such as pattern, planning, direction and the size in entire house in floor plan, be that client understands room The essential information source in room.
In order to provide true information of real estate to client, most of real estate trade platforms are in addition to present customers floor plan Outside, can also show the details corresponding to the floor plan, such as the whole details including the floor plan, the floor plan by Which constituted between point, and the specifying information etc. between each point.
But the details of house floor plan are substantially the boostrap by the way that manually mode is manually recorded under line at present The mode of lower typing not only takes time and effort and will appear difference caused by different people's measurement standard differences.Also, the number in house There are many amount, and every floor plan is practically impossible to completing for task by typing under boostrap.
Invention content
The present invention provides a kind of one kind for overcoming the above problem or solving the above problems at least partly and automatically generates room The method and system of room floor plan syntax tree.
According to an aspect of the present invention, a kind of method automatically generating house floor plan syntax tree is provided, including:
S1, the floor plan vector file based on target house, determine the target house point between type and quantity;
S2 extracts the basic data information between each point in the floor plan vector file in the target house respectively, and to institute It states basic data information and is associated analysis, obtain the whole of details between each point of the target house and the target house Body details;
S3 generates target house family by indicating the details between each point of the target house with tree structure The syntax tree of type figure, and the whole details of the syntax tree and the target house are visualized.
Wherein, the target house point between type include:Between entry door, bedroom, the first kind point between the second class point, In,
Include between the first kind point:Parlor, dining room and kitchen;
Include between second class point:Between toilet, balcony, balcony, storing, cloakroom, loft, garden and garage.
Wherein, the step S2 further comprises:
S21 is extracted each between each point of the target house from the floor plan vector file in the target house The basic data of corresponding point, door, window and wall between point;
S22 is associated analysis to the basic data of point corresponding between described each point, door, window and wall, obtains each Details between point;
S23 is associated analysis to the details between obtained each point, obtain the target house it is whole in detail Information;Wherein,
Details between described each point include:Point between whether be associated with balcony, point between whether be associated with toilet, point between court To, point between included each attachment type and point between usable floor area;
The whole details in the target house include:The direction in target house and whole usable floor area.
Wherein, the step S22 further comprises:
For entry door, the main direction of entire house type is determined according to the direction of entry door and the corresponding number of degrees;
For bedroom, it whether there is according to the bedroom and toilet and deposited on the first public wall and first wall Judge whether the bedroom is associated with toilet in attachment, the second public wall and institute whether there is according to the bedroom and balcony It states and judges whether the bedroom is associated with balcony there are attachment on the second wall, according to the direction of the window in the bedroom and bedroom The direction of associated balcony determines the direction in bedroom, and determines the concrete type for the attachment that the bedroom is included and calculate institute State the usable floor area in bedroom;
For between the first kind point, according between the first kind point and balcony is with the presence or absence of public third wall and described the There are attachmentes to judge whether be associated with balcony between the first kind point on three walls, according to the direction of the window between the first kind point The direction of associated balcony determines the direction between the first kind point between the first kind point, and between the determining first kind point Including attachment concrete type and calculate usable floor area between the first kind point;
For between the second class point, the court between second class point is determined according to the direction of the window between second class point To, and determine the concrete type for the attachment for being included between second class point and calculate the usable floor area between described second point.
Wherein, the step S23 further comprises:
The direction in the target house is determined according to the direction between the main direction of the entire house type and other each point;
The whole usable floor area in the target house is determined according to the usable floor area between each point.
According to another aspect of the present invention, a kind of system automatically generating house floor plan syntax tree is provided, including:
Point between determining module, be used for the floor plan vector file based on target house, determine the target house point between Type and quantity;
Association analysis module, the basic number in the floor plan vector file for extracting the target house respectively between each point It is believed that breath, and analysis is associated to the basic data information, obtain the details between each point of the target house and institute State the whole details in target house;
Visualization model, for by indicating the details between each point of the target house with tree structure to generate institute The syntax tree of target house floor plan is stated, and the whole details of the syntax tree and the target house are visualized Displaying.
Wherein, the target house point between type include:Between entry door, bedroom, the first kind point between the second class point, In,
Include between the first kind point:Parlor, dining room and kitchen;
Include between second class point:Between toilet, balcony, balcony, storing, cloakroom, loft, garden and garage.
Wherein, the association analysis module further comprises:
Basic information acquisition submodule, between being directed to each point of the target house, the house type from the target house The basic data of point corresponding between each point, door, window and wall is extracted in figure vector file;
Details acquisition submodule between point, for the basis to point corresponding between described each point, door, window and wall Data are associated analysis, obtain the details between each point;
House entirety details acquisition submodule is associated point for the details between each point to being obtained Analysis, obtains the whole details in the target house;
Wherein, the details between described each point include:Point between whether be associated with balcony, point between whether be associated with toilet, point Between direction, point between included each attachment type and point between usable floor area;
The whole details in the target house include:The direction in target house and whole usable floor area.
Wherein, details acquisition submodule is specifically used between described point:
For entry door, the main direction of entire house type is determined according to the direction of entry door and the corresponding number of degrees;
For bedroom, it whether there is according to the bedroom and toilet and deposited on the first public wall and first wall Judge whether the bedroom is associated with toilet in attachment, the second public wall and institute whether there is according to the bedroom and balcony It states and judges whether the bedroom is associated with balcony there are attachment on the second wall, according to the direction of the window in the bedroom and bedroom The direction of associated balcony determines the direction in bedroom, and determines the concrete type for the attachment that the bedroom is included and calculate institute State the usable floor area in bedroom;
For between the first kind point, according between the first kind point and balcony is with the presence or absence of public third wall and described the There are attachmentes to judge whether be associated with balcony between the first kind point on three walls, according to the direction of the window between the first kind point The direction of associated balcony determines the direction between the first kind point between the first kind point, and between the determining first kind point Including attachment concrete type and calculate usable floor area between the first kind point;
For between the second class point, the court between second class point is determined according to the direction of the window between second class point To, and determine the concrete type for the attachment for being included between second class point and calculate the usable floor area between described second point.
Wherein, the house entirety details acquisition submodule is specifically used for:
The direction in the target house is determined according to the direction between the main direction of the entire house type and other each point;
The whole usable floor area in the target house is determined according to the usable floor area between described each point.
A kind of method and system automatically generating house floor plan syntax tree proposed by the present invention, based on house floor plan Vector file, the automatic syntax tree for obtaining the details of house floor plan and generate house floor plan, and then by syntax tree into Row visualizes, and can substitute the mode of the details of typing floor plan under boostrap, reduces manpower and materials cost, greatly Ground raising efficiency.
Description of the drawings
Fig. 1 is a kind of flow signal for method automatically generating house floor plan syntax tree that one embodiment of the invention provides Figure;
Fig. 2 is the normal structure schematic diagram of floor plan syntax tree in house provided in an embodiment of the present invention;
The whole details by syntax tree and acquisition target house floor plan that Fig. 3 is provided by one embodiment of the invention The effect diagram visualized;
Fig. 4 is that a kind of structure for system automatically generating house floor plan syntax tree that another embodiment of the present invention provides is shown It is intended to.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical solution in the embodiment of the present invention carries out clear, complete description, it is clear that described embodiment is only It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiment of the present invention, ordinary skill people The every other embodiment that member is obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, being a kind of method automatically generating house floor plan syntax tree that one embodiment of the invention provides Flow diagram, including:
S1, the floor plan vector file based on target house, determine the target house point between type and quantity;
S2 extracts the basic data information between each point in the floor plan vector file in the target house respectively, and to institute It states basic data information and is associated analysis, obtain the whole of details between each point of the target house and the target house Body details;
S3 generates target house family by indicating the details between each point of the target house with tree structure The syntax tree of type figure, and the whole details of the syntax tree and the target house are visualized.
Specifically, the purpose of the present invention is to provide a kind of automatic creation system of floor plan syntax tree, which will mark The vector file of quasi- floor plan extracts the details between each point of floor plan as input, by association analysis.Wherein, family Include all information in house in the vector file of type figure, including:Key dimension data, (wall is by two for point set data The line of a point forms), wall data, minute between data, attachment data and furniture data etc..It can enter house by entry door Inside, by inside house point between be divided by function as 13 classes, including:Entry door, parlor, dining room, kitchen, is defended bedroom Between life, between balcony, balcony, storing, cloakroom, loft, garden and garage.In S1, according to the floor plan vector text in target house Part, determine target house point between type and quantity, that is, determine target house floor plan in there are which above-mentioned type point Between and all types of points between particular number.S2 extracts the basis between each point in the floor plan vector file in the target house Data information, the basic data information refers to the basic data of point corresponding between each point, door, window and wall, to being carried The basic data got be associated analysis refer to analyze each point between point, door, window and wall basic data, obtain point between Whether inside is associated with balcony, is associated with toilet, the direction between point, the size and direction of the attachment for being included between point, such as The size of window, the direction of window, the type of window, the type of door, the direction of door, and point between area decile between it is detailed Information, these details contribute to user to understand the detail of house house type, are that the client of real estate transaction platform is closed The important information of note.After obtaining the details between each point, so that it may with by being associated the details between dividing Analysis and synthesis obtains the premises such as the whole details in house, including the actual use area in the whole direction in house, house Produce client's house Global Information of concern of transaction platform.S3, by the details between each of being obtained point with one Tree structure is indicated, and entire target house house type can be formed by being finally merged together the tree structure between all points The syntax tree of figure, the syntax tree of floor plan be refer to the tree structure being made of the details between each point of floor plan.It generates After the syntax tree of floor plan, being easily achieved by computer can by the progress of the whole details of syntax tree and house floor plan It is shown depending on changing, so as to substitute the details being manually manually entered under line between each point of house floor plan.
A kind of method automatically generating house floor plan syntax tree that the embodiment of the present invention proposes is based on house floor plan Vector file, the automatic syntax tree for obtaining the details of house floor plan and generate house floor plan, and then by syntax tree into Row visualizes, and can substitute the mode of the details of typing floor plan under boostrap, reduces manpower and materials cost, greatly Ground raising efficiency.
Based on above-described embodiment, the target house point between type include:Between entry door, bedroom, the first kind point and the Between two classes point, wherein
Include between the first kind point:Parlor, dining room and kitchen;
Include between second class point:Between toilet, balcony, balcony, storing, cloakroom, loft, garden and garage.
It would know that according to above-described embodiment, 13 classes can be divided into according to function between point, i.e.,:Entry door, bedroom, parlor, meal Between the Room, kitchen, toilet, balcony, balcony, storing, cloakroom, loft, garden and garage.It can summarize substantially between this 13 class point Current house type existing on the market.Due to point between type it is different, the details emphasis for being included between all types of points is not yet It is identical to the greatest extent, therefore, in embodiments of the present invention, details are extracted respectively in order to be directed between different types of point, divide between dividing For following four major class, including:Between entry door, bedroom, the first kind point between the second class point.Wherein, refer between the first kind point parlor, Dining room and kitchen, refer between the second class point between toilet, balcony, balcony, storing, cloakroom, loft, garden and garage.
Based on above-described embodiment, the step S2 further comprises:
S21 is extracted each between each point of the target house from the floor plan vector file in the target house The basic data of corresponding point, door, window and wall between point;
S22 is associated analysis to the basic data of point corresponding between described each point, door, window and wall, obtains each Details between point;
S23 is associated analysis to the details between obtained each point, obtain the target house it is whole in detail Information;Wherein,
Details between described each point include:Point between whether be associated with balcony, point between whether be associated with toilet, point between court To, point between included each attachment type and point between usable floor area;
The whole details in the target house include:The direction in target house and whole usable floor area.
Specifically, step S2 extracts the basic data letter between each point in the floor plan vector file in the target house respectively Breath, and analysis is associated to the basic data information, obtain the details between each point of the target house and the mesh Mark house whole details the specific implementation process is as follows:
S21 is extracted between each of described target house point from the floor plan vector file in the target house The basic data of corresponding point, door, window and wall between each point, obtain point corresponding between each point, door, window and The basic data of wall, so that it may to be associated analysis using these basic datas.
S22 utilizes the basic data of point corresponding between each of being extracted point, door, window and wall to be associated Analysis obtains the details between each point of concern of real estate transaction platform client.Since in the above-described embodiments, we will It is divided into four major class between point, therefore, is directed to this major class respectively, it is specific how to introduce to corresponding between being extracted each point Point, door, window and wall basic data be associated analysis.For entry door, because entry door is related to entire house Direction by the basic data of the entry door got, the direction of entry door therefore can be obtained and when entry door is opened The number of degrees.For bedroom, since bedroom can include toilet and balcony, and whether bedroom includes toilet and/or balcony Therefore being important information for the client of real estate transaction platform for bedroom, will utilize extracted wall Whether bedroom is associated with balcony, whether bedroom is associated with toilet, in addition to this, bedroom for the basic data analysis of body, door, window The usable floor area of direction, the type of door and window that bedroom is included, bedroom is similarly important, these can be by being extracted To bedroom basic data by calculating or analyzing acquisition.For between the first kind point, parlor, dining room and kitchen, air permeability and Daylighting is very important, and therefore, to be utilized the basic data of extracted wall, door, window, be analyzed described first Whether balcony is associated between class point, direction, what kind of the type of window is, the size of window, equally, the using face between the first kind point Product is also critically important.For between the second class point, between toilet, balcony, balcony, storing, cloakroom, loft, garden and garage, it is this kind of Mainly help out between point, in addition to toilet may be associated with bedroom, parlor or kitchen with balcony, between other second classes point Uncommon in general house type, usual user is only concerned direction and usable floor area between this kind of point, therefore utilizes extracted The basic data of point, door, window and wall between two classes point analyzes direction and usable floor area between the second class minute.
In order to carry out specification description to the details between each point obtained and ensure the accuracy of data, this hair The content for including is needed to be defined the details between described each point in bright embodiment, that is, the details between dividing include: Point between whether be associated with balcony, point between whether be associated with toilet, point between direction, point between included each attachment type and point between Usable floor area.
S23 after getting the details between each point, summarizes the passes such as merging by carrying out the details between each point Connection analysis, can know the whole details of target house floor plan, including but not limited to:The direction and entirety in target house Usable floor area.Wherein, the direction in target house be based between each point direction carry out comprehensive analysis obtain, target house it is whole Body usable floor area is to carry out synthesis based on the usable floor area between each point to obtain.
Based on above-described embodiment, the step S22 further comprises:
For entry door, the main direction of entire house type is determined according to the direction of entry door and the corresponding number of degrees;
For bedroom, it whether there is according to the bedroom and toilet and deposited on the first public wall and first wall Judge whether the bedroom is associated with toilet in attachment, the second public wall and institute whether there is according to the bedroom and balcony It states and judges whether the bedroom is associated with balcony there are attachment on the second wall, according to the direction of the window in the bedroom and bedroom The direction of associated balcony determines the direction in bedroom, and determines the concrete type for the attachment that the bedroom is included and calculate institute State the usable floor area in bedroom;
For between the first kind point, according between the first kind point and balcony is with the presence or absence of public third wall and described the There are attachmentes to judge whether be associated with balcony between the first kind point on three walls, according to the direction of the window between the first kind point The direction of associated balcony determines the direction between the first kind point between the first kind point, and between the determining first kind point Including attachment concrete type and calculate usable floor area between the first kind point;
For between the second class point, the court between second class point is determined according to the direction of the window between second class point To, and determine the concrete type for the attachment for being included between second class point and calculate the usable floor area between described second point.
Specifically, for entry door, entry door and the corresponding number of degrees are obtained from the vector file of floor plan, can be obtained The main direction of rounding floor plan.
For bedroom, the basic data of corresponding point, door, window and wall is taken out from the vector file of floor plan, it The association analysis for utilizing data afterwards judges to whether there is attachment on the public wall of bedroom and toilet, such as door, if it does, So bedroom is associated with toilet, and only bedroom can be associated with toilet and all judge without this between other kinds of point.Judge The mode whether bedroom is associated with balcony is same as above.The direction and sun associated by the bedroom that the direction in bedroom takes the window in the bedroom The union of the direction of platform.Determine that the concrete type for the attachment that the bedroom is included, the attachment include:Door, wall, and/or Window.Calculate the usable floor area in the bedroom.The combination of all information can be formed to a tree structure in bedroom.
For between the first kind point --- parlor, dining room, kitchen extract point, door, window from the vector file of floor plan With the basic data of wall.The association analysis for utilizing data later judges to whether there is between dividing and on the public wall of balcony attached Part, such as door.If it is present, parlor is associated with balcony.Direction between the first kind point can take between this point the direction of window with The union of the direction of associated balcony between this point.Determine the concrete type for the attachment for being included between the first kind point, attachment packet It includes:Door, wall, and/or window.Calculate the usable floor area between the first kind point.The combination of all information can be formed described A tree structure between each first kind point.
Be directed between the second class point --- between toilet, balcony, balcony, storing, cloakroom, loft, garden and garage, from Point, door, window and wall basic data are extracted in the vector file of floor plan.Later, the court of window between the second class of acquisition is divided To being exactly direction between this point.And the concrete type of included attachment and described second point of calculating between determining second class point Between usable floor area.All information are combined to the tree structure to be formed between each second class point.
Wherein, the concrete type of door includes:Single open-door, double door, sliding door and elevator door.Window type includes: Float window, French window, the landing of general window, common single side window, the window that commonly floats, landing single side is floatd window.Towards including:East, south, west, north, The southeast, northeast, southwest, northwest.The type of wall includes:Interior wall, exterior wall.
Based on above-described embodiment, the step S23 further comprises:
The direction in the target house is determined according to the direction between the main direction of the entire house type and each point;
The whole usable floor area in the target house is determined according to the usable floor area between each point.
Specifically, all directions between all points are carried out union to summarize, obtains the overall direction of the floor plan, i.e. basis Direction between the main direction (being obtained by the related data of entry door) of the entire house type and other each point asks union to obtain The whole direction in target house.
Usable floor area between all points is added up to the whole usable floor area that can be obtained the target house.
Finally, the tree structure between all points is summarized together, you can obtain the syntax tree of target house floor plan, such as It is the normal structure schematic diagram of floor plan syntax tree in house provided in an embodiment of the present invention shown in Fig. 2.It is easy to by computer Realization visualizes syntax tree, detailed between each point of house floor plan so as to substitute being manually manually entered under line Information.As shown in figure 3, the entirety by syntax tree and acquisition target house floor plan provided by one embodiment of the invention is detailed The effect diagram that information is visualized.
As shown in figure 4, a kind of system automatically generating house floor plan syntax tree provided for another embodiment of the present invention Structural schematic diagram, including:Determining module 41, association analysis module 42 and visualization model 43 between point, wherein
Determining module 41 is used for the floor plan vector file based on target house between described point, determines the target house Type and quantity between point;
In floor plan vector file of the association analysis module 42 for extracting the target house respectively between each point Basic data information, and analysis is associated to the basic data information, obtain the detailed letter between each point of the target house The whole details of breath and the target house;
The visualization model 43 is used for by indicating the details between each point of the target house with tree structure The syntax tree of target house floor plan is generated, and the whole details of the syntax tree and the target house are carried out It visualizes.
Specifically, the purpose of the present invention is to provide a kind of automatic creation system of floor plan syntax tree, which will mark The vector file of quasi- floor plan extracts the details between each point of floor plan as input, by association analysis.Wherein, family Include all information in house in the vector file of type figure, including:Key dimension data, (wall is by two for point set data The line of a point forms), wall data, minute between data, attachment data and furniture data etc..It can enter house by entry door Inside, by inside house point between be divided by function as 13 classes, including:Entry door, parlor, dining room, kitchen, is defended bedroom Between life, between balcony, balcony, storing, cloakroom, loft, garden and garage.Determining module 41 is according to the house type in target house between point Figure vector file, determine target house point between type and quantity, that is, determine target house floor plan in there are it is above-mentioned which Type point between and all types of points between particular number.Association analysis module 42 extracts the floor plan vector in the target house Basic data information in file between each point, the basic data information refer to point, door, window and wall corresponding between each point Basic data, to the basic data extracted be associated analysis refer to analyze each point between point, door, window and wall Basic data, obtains whether inside between dividing is associated with balcony, is associated with toilet, the direction between point, the attachment for being included between point Size and direction, such as the size of window, the direction of window, the type of window, the type of door, the direction of door, and point between Area decile between details, these details contribute to user understand house house type detail, be real estate The client of transaction platform important information of interest.After obtaining the details between each point, so that it may between by that will divide Details be associated analysis and synthesis, obtain the whole details in house, including house is whole towards, house Actually use client's house Global Information of concern of the real estate transactions platforms such as area.Visualization model 43 will be obtained Details between each point are indicated with a tree structure, are finally merged together the tree structure between all points The syntax tree of entire target house floor plan can be formed, the syntax tree of floor plan is to refer to by detailed between each point of floor plan The tree structure that information is constituted.After the syntax tree for generating floor plan, it is easily achieved syntax tree and house by computer The whole details of floor plan are visualized, so as to substitute each point of house floor plan is manually manually entered under line Between details.
A kind of system automatically generating house floor plan syntax tree that the embodiment of the present invention proposes, based on house floor plan Vector file, the automatic syntax tree for obtaining the details of house floor plan and generate house floor plan, and then by syntax tree into Row visualizes, and can substitute the mode of the details of typing floor plan under boostrap, reduces manpower and materials cost, greatly Ground raising efficiency.
Based on above-described embodiment, the target house point between type include:Between entry door, bedroom, the first kind point and the Between two classes point, wherein
Include between the first kind point:Parlor, dining room and kitchen;
Include between second class point:Between toilet, balcony, balcony, storing, cloakroom, loft, garden and garage.
It would know that according to above-described embodiment, 13 classes can be divided into according to function between point, i.e.,:Entry door, bedroom, parlor, meal Between the Room, kitchen, toilet, balcony, balcony, storing, cloakroom, loft, garden and garage.It can summarize substantially between this 13 class point Current house type existing on the market.Due to point between type it is different, the details emphasis for being included between all types of points is not yet It is identical to the greatest extent, therefore, in embodiments of the present invention, details are extracted respectively in order to be directed between different types of point, divide between dividing For following four major class, including:Between entry door, bedroom, the first kind point between the second class point.Wherein, refer between the first kind point parlor, Dining room and kitchen, refer between the second class point between toilet, balcony, balcony, storing, cloakroom, loft, garden and garage.
Based on above-described embodiment, the association analysis module further comprises:
Basic information acquisition submodule, between being directed to each point of the target house, the house type from the target house The basic data of point corresponding between each point, door, window and wall is extracted in figure vector file;
Details acquisition submodule between point, for the basis to point corresponding between described each point, door, window and wall Data are associated analysis, obtain the details between each point;
House entirety details acquisition submodule is associated point for the details between each point to being obtained Analysis, obtains the whole details in the target house;
Wherein, the details between described each point include:Point between whether be associated with balcony, point between whether be associated with toilet, point Between direction, point between included each attachment type and point between usable floor area;
The whole details in the target house include:The direction in target house and whole usable floor area.
Specifically, basic information acquisition submodule is directed between each of described target house point, from the target house The basic data that point corresponding between each point, door, window and wall are extracted in floor plan vector file, obtains each point Between corresponding point, door, window and wall basic data, so that it may to be associated analysis using these basic datas.
Details acquisition submodule between point utilizes point, door, window and wall corresponding to being extracted between each point Basic data be associated analysis, obtain the details between each point of concern of real estate transaction platform client.Due to In above-described embodiment, we are divided into four major class between dividing, and therefore, are directed to this major class respectively, specific how to introduce to being carried Corresponding point between each of getting point, door, window and wall basic data be associated analysis.For entry door, because Entry door is related to therefore the direction in entire house by the basic data of the entry door got, can obtain entry door Number of degrees when direction and entry door are opened.For bedroom, since bedroom can include toilet and balcony, and bedroom whether Including toilet and/or balcony are important information for the client of real estate transaction platform, therefore, for bedroom, Utilize the basic data of extracted wall, door, window analyzes whether bedroom is associated with balcony, whether bedroom is associated with health Between, in addition to this, the usable floor area of the direction in bedroom, the type of door and window that bedroom is included, bedroom is similarly important, this It a bit can be by the basic data in the bedroom extracted by calculating or analyzing acquisition.Between dividing for the first kind, parlor, meal The Room and kitchen, air permeability and daylighting are very important, and therefore, to utilize the basic number of extracted wall, door, window According to, it analyzing and whether is associated with balcony between the first kind point, direction, what kind of the type of window is, the size of window, equally, Usable floor area between the first kind point is also critically important.For between the second class point, between toilet, balcony, balcony, storing, cloakroom, pavilion Building, garden and garage mainly help out between this kind of point, in addition to toilet may be associated with bedroom, parlor or kitchen with balcony Room, other second classes are not common in general house type between dividing, and usual user is only concerned direction and usable floor area between this kind of point, Therefore the basic data of the point between the second extracted class point, door, window and wall is utilized to analyze the direction between the second class minute With usable floor area.
In order to carry out specification description to the details between each point obtained and ensure the accuracy of data, this hair The content for including is needed to be defined the details between described each point in bright embodiment, that is, the details between dividing include: Point between whether be associated with balcony, point between whether be associated with toilet, point between direction, point between included each attachment type and point between Usable floor area.
After getting the details between each point, connecting houses room entirety details acquisition submodule is crossed will be detailed between each point Thin information carries out summarizing the association analysis such as merging, can know the whole details of target house floor plan, including but unlimited In:The direction in target house and whole usable floor area.
Based on above-described embodiment, details acquisition submodule is specifically used between described point:
For entry door, the main direction of entire house type is determined according to the direction of entry door and the corresponding number of degrees;
For bedroom, it whether there is according to the bedroom and toilet and deposited on the first public wall and first wall Judge whether the bedroom is associated with toilet in door, according to the bedroom and balcony with the presence or absence of the second public wall and described Judge whether the bedroom is associated with balcony there are door on second wall, is closed according to the direction of the window in the bedroom and bedroom The direction of connection balcony determines the direction in bedroom, and determines the door in the bedroom and/or concrete type and the bedroom of window Usable floor area;
For between the first kind point, according between the first kind point and balcony is with the presence or absence of public third wall and described the There are doors to judge whether be associated with balcony between the first kind point on three walls, according to the direction of the window between the first kind point with The direction of associated balcony determines the direction between the first kind point between the first kind point, and between the determining first kind point Usable floor area between the concrete type and the first kind point of door and/or window;
For between the second class point, the court between second class point is determined according to the direction of the window between second class point To, and determine door and/or window between second class point concrete type and it is second point described between usable floor area.
Specifically, details acquisition submodule is used between described point:
For entry door, entry door and the corresponding number of degrees are obtained from the vector file of floor plan, can be obtained entire The main direction of floor plan.
For bedroom, the basic data of corresponding point, door, window and wall is taken out from the vector file of floor plan, it The association analysis for utilizing data afterwards judges to whether there is attachment on the public wall of bedroom and toilet, such as door, if it does, So bedroom is associated with toilet, and only bedroom can be associated with toilet and all judge without this between other kinds of point.Judge The mode whether bedroom is associated with balcony is same as above.The direction and sun associated by the bedroom that the direction in bedroom takes the window in the bedroom The union of the direction of platform.Determine that the concrete type for the attachment that the bedroom is included, the attachment include:Door, wall, and/or Window.Calculate the usable floor area in the bedroom.The combination of all information can be formed to a tree structure in bedroom.
For between the first kind point --- parlor, dining room, kitchen extract point, door, window from the vector file of floor plan With the basic data of wall.The association analysis for utilizing data later judges to whether there is between dividing and on the public wall of balcony attached Part, such as door.If it is present, parlor is associated with balcony.Direction between the first kind point can take between this point the direction of window with The union of the direction of associated balcony between this point.Determine the concrete type for the attachment for being included between the first kind point, attachment packet It includes:Door, wall, and/or window.Calculate the usable floor area between the first kind point.The combination of all information can be formed described A tree structure between each first kind point.
Be directed between the second class point --- between toilet, balcony, balcony, storing, cloakroom, loft, garden and garage, from Point, door, window and wall basic data are extracted in the vector file of floor plan.Later, the court of window between the second class of acquisition is divided To being exactly direction between this point.And the concrete type of included attachment and described second point of calculating between determining second class point Between usable floor area.All information are combined to the tree structure to be formed between each second class point.
Wherein, the concrete type of door includes:Single open-door, double door, sliding door and elevator door.Window type includes: Float window, French window, the landing of general window, common single side window, the window that commonly floats, landing single side is floatd window.Towards including:East, south, west, north, The southeast, northeast, southwest, northwest.The type of wall includes:Interior wall, exterior wall.
Based on above-described embodiment, the house entirety details acquisition submodule is specifically used for:
The direction in the target house is determined according to the direction between the main direction of the entire house type and each point;
The whole usable floor area in the target house is determined according to the usable floor area between described each point.
Will be between all points it is all summarize towards carrying out unions, obtain the overall direction of the floor plan, i.e., according to Direction between the main direction (being obtained by the related data of entry door) of entire house type and other each point asks union to obtain target The whole direction in house.
Usable floor area between all points is added up to the whole usable floor area that can be obtained the target house.
Finally, method of the invention is only preferable embodiment, is not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent replacement, improvement and so on should be included in the protection of the present invention Within the scope of.

Claims (10)

1. a kind of method automatically generating house floor plan syntax tree, which is characterized in that including:
S1, the floor plan vector file based on target house, determine the target house point between type and quantity;
S2 extracts the basic data information between each point in the floor plan vector file in the target house respectively, and to the base Plinth data information is associated analysis, obtains the entirety of the details and the target house between each point of the target house in detail Thin information;
S3 generates target house floor plan by indicating the details between each point of the target house with tree structure Syntax tree, and the whole details of the syntax tree and the target house are visualized.
2. according to the method described in claim 1, it is characterized in that, the target house point between type include:Entry door crouches Between room, the first kind point between the second class point, wherein
Include between the first kind point:Parlor, dining room and kitchen;
Include between second class point:Between toilet, balcony, balcony, storing, cloakroom, loft, garden and garage.
3. according to the method described in claim 2, it is characterized in that, the step S2 further comprises:
S21 is extracted from the floor plan vector file in the target house between each point between each point of the target house The basic data of corresponding point, door, window and wall;
S22 is associated analysis to the basic data of point corresponding between described each point, door, window and wall, obtains between each point Details;
S23 is associated analysis to the details between obtained each point, obtains the whole letter in detail in the target house Breath;Wherein,
Details between described each point include:Point between whether be associated with balcony, point between whether be associated with toilet, point between direction, Point between included each attachment type and point between usable floor area;
The whole details in the target house include:The direction in target house and whole usable floor area.
4. according to the method described in claim 3, it is characterized in that, the step S22 further comprises:
For entry door, the main direction of entire house type is determined according to the direction of entry door and the corresponding number of degrees;
For bedroom, according to the bedroom and toilet with the presence or absence of there are attached on the first public wall and first wall Part judges whether the bedroom is associated with toilet, according to the bedroom and balcony with the presence or absence of the second public wall and described the Judge whether the bedroom is associated with balcony there are attachment on two walls, is closed according to the direction of the window in the bedroom and bedroom The direction of connection balcony determines the direction in bedroom, and determines the concrete type for the attachment that the bedroom is included and calculate described sleeping The usable floor area of room;
For between the first kind point, it whether there is public third wall and the third wall with balcony according between the first kind point There are attachmentes to judge whether be associated with balcony between the first kind point on body, according to the direction of the window between the first kind point and institute The direction for stating associated balcony between the first kind point determines direction between the first kind point, and determines and wrapped between the first kind point Usable floor area between the concrete type of the attachment contained and the calculating first kind point;
For between the second class point, the direction between second class point is determined according to the direction of the window between second class point, and It determines the concrete type for the attachment for being included between second class point and calculates the usable floor area between described second point.
5. according to the method described in claim 4, it is characterized in that, the step S23 further comprises:
The direction in the target house is determined according to the direction between the main direction of the entire house type and other each point;
The whole usable floor area in the target house is determined according to the usable floor area between each point.
6. a kind of system automatically generating house floor plan syntax tree, which is characterized in that including:
Point between determining module, be used for the floor plan vector file based on target house, determine the target house point between type And quantity;
Association analysis module, the basic data letter in the floor plan vector file for extracting the target house respectively between each point Breath, and analysis is associated to the basic data information, obtain the details between each point of the target house and the mesh Mark the whole details in house;
Visualization model, for by indicating the details between each point of the target house with tree structure to generate the mesh The syntax tree of house floor plan is marked, and visualization exhibition is carried out to the whole details of the syntax tree and the target house Show.
7. system according to claim 6, which is characterized in that the target house point between type include:Entry door crouches Between room, the first kind point between the second class point, wherein
Include between the first kind point:Parlor, dining room and kitchen;
Include between second class point:Between toilet, balcony, balcony, storing, cloakroom, loft, garden and garage.
8. system according to claim 7, which is characterized in that the association analysis module further comprises:
Basic information acquisition submodule, for between each point of the target house, being sweared from the floor plan in the target house The basic data of point corresponding between each point, door, window and wall is extracted in amount file;
Details acquisition submodule between point, for the basic data to point corresponding between described each point, door, window and wall It is associated analysis, obtains the details between each point;
House entirety details acquisition submodule is associated analysis for the details between each point to being obtained, obtains Obtain the whole details in the target house;
Wherein, the details between described each point include:Point between whether be associated with balcony, point between whether be associated with toilet, point between Towards, point between included each attachment type and point between usable floor area;
The whole details in the target house include:The direction in target house and whole usable floor area.
9. system according to claim 8, which is characterized in that details acquisition submodule is specifically used between described point:
For entry door, the main direction of entire house type is determined according to the direction of entry door and the corresponding number of degrees;
For bedroom, according to the bedroom and toilet with the presence or absence of there are attached on the first public wall and first wall Part judges whether the bedroom is associated with toilet, according to the bedroom and balcony with the presence or absence of the second public wall and described the Judge whether the bedroom is associated with balcony there are attachment on two walls, is closed according to the direction of the window in the bedroom and bedroom The direction of connection balcony determines the direction in bedroom, and determines the concrete type for the attachment that the bedroom is included and calculate described sleeping The usable floor area of room;
For between the first kind point, it whether there is public third wall and the third wall with balcony according between the first kind point There are attachmentes to judge whether be associated with balcony between the first kind point on body, according to the direction of the window between the first kind point and institute The direction for stating associated balcony between the first kind point determines direction between the first kind point, and determines and wrapped between the first kind point Usable floor area between the concrete type of the attachment contained and the calculating first kind point;
For between the second class point, the direction between second class point is determined according to the direction of the window between second class point, and It determines the concrete type for the attachment for being included between second class point and calculates the usable floor area between described second point.
10. system according to claim 9, which is characterized in that the house entirety details acquisition submodule is specific For:
The direction in the target house is determined according to the direction between the main direction of the entire house type and other each point;
The whole usable floor area in the target house is determined according to the usable floor area between described each point.
CN201810045011.XA 2018-01-17 2018-01-17 A kind of method and system automatically generating house floor plan syntax tree Pending CN108388577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810045011.XA CN108388577A (en) 2018-01-17 2018-01-17 A kind of method and system automatically generating house floor plan syntax tree

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810045011.XA CN108388577A (en) 2018-01-17 2018-01-17 A kind of method and system automatically generating house floor plan syntax tree

Publications (1)

Publication Number Publication Date
CN108388577A true CN108388577A (en) 2018-08-10

Family

ID=63077091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810045011.XA Pending CN108388577A (en) 2018-01-17 2018-01-17 A kind of method and system automatically generating house floor plan syntax tree

Country Status (1)

Country Link
CN (1) CN108388577A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110246573A (en) * 2019-05-15 2019-09-17 赛尔科创(深圳)科技有限公司 The automatic method of hospital's functional planning and areal calculation, device and terminal device
CN111145293A (en) * 2019-12-18 2020-05-12 北京城市网邻信息技术有限公司 Method and device for reconstructing outline of house-type graph and electronic equipment
CN111382805A (en) * 2020-04-02 2020-07-07 贝壳技术有限公司 Method, electronic device, and medium for processing house type vector data of house
CN117274423A (en) * 2023-08-23 2023-12-22 瑞庭网络技术(上海)有限公司 House source information processing method and device, electronic equipment and storage medium
CN117975059A (en) * 2024-02-28 2024-05-03 途家网网络技术(北京)有限公司 Similar house determining method, storage medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001182338A (en) * 1999-12-27 2001-07-06 Sekisui House Ltd Residence
CN106528904A (en) * 2016-07-09 2017-03-22 陈志静 Residential house chart building structure intelligent recognition and functional area automatic planning and designing method
CN106651803A (en) * 2016-12-27 2017-05-10 杭州群核信息技术有限公司 House type data identification method and device
CN107016071A (en) * 2017-03-23 2017-08-04 中国科学院计算技术研究所 A kind of method and system of utilization simple path characteristic optimization tree data
CN107122528A (en) * 2017-04-13 2017-09-01 广州乐家数字科技有限公司 A kind of floor plan parametrization can edit modeling method again
CN107133027A (en) * 2017-03-30 2017-09-05 南京南瑞继保电气有限公司 A kind of syntax tree stratification method for expressing
CN107153606A (en) * 2016-03-04 2017-09-12 郭德贵 A kind of program analyzes process visualization method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001182338A (en) * 1999-12-27 2001-07-06 Sekisui House Ltd Residence
CN107153606A (en) * 2016-03-04 2017-09-12 郭德贵 A kind of program analyzes process visualization method and system
CN106528904A (en) * 2016-07-09 2017-03-22 陈志静 Residential house chart building structure intelligent recognition and functional area automatic planning and designing method
CN106651803A (en) * 2016-12-27 2017-05-10 杭州群核信息技术有限公司 House type data identification method and device
CN107016071A (en) * 2017-03-23 2017-08-04 中国科学院计算技术研究所 A kind of method and system of utilization simple path characteristic optimization tree data
CN107133027A (en) * 2017-03-30 2017-09-05 南京南瑞继保电气有限公司 A kind of syntax tree stratification method for expressing
CN107122528A (en) * 2017-04-13 2017-09-01 广州乐家数字科技有限公司 A kind of floor plan parametrization can edit modeling method again

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
方小翠: "虚拟场景辅助设计技术和展示技术研究及其在房产的应用", 《中国优秀博硕士学位论文全文数据库 (硕士) 信息科技辑》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110246573A (en) * 2019-05-15 2019-09-17 赛尔科创(深圳)科技有限公司 The automatic method of hospital's functional planning and areal calculation, device and terminal device
CN111145293A (en) * 2019-12-18 2020-05-12 北京城市网邻信息技术有限公司 Method and device for reconstructing outline of house-type graph and electronic equipment
CN111145293B (en) * 2019-12-18 2020-12-29 北京城市网邻信息技术有限公司 Method and device for reconstructing outline of house-type graph and electronic equipment
CN111382805A (en) * 2020-04-02 2020-07-07 贝壳技术有限公司 Method, electronic device, and medium for processing house type vector data of house
CN117274423A (en) * 2023-08-23 2023-12-22 瑞庭网络技术(上海)有限公司 House source information processing method and device, electronic equipment and storage medium
CN117274423B (en) * 2023-08-23 2024-06-04 瑞庭网络技术(上海)有限公司 House source information processing method and device, electronic equipment and storage medium
CN117975059A (en) * 2024-02-28 2024-05-03 途家网网络技术(北京)有限公司 Similar house determining method, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN108388577A (en) A kind of method and system automatically generating house floor plan syntax tree
KR100538082B1 (en) Integrated building information management system based on augmented reality
Harshaw et al. Using the recreation opportunity spectrum to evaluate the temporal impacts of timber harvesting on outdoor recreation settings
Park et al. Design elements to improve pleasantness, vitality, safety, and complexity of the pedestrian environment: Evidence from a Korean neighbourhood walkability case study
Scerri et al. The value of architecture to tourism
Bouma et al. Soil and water quality at different scales: concepts, challenges, conclusions and recommendations
Shach‐Pinsly Visual openness and visual exposure analysis models used as evaluation tools during the urban design development process
Zhang et al. Vis4heritage: visual analytics approach on grotto wall painting degradations
Turan et al. Evaluating spatially-distributed views in open plan work spaces
KR20090022816A (en) Method and apparatus for generating three dimension geographic information about the inner structure
Ostwald et al. Representing architecture for fractal analysis: a framework for identifying significant lines
Berg Categorising a historic building stock-an interdisciplinary approach
Maino et al. A quantitative physiognomic analysis of contemporary farm buildings to improve awareness in rural planning
Said et al. A parametric shape grammar of the traditional Malay long-roof type houses
Stephan House size and economic growth: Regional trajectories in the roman world
Şen et al. Examination of traditional residences in Bitlis on the Zeydan District Scale in the context of space syntax analysis techniques
Zhang BIM to GIS-based building model conversion in support of urban energy simulation
Safdarian et al. Study of the impact of culture on qualitative structure of residential complexes in Tehran
JP2005209017A (en) Building planning support system
Kertai Architectural assemblages: the northwest complex at Zincirli
Michielin Fores et fenestrae. A computational study of doors and windows in Roman domestic space
Sung A Study on the Plan Characteristics and Unit Floor Type Through the Zoning Analysis of High-rise Residential Buildings
Carmean The ancient households of Sayil: A study of wealth in terminal classic Maya society
Dean Urban Neighbourhoods: Social and Spatial Development in York, c. 600-1600
Fitri The Effects of Destination Attributes and Benefits on Decision Making of MICE Stakeholders in Medan City

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Applicant after: Seashell Housing (Beijing) Technology Co., Ltd.

Address before: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Applicant before: Chain home network (Beijing) Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180810