CN112651801B - Method and device for displaying house source information - Google Patents

Method and device for displaying house source information Download PDF

Info

Publication number
CN112651801B
CN112651801B CN202011548499.1A CN202011548499A CN112651801B CN 112651801 B CN112651801 B CN 112651801B CN 202011548499 A CN202011548499 A CN 202011548499A CN 112651801 B CN112651801 B CN 112651801B
Authority
CN
China
Prior art keywords
position point
room source
room
source space
house
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.)
Active
Application number
CN202011548499.1A
Other languages
Chinese (zh)
Other versions
CN112651801A (en
Inventor
彭三春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Chengshi Wanglin Information Technology Co Ltd
Original Assignee
Beijing Chengshi Wanglin Information 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 Chengshi Wanglin Information Technology Co Ltd filed Critical Beijing Chengshi Wanglin Information Technology Co Ltd
Priority to CN202011548499.1A priority Critical patent/CN112651801B/en
Publication of CN112651801A publication Critical patent/CN112651801A/en
Application granted granted Critical
Publication of CN112651801B publication Critical patent/CN112651801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • G06Q30/0643Graphical representation of items or shoppers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/16Real estate

Abstract

The embodiment of the invention provides a method and a device for displaying house source information, wherein the content displayed by a graphical user interface of a terminal comprises a group of corresponding house source spaces, each house source space is a three-dimensional house space established according to different decoration states of a target house source, the terminal can respond to the selection operation acted on any house source space, select a first house source space corresponding to the selection operation and a first position point corresponding to the selection operation, then obtain the position coordinate of the first position point and the size information of the graphical user interface, then calculate a second position point corresponding to the first position point in a second house source space according to the position coordinate and the size information, obtain the house source information corresponding to the position point and display the house source information, so that a user can compare different decoration effects of the target house source, simplify the operation of a decoration comparison algorithm through coordinate calculation, the system overhead of the terminal is reduced, the terminal algorithm processing process is simplified, and the comparison and display efficiency is effectively improved.

Description

Method and device for displaying house source information
Technical Field
The invention relates to the technical field of house source display, in particular to a house source information display method and a house source information display device.
Background
With the development of network technology and the change of user requirements, online house-watching is more and more favored by users. In the scene of watching a house on line, a user hopes to see the comparison condition of the house source before decoration and after decoration, thereby helping the user to effectively check the effect after decoration. However, when a user checks comparison display before and after decoration of a house source, the terminal needs to judge a decoration scene (a house source before or after decoration) selected by the user, and then judges which objects in the scene are selected by the user, and then decoration comparison is performed, for example, the house source before decoration comprises a sofa, the house source after decoration comprises a sofa, and when the user wants to compare two sofas, the user needs to click the sofas before and after decoration respectively, so that multiple calculations are brought to the terminal.
Disclosure of Invention
The embodiment of the invention provides a house source information display method, which is used for solving or at least partially solving the problem of high system overhead caused by complicated comparison process and complex algorithm when a user checks the decoration comparison effect of a house source on line in the prior art.
Correspondingly, the embodiment of the invention also provides a display device of the house source information, which is used for ensuring the realization and the application of the method.
In order to solve the above problems, an embodiment of the present invention discloses a method for displaying house source information, where contents displayed through a graphical user interface of a preset terminal at least include a group of corresponding house source spaces, and each house source space is a three-dimensional house space established according to different decoration states of a target house source, where the method includes:
responding to a selection operation acted on any one room source space, and selecting a first room source space corresponding to the selection operation and a first position point corresponding to the selection operation in the first room source space;
acquiring the position coordinate of the first position point and the size information of the graphical user interface;
calculating a second position point corresponding to the first position point in a second room source space according to the position coordinate and the size information, wherein the second room source space is at least one other room source space corresponding to the first room source space;
acquiring first room source information corresponding to the first position point, acquiring second room source information corresponding to the second position point, and displaying the first room source information and the second room source information.
Optionally, the size information includes a width size of the graphical user interface, and the calculating a second location point in a second room source space corresponding to the first location point according to the location coordinate and the size information includes:
if the terminal displays the first room source space and the second room source space in a horizontal screen mode in the graphical user interface, acquiring a width threshold corresponding to the width size;
and calculating a second position point corresponding to the first position point in a second room source space by adopting the position coordinates and the width size.
Optionally, the calculating a second location point in the second room source space corresponding to the first location point by using the location coordinate and the width size includes:
if the first abscissa is larger than the width threshold, calculating a second abscissa by using the first abscissa and the width threshold;
taking a position point in the second room source space corresponding to the second abscissa and the first ordinate as a second position point;
and if the first abscissa is smaller than the width threshold, taking a position point in the second room source space corresponding to the first abscissa and the first ordinate as a second position point.
Optionally, the size information includes a height size of the graphical user interface, and the calculating a second location point in a second room source space corresponding to the first location point according to the location coordinate and the size information includes:
if the terminal displays the first room source space and the second room source space in the graphical user interface in a vertical screen mode, acquiring a height threshold corresponding to the height size;
and calculating a second position point corresponding to the first position point in a second room source space by adopting the position coordinates and the height size.
Optionally, the calculating a second location point in the second room source space corresponding to the first location point by using the location coordinate and the height dimension includes:
if the first vertical coordinate is larger than the height threshold, calculating a second vertical coordinate by adopting the first vertical coordinate and the height threshold;
taking the position points in the second room source space corresponding to the first abscissa and the second ordinate as second position points;
and if the first vertical coordinate is smaller than the height threshold, taking a position point in the second room source space corresponding to the first horizontal coordinate and the first vertical coordinate as a second position point.
Optionally, the obtaining first room source information corresponding to the first location point and second room source information corresponding to the second location point, displaying the first room source information and the second room source information, includes:
acquiring a first room source model object corresponding to the first position point and a second room source model object corresponding to the second position point;
and displaying the first room source model object and the second room source model object.
Optionally, the method further comprises:
establishing a coordinate system for the graphical user interface;
the obtaining of the position coordinates of the first position point includes:
and acquiring the position coordinates of the first position point in the coordinate system.
The embodiment of the invention also discloses a device for displaying the house source information, the content displayed through the graphical user interface of the preset terminal at least comprises a group of corresponding house source spaces, each house source space is a three-dimensional house space established according to different decoration states of the target house source, and the device comprises:
a first location point selecting module, configured to select, in response to a selection operation applied to any one of the source spaces, a first source space corresponding to the selection operation and a first location point in the first source space corresponding to the selection operation;
the information acquisition module is used for acquiring the position coordinate of the first position point and the size information of the graphical user interface;
a second position point calculating module, configured to calculate a second position point corresponding to the first position point in a second room source space according to the position coordinate and the size information, where the second room source space is at least one other room source space corresponding to the first room source space;
and the house source information display module is used for acquiring first house source information corresponding to the first position point and displaying the first house source information and the second house source information corresponding to the second position point.
Optionally, the size information includes a width size of the graphical user interface, and the second location point calculating module includes:
a width threshold acquisition submodule, configured to acquire a width threshold corresponding to the width size if the terminal displays the first room source space and the second room source space in the graphical user interface in a landscape mode;
and the first position point calculating submodule is used for calculating a second position point corresponding to the first position point in the second room source space by adopting the position coordinates and the width size.
Optionally, the position coordinates include a first abscissa and a first ordinate of the first position point, and the first position point calculation submodule is specifically configured to:
if the first abscissa is larger than the width threshold, calculating a second abscissa by using the first abscissa and the width threshold;
taking a position point in the second room source space corresponding to the second abscissa and the first ordinate as a second position point;
and if the first abscissa is smaller than the width threshold, taking a position point in the second room source space corresponding to the first abscissa and the first ordinate as a second position point.
Optionally, the size information includes a height size of the graphical user interface, and the second location point calculating module includes:
a height threshold acquisition sub-module, configured to acquire a height threshold corresponding to the height size if the terminal displays the first room source space and the second room source space in the graphical user interface in a vertical screen manner;
and the second position point calculation submodule is used for calculating a second position point corresponding to the first position point in the second room source space by adopting the position coordinates and the height size.
Optionally, the position coordinates include a first abscissa and a first ordinate of the first position point, and the second position point calculation submodule is specifically configured to:
if the first vertical coordinate is larger than the height threshold, calculating a second vertical coordinate by adopting the first vertical coordinate and the height threshold;
taking the position points in the second room source space corresponding to the first abscissa and the second ordinate as second position points;
and if the first vertical coordinate is smaller than the height threshold, taking a position point in the second room source space corresponding to the first horizontal coordinate and the first vertical coordinate as a second position point.
Optionally, the house source information display module is specifically configured to:
acquiring a first room source model object corresponding to the first position point and a second room source model object corresponding to the second position point;
and displaying the first room source model object and the second room source model object.
Optionally, the method further comprises:
a coordinate system establishing module for establishing a coordinate system for the graphical user interface;
the information acquisition module is specifically configured to:
and acquiring the position coordinates of the first position point in the coordinate system.
The embodiment of the invention also discloses an electronic device, which comprises:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform the method as described above.
Embodiments of the invention also disclose one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the methods as described above.
The embodiment of the invention has the following advantages:
in the embodiment of the present invention, the content displayed on the graphical user interface of the terminal includes a set of corresponding room source spaces, each of which is a three-dimensional room space established according to different decoration statuses of the target room source, so that the terminal can respond to a selection operation applied to any one of the room source spaces, select a first room source space corresponding to the selection operation and a first position point corresponding to the selection operation in the first room source space, then obtain a position coordinate of the first position point and size information of the graphical user interface, then calculate a second position point corresponding to the first position point in the second room source space according to the position coordinate and the size information, obtain first room source information corresponding to the first position point and second room source information corresponding to the second position point, display the first room source information and the second room source information, so that the user can compare different decoration effects of the target room source, through coordinate calculation, the operation of the decoration comparison algorithm is greatly simplified, the system overhead of the terminal is reduced, the processing process of the terminal algorithm is simplified, the comparison and display efficiency is effectively improved, and the browsing experience of a user is guaranteed.
Drawings
FIG. 1 is a flow chart illustrating steps of an embodiment of a method for displaying house source information according to the present invention;
FIG. 2 is a schematic diagram of a room source space in an embodiment of the invention;
FIG. 3 is a schematic diagram of a room source space in an embodiment of the invention;
FIG. 4 is a schematic diagram of a coordinate system in an embodiment of the invention;
FIG. 5 is a schematic illustration of a location point in an embodiment of the present invention;
FIG. 6 is a schematic illustration of a location point in an embodiment of the present invention;
fig. 7 is a block diagram of a display device of house source information according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The method for displaying the house source information in the embodiment of the invention can be operated on terminal equipment or a server. The terminal device may be a local terminal device. When the display method of the house source information is operated as a server, the display method can be cloud display.
In an optional embodiment, the cloud presentation refers to an information presentation manner based on cloud computing. In the cloud display operation mode, an operation main body and an information picture presentation main body of an information processing program are separated, storage and operation of a room source information display method are completed on a cloud display server, and a cloud display client is used for receiving and sending data and presenting an information picture, for example, the cloud display client can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; however, the terminal device for processing the information data is a cloud display server at the cloud end. When browsing the house source display, a user operates the cloud display client to send an operation instruction to the cloud display server, the cloud display server displays the relevant community live-action picture and the house source information according to the operation instruction, codes and compresses data, returns the data to the cloud display client through a network, and finally decodes the data through the cloud display client and outputs the house source information.
In another alternative embodiment, the terminal device may be a local terminal device. The local terminal device stores an application program and is used for presenting an application interface. The local terminal device is used for interacting with a user through a graphical user interface, namely, downloading and installing an application program through the electronic device and running the application program conventionally. The manner in which the local terminal device provides the graphical user interface to the user may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the user by holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including an application screen and a processor for running the application, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
When the preset terminal is a local terminal device, the preset terminal may be a desktop computer, a notebook computer, a tablet computer, a mobile terminal, a VR (Virtual Reality) device, and other terminal devices. The VR device can comprise a computer, VR head-mounted equipment, VR control equipment and the like, and a user can roam in a specified area through a virtual house source picture displayed in the VR head-mounted equipment, so that the user can actually roam in a virtual cell or a virtual house source, and meanwhile can interact with the virtual house source through the VR control equipment.
The terminal can run application programs, such as life application programs, audio application programs, game application programs and the like. The life-type application programs can be further divided according to different types, such as a rental and sale room application program, a home service application program, a leisure and entertainment application program and the like. The embodiment of the present application is exemplified by running a life application on a local terminal, and it should be understood that the present invention is not limited thereto.
As an example, in an immersive room-viewing scenario, a user may wish to be able to compare the pre-and post-fitting presentations of a room source, thereby helping the user to effectively view the post-fitting effects. Specifically, in the terminal, a user can select a certain position point in the scene, and then a ray from the virtual camera to the position point is sent out (the ray is used for confirming the position point selected by the user), and an object corresponding to the position point is selected through the ray, so that a model selected by the user is obtained and displayed. In the process, the terminal needs to judge whether the user clicks the scene before or after decoration, then the virtual camera corresponding to the scene is used for obtaining the model in the scene, and when the models of different scenes are synchronized, the situation of over divergence is easy to occur, the accuracy of model obtaining is not high, the terminal algorithm is complex, and the system overhead is large. Therefore, it is necessary to simplify the comparison process and algorithm and reduce the terminal system overhead while ensuring the decoration comparison effect of the house source.
Specifically, referring to fig. 1, a flowchart illustrating steps of an embodiment of a method for displaying house source information according to the present invention is shown, where contents displayed through a graphical user interface of a preset terminal at least include a group of corresponding house source spaces, and each house source space is a three-dimensional house space established according to different decoration states of a target house source, and the method specifically includes the following steps:
step 101, responding to a selection operation acted on any room source space, selecting a first room source space corresponding to the selection operation and a first position point corresponding to the selection operation in the first room source space;
in this embodiment of the present invention, the preset terminal may be the aforementioned local terminal device, or may also be the aforementioned cloud display client, and the following takes the local terminal device (especially, the mobile terminal) as an example for description.
In the embodiment of the present invention, the content displayed on the graphical user interface of the terminal may include at least one group of corresponding room source spaces, where the room source spaces may be three-dimensional room spaces established according to different decoration states of the target room source. Specifically, the decoration state can include before the decoration and after the decoration, then the room source space can include the room source space of establishing according to the target room source before the decoration to and at least one room source space of establishing according to the target room source after the decoration, thereby the terminal can be through showing the room source space of different decoration states, make the user can compare the decoration effect of different decoration styles, in order to select the design style that is fit for self.
It should be noted that, for a set of house resources, a house resource space can be established according to a house resource entity space corresponding to a blank house, and a house resource space can also be established according to a house resource entity space obtained after the blank house is decorated, for example, a comparison display of a decoration effect between the blank house and a sample house in a northern european style after decoration, a comparison display of a decoration effect between the blank house and a sample house in a chinese style after decoration, a comparison display of a decoration effect between the blank house and a sample house in a northern european style, a sample house in a chinese style, and the like; in addition, a house source space can be established according to a house source entity space which is not decorated for the first time, a house source space can be established according to a house source entity space after decoration, and the like, for example, the comparison and display of decoration effects between a northern Europe style sample house before decoration and a Chinese style sample house after decoration are carried out, and the invention is not limited to this.
In an example, the terminal may obtain a two-dimensional house type diagram input by a user, perform AI (Artificial Intelligence) to perform image Recognition on the two-dimensional house type diagram, perform OCR (Optical Character Recognition) to recognize characters in the two-dimensional house type diagram, perform room division algorithm to divide areas in the two-dimensional house type diagram, and the like to obtain different functional spaces of a target house object, and perform house modeling according to house data obtained by AI Recognition to obtain a three-dimensional house space corresponding to the two-dimensional house type diagram.
For example, a two-dimensional house layout may include VR (Virtual Reality technology) panorama data, hand-drawn house layout data, and a two-dimensional planar house layout, among others, the terminal can obtain the door, window, wall, etc. of the target house object through image recognition, recognize the name, area, scale, etc. of each different functional space of the target house object through OCR, the dining room can be divided through a room division algorithm, for example, the dining room can be divided to obtain a living room, a dining room, an entrance, an aisle and the like, a two-dimensional house type graph is converted into a three-dimensional house space through an AI (artificial intelligence) recognition technology, so that the house can be displayed in a 3D (three-dimensional) space manner, the house can be subjected to 'roaming' in the scene when the user can preliminarily perceive different decoration styles of the house, and the spatial perception and the sense of reality of the user are further improved.
In a specific implementation, the graphical user interface may be divided according to the number of the room source spaces, for example, when the room source spaces are displayed in a horizontal screen manner, the graphical user interface may be equally divided into two areas, and referring to fig. 2, a schematic diagram of the room source spaces in the embodiment of the present invention is shown, a left area of the graphical user interface may be used as the room source space before decoration of the target room source, and a right area may be used as the room source space after decoration of the target room source; when the house source space is displayed in a vertical screen mode, referring to fig. 3, a schematic diagram of the house source space in the embodiment of the present invention is shown, an upper area of the graphical user interface may be used as the house source space before decoration of the target house source, a lower area may be used as the house source space after decoration of the target house source, and the like. Alternatively, when the room source space is larger than two, the graphical user interface may be divided into three regions, four regions, and the like, and the display sequence may be flexibly adjusted, which is not limited by the present invention.
When a user wants to compare different room source spaces and display the different room source spaces, and touch any room source space, the terminal can respond to the selection operation of the user, take the room source space selected by the user as a first room source space, and select a first position point corresponding to the touch operation of the user in the first room source space, for example, when the user wants to compare sofas at the same position in different room source spaces, any room source space before decoration or the room source space after decoration can be selected, so that the terminal takes the room source space selected by the user as the first room source space and selects a corresponding position point in the room source space, and then selects a corresponding position point in other room source spaces according to the position point.
102, acquiring the position coordinate of the first position point and the size information of the graphical user interface;
when a user wants to know the difference of the house source information before and after decoration of the target house source, the user can click in any house source space of the graphical user interface, and the terminal can select a position point corresponding to user operation and acquire the position coordinate of the position point and the size information of the graphical user interface so as to further calculate a second position point corresponding to the user operation in other house source spaces according to the position point and the size information.
In a specific implementation, a coordinate system for the graphical user interface may be established first, so as to obtain a position coordinate of the first position point in the coordinate system, and the second position point may be calculated according to the position coordinate and the size information of the graphical user interface.
For the establishment of the coordinate system, referring to fig. 4, a schematic diagram of the coordinate system in the embodiment of the present invention is shown, a vertex corresponding to the upper left corner of the graphical user interface may be used as an origin to establish the coordinate system, and other vertices may also be used as origins to establish the coordinate system, in the embodiment of the present invention, the upper left corner of the graphical user interface is used as the origin to establish the coordinate system, and in the state of the horizontal screen display, the left area is used as the room source space before decoration, and the right area is used as the room source space after decoration; the coordinate system is established by using the vertex at the upper left corner of the graphical user interface as the origin, and the display state of the vertical screen is exemplarily illustrated by using the upper area as the room source space before decoration and the lower area as the room source space after decoration, which is understood that the invention is not limited thereto.
Step 103, calculating a second position point corresponding to the first position point in a second room source space according to the position coordinate and the size information, wherein the second room source space is at least one other room source space corresponding to the first room source space;
in the embodiment of the invention, the dimension information can comprise the height (or length) and width dimensions of the graphical user interface of the terminal, and after the position coordinate and the dimension information of the position point are obtained, the second position point corresponding to the first position point in the second room source space can be calculated according to the position coordinate and the dimension information so as to obtain the room source information corresponding to the position point, and then comparison and display are carried out, so that the judgment of a decoration scene is avoided, the operation of a terminal algorithm is greatly simplified through coordinate calculation, the system overhead of the terminal is improved, the processing process is simplified, the comparison and display efficiency can be effectively improved, and the browsing experience of a user is ensured. Wherein the second room source space is at least one other room source space corresponding to the first room source space.
Aiming at different display modes of the terminal on the room source space, if the terminal displays the first room source space and the second room source space in the graphical user interface in a horizontal screen mode, acquiring a width threshold corresponding to the width size, and then calculating a second position point corresponding to the first position point in the second room source space by adopting the position coordinates and the width size; if the terminal displays the first room source space and the second room source space in the graphical user interface in a vertical screen mode, a height threshold corresponding to the height dimension is obtained, and then a second position point corresponding to the first position point in the second room source space is calculated by adopting the position coordinate and the height dimension. After the first position point in the first room source space is obtained, because the hardware data (house type, area, size, structure and the like) of the target room source are the same, the first position point in the first room source space can be synchronized to the second position point at the same position in the second room source space through coordinate calculation, so that the judgment of a decoration scene is avoided, the operation of a terminal algorithm is greatly simplified through coordinate calculation, the system overhead of the terminal is improved, the processing process is simplified, the efficiency of comparison and display can be effectively improved, and the browsing experience of a user is ensured.
In one example, if the room source space is displayed in a landscape mode, the terminal may obtain a width threshold corresponding to the width dimension of the graphical user interface after obtaining the position coordinate of the first position point, and if the first abscissa of the first position point is greater than the width threshold, calculate a second abscissa by using the first abscissa and the width threshold, and take the position point corresponding to the second abscissa and the first ordinate in the second room source space as the second position point; and if the first abscissa is smaller than the width threshold, taking the position point corresponding to the first abscissa and the first ordinate in the second room source space as a second position point, so as to obtain the position point corresponding to the user selection operation in different room source spaces through coordinate calculation, and conveniently displaying corresponding room source information on the target position point corresponding to each room source space. The width threshold may be a threshold determined according to the number of the room source spaces displayed on the graphical user interface, for example, when there are two room source spaces, the width threshold may be half of the width size; when the room source space is three, then the width threshold may be one-third and two-thirds of the width dimension, and so on.
For example, referring to fig. 5, a schematic diagram of a location point in an embodiment of the present invention is shown, a coordinate system is established with a vertex at a lower left corner as an origin, and in a horizontal screen display state, a left area is used as a room source space before decoration, and a right area is used as a room source space after decoration. When the first position point clicked by the user is (x, y), x is greater than (width/2), and it indicates that the first position point is in the room source space after decoration, a second position point (z, w) in the room source space before decoration needs to be calculated, wherein z is x% (width/2), and w is y. In addition, when the position point clicked by the user is (z, w), x is smaller than (width/2), namely the user clicks the room source space before decoration, the position point can be directly used as a first position point, and then a second position point in the room source space after decoration is directly and synchronously obtained according to hardware data corresponding to the target room source.
In another example, if the room source space is displayed in a vertical screen manner, the terminal may obtain a height threshold corresponding to the height size of the graphical user interface after obtaining the position coordinates of the position point, if the first vertical coordinate is greater than the height threshold, calculate a second vertical coordinate by using the first vertical coordinate and the height threshold, and then take the position point corresponding to the first horizontal coordinate and the second vertical coordinate in the second room source space as a second position point; if the first vertical coordinate is smaller than the height threshold, the position point in the second room source space corresponding to the first horizontal coordinate and the first vertical coordinate is used as a second position point, so that the position points in different room source spaces corresponding to the user selection operation are obtained through coordinate calculation, and corresponding room source information is displayed at the target position points corresponding to the room source spaces. The height threshold may be a threshold determined according to the number of the room source spaces displayed on the graphical user interface, for example, when there are two room source spaces, the height threshold may be half of the height size; when the room source space is three, then the height threshold may be one-third and two-thirds of the height dimension, and so on.
For example, referring to fig. 6, a schematic diagram of a location point in an embodiment of the present invention is shown, a coordinate system is established with a top left corner vertex as an origin, and in a horizontal screen display state, an upper area is used as a house source space before decoration, and a lower area is used as a house source space after decoration, which can be understood that the two can be exchanged. When the position point clicked by the user is (x, y), x is greater than (height/2), and it indicates that the first position point is in the room source space after decoration, a second position point (z, w) in the room source space before decoration needs to be calculated through coordinates, wherein z is x% (height/2), and w is y. In addition, when the position point clicked by the user is (z, w), x is smaller than (height/2), namely the user clicks the room source space before decoration, the position point can be directly used as a first position point, and then a second position point in the room source space after decoration is directly and synchronously acquired according to hardware data corresponding to the target room source.
It should be noted that, after the coordinate system and the display position of the room source space are changed, the calculation method may be adjusted accordingly, and the calculation method may refer to the above process, which is not limited in the present invention.
And 104, acquiring first room source information corresponding to the first position point and second room source information corresponding to the second position point, and displaying the first room source information and the second room source information.
In the embodiment of the invention, after the corresponding target position point in each room source space is determined, the terminal can acquire the room source information corresponding to the target position point and respectively display the room source information in each room source space, so that a user can compare the effects before and after room source decoration so as to select a happy room source according to the self requirement.
Wherein, to the different fitment styles of same house source, can adopt different house source model objects to decorate in the same position in house source, then the terminal can acquire the house source model object that the position point corresponds after having obtained the position point that user operation corresponds to contrast the show in each house source space, including can show the house source model object with picture, audio frequency, video and the mode that combines thereof, thereby make the user can be through the effect of the different fitment styles of contrast, the real fitment effect of perception, improve user experience. Alternatively, the house source model object may include a furniture model object, a decoration model object, and the like, and the decoration model object may be a model for decorating and beautifying the house source, and the like, which is not limited in the present invention.
In the embodiment of the present invention, the content displayed on the graphical user interface of the terminal includes a set of corresponding room source spaces, each of which is a three-dimensional room space established according to different decoration statuses of the target room source, so that the terminal can respond to a selection operation applied to any one of the room source spaces, select a first room source space corresponding to the selection operation and a first position point corresponding to the selection operation in the first room source space, then obtain a position coordinate of the first position point and size information of the graphical user interface, then calculate a second position point corresponding to the first position point in the second room source space according to the position coordinate and the size information, obtain first room source information corresponding to the first position point and second room source information corresponding to the second position point, display the first room source information and the second room source information, so that the user can compare different decoration effects of the target room source, through coordinate calculation, the operation of the decoration comparison algorithm is greatly simplified, the system overhead of the terminal is reduced, the processing process of the terminal algorithm is simplified, the comparison and display efficiency is effectively improved, and the browsing experience of a user is guaranteed.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 7, which is a block diagram illustrating a structure of an embodiment of a display apparatus of house source information according to the present invention, a content displayed through a graphical user interface of a preset terminal at least includes a group of corresponding house source spaces, each of which is a three-dimensional house space established according to different decoration states of a target house source, and specifically includes the following modules:
a first location point selecting module 701, configured to, in response to a selection operation applied to any one of the source spaces, select a first source space corresponding to the selection operation and a first location point in the first source space corresponding to the selection operation;
an information obtaining module 702, configured to obtain a position coordinate of the first position point and size information of the graphical user interface;
a second location point calculating module 703, configured to calculate, according to the location coordinate and the size information, a second location point corresponding to the first location point in a second room source space, where the second room source space is at least one other room source space corresponding to the first room source space;
and the house source information display module 704 is configured to acquire first house source information corresponding to the first position point, and display the first house source information and the second house source information corresponding to the second position point.
In an optional embodiment of the present invention, the size information includes a width size of the gui, and the second location point calculating module 703 includes:
a width threshold acquisition submodule, configured to acquire a width threshold corresponding to the width size if the terminal displays the first room source space and the second room source space in the graphical user interface in a landscape mode;
and the first position point calculating submodule is used for calculating a second position point corresponding to the first position point in the second room source space by adopting the position coordinates and the width size.
In an optional embodiment of the present invention, the position coordinates include a first abscissa and a first ordinate of the first position point, and the first position point calculation submodule is specifically configured to:
if the first abscissa is larger than the width threshold, calculating a second abscissa by using the first abscissa and the width threshold;
taking a position point in the second room source space corresponding to the second abscissa and the first ordinate as a second position point;
and if the first abscissa is smaller than the width threshold, taking a position point in the second room source space corresponding to the first abscissa and the first ordinate as a second position point.
In an optional embodiment of the present invention, the size information includes a height size of the gui, and the second location point calculating module 703 includes:
a height threshold acquisition sub-module, configured to acquire a height threshold corresponding to the height size if the terminal displays the first room source space and the second room source space in the graphical user interface in a vertical screen manner;
and the second position point calculation submodule is used for calculating a second position point corresponding to the first position point in the second room source space by adopting the position coordinates and the height size.
In an optional embodiment of the present invention, the position coordinates include a first abscissa and a first ordinate of the first position point, and the second position point calculation submodule is specifically configured to:
if the first vertical coordinate is larger than the height threshold, calculating a second vertical coordinate by adopting the first vertical coordinate and the height threshold;
taking the position points in the second room source space corresponding to the first abscissa and the second ordinate as second position points;
and if the first vertical coordinate is smaller than the height threshold, taking a position point in the second room source space corresponding to the first horizontal coordinate and the first vertical coordinate as a second position point.
In an optional embodiment of the present invention, the room source information displaying module 704 is specifically configured to:
acquiring a first room source model object corresponding to the first position point and a second room source model object corresponding to the second position point;
and displaying the first room source model object and the second room source model object.
In an optional embodiment of the present invention, further comprising:
a coordinate system establishing module for establishing a coordinate system for the graphical user interface;
the information obtaining module 702 is specifically configured to:
and acquiring the position coordinates of the first position point in the coordinate system.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention further provides an electronic device, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform methods as described in embodiments of the invention.
Embodiments of the present invention also provide a computer-readable storage medium having stored thereon instructions, which, when executed by one or more processors, cause the processors to perform a method according to embodiments of the present invention.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method for displaying house source information and the device for displaying house source information provided by the invention are described in detail, and a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. A method for displaying house source information is characterized in that contents displayed through a graphical user interface of a preset terminal at least comprise a group of corresponding house source spaces, each house source space is a three-dimensional house space established according to different decoration states of a target house source, and the method comprises the following steps:
responding to a selection operation acted on any one room source space, and selecting a first room source space corresponding to the selection operation and a first position point corresponding to the selection operation in the first room source space;
acquiring the position coordinate of the first position point and the size information of the graphical user interface;
calculating a second position point corresponding to the first position point in a second room source space according to the position coordinate and the size information, wherein the second room source space is at least one other room source space corresponding to the first room source space;
acquiring first room source information corresponding to the first position point, second room source information corresponding to the second position point, and displaying the first room source information and the second room source information;
wherein the size information includes a width size of the gui, the position coordinates include a first abscissa and a first ordinate of the first position point, and the calculating a second position point corresponding to the first position point in the second room source space according to the position coordinates and the size information includes:
if the terminal displays the first room source space and the second room source space in a horizontal screen mode in the graphical user interface, acquiring a width threshold corresponding to the width size;
if the first abscissa is larger than the width threshold, calculating a second abscissa by using the first abscissa and the width threshold;
taking a position point in the second room source space corresponding to the second abscissa and the first ordinate as a second position point;
and if the first abscissa is smaller than the width threshold, taking a position point in the second room source space corresponding to the first abscissa and the first ordinate as a second position point.
2. The method of claim 1, wherein the dimension information comprises a height dimension of the graphical user interface, and wherein calculating a second location point in the second room source space corresponding to the first location point based on the location coordinates and the dimension information comprises:
if the terminal displays the first room source space and the second room source space in the graphical user interface in a vertical screen mode, acquiring a height threshold corresponding to the height size;
and calculating a second position point corresponding to the first position point in a second room source space by adopting the position coordinates and the height threshold value.
3. The method of claim 2, wherein the position coordinates comprise a first abscissa and a first ordinate of the first position point, and wherein using the position coordinates and the altitude threshold to calculate a second position point in the second room source space corresponding to the first position point comprises:
if the first vertical coordinate is larger than the height threshold, calculating a second vertical coordinate by adopting the first vertical coordinate and the height threshold;
taking the position points in the second room source space corresponding to the first abscissa and the second ordinate as second position points;
and if the first vertical coordinate is smaller than the height threshold, taking a position point in the second room source space corresponding to the first horizontal coordinate and the first vertical coordinate as a second position point.
4. The method according to any one of claims 1 to 3, wherein the acquiring first room source information corresponding to the first location point and the second room source information corresponding to the second location point, and displaying the first room source information and the second room source information comprises:
acquiring a first room source model object corresponding to the first position point and a second room source model object corresponding to the second position point;
and displaying the first room source model object and the second room source model object.
5. The method of any of claims 1 to 3, further comprising:
establishing a coordinate system for the graphical user interface;
the obtaining of the position coordinates of the first position point includes:
and acquiring the position coordinates of the first position point in the coordinate system.
6. The utility model provides a display device of house source information, its characterized in that, the content that shows through the graphical user interface of presetting the terminal includes a set of corresponding house source space at least, and each house source space is the three-dimensional house space that the different fitment states according to the target house source established, the device includes:
a first location point selecting module, configured to select, in response to a selection operation applied to any one of the source spaces, a first source space corresponding to the selection operation and a first location point in the first source space corresponding to the selection operation;
the information acquisition module is used for acquiring the position coordinate of the first position point and the size information of the graphical user interface;
a second position point calculating module, configured to calculate a second position point corresponding to the first position point in a second room source space according to the position coordinate and the size information, where the second room source space is at least one other room source space corresponding to the first room source space;
the house source information display module is used for acquiring first house source information corresponding to the first position point, second house source information corresponding to the second position point and displaying the first house source information and the second house source information;
wherein the size information includes a width size of the graphical user interface, the location coordinates include a first abscissa and a first ordinate of the first location point, and the second location point calculation module includes:
a width threshold acquisition submodule, configured to acquire a width threshold corresponding to the width size if the terminal displays the first room source space and the second room source space in the graphical user interface in a landscape mode;
the first position point calculation submodule is used for calculating a second abscissa by adopting the first abscissa and the width threshold if the first abscissa is larger than the width threshold;
taking a position point in the second room source space corresponding to the second abscissa and the first ordinate as a second position point;
and if the first abscissa is smaller than the width threshold, taking a position point in the second room source space corresponding to the first abscissa and the first ordinate as a second position point.
7. An electronic device, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the electronic device to perform the method of any of claims 1-5.
8. One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the method of any one of claims 1-5.
CN202011548499.1A 2020-12-23 2020-12-23 Method and device for displaying house source information Active CN112651801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011548499.1A CN112651801B (en) 2020-12-23 2020-12-23 Method and device for displaying house source information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011548499.1A CN112651801B (en) 2020-12-23 2020-12-23 Method and device for displaying house source information

Publications (2)

Publication Number Publication Date
CN112651801A CN112651801A (en) 2021-04-13
CN112651801B true CN112651801B (en) 2022-04-15

Family

ID=75360150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011548499.1A Active CN112651801B (en) 2020-12-23 2020-12-23 Method and device for displaying house source information

Country Status (1)

Country Link
CN (1) CN112651801B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113963133B (en) * 2021-09-18 2022-07-08 北京城市网邻信息技术有限公司 Method and device for generating house source watching route, electronic equipment and readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609584A (en) * 2012-02-09 2012-07-25 孙华良 Device and method for outputting indoor soft decoration 3D (three-dimensional) effect drawing designs
CN104252561A (en) * 2014-09-05 2014-12-31 北京尔宜居科技有限责任公司 Method for simultaneously displaying 2D (two-dimensional) images and 3D (three-dimensional) images of same decoration scenes in single interface
CN112053204A (en) * 2020-08-21 2020-12-08 北京五八信息技术有限公司 House resource display method and device
CN112068751A (en) * 2020-08-28 2020-12-11 北京五八信息技术有限公司 House resource display method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488403B (en) * 2013-08-30 2018-02-02 小米科技有限责任公司 interface layout switching method, device and mobile terminal
CN106777666A (en) * 2016-12-13 2017-05-31 周振华 Finishing instructs drawing generating method and device
JP2018183418A (en) * 2017-04-26 2018-11-22 株式会社アスカネット Deceased person's photo data distribution system
US10795909B1 (en) * 2018-06-14 2020-10-06 Palantir Technologies Inc. Minimized and collapsed resource dependency path
CN112085852B (en) * 2019-05-28 2021-11-09 贝壳找房(北京)科技有限公司 Method, device and system for displaying three-dimensional models of house before and after decoration on same screen
CN111523169B (en) * 2020-04-24 2023-06-13 广东博智林机器人有限公司 Decoration scheme generation method and device, electronic equipment and storage medium
CN111599020B (en) * 2020-04-28 2023-10-27 北京字节跳动网络技术有限公司 House display method and device and electronic equipment
CN112068754B (en) * 2020-08-28 2021-10-15 北京五八信息技术有限公司 House resource display method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609584A (en) * 2012-02-09 2012-07-25 孙华良 Device and method for outputting indoor soft decoration 3D (three-dimensional) effect drawing designs
CN104252561A (en) * 2014-09-05 2014-12-31 北京尔宜居科技有限责任公司 Method for simultaneously displaying 2D (two-dimensional) images and 3D (three-dimensional) images of same decoration scenes in single interface
CN112053204A (en) * 2020-08-21 2020-12-08 北京五八信息技术有限公司 House resource display method and device
CN112068751A (en) * 2020-08-28 2020-12-11 北京五八信息技术有限公司 House resource display method and device

Also Published As

Publication number Publication date
CN112651801A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
US8644467B2 (en) Video conferencing system, method, and computer program storage device
CN111414225B (en) Three-dimensional model remote display method, first terminal, electronic device and storage medium
WO2019126002A1 (en) Recommending and presenting products in augmented reality
US11080935B2 (en) Systems and methods for scene-independent augmented reality interfaces
CN112243583B (en) Multi-endpoint mixed reality conference
KR20190065933A (en) Method for interior platform based on spatial awareness
US11194952B2 (en) Systems and methods for product visualization using a single-page application
CN112068751A (en) House resource display method and device
CN111369664A (en) Method, device, equipment and storage medium for displaying house type scene
US10887195B2 (en) Computer system, remote control notification method and program
CN112068754B (en) House resource display method and device
CN112051956A (en) House source interaction method and device
CN113206993A (en) Method for adjusting display screen and display device
CN110691010B (en) Cross-platform and cross-terminal VR/AR product information display system
CN112596836A (en) House source data processing method and device
CN112651801B (en) Method and device for displaying house source information
EP4318272A1 (en) Systems and methods for product visualization using a single-page application
WO2020259328A1 (en) Interface generation method, computer device and storage medium
CN113938698B (en) Display control method and device for live user data and computer equipment
US11095956B2 (en) Method and system for delivering an interactive video
CN115624740A (en) Virtual reality equipment, control method, device and system thereof, and interaction system
CN114760519A (en) Interaction method, device and equipment based on gift special effect of live broadcast room and storage medium
CN109343703B (en) Multi-terminal collaborative information processing method, device, system and storage medium
CN115552364A (en) Multi-terminal collaborative display updating method and device
CN114004953A (en) Method and system for realizing reality enhancement picture and cloud server

Legal Events

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