CN110866182A - House resource recommendation method, device, server and computer readable storage medium - Google Patents

House resource recommendation method, device, server and computer readable storage medium Download PDF

Info

Publication number
CN110866182A
CN110866182A CN201910989670.3A CN201910989670A CN110866182A CN 110866182 A CN110866182 A CN 110866182A CN 201910989670 A CN201910989670 A CN 201910989670A CN 110866182 A CN110866182 A CN 110866182A
Authority
CN
China
Prior art keywords
landmark
user
preset
polygon
pushed
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.)
Granted
Application number
CN201910989670.3A
Other languages
Chinese (zh)
Other versions
CN110866182B (en
Inventor
卫海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seashell Housing Beijing Technology Co Ltd
Original Assignee
Beike Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beike Technology Co Ltd filed Critical Beike Technology Co Ltd
Priority to CN201910989670.3A priority Critical patent/CN110866182B/en
Publication of CN110866182A publication Critical patent/CN110866182A/en
Application granted granted Critical
Publication of CN110866182B publication Critical patent/CN110866182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/16Real estate

Abstract

The invention relates to the technical field of computers, discloses a room source recommending method, a room source recommending device, a room source recommending server and a computer readable storage medium, and solves the problem of low efficiency of actively searching and acquiring room sources by a user in the prior art. The method comprises the following steps: acquiring current position information of a user; determining a landmark to be pushed according to the current position information and a preset landmark diagram, wherein the preset landmark diagram comprises identification landmark information generated according to a movement track of the user in a preset area; and recommending the house resources within the preset range of the landmark to be pushed to the user. The embodiment of the invention is suitable for the process of recommending house resources to the user.

Description

House resource recommendation method, device, server and computer readable storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a room source recommending method, a room source recommending device, a room source recommending server and a computer readable storage medium.
Background
In the prior art, house source recommendation is generally calculated based on browsing records of a user on a website, and then is recommended to a house source which the user may be satisfied with. However, the house source recommending technology can be realized only based on the active input and search behaviors of the user on the website, and the active browsing behavior of the user needs to be waited, so that it is difficult to recommend house sources to the user more quickly and efficiently.
Disclosure of Invention
The embodiment of the invention aims to provide a house source recommending method, a house source recommending device, a server and a computer readable storage medium, which solve the problem that in the prior art, a user actively searches for and acquires a house source, acquires the preference landmark information related to the life track of the user through the life track of the city where the user is located, namely data of places which frequently come in and go out, and can recommend the house source suitable for the user according to the information when the user needs the house source recommendation, thereby realizing the house source recommendation which is more efficient and more in line with the actual needs of the user.
In order to achieve the above object, an embodiment of the present invention provides a house source recommendation method, where the method includes: acquiring current position information of a user; determining a landmark to be pushed according to the current position information and a preset landmark diagram, wherein the preset landmark diagram comprises identification landmark information generated according to a movement track of the user in a preset area; and recommending the house resources within the preset range of the landmark to be pushed to the user.
Further, the preset landmark representation is obtained by: acquiring a moving track of the user in the preset area within a preset time period; extracting corresponding landmark information in the moving track according to a preset landmark type, wherein the landmark information comprises position coordinates of landmarks, user stay time and user passing times; obtaining a weight value corresponding to the landmark in the landmark information according to the landmark information; judging whether the weight value corresponding to the landmark exceeds a preset threshold value or not, and determining the landmark of which the corresponding weight value exceeds the preset threshold value as an identification landmark; labeling the identification landmark and a landmark with the same preset landmark type as the identification landmark to obtain a landmark diagram to be processed; and performing von neumoniae mapping on the landmarks in the landmark graph to be processed to obtain Thiessen polygons formed by the landmarks in the landmark graph to be processed, and determining the Thiessen polygons as the preset landmark graphs, wherein each polygon in the Thiessen polygons contains one landmark in the preset landmark graph.
Further, the obtaining, according to the landmark information, a weight value corresponding to a landmark in the landmark information includes: according to
Figure BDA0002237837090000021
Obtaining a weight value P corresponding to the landmark in the landmark information, wherein α is a weight coefficient of the stay time of the user, β is a weight coefficient of the number of times of the user passing, TiThe stay time of the user passing through the order landmark for the ith time, and n is the number of times that the user passes through the landmark.
Further, the determining the landmark to be pushed according to the current position information and a preset landmark diagram includes: judging whether the current position information is in one polygon of the Thiessen polygons; when the current position information is in one polygon in the Thiessen polygons, determining a landmark in the polygon as the landmark to be pushed; and when the current position information is on the edge line of the polygon in the Thiessen polygon, determining the landmark to be pushed according to the weight value corresponding to the landmark in the polygon to which the edge line belongs.
Further, when the current position information is on an edge of a polygon in the thiessen polygons, determining the landmark to be pushed according to a weight value corresponding to the landmark in the polygon to which the edge belongs includes: when the current position information is on an edge line of a polygon in the Thiessen polygons, extracting weight values corresponding to landmarks in two polygons to which the edge line belongs; comparing the weight values corresponding to the two landmarks; and determining the landmark with a higher weight value as the landmark to be pushed.
Further, the recommending the house resources within the preset range of the landmark to be pushed to the user includes: and recommending the house source in the polygon to which the landmark to be pushed belongs to the user.
Further, after the obtaining of the current location information of the user, before the determining of the landmark to be pushed according to the current location information and a preset landmark diagram, the method further includes: when the current position information is in one polygon in the Thiessen polygons, updating the weight value corresponding to the landmark in the polygon.
Correspondingly, the embodiment of the invention also provides a room source recommending device, which comprises: the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the current position information of a user; the processing unit is used for determining the landmark to be pushed according to the current position information and a preset landmark diagram, wherein the preset landmark diagram comprises identification landmark information generated according to the movement track of the user in a preset area; and the recommending unit is used for recommending the house resources within the preset range of the landmark to be pushed to the user.
Further, the apparatus further comprises: the diagram establishing unit is used for acquiring a moving track of the user in the preset area within a preset time period; extracting corresponding landmark information in the moving track according to a preset landmark type, wherein the landmark information comprises position coordinates of landmarks, user stay time and user passing times; obtaining a weight value corresponding to the landmark in the landmark information according to the landmark information; judging whether the weight value corresponding to the landmark exceeds a preset threshold value or not, and determining the landmark of which the corresponding weight value exceeds the preset threshold value as an identification landmark; labeling the identification landmark and a landmark with the same preset landmark type as the identification landmark to obtain a landmark diagram to be processed; and performing von neumoniae mapping on the landmarks in the landmark graph to be processed to obtain Thiessen polygons formed by the landmarks in the landmark graph to be processed, and determining the Thiessen polygons as the preset landmark graphs, wherein each polygon in the Thiessen polygons contains one landmark in the preset landmark graph.
Further, the diagram establishing unit is also used for establishing the diagram according to
Figure BDA0002237837090000031
Obtaining a weight value P corresponding to the landmark in the landmark information, wherein α is a weight coefficient of the stay time of the user, β is a weight coefficient of the number of times of the user passing, TiThe stay time of the user passing through the order landmark for the ith time, and n is the number of times that the user passes through the landmark.
Further, the processing unit includes: the judging module is used for judging whether the current position information is in one polygon in the Thiessen polygons; the determining module is used for determining a landmark in one of the Thiessen polygons as the landmark to be pushed when the current position information is in the polygon; and when the current position information is on the edge line of the polygon in the Thiessen polygon, determining the landmark to be pushed according to the weight value corresponding to the landmark in the polygon to which the edge line belongs.
Further, the determining module is further configured to, when the current position information is on an edge of a polygon in the thiessen polygons, extract weight values corresponding to landmarks in two polygons to which the edge belongs; comparing the weight values corresponding to the two landmarks; and determining the landmark with a higher weight value as the landmark to be pushed.
Further, the recommending unit is further configured to recommend the house source in the polygon to which the landmark to be pushed belongs to the user.
Further, the apparatus further comprises: and the updating unit is used for updating the weight value corresponding to the landmark in one of the Thiessen polygons when the current position information is in the polygon.
Correspondingly, the embodiment of the invention also provides a server, and the server is used for executing the house source recommending method.
Accordingly, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer instructions, and the computer instructions cause the computer to execute the house source recommendation method described above.
According to the technical scheme, the current position information of the user is obtained, the landmark to be pushed is determined according to the current position information and the preset landmark graph, wherein the preset landmark graph comprises identification landmark information generated according to the movement track of the user in the preset area, and then the house source in the preset range of the landmark to be pushed is recommended to the user. The embodiment of the invention solves the problem of low efficiency of actively searching and acquiring the house resources by the user in the prior art, and recommends the house resources for the user by combining the movement track of the user, thereby realizing more efficient house resource recommendation which better meets the actual needs of the user.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic flow chart of a house source recommendation method according to an embodiment of the present invention;
FIG. 2 is a Thiessen polygon provided by an embodiment of the present invention;
FIG. 3 is another Thiessen polygon provided by embodiments of the present invention;
FIG. 4 is a flow chart of another room source recommending method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a house source recommending apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another room source recommending apparatus according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of another room source recommending apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another room source recommending apparatus according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present invention, are given by way of illustration and explanation only, not limitation.
In order to overcome the defects of the existing house source recommending technology, the embodiment of the invention recommends the house source for the user by combining the movement track of the user in the preset area. In real life, a user needs to buy or rent a house comprehensively considering the needs of the user, such as a work place, leisure needs, shopping needs and the like, a user who wants to be close to a company may need to know the house resources near the company, a user who often shops may need to know the house resources near a mall, and a user who often walks to a park may need to know the house resources around the park. These behaviors are things that the user himself does, for example, the user needs to go to work at work place on weekdays, go to shopping malls for shopping on weekends, go to a park for walking, etc. Under the condition of user authorization, the embodiment of the invention obtains the landmark information related to the movement track of the user by collecting the things that the users can do in person, namely recording the movement track of the user and reasonably calculating. And then, by acquiring the current position information of the user, a proper house source can be recommended to the user. The implementation of the embodiment of the present invention will be described in detail below.
Fig. 1 is a schematic flow chart of a house source recommendation method according to an embodiment of the present invention. As shown in fig. 1, the method is applied to a house source recommending device, which may be located at a server, and the method includes the following steps:
step 101, acquiring current position information of a user;
step 102, determining a landmark to be pushed according to the current position information and a preset landmark diagram, wherein the preset landmark diagram comprises identification landmark information generated according to a movement track of the user in a preset area;
and 103, recommending the house resources within the preset range of the landmark to be pushed to the user.
Under the condition of user authorization, the intelligent terminal carried by the user can send the position coordinates of the user to the server in real time so as to acquire the position information of the user.
In addition, the preset landmark representation is obtained by: since the intelligent terminal carried by the user can upload the position coordinates of the user in real time, the server can acquire the movement track of the user in the predetermined area within a preset time period, for example, the movement track of the user in the predetermined area within half a month. The predetermined area may be a city, an urban area, etc. where the user is located. The acquisition of the landmark information in the movement track can be extracted according to the preset landmark type. For example, the preset landmark types include an office type, a mall type, a hospital type, a dish market type, a park type, a fitness type, and the like. After the movement track of the user is obtained, according to the preset landmark type, when a certain position coordinate in the movement track is within a set range of a landmark corresponding to the certain preset landmark type, landmark information of the landmark corresponding to the preset landmark type is recorded, wherein the landmark information comprises the position coordinate of the landmark, the user stay time and the user passing times. For example, if the user is near an office building, the office building belongs to an office type of preset landmark types, and the user is within a set range of the position coordinate near the office building, for example, within one hundred meters, the landmark information of the office building is recorded, including recording the position coordinate of the office building, the time that the user stays in the office building, and the number of times that the user passes through the office building. Because the movement track within the preset time period of the user is acquired, for some landmarks in the movement track, the user may pass by many times and stay for a long time, for example, a work day needs to go to a office type landmark for office. Therefore, the weight value corresponding to each landmark in the movement track which accords with the preset landmark type is counted to determine the identification landmark in the movement track of the user. For example, the weight value P corresponding to the landmark is obtained according to formula (1):
Figure BDA0002237837090000071
wherein α is the weight coefficient of the user stay time, β is the weight coefficient of the user passing times, TiThe setting of α and β can be set according to the actual situation, for example, for the office type landmark that will go to work on weekdays, the two coefficients can be as large as possible, for the dish market type landmark,the weighting factor for the number of passes may be slightly greater than the weighting factor for the dwell time, and so on.
After the weight values corresponding to the landmarks which accord with the preset landmark type in the moving track are obtained, all the weight values are compared with a preset threshold value, the landmarks of which the corresponding weight values do not exceed the preset threshold value are removed, and the landmarks of which the corresponding weight values exceed the preset threshold value are determined as the identification landmarks. It should be noted that the landmark may include landmarks of the same landmark type, and may also include landmarks of different landmark types, for example, the landmark may include office building a, office building B, mall C, park D, and so on.
Then, on a map of a predetermined area where the user is located, comparing the landmark on the map with the identified landmark, and finding a landmark having the same preset landmark type as the identified landmark, for example, if the identified landmark includes an office building a, an office building B, a mall C, and a park D, the landmark of the office type, the mall type, and the park type is found on the map. And then, labeling the identification landmark and the landmark with the same preset landmark type as the identification landmark to obtain a landmark diagram to be processed. And for the weight value corresponding to the landmark which is just marked and has the same preset landmark type as the identification landmark, the weight value is initially zero, and the weight value is continuously updated according to the movement track of the user. For example, the number of times the user passes a landmark having the same preset landmark type as the identified landmark and the stay time are counted, and then the weight value thereof is updated according to formula (1). Then, Voronoi (von rouy) mapping is carried out on the landmarks in the landmark graph to be processed, so that taison polygons formed by the landmarks in the landmark graph to be processed are obtained, the taison polygons are determined to be the preset landmark graphs, and as shown in fig. 2, each polygon in the taison polygons contains one landmark in the preset landmark graph. The Thiessen polygon is characterized in that only one discrete point, namely a landmark, is arranged inside each polygon. In addition, points inside one polygon are closest to discrete points inside the polygon, i.e., points inside one polygon are closer to landmarks within it than to landmarks within other polygons. Furthermore, the distances from the points on the edges of the Thiessen polygons to the discrete points in the two polygons to which the edges belong are equal, that is, the distances from the points on one edge to the landmarks in the two polygons to which the edge belongs are equal.
In step 102, it is first determined whether the current location information is within one of the thiessen polygons, and when the obtained current location information of the user is within one of the thiessen polygons, the user is closest to a landmark within the polygon, and the landmark within the polygon is determined to be the landmark to be pushed. When the current position information is on an edge of a polygon in the Thiessen polygon, which indicates that the distances between the user and landmarks in two polygons to which the edge belongs are equal, determining the landmark to be pushed according to the weight value corresponding to the landmark in the polygon to which the edge belongs. Firstly, extracting the weight values corresponding to landmarks in two polygons to which the edge line belongs, comparing the weight values corresponding to the two landmarks, and determining the landmark with a higher weight value as the landmark to be pushed. If the weight values corresponding to the other landmarks are equal, both landmarks can be determined as the landmark to be pushed.
Take the example of a Thiessen polygon shown in FIG. 3, where P1 represents a park landmark, P2 represents an office landmark, P3 represents a mall landmark, and P4 represents a fitness landmark. When the current position coordinate of the user is in the polygon of P3, determining P3 as the landmark to be pushed. If the current position coordinates of the user are located on the same side line of two polygons where the P3 and the P1 are located, comparing the corresponding weight values of the P3 and the P1, and if the weight value of the P3 is larger than the weight value of the P1, determining the P3 as the landmark to be pushed. If the weight value of P3 is equal to the weight value of P1, both P3 and P1 are determined as the landmark to be pushed.
For step 103, after the landmark to be pushed is determined, recommending the house source in the polygon to which the landmark to be pushed belongs to the user, because the house source in the polygon is closer to the landmark to be pushed than to other landmarks. Taking fig. 3 as an example, when P1 is the landmark to be pushed, the house source in the polygon to which P1 belongs is recommended to the user. It can be seen that the distance from the source in the polygon of P1 to P1 is shorter than the distance from the source in the polygon of P1 to P2, P3, P4.
In an implementation manner of the embodiment of the present invention, after the obtaining of the current location information of the user, when the current location information is within one of the thiessen polygons, a weight value corresponding to a landmark in the polygon is updated. Namely, when a user enters a polygon, the staying time of the user at a landmark in the polygon is obtained, 1 is added to the number of times of the passing, and then the weight value corresponding to the landmark in the polygon is automatically updated according to the formula (1), so that the weight value corresponding to the landmark in the preset landmark graph is continuously updated, and a house source suitable for the user is pushed more accurately.
The embodiment of the invention collects the track information of the user, obtains the identification landmark related to the movement track of the user through Voronoi graphing, and recommends the house source suitable for the user to the user through the relationship between the current position information of the user and the identification landmark, thereby ensuring that the recommended house source is closest to the identification landmark of the user, realizing the consistency between the recommended house source and the movement track of the user and being more efficient than the prior recommendation technology.
For better understanding of the embodiment of the present invention, fig. 4 is a flowchart illustrating a room source recommending method according to an embodiment of the present invention, including the following steps:
step 401, an intelligent terminal of a user acquires position information of the user in real time;
step 402, the intelligent terminal sends the real-time position information of the user to a server;
step 403, the server acquires a movement track of the user in a preset area within a preset time period, wherein the movement track includes real-time position information of the user;
step 404, extracting landmark information in the movement track according to a preset landmark type, wherein the landmark information comprises position coordinates of landmarks, user stay time and user passing times;
step 405, obtaining a weight value corresponding to a landmark in the landmark information according to the landmark information;
step 406, determining whether the weight value corresponding to the landmark exceeds a predetermined threshold, if so, executing step 407, otherwise, executing step 408;
step 407, determining the landmark of which the corresponding weight value exceeds the predetermined threshold as an identification landmark;
step 408, deleting landmarks of which the corresponding weight values do not exceed the preset threshold;
step 409, marking the identification landmark and a landmark with the same preset landmark type as the identification landmark on the map in the preset area to obtain a landmark graph to be processed;
step 410, carrying out Voronoi graphing on the landmarks in the landmark graph to be processed to obtain Thiessen polygons formed by the landmarks in the landmark graph to be processed, and determining the Thiessen polygons as the preset landmark graphs, wherein each polygon in the Thiessen polygons contains one landmark in the preset landmark graph;
step 411, when the intelligent terminal of the user receives the instruction of obtaining the recommended house source, the intelligent terminal of the user obtains the current position information of the user and sends the current position information to the server;
step 412, the server obtains the current position information of the user;
step 413, determining whether the current position information is in one of the Thiessen polygons, if yes, executing step 414, otherwise executing step 415;
step 414, determining the landmark in the polygon as the landmark to be pushed;
step 415, extracting weight values corresponding to landmarks in two polygons to which the edge line belongs, comparing the weight values corresponding to the two landmarks, and determining the landmark with a higher weight value as the landmark to be pushed;
step 416, recommending the house source in the polygon to which the landmark to be pushed belongs to the intelligent terminal of the user;
and 417, displaying the information of the recommended house source by the intelligent terminal of the user.
According to the technical scheme, the current position information of the user is obtained, the landmark to be pushed is determined according to the current position information and a preset landmark diagram, wherein the preset landmark diagram comprises identification landmark information related to the movement track of the user in the preset area, and then the house source in the preset range of the landmark to be pushed is recommended to the user. The embodiment of the invention solves the problem of low efficiency of actively searching and acquiring the house resources by the user in the prior art, and recommends the house resources for the user by combining the movement track of the user, thereby realizing more efficient house resource recommendation which better meets the actual needs of the user.
Correspondingly, fig. 5 is a schematic structural diagram of a house source recommending apparatus according to an embodiment of the present invention. As shown in fig. 5, the apparatus 50 includes: an acquisition unit 51 for acquiring current location information of a user; the processing unit 52 is configured to determine a landmark to be pushed according to the current position information and a preset landmark diagram, where the preset landmark diagram includes identification landmark information generated according to a movement track of the user in a predetermined area; and the recommending unit 53 is configured to recommend the house resources within the preset range of the landmark to be pushed to the user.
Further, as shown in fig. 6, the apparatus further includes: the diagram establishing unit 54 is configured to obtain a moving track of the user in the predetermined area within a preset time period; extracting corresponding landmark information in the moving track according to a preset landmark type, wherein the landmark information comprises position coordinates of landmarks, user stay time and user passing times; obtaining a weight value corresponding to the landmark in the landmark information according to the landmark information; judging whether the weight value corresponding to the landmark exceeds a preset threshold value or not, and determining the landmark of which the corresponding weight value exceeds the preset threshold value as an identification landmark; labeling the identification landmark and a landmark with the same preset landmark type as the identification landmark to obtain a landmark diagram to be processed; and performing von neumoniae mapping on the landmarks in the landmark graph to be processed to obtain Thiessen polygons formed by the landmarks in the landmark graph to be processed, and determining the Thiessen polygons as the preset landmark graphs, wherein each polygon in the Thiessen polygons contains one landmark in the preset landmark graph.
Further, the diagram establishing unit is also used for establishing the diagram according to
Figure BDA0002237837090000121
Obtaining a weight value P corresponding to the landmark in the landmark information, wherein α is a weight coefficient of the stay time of the user, β is a weight coefficient of the number of times of the user passing, TiThe stay time of the user passing through the order landmark for the ith time, and n is the number of times that the user passes through the landmark.
Further, as shown in fig. 7, the processing unit 52 includes: a judging module 521, configured to judge whether the current position information is in one of the thiessen polygons; a determining module 522, configured to determine, when the current position information is in one of the thiessen polygons, a landmark in the polygon as the landmark to be pushed; and when the current position information is on the edge line of the polygon in the Thiessen polygon, determining the landmark to be pushed according to the weight value corresponding to the landmark in the polygon to which the edge line belongs.
Further, the determining module is further configured to, when the current position information is on an edge of a polygon in the thiessen polygons, extract weight values corresponding to landmarks in two polygons to which the edge belongs; comparing the weight values corresponding to the two landmarks; and determining the landmark with a higher weight value as the landmark to be pushed.
Further, the recommending unit is further configured to recommend the house source in the polygon to which the landmark to be pushed belongs to the user.
Further, as shown in fig. 8, the apparatus further includes: an updating unit 55, configured to update a weight value corresponding to a landmark in one of the thiessen polygons when the current position information is in the polygon.
The implementation process of the house resource recommending device in the above embodiment can be referred to the implementation process of the house resource recommending method in the above embodiment.
Correspondingly, the embodiment of the invention also provides a server, and the server is used for executing the house source recommending method in the embodiment.
Accordingly, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the house source recommendation method according to the above embodiment.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the electronic device and the like are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may also be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing an electronic device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A house source recommendation method, the method comprising:
acquiring current position information of a user;
determining a landmark to be pushed according to the current position information and a preset landmark diagram, wherein the preset landmark diagram comprises identification landmark information generated according to a movement track of the user in a preset area;
and recommending the house resources within the preset range of the landmark to be pushed to the user.
2. The house source recommendation method according to claim 1, wherein the preset landmark representation is obtained by:
acquiring a moving track of the user in the preset area within a preset time period;
extracting corresponding landmark information in the moving track according to a preset landmark type, wherein the landmark information comprises position coordinates of landmarks, user stay time and user passing times;
obtaining a weight value corresponding to the landmark in the landmark information according to the landmark information;
judging whether the weight value corresponding to the landmark exceeds a preset threshold value or not, and determining the landmark of which the corresponding weight value exceeds the preset threshold value as an identification landmark;
labeling the identification landmark and a landmark with the same preset landmark type as the identification landmark to obtain a landmark diagram to be processed;
and performing von neumoniae mapping on the landmarks in the landmark graph to be processed to obtain Thiessen polygons formed by the landmarks in the landmark graph to be processed, and determining the Thiessen polygons as the preset landmark graphs, wherein each polygon in the Thiessen polygons contains one landmark in the preset landmark graph.
3. The house source recommending method according to claim 2, wherein the obtaining of the weight value corresponding to the landmark in the landmark information according to the landmark information comprises:
according to
Figure FDA0002237837080000011
Obtaining a weight value P corresponding to the landmark in the landmark information, wherein α is a weight coefficient of the stay time of the user, β is a weight coefficient of the number of times of the user passing, TiThe stay time of the user passing through the order landmark for the ith time, and n is the number of times that the user passes through the landmark.
4. The house source recommendation method of claim 2, wherein determining the landmark to be pushed according to the current position information and a preset landmark graph comprises:
judging whether the current position information is in one polygon of the Thiessen polygons;
when the current position information is in one polygon in the Thiessen polygons, determining a landmark in the polygon as the landmark to be pushed;
and when the current position information is on the edge line of the polygon in the Thiessen polygon, determining the landmark to be pushed according to the weight value corresponding to the landmark in the polygon to which the edge line belongs.
5. The house source recommending method of claim 4, wherein, when the current position information is on an edge of a polygon in the Thiessen polygons, determining the landmark to be pushed according to a weight value corresponding to the landmark in the polygon to which the edge belongs comprises:
when the current position information is on the side line of the polygon in the Thiessen polygons, extracting the weight values corresponding to the landmarks in the two polygons to which the side line belongs;
comparing the weight values corresponding to the two landmarks;
and determining the landmark with a higher weight value as the landmark to be pushed.
6. The house source recommending method according to claim 4, wherein recommending the house source to the user within the preset range of the landmark to be pushed comprises:
and recommending the house source in the polygon to which the landmark to be pushed belongs to the user.
7. The house source recommending method according to claim 4, wherein after the obtaining of the current location information of the user, before the determining of the landmark to be pushed according to the current location information and the preset landmark graph, the method further comprises:
when the current position information is in one polygon in the Thiessen polygons, updating the weight value corresponding to the landmark in the polygon.
8. A room source recommendation device, the device comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the current position information of a user;
the processing unit is used for determining the landmark to be pushed according to the current position information and a preset landmark diagram, wherein the preset landmark diagram comprises identification landmark information generated according to the movement track of the user in a preset area;
and the recommending unit is used for recommending the house resources within the preset range of the landmark to be pushed to the user.
9. A server, characterized in that the server is adapted to perform the room source recommendation method according to any one of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a computer to perform the method of any of claims 1-7.
CN201910989670.3A 2019-10-17 2019-10-17 House resource recommendation method, device, server and computer readable storage medium Active CN110866182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910989670.3A CN110866182B (en) 2019-10-17 2019-10-17 House resource recommendation method, device, server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910989670.3A CN110866182B (en) 2019-10-17 2019-10-17 House resource recommendation method, device, server and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110866182A true CN110866182A (en) 2020-03-06
CN110866182B CN110866182B (en) 2020-07-10

Family

ID=69652695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910989670.3A Active CN110866182B (en) 2019-10-17 2019-10-17 House resource recommendation method, device, server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110866182B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013093015A (en) * 2011-10-06 2013-05-16 Nippon Telegr & Teleph Corp <Ntt> Information recommendation method, device, and program
CN107770036A (en) * 2016-08-16 2018-03-06 北京嘀嘀无限科技发展有限公司 Information of real estate retrieval, data receiver are with sending processing method, server and device
CN109636464A (en) * 2018-12-11 2019-04-16 深圳市房多多网络科技有限公司 Intelligence based on AR technology looks for room method and system
CN110163685A (en) * 2019-05-27 2019-08-23 珠海幸福家网络科技股份有限公司 The customer priorities analysis system and analysis method of room track are seen based on client
CN110175190A (en) * 2019-04-15 2019-08-27 平安科技(深圳)有限公司 Source of houses recommended method, device, computer equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013093015A (en) * 2011-10-06 2013-05-16 Nippon Telegr & Teleph Corp <Ntt> Information recommendation method, device, and program
CN107770036A (en) * 2016-08-16 2018-03-06 北京嘀嘀无限科技发展有限公司 Information of real estate retrieval, data receiver are with sending processing method, server and device
CN109636464A (en) * 2018-12-11 2019-04-16 深圳市房多多网络科技有限公司 Intelligence based on AR technology looks for room method and system
CN110175190A (en) * 2019-04-15 2019-08-27 平安科技(深圳)有限公司 Source of houses recommended method, device, computer equipment and computer readable storage medium
CN110163685A (en) * 2019-05-27 2019-08-23 珠海幸福家网络科技股份有限公司 The customer priorities analysis system and analysis method of room track are seen based on client

Also Published As

Publication number Publication date
CN110866182B (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN109190043B (en) Recommendation method and device, storage medium, electronic device and recommendation system
CN110532414B (en) Picture retrieval method and device
US11443015B2 (en) Generating prediction models in accordance with any specific data sets
WO2016015444A1 (en) Target user determination method, device and network server
CN105187237B (en) The method and apparatus for searching associated user identifier
CN110211119B (en) Image quality evaluation method and device, electronic equipment and readable storage medium
CN109858683B (en) Method, device, electronic equipment and storage medium for determining business state of store
CN110019823B (en) Method and device for updating knowledge graph
CN110020144B (en) Recommendation model building method and equipment, storage medium and server thereof
CN111461812A (en) Object recommendation method and device, electronic equipment and readable storage medium
CN115238173B (en) Behavior analysis and medical service pushing method, equipment and medium based on big data
CN112241489A (en) Information pushing method and device, readable storage medium and computer equipment
CN110992124A (en) House resource recommendation method and system
CN110990541A (en) Method and device for realizing question answering
CN110968802B (en) Analysis method and analysis device for user characteristics and readable storage medium
WO2018227773A1 (en) Place recommendation method and apparatus, computer device, and storage medium
CN107688563B (en) Synonym recognition method and recognition device
CN110866182B (en) House resource recommendation method, device, server and computer readable storage medium
CN111191021A (en) Occupation prediction method, device, equipment and computer readable storage medium
CN104866818A (en) Method and device for searching pictures including human faces
CN107203561B (en) Data processing method and equipment
CN111125272B (en) Regional characteristic acquisition method, regional characteristic acquisition device, computer equipment and medium
CN113705683A (en) Recommendation model training method and device, electronic equipment and storage medium
CN110502715B (en) Click probability prediction method and device
CN108055638A (en) Obtain method, apparatus, computer-readable medium and the equipment of target location

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
TA01 Transfer of patent application right

Effective date of registration: 20200331

Address after: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Applicant after: Seashell Housing (Beijing) Technology Co.,Ltd.

Address before: 300280 unit 05, room 112, floor 1, building C, comprehensive service area, Nangang Industrial Zone, Binhai New Area, Tianjin

Applicant before: BEIKE TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40020896

Country of ref document: HK