Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, 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.
Fig. 1 is a flowchart of an inter-function additional element adding method of a house source according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step 10, if the fact that a user of a preset role clicks or long-presses a preset creating element button is detected, judging whether the user is in a virtual three-dimensional space model of a house source;
step 11, if the judgment result is yes, acquiring the current function room of the user;
step 12, acquiring the additional elements created by the user, and setting the additional elements as the additional elements among the functions; wherein the additional elements include: an audio stream, a video stream, or an action stream introducing the function room.
Different from the house-watching concepts that the house-watching of the current popular pictures, videos, panoramic houses and the like cannot provide depth information and real perception, the 'VR house-watching' means that a house source three-dimensional scene is really restored by utilizing a VR technology, and immersive house-watching experience in a free mode is provided for consumers, so that the users can experience the real house-watching scene without going out. For example, by opening a VR house source on the APP, depth information including the size, orientation, distance, etc. of the real space of the house can be obtained by touching the screen anywhere. In the aspect of restoring a house source three-dimensional scene, a house can be scanned and shot in multiple points and multiple angles to obtain complete three-dimensional point cloud data, longitude and latitude data and a multi-exposure high-definition color picture, and all data and picture textures are mapped onto a three-dimensional model through three-dimensional reconstruction technologies such as automatic modeling, intelligent cavity filling, full-automatic data extraction and HDR optimization in the later period to obtain a real house space seen by a final user.
The 'VR house speaking' is a broker voice explanation service provided on the basis of 'VR house watching', and is recorded in advance by a broker according to a roaming line, so that comprehensive explanation is provided for consumers. A user can open a VR house source on the APP through terminals such as a mobile phone and the like and enter a virtual three-dimensional space diagram of the house source. A preset creating element button is set on a display page of a virtual three-dimensional space diagram of a house source, and a user with a preset role can click or press the button for a long time through a mobile phone and other terminals. The preset roles may include: a broker of the house, an owner of the house, or an administrator of the house, etc.
If the system detects that the user with the character clicks or presses a creating element button of a house source for a long time at a certain moment, the system can firstly judge whether the user is in the virtual three-dimensional space model of the house source. If the system detects that the user walks in the virtual three-dimensional space model of the house source, the system indicates that the user is in the virtual three-dimensional space model of the house source.
If the system knows that the user is in the virtual three-dimensional space model of the house source through judgment, the functional room where the user is located can be obtained. For example, a living room in which the user is currently at the source may be obtained.
The system may then obtain additional elements created by the user, where the additional elements may include audio streams, video streams, or action streams that introduce the functional rooms, and for example, the additional elements may be audio, page operations, walking routes, etc. created by a broker of the house source when the broker walks within a functional room in the virtual three-dimensional space model of the house source. The system can establish a mapping relation between the acquired additional elements and the functions, set the additional elements as the additional elements between the functions, and bind the additional elements and the functions. For example, if the system detects that a user is traveling in a living room and creates an audio stream that introduces the living room, the system may set the audio stream created by the user as an additional element of the living room of the source, which may bind the audio stream of the living room to the function of the living room.
In the method for adding additional elements between functions of a house source provided by the embodiment of the invention, if it is detected that a user of a preset role clicks or long-presses a preset creating element button, whether the user is in a virtual three-dimensional space model of the house source is judged, if so, the current function of the user is obtained, the additional elements created by the user are obtained, and the additional elements are set as the additional elements between the functions. The method can enable the user to feel the consistency of the visual experience and the additional elements, greatly improve the richness of the house source information received by the user, and reduce the learning cost of a new user on an unfamiliar scene, so that the user is encouraged to walk in and explore house sources, the product retention time of the user is prolonged, and the comfort and the high efficiency of the user in the house source decision making process are improved.
Optionally, on the basis of the foregoing embodiment, the method further includes:
if the judgment result is negative, acquiring one or more additional elements uploaded by the user and the corresponding relation between each additional element specified by the user and the function of the house source;
and setting each additional element as an additional element between corresponding functions according to the corresponding relation.
Specifically, if the system detects that a user with a preset role clicks or long-presses a create element button of a house source, and detects that the user does not swim in the virtual three-dimensional space model of the house source, it may be determined that the user is not in the virtual three-dimensional space model of the house source.
The system may then obtain all additional elements uploaded by the user regarding the source, including additional elements between all functions within the source. The system can also acquire the corresponding relation between each additional element uploaded by the user and each function. For example, the system acquires that the user creates 5 additional elements in total, and the numbers are 1, 2, 3, 4, and 5 respectively. The user specifies that the additional element numbered 1 corresponds to a living room, the additional element numbered 2 corresponds to a balcony, the additional element numbered 3 corresponds to a kitchen, the additional element numbered 4 corresponds to a toilet, and the additional element numbered 5 corresponds to a bedroom.
After the system obtains the additional elements and the corresponding relationship between each additional element and the functions of the house source, a mapping relationship may be established between each additional element and the corresponding function, and each additional element may be set as an additional element between the corresponding functions. For example, the system may establish a mapping relationship between the additional element numbered 1 and the living room, and set the additional element numbered 1 as the additional element of the living room; establishing a mapping relation between the additional element with the number of 2 and the balcony, and setting the additional element with the number of 2 as the additional element of the balcony; establishing a mapping relation between the additional element with the number of 3 and the kitchen, and setting the additional element with the number of 3 as the additional element of the kitchen; establishing a mapping relation between the additional element with the number of 4 and the toilet, and setting the additional element with the number of 4 as the additional element of the toilet; and establishing a mapping relation between the additional element with the number of 5 and the bedroom, and setting the additional element with the number of 5 as the additional element of the bedroom.
In the method for adding additional elements between functions of a house source provided by the embodiment of the invention, if it is judged and known that a user is not in a virtual three-dimensional space model of the house source, one or more additional elements uploaded by the user and a corresponding relationship between each additional element specified by the user and the functions of the house source are obtained, and each additional element is set as the additional element between the corresponding functions according to the corresponding relationship, so that the applicable scene range of the method can be expanded, and the method is more flexible.
Fig. 3 is a partial schematic view of a virtual three-dimensional space diagram display page of a house source according to an embodiment of the present invention.
Optionally, on the basis of the foregoing embodiment, the method further includes:
and setting a preset area on a display page of the virtual three-dimensional space model of the house source, and displaying additional element playing buttons among all the functions in the preset area according to a preset arrangement sequence.
Specifically, according to the method described in the foregoing embodiment, after setting the additional elements created by the user as the additional elements between the respective corresponding functions, the system may select a preset area on the virtual three-dimensional space model display page of the house source, for example, may select an area at the bottom of the display page, and display the additional element play buttons between all functions in the house source in the preset arrangement order in the area.
As shown in fig. 3, additional element play buttons for each functional room may be displayed in the order of the living room, the bedroom a, the bedroom B, the kitchen, and the restroom at the bottom of the virtual three-dimensional space model presentation page of the house source. The system may play the additional element corresponding to bedroom a if it detects that a user of the client has clicked the play button of bedroom a. Thus, the user can play the introduction content of the function to be known by the user while walking in the three-dimensional space model of the house source. The user can select to play the additional elements of the bedroom A when the user walks in the bedroom A, can also select to play the corresponding additional elements of the living room or other functions, and can also switch between the additional elements of different functions for playing.
According to the method for adding the additional elements between the functions of the house source, provided by the embodiment of the invention, the preset area is set on the display page of the virtual three-dimensional space model of the house source, and the playing buttons of the additional elements between each function are displayed in the preset area according to the preset arrangement sequence, so that a user of a client can autonomously select introduction contents between the functions to be known when the user walks in the virtual three-dimensional space model of the house source, and the method is more scientific.
Optionally, on the basis of the foregoing embodiment, the acquiring the current functional room of the user includes:
acquiring point location information corresponding to the current position of the user;
and determining the current function room of the user according to the point location information.
The obtaining of the current functional room of the user in the above embodiment may be implemented as follows.
First, the system may obtain point location information corresponding to a location where the user is located at the current time. In the virtual three-dimensional space model of the house source, a plurality of point location information exists among all functions. The database of the system has prestored the corresponding relationship between the point location information and the functions in the house source, and the system can inquire the functions corresponding to the point location information from the database. For example, if the obtained point location information is point location information belonging to a living room, the system may determine that the current location of the user is the living room.
According to the method for adding the additional elements between the functions of the house source, provided by the embodiment of the invention, the point location information corresponding to the current position of the user is obtained, and the current function of the user is determined according to the point location information, so that the method is more scientific.
Fig. 2 is a flowchart of an inter-function additional element adding method of a house source according to another embodiment of the present invention. Next, a technical solution provided by the embodiment of the present invention is described in detail with a specific embodiment.
As shown in fig. 2, if it is detected at a certain time that a user with a preset role clicks or presses a create element button on a virtual three-dimensional space model presentation page of a house source for a long time, the system may first determine whether the user is currently in the virtual three-dimensional space model of the house source.
If the system knows that the user is in the virtual three-dimensional space model of the house source through judgment, the functional room where the user is located can be obtained. Then, the system may acquire an additional element created when the user walks within the function, that is, content added by the user, establish a mapping relationship between the acquired additional element and the function, set the additional element as the additional element between the functions, and bind the acquired additional element and the function.
If the system detects that the user is not walking in the virtual three-dimensional space model of the source, it may be determined that the user is not in the virtual three-dimensional space model of the source.
Then, the system may obtain all additional elements about the house source uploaded by the user, including additional elements between all functions in the house source, and may further obtain a correspondence between each additional element and each function uploaded by the user. After the system obtains the additional elements and the corresponding relationship between each additional element and the functions of the house source, a mapping relationship may be established between each additional element and the corresponding function, and each additional element may be set as an additional element between the corresponding functions.
After the system sets the additional elements created by the user as the additional elements between the respective corresponding functions, a preset area can be selected on the virtual three-dimensional space model display page of the house source, for example, an area can be selected at the bottom of the display page, and the additional element playing buttons between all the functions in the house source are displayed in the area according to a preset arrangement sequence.
Fig. 4 is a schematic structural diagram of an inter-function additional element adding system of a house source according to an embodiment of the present invention, and as shown in fig. 4, the system includes: a judging module 40, an obtaining module 41 and a setting module 42, wherein:
the judging module 40 is configured to judge whether a user of a preset role is in a virtual three-dimensional space model of a house source if it is detected that the user clicks or long-presses a preset creating element button; the obtaining module 41 is configured to obtain a current function room of the user if the determination result is yes; the setting module 42 is configured to obtain the additional elements created by the user, and set the additional elements as additional elements among the functions; wherein the additional elements include: an audio stream, a video stream, or an action stream introducing the function room.
Specifically, the system for adding additional elements between functions of a house source provided by the embodiment of the present invention may include: a judging module 40, an obtaining module 41 and a setting module 42.
A preset creating element button is set on a display page of a virtual three-dimensional space diagram of a house source, and a user with a preset role can click or press the button for a long time through a mobile phone and other terminals. The preset roles may include: a broker of the house, an owner of the house, or an administrator of the house, etc.
If the determining module 40 detects that the user with the above-mentioned character clicks or presses the create element button of a room source for a long time at a certain time, it can first determine whether the user is currently in the virtual three-dimensional space model of the room source. If the determining module 40 detects that the user walks in the virtual three-dimensional space model of the house source, it indicates that the user is in the virtual three-dimensional space model of the house source.
If it is known through the judgment that the user is in the virtual three-dimensional space model of the house source, the obtaining module 41 may obtain the functional room where the user is located. For example, a living room in which the user is currently at the source may be obtained.
The setup module 42 may obtain additional elements created by the user, where the additional elements may include audio streams, video streams, or action streams introducing the function room, for example, the additional elements may be audio, page operations, walking routes, etc. created by a broker of the house source when the broker walks within a function room in the virtual three-dimensional space model of the house source. The setting module 42 may establish a mapping relationship between the acquired additional element and the function, set the additional element as an additional element between the functions, and bind the two elements. For example, if it is detected that a user creates an audio stream that introduces a living room while traveling in the living room, the setting module 42 may set the audio stream created by the user as an additional element of the living room of the room source, so as to bind the audio stream of the living room with the function of the living room.
The function of the system for adding additional elements between functions of a house source provided by the embodiment of the present invention specifically refers to the above method embodiment, and is not described herein again.
In the system for adding additional elements between functions of a room source provided by the embodiment of the invention, if the user of the preset role clicks or presses the preset creating element button for a long time, whether the user is in the virtual three-dimensional space model of the room source is judged, if so, the current functional room of the user is obtained, the additional elements created by the user are obtained, and the additional elements are set as the additional elements between the functions. The system can enable the user to feel the consistency of visual experience and additional elements, can greatly improve the abundance of the house source information received by the user, and reduces the learning cost of new users on strange scenes, thereby motivating the user to walk in and explore house sources, prolonging the time for the user to store products, and improving the comfort and the high efficiency of the user in the house source decision-making process.
Optionally, on the basis of the foregoing embodiment, the obtaining module is further configured to: if the judgment result is negative, acquiring one or more additional elements uploaded by the user and the corresponding relation between each additional element specified by the user and the function of the house source;
correspondingly, the setting module is further configured to: and according to the corresponding relation, setting each additional element as an additional element between corresponding functions.
Specifically, if the determining module detects that a user with a preset role clicks or presses a room source creating element button for a long time, and detects that the user does not swim in the virtual three-dimensional space model of the room source, it may be determined that the user is not in the virtual three-dimensional space model of the room source.
The acquisition module may acquire all additional elements uploaded by the user about the house source, including additional elements between all functions within the house source. The obtaining module may further obtain a corresponding relationship between each additional element uploaded by the user and each function. For example, the obtaining module obtains that the user creates 5 additional elements in total, and the numbers are 1, 2, 3, 4, and 5, respectively. The user specifies that the additional element numbered 1 corresponds to a living room, the additional element numbered 2 corresponds to a balcony, the additional element numbered 3 corresponds to a kitchen, the additional element numbered 4 corresponds to a toilet, and the additional element numbered 5 corresponds to a bedroom.
After the obtaining module obtains the additional elements and the corresponding relationship between each additional element and the functions of the house source, the setting module may establish a mapping relationship between each additional element and the corresponding function, and set each additional element as the additional element between the corresponding functions. For example, the setting module may establish a mapping relationship between the additional element numbered 1 and the living room, and set the additional element numbered 1 as the additional element of the living room; establishing a mapping relation between the additional element with the number of 2 and the balcony, and setting the additional element with the number of 2 as the additional element of the balcony; establishing a mapping relation between the additional element with the number of 3 and the kitchen, and setting the additional element with the number of 3 as the additional element of the kitchen; establishing a mapping relation between the additional element with the number of 4 and the toilet, and setting the additional element with the number of 4 as the additional element of the toilet; and establishing a mapping relation between the additional element with the number of 5 and the bedroom, and setting the additional element with the number of 5 as the additional element of the bedroom.
In the system for adding additional elements between functions of a house source provided by the embodiment of the invention, if it is judged and known that a user is not in a virtual three-dimensional space model of the house source, one or more additional elements uploaded by the user and a corresponding relationship between each additional element designated by the user and the functions of the house source are obtained, and each additional element is set as the additional element between the corresponding functions according to the corresponding relationship, so that the applicable scene range of the method can be expanded, and the system is more flexible.
Optionally, on the basis of the above embodiment, the system includes: judge module, acquisition module, setting module and display module, wherein:
the display module is used for setting a preset area on a display page of the virtual three-dimensional space model of the house source and displaying additional element playing buttons among all the functions in the preset area according to a preset arrangement sequence.
Specifically, the system for adding additional elements between functions of a house source provided by the embodiment of the present invention may include: the device comprises a judging module, an obtaining module, a setting module and a display module. The determining module, the obtaining module and the setting module are described in detail in the above embodiments, and are not described herein again.
After the setting module sets the additional elements created by the user as the additional elements between the respective corresponding functions according to the method described in the above embodiment, the display module may select a preset region on the virtual three-dimensional space model display page of the house source, for example, may select a region at the bottom of the display page, and display the additional element playing buttons between all functions in the house source in the preset arrangement sequence in the region.
As shown in fig. 3, the display module may display additional element play buttons for each functional room in the order of the living room, the bedroom a, the bedroom B, the kitchen, and the restroom at the bottom of the virtual three-dimensional space model presentation page of the house source. If it is detected that one user of the client clicks the play button of the bedroom A, the display module may play the additional element corresponding to the bedroom A. Thus, the user can play the introduction content of the function to be known by the user while walking in the three-dimensional space model of the house source. When the user walks in the bedroom A, the user can select to play the additional elements of the bedroom A, can also select to play the corresponding additional elements of the living room or other functions, and can also switch and play the additional elements among different functions.
According to the system for adding the additional elements between the functions of the house source provided by the embodiment of the invention, the preset area is set on the display page of the virtual three-dimensional space model of the house source, and the playing buttons of the additional elements between each function are displayed in the preset area according to the preset arrangement sequence, so that a user of a client can independently select introduction contents between the functions to be known when the user walks in the virtual three-dimensional space model of the house source, and the system is more scientific.
Optionally, on the basis of the foregoing embodiment, the obtaining module includes: an acquisition submodule and a determination submodule, wherein:
the obtaining submodule is used for obtaining point location information corresponding to the current position of the user; and the determining submodule is used for determining the current function room of the user according to the point location information.
Specifically, the obtaining module in the above embodiment may include: an acquisition submodule and a determination submodule.
The obtaining submodule can obtain point location information corresponding to the position of the user at the current moment. In the virtual three-dimensional space model of the house source, a plurality of point location information exists among all functions. The corresponding relation between the point location information and the functions in the house source is pre-stored in the database, and the determining submodule can inquire the functions corresponding to the point location information from the database. For example, if the point location information acquired by the acquisition sub-module is point location information belonging to a living room, the determination sub-module may determine that the current location of the user is the living room.
According to the system for adding the additional elements between the functions of the house source, which is provided by the embodiment of the invention, the point location information corresponding to the current position of the user is obtained, and the current function of the user is determined according to the point location information, so that the system is more scientific.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device includes: a processor (processor)51, a memory (memory)52, and a bus 53, wherein:
the processor 51 and the memory 52 complete mutual communication through the bus 53; the processor 51 is configured to call program instructions in the memory 52 to perform the methods provided by the above-mentioned method embodiments, including: if the user of the preset role clicks or long-presses a preset creating element button, judging whether the user is in a virtual three-dimensional space model of the house source; if the judgment result is yes, acquiring the current function room of the user; acquiring additional elements created by the user, and setting the additional elements as additional elements among the functions; wherein the additional elements include: an audio stream, a video stream, or an action stream introducing the function room.
Embodiments of the present invention disclose 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 methods provided by the above-mentioned method embodiments, for example, including: if the user of the preset role clicks or long-clicks a preset creating element button, judging whether the user is in a virtual three-dimensional space model of the house source; if the judgment result is yes, acquiring the current function room of the user; acquiring additional elements created by the user, and setting the additional elements as additional elements among the functions; wherein the additional elements include: an audio stream, a video stream, or an action stream introducing the function room.
Embodiments of the present invention provide a non-transitory computer-readable storage medium, which stores computer instructions, where the computer instructions cause the computer to perform the methods provided by the above method embodiments, for example, the methods include: if the user of the preset role clicks or long-presses a preset creating element button, judging whether the user is in a virtual three-dimensional space model of the house source; if the judgment result is yes, acquiring the current function room of the user; acquiring additional elements created by the user, and setting the additional elements as additional elements among the functions; wherein the additional elements include: an audio stream, a video stream, or an action stream introducing the function room.
The above-described embodiments of electronic devices and the like are only illustrative, where 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 multiple 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 may be implemented by software plus a necessary general hardware platform, and may 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.
The above examples are only for illustrating the technical solutions of the present invention, and not for limiting the same; 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.