CN113345064A - Building information display method and system - Google Patents

Building information display method and system Download PDF

Info

Publication number
CN113345064A
CN113345064A CN202110436309.5A CN202110436309A CN113345064A CN 113345064 A CN113345064 A CN 113345064A CN 202110436309 A CN202110436309 A CN 202110436309A CN 113345064 A CN113345064 A CN 113345064A
Authority
CN
China
Prior art keywords
information
control
displayed
visual element
space
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
CN202110436309.5A
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.)
Beijing Fangjianghu Technology Co Ltd
Original Assignee
Beijing Fangjianghu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Fangjianghu Technology Co Ltd filed Critical Beijing Fangjianghu Technology Co Ltd
Priority to CN202110436309.5A priority Critical patent/CN113345064A/en
Publication of CN113345064A publication Critical patent/CN113345064A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects

Abstract

The invention provides a method and a system for displaying building information, which comprises the steps of firstly, obtaining the building information to be displayed, wherein the building information to be displayed comprises three-dimensional size information and position information of visual elements in a space to be displayed; then configuring a User Interface (UI) control for the visual element, determining two-dimensional size information of the UI control based on the three-dimensional size information of the visual element, and determining position information of the UI control based on the position information of the visual element; the UI control is bound with the associated information of the visual elements; and finally, displaying the UI control on a display interface based on the two-dimensional size information and the position information of the UI control. The visual elements in the space to be displayed can be displayed, the operation instruction of the user can be received through the UI control, and the associated information of the visual elements is displayed. More effective information can be provided for the user according to the user demand, so that the user can independently select to view interested information, and the user experience is improved.

Description

Building information display method and system
Technical Field
The invention relates to the technical field of computers, in particular to a building information display method and system.
Background
In the field of house property, the display of building information such as building environment information, house type information contained in a building and the like is important for improving the house property transaction amount.
When displaying the floor information, the floor information is generally displayed in the form of a graph. For example, the environment information of the building is shown in a sand table, and the house type information is shown in a house type chart.
Because the existing sand table graph or house type graph is a top plan graph, the existing building information display method cannot provide more effective information for users, so that the users cannot independently view interesting information, and the user experience is poor.
Disclosure of Invention
The invention provides a method and a system for displaying building information, which are used for overcoming the defects in the prior art.
The invention provides a method for displaying information of a building, which comprises the following steps:
acquiring information of a building to be displayed, wherein the information of the building to be displayed comprises three-dimensional size information and position information of visual elements in a space to be displayed;
configuring a User Interface (UI) control for the visual element, determining two-dimensional size information of the UI control based on the three-dimensional size information of the visual element, and determining position information of the UI control based on the position information of the visual element; the UI control is bound with the associated information of the visual elements;
and displaying the UI control on the display interface based on the two-dimensional size information and the position information of the UI control.
According to the building information display method provided by the invention, the three-dimensional size information of the visual element is the projection length of each coordinate axis of the visual element in the three-dimensional coordinate system of the space to be displayed;
the three-dimensional coordinate system is a left-handed coordinate system with the designated position of the space to be displayed as an origin under the overlooking visual angle of a preset angle value.
According to the building information display method provided by the invention, the determining of the position information of the UI control based on the position information of the visual element specifically comprises the following steps:
determining the position information of the origin of the three-dimensional coordinate system of the space to be displayed on the display interface;
determining the position information of the UI control based on the position information of the visual element, the position information of the origin on the display interface and the projection length of each coordinate axis of the visual element in the three-dimensional coordinate system;
the three-dimensional coordinate system is a left-handed coordinate system with the designated position of the space to be displayed as an origin under the overlooking visual angle of a preset angle value.
According to the method for displaying the information of the building, provided by the invention, the UI control is determined by the following method:
acquiring alternative images of visual elements in the space to be displayed under a top view angle of a preset angle value;
and adjusting the size information of the alternative image based on the size information of the display interface to obtain the UI control.
According to the building information display method provided by the invention, configuring the UI control for the visual element specifically comprises the following steps:
and configuring the UI control for the visual element by adopting a domain-specific language DSL based on a presentation space description template.
According to the building information display method provided by the invention, the UI control is configured for the visual element by adopting a domain-specific language based on the display space description template, and the method specifically comprises the following steps:
acquiring the associated information of the visual elements;
and determining the response effect of the UI control based on the associated information.
According to the method for displaying the information of the building, provided by the invention, the space to be displayed comprises a house type space or a sand tray space.
The invention also provides a system for displaying the information of the building, which comprises:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring the information of the building to be displayed, and the information of the building to be displayed comprises three-dimensional size information and position information of visual elements in a space to be displayed;
the UI configuration module is used for configuring a User Interface (UI) control for the visual element, determining two-dimensional size information of the UI control based on the three-dimensional size information of the visual element, and determining position information of the UI control based on the position information of the visual element; the UI control is bound with the associated information of the visual elements;
and the display module is used for displaying the UI control on the display interface based on the two-dimensional size information and the position information of the UI control.
The invention also provides electronic equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the steps of any one of the above-mentioned building information display methods.
The invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for displaying information about buildings according to any of the above-mentioned methods.
The invention provides a method and a system for displaying building information.A building information to be displayed is firstly obtained, and the building information to be displayed comprises three-dimensional size information and position information of visual elements in a space to be displayed; then configuring a User Interface (UI) control for the visual element, determining two-dimensional size information of the UI control based on the three-dimensional size information of the visual element, and determining position information of the UI control based on the position information of the visual element; the UI control is bound with the associated information of the visual elements; and finally, displaying the UI control on a display interface based on the two-dimensional size information and the position information of the UI control. The visual elements in the space to be displayed can be displayed, the operation instruction of the user can be received through the UI control, and the associated information of the visual elements is displayed. More effective information can be provided for the user according to the user demand, so that the user can independently select to view interested information, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for displaying the information of the building;
FIG. 2 is a schematic diagram of a three-dimensional coordinate system of a space to be displayed in the building information display method provided by the invention;
fig. 3 is a schematic structural view of the building information display device provided by the invention;
fig. 4 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Because the existing sand table graph or house type graph is a top plan graph, the existing building information display method cannot provide more effective information for users, so that the users cannot independently view interesting information, and the user experience is poor. Therefore, the embodiment of the invention provides a building information display method.
Fig. 1 is a schematic flow chart of a method for displaying building information provided in an embodiment of the present invention, and as shown in fig. 1, the method includes:
s1, acquiring information of a building to be displayed, wherein the information of the building to be displayed comprises three-dimensional size information and position information of visual elements in a space to be displayed;
s2, configuring a User Interface (UI) control for the visual element, determining two-dimensional size information of the UI control based on the three-dimensional size information of the visual element, and determining position information of the UI control based on the position information of the visual element; the UI control is bound with the associated information of the visual elements;
and S3, displaying the UI control on the display interface based on the two-dimensional size information and the position information of the UI control.
Specifically, in the method for displaying the information of the building, an execution main body is a server, the server may be a local server or a cloud server, and the local server may be a computer, a tablet computer, a smart phone, or the like.
Step S1 is first executed to obtain the information of the building to be displayed. The information of the building to be displayed can comprise three-dimensional size information and position information of visual elements in the space to be displayed. The space to be displayed refers to the space information where the information of the buildings to be displayed is located, and can comprise a house type space and a sand table space. Correspondingly, a house type graph and a sand table graph are displayed on the display interface respectively. The visual elements to be displayed in the space can be different according to the different spaces to be displayed, for example, in the house type space, the visual elements can comprise wall surfaces, doors and windows, tables and chairs, bed cabinets, sofas, household appliances and the like in the house type. In a sand table space, visual elements may include buildings, infrastructure, vegetation, and the like within the sand table.
The three-dimensional size information of the visual element refers to size information in a three-dimensional coordinate system of the space to be displayed, and may include length information, width information, height information, and the like. The origin, the x-axis, the y-axis, and the z-axis of the three-dimensional coordinate system may be set as required, which is not particularly limited in the embodiment of the present invention. The position information of the visual element refers to the position information of the visual element in a three-dimensional coordinate system of the space to be displayed, and can be represented by the coordinate information of each point of the visual element.
Then, step S2 is executed. And configuring a User Interface (UI) control for the visual element, wherein the UI control is bound with the associated information of the visual element. According to the embodiment of the invention, the interaction mode and the response effect adopted by the UI control can be predefined, such as the switching of the selected state, the popping of a prompt window, the scene jump and the like. And then, describing the content information of the user-type graph through a Domain Specific Language (DSL), creating a control object in a memory in the parsing process through a parser, and assembling the control object into a user-type graph or a sand table graph to be displayed on a display interface.
The UI controls may support interaction. And receiving an operation instruction of a user through the UI control, and responding to the operation instruction to display the associated information. The operation instruction may be a click instruction, and the associated information may include two-dimensional image information, action information, and the like associated with the visual element. Taking the house type space as an example, if the visual element is a door of a bedroom, the associated information may be two-dimensional image information of the bedroom. After the user clicks the bedroom door of the display interface, the UI control of the bedroom door receives a click instruction of the user and responds to the click instruction to display the two-dimensional image information of the bedroom. If the visual element is a curtain, the associated information may be an opening and closing action of the curtain. After the user clicks the curtain with the display interface in the closed state, the UI control of the curtain receives a click command of the user, responds to the click command, displays the opened curtain and displays sunlight incident from the opened curtain. And when the user clicks the curtain again, the closed curtain can be displayed, and the sunlight display is cancelled.
Then, two-dimensional size information of the UI control may be determined from the three-dimensional size information of the visual element. The UI controls may be fully consistent with the shape, color, etc. information of the visual elements, only a reduced version of the visual elements that are smaller in size than the visual elements. Determining two-dimensional size information of the UI control, that is, determining size information of the UI control in a two-dimensional coordinate system of the presentation interface, where the two-dimensional size information may include length information, width information, height information, and the like. The two-dimensional size information may be determined by the three-dimensional size information of the visual element and combining a coordinate transformation relationship between the three-dimensional coordinate system of the space to be displayed and the two-dimensional coordinate system of the display interface, which is not specifically limited in the embodiment of the present invention.
And determining the position information of the UI control according to the position information of the visual element, namely determining the position information of the UI control in a two-dimensional coordinate system of a display interface, wherein the position information of the UI control can be represented by the coordinate information of each point of the UI control in the two-dimensional coordinate system. The position information of the UI control on the display interface may be determined by the position information of the visual element and combining a coordinate transformation relationship between the three-dimensional coordinate system of the space to be displayed and the two-dimensional coordinate system of the display interface, and the specific implementation manner of the embodiment of the present invention is not particularly limited.
Finally, step S3 is performed. The UI control is displayed on the display interface according to the two-dimensional size information and the position information of the UI control, so that the visual elements in the space to be displayed can be displayed, the operation instruction of a user can be received through the UI control, and the associated information of the visual elements can be displayed.
The method for displaying the information of the building comprises the steps of firstly obtaining the information of the building to be displayed, wherein the information of the building to be displayed comprises three-dimensional size information and position information of visual elements in a space to be displayed; then configuring a User Interface (UI) control for the visual element, determining two-dimensional size information of the UI control based on the three-dimensional size information of the visual element, and determining position information of the UI control based on the position information of the visual element; the UI control is bound with the associated information of the visual elements; and finally, displaying the UI control on a display interface based on the two-dimensional size information and the position information of the UI control. The visual elements in the space to be displayed can be displayed, the operation instruction of the user can be received through the UI control, and the associated information of the visual elements is displayed. More effective information can be provided for the user according to the user demand, so that the user can independently select to view interested information, and the user experience is improved.
On the basis of the above embodiment, in the building information display method provided in the embodiment of the present invention, the three-dimensional size information of the visual element is the projection length of each coordinate axis of the visual element in the three-dimensional coordinate system of the space to be displayed;
the three-dimensional coordinate system is a left-handed coordinate system with the designated position of the space to be displayed as an origin under the overlooking visual angle of a preset angle value.
Specifically, in the embodiment of the present invention, the three-dimensional size information of the visual element may be represented by a projection length of each coordinate axis of the visual element in a three-dimensional coordinate system of the space to be displayed. The three-dimensional coordinate system is a left-handed coordinate system with the designated position of the space to be displayed under the overlooking visual angle of the preset angle value as the origin. As shown in fig. 2, if the space to be displayed is a house-type space, the preset angle value may be 45 degrees, the designated position may be a corner of the house-type space, the designated position is an origin O, and intersecting lines of three surfaces connected by the origin O are X, Y, Z axes respectively to form a left-hand coordinate system, i.e., a three-dimensional coordinate system of the house-type space is obtained. The three-dimensional size information of the visual element is the projection length of the visual element on each coordinate axis in the three-dimensional coordinate system.
In the embodiment of the invention, the three-dimensional size information of the visual elements can be represented by a left-hand coordinate system taking the designated position of the space to be displayed under the overlooking visual angle with the preset angle value as the origin, so that the imitated 3D effect can be constructed.
On the basis of the above embodiment, in the building information display method provided in the embodiment of the present invention, the two-dimensional size information of the UI control may be determined based on the projection length of the visual element in each coordinate axis of the three-dimensional coordinate system.
Specifically, the width of the UI control on the presentation interface, i.e. the size in the X-axis direction, can be calculated by the following formula:
Figure BDA0003033232040000081
wherein L isx1For the width of UI control on the presentation interface, Lx2Is the projection length of the visual element on the X axis in a three-dimensional coordinate system, Ly2Is the projection length of the visual element on the Y axis in the three-dimensional coordinate system.
The height of the UI control on the presentation interface, i.e. the size in the Y-axis direction, can be calculated by the following formula:
Figure BDA0003033232040000082
wherein,Ly1Height of UI control on the presentation interface, Lx2Is the projection length of the visual element on the X axis in a three-dimensional coordinate system, Ly2Is the projection length of the visual element on the Y axis in a three-dimensional coordinate system, Lz2Is the projection length of the visual element on the Z axis in the three-dimensional coordinate system.
In the embodiment of the invention, a calculation method of the two-dimensional size information of the UI control is provided, and the simulated 3D display of the UI control is further ensured.
On the basis of the above embodiment, the method for displaying the information of the building, provided in the embodiment of the present invention, wherein the determining the position information of the UI control based on the position information of the visual element specifically includes:
determining the position information of the origin of the three-dimensional coordinate system of the space to be displayed on the display interface;
determining the position information of the UI control based on the position information of the visual element, the position information of the origin on the display interface and the projection length of each coordinate axis of the visual element in the three-dimensional coordinate system;
the three-dimensional coordinate system is a left-handed coordinate system with the designated position of the space to be displayed as an origin under the overlooking visual angle of a preset angle value.
Specifically, in the embodiment of the present invention, when determining the position information of the UI control, first, the position information of the origin of the three-dimensional coordinate system of the space to be displayed on the display interface may be determined; the position information can be determined through a coordinate change relation between the three-dimensional coordinate system and the two-dimensional coordinate system on the display interface. The two-dimensional coordinate system on the display interface can be constructed as required, for example, the two-dimensional coordinate system on the display interface is constructed by taking the upper left corner of the display interface as an origin O', the vertical direction is the positive direction of the X axis, and the horizontal direction is the positive direction of the Y axis.
And then determining the position information of the UI control according to the position information of the visual element, the position information of the origin of the three-dimensional coordinate system on the display interface and the projection length of each coordinate axis of the visual element in the three-dimensional coordinate system.
The x coordinate of the UI control on the presentation interface can be determined by the following formula:
Figure BDA0003033232040000091
therein, UIx1For the X coordinate, O, of the UI control on the presentation interfacex1Is x coordinate, P, of origin of three-dimensional coordinate system on the display interfacex2Is the x-coordinate, P, of the visual element in a three-dimensional coordinate systemy2Is the y-coordinate, L, of the visual element in a three-dimensional coordinate systemx2Is the projection length of the visual element on the X axis in the three-dimensional coordinate system.
The y-coordinate of the UI control on the presentation interface can be determined by the following formula:
Figure BDA0003033232040000101
therein, UIy1For the y coordinate, O, of the UI control on the presentation interfacey1Is the y coordinate, P, of the origin of the three-dimensional coordinate system on the display interfacex2Is the x-coordinate, P, of the visual element in a three-dimensional coordinate systemy2Is the y-coordinate, P, of the visual element in a three-dimensional coordinate systemz2Is the z-coordinate, L, of the visual element in a three-dimensional coordinate systemz2Is the projection length of the visual element on the Z axis in the three-dimensional coordinate system.
In the embodiment of the invention, a calculation method of the position information of the UI control is provided, and the simulated 3D display of the UI control is further ensured.
On the basis of the above embodiment, in the method for displaying the information of the building provided in the embodiment of the present invention, the UI control is specifically determined by the following method:
acquiring alternative images of visual elements in the space to be displayed under a top view angle of a preset angle value;
and adjusting the size information of the alternative image based on the size information of the display interface to obtain the UI control.
Specifically, in the embodiment of the present invention, when determining the UI control, the candidate image of the visual element in the space to be displayed in the overlooking view angle of the preset angle value may be obtained first, and the preset angle value may be set as needed, for example, may be set to 45 degrees. And then, according to the size information of the display interface, in combination with the size information of the space to be displayed, adjusting the size information of the alternative image to obtain a UI control, so that the UI control of each visual element can restore the display state of each visual element in the space to be displayed when the display interface is displayed.
On the basis of the above embodiment, the method for displaying the information of the building, provided in the embodiment of the present invention, where the configuring of the UI control for the visual element includes:
and configuring the UI control for the visual element by adopting a domain-specific language DSL based on a presentation space description template.
Specifically, in the embodiment of the present invention, when configuring the UI control, the UI control may be configured for the visual element by using a Domain Specific Language (DSL) according to the presentation space description template. The presentation space description template may include a house type space description template and a sand table space description template corresponding to the presentation of visual elements of the house type space and the sand table space, respectively. The presentation space description template may describe the visual element based on json or xml description text.
The family space description template may include:
the house type information: house type ID, house type name, room array [ ];
room information: room ID, room name, room background picture address and room article list;
item listing: article information 1, article information 2, … …;
article information: the method comprises the following steps of (1) article ID, article space position (x, y and z coordinates of a closest point of a farthest point and projection length in x, y and z axes), article picture address (selected mode and unselected mode), click behavior and article state (selected or unselected mode);
click behavior: < status conditions: response effect >;
the state conditions are as follows: item ID, whether in a certain state. If the condition is satisfied, otherwise, the condition is not satisfied;
response effect: the article ID is changed to a certain state. Or, the information prompts popup window and switching to the room with the specified ID.
Wherein, the room background is a common picture view, and the internal objects are used for bearing click interaction by a button control. After the visual elements are described based on the user type space description template, the description text can be analyzed, meanwhile, the corresponding control object is created, and layout assembly is added to the interface. By setting an interaction rule, a known fixed type of interaction response method is realized, and a corresponding method is executed according to the description text when clicking.
The sand table space description template may include:
sand table information: sand table ID, sand table name, building array [ ];
building information: building ID, building name, building picture address, building space position (x, y, z coordinates of the closest point of the farthest point, projection length in x, y, z axes), building picture address (selected pattern, non-selected pattern), click behavior, building state (selected or non-selected);
building bubble information: background color of the bubbles, size of a bubble fillet, height of the bubbles and content array [ ];
content of bubbles: content case, font size, font color;
click behavior: < status conditions: response effect >;
the state conditions are as follows: building ID, whether in a certain state. If the condition is satisfied, otherwise, the condition is not satisfied;
response effect: the building ID is changed to a certain state. Showing or hiding the bubbles.
The sand table background is a common picture view, and the internal building bears click interaction through a button control. The bubble draws a background by using a self-defined control, and the file is displayed by using a text box.
After the visual elements are described based on the sand table space description template, the description texts can be analyzed, meanwhile, corresponding control objects are created, and layout assembly is added to the interface. By setting an interaction rule, a known fixed type of interaction response method is realized, and a corresponding method is executed according to the description text when clicking.
On the basis of the above embodiment, the method for displaying the information about the building, provided in the embodiment of the present invention, configures the UI control for the visual element by using a domain-specific language based on the display space description template, and specifically includes:
acquiring the associated information of the visual elements;
and determining the response effect of the UI control based on the associated information.
Specifically, in the embodiment of the present invention, when configuring the UI control, first, the association information of the visual element may be obtained, and then, the response effect of the UI control is determined according to the association information. That is, if the visual element is a bedroom door, the associated information of the visual element is two-dimensional image information of the bedroom, and the response effect of the UI control is determined to be the display of the two-dimensional image information jumping to the bedroom according to the two-dimensional image information of the bedroom. And if the visual element is a curtain, the related information of the visual element is the opening and closing of the curtain, and the response effect of the UI control is determined to be the display of the two-dimensional image information of the curtain in different states.
In the embodiment of the invention, the setting of the response effect when the UI control is configured is given, and convenience is provided for the application of the UI control.
On the basis of the above embodiment, in the method for displaying the information of the building provided in the embodiment of the present invention, the space to be displayed includes a house type space or a sand table space.
As shown in fig. 3, on the basis of the above embodiment, an embodiment of the present invention provides a system for displaying building information, including: an acquisition module 31, a UI configuration module 32 and a presentation module 33. Wherein the content of the first and second substances,
the acquisition module 31 is configured to acquire information of a building to be displayed, where the information of the building to be displayed includes three-dimensional size information and position information of a visual element in a space to be displayed;
the UI configuration module 32 is configured to configure a user interface UI control for the visual element, determine two-dimensional size information of the UI control based on three-dimensional size information of the visual element, and determine position information of the UI control based on position information of the visual element; the UI control is bound with the associated information of the visual elements;
the display module 33 is configured to display the UI control on the display interface based on the two-dimensional size information and the position information of the UI control.
On the basis of the above embodiment, in the building information display system provided in the embodiment of the present invention, the three-dimensional size information of the visual element is the projection length of each coordinate axis of the visual element in the three-dimensional coordinate system of the space to be displayed;
the three-dimensional coordinate system is a left-handed coordinate system with the designated position of the space to be displayed as an origin under the overlooking visual angle of a preset angle value.
On the basis of the above embodiment, the system for displaying the information of the building, provided in the embodiment of the present invention, wherein the determining the position information of the UI control based on the position information of the visual element specifically includes:
determining the position information of the origin of the three-dimensional coordinate system of the space to be displayed on the display interface;
determining the position information of the UI control based on the position information of the visual element, the position information of the origin on the display interface and the projection length of each coordinate axis of the visual element in the three-dimensional coordinate system;
the three-dimensional coordinate system is a left-handed coordinate system with the designated position of the space to be displayed as an origin under the overlooking visual angle of a preset angle value.
On the basis of the above embodiment, in the building information display system provided in the embodiment of the present invention, the UI control is specifically determined by the following method:
acquiring alternative images of visual elements in the space to be displayed under a top view angle of a preset angle value;
and adjusting the size information of the alternative image based on the size information of the display interface to obtain the UI control.
On the basis of the above embodiment, the system for displaying the information of the building, provided in the embodiment of the present invention, where the UI control is configured for the visual element, specifically includes:
and configuring the UI control for the visual element by adopting a domain-specific language DSL based on a presentation space description template.
On the basis of the above embodiment, the system for displaying information on a building, provided in the embodiment of the present invention, configures the UI control for the visual element by using a domain-specific language based on the display space description template, and specifically includes:
acquiring the associated information of the visual elements;
and determining the response effect of the UI control based on the associated information.
On the basis of the above embodiment, in the building information display system provided in the embodiment of the present invention, the space to be displayed includes a house type space or a sand table space.
Specifically, the functions of the modules in the building information display system provided in the embodiment of the present invention correspond to the operation flows of the steps in the embodiments of the methods one to one, and the implementation effects are also consistent.
Fig. 4 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 4: a processor (processor)410, a communication Interface 420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication Interface 420 and the memory 430 are communicated with each other via the communication bus 440. The processor 410 can call the logic instructions in the memory 430 to execute the method for displaying the building information provided by the above embodiments of the method, the method comprising: acquiring information of a building to be displayed, wherein the information of the building to be displayed comprises three-dimensional size information and position information of visual elements in a space to be displayed; configuring a User Interface (UI) control for the visual element, determining two-dimensional size information of the UI control based on the three-dimensional size information of the visual element, and determining position information of the UI control based on the position information of the visual element; the UI control is bound with the associated information of the visual elements; and displaying the UI control on the display interface based on the two-dimensional size information and the position information of the UI control.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes 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 invention. 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.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, enable the computer to perform the method for displaying building information provided by the above method embodiments, the method comprising: acquiring information of a building to be displayed, wherein the information of the building to be displayed comprises three-dimensional size information and position information of visual elements in a space to be displayed; configuring a User Interface (UI) control for the visual element, determining two-dimensional size information of the UI control based on the three-dimensional size information of the visual element, and determining position information of the UI control based on the position information of the visual element; the UI control is bound with the associated information of the visual elements; and displaying the UI control on the display interface based on the two-dimensional size information and the position information of the UI control.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to execute the method for displaying the floor information provided in the above method embodiments, the method including: acquiring information of a building to be displayed, wherein the information of the building to be displayed comprises three-dimensional size information and position information of visual elements in a space to be displayed; configuring a User Interface (UI) control for the visual element, determining two-dimensional size information of the UI control based on the three-dimensional size information of the visual element, and determining position information of the UI control based on the position information of the visual element; the UI control is bound with the associated information of the visual elements; and displaying the UI control on the display interface based on the two-dimensional size information and the position information of the UI control.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for displaying information of a building is characterized by comprising the following steps:
acquiring information of a building to be displayed, wherein the information of the building to be displayed comprises three-dimensional size information and position information of visual elements in a space to be displayed;
configuring a User Interface (UI) control for the visual element, determining two-dimensional size information of the UI control based on the three-dimensional size information of the visual element, and determining position information of the UI control based on the position information of the visual element; the UI control is bound with the associated information of the visual elements;
and displaying the UI control on a display interface based on the two-dimensional size information and the position information of the UI control.
2. The building information display method according to claim 1, wherein the three-dimensional size information of the visual element is the projection length of each coordinate axis of the visual element in the three-dimensional coordinate system of the space to be displayed;
the three-dimensional coordinate system is a left-handed coordinate system with the designated position of the space to be displayed as an origin under the overlooking visual angle of a preset angle value.
3. The method for displaying the information on the building according to claim 1, wherein the determining the position information of the UI control based on the position information of the visual element specifically comprises:
determining the position information of the origin of the three-dimensional coordinate system of the space to be displayed on the display interface;
determining the position information of the UI control based on the position information of the visual element, the position information of the origin on the display interface and the projection length of each coordinate axis of the visual element in the three-dimensional coordinate system;
the three-dimensional coordinate system is a left-handed coordinate system with the designated position of the space to be displayed as an origin under the overlooking visual angle of a preset angle value.
4. The method for displaying the information of the buildings according to claim 1, wherein the UI control is determined by the following method:
acquiring alternative images of visual elements in the space to be displayed under a top view angle of a preset angle value;
and adjusting the size information of the alternative image based on the size information of the display interface to obtain the UI control.
5. The method for displaying the information of the buildings according to any of the claims 1 to 4, characterized in that configuring the UI control for the visual element specifically comprises:
and configuring the UI control for the visual element by adopting a domain-specific language DSL based on a presentation space description template.
6. The method according to claim 5, wherein the configuring the UI control for the visual element using a domain-specific language based on the presentation space description template specifically comprises:
acquiring the associated information of the visual elements;
and determining the response effect of the UI control based on the associated information.
7. The method as claimed in any one of claims 1 to 4, wherein the space to be displayed comprises a house space or a sand-tray space.
8. A building information display system, comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring the information of the building to be displayed, and the information of the building to be displayed comprises three-dimensional size information and position information of visual elements in a space to be displayed;
the UI configuration module is used for configuring a User Interface (UI) control for the visual element, determining two-dimensional size information of the UI control based on the three-dimensional size information of the visual element, and determining position information of the UI control based on the position information of the visual element; the UI control is bound with the associated information of the visual elements;
and the display module is used for displaying the UI control on a display interface based on the two-dimensional size information and the position information of the UI control.
9. An electronic device comprising a memory, a processor and a computer program stored on said memory and executable on said processor, characterized in that said processor, when executing said program, carries out the steps of the method for displaying information on floors according to any of claims 1 to 7.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for displaying information on floors according to any one of claims 1 to 7.
CN202110436309.5A 2021-04-22 2021-04-22 Building information display method and system Pending CN113345064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110436309.5A CN113345064A (en) 2021-04-22 2021-04-22 Building information display method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110436309.5A CN113345064A (en) 2021-04-22 2021-04-22 Building information display method and system

Publications (1)

Publication Number Publication Date
CN113345064A true CN113345064A (en) 2021-09-03

Family

ID=77468353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110436309.5A Pending CN113345064A (en) 2021-04-22 2021-04-22 Building information display method and system

Country Status (1)

Country Link
CN (1) CN113345064A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539664A (en) * 2014-12-17 2015-04-22 青岛文创科技有限公司 Novel housing estate panorama showing method and system capable of performing long-distance range measurement
US20150341184A1 (en) * 2014-05-20 2015-11-26 Savant Systems, Llc Automatic configuration of control device user interface in a home automation system
CN108734536A (en) * 2017-04-21 2018-11-02 深圳萤火虫数字图像有限公司 Real estate building information three-dimensional display systems and method
CN108986228A (en) * 2018-07-06 2018-12-11 网易(杭州)网络有限公司 The method and device shown for virtual reality median surface
CN111145352A (en) * 2019-12-20 2020-05-12 北京乐新创展科技有限公司 House live-action picture display method and device, terminal equipment and storage medium
CN112132654A (en) * 2020-09-04 2020-12-25 贝壳技术有限公司 Method, device and storage medium for displaying house source information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150341184A1 (en) * 2014-05-20 2015-11-26 Savant Systems, Llc Automatic configuration of control device user interface in a home automation system
CN104539664A (en) * 2014-12-17 2015-04-22 青岛文创科技有限公司 Novel housing estate panorama showing method and system capable of performing long-distance range measurement
CN108734536A (en) * 2017-04-21 2018-11-02 深圳萤火虫数字图像有限公司 Real estate building information three-dimensional display systems and method
CN108986228A (en) * 2018-07-06 2018-12-11 网易(杭州)网络有限公司 The method and device shown for virtual reality median surface
CN111145352A (en) * 2019-12-20 2020-05-12 北京乐新创展科技有限公司 House live-action picture display method and device, terminal equipment and storage medium
CN112132654A (en) * 2020-09-04 2020-12-25 贝壳技术有限公司 Method, device and storage medium for displaying house source information

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
周扬: "基于增强现实的交互式楼盘演示设计及用户体验研究", 《CNKI中国优秀硕士毕业论文全文库(信息科技辑)》, no. 02, pages 138 - 2637 *
张姣姣: "移动AR技术在楼盘展示印刷宣传册中的应用", 《CNKI中国优秀硕士毕业论文全文库(信息科技辑)》, no. 07, pages 088 - 318 *

Similar Documents

Publication Publication Date Title
US10678995B2 (en) System and methods for control of content presented on web pages
US8762861B2 (en) Method and apparatus for interrelating virtual environment and web content
US20210042012A1 (en) Interactive presentation controls
US11875464B2 (en) Systems and methods for scene-independent augmented reality interfaces
US11158134B2 (en) Method, apparatus and storage medium for displaying three-dimensional space view
US9530326B1 (en) Systems and methods for in-situ generation, control and monitoring of content for an immersive 3D-avatar-based virtual learning environment
US11036364B2 (en) Browser for mixed reality systems
US20130179841A1 (en) System and Method for Virtual Touring of Model Homes
WO2013074991A1 (en) Computer-implemented apparatus, system, and method for three dimensional modeling software
US11449314B2 (en) Rapid application development method
WO2016154426A1 (en) System and methods for a multi-display collaboration environment
Lee et al. Immersive authoring of Tangible Augmented Reality content: A user study
CN113345064A (en) Building information display method and system
CN101527050A (en) Method for optimizing virtual business scene based on model simplification and multiresolution representation
CN112286525A (en) Skeleton screen generation method, device and equipment
Wen et al. AnyHome: Open-Vocabulary Generation of Structured and Textured 3D Homes
Reuksupasompon et al. Ar development for room design
CN112835575A (en) Multi-layer display control method and device
Mohan et al. Refined interiors using augmented reality
Petford et al. The ASPECTA toolkit: affordable full coverage displays
Ritter III et al. Overview and assessment of unity toolkits for rapid development of an educational vr application
Shedlock et al. Design Science Research: Building evaluation into the construction of indigenous cultural artefacts in New Zealand
Clarke Through the screen and into the world: augmented reality components with MIT App Inventor
Sluÿters et al. Engineering slidable graphical user interfaces with slime
CN116185265A (en) Method and system for constructing draggable personalized layout based on VUE and Gojs

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