Real estate information query method and device, storage medium and electronic device
The real scenes around are captured through terminal camera equipment, filtering and displaying nearby property information, solving the problem of cumbersome property information query in the existing technology, and improving the inquiry convenience and user experience.
Patent Information
- Application Number
- CN202111347014.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-15
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2041-11-15
AI Technical Summary
The existing property information query methods are cumbersome and have poor convenience. Users need to formulate query keywords by themselves, which is inconvenient when querying nearby property information.
The terminal camera equipment captures the surrounding real scene, determines the pitch angle and azimuth angle, determines whether it meets the preset display conditions, filters and displays nearby real estate information, and does not need to manually enter query keywords.
It simplifies the process of users querying nearby property information, improves query convenience, and vividly displays property information in real scenes, improving user experience.
Smart Images

Figure CN113987235B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of information query, and in particular to a query method and device for building information, a storage medium and an electronic device. Background Art
[0002] In people's daily lives, if they need to know relevant information about a property, they usually inquire about the property's housing prices and other information through a property inquiry platform.
[0003] At present, the way users query real estate information is usually to select or enter corresponding query keywords in the platform's front-end interface, such as area or real estate name, etc. The platform obtains the corresponding real estate information in the database based on the query keywords selected or entered by the user, and presents the relevant real estate information to the user in the form of list text in the front-end interface.
[0004] In real life, people often want to know the real estate information of nearby real estate when they are in a certain area. Based on the existing query method, users need to understand the relevant information by themselves and formulate keywords for search query, which is a cumbersome process and the query convenience is poor. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a method for querying property information to solve the problem that the existing query process is relatively complicated and inconvenient.
[0006] The embodiment of the present invention also provides a device for querying building information to ensure the actual implementation and application of the above method.
[0007] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0008] A method for querying real estate information, comprising:
[0009] When receiving a property information query request sent by a user through a terminal, starting a camera device of the terminal to start shooting;
[0010] When information display is required during the shooting process, determining the pitch angle corresponding to the current terminal, and judging whether the terminal meets the preset display condition based on the pitch angle;
[0011] If the terminal meets the preset display condition, determining the azimuth angle and terminal position corresponding to the current terminal;
[0012] Determine multiple target buildings corresponding to the terminal according to the azimuth and the terminal position;
[0013] Acquire the location information corresponding to each of the target buildings, and determine the display position corresponding to each of the target buildings according to the azimuth, the terminal position and the location information corresponding to each of the target buildings;
[0014] Determine the property information corresponding to each target property;
[0015] According to the display position corresponding to each of the target buildings, the building information corresponding to each of the target buildings is displayed in the shooting interface of the terminal.
[0016] In the above method, optionally, determining the pitch angle corresponding to the current terminal includes:
[0017] Determine, among the sensors configured in the terminal, each target sensor corresponding to a preset pitch attitude algorithm;
[0018] Acquire sensor data of each of the current target sensors;
[0019] The pitch angle is calculated according to the preset pitch attitude algorithm and the sensor data of each target sensor, and the calculation result is determined as the pitch angle corresponding to the terminal.
[0020] In the above method, optionally, the determining whether the terminal meets the preset display condition includes:
[0021] Determining whether the pitch angle is within a preset angle range;
[0022] If the pitch angle is within the preset angle range, it is determined that the terminal meets the preset display condition.
[0023] In the above method, optionally, determining the multiple target buildings corresponding to the terminal according to the azimuth and the terminal position includes:
[0024] Determine a location area corresponding to the terminal location;
[0025] Determine a target location area corresponding to the azimuth angle in the location area;
[0026] Acquire the location information corresponding to each preset building, and determine each target preset building corresponding to the target location area in each preset building according to the location information corresponding to each preset building;
[0027] Each of the target preset buildings corresponding to the target location area is determined as a target building corresponding to the terminal.
[0028] In the above method, optionally, determining the display position corresponding to each target building according to the azimuth, the terminal position and the position information corresponding to each target building includes:
[0029] Determine the relative azimuth angle corresponding to each target building according to the terminal position and the position information corresponding to each target building;
[0030] Determine the offset angle corresponding to each of the target buildings, where the offset angle corresponding to each of the target buildings is the deviation angle between the relative azimuth angle corresponding to the target building and the azimuth angle;
[0031] For each of the target buildings, the target screen display position corresponding to the offset angle corresponding to the target building is determined in each preset screen display position, and the target screen display position is determined as the display position corresponding to the target building.
[0032] In the above method, optionally, determining the building information corresponding to each target building includes:
[0033] According to the location information corresponding to each of the target buildings, determining the first building corresponding to the terminal in each of the target buildings;
[0034] Obtain the building name and housing price data corresponding to the first building;
[0035] Determine the building name and housing price data corresponding to the first building as the building information corresponding to the first building;
[0036] Each target building among the target buildings, except the first building, is used as a second building;
[0037] The building name corresponding to each of the second buildings is obtained, and the building name corresponding to each of the second buildings is determined as the building information corresponding to each of the second buildings.
[0038] The above method may optionally further include:
[0039] If the terminal does not meet the preset display condition, determining whether the current shooting interface of the terminal displays the building information;
[0040] If real estate information is currently displayed in the shooting interface of the terminal, the currently displayed real estate information is retained in the shooting interface of the terminal.
[0041] A device for querying real estate information, comprising:
[0042] A starting unit, configured to start shooting when receiving a property information query request sent by a user via a terminal;
[0043] A judging unit, configured to determine the pitch angle corresponding to the current terminal when information display is required during the shooting process, and to judge whether the terminal meets a preset display condition based on the pitch angle;
[0044] A first determining unit, configured to determine an azimuth angle and a terminal position corresponding to the current terminal if the terminal meets the preset display condition;
[0045] A second determining unit, configured to determine a plurality of target buildings corresponding to the terminal according to the azimuth and the terminal position;
[0046] A third determining unit is used to obtain the position information corresponding to each of the target buildings, and determine the display position corresponding to each of the target buildings according to the azimuth, the terminal position and the position information corresponding to each of the target buildings;
[0047] A fourth determining unit, configured to determine the property information corresponding to each of the target properties;
[0048] The display unit is used to display the building information corresponding to each of the target buildings in the shooting interface of the terminal according to the display position corresponding to each of the target buildings.
[0049] A storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the above-mentioned method for querying property information.
[0050] An electronic device includes a memory and one or more instructions, wherein the one or more instructions are stored in the memory and are configured to be executed by one or more processors to execute the above-mentioned method for querying property information.
[0051] A method for querying building information based on the above-mentioned embodiment of the present invention includes: when receiving a building information query request sent by a user through a terminal, starting the camera device of the terminal to start shooting; when information display is required during the shooting process, determining the pitch angle corresponding to the current terminal, and judging whether the terminal meets the preset display condition based on the pitch angle; if the terminal meets the preset display condition, determining the azimuth angle and terminal position corresponding to the current terminal; determining multiple target buildings corresponding to the terminal based on the azimuth angle and the terminal position; obtaining the position information corresponding to each target building, and determining the display position corresponding to each target building based on the azimuth angle, the terminal position and the position information corresponding to each target building; determining the building information corresponding to each target building; based on the display position corresponding to each target building, displaying the building information corresponding to each target building in the shooting interface of the terminal. By applying the method provided by the embodiment of the present invention, when the user needs to learn the building information of nearby buildings, the terminal can be put in a shooting state, and the building information of nearby buildings can be fed back to the user in the shooting screen. When users want to know the real estate information of nearby real estates, they do not need to know the relevant information to search and query by themselves. They can just take pictures of the surrounding real scene through the terminal. The process is relatively simple, which provides great convenience for users to query real estate information. Secondly, the real estate information nearby can be displayed in the real scene, which can bring a certain virtual reality effect, vivid and vivid, and can further enhance the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0053] Figure 1 A method flow chart of a method for querying building information provided by an embodiment of the present invention;
[0054] Figure 2 Another method flow chart of a method for querying building information provided by an embodiment of the present invention;
[0055] Figure 3 Another method flow chart of a method for querying building information provided by an embodiment of the present invention;
[0056] Figure 4 A schematic diagram of a terminal shooting interface provided by an embodiment of the present invention;
[0057] Figure 5 A schematic diagram of the structure of a device for querying building information provided by an embodiment of the present invention;
[0058] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
[0061] The embodiment of the present invention provides a method for querying real estate information. The method can be applied to a real estate information query system. The execution subject can be a processor of the system. The method flow chart of the method is as follows: Figure 1 As shown, including:
[0062] S101: when receiving a property information query request sent by a user via a terminal, starting a camera device of the terminal to start shooting;
[0063] In the method provided by the embodiment of the present invention, when a user wants to query the real estate information in the area near his current location, he can send a query request for the real estate information through the query software on the terminal such as a mobile phone or a tablet computer. When the processor receives the query request, it can call the camera device of the terminal to start shooting, and display the real-time shooting picture on the terminal interface.
[0064] S102: when information display is required during the shooting process, determining the pitch angle corresponding to the current terminal, and judging whether the terminal meets the preset display condition based on the pitch angle;
[0065] In the method provided by the embodiment of the present invention, after the camera device of the terminal starts shooting and the real-time shooting picture is displayed on the terminal interface, it is deemed that information display is required. It is possible to judge whether the terminal meets the preset display conditions by the pitch angle corresponding to the current terminal. The preset display conditions are mainly used to judge whether the terminal is in a shooting angle of view for shooting surrounding buildings. The pitch angle corresponding to the terminal is an angle that characterizes the pitch posture of the terminal, which can be the angle between the horizontal direction and the vertical direction of the plane corresponding to the terminal.
[0066] S103: If the terminal meets the preset display condition, determine the azimuth and terminal position corresponding to the current terminal;
[0067] In the method provided by the embodiment of the present invention, if it is determined that the current terminal meets the preset display conditions, the azimuth and terminal position corresponding to the current terminal are further determined. The azimuth is the angle that characterizes the shooting orientation of the terminal's camera device, and can be the angle between the shooting direction of the terminal's camera device and the true north direction. The terminal position refers to the current location of the terminal, that is, the current location of the user. Specifically, the terminal can be located by GPS. It is also possible to display a map to the user in the terminal interface, and the user selects a location in the map to determine the terminal location. It is also possible to combine these two methods, first using GPS positioning, and the user confirms whether the current GPS positioning is accurate. If the user thinks it is inaccurate, the user can further select the current location by himself.
[0068] S104: Determine multiple target buildings corresponding to the terminal according to the azimuth angle and the terminal position;
[0069] In the method provided in the embodiment of the present invention, multiple target buildings corresponding to the current terminal can be screened out from various buildings pre-configured on the server according to the azimuth angle and terminal position corresponding to the current terminal.
[0070] S105: Acquire the location information corresponding to each of the target buildings, and determine the display position corresponding to each of the target buildings according to the azimuth, the terminal position and the location information corresponding to each of the target buildings;
[0071] In the method provided in the embodiment of the present invention, the location information corresponding to each target building can be obtained from the server, and the location information can be the latitude and longitude coordinates corresponding to the target building. For each target building, the display position corresponding to the target building is determined according to its location information and the azimuth angle and terminal position corresponding to the current terminal. The display position corresponding to the target building refers to the display position of the building information corresponding to the target building in the terminal interface.
[0072] S106: Determine the property information corresponding to each target property;
[0073] In the method provided in the embodiment of the present invention, relevant information corresponding to each target building can be obtained from the server, and the building information corresponding to each target building can be determined according to a preset display strategy. The building information corresponding to each target building is information for display in the terminal interface, and the information type contained in the building information corresponding to each target building can be the same or different.
[0074] S107: Displaying the building information corresponding to each of the target buildings in the shooting interface of the terminal according to the display position corresponding to each of the target buildings.
[0075] In the method provided by the embodiment of the present invention, in the shooting interface of the terminal, the building information corresponding to each target building is displayed according to the display position corresponding to each target building.
[0076] Based on the method provided by the embodiment of the present invention, when receiving the building information query request sent by the user, the camera device of the terminal can be started to start shooting. Determine the pitch angle corresponding to the current terminal, and based on the pitch angle, judge whether the terminal meets the preset display conditions. If it meets, determine the azimuth angle and terminal position corresponding to the current terminal. According to the azimuth angle and terminal position, determine multiple target buildings. Obtain the position information corresponding to each target building, and determine the display position corresponding to each target building according to the azimuth angle, the terminal position and the position information corresponding to each target building. Determine the building information corresponding to each target building, and display the building information corresponding to each target building in the shooting interface of the terminal according to the display position corresponding to each target building. Applying the method provided by the embodiment of the present invention, when the user needs to query the building information of the nearby building, send a query request through the terminal and shoot the surrounding real scene, so that the nearby building information can be obtained in the shooting picture. The user does not need to understand the relevant information by himself to search and query, the query process is relatively simple, and the query convenience of the user is improved. Secondly, the information of nearby buildings can be displayed in the real-life shooting picture, which can bring a certain virtual reality effect and vividly show the users the information of nearby buildings, which can further enhance the user experience.
[0077] In the method provided in the embodiment of the present invention, Figure 1 In the method shown, the situation where information display is required in step S102 may include not only the situation after the camera device of the terminal starts shooting, but also the situation where information is refreshed at a fixed time (such as once every minute) or manually refreshed by the user. Figure 1 The process shown in steps S102 to S107 in the method shown can be triggered after the user sends a property information query request. Figure 1After the process shown is finished, the user can continue to shoot the nearby real scene through the terminal. During this process, the query system can trigger the process of step S102 at a fixed time, that is, it can determine the current pitch angle of the terminal at each trigger time point, and judge whether the current meets the preset display conditions. If it does, it will further perform the process of steps S103 to S107 to refresh the building information in the shooting interface of the terminal. In this process, the user can also send a command to refresh the building information through the terminal. When the information sent by the user is received, the process of steps S102 to step S107 is performed.
[0078] Furthermore, in the method provided by the embodiment of the present invention, after the first positioning, when the terminal position corresponding to the current terminal needs to be determined, if the accurate positioning coordinates cannot be obtained at present, the positioning coordinates obtained when the terminal position was determined last time can be used.
[0079] Further, based on the method provided in the above embodiment, the embodiment of the present invention provides another method for querying building information, wherein the process of determining the pitch angle corresponding to the current terminal mentioned in step S102 includes:
[0080] Determine, among the sensors configured in the terminal, each target sensor corresponding to a preset pitch attitude algorithm;
[0081] In the method provided by the embodiment of the present invention, a pitch attitude algorithm may be pre-set to calculate the pitch angle of the terminal. In the method provided by the embodiment of the present invention, the pitch angle is calculated by sensor data of the terminal, such as a gravity and acceleration sensor or a gyroscope. Each target sensor may be determined from each sensor set in the terminal according to the data required by the algorithm.
[0082] It should be noted that, in the specific implementation process, the number of target sensors corresponding to the preset pitch attitude algorithm may be multiple or only one, which is determined by the specific data type adopted by the specific algorithm and does not affect the function of the method provided in the embodiment of the present invention.
[0083] Acquire sensor data of each of the current target sensors;
[0084] In the method provided by the embodiment of the present invention, the sensing data of each target sensor can be monitored in real time to obtain the sensor data of each current target sensor. If the target sensor is a gyroscope, the three-axis attitude angle of the mobile phone can be obtained through the gyroscope.
[0085] The pitch angle is calculated according to the preset pitch attitude algorithm and the sensor data of each target sensor, and the calculation result is determined as the pitch angle corresponding to the terminal.
[0086] In the method provided by the embodiment of the present invention, the sensor data of each current target sensor can be substituted into a preset pitch attitude algorithm to calculate the pitch angle corresponding to each current sensor data, and the calculation result is determined as the pitch angle corresponding to the terminal.
[0087] Based on the method provided by the embodiment of the present invention, the pitch angle of the terminal is determined through the sensor data of the terminal itself, and data acquisition is relatively convenient and fast, which can further improve the processing efficiency.
[0088] Further, in the method provided in the embodiment of the present invention, the azimuth angle corresponding to the current terminal mentioned in step S103 can also be determined by calculating the preset azimuth algorithm in combination with the sensor data corresponding to the azimuth algorithm in the terminal. The specific principle process is similar to the process of determining the pitch angle, which will not be repeated here.
[0089] Further, in Figure 1 Based on the method shown, an embodiment of the present invention provides another method for querying building information, wherein the process of determining whether the terminal meets the preset display condition mentioned in step S102 includes:
[0090] Determining whether the pitch angle is within a preset angle range;
[0091] In the method provided in the embodiment of the present invention, an angle range is preset, for example, it can be an angle range within a certain angle above and below the horizontal direction of the line of sight. The current pitch angle of the terminal is compared with the upper and lower thresholds of the preset angle range to determine whether the pitch angle is within the preset angle range.
[0092] If the pitch angle is within the preset angle range, it is determined that the terminal meets the preset display condition.
[0093] In the method provided by an embodiment of the present invention, if it is determined that the current pitch angle of the terminal is within a preset angle range, it is determined that the current terminal meets the preset display conditions, and the azimuth and position of the current terminal can be further determined, and then the current target building can be determined, and the building information of the current target building can be displayed.
[0094] Based on the method provided by the embodiment of the present invention, when the pitch angle is within the preset angle range, the current terminal can be regarded as meeting the preset display conditions. The display of subsequent building information can be triggered only when the terminal is in the real scene of the horizontal direction, that is, the actual building real scene should be included in the shooting picture. When the shooting direction of the terminal is in the vertical direction (such as the terminal is placed horizontally and the shooting object is the sky or the ground), the display or refresh of the building information can be stopped, which is conducive to improving the display effect and further improving the user experience.
[0095] In order to better illustrate the method provided by the embodiment of the present invention, Figure 2 As shown in the flow chart, Figure 1 Based on the method shown, an embodiment of the present invention provides another method for querying building information, wherein the process of determining multiple target buildings corresponding to the terminal according to the azimuth and the terminal position mentioned in step S104 includes:
[0096] S201: Determine a location area corresponding to the terminal location;
[0097] In the method provided by the embodiment of the present invention, a certain distance range can be preset, and the range within a certain distance around the positioning point as the center is used as the location area corresponding to the positioning point. According to the preset distance, the range within the preset distance around the current terminal location is used as the location area corresponding to the current terminal location.
[0098] S202: Determine, in the location area, a target location area corresponding to the azimuth angle;
[0099] In the method provided by the embodiment of the present invention, an area within a certain angle range in the target direction can be pre-set as the position area corresponding to the target direction. According to the pre-set angle range, in the position area corresponding to the current terminal position, the area within the preset angle range in the direction corresponding to the current azimuth angle can be used as the target position area. For example, if the preset angle range is 210°, and the direction corresponding to the current azimuth angle is due north, that is, the shooting direction of the camera device of the current terminal is due north, then in the position area corresponding to the terminal position, with the due north direction of the terminal position as the reference, the range of 105° to the west and 105° to the east is used as the target position area.
[0100] It should be noted that the actual orientation and angle provided in the method provided in the embodiment of the present invention is only a specific embodiment provided to better illustrate the method in the embodiment of the present invention, and does not limit the direction and related angles in the actual application process.
[0101] S203: Acquire location information corresponding to each preset building, and determine each target preset building corresponding to the target location area in each preset building according to the location information corresponding to each preset building;
[0102] In the method provided by the embodiment of the present invention, the location information corresponding to each preset building can be requested from the server, and the location information of each preset building can include the location coordinates corresponding to the preset building. The location coordinates corresponding to each preset building can be matched with the coordinate range of the target location area to determine whether the location coordinates corresponding to each preset building are within the coordinate range of the target location area. And the preset building whose location coordinates are within the coordinate range of the target location area is determined as the target preset building corresponding to the target location area. Specifically, the relative orientation of the preset building relative to the terminal position can be determined by the position of the preset building and the position of the terminal, and the angle between the relative orientation and the direction corresponding to the current azimuth of the terminal (or the angle with the boundary direction of the target location area) is determined to be less than a preset angle threshold to determine whether the preset building is within the target location area, that is, if the angle is less than the preset angle threshold, the preset building is deemed to be within the target location area.
[0103] Furthermore, in actual application, a building may include multiple buildings, and the location information corresponding to the preset building may include the location coordinates of each building in the building. In the process of determining the target preset building, the relative orientation of each building relative to the terminal position can be determined based on the location coordinates of each building, and it is determined whether the angle between the relative orientation of each building and the direction corresponding to the current orientation of the terminal (or the angle with the boundary direction of the target location area) is less than a preset angle threshold, so as to determine whether each building is within the target location area, and then determine whether its corresponding building is within the target location area.
[0104] S204: Determine each of the target preset buildings corresponding to the target location area as a target building corresponding to the terminal.
[0105] In the method provided by the embodiment of the present invention, each target preset building corresponding to the target location area is used as the target building corresponding to the terminal.
[0106] Based on the method provided in the embodiment of the present invention, the target building corresponding to the terminal can be determined in each preset building through area screening and relative position judgment, and the target building corresponding to the shooting angle of the current terminal can be accurately screened out, thereby improving the matching of the building information and the shooting orientation, which is beneficial to improving the user experience.
[0107] Further, in Figure 1 On the basis of the method shown, in the method provided by the embodiment of the present invention, the process of determining the display position corresponding to each target building according to the azimuth, the terminal position and the position information corresponding to each target building mentioned in step S105 includes:
[0108] Determine the relative azimuth angle corresponding to each target building according to the terminal position and the position information corresponding to each target building;
[0109] In the method provided by an embodiment of the present invention, the relative azimuth angle of each target building relative to the terminal position can be determined based on the position coordinates of the terminal and the position coordinates of each target building. For example, if the target building is 30° from north to east of the terminal position, then the relative azimuth angle corresponding to the target building can be 30°.
[0110] Determine the offset angle corresponding to each of the target buildings, where the offset angle corresponding to each of the target buildings is the deviation angle between the relative azimuth angle corresponding to the target building and the azimuth angle;
[0111] In the method provided by the embodiment of the present invention, the offset angle corresponding to each target building can be determined according to the relative azimuth corresponding to each target building and the current azimuth corresponding to the terminal. For example, if the relative azimuth corresponding to the target building is 30° (from north to east), and the current azimuth of the terminal is 60° (from north to east), then the offset angle corresponding to the target building is -30°.
[0112] For each of the target buildings, the target screen display position corresponding to the offset angle corresponding to the target building is determined in each preset screen display position, and the target screen display position is determined as the display position corresponding to the target building.
[0113] In the method provided by the embodiment of the present invention, each screen display position can be pre-set, that is, in the display interface of the terminal, the position where the real estate information can be displayed, and each screen display position corresponds to an offset angle range. Specifically, the vertical center line of the screen interface can be used as a reference, and multiple screen display positions can be set in the left area of the center line, corresponding to the negative offset angle range, and the absolute value of the threshold value of the offset angle range corresponding to each screen display position from left to right in the left interface becomes smaller and smaller. Multiple screen display positions are also set in the right area of the center line, corresponding to the positive offset angle range, and the absolute value of the threshold value of the offset angle range corresponding to each screen display position from right to left in the right interface becomes smaller and smaller.
[0114] By matching the offset angle corresponding to each target building with each offset angle range, the screen display position corresponding to the offset angle range that matches its offset angle is used as the display position corresponding to the target building.
[0115] Based on the method provided in the embodiment of the present invention, the display position of the target building can be determined according to the degree of deviation between the relative position of the target building and the azimuth of the terminal. This can make the corresponding display position of the target building in the terminal interface have a corresponding relationship with its geographical relative position to the terminal, which is conducive to improving the display effect of the building information and further improving the user experience.
[0116] Combination Figure 3 As shown in the flow chart, the embodiment of the present invention provides another method for querying real estate information. Figure 1 On the basis of the method shown, in the method provided by the embodiment of the present invention, the process of determining the building information corresponding to each target building mentioned in step S106 includes:
[0117] S301: Determine a first building corresponding to the terminal in each of the target buildings according to the location information corresponding to each of the target buildings;
[0118] In the method provided by the embodiment of the present invention, the target building that best matches the shooting direction of the terminal can be determined based on the location information of each target building as the first building corresponding to the terminal. Specifically, the relative azimuth angle of each target building relative to the terminal position can be determined based on the location coordinates corresponding to each target building, and each relative azimuth angle can be compared with the azimuth angle of the terminal, and the target building corresponding to the relative azimuth angle closest to the azimuth angle of the terminal can be used as the first building. Furthermore, the distance between the target building and the terminal position can also be determined in combination with the location information of the target building, and the first building can be determined in combination with the distance and the relative azimuth angle.
[0119] S302: Obtain the building name and housing price data corresponding to the first building;
[0120] In the method provided by the embodiment of the present invention, a server is requested for the building name and housing price data of the first building, and the housing price data may include a purchase price and a rental price.
[0121] S303: Determine the building name and housing price data corresponding to the first building as the building information corresponding to the first building;
[0122] In the method provided by the embodiment of the present invention, the building name and housing price data of the first building are used as the corresponding building information for displaying the subsequent building information.
[0123] S304: taking each target building among the target buildings except the first building as a second building;
[0124] In the method provided by the embodiment of the present invention, each second building is determined in each target building, and the second building is a target building other than the first building.
[0125] S305: Obtain the building name corresponding to each of the second buildings, and determine the building name corresponding to each of the second buildings as the building information corresponding to each of the second buildings.
[0126] In the method provided by the embodiment of the present invention, the building name of each second building can be requested from the server, and the building name of each second building can be used as its corresponding building information for subsequent display of the building information.
[0127] Based on the method provided in the embodiment of the present invention, a building that best matches the shooting direction can be determined among the target buildings, and detailed building information can be displayed. For other target buildings, only brief building information can be displayed. The content of the building information can be used to vividly provide feedback to the user on the relationship between the currently displayed buildings and their shooting angles, which is conducive to improving the display effect and further enhancing the user experience.
[0128] It should be noted that the embodiment of the present invention is only a specific embodiment provided for better illustrating the method provided by the present invention. In the specific implementation process, the building name and housing price data of each target building can be used as the building information of each target building for display. The building name of each target building can also be used as the building information of each target building for display. The content of the specific building information displayed can be determined as needed, which does not affect the function of the method provided by the embodiment of the present invention.
[0129] In order to better illustrate the method provided by the embodiment of the present invention, based on the method provided by the above embodiment, Figure 4 The interface diagram of the terminal shooting interface shown is a brief description of the terminal display interface.
[0130] In the method provided in the embodiment of the present invention, different forms of graphics can be used to represent the building information of different types of target buildings, for example Figure 4As shown, the oval ball in the interface is used to display the building name and housing price data of the first building (building A), while buildings C and building B are the second buildings, and round balls are used to display their corresponding building names. In the specific implementation process, different colors of graphic logos can be used for prompting near different types of building information. For example, a yellow ball can be displayed at the corresponding position in the interface, and the building name and housing price data of the first building are displayed above the yellow ball. For each second building, the location of the building name of each second building is displayed in the interface, and a blue ball is used for prompting, and the corresponding building name is displayed above the blue ball. The yellow ball and the blue ball in the interface can be set as clickable labels. When the user clicks the corresponding ball in the terminal interface, the terminal can be triggered to display the detailed information of the corresponding building, such as detailed housing price information, building address, etc.
[0131] In the actual application process, the user can continuously shoot the surrounding real scene through the terminal and change the shooting direction. In the method provided by the embodiment of the present invention, during the shooting process, the current pitch angle, azimuth angle and terminal position can be determined regularly, the current target building can be determined and the building information of the target building can be displayed, that is, the building information displayed in the terminal interface is refreshed in real time. In this process, the building information displayed in the terminal interface changes in real time. If a new building enters the target location area from the edge of the terminal's target location area as the terminal shooting angle moves left and right, the building information of the building will be displayed at the edge of the interface. The first building in each target building also changes in real time, and the prompt mark of the building information of the same building in the interface can also change in real time. For example, the current first building is building A, and the building information of the building in the interface is marked with a yellow ball. As the terminal shooting angle changes, when the next refresh occurs, building A has become the second building, and the yellow ball marking its building information in the interface is switched to a blue ball. When the mark is switched, an animation effect can be attached.
[0132] Furthermore, in the terminal's shooting interface, a radar scanning map animation effect can be displayed in a specified area of the interface (e.g., the upper left corner of the interface), and the current terminal location and the location of each target building are represented in the form of dots on the map according to the terminal location and the location of each target building. The user can refresh the building information in the interface by clicking on the radar scanning animation.
[0133] Furthermore, in the shooting interface of the terminal, a line segment may be used in the interface to indicate the real scene area range corresponding to the shooting position of the terminal. Figure 4 The dotted line segments shown in the figure can be prompted by lines with accompanying colors, such as white lines, in specific applications.
[0134] It should be noted that Figure 4 The shooting interface shown is only a brief schematic diagram provided to better illustrate the method provided by the embodiment of the present invention. The display position of the building information, the displayed information content, and the prompt graphic logo shown in the figure are only for illustrative purposes and do not limit the relevant information in actual applications. In the specific implementation process, the display elements in the shooting interface can be set according to actual needs without affecting the function of the method provided by the embodiment of the present invention.
[0135] Based on the method provided in the embodiment of the present invention, various forms of graphic identifiers and animation effects can be combined in the shooting interface to feedback relevant information to the user, which can improve the display effect and further enhance the user experience.
[0136] Further, in Figure 1 On the basis of the method shown, the method provided in the embodiment of the present invention further includes:
[0137] If the terminal does not meet the preset display condition, determining whether the current shooting interface of the terminal displays the building information;
[0138] If real estate information is currently displayed in the shooting interface of the terminal, the currently displayed real estate information is retained in the shooting interface of the terminal.
[0139] In the method provided by the embodiment of the present invention, if in the judgment process mentioned in step S102, it is determined that the terminal does not meet the preset display conditions, then it is determined whether the real estate information is displayed in the shooting interface of the current terminal. If the terminal is not currently judging whether the terminal meets the preset display conditions for the first time after starting the camera device to start shooting, the terminal has previously triggered the process of step S102. If the terminal meets the preset display conditions when the judgment process was triggered last time, the process of steps S103 to S107 has been triggered, and the real estate information of each target real estate determined at that time has been displayed in the shooting interface, so the real estate information is displayed in the shooting interface of the current terminal. If the current terminal does not meet the preset display conditions and the real estate information is displayed in the shooting interface, the currently displayed real estate information is retained.
[0140] Based on the method provided in the embodiment of the present invention, as the user changes the way of using the terminal, when the pitch angle of the terminal is not within the preset angle range, the building information in the terminal interface can be stopped from being refreshed, and the building information displayed for the last time can be retained. For example, when the user places the terminal horizontally instead of taking pictures of the real scene of the surrounding buildings, the refresh can be stopped in time, which can further optimize the user experience.
[0141] and Figure 1 Corresponding to the query method for building information shown in FIG. 1 , the embodiment of the present invention further provides a query device for building information, which is used to query Figure 1 The specific implementation of the method shown in is shown in the structural diagram Figure 5 As shown, including:
[0142] The starting unit 401 is used to start the camera device of the terminal to start shooting when receiving a real estate information query request sent by the user through the terminal;
[0143] The judging unit 402 is used to determine the pitch angle corresponding to the current terminal when information display is required during the shooting process, and judge whether the terminal meets the preset display condition based on the pitch angle;
[0144] A first determining unit 403 is configured to determine an azimuth angle and a terminal position corresponding to the current terminal if the terminal meets the preset display condition;
[0145] A second determining unit 404 is used to determine a plurality of target buildings corresponding to the terminal according to the azimuth angle and the terminal position;
[0146] The third determining unit 405 is used to obtain the position information corresponding to each of the target buildings, and determine the display position corresponding to each of the target buildings according to the azimuth, the terminal position and the position information corresponding to each of the target buildings;
[0147] The fourth determining unit 406 is used to determine the building information corresponding to each target building;
[0148] The display unit 407 is used to display the building information corresponding to each of the target buildings in the shooting interface of the terminal according to the display position corresponding to each of the target buildings.
[0149] Based on the device provided by the embodiment of the present invention, when receiving the building information query request sent by the user, the camera device of the terminal can be started to start shooting. Determine the pitch angle corresponding to the current terminal, and based on the pitch angle, judge whether the terminal meets the preset display condition. If it meets, determine the azimuth angle and terminal position corresponding to the current terminal. According to the azimuth angle and terminal position, determine multiple target buildings. Obtain the position information corresponding to each target building, and determine the display position corresponding to each target building according to the azimuth angle, the terminal position and the position information corresponding to each target building. Determine the building information corresponding to each target building, and display the building information corresponding to each target building in the shooting interface of the terminal according to the display position corresponding to each target building. Applying the device provided by the embodiment of the present invention, when the user needs to query the building information of the nearby building, send a query request through the terminal and shoot the surrounding real scene, so that the nearby building information can be obtained in the shooting picture. The user does not need to understand the relevant information by himself to search and query, the query process is relatively simple, and the query convenience of the user is improved. Secondly, the information of nearby buildings can be displayed in the real-life shooting picture, which can bring a certain virtual reality effect and vividly show the users the information of nearby buildings, which can further enhance the user experience.
[0150] On the basis of the device provided in the above embodiment, in the device provided in the embodiment of the present invention, the judging unit 402 includes:
[0151] A first determination subunit is used to determine each target sensor corresponding to a preset pitch attitude algorithm among the sensors configured in the terminal;
[0152] A first acquisition subunit, used to acquire sensor data of each of the current target sensors;
[0153] The second determining subunit is used to calculate the pitch angle according to the preset pitch attitude algorithm and the sensor data of each target sensor, and determine the calculation result as the pitch angle corresponding to the terminal.
[0154] On the basis of the device provided in the above embodiment, in the device provided in the embodiment of the present invention, the judging unit 402 includes:
[0155] A judging subunit, used to judge whether the pitch angle is within a preset angle range;
[0156] The third determining subunit is configured to determine that the terminal meets the preset display condition if the pitch angle is within the preset angle range.
[0157] On the basis of the device provided in the above embodiment, in the device provided in the embodiment of the present invention, the second determining unit 404 includes:
[0158] A fourth determining subunit, configured to determine a location area corresponding to the terminal location;
[0159] A fifth determining subunit, configured to determine, in the location area, a target location area corresponding to the azimuth angle;
[0160] The second acquisition subunit is used to acquire the location information corresponding to each preset building, and determine each target preset building corresponding to the target location area in each preset building according to the location information corresponding to each preset building;
[0161] The sixth determining subunit is used to determine each of the target preset buildings corresponding to the target location area as a target building corresponding to the terminal.
[0162] On the basis of the device provided in the above embodiment, in the device provided in the embodiment of the present invention, the third determining unit 405 includes:
[0163] A seventh determining subunit, configured to determine a relative azimuth angle corresponding to each of the target buildings according to the terminal location and location information corresponding to each of the target buildings;
[0164] An eighth determining subunit is used to determine an offset angle corresponding to each of the target buildings, where the offset angle corresponding to each of the target buildings is a deviation angle between a relative azimuth angle corresponding to the target building and the azimuth angle;
[0165] The ninth determination subunit is used to determine, for each of the target buildings, the target screen display position corresponding to the offset angle corresponding to the target building in each preset screen display position, and determine the target screen display position as the display position corresponding to the target building.
[0166] On the basis of the device provided in the above embodiment, in the device provided in the embodiment of the present invention, the fourth determining unit 406 includes:
[0167] a tenth determining subunit, configured to determine the first building corresponding to the terminal in each of the target buildings according to the location information corresponding to each of the target buildings;
[0168] A third acquisition subunit is used to acquire the name of a building and housing price data corresponding to the first building;
[0169] an eleventh determining subunit, configured to determine the building name and housing price data corresponding to the first building as the building information corresponding to the first building;
[0170] A twelfth determining subunit is used to select each target building among the target buildings except the first building as a second building;
[0171] The fourth acquisition subunit is used to obtain the building name corresponding to each of the second buildings, and determine the building name corresponding to each of the second buildings as the building information corresponding to each of the second buildings.
[0172] On the basis of the device provided in the above embodiment, the device provided in the embodiment of the present invention further includes:
[0173] An information retention unit is used to determine whether real estate information is currently displayed in the shooting interface of the terminal if the terminal does not meet the preset display conditions; if real estate information is currently displayed in the shooting interface of the terminal, retain the currently displayed real estate information in the shooting interface of the terminal.
[0174] An embodiment of the present invention further provides a storage medium, which includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the above-mentioned method for querying building information.
[0175] The embodiment of the present invention further provides an electronic device, the structural diagram of which is shown in FIG. Figure 6 As shown, it specifically includes a memory 501 and one or more instructions 502, wherein the one or more instructions 502 are stored in the memory 501 and are configured to be executed by one or more processors 503 to perform the following operations:
[0176] When receiving a property information query request sent by a user through a terminal, starting a camera device of the terminal to start shooting;
[0177] When information display is required during the shooting process, determining the pitch angle corresponding to the current terminal, and judging whether the terminal meets the preset display condition based on the pitch angle;
[0178] If the terminal meets the preset display condition, determining the azimuth angle and terminal position corresponding to the current terminal;
[0179] Determine multiple target buildings corresponding to the terminal according to the azimuth and the terminal position;
[0180] Acquire the location information corresponding to each of the target buildings, and determine the display position corresponding to each of the target buildings according to the azimuth, the terminal position and the location information corresponding to each of the target buildings;
[0181] Determine the property information corresponding to each target property;
[0182] According to the display position corresponding to each of the target buildings, the building information corresponding to each of the target buildings is displayed in the shooting interface of the terminal.
[0183] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they 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 scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0184] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0185] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for querying real estate information, characterized in that: include: When receiving a property information query request sent by a user through a terminal, starting a camera device of the terminal to start shooting; When information display is required during the shooting process, determining the pitch angle corresponding to the current terminal, and judging whether the terminal meets the preset display condition based on the pitch angle; If the terminal meets the preset display condition, determining the azimuth angle and terminal position corresponding to the current terminal; Determine a location area corresponding to the terminal location; Determine a target location area corresponding to the azimuth angle in the location area; Acquire the location information corresponding to each preset building, and determine, in each preset building, whether the location coordinates corresponding to each preset building are within the coordinate range of the target location area according to the location information corresponding to each preset building, and determine the preset building within the coordinate range of the target location area as the target preset building corresponding to the target location area, wherein the location information of each preset building includes the location coordinates corresponding to the preset building; Determine each of the target preset buildings corresponding to the target location area as a target building corresponding to the terminal; Acquire the location information corresponding to each of the target buildings, and determine the relative azimuth angle corresponding to each of the target buildings according to the terminal location and the location information corresponding to each of the target buildings; Determine the offset angle corresponding to each of the target buildings, where the offset angle corresponding to each of the target buildings is the deviation angle between the relative azimuth angle corresponding to the target building and the azimuth angle; For each of the target buildings, determine the target screen display position corresponding to the offset angle corresponding to the target building in each preset screen display position, and determine the target screen display position as the display position corresponding to the target building; Determine the property information corresponding to each target property; According to the display position corresponding to each of the target buildings, the building information corresponding to each of the target buildings is displayed in the shooting interface of the terminal.
2. The method according to claim 1, characterized in that The determining the pitch angle corresponding to the current terminal includes: Determine, among the sensors configured in the terminal, each target sensor corresponding to a preset pitch attitude algorithm; Acquire sensor data of each of the current target sensors; The pitch angle is calculated according to the preset pitch attitude algorithm and the sensor data of each target sensor, and the calculation result is determined as the pitch angle corresponding to the terminal.
3. The method according to claim 1, characterized in that: The determining whether the terminal meets the preset display condition includes: Determining whether the pitch angle is within a preset angle range; If the pitch angle is within the preset angle range, it is determined that the terminal meets the preset display condition.
4. The method according to claim 1, characterized in that The determining of the property information corresponding to each target property comprises: According to the location information corresponding to each of the target buildings, determining the first building corresponding to the terminal in each of the target buildings; Obtain the building name and housing price data corresponding to the first building; Determine the building name and housing price data corresponding to the first building as the building information corresponding to the first building; Each target building among the target buildings, except the first building, is used as a second building; The building name corresponding to each of the second buildings is obtained, and the building name corresponding to each of the second buildings is determined as the building information corresponding to each of the second buildings.
5. The method according to claim 1, characterized in that Also includes: If the terminal does not meet the preset display condition, determining whether the current shooting interface of the terminal displays the building information; If real estate information is currently displayed in the shooting interface of the terminal, the currently displayed real estate information is retained in the shooting interface of the terminal.
6. A device for querying real estate information, characterized in that: include: A starting unit, configured to start shooting when receiving a property information query request sent by a user via a terminal; A judging unit, configured to determine the pitch angle corresponding to the current terminal when information display is required during the shooting process, and to judge whether the terminal meets a preset display condition based on the pitch angle; A first determining unit, configured to determine an azimuth angle and a terminal position corresponding to the current terminal if the terminal meets the preset display condition; A second determining unit, configured to determine a plurality of target buildings corresponding to the terminal according to the azimuth and the terminal position; A third determining unit is used to obtain the position information corresponding to each of the target buildings, and determine the display position corresponding to each of the target buildings according to the azimuth, the terminal position and the position information corresponding to each of the target buildings; A fourth determining unit, configured to determine the property information corresponding to each of the target properties; A display unit, configured to display the building information corresponding to each of the target buildings in the shooting interface of the terminal according to the display position corresponding to each of the target buildings; The second determining unit includes: A fourth determining subunit, configured to determine a location area corresponding to the terminal location; A fifth determining subunit, configured to determine, in the location area, a target location area corresponding to the azimuth angle; A second acquisition subunit is used to acquire the location information corresponding to each preset building, and based on the location information corresponding to each preset building, determine whether the location coordinates corresponding to each preset building are within the coordinate range of the target location area, and determine the preset building whose location coordinates are within the coordinate range of the target location area as the target preset building corresponding to the target location area, wherein the location information of each preset building includes the location coordinates corresponding to the preset building; A sixth determining subunit, configured to determine each of the target preset buildings corresponding to the target location area as a target building corresponding to the terminal; The third determining unit includes: A seventh determining subunit, configured to determine a relative azimuth angle corresponding to each of the target buildings according to the terminal location and location information corresponding to each of the target buildings; An eighth determining subunit is used to determine an offset angle corresponding to each of the target buildings, where the offset angle corresponding to each of the target buildings is a deviation angle between a relative azimuth angle corresponding to the target building and the azimuth angle; The ninth determination subunit is used to determine, for each of the target buildings, the target screen display position corresponding to the offset angle corresponding to the target building in each preset screen display position, and determine the target screen display position as the display position corresponding to the target building.
7. A storage medium, characterized in that: The storage medium includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the method for querying the building information as described in any one of claims 1 to 5.
8. An electronic device, characterized in that: It comprises a memory and one or more instructions, wherein the one or more instructions are stored in the memory and are configured to be executed by one or more processors to perform the method for querying property information as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Radar house-finding method based on mobile terminal
CN108052600A
Method and system for improving the location precision of an object taken in a geo-tagged photo
US20160171004A1
