CN117274424A - House source information processing method and device, electronic equipment and storage medium - Google Patents

House source information processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117274424A
CN117274424A CN202311072374.XA CN202311072374A CN117274424A CN 117274424 A CN117274424 A CN 117274424A CN 202311072374 A CN202311072374 A CN 202311072374A CN 117274424 A CN117274424 A CN 117274424A
Authority
CN
China
Prior art keywords
target
line
room
house type
coordinate
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.)
Granted
Application number
CN202311072374.XA
Other languages
Chinese (zh)
Other versions
CN117274424B (en
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.)
Ruiting Network Technology Shanghai Co ltd
Original Assignee
Ruiting Network Technology Shanghai Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ruiting Network Technology Shanghai Co ltd filed Critical Ruiting Network Technology Shanghai Co ltd
Priority to CN202311072374.XA priority Critical patent/CN117274424B/en
Priority claimed from CN202311072374.XA external-priority patent/CN117274424B/en
Publication of CN117274424A publication Critical patent/CN117274424A/en
Application granted granted Critical
Publication of CN117274424B publication Critical patent/CN117274424B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • G06Q30/0643Graphical representation of items or shoppers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/16Real estate
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/40Filling a planar surface by adding surface attributes, e.g. colour or texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/04Architectural design, interior design

Abstract

The application provides a house source information processing method, a house source information processing device, electronic equipment and a storage medium, wherein the house source information processing method comprises the following steps: according to the two-dimensional house type vector diagram of the target house source, determining the association relationship among the door body object, the window body object, the wall body object and the room object of the target house source; determining original line-moving data corresponding to a target room object through which the line passes according to the association relation, wherein the original line-moving data is associated with N lines of line-moving; acquiring first coordinate sets corresponding to N lines respectively based on the original line data, wherein the first coordinate sets comprise coordinate information corresponding to each coordinate point on the moving line respectively; and carrying out line rendering on the two-dimensional house type graph corresponding to the target house source based on the first coordinate sets respectively corresponding to the N lines, and obtaining the target house type graph carrying the line. The method and the device can adopt automatic calculation logic, improve production efficiency, flexibly adjust the marking condition of the line based on house type change, ensure effectiveness and improve the authenticity of the drawn line.

Description

House source information processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and apparatus for processing room source information, an electronic device, and a storage medium.
Background
The moving line refers to the moving path of people in the room, and whether the moving line is smooth or not can influence the living quality of people. The indoor line is mainly three types, namely a living line, a household line and a visitor line. Standard lines require that three lines entering the living room, bedroom and kitchen at the entrance door do not cross.
In the prior art, when the house type evaluation is performed, operators manually rate and mark the house type according to house type diagrams based on the positions of house type orientations, door, window, room layout and the like, manually draw moving and static lines through image processing, and store the pictures with the moving and static lines drawn for house type evaluation.
Because manual intervention is needed and a manual drawing mode is adopted to draw the dynamic and static lines, the production efficiency is low and the effectiveness is poor; and the dynamic and static reality of the manual drawing is poor, so that the visual experience of a browsing user is influenced.
Disclosure of Invention
In view of the foregoing, embodiments of the present application provide a room source information processing method, apparatus, electronic device, and storage medium that overcome or at least partially solve the foregoing problems.
In a first aspect, an embodiment of the present application provides a method for processing room source information, including:
according to a two-dimensional house type vector diagram of a target house source, determining association relations among a door body object, a window body object, a wall body object and a room object of the target house source;
According to the association relation, original line-moving data corresponding to a target room object through which the line moves is determined, wherein the original line-moving data is associated with N lines of movement;
acquiring first coordinate sets corresponding to the N lines respectively based on the original line data, wherein the first coordinate sets comprise coordinate information corresponding to each coordinate point on the moving line respectively, and N is an integer greater than or equal to 1;
and carrying out line rendering on the two-dimensional house type graph corresponding to the target house source based on the first coordinate sets respectively corresponding to the N lines, and obtaining the target house type graph carrying the line.
In a second aspect, an embodiment of the present application provides a room source information processing apparatus, including:
the first determining module is used for determining the association relationship among the door body object, the window body object, the wall body object and the room object of the target house source according to the two-dimensional house type vector diagram of the target house source;
the second determining module is used for determining original line data corresponding to the target room object through which the line passes according to the association relation, wherein the original line data is associated with N lines;
the first processing module is used for acquiring first coordinate sets corresponding to the N lines respectively based on the original line data, wherein the first coordinate sets comprise coordinate information corresponding to each coordinate point on the moving line respectively, and N is an integer greater than or equal to 1;
And the second processing module is used for carrying out line rendering on the two-dimensional house type graph corresponding to the target house source based on the first coordinate sets respectively corresponding to the N lines, and obtaining the target house type graph carrying the line.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program is executed by the processor to implement the steps of the room source information processing method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having a computer program stored thereon, the computer program implementing the steps of the room source information processing method according to the first aspect, when the computer program is executed by a processor.
According to the technical scheme, through determining the target room object through which the moving line passes and acquiring the original moving line data corresponding to the target room object, acquiring the first coordinate sets corresponding to the N moving lines respectively based on the original moving line data, and conducting moving line rendering on the two-dimensional house type graph corresponding to the target house source based on the first coordinate sets corresponding to the N moving lines respectively, the logic of automatic calculation can be adopted, the production efficiency is improved, the moving line labeling condition is flexibly adjusted based on the monitored house type change, the effectiveness is guaranteed, the reality of the moving line which is automatically drawn is good, and the visual experience of a browsing user can be improved.
Drawings
Fig. 1 shows a schematic diagram of a method for processing room source information according to an embodiment of the present application;
FIG. 2a shows an example of forming an air wall and a real wall between a living room and a restaurant provided by an embodiment of the present application;
FIG. 2b illustrates an example of determining visible wall points provided by embodiments of the present application;
FIG. 3 illustrates an example of rendering multiple visual areas provided by an embodiment of the present application;
FIG. 4 shows one of the schematic diagrams of the display house type evaluation page provided in the embodiment of the present application;
FIG. 5 is a flowchart of an embodiment of rendering a visual area, displaying a privacy label, and displaying spatial layout evaluation information according to an embodiment of the present application;
fig. 6 shows a second schematic diagram of a room source information processing method provided in an embodiment of the present application;
FIG. 7 illustrates an example of a display residential, visitor, and household line provided by an embodiment of the present application;
FIG. 8 shows a second schematic diagram of a display type evaluation page provided in an embodiment of the present application;
fig. 9 shows a schematic diagram III of a room source information processing method provided in an embodiment of the present application;
FIG. 10 shows an example of ventilation information provided by an embodiment of the present application;
FIG. 11 shows a third schematic diagram of a display house type evaluation page according to an embodiment of the present application;
FIG. 12 is a schematic diagram of a room source information processing device according to an embodiment of the present application;
fig. 13 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. The plurality of embodiments of the present application may include two and more than two.
In various embodiments of the present application, it should be understood that the sequence numbers of the following processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
The embodiment of the application provides a room source information processing method for rendering a visual area on a two-dimensional house type graph, which is shown in fig. 1 and comprises the following steps:
step 101, determining a door entry object and a point location set of a target house source according to a two-dimensional house type vector diagram of the target house source, wherein the point location set comprises a plurality of wall body point locations corresponding to the target house source.
The target house source in the embodiment of the application is a house source to be displayed, such as a recommended house source, a house source selected by a customer, and the like. Aiming at a target house source, a corresponding two-dimensional house type vector diagram needs to be obtained, wherein the two-dimensional house type vector diagram is a house type vector diagram, and the house type vector diagram can comprise the positions of all objects in the target house and the relative position relation among all objects.
After the two-dimensional house type vector diagram of the target house source is obtained, the entrance door object of the target house source can be determined based on the two-dimensional house type vector diagram, and the point position set comprising a plurality of wall body point positions corresponding to the target house source can be determined. By determining the entrance door object, the entrance visible area can be determined based on the entrance door object, and the entrance visible area is marked at the front end, so that a user can conveniently browse the entrance visible condition of a target house source through a picture displayed at the front end. By determining the set of points, the in-home visual points may be filtered based on the set of points to determine an in-home visual region based on the in-home visual point locations.
Step 102, for each sampling point on the entrance door object, screening out a visible area lattice corresponding to the sampling point from the point location set, where the entrance door object corresponds to M sampling points, and M is an integer greater than or equal to 1.
After the door entry object is determined, M sampling points can be determined on the door entry object in a preset sampling mode, wherein M is an integer greater than or equal to 1. For example, the value of M is 3, and since the door entry object is represented as a line shape on the two-dimensional family type vector diagram, sampling points can be respectively selected at two end points and a middle point of the line, so as to determine 3 sampling points. Of course, the number of sampling points may be other cases, such as 2, 4, 5, etc. sampling points, and selecting 3 sampling points, compared with other numbers, may obtain a relatively comprehensive sampling case with a relatively small number of sampling points, which is a preferred embodiment.
After determining the M sampling points, selecting a visual area lattice corresponding to the current sampling point from a point set comprising a plurality of wall points according to each sampling point in the M sampling points, wherein the visual area lattice corresponding to the sampling point comprises a plurality of visual points corresponding to the sampling points, and determining a visual area corresponding to the sampling points on the two-dimensional household graph based on the visual area lattice by determining the visual area lattice corresponding to the sampling points, thereby realizing the rendering of the household visual area on the two-dimensional household graph.
And 103, performing visual area rendering on the two-dimensional house type map corresponding to the target house source according to the visual area lattice corresponding to each sampling point, and obtaining the target house type map.
After determining the visual area lattices corresponding to the M sampling points respectively, determining a corresponding household visual area on the two-dimensional household pattern corresponding to the target house source based on the visual area lattice corresponding to the current sampling point for each sampling point, and rendering the household visual area on the two-dimensional household pattern to generate the target household pattern carrying the visual area mark through area rendering.
It should be noted that, in the case where the value of M is greater than 1, since each sampling point corresponds to a visual area, there may be an overlapping portion in the M visual areas rendered on the two-dimensional family chart, and the overlapping portion may be in a highlighted form.
According to the implementation process, the entrance door object and the point location set are determined based on the two-dimensional house type vector diagram, the visible area lattice corresponding to each sampling point on the entrance door object is screened out from the point location set, the visible area rendering is carried out on the two-dimensional house type diagram based on the visible area lattice corresponding to the sampling points, quantitative analysis of house type privacy can be achieved, the entrance visible condition can be visually displayed, house source browsing user online house watching experience is improved, meanwhile, automatic calculation logic is adopted, labeling efficiency can be improved, labeling conditions are flexibly adjusted based on monitored house type change, and effectiveness is guaranteed.
The process of determining the entrance door object and the point location set is described below. When determining the entrance door object of the target house source according to the two-dimensional house type vector diagram of the target house source, the method comprises the following steps:
based on position matching and lattice alignment, carrying out structural relation analysis on the two-dimensional house type vector diagram to obtain association relations among door body objects, window body objects, wall body objects and room objects;
and positioning the entrance door object according to the association relation and the position information of the door object.
Each room object in the two-dimensional house type vector diagram can correspond to a coordinate system, and based on position matching and lattice alignment, different room objects can be unified under the same coordinate system, so that structural relation analysis is performed on the two-dimensional house type vector diagram under the same coordinate system, and association relations among door body objects, window body objects, wall body objects (entity wall body objects) and room objects are obtained. The association relationship among the door body object, the window body object, the wall body object and the room object is acquired, so that the room to which the door body object, the window body object and the wall body object belong can be determined.
Under the condition of acquiring the association relationship, the door-in object can be positioned according to the association relationship and the position information of the door object. Because the association relation can reflect the association between the door object and the room object, the door object associated with the vestibule object can be determined, and the entrance door object is positioned based on the position information of the door object.
The method comprises the steps of analyzing the two-dimensional house type vector diagram to determine the association relationship, and positioning the house entrance door object based on the association relationship and the position information of the door object, so that the follow-up determination of sampling points on the house entrance door object can be facilitated, and the house entrance visible area is determined based on the determined sampling points.
When determining the point position set according to the two-dimensional house type vector diagram of the target house source, the method comprises the following steps:
determining position information of a door body object, a window body object and an air wall object based on the two-dimensional house type vector diagram, and re-dividing the wall object based on the determined position information, wherein the divided wall object is a solid wall object;
determining a wall inflection point and a wall breakpoint for the re-segmented wall object, and determining the point location set based on the wall inflection point and the wall breakpoint;
wherein the wall breakpoint is determined based on the door object, the window object, or the air wall object.
When the point position set is determined, firstly, the position information of the door body object, the window body object and the air wall object is determined based on the two-dimensional house type vector diagram, and then the entity wall object is re-segmented based on the determined position information. The air wall object is understood as an unreal wall body, but can play a role in segmentation, and from the aspect of data, the wall is a line segment which encloses an area, then the air wall is opened through a door and a window, and the door is a door, and the wall corresponding to the openArea is generally called an air wall. For example, referring to fig. 2a, an air wall (dotted line part in the figure) is formed between a living room and a dining room, and two sides of the air wall are real walls with smaller widths, and the real walls and the air wall are matched to divide the living room and the dining room. For the door object and the window object, since the door object and the window object are embedded in the wall object (solid wall object), dividing the wall object (solid wall object) based on the position information of the door object and the window object can be regarded as splitting the wall object (solid wall object) corresponding to the door object and the window object.
For the entity wall object after the repartition, a wall inflection point and a wall breakpoint can be determined, when the wall inflection point and the wall breakpoint are determined, the door body object, the window body object and the air wall object need to be removed, and then the wall inflection point and the wall breakpoint are determined for the remaining entity wall object. For the wall breakpoint, the wall breakpoint can be determined based on the positions of the door object, the window object and the air wall object. The following describes, by way of example, the determination of the inflection point and the breakpoint of the wall, referring to fig. 2a, points a, B, C, D, E, F, and G in the drawing belong to the inflection point of the wall, and points H and I are the determined breakpoints of the wall based on the air wall object.
After the inflection point and the breakpoint of the wall body are determined, the point location set corresponding to the target room source can be determined based on the inflection point and the breakpoint of the wall body, so that an original point location set is provided, and the visible area lattice corresponding to the sampling point can be conveniently screened from the original point location set.
The method comprises the steps of re-dividing the entity wall body object based on the door body object, the window body object and the air wall object, determining the inflection point and the breakpoint of the wall body after filtering the door body object, the window body object and the air wall object, and obtaining the original point location set based on the re-division of the entity wall body object.
The following describes a process of determining a visible area lattice corresponding to a sampling point in a point location set, where the step of screening the visible area lattice corresponding to the sampling point from the point location set includes:
determining a first ray according to the sampling point and each wall point in the point location set, wherein the sampling point is an endpoint of the first ray;
and screening out the visible area lattice from the point set based on a first collision relation between a first ray corresponding to each wall point and other wall objects different from the current wall point, wherein the current wall object is the wall object where the current wall point is located.
For each sampling point on the door object, a visible wall point position corresponding to the current sampling point needs to be screened out from the point position set, and a visible area lattice corresponding to the sampling point is determined based on the visible wall point position. When screening a corresponding visible wall point in a point location set for any sampling point, determining a first ray based on a current sampling point (corresponding to the current wall point) and the current wall point for each wall point in the point location set, wherein the current sampling point is used as an endpoint of the first ray; and then detecting a first collision relation between the first ray and other wall objects (entity wall objects) different from the current wall object (entity wall object where the current wall point is located), and determining a visible wall point corresponding to the current sampling point based on the first collision relation so as to screen out a visible area lattice corresponding to the current sampling point from the point set. The first ray here may also be replaced by a line segment.
The screening the visible area lattice from the point location set based on the first collision relation between the first ray corresponding to each wall point location and other wall objects different from the current wall object includes:
for each wall point, detecting whether a first ray corresponding to the wall point intersects other wall objects different from the current wall object;
under the condition that a first ray corresponding to the wall point position is not intersected with other wall objects different from the current wall object, determining that the wall point position meets a visual condition;
under the condition that a first ray corresponding to the wall point position intersects with other wall objects different from the current wall object, determining that the first intersected wall point position meets a visual condition;
and determining the visible area lattice based on the wall point positions meeting the visible conditions.
When the visual wall point positions are screened based on the first collision relation, whether a first ray corresponding to the current wall point position is intersected with other wall objects different from the current wall object or not can be detected for each wall point position, if the first ray is intersected with the other wall objects, it is determined that the first intersected wall point position meets visual conditions, namely, the current wall point position does not belong to the visual wall point position of the sampling point, but the first intersected wall point position belongs to the visual wall point position, and correspondingly, if the first ray is not intersected with the other wall objects, it is indicated that the current wall point position meets visual conditions, namely, the current wall point position belongs to the visual wall point position of the sampling point, and based on the screened wall point positions meeting the visual conditions, a visual area lattice corresponding to the sampling point is determined.
It should be noted that in the above case, the first ray may be a line segment, that is, only consider the intersection condition of the line segment determined by the two endpoints and other wall objects; under special conditions, the intersecting condition of the first ray and other wall objects needs to be considered, and when the visual wall point is determined, and the current wall point is determined to be the visual wall point based on the connection line of the current wall point and the sampling point, the visual wall point corresponding to the extension line (ray) of the connection line needs to be continuously considered, so that as many wall points meeting the visual condition can be found as possible. As shown in fig. 2b, the point I is a wall breakpoint, and since the connection line between the sampling point on the entrance door and the wall breakpoint I is not collided with the wall object, the wall breakpoint I is determined to be a visible wall point, and the point P is determined based on the extension line of the connection line between the sampling point and the wall breakpoint I, and the wall point P is also a visible wall point.
According to the embodiment, when the visible area lattice corresponding to the sampling point is screened in the point location set, the visible wall point location of the sampling point is screened based on the intersection condition of the connecting line corresponding to the sampling point and the wall point location and other wall objects (different from the current wall object), the screened visible wall point locations are aggregated, the visible area lattice meeting the visible condition is determined, and the screening of the visible wall point locations based on the collision relation is realized.
The process of rendering the two-dimensional house type map based on the visible area lattice corresponding to the sampling point is described below. The visible area dot matrix comprises first coordinate information corresponding to the point positions of the plurality of visible wall bodies respectively; and rendering the visible area on the two-dimensional house type map corresponding to the target house source according to the visible area lattice corresponding to each sampling point, and acquiring the target house type map, wherein the method comprises the following steps:
performing coordinate conversion on first coordinate information in the visible area lattice aiming at the visible area lattice corresponding to each sampling point to obtain second coordinate information corresponding to the plurality of visible wall point positions on the two-dimensional house type graph;
and rendering a visible area on the two-dimensional house type graph based on the corresponding second coordinate information aiming at the visible area lattice corresponding to each sampling point so as to generate the target house type graph carrying the visible area mark.
The visible area lattice comprises first coordinate information corresponding to the visible wall point positions respectively, and the first coordinate information can be understood as the corresponding coordinate information on the two-dimensional house type vector diagram. After determining the visible area lattices corresponding to the M sampling points respectively, performing coordinate conversion on the first coordinate information in the visible area lattices according to the visible area lattices corresponding to each sampling point, and obtaining second coordinate information corresponding to a plurality of visible wall body points in the visible area lattices on the two-dimensional floor plan through coordinate conversion, namely, converting the coordinates corresponding to the two-dimensional floor plan vector diagram into the coordinates corresponding to the two-dimensional floor plan in the coordinate conversion process, so as to realize conversion from the first coordinate information to the second coordinate information. The two-dimensional house type graph in the embodiment of the application is a two-dimensional house type graph displayed at the front end.
After the coordinate set including the plurality of second coordinate information corresponding to the visual area lattice on the two-dimensional house type graph is obtained through coordinate conversion, the visual area lattice corresponding to each sampling point can be subjected to visual area rendering on the two-dimensional house type graph based on the corresponding second coordinate information, and the target house type graph is generated based on rendering conditions of the visual areas respectively corresponding to the M sampling points on the two-dimensional house type graph, namely, the target house type graph is the house type graph generated after rendering of the M visual areas on the two-dimensional house type graph. There may be overlapping portions of the M visual areas, and there may be overlapping portions of any two of the M visual areas.
Optionally, when the visual area is rendered on the two-dimensional house type graph based on the corresponding second coordinate information, the method includes: determining a target position on the two-dimensional house type graph based on the second coordinate information; and defining a visual area based on the target position, and performing color rendering in the visual area, wherein the rendered color has preset transparency.
When the visual area rendering is performed on the two-dimensional house type diagram, the matched target position can be determined on the two-dimensional house type diagram based on the second coordinate information corresponding to the visual area lattice, the visual area is defined based on the determined target position, and the defined visual area is the area surrounded by the visual area lattice. After the visible area is defined, color rendering is performed in the visible area, and the rendered color has preset transparency. Under the condition that the value of M is larger than 1, the number of the visual areas is multiple (comprising two or more than two cases), and the rendering colors corresponding to each visual area are the same, as the rendered colors have preset transparency, the overlapped parts are overlapped, the colors are deepened relatively due to the fact that the colors are rendered for multiple times, and a browsing user can distinguish which part belongs to the overlapped area of the visual areas through the colors. As shown in fig. 3, in the case where M has a value of 3, 3 visual areas may be rendered, and the overlapping portion of the 3 visual areas may be relatively dark in color.
According to the embodiment, the corresponding coordinate information of the visible wall point positions on the two-dimensional house type diagram is determined based on the coordinate conversion, the visible area is determined based on the coordinate information and rendered, the target house type diagram is generated according to the rendering of the visible area on the two-dimensional house type diagram, and the visible area marking on the two-dimensional house type diagram based on the visible area point matrix is realized so as to visually display the house-in visible condition.
The process of determining the tag indicating the privacy level corresponding to the target house source is described below. After determining the M sampling points corresponding to the door entry object, the method further includes:
determining a privacy label corresponding to a target room source based on a second collision relation between connecting lines between the M sampling points and a target object of a first room object and a wall object, wherein the first room object is a non-public space object, and the target object comprises at least one of a door object and a window object;
and rendering the privacy label on a display interface where the two-dimensional house type graph is located, wherein the privacy label comprises a first label indicating high privacy degree and a second label indicating low privacy degree.
After M sampling points are determined for the entrance door object, second collision relations corresponding to the M sampling points are obtained, privacy labels corresponding to the target house sources are determined based on the obtained second collision relations, and rendering of the privacy labels is carried out on a display interface where the two-dimensional house type graph is located, so that the visualized privacy situation of displaying the target house sources is achieved. The privacy label in this embodiment includes the first label that indicates privacy degree height and indicates the second label that privacy degree is low, can confirm first label or second label based on the second collision relation that obtains to show at the front end, be convenient for browse the user and know the privacy condition of target house source directly perceivedly based on first label or second label.
When the privacy label is rendered, the privacy label can be rendered in a blank area of the two-dimensional house type map, or can be rendered in a specific position of a display interface corresponding to the two-dimensional house type map.
For the sampling point, the corresponding second collision relation is the collision relation between the connecting line between the sampling point and the target object of the first room object and the wall object, the first room object is a non-public space object and is distinguished from the second room object, and the second room object corresponds to a public space label, such as a living room object, a restaurant object and a kitchen object; the first room object is distinguished from the public room object as a private space, such as may include a bedroom object, a study room object, a bathroom object, etc.
The target object of the first room object may include at least one of a door object and a window object, that is, the second collision relationship determined for the sampling point and a certain first room object may include a collision relationship between a connection line between the sampling point and the door object (two end points of the door object) of the first room object and a wall object, and/or a collision relationship between a connection line between the sampling point and the window object (two end points of the window object) of the first room object and a wall object. It should be noted that, since the window object and the door object both belong to objects allowing the line of sight to pass through, the corresponding collision relationship can be determined for at least one of the door object and the window object according to the requirement.
The determining the privacy label corresponding to the target room source based on the second collision relation between the connecting lines between the M sampling points and the target object of the first room object and the wall object comprises the following steps:
determining that the target room source corresponds to a second tag if the second collision relationship indicates that the number of sampling points not colliding with the wall object is greater than or equal to a first threshold;
determining that the target room source corresponds to a first tag if the second collision relationship indicates that the number of sampling points that collide with the wall object is greater than or equal to a second threshold;
wherein the first threshold and the second threshold are both less than or equal to M.
When determining the privacy label corresponding to the target room source based on the second collision relation of the M sampling points, it may be determined that the target room source corresponds to the second label when determining that the corresponding second collision relation indicates that the number of sampling points that do not collide with the wall object satisfies the first condition (greater than or equal to the first threshold value). Since the second collision relation corresponding to the sampling point includes a collision relation between a connection line between the sampling point and the door body object of the first room object and the wall body object, and/or a collision relation between the connection line between the sampling point and the window body object of the first room object and the wall body object, in the case that the connection line is determined not to intersect with the wall body object based on the second collision relation, it is indicated that no wall body object exists between the current sampling point and the window body object of the first room object, and/or no wall body object exists between the sampling point and the door body object of the first room object, and in the case that the second collision relation indicates that the number of sampling points which do not collide with the wall body object meets the requirement, it is determined that the target room source corresponds to the second tag indicating low privacy.
When determining the privacy label corresponding to the target room source based on the second collision relation of the M sampling points, it may be determined that the target room source corresponds to the first label when determining that the corresponding second collision relation indicates that the number of sampling points colliding with the wall object satisfies a second condition (greater than or equal to a second threshold value). Under the condition that the connecting line is intersected with the wall body object based on the second collision relation, the condition that the wall body object exists between the current sampling point and the window body object of the first room object is indicated, and/or the wall body object exists between the current sampling point and the door body object of the first room object, the wall body object serves as shielding, the condition that the sight line of a user corresponding to the sampling point directly reaches the first room object through a door window can be avoided, under the condition that the second collision relation indicates that the number of the sampling points colliding with the wall body object meets the requirement, the first room object can keep privacy, and at the moment, the fact that the target room source corresponds to a first label indicating high privacy degree is determined.
And, the first threshold and the second threshold may be equal or unequal, both of which are less than or equal to M. And when the first threshold value is equal to M, corresponding to the extreme case, and when the corresponding second collision relation indicates that the number of sampling points which do not collide with the wall body object is M, determining that the privacy degree of the target house source is low. And when the second threshold value is equal to M, corresponding to the extreme case, and when the corresponding second collision relation indicates that the number of sampling points collided with the wall body object is M, determining that the privacy degree of the target house source is high.
Optionally, the second collision relation corresponding to the sampling point is determined based on the intersection condition of the target object connecting line of the sampling point and each first room object and the wall object; the method further comprises the steps of:
for each sampling point, acquiring a second collision relation corresponding to the sampling point; or alternatively
And sequentially acquiring second collision relations corresponding to the sampling points aiming at the M sampling points, and stopping when the second collision relations indicate that the number of the sampling points which do not collide with the wall body object is larger than or equal to a first threshold value, or stopping when the second collision relations indicate that the number of the sampling points which collide with the wall body object is larger than or equal to a second threshold value.
When the second collision relationship is acquired, the corresponding second collision relationship may be acquired for each of the M sampling points, and may be acquired in parallel or in a specific order, in which case, after the second collision relationship corresponding to the M sampling points is acquired, the privacy label corresponding to the target room source is determined. The second collision relation can be sequentially obtained for the M sampling points, and stopping is performed when the second collision relation indicates that the number of sampling points which do not collide with the wall body object is greater than or equal to a first threshold value; in this case, it is necessary to count the number of sampling points for which the second collision relationship indicates that no collision with the wall object has occurred, and the acquisition of the second collision relationship is stopped when the number of sampling points satisfies the condition, so that the acquisition of the unnecessary second collision relationship can be avoided.
When a second collision relation is sequentially acquired for the M sampling points, stopping when the second collision relation indicates that the number of the sampling points collided with the wall body object is greater than or equal to a second threshold value; in this case, the number of sampling points at which the second collision relationship indicates a collision with the wall object needs to be counted, and the acquisition of the second collision relationship is stopped when the number of sampling points satisfies the condition, so that the acquisition of the unnecessary second collision relationship can be avoided.
According to the embodiment, the first label or the second label corresponding to the target house source is determined based on the second collision relation corresponding to the sampling point, and the label indicating the privacy degree is rendered on the display interface where the two-dimensional house type graph is located, so that a browsing user can conveniently and intuitively know the house-entering privacy condition of the target house source, the user is prevented from actively analyzing the house source privacy, and the browsing experience of the user is improved.
As an alternative embodiment, the method further comprises: and generating spatial layout evaluation information according to the spatial layout characteristics corresponding to the target house source, and rendering the spatial layout evaluation information on a display interface where the two-dimensional house type diagram corresponding to the target house source is located.
By acquiring the spatial layout characteristics corresponding to the target house sources, evaluating is performed based on the spatial layout characteristics, spatial layout evaluation information aiming at the target house sources is generated and displayed at the front end, so that a browsing user can easily and intuitively know the spatial characteristics of the target house sources, the user is prevented from analyzing, and good browsing experience is brought to the user. The evaluation information can be presented on a display interface where the two-dimensional house type graph is located in a text mode. As shown in fig. 4, for a specific example of displaying spatial layout evaluation information on a display interface displaying a target house type graph (including rendered multiple visible areas), where the display interface displaying the target house type graph may be a house type evaluation page, and the page may include multiple tags, such as a spatial layout tag, a house type feature tag, a lighting and ventilation tag, and a consultant interpretation tag; and displaying the spatial layout evaluation information under the condition that the spatial layout tag is in the selected state, and correspondingly displaying the corresponding evaluation information and the target house type graph under the condition that the house type characteristic tag, the lighting and ventilation tag or the consultant reading tag is in the selected state.
The following describes a scheme of rendering a visual area, displaying a privacy label and displaying spatial layout evaluation information through an overall implementation process, and is shown in fig. 5, including the following processes:
step 501, performing dimension extraction and rotation processing on 3D house type data of a target house source to obtain a two-dimensional house type vector diagram, then respectively processing the two directions, and determining sampling points on a house entrance door object through one direction, wherein the sampling points correspond to the steps 502 to 503; a set of points comprising a plurality of wall points is determined by another direction, corresponding to steps 504 to 505.
Step 502, based on position matching and lattice alignment, carrying out structural relation analysis on the two-dimensional house type vector diagram, obtaining association relations among the door body object, the window body object, the wall body object and the room object, and positioning the door-in object according to the association relations and the position information of the door body object.
Step 503, determining M sampling points for the entrance door object.
Step 504, determining the position information of the door body object, the window body object and the air wall object based on the two-dimensional house type vector diagram, and re-dividing the entity wall object based on the determined position information.
Step 505, determining a wall inflection point and a wall breakpoint for the re-segmented solid wall object, and determining a point location set based on the wall inflection point and the wall breakpoint.
In the case where M sample points and a set of points are determined, step 506 is performed.
Step 506, for each sampling point, screening out a visible area lattice corresponding to the sampling point from the point location set, and performing visible area rendering on the two-dimensional house type map corresponding to the target house source according to the visible area lattice corresponding to each sampling point, so as to obtain the target house type map.
And after determining the M sampling points, step 507 may also be performed.
And 507, determining a privacy label corresponding to the target room source based on the connection line between the M sampling points and the target object of the first room object and the second collision relation of the wall object, and rendering the privacy label on a display interface where the two-dimensional house type graph is located.
Wherein step 508 may also be performed after the two-dimensional family pattern vector diagram is acquired.
And 508, generating spatial layout evaluation information according to the spatial layout characteristics corresponding to the target house source, and rendering the spatial layout evaluation information on a display interface where the two-dimensional house type diagram corresponding to the target house source is located.
According to the implementation flow, through rendering the visible area on the two-dimensional house type graph, quantitative analysis of house type privacy can be achieved, the visual condition of the house can be visually displayed, and house viewing experience of a house source browsing user on line is improved; through showing privacy labels and space layout evaluation information, a browsing user can conveniently and simply know the privacy degree and the space characteristics of a target house source intuitively, and the browsing experience of the user is improved.
According to the embodiment of the household type privacy analysis method based on the household type data, the household type privacy analysis device is provided, the household type object and the point location set are determined based on the two-dimensional household type vector diagram, the visible area lattice corresponding to each sampling point on the household type object is screened out from the point location set, the visible area rendering is carried out on the two-dimensional household type diagram based on the visible area lattice corresponding to the sampling points, quantitative analysis of household type privacy and visual display of household type visual conditions can be achieved, house viewing experience of house source browsing users is improved, meanwhile, automatic calculation logic is adopted, marking efficiency can be improved, marking conditions are flexibly adjusted based on monitored household type changes, and effectiveness is guaranteed.
Further, by displaying the privacy label and the spatial layout evaluation information, a browsing user can easily and intuitively know the privacy degree and the spatial characteristics of a target house source.
The following describes a house source information processing method for performing line marking on a two-dimensional house type graph, and referring to fig. 6, the method comprises the following steps:
and 601, determining association relations among a door body object, a window body object, a wall body object and a room object of a target room source according to a two-dimensional house type vector diagram of the target room source.
Each room object in the two-dimensional house type vector diagram can correspond to a coordinate system, and different room objects can be unified under the same coordinate system, so that structural relation analysis is carried out on the two-dimensional house type vector diagram under the same coordinate system, and association relations among the door object, the window object, the wall object and the room object are obtained. The association relationship among the door body object, the window body object, the wall body object and the room object is acquired, so that the room to which the door body object, the window body object and the wall body object belong can be determined.
Step 602, determining original line data corresponding to a target room object through which the line passes according to the association relation, wherein the original line data is associated with N lines.
Under the condition of acquiring the association relationship, the original line data corresponding to the target room object through which the line passes can be determined according to the association relationship. Wherein, each room object in the target room source corresponds to a function tag, and the function tag indicates the function corresponding to the room object, such as a guest tag, a rest tag, an office tag, and the like. The target room object is a room object through which the moving line passes, and the moving line may include at least one of a living moving line, a housekeeping moving line, and a visitor moving line, the number of the target room objects is a plurality of, and the N moving lines are all moving lines corresponding to the target room source.
Step 603, acquiring first coordinate sets corresponding to the N lines based on the original line data, where the first coordinate sets include coordinate information corresponding to each coordinate point on the line, and N is an integer greater than or equal to 1.
And under the condition of acquiring the original line data, carrying out optimization processing on the original line data. Because the original line data can have the through-wall behavior, the optimization processing is needed, after the optimization processing is completed, a first coordinate set corresponding to N lines is acquired, N is the number of lines corresponding to the target house source, and the value of N is greater than or equal to 1. For each line, the corresponding first coordinate set includes coordinate information corresponding to each coordinate point on the line.
And 604, performing line rendering on the two-dimensional house type graph corresponding to the target house source based on the first coordinate sets respectively corresponding to the N lines, and obtaining the target house type graph carrying the line.
After the first coordinate sets corresponding to the N lines respectively are acquired, coordinate conversion may be performed for the N first coordinate sets, that is, coordinate conversion may be performed on the coordinate information in the first coordinate sets. And rendering N lines on the two-dimensional house type graph corresponding to the target house source based on the converted coordinate information so as to generate the target house type graph carrying the line through line rendering.
It should be noted that, the target house type diagram can carry the moving line and the visual area of the entering the house at the same time, so that the browsing user can know the moving line and the visual condition of the entering the house corresponding to the target house source based on the target house type diagram.
According to the embodiment, the target room object through which the moving line passes is determined, the original moving line data corresponding to the target room object is obtained, the first coordinate sets corresponding to the N moving lines are obtained after the original moving line data are optimized, the moving line rendering is carried out on the two-dimensional house type graph corresponding to the target house source based on the first coordinate sets corresponding to the N moving lines, the logic of automatic calculation can be realized, the production efficiency is improved, the moving line labeling condition is flexibly adjusted based on the monitored house type change, the effectiveness is guaranteed, the reality of the moving line which is automatically drawn is good, and the visual experience of a browsing user can be improved.
The following describes a process for determining an association relationship, and determines the association relationship of a door object, a window object and a wall object of a target house source according to a two-dimensional house type vector diagram of the target house source, including: acquiring the two-dimensional house type vector diagram; and based on position matching and lattice alignment, carrying out structural relation analysis on the two-dimensional house type vector diagram to obtain the association relation among the door body object, the window body object, the wall body object and the room object.
When the association relation is acquired, a two-dimensional house type vector diagram corresponding to a target house source can be acquired first; and then acquiring association relations among the door body object, the window body object, the wall body object and the room object based on the two-dimensional house type vector diagram.
When the two-dimensional house type vector diagram is obtained, the two-dimensional house type vector diagram can be determined based on three-dimensional house type data or based on the two-dimensional house type diagram. When a two-dimensional house type vector diagram is determined based on the three-dimensional house type data, dimension drawing and rotation processing can be carried out on the three-dimensional house type data of the target house source, and the two-dimensional house type vector diagram is obtained; when the two-dimensional house type vector diagram is determined based on the two-dimensional house type diagram, the two-dimensional house type diagram can be identified to obtain wall information and door and window information included in the two-dimensional house type diagram, and the wall information and the door and window information are combined to obtain the two-dimensional house type vector diagram including the door and window relative position information.
Each room object in the two-dimensional house type vector diagram can correspond to a coordinate system, and based on position matching and lattice alignment, different room objects of a target house source can be unified to the same coordinate system, so that structural relation analysis is carried out on the two-dimensional house type vector diagram under the same coordinate system, and association relations among door body objects, window body objects, wall body objects and room objects are obtained. By acquiring the association relationship, the room to which the door object, the window object and the wall object belong can be determined.
After the association relationship is acquired, the original line data corresponding to the target room object through which the line passes can be determined according to the association relationship, and the method comprises the following steps when the original line data is acquired: determining a target room object through which the line passes based on a preset path algorithm, the association relation and function labels corresponding to the room objects; establishing, for the determined target room object, a connection relationship between the target room objects forming a line association including at least one of a living line association, a home line association, and a visitor line association; and acquiring original line data corresponding to the current target room object based on the connection relation corresponding to the current target room object for each target room object.
When the original line data corresponding to the target room object is acquired, a plurality of target room objects through which the line passes can be calculated based on a preset path algorithm (such as Dijkstra algorithm), an association relationship and a function label corresponding to each room object, and then a connection relationship between the target room objects forming a line association is established. After the connection relation is established, for each target room object, based on the connection relation corresponding to the current target room object, original line data corresponding to the current target room object is obtained, and the original line data corresponding to the current target room object is the original data corresponding to the line connection of the current target room object and other target room objects related to the current target room object.
It should be noted that, the preset path algorithm may be a shortest path algorithm, and in the case that the function labels and the association relationships corresponding to the room objects are known, the room object through which the line passes may be determined based on the shortest path algorithm, and may be used as the target room object. For living lines, home lines and visitor lines, the corresponding number may be plural. For example, for living lines, living lines are formed between two bedrooms, living lines are formed between a bedroom and a toilet; for example, for visitor line, visitor line is formed between hallway and restaurant, and visitor line is formed between restaurant and living room; for example, for a housekeeping line, a housekeeping line is formed between a restaurant and a kitchen, and a housekeeping line is formed between a bathroom and a balcony. That is, the type of the line corresponding to the N lines of the target house source may include at least one of three types of line, the N lines may include at least one of a home line, a visitor line, and a living line, and the number of the home line, the visitor line, and the living line may be at least one.
When acquiring the original line data corresponding to a current target room object based on the connection relation corresponding to the current target room object aiming at a certain target room object, the method comprises the following steps: based on the connection relation corresponding to the current target room object, acquiring K groups of original line data corresponding to the connection relation to serve as original line data corresponding to the current target room object; wherein K is an integer greater than or equal to 1, and the K sets of raw line data include at least one of residential line data, household line data, and visitor line data.
For a target room object, when determining the corresponding original line data, the corresponding K groups of original line data can be obtained based on the connection relation corresponding to the current target room object, wherein K is an integer greater than or equal to 1 and less than or equal to N, and for the condition that K is equal to N, the number of lines corresponding to the current target room object is equal to the total number of lines corresponding to the target room source. Wherein the K sets of raw line data may include at least one of resident line data, household line data, and visitor line data. For example, the target room source is a space structure of 1 room, the bedroom is a meeting room (the meeting room is a restaurant), and the living line (the moving route from the bedroom to the bathroom), the household line (the moving route from the kitchen to the meeting room) and the visitor line (the moving route from the entrance door to the meeting room) all pass through the bedroom, at this time, the K groups of raw line data may include living line data, household line data and visitor line data.
According to the embodiment, the association relation is obtained by carrying out structural relation analysis on the two-dimensional house type vector diagram, the target house object through which the line passes can be determined by adopting a specific algorithm based on the association relation and the function label of the house object, and then the original line data corresponding to the target house object is obtained, so that the line rendering is carried out on the data after the original line data is optimized, and the line displayed at the front end is obtained.
As an alternative embodiment, the original line data corresponding to the target room object includes N initial coordinate sets; the obtaining the first coordinate set corresponding to the N lines based on the original line data includes:
for each initial coordinate set, adjusting coordinate information of coordinate points in the initial coordinate set based on the two-dimensional house type graph and the wall object to obtain a first coordinate set corresponding to the initial coordinate set;
the coordinate information of each coordinate point in the first coordinate set is different from the coordinate information of the wall object.
The original line data corresponding to the target room object comprises N initial coordinate sets formed by connecting the line of each target room object, and for any one initial coordinate set, the original line data comprises a plurality of coordinate information corresponding to the connection of the centers of the two target room objects forming the line. And under the condition of determining the initial coordinate set, carrying out coordinate information correction processing on the initial coordinate set to obtain a first coordinate set corresponding to the initial coordinate set.
Since the initial coordinate set includes a plurality of coordinate information corresponding to the connection of the centers of the two target room objects forming the line, there may be a case where the centers are connected to each other to pass through the wall, and therefore, it is necessary to perform coordinate information correction processing on the initial coordinate set, that is, to adjust the coordinate information of the coordinate points in the initial coordinate set, by adjusting the coordinate information of the coordinate points in the initial coordinate set, the coordinate information may not overlap with the coordinate information of the wall object, so that the occurrence of the case where the line passes through the wall is avoided, and by performing coordinate information adjustment, a first coordinate set may be obtained, and then line rendering is performed at the front end based on the first coordinate set.
According to the embodiment, the optimization of the original line data can be realized by adjusting the coordinate information in the N initial coordinate sets corresponding to the original line data, so that the unreasonable line rendered based on the line data is avoided.
The following describes a scheme for rendering a line, when line rendering is performed on a two-dimensional house type graph corresponding to the target house source based on a first coordinate set corresponding to each of the N lines, the scheme includes: for the first coordinate sets corresponding to the N lines respectively, converting coordinate information corresponding to the first coordinate sets into coordinate information under an image coordinate system; and determining and marking corresponding pixel points on the two-dimensional house type graph based on the converted coordinate information so as to complete line rendering.
After the first coordinate sets corresponding to the N lines respectively are determined based on the coordinate information adjustment, the coordinate information corresponding to the N first coordinate sets may be converted into coordinate information under an image coordinate system, that is, the coordinate information under the two-dimensional house type vector diagram is converted into the coordinate information under the two-dimensional house type diagram (image coordinate system). After the coordinate conversion is completed, corresponding pixel points (coordinate points) are determined and marked on the two-dimensional house type graph based on the converted coordinate information, and line rendering is realized on the two-dimensional house type graph.
When the line rendering is performed, the display modes corresponding to the lines of different categories can be different, for example, the living line, the visitor line and the household line correspond to different colors, so that the line of different categories can be distinguished based on the different colors. And for the first set of coordinates, it may carry a corresponding line-of-line category label to facilitate determining the appropriate color at the time of rendering. Referring to fig. 7, an example of resident lines, visitor lines, and home lines corresponding to different lines is shown.
According to the embodiment, the coordinate information corresponding to the line data on the two-dimensional house type graph is determined through coordinate conversion, line marking is performed on the two-dimensional house type graph based on the determined coordinate information, automatic line rendering at the front end is achieved, and efficiency can be improved while line rendering effect is guaranteed.
As an alternative embodiment, the N lines include living lines, and each room object of the target room source corresponds to a tag indicating a moving area or a dead area; the method further comprises the steps of:
detecting whether the living line passes through a room object corresponding to a moving area tag;
and under the condition that the living line does not pass through the room object corresponding to the movable region label, determining that the target room source is a dynamic-static separation layout structure, and rendering the dynamic-static separation label on a display interface where the two-dimensional house type diagram corresponding to the target room source is located.
For living moving wires in N moving wires, whether the living moving wires pass through a room object corresponding to a moving area tag is detected, and if the living moving wires do not pass through the room object corresponding to the moving area tag, a target room source can be determined to be a dynamic-static separation layout structure, and at the moment, dynamic-static separation tags can be rendered on a display interface where the two-dimensional house type graph is located, so that a browsing user can confirm dynamic-static separation conditions corresponding to the target room source based on the tags.
When the dynamic and static separation labels are rendered on the display interface where the two-dimensional house type map is located, the rendering can be performed on a blank area of the two-dimensional house type map, or on a specific position of the display interface corresponding to the two-dimensional house type map.
Whether the target house source belongs to the dynamic and static separation layout is determined based on the intersection condition of the living line and the movable area room object, and when the target house source is in a dynamic and static separation layout structure, dynamic and static separation labels are rendered on the two-dimensional house type graph, so that a browsing user can conveniently and intuitively know the dynamic and static separation condition of the target house source, and the browsing experience of the user is improved.
As an alternative embodiment, the method further comprises: generating room type characteristic evaluation information according to the room type characteristics corresponding to the target room source; and rendering the house type characteristic evaluation information on a display interface where the two-dimensional house type graph corresponding to the target house source is located.
By acquiring the house type characteristics corresponding to the target house source, evaluating is performed based on the house type characteristics, the house type evaluation information aiming at the target house source is generated and displayed at the front end, so that a browsing user can easily and intuitively know the house type characteristics of the target house source, the user is prevented from analyzing the house type characteristics, and good browsing experience is brought to the user. The evaluation information can be presented on a display interface where the two-dimensional house type graph is located in a text mode. As shown in fig. 8, for a specific example of displaying the house type feature evaluation information on the display interface displaying the target house type graph (including the rendered line), the display interface displaying the target house type graph may be a house type evaluation page, where the page may include a plurality of tags, such as a space layout tag, a house type feature tag, a lighting and ventilation tag, and a consultant interpretation tag; and displaying the house type characteristic evaluation information under the condition that the house type characteristic tag is in the selected state, and correspondingly displaying the corresponding evaluation information and the target house type graph under the condition that the space layout tag, the lighting and ventilation tag or the consultant reading tag is in the selected state.
According to the implementation scheme for conducting line rendering based on house type data, the original line data corresponding to the target house object are obtained, the first coordinate sets corresponding to N lines are obtained after the original line data are optimized, coordinate conversion is conducted on the coordinate information in the first coordinate sets, line rendering is conducted on the two-dimensional house type graph corresponding to the target house source based on the converted coordinate information, logic adopting automatic calculation can be achieved, production efficiency is improved, line marking conditions are flexibly adjusted based on monitored house type change, effectiveness is guaranteed, reality of the automatically drawn line is good, and visual experience of a browsing user can be improved.
Further, dynamic and static separation labels are rendered on the two-dimensional house type graph, so that a browsing user can conveniently and intuitively know the dynamic and static separation condition of a target house source; by adjusting the coordinate information in the N initial coordinate sets corresponding to the original line data, the original line data can be optimized, so that the unreasonable line rendered based on the line data is avoided.
The room source information processing method for marking ventilation marks on a two-dimensional house type graph is described below. Referring to fig. 9, the method comprises the following steps:
step 901, generating a mapping list comprising association relations among door objects, window objects and room objects according to a two-dimensional house type vector diagram of a target house source.
Each room object in the two-dimensional house type vector diagram can correspond to a coordinate system, different room objects can be unified under the same coordinate system, structural relation analysis is conducted on the two-dimensional house type vector diagram under the same coordinate system, association relations among the door object, the window object and the room object are obtained, and a mapping list is generated based on the association relations.
Step 902, filtering a first object of the target house source according to the mapping list, and obtaining a second object of the target house source, wherein the first object comprises an inner department object and an inner window object, and the second object comprises an outer department object and an outer window object.
After the mapping list is generated, a first object in the target house source may be filtered based on the mapping list, where the first object includes an internal department object and an internal window object, and a second object of the target house source may be reserved through filtering. Before filtering, the door object and the window object corresponding to the target house source may be aggregated, so as to filter the inner door object and the inner window object for the aggregated objects, and keep the outer door object and the outer window object.
Step 903, determining ventilation information corresponding to the second object on the two-dimensional house type map of the target house source according to each second object, and rendering the two-dimensional house type map based on the ventilation information to obtain a target house type map carrying the ventilation information.
After the second objects of the target house source are reserved through filtering, corresponding ventilation information of the second objects on the two-dimensional house type graph of the target house source is determined for each second object, wherein the ventilation information comprises mark positions and wind direction information, and then rendering is carried out on the two-dimensional house type graph based on the ventilation information. Referring to fig. 10, an example of rendering ventilation information on a two-dimensional floor plan is shown.
Through carrying out the rendering of ventilation information on two-dimensional house type graphs to every second object, can acquire the target house type graph that carries ventilation information to based on the logic of automatic calculation, realize quantitatively, more convenient show target house source's ventilation condition, and the processing mode of automatic mark ventilation information, can promote efficiency and handle the practicality.
According to the embodiment, the mapping list is generated based on the two-dimensional house type vector diagram, the first object in the target house source is filtered according to the mapping list, the external door body object and the external window body object are determined, the ventilation information marks are carried out on the two-dimensional house type diagram aiming at the external door body object and the external window body object, quantitative analysis of house type ventilation conditions can be achieved, the house type ventilation conditions can be displayed in a visualized mode, house viewing experience of house source browsing users is improved, meanwhile, automatic calculation logic is adopted, marking efficiency can be improved, marking effect is guaranteed, marking conditions are flexibly adjusted based on monitored house type changes, and effectiveness is guaranteed.
It should be noted that, the target house type diagram can carry the ventilation information and the moving line and the home-entering visible area, so that the browsing user can know the ventilation condition, moving line and home-entering visible condition corresponding to the target house source based on the target house type diagram.
The process of generating a mapping list and performing object filtering based on the mapping list is described below. When generating a mapping list comprising association relations among door objects, window objects and room objects according to a two-dimensional house type vector diagram of a target house source, the method comprises the following steps: acquiring the two-dimensional house type vector diagram; based on position matching and lattice alignment, carrying out door and window position analysis on the two-dimensional house type vector diagram, and determining association relations among the door body object, the window body object and the room object; and generating the mapping list based on the association relation.
When the mapping list is generated, a two-dimensional house type vector diagram corresponding to the target house source can be obtained, and then the association relationship among the door body object, the window body object and the room object is obtained based on the two-dimensional house type vector diagram. When the two-dimensional house type vector diagram is obtained, the two-dimensional house type vector diagram can be determined based on the three-dimensional house type data, and the two-dimensional house type vector diagram can be determined based on the two-dimensional house type vector diagram, and the related description of the movable wire mark embodiment can be seen in detail.
Each room object in the two-dimensional house type vector diagram can correspond to a coordinate system, and based on position matching and lattice alignment, different room objects of a target house source are unified to the same coordinate system, so that door and window position analysis is performed on the two-dimensional house type vector diagram under the same coordinate system, and the association relation among the door object, the window object and the room object is obtained. By acquiring the association relationship, the door object and the room to which the window object belongs can be determined, and a mapping list can be generated based on the acquired association relationship.
After the mapping list is generated, filtering the first object of the target house source according to the mapping list to obtain the second object of the target house source, including:
determining a first door object and a first window object associated with two room objects based on association relations among the door objects, the window objects and the room objects, wherein the first door object is the internal door object, and the first window object is the internal window object;
and filtering the first door object and the first window object of the target house source to obtain an external door object and an external window object of the target house source.
When the first object in the target room source is filtered, the first door object associated with the two room objects and the first window object associated with the two room objects can be searched based on the association relation stored in the mapping list, the first door object is determined to be an internal door object, and the first window object is determined to be an internal window object. This is because for an inner door object it connects two room objects, for an inner window object it also connects two room objects, while an outer door object is associated with an outer window object that associates one room object in the target room source, so that the inner object, the outer object can be determined based on the number of room objects with which the door object, window object are associated.
It should be noted that, for external window objects corresponding to multiple rooms, for example, window objects on a balcony correspond to a bedroom and a living room, at this time, the window objects may be divided into two, so as to ensure that each room object corresponds to an external window object. And when the internal window filtering is carried out, the situation that the external window object on the balcony is determined to be related to two room objects and is filtered out by mistake is avoided.
According to the embodiment, the association relation among the door object, the window object and the room object can be determined according to the two-dimensional house type vector diagram, the mapping list is formed based on the association relation, then the internal object is searched for and filtered based on the mapping list, and the external door object and the external window object are obtained to determine the object for carrying out ventilation information marking, so that the external object can be conveniently marked later.
The following describes a process of determining the ventilation information corresponding to the two-dimensional house type diagram, when determining the ventilation information corresponding to the second object on the two-dimensional house type diagram of the target house source, the method includes:
determining a first mark position corresponding to the second object on the two-dimensional house type vector diagram and wind direction information corresponding to the second object, wherein the first mark position corresponds to first coordinate information;
Based on the coordinate mapping relation between the two-dimensional house type vector diagram and the two-dimensional house type diagram, carrying out coordinate conversion on the first coordinate information, determining target coordinate information, and enabling a target mark position to be outside a second object in the two-dimensional house type diagram;
determining a corresponding target mark position of the first mark position on the two-dimensional house type graph based on the target coordinate information;
and determining the ventilation information based on the target mark position and the wind direction information corresponding to the second object.
For each second object, a first mark position corresponding to the second object on the two-dimensional house type vector diagram and wind direction information corresponding to the second object can be determined, then, based on a coordinate mapping relation between the two-dimensional house type vector diagram and the two-dimensional house type diagram, target coordinate information corresponding to the first mark position corresponding to the first coordinate information on the two-dimensional house type diagram is determined, namely, the first coordinate information is subjected to coordinate conversion, and the corresponding target coordinate information is determined. And then determining a target mark position corresponding to the second object on the two-dimensional house type graph based on the target coordinate information, and determining the mark position and the wind direction information based on the determined target mark position and the wind direction information of the second object so as to mark ventilation information on the two-dimensional house type graph based on the mark position and the wind direction information.
Under the condition that the wind direction information comprises a wind direction schematic mark, when determining the first mark position corresponding to the second object on the two-dimensional house type vector diagram and the wind direction information corresponding to the second object, the method comprises the following steps: determining the first mark position of the anchor point corresponding to the indication wind direction schematic mark based on the midpoint of the second object and a preset offset; and determining the direction of the wind direction schematic mark corresponding to the second object according to the direction of the second object.
When the first mark position of the second object is determined on the two-dimensional house type vector diagram, the midpoint of the second object needs to be determined, and the second object is an external door object and an external window object, which are reflected on the two-dimensional house type vector diagram in a line form, so that the midpoint can be determined. After determining the midpoint of the second object, a first marker position indicating a corresponding anchor point of the wind direction schematic identification is determined based on a preset offset. It should be noted that, the preset offset may be a default offset, and because the ventilation information needs to be set outside the room source, the preset value may be offset outward at the midpoint of the second object, to determine the first mark position.
When determining the wind direction information of the second object, the direction of the second object needs to be considered, for example, if the second object faces south, the direction of the wind direction indication mark corresponding to the second object faces north, and if the second object faces east, the direction of the wind direction indication mark corresponding to the second object faces west. Correspondingly, the direction of the corresponding wind direction schematic mark of the second object on the two-dimensional house type diagram is the direction of the wind direction schematic mark determined by the method.
According to the embodiment, after the first coordinate information corresponding to the second object on the two-dimensional house type vector diagram is determined, the target coordinate information corresponding to the second object on the two-dimensional house type diagram is determined based on coordinate conversion, and the ventilation information is marked on the two-dimensional house type diagram based on the target coordinate information and the determined direction of the wind direction schematic mark, so that reasonable ventilation condition can be ensured to be marked at a proper position.
As an optional embodiment, when rendering the two-dimensional house type map based on the ventilation information to obtain a target house type map carrying ventilation information, the method includes:
rendering the wind direction schematic mark at a target mark position of the two-dimensional house type graph based on the direction of the wind direction schematic mark corresponding to the second object so as to acquire the target house type graph; the wind direction schematic mark comprises a wind direction arrow, an air flow schematic diagram and the like. The air flow in the air flow schematic diagram can be provided with a direction.
The wind direction schematic identifiers in the embodiment of the application comprise wind direction arrows or airflow diagrams and the like, and when the ventilation information is rendered on the two-dimensional house type graph to generate the target house type graph, the wind direction schematic identifiers can be based on the wind direction schematic identifiers, and rendering is performed at the corresponding mark positions so as to achieve the purpose of indicating the ventilation wind direction based on the wind direction schematic identifiers. For the case that the wind direction schematic identification comprises a wind direction arrow, the wind direction arrow can be rendered on the two-dimensional house type graph based on the wind direction schematic identification; for the case that the wind direction schematic identification is an airflow schematic, the airflow schematic may be rendered on a two-dimensional house type graph based on the wind direction schematic identification.
And marking ventilation information respectively corresponding to each second object on the two-dimensional house type graph, so that a target house type graph carrying a ventilation mark is generated based on information rendering on the basis of the two-dimensional house type graph.
As an alternative embodiment, the method further comprises: generating lighting and ventilation evaluation information according to lighting and ventilation characteristics corresponding to the target house source; and rendering the lighting and ventilation evaluation information on a display interface where the two-dimensional house type diagram corresponding to the target house source is located.
By acquiring the lighting and ventilation characteristics corresponding to the target house source, evaluating is performed based on the lighting and ventilation characteristics, lighting and ventilation evaluation information aiming at the target house source is generated and displayed at the front end, so that a browsing user can easily and intuitively know the lighting and ventilation characteristics of the target house source, the user is prevented from analyzing, and good browsing experience is brought to the user. The evaluation information can be presented on a display interface where the two-dimensional house type graph is located in a text mode. As shown in fig. 11, for a specific example of displaying lighting ventilation evaluation information on a display interface displaying a target house type graph (including marked ventilation information), the display interface displaying the target house type graph may be a house type evaluation page, where the page may include a plurality of tags, such as a space layout tag, a house type feature tag, a lighting ventilation tag, and a consultant interpretation tag; and displaying the lighting and ventilation evaluation information under the condition that the lighting and ventilation tag is in the selected state, and correspondingly displaying the corresponding evaluation information and the target house type graph under the condition that the space layout tag, the house type characteristic tag or the consultant reading tag is in the selected state.
According to the embodiment of the ventilation information marking method based on the house type data, the mapping list is generated based on the two-dimensional house type vector diagram, the first object in the target house source is filtered according to the mapping list, the external door body object and the external window body object are determined, the ventilation information marking is carried out on the two-dimensional house type diagram aiming at the external door body object and the external window body object, quantitative analysis of house type ventilation conditions and visual display can be achieved, house type browsing user online house watching experience is improved, meanwhile, automatic calculation logic is adopted, marking efficiency can be improved, marking effect is guaranteed, marking conditions are flexibly adjusted based on monitored house type change, and effectiveness is guaranteed.
Further, the target coordinate information corresponding to the second object on the two-dimensional house type graph is determined through coordinate conversion, and the ventilation information is marked on the two-dimensional house type graph based on the target coordinate information and the determined wind direction information, so that reasonable ventilation condition can be ensured to be marked at a proper position.
The target house type diagram provided by the embodiment of the application can carry at least one of ventilation information, moving lines and in-home visible areas, can display one of the ventilation information, the moving lines and the in-home visible areas at the same time, and can control the switching display through switching input so as to facilitate a browsing user to know the ventilation condition, the moving lines and the in-home visible conditions corresponding to the target house source based on the target house type diagram.
The embodiment of the application also provides a house source information processing device, as shown in fig. 12, including:
the first determining module 1201 is configured to determine an association relationship among a door object, a window object, a wall object and a room object of a target room source according to a two-dimensional house type vector diagram of the target room source;
a second determining module 1202, configured to determine, according to the association relationship, original line data corresponding to a target room object through which a line passes, where the original line data is associated with N lines;
a first processing module 1203, configured to obtain first coordinate sets corresponding to the N lines respectively based on the original line data, where the first coordinate sets include coordinate information corresponding to each coordinate point on the moving line respectively, and N is an integer greater than or equal to 1;
and the second processing module 1204 is configured to perform line rendering on the two-dimensional house type map corresponding to the target house source based on the first coordinate sets corresponding to the N lines respectively, so as to obtain a target house type map carrying the line.
Optionally, the first determining module includes:
the first acquisition sub-module is used for acquiring the two-dimensional house type vector diagram;
and the second acquisition submodule is used for carrying out structural relation analysis on the two-dimensional house type vector diagram based on position matching and lattice alignment to acquire the association relation among the door body object, the window body object, the wall body object and the room object.
Optionally, the second determining module includes:
the first determining submodule is used for determining a target room object through which the line passes based on a preset path algorithm, the association relation and the function label corresponding to each room object;
the establishing sub-module is used for establishing a connection relation between the target room objects forming a line association aiming at the determined target room objects, wherein the line association comprises at least one of living line association, household line association and visitor line association;
and the third acquisition sub-module is used for acquiring the original line data corresponding to the current target room object based on the connection relation corresponding to the current target room object aiming at each target room object.
Optionally, the third acquisition sub-module is further configured to:
based on a connection relation corresponding to a current target room object, acquiring K groups of original line data corresponding to the connection relation to serve as original line data corresponding to the current target room object;
wherein K is an integer greater than or equal to 1, and the K sets of raw line data include at least one of residential line data, household line data, and visitor line data.
Optionally, the original line data corresponding to the target room object includes N initial coordinate sets; the first processing module is further configured to:
for each initial coordinate set, adjusting coordinate information of coordinate points in the initial coordinate set based on the two-dimensional house type graph and the wall object to obtain a first coordinate set corresponding to the initial coordinate set;
the coordinate information of each coordinate point in the first coordinate set is different from the coordinate information of the wall object.
Optionally, the second processing module includes:
the conversion sub-module is used for converting coordinate information corresponding to the first coordinate sets into coordinate information under an image coordinate system aiming at the first coordinate sets corresponding to the N lines respectively;
and the marking sub-module is used for determining and marking corresponding pixel points on the two-dimensional house type graph based on the converted coordinate information so as to complete line rendering.
Optionally, the N lines include living lines, and each room object of the target room source corresponds to a tag indicating a moving area or a still area; the apparatus further comprises:
the detection module is used for detecting whether the living line passes through a room object corresponding to the movable region tag;
And the third processing module is used for determining that the target house source is a dynamic-static separation layout structure under the condition that the living line does not pass through the room object corresponding to the movable region label, and rendering the dynamic-static separation label on a display interface where the two-dimensional house pattern corresponding to the target house source is located.
Optionally, the apparatus further comprises:
the generation module is used for generating room type characteristic evaluation information according to the room type characteristics corresponding to the target room source;
and the rendering module is used for rendering the house type characteristic evaluation information on a display page where the two-dimensional house type graph corresponding to the target house source is located.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
The embodiment of the application also provides electronic equipment, which comprises: the computer program is stored in the memory and can run on the processor, when being executed by the processor, the computer program realizes the processes of the room source information processing method for marking ventilation information on the two-dimensional house type graph, the room source information processing method for line marking on the two-dimensional house type graph and the room source information processing method for rendering the visual area on the two-dimensional house type graph, and can achieve the same technical effects, and the repeated description is omitted herein.
For example, fig. 13 shows a schematic diagram of the physical structure of an electronic device. As shown in fig. 13, the electronic device may include: processor 1310, communication interface (Communications Interface) 1320, memory 1330 and communication bus 1340, wherein processor 1310, communication interface 1320, memory 1330 communicate with each other via communication bus 1340. The processor 1310 may call logic instructions in the memory 1330, where the processor 1310 is configured to execute the procedures of the room source information processing method for marking ventilation information on a two-dimensional house type graph, the room source information processing method for performing line marking on the two-dimensional house type graph, and the room source information processing method for rendering a visible area on the two-dimensional house type graph provided in the embodiments of the present application.
Further, the logic instructions in the memory 1330 can be implemented in the form of software functional units and can be stored in a computer readable storage medium when sold or used as a stand alone product. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the above-mentioned method for processing room source information for marking ventilation information on a two-dimensional house type graph, the method for processing room source information for marking a line on a two-dimensional house type graph, and the method for processing room source information for rendering a visual area on a two-dimensional house type graph, and can achieve the same technical effects, so that repetition is avoided and no further description is provided herein. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. A house source information processing method, characterized by comprising:
according to a two-dimensional house type vector diagram of a target house source, determining association relations among a door body object, a window body object, a wall body object and a room object of the target house source;
according to the association relation, original line-moving data corresponding to a target room object through which the line moves is determined, wherein the original line-moving data is associated with N lines of movement;
acquiring first coordinate sets corresponding to the N lines respectively based on the original line data, wherein the first coordinate sets comprise coordinate information corresponding to each coordinate point on the moving line respectively, and N is an integer greater than or equal to 1;
and carrying out line rendering on the two-dimensional house type graph corresponding to the target house source based on the first coordinate sets respectively corresponding to the N lines, and obtaining the target house type graph carrying the line.
2. The method according to claim 1, wherein determining the association relationship among the door object, the window object and the wall object of the target house source according to the two-dimensional house type vector diagram of the target house source comprises:
acquiring the two-dimensional house type vector diagram;
and based on position matching and lattice alignment, carrying out structural relation analysis on the two-dimensional house type vector diagram to obtain the association relation among the door body object, the window body object, the wall body object and the room object.
3. The method according to claim 1, wherein determining raw line data corresponding to a target room object through which the line passes according to the association relation comprises:
determining a target room object through which the line passes based on a preset path algorithm, the association relation and function labels corresponding to the room objects;
establishing, for the determined target room object, a connection relationship between the target room objects forming a line association including at least one of a living line association, a home line association, and a visitor line association;
and acquiring original line data corresponding to the current target room object based on the connection relation corresponding to the current target room object for each target room object.
4. The method of claim 3, wherein the obtaining the original line data corresponding to the current target room object based on the connection relationship corresponding to the current target room object comprises:
based on a connection relation corresponding to a current target room object, acquiring K groups of original line data corresponding to the connection relation to serve as original line data corresponding to the current target room object;
wherein K is an integer greater than or equal to 1, and the K sets of raw line data include at least one of residential line data, household line data, and visitor line data.
5. The method of any of claims 1-4, wherein the raw line data corresponding to the target room object comprises N initial coordinate sets;
the obtaining the first coordinate sets corresponding to the N lines based on the original line data includes:
for each initial coordinate set, adjusting coordinate information of coordinate points in the initial coordinate set based on the two-dimensional house type graph and the wall object to obtain a first coordinate set corresponding to the initial coordinate set;
the coordinate information of each coordinate point in the first coordinate set is different from the coordinate information of the wall object.
6. The method according to claim 1, wherein the performing line rendering on the two-dimensional house type map corresponding to the target house source based on the first coordinate sets corresponding to the N lines respectively includes:
for the first coordinate sets corresponding to the N lines respectively, converting coordinate information corresponding to the first coordinate sets into coordinate information under an image coordinate system;
and determining and marking corresponding pixel points on the two-dimensional house type graph based on the converted coordinate information so as to complete line rendering.
7. The method of claim 1, wherein the N lines comprise living lines, each room object of the target room source corresponding to a tag indicating a dynamic or static zone; the method further comprises the steps of:
detecting whether the living line passes through a room object corresponding to a moving area tag;
and under the condition that the living line does not pass through the room object corresponding to the movable region label, determining that the target room source is a dynamic-static separation layout structure, and rendering the dynamic-static separation label on a display interface where the two-dimensional house type diagram corresponding to the target room source is located.
8. The method according to claim 1, wherein the method further comprises:
Generating room type characteristic evaluation information according to the room type characteristics corresponding to the target room source;
and rendering the house type characteristic evaluation information on a display page where the two-dimensional house type graph corresponding to the target house source is located.
9. A house source information processing apparatus, characterized by comprising:
the first determining module is used for determining the association relationship among the door body object, the window body object, the wall body object and the room object of the target house source according to the two-dimensional house type vector diagram of the target house source;
the second determining module is used for determining original line data corresponding to the target room object through which the line passes according to the association relation, wherein the original line data is associated with N lines;
the first processing module is used for acquiring first coordinate sets corresponding to the N lines respectively based on the original line data, wherein the first coordinate sets comprise coordinate information corresponding to each coordinate point on the moving line respectively, and N is an integer greater than or equal to 1;
and the second processing module is used for carrying out line rendering on the two-dimensional house type graph corresponding to the target house source based on the first coordinate sets respectively corresponding to the N lines, and obtaining the target house type graph carrying the line.
10. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the room source information processing method of any one of claims 1 to 8.
11. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the room source information processing method according to any one of claims 1 to 8.
CN202311072374.XA 2023-08-23 House source information processing method and device, electronic equipment and storage medium Active CN117274424B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311072374.XA CN117274424B (en) 2023-08-23 House source information processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311072374.XA CN117274424B (en) 2023-08-23 House source information processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN117274424A true CN117274424A (en) 2023-12-22
CN117274424B CN117274424B (en) 2024-05-10

Family

ID=

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111291440A (en) * 2020-02-13 2020-06-16 广东三维家信息科技有限公司 Residential house type dynamic line calculation method and device
CN113970321A (en) * 2021-10-21 2022-01-25 北京房江湖科技有限公司 Method and device for calculating house type dynamic line
WO2022141887A1 (en) * 2020-12-31 2022-07-07 杭州群核信息技术有限公司 Home decoration plan automatic design method and apparatus, computer device, and storage medium
CN115393467A (en) * 2022-08-19 2022-11-25 北京城市网邻信息技术有限公司 House type graph generation method, device, equipment and medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111291440A (en) * 2020-02-13 2020-06-16 广东三维家信息科技有限公司 Residential house type dynamic line calculation method and device
WO2022141887A1 (en) * 2020-12-31 2022-07-07 杭州群核信息技术有限公司 Home decoration plan automatic design method and apparatus, computer device, and storage medium
CN113970321A (en) * 2021-10-21 2022-01-25 北京房江湖科技有限公司 Method and device for calculating house type dynamic line
CN115393467A (en) * 2022-08-19 2022-11-25 北京城市网邻信息技术有限公司 House type graph generation method, device, equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘东达;区婷婷;: "小户型空间动线解析", 现代装饰(家居), no. 07, 31 July 2012 (2012-07-31), pages 11 - 14 *

Similar Documents

Publication Publication Date Title
US10803659B2 (en) Automatic three-dimensional solid modeling method and program based on two-dimensional drawing
JP6798094B2 (en) Methods and devices for marking and displaying space sizes in virtual 3D house models
CN105575253B (en) A kind of indoor map generation method and device
CN103534655B (en) For showing the system and method for the control in structure and related data
CN104636726B (en) A kind of image color recognition methods, device and terminal
CN117857899A (en) Automated determination of acquisition locations of acquired building images based on identified surrounding objects
JP2021523493A (en) Methods, devices, and storage media for displaying views of three-dimensional space
JP2010250769A (en) Device, method and program for visualization of analysis result
US20170124430A1 (en) Apparatus, method and program for classifying crowd
CN107506499A (en) The method, apparatus and server of logical relation are established between point of interest and building
CN113962000A (en) Method for dynamically arranging smoke detectors in CAD (computer-aided design) drawing
CN117274424B (en) House source information processing method and device, electronic equipment and storage medium
KR101741943B1 (en) Apparatus and method for visualizing 3d cadastral objects
Puspitasari et al. A reliable method for visibility analysis of tall buildings and skyline: A case study of tall buildings cluster in Jakarta
CN117274424A (en) House source information processing method and device, electronic equipment and storage medium
CN117274423A (en) House source information processing method and device, electronic equipment and storage medium
CN117315073A (en) House source information processing method and device, electronic equipment and storage medium
CN113253622B (en) HomeMap-based network environment visualization control method and system
CN113436317B (en) Image processing method and device, electronic equipment and computer readable storage medium
KR20160066292A (en) System and method for controlling Internet-of-Things device
CN113392761A (en) Component identification method, device, equipment and storage medium
CN113852517A (en) AR-based signal intensity visualization system and method
US10964097B2 (en) Pattern recognition systems and methods for performing segmentation on surfaces and objects
CN115760269B (en) House type feature generation method and device, electronic equipment and storage medium
CN112948933A (en) House model construction method, house model display method, house model management device, and storage medium

Legal Events

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