CN114357348B - Display method and device and electronic equipment - Google Patents

Display method and device and electronic equipment Download PDF

Info

Publication number
CN114357348B
CN114357348B CN202111647296.2A CN202111647296A CN114357348B CN 114357348 B CN114357348 B CN 114357348B CN 202111647296 A CN202111647296 A CN 202111647296A CN 114357348 B CN114357348 B CN 114357348B
Authority
CN
China
Prior art keywords
position information
roaming
point
source model
dimensional
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
CN202111647296.2A
Other languages
Chinese (zh)
Other versions
CN114357348A (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 Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network 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 Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202111647296.2A priority Critical patent/CN114357348B/en
Publication of CN114357348A publication Critical patent/CN114357348A/en
Application granted granted Critical
Publication of CN114357348B publication Critical patent/CN114357348B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a display method, a display device and electronic equipment. One embodiment of the method comprises the following steps: determining the position information of an image acquisition point in an acquisition point position of a three-dimensional room source model, and determining the position information of a room floor of a room where the image acquisition point is positioned in the floor position information of the three-dimensional room source model; determining roaming point position information of roaming points corresponding to the image acquisition points in the three-dimensional room source model according to the acquisition point position information and the floor position information; and displaying a roaming point control at the position indicated by the roaming point position information when the three-dimensional panoramic image corresponding to the three-dimensional room source model. Thus, a new display mode is provided.

Description

Display method and device and electronic equipment
Technical Field
The disclosure relates to the field of computer technology, and in particular, to a display method, a display device and electronic equipment.
Background
With the development of computers, users can implement various functions using electronic devices. For example, a user may search for a house source through an electronic device and browse the house source situation at a terminal device.
In some scenes, a realistic picture is rendered based on the three-dimensional house source model, so that the scene of viewing the house source in the field can be simulated, and a user can view the house source condition without going out.
Disclosure of Invention
This disclosure is provided in part to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, an embodiment of the present disclosure provides a display method, including: determining the position information of an image acquisition point in an acquisition point position of a three-dimensional room source model, and determining the position information of a room floor of a room where the image acquisition point is positioned in the floor position information of the three-dimensional room source model; determining roaming point position information of roaming points corresponding to the image acquisition points in the three-dimensional room source model according to the acquisition point position information and the floor position information; and displaying a roaming point control at the position indicated by the roaming point position information when the three-dimensional panoramic image corresponding to the three-dimensional room source model.
In a second aspect, embodiments of the present disclosure provide a display apparatus including: the first determining unit is used for determining the position information of the image acquisition point in the acquisition point of the three-dimensional room source model and determining the position information of the floor of the room where the image acquisition point is located in the three-dimensional room source model; the second determining unit is used for determining roaming point position information of the roaming point corresponding to the image acquisition point in the three-dimensional room source model according to the acquisition point position information and the floor position information; and the display unit is used for displaying the roaming point control at the position indicated by the roaming point position information when the three-dimensional panoramic image corresponding to the three-dimensional room source model.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; and a storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the display method as described in the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements the steps of the display method according to the first aspect.
The display method, the display device and the electronic equipment provided by the embodiment of the disclosure can firstly determine the position information of the image acquisition point in the acquisition point of the three-dimensional room source model and the position information of the floor of the room where the image acquisition point is located in the three-dimensional room source model; then, according to the acquisition point position information and the floor position information, determining the position information of the roaming point corresponding to the image acquisition point in the three-dimensional room source model; in this way, the determined roaming point position information is accurate, and when the three-dimensional panoramic image corresponding to the three-dimensional room source model is displayed at the position indicated by the roaming point position information, the displayed roaming point control is attached to the floor image instead of being detached from the floor, so that the objective cognition of human beings on the roaming point is met.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a flow chart of one embodiment of a display method according to the present disclosure;
FIG. 2 is a schematic illustration of one application scenario of a display method according to the present disclosure;
FIG. 3 is a schematic illustration of one application scenario of the display method according to the present disclosure;
FIG. 4 is a flow chart of another embodiment of a display method according to the present disclosure;
FIG. 5 is a schematic diagram of a structure of one embodiment of a display device according to the present disclosure;
FIG. 6 is an exemplary system architecture to which the display method of one embodiment of the present disclosure may be applied;
fig. 7 is a schematic view of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Referring to fig. 1, a flow of one embodiment of a display method according to the present disclosure is shown. The display method as shown in fig. 1 comprises the following steps:
step 101, determining the position information of an image acquisition point in an acquisition point position of a three-dimensional room source model, and determining the position information of a room floor of a room where the image acquisition point is located in the three-dimensional room source model.
In this embodiment, the execution body (e.g., a server and/or a terminal device) of the display method may determine the acquisition point position information of the image acquisition point in the three-dimensional room source model, and determine the floor position information of the room floor of the room where the image acquisition point is located in the three-dimensional room source model.
In some scenarios, a worker may go to a source site, take a picture in the field, and in each room of the source, one or more image acquisition points may be set, that is, the source image is acquired at one or more locations (source acquisition points), and a three-dimensional source model is built from the acquired source image.
Based on the three-dimensional room source model, virtual Reality (VR) panoramic Virtual roaming can be realized. So-called virtual roaming, i.e. roaming in virtual reality. The specific implementation mode is that the virtual reality panorama is taken as a main body, various media such as pictures, videos, audios and characters are selectively added, and various scenes including house sources or scenic spots and the like are integrally and comprehensively displayed, so that a viewer can not only obtain integral knowledge, but also go deep into one scene and one detail to browse and view.
In the related implementation scene of VR panorama virtual roaming, roaming point controls of other VR panorama can be added in the VR panorama or the map, the roaming point controls can be in the form of arrows or footprints, and when a browser clicks the roaming point controls of other VR panorama, the browser can switch to other three-dimensional panorama to browse.
It will be appreciated that one or more room source image acquisition points may be included in the room source. The image acquisition points in the embodiment can be any image acquisition points in the house source, that is, any image acquisition points in the house source can be processed by adopting the mode of the embodiment.
In this embodiment, the image acquisition point of the real house source site may be position information in the real house source space. The position information of the acquisition points can indicate the positions corresponding to the image acquisition points and the positions in the virtual space in the three-dimensional room source model.
In this embodiment, the room floor of the room where the image acquisition point is located may be an actual floor of the room source site, that is, an object in the real room source control. Floor position information, which may indicate a position in the three-dimensional room source model, i.e. a floor position in the virtual space.
It will be appreciated that the floor in the room may or may not be a plane. For example, a room may have steps therein, and a floor in the room may form a plane or planes.
And 102, determining the roaming point position information of the roaming point corresponding to the image acquisition point in the three-dimensional room source model according to the acquisition point position information and the floor position information.
In this embodiment, the executing body may determine, according to the acquisition point position information and the floor position information, roaming point position information of a roaming point corresponding to the image acquisition point in the room source model.
In this embodiment, the roaming point location information may indicate a roaming point location, and the roaming point location may display a roaming point. When a user views a house source image in a virtual reality panorama roaming scene, the displayed virtual scene can simulate a scene that the user station views the house source at a real position corresponding to the roaming point.
As an example, the intersection of the acquisition point and the roaming point may be determined as the roaming point.
And step 103, displaying a roaming point control at the position indicated by the roaming point position information when the three-dimensional panoramic image corresponding to the three-dimensional room source model.
In this embodiment, when the three-dimensional panoramic image corresponding to the three-dimensional room source model is displayed, that is, when the virtual reality panorama roaming is performed, the roaming point control may be displayed at the position indicated by the roaming point position information (that is, the roaming point).
Here, the roaming point control may include various forms of information, such as text, e.g., an image. If the roaming point control includes an image, the specific style of the image may also be varied, such as an arrow, a footprint image, a circle image, etc.
It should be noted that, in the display method provided in this embodiment, first, position information of an image acquisition point in an acquisition point of a three-dimensional room source model is determined, and floor position information of a room floor of a room where the image acquisition point is located in the three-dimensional room source model is determined; then, according to the acquisition point position information and the floor position information, determining the position information of the roaming point corresponding to the image acquisition point in the three-dimensional room source model; in this way, the determined roaming point position information is accurate, and when the three-dimensional panoramic image corresponding to the three-dimensional room source model is displayed at the position indicated by the roaming point position information, the displayed roaming point control is attached to the floor image instead of being detached from the floor, so that the objective cognition of human beings on the roaming point is met.
In contrast, if a roaming point determination based on room height of the room source is used, the roaming point control may be caused to float in half-air or embedded in the floor. Specifically, in general, an overall room height is determined for each floor of each room source. In real life, however, the room heights of the individual rooms in a floor may be different, for example, the room heights of a bathroom and a living room may be different; and a single room may also have multiple room heights, e.g., a room with steps therein dividing the room into two planes. Therefore, if the floor position is calculated algebraically based on the room height to determine the roaming point position, the roaming point control displayed in the room source is suspended in mid-air or embedded in the floor.
In some embodiments, the step 102 may include: generating a target vertical line; and acquiring intersection point position information of an intersection point of the target vertical line and the virtual floor plane as the roaming point position information.
Here, the target vertical line passes through the virtual acquisition point indicated by the acquisition position information and is perpendicular to the virtual floor plane indicated by the floor position information. It will be appreciated that the target perpendicular to the plane may refer to any line in the plane that is perpendicular to the target perpendicular.
As an example, a perpendicular may be drawn to the virtual floor plane starting from the virtual collection point. Thus, the target vertical line can be obtained.
Referring to fig. 2, fig. 2 illustrates a scenario in which a target vertical is generated and roaming point location information is determined.
In fig. 2, a virtual collection point 201, a target vertical 202, and a virtual floor plane 203 are shown. The target plumb line may be perpendicular to the virtual floor screen 203 and pass through the virtual acquisition point 201.
It should be noted that, the intersection point of the target vertical line and the virtual floor plane can accurately reflect the position of the floor at the virtual acquisition point, so that the situation that the positions of the roaming point controls are inaccurate due to the fact that a plurality of planes exist in a room or the heights of the rooms are different is avoided. Thus, the roaming point indication position can be quickly and accurately determined according to the actual condition of the room floor at the image acquisition point.
In some embodiments, prior to step 101, the method further comprises: and loading the three-dimensional room source model by the server.
Here, the server may be the execution body or other electronic devices.
Here, the three-dimensional room source model may be loaded on the server side, and then steps 101 and 102 described above are performed, and step 103 is performed. In other words, the roaming point position information can be determined by performing calculation using the three-dimensional room source model without displaying the three-dimensional panoramic image corresponding to the three-dimensional room source model. Therefore, the timely display of the roaming point control can be realized.
In contrast, if the browser is used to load the three-dimensional room source model, and then the corresponding three-dimensional panoramic image is displayed, and then the roaming point position information is determined, the roaming point position information may not be displayed timely.
In some embodiments, the loading the three-dimensional room source model by the server may include: establishing a corresponding server interface aiming at an interface of a browser called by a webpage graphic library; modifying an interface for calling a browser in the webpage graphic library into a call server interface; and running the modified webpage graphic library at the server side, and loading the three-dimensional room source model.
In some scenarios, the web page graphics library may invoke some functionality in the browser, enabling rendering of high-performance interactive 3D and 2D graphics. The interface for calling the browser in the webpage graphic library is modified to be changed into the interface for calling the server, and the server correspondingly establishes the function required by the webpage graphic library, so that the webpage graphic library can be operated at the server, and the three-dimensional room source model is loaded by using the modified webpage graphic library at the server.
Here, the Web graphic library (WebGL or Web graphic library) is a JavaScript API that can render high-performance interactive 3D and 2D graphics in a compatible Web browser without using a plug-in.
Therefore, the dependence of the WebGL on the browser can be stripped, and the rendering at the server side by using the WebGL is realized. The modified WebGL enables the browser to load the model, and the model can be loaded at a server (without a browser) and in a three-dimensional space.
In some embodiments, when the three-dimensional panoramic image corresponding to the three-dimensional room source model is displayed at the position indicated by the roaming point position information, the method includes: and displaying the roaming point control by taking the position indicated by the roaming point position information as the center of the roaming point control.
Here, the interface area occupied by the roaming point control may be various shapes. The center of the occupied interface area may be located at the location indicated by the roaming point location information.
Therefore, the roaming point controls can be distributed at the positions of the roaming points as uniformly as possible, the roaming point controls can accurately indicate the image acquisition points, and the user triggers the roaming point controls to indicate the three-dimensional panoramic image and is consistent with the image seen at the image acquisition points as much as possible.
In some embodiments, the roaming point control comprises a circular control or an oval control. The round or oval roaming point is similar to the shape clicked by the finger belly when the terminal is operated by human, so that the trigger operation of the user can be received to the greatest extent, and the operation efficiency of the user is improved.
In some embodiments, the displaying the roaming point control with the location indicated by the roaming point location information as a center of the roaming point control includes: and displaying a round control or an oval control in the roaming point control by taking the position indicated by the roaming point position information as a circle center.
Fig. 3 illustrates an exemplary scenario of a roaming point control.
In fig. 3, roaming point control 301 may comprise an oval control centered at the intersection of target plumb line 202 and virtual floor plane 203.
In some embodiments, the method further comprises: and responding to the detection of the triggering operation for the roaming point control, and displaying the room source image corresponding to the roaming point control.
In some scenarios, the screen may display a three-dimensional panoramic image corresponding to room a, and the user may click on a rover control, such as rover control 301 shown in fig. 3, where rover control 301 may indicate a three-dimensional panoramic image of room b. Then, the screen can be switched to the three-dimensional panoramic image of the room B for display.
Therefore, the method and the device can be convenient for a user to operate according to the indication of the roaming point control, and the speed of browsing the three-dimensional panoramic image corresponding to the house source is improved.
Referring to fig. 4, fig. 4 illustrates another embodiment of a display method according to the present application. The embodiment shown in fig. 4 may include steps 401, 402, 403, and 404.
Step 401, the server loads a three-dimensional room source model.
Here, the server may be the execution body or other electronic devices.
Here, the three-dimensional room source model may be loaded on the server side, and then steps 101 and 102 described above are performed, and step 103 is performed. In other words, the roaming point position information can be determined by performing calculation using the three-dimensional room source model without displaying the three-dimensional panoramic image corresponding to the three-dimensional room source model. Therefore, the timely display of the roaming point control can be realized.
In contrast, if the browser is used to load the three-dimensional room source model, and then the corresponding three-dimensional panoramic image is displayed, and then the roaming point position information is determined, the roaming point position information may not be displayed timely.
Step 402, determining acquisition point position information of an image acquisition point in a three-dimensional room source model, and determining floor position information of a room floor of a room where the image acquisition point is located in the three-dimensional room source model.
In this embodiment, the server may determine the location information of the image acquisition point in the three-dimensional room source model, and determine the floor location information of the floor of the room where the image acquisition point is located in the three-dimensional room source model.
And step 403, determining the roaming point position information of the roaming point corresponding to the image acquisition point in the three-dimensional room source model according to the acquisition point position information and the floor position information.
In this embodiment, the server may determine, according to the acquisition point position information and the floor position information, roaming point position information of a roaming point corresponding to the image acquisition point in the room source model.
In this embodiment, the roaming point location information may indicate a roaming point location, and the roaming point location may display a roaming point. When a user views a house source image in a virtual reality panorama roaming scene, the displayed virtual scene can simulate a scene that the user station views the house source at a real position corresponding to the roaming point.
As an example, the intersection of the acquisition point and the roaming point may be determined as the roaming point.
And step 404, displaying a roaming point control at the position indicated by the roaming point position information when the three-dimensional panoramic image corresponding to the three-dimensional room source model.
In this embodiment, when displaying the three-dimensional panoramic image corresponding to the three-dimensional room source model, that is, when performing virtual reality panoramic roaming, the terminal device may display the roaming point control at the position indicated by the roaming point position information (that is, the roaming point).
Here, the roaming point control may include various forms of information, such as text, e.g., an image. If the roaming point control includes an image, the specific style of the image may also be varied, such as an arrow, a footprint image, a circle image, etc.
The implementation details and technical effects of the steps corresponding to fig. 4 may refer to the relevant descriptions in other parts of the present application, and are not described herein.
With further reference to fig. 5, as an implementation of the method shown in the foregoing figures, the present disclosure provides an embodiment of a display device, where the embodiment of the device corresponds to the embodiment of the method shown in fig. 1, and the device may be specifically applied to various electronic apparatuses.
As shown in fig. 5, the display device of the present embodiment includes: a first determination unit 501, a second determination unit 502, and a display unit 503. The first determining unit is used for determining the position information of the image acquisition point in the acquisition point of the three-dimensional room source model and determining the floor position information of the floor of the room where the image acquisition point is located in the three-dimensional room source model; the second determining unit is used for determining roaming point position information of the roaming point corresponding to the image acquisition point in the three-dimensional room source model according to the acquisition point position information and the floor position information; and the display unit is used for displaying the roaming point control at the position indicated by the roaming point position information when the three-dimensional panoramic image corresponding to the three-dimensional room source model.
In this embodiment, the specific processes and the technical effects of the first determining unit 501, the second determining unit 502 and the display unit 503 of the display device may refer to the descriptions related to the steps 101, 102 and 103 in the corresponding embodiment of fig. 1, and are not repeated here.
In some embodiments, the determining, according to the acquisition point position information and the floor position information, roaming point position information of a roaming point corresponding to the image acquisition point in the three-dimensional room source model includes: generating a target vertical line; acquiring intersection point position information of an intersection point of the target vertical line and the virtual floor plane as the roaming point position information; wherein the target vertical line passes through the virtual acquisition point indicated by the acquisition position information and is perpendicular to the virtual floor plane indicated by the floor position information.
In some embodiments, the apparatus is further to: and loading the three-dimensional room source model by the server.
In some embodiments, the server loads a three-dimensional room source model, including: establishing a corresponding server interface aiming at an interface of a browser called by a webpage graphic library; modifying an interface for calling a browser in the webpage graphic library into a call server interface; and running the modified webpage graphic library at the server side, and loading the three-dimensional room source model.
In some embodiments, when the three-dimensional panoramic image corresponding to the three-dimensional room source model is displayed at the position indicated by the roaming point position information, the method includes: and displaying the roaming point control by taking the position indicated by the roaming point position information as the center of the roaming point control.
In some embodiments, the roaming point control comprises a circular control or an oval control; and displaying the roaming point control by taking the position indicated by the roaming point position information as the center of the roaming point control, comprising: and displaying a round control or an oval control in the roaming point control by taking the position indicated by the roaming point position information as a circle center.
In some embodiments, the apparatus is further to: and responding to the detection of the triggering operation for the roaming point control, and displaying the room source image corresponding to the roaming point control.
Referring to fig. 6, fig. 6 illustrates an exemplary system architecture in which a display method of an embodiment of the present disclosure may be applied.
As shown in fig. 6, the system architecture may include terminal devices 601, 602, 603, a network 604, and a server 605. The network 604 is used as a medium to provide communication links between the terminal devices 601, 602, 603 and the server 605. The network 604 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The terminal devices 601, 602, 603 may interact with the server 605 via the network 604 to receive or send messages or the like. Various client applications, such as a web browser application, a search class application, a news information class application, may be installed on the terminal devices 601, 602, 603. The client application in the terminal device 601, 602, 603 may receive the instruction of the user and perform the corresponding function according to the instruction of the user, for example, adding the corresponding information in the information according to the instruction of the user.
The terminal devices 601, 602, 603 may be hardware or software. When the terminal devices 601, 602, 603 are hardware, they may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic video expert compression standard audio plane 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio plane 4) players, laptop and desktop computers, and the like. When the terminal devices 601, 602, 603 are software, they can be installed in the above-listed electronic devices. Which may be implemented as multiple software or software modules (e.g., software or software modules for providing distributed services) or as a single software or software module. The present invention is not particularly limited herein.
The server 605 may be a server that provides various services, for example, receives information acquisition requests sent by the terminal devices 601, 602, 603, and acquires presentation information corresponding to the information acquisition requests in various ways according to the information acquisition requests. And related data showing the information is transmitted to the terminal devices 601, 602, 603.
It should be noted that, the display method provided by the embodiments of the present disclosure may be performed by the terminal device, and accordingly, the display apparatus may be provided in the terminal devices 601, 602, 603. In addition, the display method provided by the embodiment of the present disclosure may also be performed by the server 605, and accordingly, the display device may be provided in the server 605.
It should be understood that the number of terminal devices, networks and servers in fig. 6 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to fig. 7, a schematic diagram of an electronic device (e.g., a terminal device or server in fig. 6) suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 7 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 7, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 701, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 702 or a program loaded from a storage means 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
In general, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708 including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication means 709 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 7 shows an electronic device having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via communication device 709, or installed from storage 708, or installed from ROM 702. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 701.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: determining the position information of an image acquisition point in an acquisition point position of a three-dimensional room source model, and determining the position information of a room floor of a room where the image acquisition point is positioned in the floor position information of the three-dimensional room source model; determining roaming point position information of roaming points corresponding to the image acquisition points in the three-dimensional room source model according to the acquisition point position information and the floor position information; and displaying a roaming point control at the position indicated by the roaming point position information when the three-dimensional panoramic image corresponding to the three-dimensional room source model.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Where the name of the cell does not constitute a limitation of the cell itself in some cases, for example, a pick cell may also be described as a "cell that picks a first type of pixel".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (9)

1. A display method, comprising:
determining the position information of an image acquisition point in an acquisition point position of a three-dimensional room source model, and determining the position information of a room floor of a room where the image acquisition point is positioned in the floor position information of the three-dimensional room source model;
determining roaming point position information of roaming points corresponding to the image acquisition points in the three-dimensional room source model according to the acquisition point position information and the floor position information;
when the three-dimensional panoramic image corresponding to the three-dimensional room source model is displayed at the position indicated by the roaming point position information, a roaming point control is displayed;
the determining, according to the acquisition point position information and the floor position information, the roaming point position information of the roaming point corresponding to the image acquisition point in the three-dimensional room source model includes:
generating a target vertical line;
acquiring intersection point position information of an intersection point of the target vertical line and the virtual floor plane as the roaming point position information;
the target vertical line passes through the virtual acquisition point indicated by the acquisition point position information and is vertical to the virtual floor plane indicated by the floor position information.
2. The method of claim 1, wherein prior to the determining the acquisition point location information of the image acquisition point in the three-dimensional room source model and determining the floor location information of the room floor of the room in which the image acquisition point is located in the three-dimensional room source model, the method further comprises:
and loading the three-dimensional room source model by the server.
3. The method of claim 2, wherein the server loads a three-dimensional room source model, comprising:
establishing a corresponding server interface aiming at an interface of a browser called by a webpage graphic library;
modifying an interface for calling a browser in the webpage graphic library into a call server interface;
and running the modified webpage graphic library at the server side, and loading the three-dimensional room source model.
4. The method according to claim 1, wherein displaying the roaming point control at the position indicated by the roaming point position information when the three-dimensional panoramic image corresponding to the three-dimensional room source model includes:
and displaying the roaming point control by taking the position indicated by the roaming point position information as the center of the roaming point control.
5. The method of claim 4, wherein the roaming point control comprises a circular control or an oval control; and
the displaying the roaming point control by taking the position indicated by the roaming point position information as the center of the roaming point control comprises the following steps:
and displaying a round control or an oval control in the roaming point control by taking the position indicated by the roaming point position information as a circle center.
6. The method according to any one of claims 1-5, further comprising:
and responding to the detection of the triggering operation for the roaming point control, and displaying the room source image corresponding to the roaming point control.
7. A display device, comprising:
the first determining unit is used for determining the position information of the image acquisition point in the acquisition point of the three-dimensional room source model and determining the position information of the floor of the room where the image acquisition point is located in the three-dimensional room source model;
the second determining unit is used for determining roaming point position information of the roaming point corresponding to the image acquisition point in the three-dimensional room source model according to the acquisition point position information and the floor position information;
the display unit is used for displaying a roaming point control at the position indicated by the roaming point position information when the three-dimensional panoramic image corresponding to the three-dimensional room source model;
the second determining unit is specifically configured to generate a target vertical line; acquiring intersection point position information of an intersection point of the target vertical line and the virtual floor plane as the roaming point position information; the target vertical line passes through the virtual acquisition point indicated by the acquisition point position information and is vertical to the virtual floor plane indicated by the floor position information.
8. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-6.
9. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-6.
CN202111647296.2A 2021-12-29 2021-12-29 Display method and device and electronic equipment Active CN114357348B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111647296.2A CN114357348B (en) 2021-12-29 2021-12-29 Display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111647296.2A CN114357348B (en) 2021-12-29 2021-12-29 Display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN114357348A CN114357348A (en) 2022-04-15
CN114357348B true CN114357348B (en) 2023-05-09

Family

ID=81103972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111647296.2A Active CN114357348B (en) 2021-12-29 2021-12-29 Display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114357348B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111597414A (en) * 2020-04-30 2020-08-28 北京字节跳动网络技术有限公司 Display method and device and electronic equipment
CN112596836A (en) * 2020-12-23 2021-04-02 北京城市网邻信息技术有限公司 House source data processing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108257219B (en) * 2018-01-31 2021-05-11 广东三维家信息科技有限公司 Method for realizing panoramic multipoint roaming
US10595295B2 (en) * 2018-06-29 2020-03-17 Cisco Technology, Inc. Access point proximity graphing
CN111597466A (en) * 2020-04-30 2020-08-28 北京字节跳动网络技术有限公司 Display method and device and electronic equipment
WO2021249390A1 (en) * 2020-06-12 2021-12-16 贝壳技术有限公司 Method and apparatus for implementing augmented reality, storage medium, and electronic device
CN113178015A (en) * 2021-03-26 2021-07-27 瑞庭网络技术(上海)有限公司 House source interaction method and device, electronic equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111597414A (en) * 2020-04-30 2020-08-28 北京字节跳动网络技术有限公司 Display method and device and electronic equipment
CN112596836A (en) * 2020-12-23 2021-04-02 北京城市网邻信息技术有限公司 House source data processing method and device

Also Published As

Publication number Publication date
CN114357348A (en) 2022-04-15

Similar Documents

Publication Publication Date Title
CN111399956B (en) Content display method and device applied to display equipment and electronic equipment
CN112488783B (en) Image acquisition method and device and electronic equipment
CN111597466A (en) Display method and device and electronic equipment
CN111652675A (en) Display method and device and electronic equipment
CN114025225B (en) Bullet screen control method and device, electronic equipment and storage medium
CN111833459B (en) Image processing method and device, electronic equipment and storage medium
CN112351221B (en) Image special effect processing method, device, electronic equipment and computer readable storage medium
CN111710017A (en) Display method and device and electronic equipment
CN113628097A (en) Image special effect configuration method, image recognition method, image special effect configuration device and electronic equipment
CN116149773A (en) Oblique photography model display method and device and electronic equipment
CN114357348B (en) Display method and device and electronic equipment
CN115878115A (en) Page rendering method, device, medium and electronic equipment
CN111597414B (en) Display method and device and electronic equipment
CN111460334B (en) Information display method and device and electronic equipment
CN114529452A (en) Method and device for displaying image and electronic equipment
CN116527993A (en) Video processing method, apparatus, electronic device, storage medium and program product
CN113730905A (en) Method and device for realizing free migration in virtual space
CN111696214A (en) House display method and device and electronic equipment
CN111835917A (en) Method, device and equipment for showing activity range and computer readable medium
CN114066721B (en) Display method and device and electronic equipment
CN114417204A (en) Information generation method and device and electronic equipment
CN110619089A (en) Information retrieval method and device
CN118034551A (en) Display method and device and electronic equipment
CN110618772A (en) View adding method, device, equipment and storage medium
CN112395826B (en) Text special effect processing method and device

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