CN106981034B - Method and device for generating housing use information - Google Patents

Method and device for generating housing use information Download PDF

Info

Publication number
CN106981034B
CN106981034B CN201710232339.8A CN201710232339A CN106981034B CN 106981034 B CN106981034 B CN 106981034B CN 201710232339 A CN201710232339 A CN 201710232339A CN 106981034 B CN106981034 B CN 106981034B
Authority
CN
China
Prior art keywords
wifi access
access point
wifi
user
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710232339.8A
Other languages
Chinese (zh)
Other versions
CN106981034A (en
Inventor
汪天一
李超
周景博
夏源
吴海山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710232339.8A priority Critical patent/CN106981034B/en
Publication of CN106981034A publication Critical patent/CN106981034A/en
Application granted granted Critical
Publication of CN106981034B publication Critical patent/CN106981034B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06Q50/163Property management

Abstract

The application discloses a method and a device for generating housing use information. One embodiment of the method comprises: acquiring wireless fidelity wifi connection information of at least one user, wherein the wifi connection information at least comprises a wifi identification and position information when the user is connected with a wifi access point, and the wifi identification is used for distinguishing each wifi access point; determining the position of each wifi access point through the position information when at least one user connected with the same wifi access point in a preset time period is connected with the wifi access point; counting the number of wifi access points in a preset area according to the position of each wifi access point; and generating the housing use information in the preset area according to the number of the wifi access points and the total number of the housings in the preset area. This embodiment may improve the effectiveness of generating the housing usage information.

Description

Method and device for generating housing use information
Technical Field
The present application relates to the field of computer technologies, and in particular, to the field of wireless network applications, and in particular, to a method and an apparatus for generating housing use information.
Background
The housing usage information may be used to reflect housing supply and demand conditions. For example, the housing usage information may include housing occupancy rates indicating demand to supply ratio conditions for the housing. At present, the house use information is mainly obtained through manual research, and time and labor are wasted. Meanwhile, due to the influence of human factors, the accuracy of the investigation result is not high. Therefore, in the prior art, the house use information is determined according to the manual research result, and the effectiveness is not high.
Disclosure of Invention
It is an object of the present application to provide an improved method and apparatus for generating housing usage information to solve the technical problems mentioned in the background section above.
In a first aspect, an embodiment of the present application provides a method for generating housing usage information, where the method includes: acquiring wireless fidelity wifi connection information of at least one user, wherein the wifi connection information at least comprises a wifi identification and position information when the user is connected with a wifi access point, and the wifi identification is used for distinguishing each wifi access point; determining the position of each wifi access point through the position information when at least one user connected with the same wifi access point in a preset time period is connected with the wifi access point; counting the number of wifi access points in a preset area according to the position of each wifi access point; and generating the housing use information in the preset area according to the number of the wifi access points and the total number of the housings in the preset area.
In some embodiments, the above wifi connection information further includes wifi signal strength, and before determining the location of each wifi access point, the method further includes, by using location information when at least one user connected to the same wifi access point within a predetermined time period is connected to the wifi access point: and screening wifi connection information of which the wifi signal intensity is smaller than a preset signal intensity threshold value.
In some embodiments, determining the location of each wifi access point according to the location information of at least one user connected to the same wifi access point within a predetermined time period when the wifi access point is connected comprises: for each wifi access point, acquiring the position coordinates of at least one user connected with the wifi access point within a preset time period when the at least one user is connected with the wifi access point; and determining the position of the wifi access point based on the average coordinate point of the acquired position coordinates.
In some embodiments, for each wifi access point, the method further comprises: calculating the average coordinate of the position coordinates of at least one user connected with the wifi access point in a preset time period when the user is connected with the wifi; and for each position coordinate, judging whether the distance between the position coordinate and the average coordinate meets a preset distance condition, and if so, screening out the position coordinate.
In some embodiments, the preset distance condition includes: the distance between the position coordinate and the average coordinate is larger than a preset multiple of the variance between the position coordinate and the average coordinate.
In some embodiments, the method further comprises: calculating the average coordinate of the position coordinate of at least one user connected with the wifi access point in a preset time period when the user is connected with the wifi access point; and judging whether the variance between the position coordinates when each user is connected with the wifi and the average coordinates is larger than a preset variance threshold value, and if so, screening out the wifi access point.
In some embodiments, the housing usage information includes at least one of: housing occupancy rate and housing vacancy rate; wherein, when the housing usage information includes a housing occupancy rate, the housing occupancy rate includes: wifi number/total number of houses; when the housing usage information includes a housing vacancy rate, the housing vacancy rate includes: 1-wifi number/total number of dwellings.
In a second aspect, an embodiment of the present application further provides an apparatus for generating housing usage information, where the apparatus includes: the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is configured to acquire wireless fidelity wifi connection information of at least one user, the wifi connection information at least comprises a wifi identifier and position information when the user is connected with a wifi access point, and the wifi identifier is used for distinguishing each wifi access point; the determining module is configured to determine the position of each wifi access point through position information when at least one user connected with the same wifi access point within a preset time period is connected with the wifi access point; the counting module is configured for counting the number of wifi access points in a preset area according to the position of each wifi access point; and the generation module is configured to generate the housing use information in the preset area according to the number of the wifi access points and the total number of the housings in the preset area.
In some embodiments, the wifi connection information further includes wifi signal strength, and the determining module is further configured to: and screening wifi connection information of which the wifi signal intensity is smaller than a preset signal intensity threshold value.
In some embodiments, the determining module is further configured to: for each wifi access point, acquiring the position coordinates of at least one user connected with the wifi access point within a preset time period when the at least one user is connected with the wifi access point; and determining the position of the wifi access point based on the average coordinate point of the acquired position coordinates.
In some embodiments, the apparatus further comprises a user location information filtering module configured to: calculating the average coordinate of the position coordinate of at least one user connected with the wifi access point in a preset time period when the at least one user is connected with the wifi access point; and for each position coordinate, judging whether the distance between the position coordinate and the average coordinate meets a preset distance condition, and if so, screening out the position coordinate.
In some embodiments, the preset distance condition includes: the distance between the position coordinate and the average coordinate is larger than a preset multiple of the variance between the position coordinate and the average coordinate.
In some embodiments, the apparatus further comprises a wifi access point filtering module configured to: calculating the average coordinate of the position coordinate of at least one user connected with the wifi access point in a preset time period when the user is connected with the wifi access point; and judging whether the variance between the position coordinates when each user is connected with the wifi and the average coordinates is larger than a preset variance threshold value, and if so, screening out the wifi access point.
In some embodiments, the housing usage information includes at least one of: housing occupancy rate and housing vacancy rate; wherein, when the housing usage information includes a housing occupancy rate, the housing occupancy rate includes: wifi number/total number of houses; when the housing usage information includes a housing vacancy rate, the housing vacancy rate includes: 1-wifi number/total number of dwellings.
In a third aspect, the present application further provides a computing device comprising: one or more processors; storage means for storing one or more programs; when executed by the one or more processors, cause the one or more processors to implement the methods described above.
According to the method and the device for generating the house use information, the wifi connection information of at least one user is obtained, the wifi connection information at least comprises a wifi identification and position information when the user is connected with a wifi access point, and the wifi identification is used for distinguishing each wifi access point; then, determining the position of each wifi access point through the position information when at least one user connected with the same wifi access point in a preset time period is connected with the wifi access point; then, counting the number of wifi access points in a preset area according to the position of each wifi access point; and then generating the housing use information in the preset area according to the number of the wifi access points in the preset area and the total number of the housings. Because the number of the used houses is determined according to the number of the wifi access points in use in the preset time period, the house use information is automatically generated, time and labor are saved, meanwhile, the influence of human factors is reduced, and the accuracy is improved, so that the effectiveness of the generated house use information is improved.
Drawings
Other features, objects and advantages of the present application 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 the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method of generating housing usage information according to the present application;
fig. 3a and 3b are schematic application scenarios of an embodiment of a method for generating housing usage information according to the present application;
FIG. 4 is a flow diagram of another embodiment of a method of generating housing usage information in accordance with the present application;
fig. 5 is a schematic diagram illustrating a determination of wifi access point positions for a certain preset area according to an embodiment of a method for generating housing usage information according to the present application;
FIG. 6 is a schematic block diagram of one embodiment of a device for generating housing usage information in accordance with the present application;
fig. 7 is a schematic structural diagram of a computer system suitable for implementing the terminal device or the server according to the embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the method of generating housing usage information or the apparatus for generating housing usage information of the present application 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. For example, the network 104 may include a wireless fidelity (wifi) access point or the like.
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 various communication client applications installed thereon, such as a browser application, a financing application, a social platform application, a shopping application, a search application, an instant messaging tool, a mailbox client, and the like. The terminal devices 101, 102, 103 may for example scan for wifi access points or the like implementing the network 104.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg Audio Layer 4), laptop and desktop computers, and the like.
The server 105 may be a server that provides various services, such as a background server or the like that provides support for browser applications, financial applications, and the like on the terminal devices 101, 102, 103. The server 105 can perform processing such as analysis on various data received. For example, the server 105 may process data such as information of wifi access points scanned when the terminal devices 101, 102, 103 access the network.
It should be noted that the method for generating the housing usage information provided in the present application is generally performed by the server 105. Accordingly, the housing use information generating means is generally provided in the server 105.
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 a method of generating housing usage information in accordance with the present application is shown. The method for generating the housing use information comprises the following steps:
step 201, obtaining wifi connection information of at least one user.
In the present embodiment, an electronic device (e.g., the server 105 shown in fig. 1) on which the method of generating housing use information operates may first acquire wifi connection information of at least one user. The wifi connection information at least comprises a wifi identification and position information when a user is connected with a wifi access point. Here, the wifi identifier may be a symbol (e.g., a character, a number, a punctuation mark, etc.) corresponding to the wifi access point one-to-one, which may be used to distinguish different wifi access points. For example, wifi identification may include, but is not limited to, at least one of: mac (Media Access Control) address, ssid (Service Set Identifier), and so on. The position information of the user when connecting with the wifi access point can be obtained through positioning of the terminal device used by the user, and the position information can be represented by longitude and latitude coordinates (such as 26 minutes of north latitude 40 degrees and 25 minutes of east longitude 116 degrees), buildings (such as 50 meters away from a television building) and the like.
It can be understood that the user in this embodiment may be a terminal device holder, and may also be a terminal device. In particular, the terminal device accesses or connects to other electronic devices (e.g., a background server that provides support for applications running on the terminal device), and the terminal device may act as a user. The terminal device holder may be a user, who may access or connect to other electronic devices through the terminal device. In bookIn an embodiment, the user may be represented by a user identifier (user ID), which may be a symbol used to identify the user identity when the user logs in on the internet, and may include, but is not limited to, at least one of the following: first part of a user's email address (e.g., email address)xxxx@163.comXxxx in (1)), a number used by the user to log in to the network platform (e.g., QQ number: 591829091), the device number of the terminal device used by the user (for example, the International Mobile Equipment Identity (IMEI) of the smartphone), and so on, which are not limited in this application.
Typically, a user may connect with a background server via a network through an application run by a terminal device. When the application running on the user terminal equipment is connected with the background server through the wifi access point, the electronic equipment can acquire wifi connection information of the wifi access point to which the terminal equipment is connected. When the electronic device is a background server which provides support for the application running by the terminal device, the wifi connection information can be directly acquired from the terminal device, and when the electronic device is other electronic devices different from the background server, the wifi connection information of the terminal device can be acquired from the background server.
In some optional implementations of this embodiment, the wifi connection information may further include, but is not limited to, at least one of the following: time to scan wifi (e.g., 9 am), location coordinates of the user (e.g., 26 degrees north latitude, 116 degrees east longitude, 25 degrees east longitude, etc.), signal strength of the scanned wifi access point (e.g., -70 db mw dBm), and so on.
Step 202, determining the position of each wifi access point according to the position information when at least one user connected with the same wifi access point within a preset time period is connected with the wifi access point.
In this embodiment, the electronic device (e.g., the server 105 shown in fig. 1) on which the method for generating the house use information operates may then distinguish different wifi access points according to wifi identifiers, and for each wifi access point, the electronic device may obtain the location information of at least one user connected to the wifi access point within a preset time period, and determine the location of the wifi access point according to the obtained location information of the at least one user.
Here, the predetermined period may be a predetermined period, for example, 1 year, 1 month from the current time, 2016 1 month 1 day in 1 year to 2017 1 month 1 day in 1 year, or the like. The population flow information can be manually set according to actual needs, or determined by a machine learning method according to population flow information, which is not limited in the application.
In some optional implementation manners of this embodiment, the electronic device may acquire, for each wifi access point, a location coordinate of at least one user connected to the wifi access point within a predetermined time period when the at least one user is connected to the wifi access point, and determine the location of the wifi access point based on an average coordinate point of the acquired location coordinates. For example, the electronic device may use the average coordinate point as the location of the wifi access point, or use the housing information corresponding to the average coordinate point as the location of the wifi access point (e.g., villa number 14). In some implementations, the electronic device may further obtain, for each wifi access point, an average coordinate of the position coordinates when at least one user connected to the wifi access point within a predetermined time period connects to the wifi, and then, determine, for each position coordinate, whether a distance between the position coordinate and the average coordinate satisfies a preset distance condition, and if so, screen out the position coordinate. The preset distance condition can be used for screening out position points which are not accurately positioned when the user is positioned according to actual requirements. For example, some positioning applications or positioning modules may locate the user's location at a default location (e.g., 0 degrees latitude, 0 degrees longitude, etc.) if the network signal is poor when performing the positioning. At this time, the default position does not represent the position of the actual user, and belongs to a position point with inaccurate positioning. Optionally, the preset distance condition may include: the distance between the position coordinate and the average coordinate is larger than a preset multiple (such as 3 times) of the variance between the position coordinate and the average coordinate.
In some optional implementation manners of this embodiment, the wifi connection information may further include wifi signal strength, and the electronic device may further determine, for each wifi access point, a location of the wifi access point according to a location track and the wifi signal strength when at least one user connected to the wifi access point within a predetermined time period connects to the wifi access point. For example, assuming that the wifi signal intensity at a certain position on one approximate linear position track of one user is the largest and the signal intensities at two sides are gradually decreased, and the wifi signal intensity at a certain position on another approximate linear position track of another user is the largest and the signal intensities at two sides are gradually decreased, the electronic device may determine the intersection point of the straight lines perpendicular to the wifi signal intensity at the largest of the two linear position tracks as the position of the wifi access point.
And 203, counting the number of the wifi access points in the preset area according to the positions of the wifi access points.
In this embodiment, the electronic device (for example, the server 105 shown in fig. 1) on which the method for generating the house use information operates may further count the number of wifi access points in the preset area according to the location of the wifi access point determined in step 202. Here, the preset area may be, for example, a building, a cell, a city, or the like. The preset area may be represented by a coordinate area, for example, 39 degrees 28 to 41 degrees 05 minutes north latitude, 115 degrees 24 to 117 degrees 30 minutes east longitude, or may be represented by an area boundary line drawn on a map, which is not limited in the present application. The electronic equipment can count the number of wifi access points of which the position coordinates fall into a preset area coordinate range, and also can count the number of wifi access points in a range defined by an area boundary line on a map.
And 204, generating housing use information in the preset area according to the number of the wifi access points and the number of the housings in the preset area.
In this embodiment, the electronic device (for example, the server 105 shown in fig. 1) on which the method for generating the housing use information operates may further generate the housing use information in the preset area according to the number of wifi access points and the number of housings in the preset area. The number of houses may include the total number of houses in a preset area, such as the number of unit houses. The number of houses can be obtained from local producers and house intermediaries, or can be obtained by capturing house introduction webpages in relevant areas and the like.
The housing usage information may include, for example, but is not limited to, at least one of: housing occupancy, housing vacancy rate, and the like. In this embodiment, a wifi access point can be regarded as a set of living houses. The housing occupancy rate in the preset area can be calculated by the following method: the housing entrance rate in the preset area is equal to the wifi number in the preset area/the total number of the housings in the preset area; the living room vacancy rate in the preset area can be calculated by the following method: 1-housing occupancy in the preset area.
In some optional implementations of this embodiment, if the wifi connection information acquired in step 201 further includes wifi signal strength, before step 202, the following steps may be further included: and screening wifi connection information of which the wifi signal intensity is smaller than a preset signal intensity threshold value. Through this step, can filter out the wifi connection information that signal strength is weak, reduce the calculated amount.
As an application scenario, the method for generating housing use information provided by the present application may be applied to a background server for providing support for financial applications, for example. As shown in fig. 3a and 3b, the financial application may be installed and run on the terminal 301. In the application scenario 300 of fig. 3a and 3b, a user may interact with the server 303 through a financing application running on the terminal 301.
Referring first to fig. 3a, a terminal 301 is connected to a wifi access point 302, and the terminal 301 sends a connection request to a server 303 through step 3001. Then, through step 3002, the terminal 301 establishes a connection with the server 303, and the server 303 obtains wifi connection information of the terminal 301, where the wifi connection information at least may include a wifi identifier (such as a mac address) and location information (such as latitude and longitude coordinates) of the user when connecting to the server 303. Then, in step 3003, the server 303 may analyze wifi connection information of a plurality of terminals connected to the server 303 within a predetermined time period (e.g., within one year from the current date), and determine the location of each wifi access point according to the location information of the terminals connected to the same wifi access point. Next, in step 3004, the server 303 may count the number of wifi access points in each preset area according to a plurality of preset areas defined in advance. Then, in step 3005, the server 303 may generate the housing usage information corresponding to the preset area, for example, generate the housing vacancy rate, according to the number of wifi access points and the total number of housings in each preset area. In practice, the server 303 may capture and store the total number of houses in each preset area in advance. Next, in step 3006, the user requests a recommendation of house property investment in a certain preset area (e.g. a certain residential area) from the server 303 through the financing application running on the terminal 301. The server 303 returns a property investment advice including the requested housing use information of the preset area to the terminal 301 according to the received request.
To more clearly illustrate the effect achieved by the embodiment of the method for generating housing usage information of the present application, please continue to refer to fig. 3 b. In fig. 3b, the terminal 301 displays the "xx cell investment analysis" information returned by the server 303, wherein in the displayed page, the housing use information — the "housing vacancy rate 80%" is included.
It is to be understood that, although the application scenarios in fig. 3a and 3b are described in the case where the terminal 301 executes the method for generating the housing use information in the present application, fig. 3a and 3b do not limit the application scenario in the present embodiment. The method of generating housing use information of the present embodiment can be applied to various applicable scenarios. In this embodiment, the server 303 may obtain wifi connection information of the terminal 301 when the terminal 301 connects to the network through the financial application supported by the server 303, and may also obtain wifi connection information of the terminal 301 when the terminal connects to the network through an application (e.g., a browser application) supported by another server from another server (e.g., a web server).
Therefore, according to the method for generating the house use information, the house check-in number is determined according to the number of the wifi access points used in the preset time period, the house use information is automatically generated, time and labor are saved, meanwhile, the influence of human factors is reduced, the accuracy is improved, and therefore the effectiveness of the house use information is improved.
With continued reference to fig. 4, a flow 400 of another embodiment of a method of generating housing usage information in accordance with the present application is shown. The method for generating the housing use information comprises the following steps:
step 401, obtaining wifi connection information of at least one user.
In the present embodiment, an electronic device (e.g., the server 105 shown in fig. 1) on which the method of generating housing use information operates may first acquire wifi connection information of at least one user. The wifi connection information at least comprises a wifi identification and position information when a user is connected with a wifi access point. Here, the wifi identifier may be a symbol (e.g., mac address, ssid, etc.) corresponding to the wifi access point one-to-one, which may be used to distinguish different wifi access points. The position information of the user when the user is connected with the wifi access point can be obtained through positioning of the terminal device used by the user.
Step 402, for each wifi access point, executing the following steps:
step 4021, calculating an average coordinate of position coordinates of at least one user connected with the wifi access point in a preset time period when the at least one user is connected with the wifi access point;
in this embodiment, the electronic device may average the position coordinates of at least one user connected to the wifi access point within a predetermined time period when the at least one user is connected to the wifi access point, so as to obtain an average coordinate. The position coordinate may be a longitude and latitude coordinate, or a coordinate mapped to a map by positioning the terminal device, which is not limited herein.
Step 4022, judging whether the variance between the position coordinates when each user is connected with the wifi and the average coordinates is larger than a preset variance threshold value, and if so, screening out the wifi access point.
In this embodiment, the electronic device may further calculate a variance between the position coordinate when each user connects to the wifi and the average coordinate, and determine whether the variance is greater than a preset variance threshold, and if so, screen out the wifi access point.
As an example, suppose that the position coordinates when two users connect to the wifi are (a) respectively1,b1)、(a2,b2) Their mean coordinate is (a)0,b0) Wherein a is0=(a1+a2)/2,b0=(b1+b2) And/2, the variance between the position coordinates and the average coordinates when the two users connect the wifi is as follows: [ (a)1-a0)2+(b1-b0)2+(a2-a0)2+(b2-b0)2]/2。
Here, the preset variance threshold may be set, or may be obtained by a machine learning method. Taking a machine learning method as an example, the electronic device may use each position coordinate of the plurality of mobile wifi access points as a sample, calculate a variance between each position coordinate and an average coordinate for each sample, and use an obtained minimum variance as a preset variance threshold.
When the wifi access point is screened out, the electronic equipment can delete wifi connection information related to the wifi access point, and also can set an invalid mark for a corresponding wifi mark, so that the application is not limited.
Through this step 402, the electronic device may filter out a mobile wifi access point, for example, a wifi hotspot generated by a smartphone.
Step 403, determining the position of each wifi access point according to the position information when at least one user connected with the same wifi access point within a predetermined time period is connected with the wifi access point.
In this embodiment, the electronic device may further obtain, for each wifi access point remaining after the screening in step 402, location information of at least one user connected to the wifi access point within a preset time period, and determine a location of the wifi access point according to the obtained location information of the at least one user. In some implementations, the electronic device may calculate an average coordinate of the location coordinates of at least one user connected to the wifi access point within a preset time period, and determine the average coordinate point as the location of the wifi access point.
And step 404, counting the number of the wifi access points in the preset area according to the positions of the wifi access points.
In this embodiment, the electronic device may further count the number of wifi access points in the preset area according to the location of the wifi access point determined in step 403. Here, the preset area may be, for example, a building, a cell, a city, or the like. As an example, referring to fig. 5, the electronic device determines a plurality of wifi access points 501 in a preset area surrounded by a boundary 502. The electronic device can use the number of the wifi access points 501 as the number of the residential accommodations of the preset area.
And 405, sequentially combining the candidate words corresponding to the syllable units to generate a candidate word combination.
And generating housing use information in the preset area according to the number of the wifi access points and the number of the housings in the preset area.
In this embodiment, the electronic device may further generate the housing use information in the preset area according to the number of wifi access points and the number of housings in the preset area. The number of houses may include the total number of houses in a preset area, such as the number of unit houses. The number of houses can be obtained from local producers and house intermediaries, or can be obtained by capturing house introduction webpages in relevant areas and the like. The housing usage information may include, for example, but is not limited to, at least one of: housing occupancy, housing vacancy rate, and the like.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the flow 400 of the method for generating housing usage information in the present embodiment can screen out the mobile wifi access point through the added step 402. Therefore, the scheme described in the embodiment can improve the accuracy of determining the number of dwellings according to the wifi access point.
With further reference to fig. 6, as an implementation of the above-described method of generating housing usage information, the present application provides an embodiment of a device for generating housing usage information, which corresponds to the embodiment of the method shown in fig. 2.
As shown in fig. 6, the housing use information generating apparatus 600 of the present embodiment includes: an obtaining module 601, a determining module 602, a counting module 603 and a generating module 604. The obtaining module 601 may be configured to obtain wifi connection information of at least one user, where the wifi connection information at least may include a wifi identifier and location information of the user when the user connects to a wifi access point, and the wifi identifier is used to distinguish each wifi access point; the determining module 602 may be configured to determine the location of each wifi access point according to location information when at least one user connected to the same wifi access point within a predetermined time period is connected to the wifi access point; the counting module 603 may be configured to count the number of wifi access points in a preset area according to the position of each wifi access point; the generating module 604 may be configured to generate the living room use information in the preset area according to the number of wifi access points and the total number of living rooms in the preset area.
In some optional implementation manners of this embodiment, the wifi connection information may further include wifi signal strength. At this point, the determining module 602 may be further configured to: and screening wifi connection information of which the wifi signal intensity is smaller than a preset signal intensity threshold value.
In some optional implementations of this embodiment, the determining module 602 may be further configured to: for each wifi access point, acquiring the position coordinates of at least one user connected with the wifi access point within a preset time period when the at least one user is connected with the wifi access point; and determining the position of the wifi access point based on the average coordinate point of the acquired position coordinates.
In some optional implementations of this embodiment, the apparatus 600 may further include a user location information filtering module (not shown) configured to: calculating the average coordinate of the position coordinate of at least one user connected with the wifi access point in a preset time period when the at least one user is connected with the wifi access point; and for each position coordinate, judging whether the distance between the position coordinate and the average coordinate meets a preset distance condition, and if so, screening out the position coordinate. In some implementations, the preset distance condition may include: the distance between the position coordinate and the average coordinate is larger than a preset multiple of the variance between the position coordinate and the average coordinate.
In some optional implementations of this embodiment, the apparatus may further include a wifi access point filtering module (not shown) configured to: calculating the average coordinate of the position coordinate of at least one user connected with the wifi access point in a preset time period when the user is connected with the wifi access point; and judging whether the variance between the position coordinates when each user is connected with the wifi and the average coordinates is larger than a preset variance threshold value, and if so, screening out the wifi access point.
In some optional implementations of the present embodiment, the housing usage information referred to herein may include at least one of: housing occupancy rate and housing vacancy rate; wherein, when the housing usage information includes a housing occupancy rate, the housing occupancy rate includes: wifi number/total number of houses; when the housing usage information includes a housing vacancy rate, the housing vacancy rate includes: 1-wifi number/total number of dwellings.
It is to be noted that modules described in the apparatus 600 for generating housing use information correspond to respective steps in the method described with reference to fig. 2. Thus, the operations and features described above for the method are also applicable to the apparatus 600 and the modules or units included therein, and are not described herein again.
Those skilled in the art will appreciate that the above-described means 600 for generating housing usage information also includes some other well-known structure, such as a processor, memory, etc., which is not shown in fig. 6 in order to not unnecessarily obscure embodiments of the present disclosure.
Referring now to FIG. 7, shown is a block diagram of a computer system 700 suitable for use in implementing the terminal device/server of an embodiment of the present application. The terminal device/server shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM703, various programs and data necessary for the operation of the system 700 are also stored. The CPU701, the ROM 702, and the RAM703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard or a touch panel; an output section 707 including a display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), or the like; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
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 in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program, when executed by a Central Processing Unit (CPU)701, performs the above-described functions defined in the method of the present application. It should be noted that the non-volatile computer readable medium described herein may be a non-volatile computer readable signal medium or a non-volatile computer readable storage medium or any combination of the two. A non-transitory 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 non-volatile computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a non-transitory 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 this application, however, a computer readable signal medium may include 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: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
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 application. 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 modules described in the embodiments of the present application may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes an acquisition module, a determination module, a statistics module, and a generation module. The names of these modules do not in some cases constitute a limitation on the unit itself, for example, the obtaining module may also be described as a "module configured to obtain wifi connection information of at least one user".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: acquiring wireless fidelity wifi connection information of at least one user, wherein the wifi connection information at least comprises a wifi identification and position information when the user is connected with a wifi access point, and the wifi identification is used for distinguishing each wifi access point; determining the position of each wifi access point through the position information when at least one user connected with the same wifi access point in a preset time period is connected with the wifi access point; counting the number of wifi access points in a preset area according to the position of each wifi access point; and generating the housing use information in the preset area according to the number of the wifi access points and the total number of the housings in the preset area.
The above description is only a preferred embodiment of the application 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 invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (14)

1. A method of generating housing usage information, the method comprising:
acquiring wireless fidelity wifi connection information of at least one user, wherein the wifi connection information at least comprises a wifi identification and position information when the user is connected with a wifi access point, and the wifi identification is used for distinguishing each wifi access point;
filtering mobile wifi access points in each wifi access point;
determining the position of each wifi access point through the position information when at least one user connected with the same wifi access point in a preset time period is connected with the wifi access point;
counting the number of wifi access points in a preset area according to the position of each wifi access point;
generating housing use information in a preset region according to the number of wifi access points and the total number of housings in the preset region;
the position information when at least one user who passes through the same wifi access point in the predetermined time quantum is connected with the wifi access point determines the position of each wifi access point, and the method comprises the following steps:
for each of the wifi access points,
acquiring the position coordinates of at least one user connected with the wifi access point in a preset time period when the user is connected with the wifi access point;
and taking the average coordinate point of the acquired position coordinates as the position of the wifi access point, or taking the housing information corresponding to the average coordinate point as the position of the wifi access point.
2. The method of claim 1, wherein the wifi connectivity information further comprises wifi signal strength, and
before determining the position of each wifi access point through the position information when at least one user connected with the same wifi access point within a predetermined time period is connected with the wifi access point, the method further comprises the following steps:
and screening wifi connection information of which the wifi signal intensity is smaller than a preset signal intensity threshold value.
3. The method of claim 1, wherein for each wifi access point, the method further comprises:
calculating the average coordinate of the position coordinates of at least one user connected with the wifi access point in a preset time period when the user is connected with the wifi access point;
and for each position coordinate, judging whether the distance between the position coordinate and the average coordinate meets a preset distance condition, and if so, screening out the position coordinate.
4. The method of claim 3, wherein the preset distance condition comprises: the distance between the position coordinate and the average coordinate is larger than a preset multiple of the variance between the position coordinate and the average coordinate.
5. The method according to any one of claims 1-4, wherein the filtering of mobile wifi access points in each wifi access point comprises:
for each of the wifi access points,
calculating the average coordinate of the position coordinates of at least one user connected with the wifi access point in a preset time period when the user is connected with the wifi access point;
and judging whether the variance between the position coordinates when each user is connected with the wifi access point and the average coordinates is larger than a preset variance threshold value or not, and screening out the wifi access point if the variance is larger than the preset variance threshold value.
6. The method of claim 1, wherein the housing usage information comprises at least one of: housing occupancy rate and housing vacancy rate;
the house occupancy rate calculation mode is as follows: number of wifi access points/total number of houses; the housing vacancy rate calculation mode is as follows: 1-number of wifi access points/total number of dwellings.
7. An apparatus to generate housing usage information, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is configured to acquire wireless fidelity wifi connection information of at least one user, the wifi connection information at least comprises a wifi identifier and position information when the user is connected with a wifi access point, and the wifi identifier is used for distinguishing each wifi access point;
the wifi access point filtering module is configured for filtering mobile wifi access points in the wifi access points;
the determining module is configured to determine the position of each wifi access point through position information when at least one user connected with the same wifi access point within a preset time period is connected with the wifi access point;
the counting module is configured for counting the number of wifi access points in a preset area according to the position of each wifi access point;
the generation module is configured to generate housing use information in a preset region according to the number of wifi access points and the total number of housings in the preset region;
the determination module is further configured to:
for each of the wifi access points,
acquiring the position coordinates of at least one user connected with the wifi access point in a preset time period when the user is connected with the wifi access point;
and determining the position of the wifi access point by using the average coordinate point of the acquired position coordinates, or taking the housing information corresponding to the average coordinate point as the position of the wifi access point.
8. The apparatus of claim 7, wherein the wifi connectivity information further comprises wifi signal strength, and
the determination module is further configured to:
and screening wifi connection information of which the wifi signal intensity is smaller than a preset signal intensity threshold value.
9. The apparatus of claim 7, further comprising a user location information filtering module configured to:
for each of the wifi access points,
calculating the average coordinate of the position coordinates of at least one user connected with the wifi access point in a preset time period when the user is connected with the wifi access point;
and for each position coordinate, judging whether the distance between the position coordinate and the average coordinate meets a preset distance condition, and if so, screening out the position coordinate.
10. The apparatus of claim 9, wherein the preset distance condition comprises: the distance between the position coordinate and the average coordinate is larger than a preset multiple of the variance between the position coordinate and the average coordinate.
11. The apparatus according to any of claims 7-10, wherein the wifi access point filtering module is further configured to:
for each of the wifi access points,
calculating the average coordinate of the position coordinates of at least one user connected with the wifi access point in a preset time period when the user is connected with the wifi access point;
and judging whether the variance between the position coordinates when each user is connected with the wifi access point and the average coordinates is larger than a preset variance threshold value or not, and screening out the wifi access point if the variance is larger than the preset variance threshold value.
12. The apparatus of claim 7, wherein the housing usage information comprises at least one of: housing occupancy rate and housing vacancy rate;
the house occupancy rate calculation mode is as follows: number of wifi access points/total number of houses; when the house use information calculation mode is as follows: 1-number of wifi access points/total number of dwellings.
13. A computing device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
14. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method of any one of claims 1-6.
CN201710232339.8A 2017-04-11 2017-04-11 Method and device for generating housing use information Active CN106981034B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710232339.8A CN106981034B (en) 2017-04-11 2017-04-11 Method and device for generating housing use information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710232339.8A CN106981034B (en) 2017-04-11 2017-04-11 Method and device for generating housing use information

Publications (2)

Publication Number Publication Date
CN106981034A CN106981034A (en) 2017-07-25
CN106981034B true CN106981034B (en) 2021-05-04

Family

ID=59343817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710232339.8A Active CN106981034B (en) 2017-04-11 2017-04-11 Method and device for generating housing use information

Country Status (1)

Country Link
CN (1) CN106981034B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811481A (en) * 2011-06-03 2012-12-05 北京千橡网景科技发展有限公司 Method and equipment for determining positions of wireless access points
CN103119470A (en) * 2010-07-21 2013-05-22 韩国贸易信息通信株式会社 System and method for location-based service for navigating indoors
CN104640208A (en) * 2015-03-09 2015-05-20 西安时云软件科技有限公司 Method for obtaining position information of wireless AP (access point) and wireless AP
CN105137942A (en) * 2015-09-07 2015-12-09 湖南物泰信息科技有限公司 Smart hotel room intelligent control system
CN105353346A (en) * 2015-11-11 2016-02-24 努比亚技术有限公司 Mobile terminal and hot spot positioning method thereof
CN105530608A (en) * 2015-12-15 2016-04-27 努比亚技术有限公司 WiFi hotspot positioning method and mobile terminal
CN106405493A (en) * 2016-09-06 2017-02-15 北京易游华成科技有限公司 People flow tracking method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101346638A (en) * 2005-11-07 2009-01-14 高通股份有限公司 Positioning for WLANs and other wireless networks

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103119470A (en) * 2010-07-21 2013-05-22 韩国贸易信息通信株式会社 System and method for location-based service for navigating indoors
CN102811481A (en) * 2011-06-03 2012-12-05 北京千橡网景科技发展有限公司 Method and equipment for determining positions of wireless access points
CN104640208A (en) * 2015-03-09 2015-05-20 西安时云软件科技有限公司 Method for obtaining position information of wireless AP (access point) and wireless AP
CN105137942A (en) * 2015-09-07 2015-12-09 湖南物泰信息科技有限公司 Smart hotel room intelligent control system
CN105353346A (en) * 2015-11-11 2016-02-24 努比亚技术有限公司 Mobile terminal and hot spot positioning method thereof
CN105530608A (en) * 2015-12-15 2016-04-27 努比亚技术有限公司 WiFi hotspot positioning method and mobile terminal
CN106405493A (en) * 2016-09-06 2017-02-15 北京易游华成科技有限公司 People flow tracking method and apparatus

Also Published As

Publication number Publication date
CN106981034A (en) 2017-07-25

Similar Documents

Publication Publication Date Title
CN107809331B (en) Method and device for identifying abnormal flow
CN109359170B (en) Method and apparatus for generating information
CN107172209B (en) Information pushing method and device
CN110633381B (en) Method and device for identifying false house source, storage medium and electronic equipment
CN109214501B (en) Method and apparatus for identifying information
WO2022142685A1 (en) Infection probability prediction method and apparatus for infectious disease, storage medium and electronic device
CN111784712B (en) Image processing method, device, equipment and computer readable medium
CN106455056B (en) Positioning method and device
CN110737726B (en) Method and device for determining test data of interface to be tested
CN111752834A (en) Automatic testing method and device
CN112954056A (en) Monitoring data processing method and device, electronic equipment and storage medium
CN111311305A (en) Method and system for analyzing user public traffic band based on user track
CN106981034B (en) Method and device for generating housing use information
CN114465919B (en) Network service testing method, system, electronic equipment and storage medium
CN110740418A (en) Method and device for generating user visit information
CN110458743B (en) Community management method, device, equipment and storage medium based on big data analysis
CN110084298B (en) Method and device for detecting image similarity
CN111125272B (en) Regional characteristic acquisition method, regional characteristic acquisition device, computer equipment and medium
CN112153091B (en) Method and device for determining relevance of equipment
CN111798340A (en) House type graph identification method and device and electronic equipment
CN112131832A (en) Method and device for reminding task state of online document and electronic equipment
CN111161067A (en) Method and device for determining transaction route
CN113010587A (en) Data source configuration method, device, terminal, server and medium
CN110990528A (en) Question answering method and device and electronic equipment
CN110633334A (en) Method and device for acquiring information

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