CN110619089B - Information retrieval method and device - Google Patents
Information retrieval method and device Download PDFInfo
- Publication number
- CN110619089B CN110619089B CN201910472087.5A CN201910472087A CN110619089B CN 110619089 B CN110619089 B CN 110619089B CN 201910472087 A CN201910472087 A CN 201910472087A CN 110619089 B CN110619089 B CN 110619089B
- Authority
- CN
- China
- Prior art keywords
- target
- determining
- information
- cell
- area
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9537—Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the disclosure discloses an information retrieval method and device. One embodiment of the method comprises: in response to receiving an information retrieval request including location information of a target area, determining a target business circle belonging to the target area based on the location information, wherein one business circle includes at least one cell; determining a target cell belonging to a target area based on the target business circle; determining screening information for house source information screening based on the target cell; acquiring house source information based on the screening information; and determining a retrieval result based on the acquired room source information, and returning the retrieval result. The embodiment realizes targeted information retrieval. In addition, the target business circle belonging to the target area is determined firstly, and then the target cell belonging to the target area is determined based on the target business circle, so that the calculation amount can be effectively reduced, and the information retrieval efficiency can be improved.
Description
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to an information retrieval method and device.
Background
With the rapid development of internet technology, various applications such as house source applications are emerging. Currently, premises applications can provide a user with a large amount of premises information. In addition, the user can use the house source application for information retrieval. For example, the house-sourced application may include a plurality of screening options, such as a region screening option, a price screening option, a house type screening option, and so forth. The user may view information about the house sources in the area of greater interest through the plurality of screening options.
Disclosure of Invention
The embodiment of the disclosure provides an information retrieval method and device.
In a first aspect, an embodiment of the present disclosure provides an information retrieval method, where the method includes: in response to receiving an information retrieval request including location information of a target area, determining a target business circle belonging to the target area based on the location information, wherein one business circle includes at least one cell; determining a target cell belonging to a target area based on the target business circle; determining screening information for house source information screening based on the target cell; acquiring house source information based on the screening information; and determining a retrieval result based on the acquired room source information, and returning the retrieval result.
In some embodiments, the target area is an area that the user has outlined on a target map, the target map including an area of interest for characterizing a business district; and determining a target business turn attributed to the target area based on the location information, including: determining each interest area included in the map content currently presented to the user in the target map; and determining target interest areas contained in the target areas in the interest areas based on the position information, and determining quotient circles characterized by the target interest areas as target quotient circles.
In some embodiments, the target map further comprises points of interest for characterizing cells, the regions of interest corresponding to points of interest corresponding to cells within the business circle characterized thereby; and determining a target cell belonging to the target area based on the target quotient circle, comprising: determining a cell contained in a target business circle based on an interest point corresponding to a target interest area for representing the target business circle; and determining the determined cells contained in the target business district as target cells.
In some embodiments, determining information for screening for house source information screening based on the target cell includes: screening information including a cell identifier of a target cell is determined.
In some embodiments, the source information includes a price of the source it indicates; and determining a retrieval result based on the acquired room source information, including: based on the acquired room source information, determining at least one of the following: the average house source price and/or the number of house source sets corresponding to the target area, and the average house source price and/or the number of house source sets corresponding to the target cell; generating a search result including the determined at least one item.
In some embodiments, the average house source price and the number of house source sets corresponding to the target area are determined in the following manner: averaging prices in the acquired house source information, and determining the average value as the house source average price corresponding to the target area; and determining the quantity of the acquired house source information as the number of house source sets corresponding to the target area.
In some embodiments, the average house-source price and the number of house-source sets corresponding to the target cell are determined in the following manner: the method comprises the steps of averaging prices in all the acquired house source information related to a target cell, determining the average value as the house source average price corresponding to the target cell, and determining the quantity of all the house source information related to the target cell as the house source set quantity corresponding to the target cell.
In a second aspect, an embodiment of the present disclosure provides an information retrieval apparatus, including: a first determination unit configured to determine, in response to receiving an information retrieval request including location information of a target area, a target business turn belonging to the target area based on the location information, wherein one business turn includes at least one cell; a second determination unit configured to determine a target cell belonging to the target area based on the target quotient circle; a third determination unit configured to determine information for screening for house source information screening based on the target cell; an acquisition unit configured to acquire house source information based on the screening information; and the fourth determining unit is configured to determine a retrieval result based on the acquired room source information and return the retrieval result.
In some embodiments, the target area is an area that the user has outlined on a target map, the target map including an area of interest for characterizing a business district; and the first determination unit is further configured to: determining each interest area included in the map content currently presented to the user in the target map; and determining target interest areas contained in the target areas in the interest areas based on the position information, and determining the quotient circles characterized by the target interest areas as target quotient circles.
In some embodiments, the target map further comprises points of interest for characterizing cells, the regions of interest corresponding to points of interest corresponding to cells within the business circle characterized thereby; and the second determination unit is further configured to: determining a cell contained in a target business circle based on an interest point corresponding to a target interest area for representing the target business circle; and determining the determined cells contained in the target business district as target cells.
In some embodiments, the third determining unit is further configured to: screening information including a cell identifier of a target cell is determined.
In some embodiments, the source information includes a price of the source it indicates; and the fourth determination unit includes: a determining subunit configured to determine, based on the acquired room source information, at least one of: the average house source price and/or the number of house source sets corresponding to the target area, and the average house source price and/or the number of house source sets corresponding to the target cell; a generating subunit configured to generate a retrieval result including the determined at least one item.
In some embodiments, the determining subunit is further configured to: averaging prices in the acquired house source information, and determining the average value as the house source average price corresponding to the target area; and determining the quantity of the acquired various house source information as the number of house source sets corresponding to the target area.
In some embodiments, the determining subunit is further configured to: the method comprises the steps of averaging prices in all the acquired house source information related to a target cell, determining the average value as the house source average price corresponding to the target cell, and determining the quantity of all the house source information related to the target cell as the house source set quantity corresponding to the target cell.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device having one or more programs stored thereon; when executed by the one or more processors, cause the one or more processors to implement a method as described in any implementation of the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, which program, when executed by a processor, implements the method as described in any implementation manner of the first aspect.
In the information retrieval method and apparatus provided by the above embodiments of the present disclosure, a target business circle belonging to a target area is determined based on location information by responding to a received information retrieval request including location information of the target area, where one business circle includes at least one cell, then the target cell belonging to the target area is determined based on the target business circle, then screening information for house source information screening is determined based on the target cell, then house source information is acquired based on the screening information, so that a retrieval result is determined based on the acquired house source information, and a retrieval result is returned. The scheme provided by the above embodiment of the present disclosure realizes information retrieval rich in pertinence. In addition, the target business circle belonging to the target area is determined firstly, and then the target cell belonging to the target area is determined based on the target business circle, so that the calculation amount can be effectively reduced, and the information retrieval efficiency can be improved.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which some embodiments of the present disclosure may be applied;
FIG. 2 is a flow diagram of one embodiment of an information retrieval method according to the present disclosure;
FIG. 3 is a schematic diagram of one application scenario of an information retrieval method according to the present disclosure;
FIG. 4 is a flow diagram of yet another embodiment of an information retrieval method according to the present disclosure;
FIG. 5 is a schematic block diagram of one embodiment of an information retrieval device according to the present disclosure;
FIG. 6 is a schematic block diagram of a computer system suitable for use with an electronic device implementing some embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the figures and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant disclosure and are not limiting of the disclosure. It should be noted that, for the convenience of description, only the parts relevant to the related disclosure are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the information retrieval method or information retrieval device of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as a web browser application, a house source application, and the like.
The terminal devices 101, 102, 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices including, but not limited to, smart phones, tablet computers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as multiple software or software modules (e.g., to provide distributed services) or as a single software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, for example, a background server providing support for a house source application installed on the terminal devices 101, 102, and 103, and the background server may receive an information retrieval request including location information of a target area sent by the terminal devices 101, 102, and 103, perform a corresponding retrieval operation based on the location information, and return a retrieval result to the terminal devices, for example.
It should be noted that the information retrieval method provided by some embodiments of the present disclosure is generally executed by the server 105, and accordingly, the information retrieval device is generally disposed in the server 105.
It should be noted that the server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster composed of multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of an information retrieval method according to the present disclosure is shown. The information retrieval method can be applied to a server (such as the server 105 shown in fig. 1), and comprises the following steps:
In this embodiment, the server may receive, for example, an information retrieval request including location information of a target area sent by a terminal device (e.g., terminal devices 101, 102, 103 shown in fig. 1) through a wired connection manner or a wireless connection manner, and determine, in response to the information retrieval request, a target business turn belonging to the target area based on the location information.
In practice, the terminal device may be installed with a room source application supported by the server. The house-source application may include at least one of: area screening options, target maps. The target area may be an area selected by the user through the area screening option, or an area framed on the target map by the user, which is not specifically limited herein.
The target map may include a Region of Interest (ROI) for characterizing a business district and a Point of Interest (POI) for characterizing a cell. Each region of interest may for example correspond to the position coordinates of the centre point of the business circle it characterizes. Each point of interest may for example correspond to the position coordinates of the central point of the cell it characterizes. The location coordinates may be latitude and longitude coordinates. Further, the region of interest may correspond to a point of interest corresponding to a cell within the quotient circle characterized thereby.
It should be noted that the location information of the target area may include, for example, longitude and latitude coordinates of a location where the target area is located.
Taking the target area as the area selected by the user through the area filtering option as an example, the server may determine the target business turn belonging to the target area from a preset business turn set, for example. For example, a business turn in the set of business turns may correspond to the position coordinates of its center point. The server may perform corresponding calculation on the position coordinates corresponding to the business circles in the business circle set and the position information of the target area to determine whether the position coordinates are included in the target area. If the position coordinates are contained within the target area, the server may determine the business turn as a target business turn attributed to the target area.
Here, for any business circle in the business circle set, the server may determine whether the position coordinates corresponding to the business circle are included in the target area, for example, by using a preset algorithm corresponding to the shape of the target area.
Taking the target area as an irregular polygonal area as an example, the server may determine whether the position coordinate is included in the target area by using a geo-fencing technique, for example. Specifically, the server may determine whether the position coordinates are included in the target region using a ray method. For example, the server may draw a ray in the horizontal direction on a two-dimensional plane, starting from the position coordinates. The server may determine the total number of intersections of the boundaries of the target region with the rays. If the total number is odd, the server may determine that the location coordinate is within the target area. If the total number is an even number, the server may determine that the location coordinates are not within the target area.
Further, taking the target area as a rectangular area as an example, it is assumed that the position information of the target area includes coordinates of the upper right vertex (x1, y1) and coordinates of the lower left vertex (x2, y2), and the position coordinates are (x, y). If x2< x < x1 and y2< y < y1, the server may determine that the position coordinates are within the target area.
In this embodiment, the server may determine the target cell belonging to the target area based on the target business turn.
Continuing to take the example that the target area is the area selected by the user through the area screening option, each business circle in the business circle set may correspond to the cell identifier of the cell included in the business circle set in advance. The server may obtain a cell identifier corresponding to the target business circle, determine a cell included in the target business circle based on the cell identifier, and determine the cell included in the target business circle as a target cell belonging to the target area.
In this embodiment, the server may determine the screening information used for house source information screening based on the target cell. For example, the cell identity of the target cell may be stored in advance in association with the origin identity of the origin within the target cell. The server may obtain the house source identifier of the house source in the target cell based on the cell identifier of the target cell, and then determine the information for screening including the house source identifier.
In some optional implementations of this embodiment, the server may also determine the information for screening that includes the cell identifier of the target cell.
And step 204, acquiring house source information based on the screening information.
In this embodiment, the server may obtain the house source information based on the screening information. The house source information may include a house source identifier of the house source indicated by the house source information, a cell identifier of the cell to which the house source belongs, and the like. For example, if the information for filtering includes the house source identifier, the server may obtain the house source information from the local or connected information storage device based on the house source identifier in the information for filtering.
Alternatively, if the information for screening includes the cell identifier, the server may obtain the house source information from the local or connected information storage device based on the cell identifier in the information for screening.
And step 205, determining a retrieval result based on the acquired room source information, and returning the retrieval result.
In this embodiment, the server may determine a search result based on the acquired room source information, and return the search result to the terminal device that sent the information search request, so that the terminal device displays the search result.
Here, the server may determine, for example, an average house source price and/or a number of house source sets corresponding to the target area based on the acquired house source information, and generate a search result including the determined average house source price and/or the number of house source sets corresponding to the target area. The average price of the house resources may be an average price of the house resources in an actual geographic area corresponding to the target area, and the number of the house resources sets may be, for example, the number of house resources sold in the actual geographic area.
As an example, the server may average prices in the acquired pieces of house source information, and determine the average value as the house source average price corresponding to the target area. In addition, the house sources indicated by the house source information acquired by the server are different from each other, so that the server can determine the number of the acquired house source information as the number of house source sets corresponding to the target area.
In some optional implementation manners of this embodiment, the server may also determine, based on the obtained room source information, a room source average price and/or a room source number corresponding to the target cell, and generate a search result including the determined room source average price and/or the room source number corresponding to the target cell. The average house source price may be an average house source price in the target cell, and the house source set number may be, for example, a set number of house sources sold in the target cell.
As an example, for each target cell, the server may average prices in the acquired pieces of room source information related to the target cell, determine the average value as a room source average price corresponding to the target cell, and determine the number of the pieces of room source information related to the target cell as a room source set number corresponding to the target cell.
In some optional implementation manners of this embodiment, the server may also determine, based on the acquired room source information, an average room source price or a number of room sources corresponding to the target area and an average room source price or a number of room sources corresponding to the target cell, and generate a search result including the determined average room source price or the number of room sources corresponding to the target area and the determined average room source price or the number of room sources corresponding to the target cell.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the information retrieval method according to the present embodiment. In the application scenario of fig. 3, a house source application supported by the server may be installed on the smartphone of the user a, and the house source application may include the target map. When the user wants to know the average price of the house resources in the area B, the area B may be framed in the target map, and the smartphone may send an information retrieval request including location information of the area B to the server in response to detecting that the area B framed in the target map by the user is selected. The server may determine a target business turn attributed to the area B based on the location information of the area B in response to the information retrieval request, where it is assumed that the target business turn includes a target business turn C. Then, the server may further determine the cells included in the target business circle C, and determine the determined cells included in the target business circle C as the target cells belonging to the area B. Here, it is assumed that the target cells include a target cell D1 and a target cell D2. Thereafter, the server may determine screening information for house source information screening including cell identifications of the target cell D1 and the target cell D2. Then, the server may obtain locally the premises information related to the target cell D1 and the target cell D2 based on the cell identifier in the screening information, where the premises information may include the price of the premises indicated by the premises information and the cell identifier of the cell to which the premises belongs. Then, the server may average the prices in the acquired pieces of house source information, take the average value as the house source average price corresponding to the area B, and generate a search result including the house source average price. Finally, the server can return the retrieval result to the smart phone, so that the smart phone can display the retrieval result on the target map.
In the method provided by the above embodiment of the present disclosure, a target business circle belonging to a target area is determined based on location information by responding to a received information retrieval request including location information of the target area, where one business circle includes at least one cell, then a target cell belonging to the target area is determined based on the target business circle, then screening information for house source information screening is determined based on the target cell, then house source information is obtained based on the screening information, so that a retrieval result is determined based on the obtained house source information, and the retrieval result is returned. The scheme provided by the above embodiment of the present disclosure realizes information retrieval rich in pertinence. In addition, the target business circle belonging to the target area is determined firstly, and then the target cell belonging to the target area is determined based on the target business circle, so that the calculation amount can be effectively reduced, and the information retrieval efficiency can be improved.
Referring further to fig. 4, a flow diagram 400 of yet another embodiment of an information retrieval method according to the present disclosure is shown. The information retrieval method can be applied to a server (such as the server 105 shown in fig. 1), and comprises the following steps:
In this embodiment, the server may receive, for example, an information retrieval request including location information of a target area, which is sent by a terminal device (e.g., the terminal devices 101, 102, 103 shown in fig. 1) through a wired connection manner or a wireless connection manner. The server may then determine, in response to the information retrieval request, the various regions of interest included in the map content currently presented to the user in the target map. Wherein the target area is an area framed on the target map by the user. The target map comprises interest areas for characterizing the business circles and interest points for characterizing the cells. The region of interest corresponds to a point of interest corresponding to a cell within the business circle characterized by the region of interest.
Here, the terminal device may have installed thereon a house source application supported by the server. The house-source application may include a target map. Each point of interest may correspond to the location coordinates of the center point of the cell it characterizes. Each business segment may include at least one cell. Furthermore, each region of interest may for example correspond to the position coordinates of the central point of the business circle it characterizes. The location coordinates may be latitude and longitude coordinates.
It should be noted that the location information of the target area may include, for example, latitude and longitude coordinates of a location where the target area is located.
In this embodiment, the server may, for example, record in real time various regions of interest in the map content presented to the user in the target map. After the server receives the information retrieval request, the server can acquire each interest area in the map content currently presented to the user in the newly recorded target map.
In this embodiment, the server may determine, based on the location information of the target region, a target interest region included in the target region in each determined interest region, and determine a quotient circle characterized by the target interest region as a target quotient circle. Here, for each of the interest areas, the server may perform corresponding calculation on the position coordinates corresponding to the interest area and the position information of the target area to determine whether the position coordinates are included in the target area. If the position coordinates are contained in the target area, the server may determine the area of interest as the target area of interest.
In this embodiment, the server may determine, based on the interest point corresponding to the target interest area for characterizing the target business circle, a cell included in the target business circle, and determine the determined cell included in the target business circle as a target cell belonging to the target area.
In step 404, screening information for house source information screening including the cell identifier of the target cell is determined.
In this embodiment, after determining the target cell, the server may determine the screening information for house source information screening, which includes the cell identifier of the target cell.
And step 405, acquiring the house source information based on the screening information.
In this embodiment, the server may obtain the house source information based on the screening information. The house source information may include the price of the house source indicated by the house source information, the cell identifier of the cell to which the house source belongs, and the like. Specifically, the server may obtain the premises source information from a local or connected information storage device based on the cell identifier in the screening information.
In this embodiment, the server may determine, based on the acquired room source information, the average price of the room source and the number of room source sets corresponding to the target area, and the average price of the room source and the number of room source sets corresponding to the target cell, and generate a search result including the determined average price of the room source and the number of room source sets corresponding to the target area, and the determined average price of the room source and the number of room source sets corresponding to the target cell. Here, the server may determine the average house source price and the number of house source sets corresponding to the target area and the average house source price and the number of house source sets corresponding to the target cell by using the related method described in the embodiment shown in fig. 2.
In this embodiment, the server may return the search result to the terminal device that sent the information search request, so that the terminal device may display the search result, for example, display the search result on the target map.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the flow 400 of the information retrieval method in this embodiment highlights the limitation that the target area is the area framed on the target map by the user, and the steps of expanding the determination methods of the target business circle, the target cell, the information for filtering, and the retrieval result. Therefore, the scheme described by the embodiment can realize diversified information processing and enrich the content of the retrieval result. In addition, the information retrieval related to the house source is carried out by supporting the user to select the area on the target map in a frame mode, so that flexible map retrieval can be realized, and the retrieval result can be more accordant with the retrieval intention of the user.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides an embodiment of an information retrieval apparatus, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable to various electronic devices.
As shown in fig. 5, the information retrieval apparatus 500 of the present embodiment may include: the first determining unit 501 is configured to determine, in response to receiving an information retrieval request including location information of a target area, target business circles belonging to the target area based on the location information, wherein one business circle includes at least one cell; the second determining unit 502 is configured to determine a target cell belonging to the target area based on the target quotient circle; the third determination unit 503 is configured to determine information for screening for house source information screening based on the target cell; the obtaining unit 504 is configured to obtain the house source information based on the screening information; the fourth determining unit 505 is configured to determine a retrieval result based on the acquired house source information, and return the retrieval result.
In the present embodiment, in the information retrieval apparatus 500: for specific processing of the first determining unit 501, the second determining unit 502, the third determining unit 503, the obtaining unit 504, and the fourth determining unit 505 and technical effects thereof, reference may be made to relevant descriptions of step 201, step 202, step 203, step 204, and step 205 in the embodiment shown in fig. 2, and details are not repeated here.
In some optional implementations of this embodiment, the target area is an area framed by the user on a target map, and the target map includes an interest area for characterizing a business district; and the first determining unit 501 may be further configured to: determining each interest area included in the map content currently presented to the user in the target map; and determining target interest areas contained in the target areas in the interest areas based on the position information, and determining the quotient circles characterized by the target interest areas as target quotient circles.
In some optional implementations of this embodiment, the target map further includes interest points for characterizing cells, and the interest areas correspond to interest points corresponding to cells within a business circle characterized by the interest points; and the second determining unit 502 may be further configured to: determining a cell contained in a target business circle based on an interest point corresponding to a target interest area for representing the target business circle; and determining the determined cells contained in the target business district as target cells.
In some optional implementations of this embodiment, the third determining unit 503 may be further configured to: screening information including a cell identifier of a target cell is determined.
In some alternative implementations of this embodiment, the source information includes a price of the source indicated by the source information; and the fourth determination unit 505 may include: a determining subunit (not shown in the figure) configured to determine, based on the acquired room source information, at least one of: the average house source price and/or the number of house source sets corresponding to the target area, and the average house source price and/or the number of house source sets corresponding to the target cell; a generating subunit (not shown in the figure) configured to generate a retrieval result including the at least one determined item.
In some optional implementations of this embodiment, the determining subunit may be further configured to: averaging prices in the acquired house source information, and determining the average value as the house source average price corresponding to the target area; and determining the quantity of the acquired various house source information as the number of house source sets corresponding to the target area.
In some optional implementations of this embodiment, the determining subunit may be further configured to: the method comprises the steps of averaging prices in all the acquired house source information related to a target cell, determining the average value as the house source average price corresponding to the target cell, and determining the quantity of all the house source information related to the target cell as the house source set quantity corresponding to the target cell.
The apparatus provided in the foregoing embodiment of the present disclosure, in response to receiving an information retrieval request including location information of a target area, determines a target business turn belonging to the target area based on the location information, where one business turn includes at least one cell, then determines a target cell belonging to the target area based on the target business turn, then determines screening information used for house source information screening based on the target cell, and then acquires the house source information based on the screening information, so as to determine a retrieval result based on the acquired house source information, and returns the retrieval result. The scheme provided by the embodiment of the disclosure realizes targeted information retrieval. In addition, the target business circle belonging to the target area is determined firstly, and then the target cell belonging to the target area is determined based on the target business circle, so that the calculation amount can be effectively reduced, and the information retrieval efficiency can be improved.
Referring now to FIG. 6, a block diagram of an electronic device (e.g., server 105 shown in FIG. 1) 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the range of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; a storage device 608 including, for example, a hard disk; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may be alternatively implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the 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 computer-readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of embodiments of the present disclosure.
It should be noted that the computer readable medium of the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 embodiments of the 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 embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled 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: in response to receiving an information retrieval request including location information of a target area, determining a target business circle belonging to the target area based on the location information, wherein one business circle includes at least one cell; determining a target cell belonging to a target area based on a target business circle; determining screening information for house source information screening based on the target cell; acquiring house source information based on the screening information; and determining a retrieval result based on the acquired room source information, and returning the retrieval result.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including 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 latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart 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 described in the embodiments of the present disclosure may be implemented by software or hardware. Here, the name of the unit does not constitute a limitation of the unit itself in some cases, and for example, the first determination unit may also be described as "a unit that determines a target business turn attributed to the target area based on the position information of the target area".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the technical features with similar functions disclosed in the present disclosure are mutually replaced to form the technical solution.
Claims (8)
1. An information retrieval method, comprising:
in response to receiving an information retrieval request comprising position information of a target area, determining target business circles belonging to the target area based on the position information, wherein one business circle comprises at least one cell, and the business circle corresponds to position coordinates of a center point of the business circle;
determining a target cell belonging to the target area based on the target business turn;
determining screening information for house source information screening based on the target cell;
acquiring house source information based on the screening information;
determining a retrieval result based on the acquired room source information, and returning the retrieval result;
the method comprises the following steps that a house source application supported by a server is installed on a terminal device, and the house source application comprises at least one of the following items: area screening options and target maps; if the target area is an irregular polygon area selected by the user through an area screening option, determining a target business turn belonging to the target area based on the position information, including: drawing a ray on a two-dimensional plane along the horizontal direction by taking the position coordinate corresponding to the quotient circle as a starting point, determining the total number of intersection points of the boundary of the target area and the ray, determining whether the position coordinate is contained in the target area according to the total number, and if the position coordinate is contained in the target area, determining the quotient circle under the position coordinate as the target quotient circle belonging to the target area;
the determining a target cell belonging to the target area based on the target quotient circle comprises: acquiring a cell identifier corresponding to the target business circle; determining a cell contained in a target business circle according to the cell identifier, and determining the cell contained in the target business circle as a target cell belonging to a target area;
if the target area is an area outlined and selected on a target map by a user, the target map comprises an interest area used for representing a business circle and an interest point used for representing a cell, and the interest area corresponds to the interest point corresponding to the cell in the business circle represented by the interest area; then said determining a target business turn attributed to said target area based on said location information comprises:
determining each interest area included in the map content currently presented to the user in the target map;
determining target interest areas contained in the target areas in the interest areas based on the position information, and determining a quotient circle represented by the target interest areas as the target quotient circle;
the determining a target cell belonging to the target area based on the target quotient circle comprises:
determining a cell contained in the target business circle based on an interest point corresponding to a target interest area for representing the target business circle;
determining the determined cell contained within the target business circle as the target cell.
2. The method of claim 1, wherein the determining screening information for house-source information screening based on the target cell comprises:
determining the screening information comprising a cell identity of the target cell.
3. The method of claim 2, wherein the premises information includes a price of the premises that it indicates; and
the determining of the retrieval result based on the acquired room source information includes:
based on the acquired room source information, determining at least one of the following: the average house source price and/or the number of house source sets corresponding to the target area, and the average house source price and/or the number of house source sets corresponding to the target cell;
generating a search result including the determined at least one item.
4. The method of claim 3, wherein the average source price and the number of source sets corresponding to the target area are determined by:
averaging prices in the acquired house source information, and determining the average value as the house source average price corresponding to the target area;
and determining the quantity of the acquired various house source information as the number of house source sets corresponding to the target area.
5. The method of claim 3, wherein the mean house-source price and the number of house-source sets corresponding to the target cell are determined by:
averaging prices in the acquired house source information related to the target cell, determining the average value as a house source average price corresponding to the target cell, and determining the quantity of the house source information related to the target cell as a house source set quantity corresponding to the target cell.
6. An information retrieval apparatus comprising:
a first determining unit configured to determine, in response to receiving an information retrieval request including location information of a target area, a target business circle belonging to the target area based on the location information, wherein one business circle includes at least one cell, and the business circle corresponds to location coordinates of a center point thereof;
a second determining unit configured to determine a target cell belonging to the target area based on the target quotient circle;
a third determination unit configured to determine information for screening for house source information screening based on the target cell;
an acquisition unit configured to acquire house source information based on the screening information;
a fourth determination unit configured to determine a search result based on the acquired room source information and return the search result;
the method comprises the following steps that a house source application supported by a server is installed on a terminal device, and the house source application comprises at least one of the following items: area screening options and a target map; if the target area is an irregular polygon area selected by the user through the area screening item, the first determining unit is specifically configured to: drawing a ray on a two-dimensional plane along the horizontal direction by taking the position coordinate as a starting point, determining the total number of intersection points of the boundary of the target area and the ray, determining whether the position coordinate is contained in the target area according to the total number, and if the position coordinate is contained in the target area, determining a quotient circle under the position coordinate as a target quotient circle belonging to the target area;
the second determining unit is specifically configured to obtain a cell identifier corresponding to the target business circle; determining a cell contained in a target business circle according to the cell identification, and determining the cell contained in the target business circle as a target cell belonging to a target area;
if the target area is an area outlined and selected on a target map by a user, the target map comprises an interest area used for representing a business circle and an interest point used for representing a cell, and the interest area corresponds to the interest point corresponding to the cell in the business circle represented by the interest area;
the first determining unit is specifically configured to:
determining each interest area included in the map content currently presented to the user in the target map;
determining target interest areas contained in the target areas in the interest areas based on the position information, and determining a quotient circle represented by the target interest areas as the target quotient circle;
the second determining unit is specifically configured to:
determining a cell contained in the target business circle based on an interest point corresponding to a target interest area for representing the target business circle;
determining the determined cell contained within the target business circle as the target cell.
7. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method recited in any of claims 1-5.
8. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910472087.5A CN110619089B (en) | 2019-05-31 | 2019-05-31 | Information retrieval method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910472087.5A CN110619089B (en) | 2019-05-31 | 2019-05-31 | Information retrieval method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110619089A CN110619089A (en) | 2019-12-27 |
CN110619089B true CN110619089B (en) | 2022-09-23 |
Family
ID=68921336
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910472087.5A Active CN110619089B (en) | 2019-05-31 | 2019-05-31 | Information retrieval method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110619089B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111737600B (en) * | 2020-05-18 | 2021-07-09 | 浙江口碑网络技术有限公司 | Information providing method, device and equipment and system for displaying customer information |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108052600A (en) * | 2017-12-13 | 2018-05-18 | 青岛禧泰房地产数据有限公司 | A kind of radar based on mobile terminal looks for room method |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7660740B2 (en) * | 2000-10-16 | 2010-02-09 | Ebay Inc. | Method and system for listing items globally and regionally, and customized listing according to currency or shipping area |
US20050273346A1 (en) * | 2004-06-02 | 2005-12-08 | Frost Richard N | Real property information management system and method |
CN101937449A (en) * | 2010-07-01 | 2011-01-05 | 上海杰图房网信息科技有限公司 | House property display system and method based on panoramic electronic map |
CN104144382A (en) * | 2013-05-10 | 2014-11-12 | 中国电信股份有限公司 | Positioning method and system for zone application |
CN106649331B (en) * | 2015-10-29 | 2020-09-11 | 阿里巴巴集团控股有限公司 | Business circle identification method and equipment |
CN106384246A (en) * | 2016-09-09 | 2017-02-08 | 珠海幸福家网络科技有限公司 | House purchase intention determination device and method |
CN107908677B (en) * | 2017-10-27 | 2019-10-22 | 贝壳找房(北京)科技有限公司 | Cell source of houses methods of exhibiting and device based on intelligent terminal |
CN108388611B (en) * | 2018-02-07 | 2020-08-11 | 贝壳找房(北京)科技有限公司 | House source information display method and server |
CN108415967A (en) * | 2018-02-07 | 2018-08-17 | 链家网(北京)科技有限公司 | A kind of source of houses querying method and system |
CN109727054A (en) * | 2018-06-01 | 2019-05-07 | 中国平安人寿保险股份有限公司 | Determination method, user equipment, storage medium and the device of house average price |
CN108550090A (en) * | 2018-06-06 | 2018-09-18 | 链家网(北京)科技有限公司 | A kind of processing method and system of determining source of houses pricing information |
CN109544410A (en) * | 2018-10-31 | 2019-03-29 | 平安直通咨询有限公司 | Cell source of houses value parameter estimation method and device |
-
2019
- 2019-05-31 CN CN201910472087.5A patent/CN110619089B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108052600A (en) * | 2017-12-13 | 2018-05-18 | 青岛禧泰房地产数据有限公司 | A kind of radar based on mobile terminal looks for room method |
Non-Patent Citations (1)
Title |
---|
买新房筑新家 中期选房篇;飞雪散花;《电脑迷》;20120601(第11期);第42-43页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110619089A (en) | 2019-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111399956A (en) | Content display method and device applied to display equipment and electronic equipment | |
CN110619078B (en) | Method and device for pushing information | |
CN110781263A (en) | House resource information display method and device, electronic equipment and computer storage medium | |
CN111273830A (en) | Data display method and device, electronic equipment and computer readable medium | |
CN111597466A (en) | Display method and device and electronic equipment | |
CN110619101B (en) | Method and apparatus for processing information | |
CN108228904B (en) | Method and apparatus for outputting information | |
CN110619089B (en) | Information retrieval method and device | |
CN111798251A (en) | Verification method and device of house source data and electronic equipment | |
CN111597439A (en) | Information processing method and device and electronic equipment | |
CN110619028A (en) | Map display method, device, terminal equipment and medium for house source detail page | |
CN111641691B (en) | Session message transmission method and device and electronic equipment | |
CN111835917A (en) | Method, device and equipment for showing activity range and computer readable medium | |
CN111367592B (en) | Information processing method and device | |
CN111460334A (en) | Information display method and device and electronic equipment | |
CN111260445A (en) | House resource information display method, device, terminal and storage medium | |
CN111242746A (en) | House resource information display method, device, terminal and storage medium | |
CN110347771B (en) | Method and apparatus for presenting a map | |
CN111294657A (en) | Information processing method and device | |
CN111461227B (en) | Sample generation method, device, electronic equipment and computer readable medium | |
CN110621066B (en) | Method and apparatus for processing information | |
CN114357348B (en) | Display method and device and electronic equipment | |
CN111489286B (en) | Picture processing method, device, equipment and medium | |
CN112884787B (en) | Image clipping method and device, readable medium and electronic equipment | |
CN113742435B (en) | Geographic information processing method, device, electronic equipment and medium |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230419 Address after: Room 802, Information Building, 13 Linyin North Street, Pinggu District, Beijing, 101299 Patentee after: Beijing youzhuju Network Technology Co.,Ltd. Address before: No. 715, 7th floor, building 3, 52 Zhongguancun South Street, Haidian District, Beijing 100081 Patentee before: Beijing infinite light field technology Co.,Ltd. |