Presentation method, apparatus, device, and storage medium
By presenting a single floor image and drawing content on the user interface and displaying the overall floor plan of multiple floors on another interface, the problem of drawing and displaying multi-floor floor plans of an entire building is solved, improving the user experience and display flexibility.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING YOUZHUJU NETWORK TECH CO LTD
- Filing Date
- 2022-07-13
- Publication Date
- 2026-06-26
AI Technical Summary
Existing technologies struggle to effectively draw and display multi-story floor plans of an entire building, especially in the housing rental, sales, renovation, and modeling industries. The lack of flexible methods for displaying and drawing multi-story floor plans negatively impacts user experience.
An interactive scheme is provided, which presents an image of a single floor and user-drawn content on a first user interface, and displays an overall floor plan of multiple floors on a second user interface in response to user requests. The layout of the floor plans of multiple floors is determined and the overall floor plan is reasonably arranged and scaled.
It improves the flexibility of displaying and drawing multi-story floor plans, enhances the user experience, provides ways to browse multi-story floor plans, and meets the needs of displaying the multi-story layout of an entire building.
Smart Images

Figure CN115270246B_ABST
Abstract
Description
Technical Field
[0001] The exemplary embodiments disclosed herein relate generally to the field of computers, and more particularly to methods, apparatus, devices and computer-readable storage media for presentation. Background Technology
[0002] Floor plans or floor plans indicate the spatial layout of a house, depicting the location, area, and shape of each space. In real estate-related industries, the creation, management, and maintenance of floor plans are crucial, serving as fundamental data for various business operations. For example, the housing rental and sales industry requires floor plans of properties for rent or sale. The home renovation and modeling industries also rely on floor plans as basic data to showcase renovation and modeling effects. In some of these scenarios, the properties to be displayed are entire buildings (e.g., villas, multi-story duplexes). In such cases, it's necessary to create and present the multi-floor layout of the entire building. Summary of the Invention
[0003] In a first aspect of this disclosure, a method for presenting a multi-floor plan is provided. The method includes presenting at least one of a first image associated with a first floor plan of a first floor and first user-drawn content on a first user interface; in response to receiving a first user request for presenting the multi-floor plan, determining the layout of floor plans of each floor in a plurality of floors, including the first floor, in an overall floor plan of the plurality of floors; and presenting the overall floor plan on different second user interfaces according to the determined layout, the overall floor plan including corresponding plurality of floor plans of the plurality of floors, the plurality of floor plans including the first floor plan of the first floor.
[0004] In a second aspect of this disclosure, an apparatus for presenting a multi-floor plan is provided. The apparatus includes a first presentation module configured to present at least one of a first image associated with a first floor plan of a first floor and first user-drawn content on a first user interface; a layout determination module configured to, in response to receiving a first user request for presenting the multi-floor plan, determine the layout of floor plans of each floor among a plurality of floors, including the first floor, in an overall floor plan of the plurality of floors; and a second presentation module configured to present an overall floor plan on different second user interfaces according to the determined layout, the overall floor plan including corresponding plurality of floor plans of the plurality of floors, the plurality of floor plans including the first floor plan of the first floor.
[0005] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.
[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. A computer program is stored on the medium, which, when executed by a processor, implements the method of the first aspect.
[0007] It should be understood that the description in this section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0008] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0009] Figure 1 A schematic diagram of an example environment in which embodiments of the present disclosure can be implemented is shown;
[0010] Figure 2 A flowchart is shown for a process of presenting a multi-story floor plan according to some embodiments of the present disclosure;
[0011] Figure 3A and Figure 3B An example layout of a multi-story overall floor plan is shown according to some embodiments of the present disclosure;
[0012] Figure 4A An example layout of a second user interface according to some embodiments of the present disclosure is shown;
[0013] Figure 4B An example layout of a layered floor plan according to some embodiments of the present disclosure is shown;
[0014] Figure 5A , Figure 5B and Figure 5C An example layout of a first user interface according to some embodiments of the present disclosure is shown;
[0015] Figure 6 A block diagram illustrating an apparatus for presenting multi-story floor plans according to some embodiments of the present disclosure; and
[0016] Figure 7 A block diagram of an apparatus capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation
[0017] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0018] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.
[0019] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0020] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure through appropriate means in accordance with relevant laws and regulations, and user authorization should be obtained.
[0021] For example, in response to receiving a user's active request, a prompt message is sent to the user to clearly inform the user that the requested operation will require the acquisition and use of the user's personal information, thereby enabling the user to choose whether to provide personal information to the software or hardware such as electronic devices, applications, servers or storage media that perform the operation of the technical solution disclosed herein, based on the prompt message.
[0022] As an optional but non-restrictive implementation, in response to a user's active request, a prompt message can be sent to the user, for example, via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose whether to "agree" or "disagree" to provide personal information to the electronic device.
[0023] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0024] As mentioned above, industries such as real estate rental and sales, home renovation, and house modeling require the display of house layouts, and some of these houses are entire buildings (e.g., villas, multi-story duplex apartments). Therefore, it is desirable to draw and present the multi-floor layout of a house.
[0025] Embodiments of this disclosure propose an interactive scheme for presenting and drawing multi-floor floor plans. According to this scheme, on a user interface (referred to as the "first user interface"), images and / or user-drawn content associated with a floor plan of a particular floor are presented. The presented images may include a top view cropped from a 3D model of the floor or other images that reflect the floor plan layout of the floor. The user-drawn content may include a layout diagram of the floor drawn by the user using drawing tools. Furthermore, according to this scheme, in response to a user request, on another user interface (referred to as the "second user interface"), an overall floor plan of multiple floors, comprising multiple floor plans of multiple floors, is presented according to a determined layout.
[0026] In this way, a multi-story floor plan can be presented to the user based on a specific layout, providing a way to browse multi-story floor plans. Furthermore, a separate user interface allows users to draw and display floor plan content for individual floors. This increases the flexibility of displaying and drawing multi-story floor plans, simplifies user operation, and improves the user experience.
[0027] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown.
[0028] In environment 100, electronic device 110 has application 115 installed. User 120 can interact with application 115 via electronic device 110 and / or attached devices of electronic device 110 to draw and browse floor plans of multi-level spaces (e.g., multi-story buildings). In other examples, electronic device 110 may not need to have application 115 installed, but may provide interaction with user 120 in other ways, such as through web access, to achieve the drawing and presentation of multi-level floor plans.
[0029] In the context of this disclosure, multiple floors can include, starting from the ground floor, floors upwards sequentially designated as the first floor (labeled F1), second floor (labeled F2), third floor (labeled F3), and so on, and floors downwards sequentially designated as the first basement level (labeled B1), second basement level (labeled B2), third basement level (labeled B3), and so on. For apartment-style office buildings, lofts, and duplex units, the floor division can be considered based on their independent structure, regardless of the actual number of floors in the building in which the unit is located.
[0030] Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio broadcast receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, electronic device 110 may also support any type of user-facing interface (such as "wearable" circuitry).
[0031] In some embodiments, electronic device 110 may communicate with remote server 125 to provide drawing and rendering services for floor plans. Server 125 may be various types of computing systems capable of providing computing power, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, and so on.
[0032] It should be understood that the structure and function of environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure. For example, electronic device 110 may not communicate with remote server 125, and therefore server 125 may be omitted.
[0033] In environment 100, application 115 presents content 132, drawn by user 120, related to a floor plan (e.g., floor F1) on a first user interface 130. Content 132 may include user-drawn content about the floor plan, which may have been drawn by user 120 using drawing tools. Alternatively or additionally, content 132 may also include an image related to the floor plan. The image may be a top view cropped from a 3D model of the floor, or other images that reflect the floor plan layout.
[0034] The first user interface 130 also includes a control panel 134 displaying multiple controls 136, 138, 140, and 142, which, for example, provide functions such as "import" of floor plan-related content, "clear" of drawn or displayed content, "undo" of drawn content, and "upload" of drawn or displayed content. In some embodiments, the user 120 can import an image related to the floor plan of the current floor by clicking the "import" control 136. The import or presentation of the image can also be triggered by any other suitable means. In some embodiments, the user 120 can request the presentation of a multi-floor floor plan by clicking the "upload" control 142. The user 120 can also make a request for the presentation of a multi-floor floor plan by any other suitable means.
[0035] like Figure 1 As shown, in response to a user request to present a multi-floor plan, an overall floor plan 146 of multiple floors (e.g., including floors F1 and F2) is presented on a second user interface 144. The overall floor plan 146 is presented in a specific layout. In this example, the two floor plans of the two floors are laid out in a row and two columns. In other examples, depending on the layout of the second user interface 144, the two floor plans may be laid out in two rows and one column.
[0036] It should be understood that this is merely for illustrative purposes and is not intended to impose any limitations. Figure 1 The diagram shows a floor plan of two floors. Depending on the specific implementation, an overall floor plan of any appropriate number of floors can be displayed based on any suitable layout.
[0037] It should be understood that Figure 1 The first user interface 130 and the second user interface 144, as well as the user interfaces and display interfaces in the other figures described below, are merely examples, and various designs are possible in practice. For example, any suitable controls may be presented on user interfaces 130 and / or 144. It should also be understood that the various graphical elements and / or controls in the interface may have different arrangements and different visual representations, one or more of the elements and / or controls may be omitted or replaced, and one or more other elements and / or controls may also be present. Moreover, the interface may contain any suitable text content. The embodiments of this disclosure are not limited in this respect.
[0038] Figure 2 A flowchart of a process 200 for presenting a multi-story floor plan according to some embodiments of the present disclosure is shown. Process 200 may be implemented at electronic device 110. For ease of discussion, it will be combined with... Figure 1 The environment 100 is used to describe the process 200.
[0039] In box 210, in the first user interface (e.g., Figure 1 The first user interface 130 in the system presents at least one of an image (referred to as a "first image") associated with a floor plan (referred to as a "first floor plan") and user-drawn content (referred to as "first user-drawn content"). For example, in Figure 1 In the example shown, content 132 related to a first floor plan of a first floor (e.g., floor F) is presented on a first user interface 140, which may include a first image and / or first user-drawn content.
[0040] As an example, the first image may be stored in a gallery in electronic device 110 or server 125. In some embodiments, the first image may be presented on the first user interface 140 in response to a user request to retrieve at least the first image. For example, in response to the user request, at least the first image may be retrieved from the gallery and presented on the first user interface 140. In addition to the first image, the user 120 may also request images related to floor plans of other floors, embodiments of which will be described later. In this way, the content to be presented related to the first floor plan of the first floor can be flexibly selected and displayed, improving the user experience.
[0041] In box 220, in response to receiving a user request to present a multi-story floor plan, the layout of the floor plans of each floor among the multiple floors, including the first floor, in the overall floor plan of the multiple floors is determined. For ease of discussion below, the user request to present the multi-story floor plan will be referred to as the "first user request," and the user request to obtain at least the first image will be referred to as the "second user request."
[0042] The first user request can be made by the user in any appropriate manner. Figure 1 In the example shown, user 120's click on the "Upload" control 142 or other pre-defined action can be considered as a first user request for presenting a multi-story floor plan. It should be understood that other implementations of the first user request are also possible. The scope of this disclosure is not limited in this respect.
[0043] In box 230, based on the determined layout, different second user interfaces (e.g., Figure 1 The second user interface 144 in the system displays an overall floor plan (e.g., multiple floors) showing the corresponding multiple floor plans of multiple floors. Figure 1 (See the overall floor plan 146). In this way, floor plans of multiple floors can be presented and displayed to users.
[0044] The floor plans of each floor can have any suitable layout within the overall floor plan. In some embodiments, the overall floor plan can be divided into multiple zones based on the number of floors. One floor plan from multiple floors is presented in one zone. The overall floor plan can be partitioned based on any suitable criteria. In some embodiments, the overall floor plan can be equally divided into multiple zones. This can further improve the presentation.
[0045] In some embodiments, the overall floor plan can be divided into multiple regions according to one or more predetermined directions. As an example, it can be partitioned according to two predetermined directions (referred to as the "first direction" and the "second direction," respectively). The first and second directions can be any suitable directions, for example, a horizontal direction and a vertical direction. For ease of discussion, some embodiments regarding the layout and presentation of the overall floor plan will consider an example where the horizontal direction is the first direction and the vertical direction is the second direction, partitioning the overall floor plan according to both horizontal and vertical directions.
[0046] Figure 3A An example layout 300 of a multi-story overall floor plan 146 according to some embodiments of the present disclosure is shown.
[0047] In layout 300, the overall floor plan 146 is divided into nine 3x3 zones 305 in both the horizontal (as an example of the first direction) and vertical (as an example of the second direction), each zone presenting a floor plan 310 for one floor. The floor plans for each floor can be placed arbitrarily and appropriately within their respective zones. For example... Figure 3A As shown in the overall floor plan 146, the floor numbers indicated by floor name 315 increase from left to right and from top to bottom.
[0048] In some embodiments, during the process of determining the partitions of the overall floor plan, the number of areas in each direction can be determined according to the orientation to present the corresponding number of floors. It is advisable to make the number of floors presented in each direction equal to further improve the display effect of the overall floor plan and enhance the user experience.
[0049] For example, in an embodiment where the overall floor plan is divided into sections according to horizontal and vertical directions, the number of floors to be placed in the horizontal and vertical directions can be calculated according to the following formula:
[0050] rowLength=Math.round(Math.sqrt(floorLength))(1)
[0051] colLength=Math.ceil(floorLength / rowLength)(2)
[0052] Here, `floorLength` represents the number of floors, `rowLength` represents the number of rows in the partition, `colLength` indicates the number of columns in the partition, `Math.sqrt()` performs the square operation, `Math.round()` performs the rounding operation, and `Math.ceil()` performs the rounding up operation. The following will combine... Figure 3B Let's discuss an example of an 8-story building.
[0053] Figure 3BAn example layout 320 of a multi-story overall floor plan 146 according to some other embodiments of the present disclosure is shown.
[0054] In layout 320, the overall floor plan 146 presents eight floor plans 310 for an eight-story building. Using equations (1) and (2) above, we can obtain rowLength = 3 and colLength = 3. Thus, as... Figure 3B As shown, the eight floor plans 310 of the eight-story building are arranged in three rows and three columns.
[0055] In some embodiments, the resolution of the overall floor plan can be kept constant, while the size of each floor plan can be reduced to fit within a single overall floor plan. For example, in Figure 3B In the example shown, it is assumed that the overall floor plan 320 has a resolution of 2400×2400, which is divided into 9 regions 305 of 3×3 in the horizontal and vertical directions, each region having a resolution of 800×800, and then the floor plan of each floor is presented in each region 305.
[0056] For example, if we use equations (1) and (2) above to partition the overall floor plan, assuming the resolution of the overall floor plan is 2400×2400, we can arrange multiple floor plans for multiple floors according to the following rules:
[0057] • 1 floor: Each floor occupies 2400×2400
[0058] • Two-story building: occupies one row and two columns, each floor occupies 1200×2400 square meters.
[0059] • 3 floors: occupying two rows and two columns, each floor occupies 1200×1200
[0060] • 4 floors: occupying two rows and two columns, each floor occupies 1200×1200
[0061] • 5-story building: occupies two rows and three columns, with each floor measuring 800 x 1200 mm.
[0062] • 6-story building: occupies two rows and three columns, with each floor measuring 800 x 1200 mm.
[0063] • 7 floors: occupying three rows and three columns, each floor occupies 800×800 square meters
[0064] • 8-story and 9-story buildings: occupying three rows and three columns, with each floor occupying 800×800 square meters.
[0065] To place a floor plan into a designated area, in some embodiments, a display position within the area for presenting the corresponding floor plan can be determined. This display position can be determined based on a predetermined reference position within the area. The predetermined reference position can be set to any suitable location within the area. For example, the center point of the area can be used as the predetermined reference position for positioning the floor plan to be presented.
[0066] As an example, the coordinates of the center point of each region can be calculated. These coordinates can be determined based on any suitable coordinate system. For instance, the top-left corner of the overall plan can be taken as the origin, the horizontal direction to the right as positive x, and the vertical direction downwards as positive y. Then the coordinates of the center point of each region can be calculated as follows:
[0067] x=(col+0.5)×imageW (3)
[0068] y = (row + 0.5) × imageH (4)
[0069] Here, `col` represents the horizontal index, and `row` represents the vertical index, both starting from 0; `imageW` and `imageH` represent the width and resolution of each region, respectively. After determining the coordinates of the center point of each region, the display position of the corresponding planar image can be determined based on the coordinates of each center point, so that each planar image is placed in the corresponding region.
[0070] In some embodiments, to ensure the integrity of the floor plan presented in each area, a protective interval can be reserved in each area. As an example, the actual display area (or drawing area) of the floor plan can be set to occupy 80% of the width and height of the area. This allows for a 20% protective interval to be reserved in both the width and height of the area, further ensuring that the floor plan is fully displayed in the corresponding area. It should be understood that 80% is merely an example and not a limitation. The actual display area of the floor plan can be set according to any other proportion.
[0071] In some embodiments, such as Figure 3A As shown, in addition to displaying the floor plans 310 for each floor, the overall floor plan 146 may also display floor names 315, a scale 325, a compass 330, and other information (not shown). In these embodiments, in addition to the display area (or drawing area) of the floor plan 310, display areas (or drawing areas) for the scale 325, floor names 315, etc., may also be defined. As an example, the scale display area may be defined as an outward extension of a predetermined distance from the floor plan display area, for example, 3% (or any other suitable proportion) of the smaller of the width and height of the extended area. The floor name display area may be determined based on the enclosing area of both the scale and the floor plan. For example, it may be translated from the bottom center of the enclosing area along the height (e.g., vertical direction) of the area by a predetermined proportion (e.g., 3%).
[0072] The distance by which the ruler display area extends beyond the floor plan display area and / or the proportion by which the floor name display area is shifted along the height of the area can be set to any appropriate value. In some embodiments, the aforementioned distance and / or proportion may not exceed a predetermined threshold, which can be determined based on actual needs. This ensures that the floor names are presented completely within the area.
[0073] To effectively reduce the size of floor plans for placement within their respective areas, in some embodiments, a scaling factor can be determined for each floor plan and the presentation can be based on that scaling factor. The scaling factor can be determined based on the number of partitions in a predetermined direction (e.g., a first and a second direction, which may be, for example, horizontal and vertical), the resolution of the overall floor plan, and the resolution of each individual floor plan.
[0074] As an example, in an embodiment where the floor plans of each floor have the same resolution as the overall floor plan, the scaling factor for each floor plan can be determined as follows:
[0075] rowScale = 1 / rowLength (5)
[0076] colScale = 1 / colLength (6)
[0077] Where rowLength represents the number of partition rows, colLength represents the number of partition columns, rowScale represents the horizontal scaling factor, and colScale represents the vertical scaling factor.
[0078] The scale can also be scaled according to the scaling factor of the plan view. For example, the line width of the scale can be determined as follows:
[0079] lineWidth = 2 × colScale (7)
[0080] The minimum value for `lineWidth` can be set to 1. The font size `textSize` of the ruler can be determined as follows:
[0081] textSize = 14 × linewidth (8)
[0082] The distance between the ruler and the wall can be determined as 5% of the smaller of the area's width and height (or other appropriate proportions).
[0083] Additionally, the font size of the floor names and the compass can be scaled accordingly. For example, the font size of the floor names can be determined as follows:
[0084] Size = rowScale × 90 (9)
[0085] The compass scaling factor (Scale) can be determined as follows:
[0086] Scale = 2.5 × colScale (10)
[0087] It should be understood that the parameter values in equations (7) to (10) above are merely examples, not restrictions. These parameter values can be set to any appropriate value according to actual needs or application scenarios.
[0088] Considering that the shapes and sizes of each floor plan may differ, to further improve the visual effect of the overall floor plan display and enhance the user experience, in embodiments where the overall floor plan is divided into multiple equal areas, each floor plan can be presented based on a reference scaling factor of a reference floor plan. In some embodiments, the scaling ratio of each floor plan can be the same as that of the reference floor plan. This allows the scaling ratios of the floor plans in each area to be close or even the same, improving the display effect.
[0089] The reference floor plan can be any one of the multiple floor plans to be presented. As an example, the floor plan of the floor with the largest area among multiple floors can be designated as the reference floor plan. Accordingly, a reference scaling factor can be determined based on the number of zones and the resolution of the overall floor plan and the reference floor plan. In this way, the floor plans of each floor can be scaled based on the scaling factor of the floor plan of the floor with the largest area. This improves the display effect while ensuring that each floor plan is fully presented in its respective area.
[0090] In some embodiments, in addition to displaying an overall floor plan of multiple floors, a layered floor plan of each floor may also be displayed. For example, this can be done in a second user interface that presents the overall floor plan (e.g., Figure 1 The second user interface (144) displays floor plans for each floor. The following will combine... Figure 4A and Figure 4B Examples of this approach will be described.
[0091] Figure 4A An example layout 400 of a second user interface 144 according to some embodiments of the present disclosure is shown.
[0092] In layout 400, the second user interface 144 includes a thumbnail area 405 and a preview area 410. In thumbnail area 405, a thumbnail 412 of the overall floor plan and thumbnails 414 and 416 of the layered floor plans for layers F1 and F2 are displayed. In response to the user selecting thumbnail 414 of layer F1, the layered floor plan 418 of layer F1 is presented in preview area 410. The layout of the layered floor plans may be the same as or different from the overall floor plan.
[0093] Figure 4B An example layout 422 of a layered plan view 420 according to some embodiments of the present disclosure is shown.
[0094] like Figure 4B As shown, floor name 425 is placed in the upper left corner of floor plan 420. This is different from... Figure 3A The overall floor plan 146 shown is layout 305. In layout 305, the floor name 315 is placed at the bottom center of the corresponding floor plan 310. Alternatively or additionally, the scale area of the layered floor plan 420 may extend outward by a different distance than that of the overall floor plan. For example, if the scale area of each layered floor plan presented in the partition of the overall floor plan is set to extend outward by 3% of the width and height of the area beyond the floor plan display area, the scale area of the layered floor plan 420 may extend outward by 5% of the width and height of the layered floor plan (or its display area), or any other suitable proportion.
[0095] In addition to the interactive display of multi-floor floor plans (including overall floor plans and / or layered floor plans), some embodiments of this disclosure also provide interactive drawing of individual floor plans. For example, a user can interact with a first user interface (e.g., for presenting individual floor plans) to display the floor plans. Figure 1 On the first user interface (130) in the system, operations such as adding, deleting, and switching floors can be performed.
[0096] To enable adding floors, in some embodiments, a control for adding floors (referred to as the "first control") may be presented on a first user interface. In response to a pre-defined action by the user on the first control, an instruction for the newly added floor (referred to as the "second floor") may be presented on the first user interface. This pre-defined action may include any appropriate action, such as clicking, touching, or approaching. Depending on the existing floors, the second floor may be any appropriate floor. Reference will be made below. Figure 5A and Figure 5B Discuss an example process for adding floors.
[0097] Figure 5A and Figure 5B Example layouts 500 and 505 of a first user interface 130 according to some embodiments of the present disclosure are shown.
[0098] First refer to Figure 5AThe first user interface 130 includes a control panel 510, on which an indicator 512 of the current first floor is displayed. The control panel 510 also displays first controls 515-1 and 515-2 (individually or collectively referred to as "first controls" 515) for adding new floors, where first control 515-1 is used to add floors above the current floor, and first control 515-2 is used to add floors below the current floor. In this example, the current first floor is floor F1. If the user clicks first control 515-1, floor F2 can be added as the second floor accordingly. If the user clicks first control 515-2, floor B1 can be added as the second floor.
[0099] exist Figure 5B In layout 505, after the user clicks the first control 515-1, floor F2, which is above the current floor F1, is added. For example... Figure 5B As shown, on control panel 510, in addition to displaying the current floor indicator 512, an indicator (e.g., F2) 520 is also displayed for the newly added second floor. In this example, after adding the new second floor, the user interface is not switched (or jumped), and the first user interface 130 is still displayed.
[0100] In some embodiments, if the user performs a predetermined operation such as clicking, touching, or approaching the instruction 520, they can jump from the first user interface 130 to another user interface (not shown) to draw or import content associated with the floor plan of the second floor. In response to further user actions or requests, they can jump from the corresponding user interface of the second floor to another user interface. In this case, if the user has already drawn or imported floor plan-related content on the corresponding user interface of the second floor, the content on the current user interface can be cleared, and the content related to the selected floor can be presented (or drawn) on the user interface after the jump.
[0101] As mentioned above, if there is no content on the current first user interface 130, the first image can be imported in response to a second user request for at least obtaining a first image associated with the first floor plan of the current first floor. In some embodiments, if first user-drawn content associated with the first floor plan is presented on the first user interface 130, the first user-drawn content can be replaced with the first image in response to receiving the second user request.
[0102] In some embodiments, if multiple floors have been added, the second user request may request images associated with multiple floor plans of the multiple floors. In this case, in response to receiving the second user request, these images of the multiple floors, including a first image, can be retrieved. The first image can be displayed on the first user interface 130. The following will be combined with... Figure 5CThis section discusses an example process for importing floor plan images from multiple floors.
[0103] Figure 5C An example layout 530 of a first user interface 130 according to some embodiments of the present disclosure is shown.
[0104] like Figure 5C As shown, in this example, a second floor (e.g., F2 floor) has been added in addition to the current first floor (e.g., F1 floor). Accordingly, indicators 512 and 520 for the first and second floors are presented on the control panel 510 of the first user interface 130. If the user clicks the "Import" control 136 on the control panel 134, it indicates that the user has requested to obtain related images of multiple floor plans for multiple floors, including the first and second floors.
[0105] If no content has been drawn for the existing multiple floors, you can directly import the relevant floor plan images of those floors. For example... Figure 5C As shown, a first image 535 associated with a first floor plan of the first floor can be displayed on the first user interface 130.
[0106] If floor plans for several floors have already been drawn, importing can be based on whether the floor names are the same. For example, if the floor name in the acquired image is the same as the floor name in an existing floor plan, the acquired image replaces the previous content. If the floor name in the acquired image is different from the existing floor names, it indicates that the floor in the acquired image is a new floor relative to the already drawn floors. In this case, the corresponding floor can be added and drawn.
[0107] To differentiate the floor plans of different floors, a field indicating the floor level can be added to each floor plan, for example, denoted as "floorBaseIndex". As an example, for floor F1, floorBaseIndex = 0. Above floor F1, the value of floorBaseIndex can be 1, 2, 3... Below floor F1, the value of floorBaseIndex can be -1, -2, -3... Correspondingly, when determining the floorBaseIndex value of a newly added floor, a distinction can be made between adding a floor above ground and a floor below ground. For example, if the added floor is above ground, the floorBaseIndex value of the newly added floor is the largest floorBaseIndex before addition + 1. If the added floor is below ground, the floorBaseIndex value of the newly added floor is the smallest floorBaseIndex - 1.
[0108] For deleting a floor, a control (referred to as the "second control") for deleting a floor (e.g., a second floor that has already been added) can be presented on the first user interface. In response to a predefined action on the second control (e.g., clicking, touching, or approaching, etc.), the instruction for that floor can be removed from the first user interface.
[0109] The following will continue to refer to Figure 5B Let's discuss an example of how to delete a floor. Figure 5B As shown, a second control 525 for deleting the second floor is presented in the control panel 510 of the first user interface 130. If the user clicks this control, the instruction 520 for the second floor can be removed from the first user interface 130.
[0110] In an embodiment where the first user interface 130 has already switched to the user interface for presenting and drawing the second floor, considering that floor-related content cannot be displayed after a floor is deleted, a floor switch can be performed after the floor is deleted, for example, switching from the user interface for the second floor to the first user interface 130. In some embodiments, if the currently deleted floor contains floor plan-related content (e.g., images and / or user-drawn content), it can be deleted as well to further save storage capacity and optimize system performance.
[0111] The floor switching mechanism can distinguish between above-ground and underground floors being deleted. For example, after deleting an above-ground floor, the current user interface can switch to the user interface of the next immediately following floor. After deleting an underground floor, the current user interface can switch to the user interface of the next immediately preceding floor.
[0112] In some embodiments, floor deletion can be based on predetermined rules. For example, considering that buildings typically have an F1 floor, the F1 floor can be set to be non-deletable. Additionally, to avoid confusion or ambiguity in floor names caused by deletion, it can be configured to only allow the deletion of floors at the ends of a multi-story building group, i.e., the first and last floors in the group, while disallowing the deletion of intermediate floors.
[0113] Figure 6 A schematic structural block diagram of an apparatus 600 for configuring a device according to some embodiments of the present disclosure is shown. The apparatus 600 may be implemented as or included in an electronic device 110. Various modules / components in the apparatus 600 may be implemented by hardware, software, firmware, or any combination thereof.
[0114] like Figure 6As shown, the device 600 includes a first presentation module 610, a layout determination module 620, and a second presentation module 630. The first presentation module 610 is configured to present at least one of a first image associated with a first floor plan of a first floor and first user-drawn content on a first user interface. The layout determination module 620 is configured to, in response to receiving a first user request for presenting a multi-floor floor plan, determine the layout of the floor plans of each floor among a plurality of floors, including the first floor, in an overall floor plan of the plurality of floors. The second presentation module 630 is configured to present an overall floor plan on different second user interfaces according to the determined layout. The overall floor plan includes corresponding plurality of floor plans of the plurality of floors, and the plurality of floor plans include the first floor plan of the first floor.
[0115] In some embodiments, the layout determination module 620 may be further configured to: divide the overall floor plan into multiple regions based on the number of multiple floors, and present one of the multiple floor plans in one of the multiple regions.
[0116] In some embodiments, the second presentation module 630 may be further configured to: determine the display position of a corresponding plan view in a region based on a predetermined reference position of one of the regions; and present the corresponding plan view at the display position in the region.
[0117] In some embodiments, the overall plan view can be equally divided into multiple regions. In these embodiments, the second presentation module 630 may be further configured to: determine a reference scaling factor based on the number of multiple regions in a predetermined first direction and second direction, the resolution of the overall plan view, and the resolution of a reference plan view among the multiple plan views; and present multiple plan views in the multiple regions based on the reference scaling factor.
[0118] In some embodiments, the device 600 may further include a third presentation module configured to further present a floor plan of each of the multiple floors on a second user interface.
[0119] In some embodiments, the second presentation module 630 may be further configured to: in response to receiving a second user request for acquiring at least a first image, present the first image on the first user interface.
[0120] In some embodiments, the second presentation module 630 may be further configured to: present first user-drawn content on a first user plane; and, in response to receiving a second user request, replace the first user-drawn content with a first image.
[0121] In some embodiments, the second user request may be used to obtain images associated with multiple floor plans of multiple floors. In these embodiments, the second presentation module 630 may be further configured to: in response to receiving the second user request, obtain multiple images associated with multiple floor plans of multiple floors, the multiple images including a first image; and present the first image on a first user interface.
[0122] In some embodiments, the apparatus 600 may further include: a third presentation module configured to present a first control for adding a floor on a first user interface; and a fourth presentation module configured to present an instruction for a newly added second floor on the first user interface in response to a predetermined operation on the first control.
[0123] In some embodiments, the apparatus 600 may further include: a fifth presentation module configured to present a second control for deleting a second floor among a plurality of floors on a first user interface; and an instruction removal module configured to remove an instruction for the second floor from the first user interface in response to a predetermined operation on the second control.
[0124] It should be understood that the above references Figures 1 to 5C The features and effects of process 200 discussed also apply to device 600 and will not be repeated here. Furthermore, the modules included in device 600 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more modules can be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to machine-executable instructions, some or all of the modules in device 600 can be implemented at least partially by one or more hardware logic components. Exemplary types of hardware logic components that can be used, by way of example and not limitation, include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.
[0125] Figure 7 A block diagram is shown illustrating an electronic device 700 in which one or more embodiments of the present disclosure may be implemented. It should be understood that... Figure 7 The electronic device 700 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 7 The electronic device 700 shown can be used to achieve Figure 1 Electronic devices 110.
[0126] like Figure 7As shown, electronic device 700 is in the form of a general-purpose computing device. Components of electronic device 700 may include, but are not limited to, one or more processors or processing units 710, memory 720, storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processing unit 710 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 720. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 700.
[0127] Electronic device 700 typically includes multiple computer storage media. Such media can be any available media accessible to electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 720 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 730 can be a removable or non-removable medium and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data (e.g., training data for training) and can be accessed within electronic device 700.
[0128] Electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 7 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 720 may include computer program product 725 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.
[0129] The communication unit 740 enables communication with other computing devices via a communication medium. Additionally, the functionality of the components of the electronic device 700 can be implemented as a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 700 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0130] Input device 750 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 760 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 700 can also communicate with one or more external devices (not shown) via communication unit 740 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 700, or with any device that enables electronic device 700 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0131] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.
[0132] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0133] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0134] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0135] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0136] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A method for presenting multi-story floor plans, comprising: A first user-drawn content associated with a first floor plan of the first floor is presented on a first user interface. The first user-drawn content includes a layout diagram of the first floor drawn using a drawing tool. The first user interface presents a first add control for adding floors above the first floor and a second add control for adding floors below the first floor; In response to a predetermined operation on the first added control, an instruction for the newly added ground floor is presented on the first user interface; In response to a predetermined operation on the second added control, an instruction for the newly added basement floor is presented on the first user interface; In response to receiving a first user request for presenting a multi-floor plan, the layout of the floor plans of each floor in the multi-floor plan, including the first floor, is determined in the overall floor plan of the multi-floor plan; as well as Based on the determined layout, the overall floor plan is presented on a second user interface, which is different from the first user interface. The overall floor plan includes multiple corresponding floor plans of the multiple floors, and the multiple floor plans include the first floor plan of the first floor.
2. The method of claim 1, wherein determining the layout comprises: Based on the number of floors, the overall floor plan is divided into multiple areas, and one of the floor plans is presented in one of the multiple areas.
3. The method of claim 2, wherein presenting the overall plan view comprises: Based on a predetermined reference position of one of the plurality of regions, determine the display position of the corresponding plan view in the region among the plurality of plan views; as well as The corresponding floor plan is presented at the display location within the area.
4. The method of claim 2, wherein the overall plan view is equally divided into the plurality of regions, and wherein presenting the overall plan view comprises: A reference scaling factor is determined based on the number of the plurality of regions in a predetermined first and second direction, the resolution of the overall plan view, and the resolution of a reference plan view among the plurality of plan views; as well as Based on the reference scaling factor, the multiple plan views are presented in the multiple regions.
5. The method according to claim 1, further comprising: The second user interface further presents a floor plan of each of the multiple floors.
6. The method according to claim 1, further comprising: In response to receiving a second user request for obtaining a first image associated with at least the first floor plan of the first floor, the first image is presented on the first user interface.
7. The method of claim 6, wherein presenting the first image comprises: In response to receiving the second user's request, the content drawn by the first user is replaced with the first image.
8. The method of claim 6, wherein the second user request is used to obtain an image associated with the plurality of floor plans of the plurality of floors, and wherein presenting the first image comprises: In response to receiving the second user request, acquire multiple images associated with the multiple floor plans of the multiple floors, the multiple images including the first image; as well as The first image is displayed on the first user interface.
9. The method according to claim 1, further comprising: A second control for deleting a second floor from the plurality of floors is presented on the first user interface; as well as In response to a predetermined operation on the second control, the instruction for the second floor is removed from the first user interface.
10. An apparatus for presenting a multi-story floor plan, comprising: The first presentation module is configured to present first user-drawn content associated with a first floor plan of the first floor on a first user interface, the first user-drawn content including a layout diagram of the first floor drawn using a drawing tool; The layout determination module is configured to, in response to receiving a first user request for presenting a multi-floor plan, determine the layout of the floor plans of each floor in the multi-floor plan, including the first floor, in the overall floor plan of the multi-floor plan. as well as The second presentation module is configured to present the overall floor plan on a second user interface different from the first user interface according to the determined layout. The overall floor plan includes multiple floor plans corresponding to the multiple floors, and the multiple floor plans include the first floor plan of the first floor. The third presentation module is configured to present a first add control for adding floors above the first floor and a second add control for adding floors below the first floor on the first user interface; as well as The fourth presentation module, in response to a predetermined operation on the first added control, presents an instruction for the newly added ground floor on the first user interface; as well as In response to a pre-defined operation on the second added control, an instruction for the newly added basement floor is presented on the first user interface.
11. The apparatus of claim 10, wherein the layout determination module is further configured to: Based on the number of floors, the overall floor plan is divided into multiple areas, and one of the floor plans is presented in one of the multiple areas.
12. The apparatus of claim 11, wherein the second presentation module is further configured to: Based on a predetermined reference position of one of the plurality of regions, determine the display position of the corresponding plan view in that region; and The corresponding floor plan is presented at the display location within the area.
13. The apparatus of claim 11, wherein the overall plan view is equally divided into the plurality of regions, and wherein the second presentation module is further configured to: A reference scaling factor is determined based on the number of the plurality of regions in a predetermined first and second direction, the resolution of the overall plan view, and the resolution of a reference plan view among the plurality of plan views; and Based on the reference scaling factor, the multiple plan views are presented in the multiple regions.
14. The apparatus of claim 10, wherein the third presentation module is further configured to further present a floor plan of each of the plurality of floors on the second user interface.
15. The apparatus of claim 10, wherein the second presentation module is further configured to: In response to receiving a second user request for obtaining a first image associated with at least the first floor plan of the first floor, the first image is presented on the first user interface.
16. The apparatus of claim 15, wherein the second presentation module is further configured to: In response to receiving the second user's request, the content drawn by the first user is replaced with the first image.
17. The apparatus of claim 15, wherein the second user request is used to acquire an image associated with the plurality of floor plans of the plurality of floors, and wherein the second presentation module is further configured to: In response to receiving the second user request, acquire multiple images associated with the multiple floor plans of the multiple floors, the multiple images including the first image; and The first image is displayed on the first user interface.
18. An electronic device comprising: At least one processing unit; as well as At least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the device to perform the method according to any one of claims 1 to 9 when executed by the at least one processing unit.
19. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method according to any one of claims 1 to 9.