CN110543685A - functional area optimization method and device based on indoor structure and electronic equipment - Google Patents

functional area optimization method and device based on indoor structure and electronic equipment Download PDF

Info

Publication number
CN110543685A
CN110543685A CN201910715215.4A CN201910715215A CN110543685A CN 110543685 A CN110543685 A CN 110543685A CN 201910715215 A CN201910715215 A CN 201910715215A CN 110543685 A CN110543685 A CN 110543685A
Authority
CN
China
Prior art keywords
area
quadrilateral
restaurant
functional area
indoor structure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910715215.4A
Other languages
Chinese (zh)
Inventor
朱燕
朱程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
DONGYI RISHENG DECORATION CORP
Original Assignee
DONGYI RISHENG DECORATION CORP
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 DONGYI RISHENG DECORATION CORP filed Critical DONGYI RISHENG DECORATION CORP
Priority to CN201910715215.4A priority Critical patent/CN110543685A/en
Publication of CN110543685A publication Critical patent/CN110543685A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/08Construction

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • General Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

the embodiment of the invention provides a functional area optimization method and device based on an indoor structure and electronic equipment, and relates to the technical field of indoor decoration. The functional area division of the passenger restaurant in the indoor structure is more reasonable. The method comprises the following steps: judging whether the number of vertexes corresponding to the area to be optimized in the indoor structure diagram is greater than 4 or not; if the number of the vertexes is larger than 4, determining a quadrilateral area to be selected, which is larger than a first threshold value and wider than a second threshold value, in the quadrilateral enclosed by all the edges in the indoor structure diagram; judging whether two target quadrilateral areas with the non-overlapping areas larger than a third threshold exist in the quadrilateral area to be selected; and if so, determining the larger one of the target quadrilateral areas as a living room functional area and determining the smaller one of the target quadrilateral areas as a restaurant functional area.

Description

Functional area optimization method and device based on indoor structure and electronic equipment
Technical Field
The invention relates to the technical field of indoor decoration, in particular to a functional area optimization method and device based on an indoor structure and electronic equipment.
Background
after 80, 90 days, the technology is becoming a middle and strong force for social development, and the technology continuously builds families, purchases new houses, and is willing to try open attitude for internet technology products. In the face of the fact that consumers in the young generation pay more and more attention to content nowadays, the layout of indoor furniture components is not fixed on the idea, but the internet is embraced by open thinking, and intelligence is promoted.
The former indoor furniture assembly is manually realized by designers according to past experience, the intelligent layout of the furniture assembly can be completely realized according to the interests and hobbies of users by the current service, different styles are arranged according to different house types in the indoor furniture assembly layout, so that not only is time wasted, but also the display effect is simplified, and more requirements require the intelligent layout of the furniture assembly to go into the lives of people.
the intelligent layout furniture assembly can not only be based on the logic layout room of a designer, but also realize the display of different effects according to the requirements of users, and can also intelligently extract the width and the length of the home assembly, so the intelligent layout brings convenience and efficiency for people, and the most basic requirement of the intelligent layout is the reasonable division of functional areas.
In a regular polygonal room, functional areas are reasonably divided, and the realization of intelligent reasonable layout is one of important development directions of intelligent layout technology in the field of home decoration.
Disclosure of Invention
The embodiment of the invention provides a functional area optimization method and device based on an indoor structure and electronic equipment, and realizes more reasonable functional area division of a guest restaurant in the indoor structure.
The embodiment of the invention provides a functional area optimization method based on an indoor structure. The method is applied to the electronic equipment and comprises the following steps:
judging whether the number of vertexes corresponding to the area to be optimized in the indoor structure diagram is greater than 4 or not;
If the number of the vertexes is larger than 4, determining a quadrilateral area to be selected, which is larger than a first threshold value and wider than a second threshold value, in the quadrilateral enclosed by all the edges in the indoor structure diagram;
Judging whether two target quadrilateral areas with the non-overlapping areas larger than a third threshold exist in the quadrilateral area to be selected;
And if so, determining the larger one of the target quadrilateral areas as a living room functional area and determining the smaller one of the target quadrilateral areas as a restaurant functional area.
In an optional implementation, all edges in the indoor structure diagram include:
The solid wall edge, the extended edge of the solid wall edge in the area to be selected, and the mapping edge of the solid wall edge parallel to the solid wall edge in the indoor structure chart and in the area to be selected.
In another optional implementation, the area of the quadrilateral region to be selected is determined according to coordinates of two diagonal points of the quadrilateral region to be selected.
In another optional implementation, the first threshold is 1.8 meters, the second threshold is 1.5 meters, and the third threshold is a preset minimum area of the restaurant functional area.
In another optional implementation, the method further comprises:
and if the number of the vertexes is equal to 4, determining that the area to be optimized is a living room and dining room integrated area, and dividing the area to be optimized into a living room functional area and a dining room functional area according to a preset area ratio of a living room and a dining room.
In another optional implementation, the method further comprises:
If the quadrilateral area to be selected does not exist, two non-overlapping target quadrilateral areas with the areas larger than a third threshold value exist;
And determining the largest area in the quadrilateral areas to be selected as a guest-restaurant integrated area, and dividing the largest area into a guest room functional area and a restaurant functional area according to a preset area ratio of a guest room to a restaurant.
In another optional implementation, the method further comprises:
And using the determined restaurant functional area and the determined living room functional area to arrange the furniture components in the indoor structure diagram.
In a second aspect, an indoor structure-based functional zone optimization device is provided. The device is applied to the electronic equipment, and comprises:
The first judgment unit is used for judging whether the number of vertexes corresponding to the area to be optimized in the indoor structure chart is more than 4 or not;
the first determining unit is used for determining a quadrilateral area to be selected, which is larger than a first threshold value and wider than a second threshold value, in a quadrilateral surrounded by all edges in the indoor structure diagram if the number of the vertexes is larger than 4;
The second judging unit is used for judging whether two target quadrilateral areas which are not overlapped and have the area larger than a third threshold exist in the quadrilateral area to be selected;
And a second determination unit, if any, for determining a larger one of the target quadrangular areas as a living room functional area and a smaller one as a restaurant functional area.
in one optional implementation, all edges in the indoor structure map include one or more of the following:
The real wall edge, the extended edge of the real wall edge in the area to be selected, and the mapping edge of the real wall edge parallel to the real wall edge in the indoor structure chart and in the area to be selected.
In another optional implementation, the area of the quadrilateral region to be selected is determined according to coordinates of two diagonal points of the quadrilateral region to be selected.
in another optional implementation, the first threshold is 1.8 meters, the second threshold is 1.5 meters, and the third threshold is a preset minimum area of the restaurant functional area.
In another optional implementation, the method further comprises:
And a third determining unit, configured to determine that the region to be optimized is a guest-restaurant integrated region if the number of the vertices is equal to 4, and divide the region to be optimized into a guest room functional region and a restaurant functional region according to a preset area ratio of a guest room to a restaurant.
in another optional implementation, the method further comprises:
if the target quadrilateral region does not exist in the quadrilateral region to be selected, two non-overlapping target quadrilateral regions with the areas larger than a third threshold value are obtained;
And the fourth determining unit is used for determining that the largest area in the quadrilateral areas to be selected is a guest-restaurant integrated area, and dividing the largest area into a guest room functional area and a restaurant functional area according to a preset area ratio of a guest room to a restaurant.
In another optional implementation, the method further comprises:
And the layout unit is used for applying the determined restaurant functional area and the determined living room functional area, and laying out the furniture components in the indoor structure diagram.
In a third aspect, an electronic device is provided, which includes a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, and the processor executes the machine-executable instructions to implement the method of the first aspect.
In a fourth aspect, there is provided a machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to carry out the method of the first aspect.
through the embodiment of the application, the functional areas of the living room and the dining room can be divided and optimized according to the indoor structure, so that the situations that the layout of the living room and the dining room is unreasonable, the furniture is unreasonable to cause unreasonable arrangement, or the furniture is not arranged, and the space is wasted are reduced, the areas to be optimized are divided by taking the regular quadrangle as a unit, the utilization of the regular quadrangle space is reasonable, the top point and the side length can be easily determined, the position and the size of the quadrangle can be determined, and the space can be divided and completed more quickly and reasonably.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a schematic flow chart of a functional area optimization method based on an indoor structure according to an embodiment of the present disclosure;
fig. 2 is a diagram illustrating an exemplary functional area optimization method based on an indoor structure according to an embodiment of the present disclosure;
fig. 3 is a diagram illustrating another exemplary functional area optimization method based on an indoor structure according to an embodiment of the present application;
Fig. 4 is a schematic flow chart of another functional area optimization method based on an indoor structure according to an embodiment of the present application;
Fig. 5 is a diagram illustrating another exemplary functional area optimization method based on an indoor structure according to an embodiment of the present application;
Fig. 6 is a schematic flow chart of another functional area optimization method based on an indoor structure according to an embodiment of the present application;
Fig. 7 is a diagram illustrating another exemplary method for optimizing a functional area based on an indoor structure according to an embodiment of the present application;
Fig. 8 is a schematic structural diagram of a functional area optimization device based on an indoor structure according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or coupled. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
for the convenience of understanding the embodiments of the present invention, the following description will be further explained by taking several specific embodiments as examples in conjunction with the drawings, and the embodiments are not to be construed as limiting the embodiments of the present invention.
Fig. 1 is a schematic flow chart of a functional area optimization method based on an indoor structure according to an embodiment of the present disclosure. The method is applied to the electronic equipment, and as shown in fig. 1, the method comprises the following steps:
s110, judging whether the number of vertexes corresponding to the area to be optimized in the indoor structure diagram is larger than 4.
In the embodiment of the present application, the indoor structure diagram refers to a plan view for indicating structures of a door and a window, a partition wall, and a load-bearing wall. The area to be optimized may be an area other than a bedroom, a study, a kitchen, and a bathroom. The shape of the region to be optimized is generally a regular polygon. Wherein, regular polygon has following characteristics: the sides of the polygon do not contain oblique line curves; the polygon is a closed polygon with all vertexes composed of two mutually perpendicular sides; all the recesses of the polygon are of a thickness, i.e. there is no single inward line segment.
The indoor structure diagram may be a structure diagram (e.g., a CAD diagram) uploaded by a user, a regular polygon generated from measured coordinate points, or an image captured by a camera of an electronic device.
the electronic device may read data contained in the structure drawing that indicates the structure, such as vertex coordinates, line segment formulas, and the like. The electronic device can also determine points and line segments contained in the picture through image recognition, and determine the positions of the points and the line segments in the image and the trend, wherein the trend can be expressed by a linear equation of two.
and S120, if the number of the vertexes is larger than 4, determining a quadrilateral area to be selected, which is larger than a first threshold value and wider than a second threshold value, in the quadrilateral enclosed by all the edges in the indoor structure diagram.
In the embodiment of the present application, all the edges in the indoor structure diagram include one or more of the following:
the solid wall edge, the extended edge of the solid wall edge in the area to be selected, and the mapping edge of the solid wall edge parallel to the solid wall edge in the indoor structure chart and in the area to be selected. For example, as shown in fig. 2, the vertices of the region to be optimized include P1, P2, P3, P4, P6, P7, P8, and P9. Wherein, the sides P1-P2, P1-P6, P8-P6, P9-P7, P7-P3 and the like are solid wall sides, P5-P3 or P4-P3 are extension sides of the solid wall sides P4-P5 in the selected area, P1-P3 are mapping sides of the solid wall sides P2-P4 on the parallel solid wall sides P1-P6 or P3-P7 in the indoor structure diagram and in the selected area, and P4-P3 can also be regarded as mapping sides of the solid wall sides P2-P1 on the parallel solid wall sides P4-P5 in the indoor structure diagram and in the selected area.
In addition, the length and width of the quadrangle may be determined based on the coordinates of the vertices of the quadrangle (e.g., directly determining the distance between two adjacent vertices), or based on the parallel line segments that make up the quadrangle. For example, side L1: ax + By + C1 ═ 0, side L2: ax + By + C2 is 0, the distance d between L1 and L2 is:
wherein the distance d may be taken as the length or height of the quadrilateral of the city.
wherein the first threshold and the second threshold may be a minimum size requirement of the living room or the restaurant.
In one example, for a quadrangle, a longer side is abandoned according to the basic requirements of a guest-dining room if the length of the side is less than 1.8m, which does not meet the standard minimum size of a guest-room sofa in the market; and taking a shorter side, and abandoning if the length of the side is less than 1.5m and does not accord with the distance between the couch and the television.
In another example, for a quadrilateral, an edge is taken, if the length of the edge is less than 1.5m, the edge is directly discarded, if the length of the edge is greater than 1.5m and less than 1.8m, whether the length of the edge adjacent to the edge is greater than 1.8m is determined, if not, if the length of the edge is greater than 1.8m, whether the length of the edge adjacent to the edge is greater than 1.5m is determined, and if not, the edge is discarded.
further, the minimum size requirements of the living room and the restaurant may be different, and at this time, the judgment may be made based on the minimum size requirement.
in addition, quadrilaterals can also be marked according to the minimum size requirements of living rooms and restaurants in three types, which can include: the requirements of the dining room and the living room are not met, and the requirements of the dining room and the living room are met.
and S130, judging whether two target quadrilateral areas with the non-overlapping areas larger than a third threshold exist in the quadrilateral areas to be selected.
And S140, if the target quadrilateral areas exist, determining the larger one of the target quadrilateral areas as a living room functional area, and determining the smaller one of the target quadrilateral areas as a restaurant functional area.
Wherein the third threshold is the minimum area requirement of the restaurant or the living room. The minimum area requirements of the living room and the dining room may be different, and at this time, the judgment may be performed based on the minimum area requirement.
The area of the quadrangle may be determined according to the lengths of two adjacent sides, or may be determined according to coordinates of the diagonal points, for example, if a (x1, y1) and B (x2, y2) are two diagonal points of the quadrangle, the area S of the quadrangle is:
s | (x1-x2) | (y1-y2) | (two)
We sort the areas calculated according to the above formula (two) and determine whether there are two target quadrilateral areas whose areas are larger than the third threshold, which are not overlapped. If there are a quadrangle with the largest area and a quadrangle with the second largest area in the target quadrangle region, the quadrangle with the largest area is generally determined as the living room functional region, and the quadrangle with the second largest area is determined as the restaurant functional region according to the requirement, for example, as shown in fig. 3, if the small areas P31-P32 are consistent with the restaurant functional region, it is determined as the restaurant functional region, and the large areas P33-P32 are consistent with the living room functional region, it is determined as the living room functional region. If the small areas P31-P32 do not conform to the restaurant functional area or the living room functional area, the quadrangles P31-P34 are determined as the guest-restaurant integral area.
the calculation method for automatically identifying and arranging the household components of the customer-restaurant mainly judges the separation of the customer-restaurant and the integration of the customer-restaurant, and searches the most suitable arrangement space, and the arrangement method does not make redundant statements here.
In another implementation, according to the found quadrangle with the largest area, we can find two sides of the largest quadrangle containing the point, and generally, according to the actual needs and living habits, we generally find the opposite side of the longest side of the two sides in the found largest quadrangle by using the longest side of the two sides as the basis side, and at this time, we can determine the layout area of the guest restaurant and find the two sides of the largest quadrangle.
the quadrangle with the largest area is the living room functional area determined by the people, in the searched largest quadrangle, the reference space outside the quadrangle with the largest area is the restaurant, according to the solid wall edges (such as P35-P33 in the figure 3) of the quadrangle, if the sides of the regular polygon contain the solid walls of the quadrangle and the length of the side of the solid wall containing the quadrangle is larger than the length of the solid wall of the quadrangle (such as P31-P33 in the figure 3), the solid wall edge (such as P35-P35 in the figure 3) except the side of the quadrangle with the largest area is determined as the restaurant area side as the reference side, according to the reference side, the adjacent side of the quadrangle with the largest area is searched, and the area formed by the reference side and the adjacent side is the functional area of the restaurant.
through the embodiment of the application, the functional area division of the living room and the dining room can be optimized according to the indoor structure, thereby reducing the unreasonable layout of the living room and the dining room, unreasonable arrangement of the caused furniture, or no arrangement of the furniture, and the condition of space waste, the area to be optimized is divided by taking a positive quadrangle as a unit, because the positive quadrangle space is reasonably utilized, the top point and the side length can be easily determined, the position and the size of the quadrangle can be further determined, the space division can be completed more quickly and reasonably, further, the intelligent layout presentation effect can be quickly completed, the waste of user time is avoided, and the user satisfaction and the presentation effect time efficiency are improved.
In some embodiments, as shown in fig. 4, the embodiments of the present application may further include the following steps:
S115, if the number of the vertexes is equal to 4, determining that the area to be optimized is a living room and dining room integrated area, and dividing the area to be optimized into a living room functional area and a dining room functional area according to a preset area ratio of a living room and a dining room.
This step S115 follows S110 in the foregoing embodiment.
For example, as shown in fig. 5, the region to be optimized includes four vertices P41, P42, P43, and P44. In this case, the area formed by the four vertices may be considered as the guest-restaurant integrated area.
The preset area ratio of the living room and the dining room can be determined according to the actual needs, for example, 6: 4.
in some embodiments, as shown in fig. 6, the embodiments of the present application may further include the following steps:
S135, if the target quadrilateral region does not exist in the quadrilateral region to be selected, two non-overlapping target quadrilateral regions with the area larger than a third threshold value exist; and determining the largest area in the quadrilateral areas to be selected as a guest-restaurant integrated area, and dividing the largest area into a guest room functional area and a restaurant functional area according to a preset area ratio of a guest room to a restaurant.
This step S135 follows step S130 in the foregoing embodiment.
At this time, the integrated area of the customer and restaurant is an area to be optimized with a vertex number of 4, and at this time, reference may be made to step S115 for mutual understanding, which is not described again.
in some embodiments, the present application may further include the following steps:
and using the determined restaurant functional area and the determined living room functional area to arrange the furniture components in the indoor structure diagram.
this step follows S140 in the previous embodiment.
wherein, furniture subassembly can include dining table, dining chair, sofa, TV, tea table etc. and when specifically arranging, can be according to each furniture subassembly's function, the overall arrangement is in the more reasonable position of functional area, and here is no longer repeated.
fig. 8 is a functional block optimization apparatus based on an indoor structure according to an embodiment of the present disclosure. The apparatus is applied to an electronic device, and as shown in fig. 8, the apparatus includes:
A first judging unit 801, configured to judge whether the number of vertices corresponding to an area to be optimized in the indoor structure diagram is greater than 4;
a first determining unit 802, configured to determine, if the number of the vertices is greater than 4, a quadrilateral area to be selected, where the size of the quadrilateral area to be selected is greater than a first threshold and the width of the quadrilateral area to be selected is greater than a second threshold, and the size of the quadrilateral area to be selected is defined by all the edges in the indoor structure diagram;
A second determining unit 803, configured to determine whether there are two target quadrilateral areas with areas larger than a third threshold value, which are not overlapped, in the to-be-selected quadrilateral area;
a second determining unit 804, if any, for determining a larger one of the target quadrangular zones as a living room functional zone and a smaller one as a restaurant functional zone.
in an alternative embodiment, all edges in the indoor structure map include one or more of the following:
The real wall edge, the extended edge of the real wall edge in the area to be selected, and the mapping edge of the real wall edge parallel to the real wall edge in the indoor structure chart and in the area to be selected.
In another optional embodiment, the area of the quadrilateral region to be selected is determined according to coordinates of two diagonal points of the quadrilateral region to be selected.
In another optional embodiment, the first threshold is 1.8 meters, the second threshold is 1.5 meters, and the third threshold is a preset minimum area of the restaurant functional area.
in another optional embodiment, further comprising:
and a third determining unit, configured to determine that the region to be optimized is a guest-restaurant integrated region if the number of the vertices is equal to 4, and divide the region to be optimized into a guest room functional region and a restaurant functional region according to a preset area ratio of a guest room to a restaurant.
In another optional embodiment, further comprising:
If the target quadrilateral region does not exist in the quadrilateral region to be selected, two non-overlapping target quadrilateral regions with the areas larger than a third threshold value are obtained;
and the fourth determining unit is used for determining that the largest area in the quadrilateral areas to be selected is a guest-restaurant integrated area, and dividing the largest area into a guest room functional area and a restaurant functional area according to a preset area ratio of a guest room to a restaurant.
in another optional embodiment, further comprising:
And the layout unit is used for applying the determined restaurant functional area and the determined living room functional area, and laying out the furniture components in the indoor structure diagram.
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device includes: a processor 90, a memory 91, a bus 92 and an interface 93, the processor 90, the interface 93 and the memory 91 being connected by the bus 92; the processor 90 is configured to execute executable modules stored in the memory 91, such as computer programs corresponding to the method embodiments shown in fig. 2.
the Memory in fig. 9 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 93 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
The bus may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 9, but this does not indicate only one bus or one type of bus.
The memory is used for storing a program, and the processor executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow program disclosed in any of the foregoing embodiments of the present application may be applied to or implemented by the processor.
the processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps, and logic blocks disclosed in this application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in this application may be directly implemented by a hardware decoding processor, or may be implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The disclosed embodiments also provide a machine-readable storage medium storing machine-executable instructions, which when invoked and executed by a processor, cause the processor to implement the above-mentioned method for optimizing a functional area based on an indoor structure provided by an embodiment of the present disclosure.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are merely illustrative, and the flowcharts and block diagrams in the figures, for example, illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
in addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
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 disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. A functional area optimization method based on an indoor structure is applied to electronic equipment, and the method comprises the following steps:
Judging whether the number of vertexes corresponding to the area to be optimized in the indoor structure diagram is greater than 4 or not;
If the number of the vertexes is larger than 4, determining a quadrilateral area to be selected, which is larger than a first threshold value and wider than a second threshold value, in a quadrilateral surrounded by all edges in the indoor structure diagram;
Judging whether two target quadrilateral areas with the non-overlapping areas larger than a third threshold exist in the quadrilateral area to be selected;
And if so, determining the larger one of the target quadrilateral areas as a living room functional area and the smaller one as a restaurant functional area.
2. the method of claim 1, wherein all edges in the indoor structure map comprise:
the real wall edge, the extended edge of the real wall edge in the area to be selected, and the mapping edge of the real wall edge parallel to the real wall edge in the indoor structure chart and in the area to be selected.
3. the method for optimizing the functional area according to claim 1 or 2, wherein the area of the quadrilateral area to be selected is determined according to coordinates of two opposite corner points of the quadrilateral area to be selected.
4. The method of claim 1, wherein the first threshold is 1.8 meters, the second threshold is 1.5 meters, and the third threshold is a minimum area of a preset restaurant functional area.
5. The method of claim 1, further comprising:
and if the number of the vertexes is equal to 4, determining that the area to be optimized is a living room and dining room integrated area, and dividing the area to be optimized into a living room functional area and a dining room functional area according to a preset area ratio of a living room and a dining room.
6. the method of claim 1, further comprising:
If the quadrilateral areas to be selected do not have non-overlapping target quadrilateral areas, the areas of the two target quadrilateral areas are larger than a third threshold value;
And determining the largest area in the quadrilateral areas to be selected as a guest-restaurant integrated area, and dividing the largest area into a guest room functional area and a restaurant functional area according to a preset area ratio of a guest room to a restaurant.
7. The method of claim 1, further comprising:
And using the determined restaurant functional area and the determined living room functional area to arrange the furniture components in the indoor structure diagram.
8. a functional area optimization device based on an indoor structure is applied to electronic equipment, and the device comprises:
The first judgment unit is used for judging whether the number of vertexes corresponding to the area to be optimized in the indoor structure chart is more than 4 or not;
The first determining unit is used for determining a quadrilateral area to be selected, which is larger than a first threshold value and wider than a second threshold value, in a quadrilateral surrounded by all edges in the indoor structure diagram if the number of the vertexes is larger than 4;
The second judging unit is used for judging whether two target quadrilateral areas which are not overlapped and have the area larger than a third threshold exist in the quadrilateral area to be selected;
And a second determination unit, if any, for determining a larger one of the target quadrangular areas as a living room functional area and a smaller one as a restaurant functional area.
9. An electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to perform the method of any one of claims 1-7.
10. A machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any of claims 1-7.
CN201910715215.4A 2019-08-05 2019-08-05 functional area optimization method and device based on indoor structure and electronic equipment Pending CN110543685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910715215.4A CN110543685A (en) 2019-08-05 2019-08-05 functional area optimization method and device based on indoor structure and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910715215.4A CN110543685A (en) 2019-08-05 2019-08-05 functional area optimization method and device based on indoor structure and electronic equipment

Publications (1)

Publication Number Publication Date
CN110543685A true CN110543685A (en) 2019-12-06

Family

ID=68710160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910715215.4A Pending CN110543685A (en) 2019-08-05 2019-08-05 functional area optimization method and device based on indoor structure and electronic equipment

Country Status (1)

Country Link
CN (1) CN110543685A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484940A (en) * 2016-07-09 2017-03-08 陈志静 A kind of home decoration Intelligentized design method and system
CN106528904A (en) * 2016-07-09 2017-03-22 陈志静 Residential house chart building structure intelligent recognition and functional area automatic planning and designing method
US20180068474A1 (en) * 2016-09-07 2018-03-08 Microsoft Technology Licensing, Llc Customized realty renovation visualization
CN109408935A (en) * 2018-10-17 2019-03-01 东易日盛家居装饰集团股份有限公司 A kind of region partitioning method and device
CN109670262A (en) * 2018-12-28 2019-04-23 江苏艾佳家居用品有限公司 A kind of area of computer aided domestic layout optimization method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484940A (en) * 2016-07-09 2017-03-08 陈志静 A kind of home decoration Intelligentized design method and system
CN106528904A (en) * 2016-07-09 2017-03-22 陈志静 Residential house chart building structure intelligent recognition and functional area automatic planning and designing method
US20180068474A1 (en) * 2016-09-07 2018-03-08 Microsoft Technology Licensing, Llc Customized realty renovation visualization
CN109408935A (en) * 2018-10-17 2019-03-01 东易日盛家居装饰集团股份有限公司 A kind of region partitioning method and device
CN109670262A (en) * 2018-12-28 2019-04-23 江苏艾佳家居用品有限公司 A kind of area of computer aided domestic layout optimization method and system

Similar Documents

Publication Publication Date Title
JP7277064B2 (en) Matching Content to Spatial 3D Environments
JP7136931B2 (en) Matching content to spatial 3D environments
KR101722588B1 (en) Context aware localization, mapping, and tracking
US10930057B2 (en) Generating two-dimensional plan from three-dimensional image data
US9965800B1 (en) Display of an electronic representation of a physical object in a virtual environment
CN112001997B (en) Furniture display method and device
CN109509257B (en) Indoor floor level component pattern forming method, terminal and storage medium
US10685148B2 (en) Design-model management using an architectural criterion
WO2023124076A1 (en) Smart home layout diagram generation method and apparatus and computer readable storage medium
CN109308386B (en) Engineering drawing wall body identification method and device and electronic equipment
US10229227B2 (en) Design-model management using a geometric criterion
US11657611B2 (en) Methods and systems for augmented reality room identification based on room-object profile data
CN110880167A (en) Indoor effect graph description generation method and device and electronic equipment
CN110543685A (en) functional area optimization method and device based on indoor structure and electronic equipment
US20240087004A1 (en) Rendering 3d model data for prioritized placement of 3d models in a 3d virtual environment
CN109408935B (en) Region division method and device
CN110263800B (en) Image-based location determination
US20150134689A1 (en) Image based location determination
CN111080807A (en) Method for adjusting model transparency
CN103821383A (en) Designing method for improving building comfortableness
JP6262123B2 (en) Information processing apparatus, program, and information processing method
KR102446739B1 (en) Method for generating virtual reality data automatically based on information of floor plan
JP7097125B1 (en) Video generation method and image generation program
CN117531194A (en) Model loading method, device, equipment and storage medium in game
CN110766741A (en) Indoor design effect graph rating method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191206

RJ01 Rejection of invention patent application after publication