CN110247989A - The geographical position information acquisition method and system of smart home device - Google Patents
The geographical position information acquisition method and system of smart home device Download PDFInfo
- Publication number
- CN110247989A CN110247989A CN201910604672.6A CN201910604672A CN110247989A CN 110247989 A CN110247989 A CN 110247989A CN 201910604672 A CN201910604672 A CN 201910604672A CN 110247989 A CN110247989 A CN 110247989A
- Authority
- CN
- China
- Prior art keywords
- location information
- geographical location
- smart home
- home device
- address
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
Abstract
The present invention relates to internet of things field, present invention seek to address that the problem of existing smart home device position inaccurate, it is proposed the geographical position information acquisition method and system of a kind of smart home device, the described method includes: periodically obtaining the current IP address of smart home device, the first geographical location information of smart home device is obtained according to IP address;It is established after WiFi connect in smart home device and WiFi signal source AP, the second geographical location information of WiFi signal source AP is periodically obtained according to the address Mac of WiFi signal source AP;The actual geographic location information of smart home device is determined according to the first geographical location information and the second geographical location information.According to the first geographical location information and second location information, to determine the actual geographic position of smart home device, the accuracy for not having the smart home device positioning of GPS positioning function is improved, smart television is suitable for.
Description
Technical field
The present invention relates to internet of things field, a kind of geographical position information acquisition method and system are related in particular to.
Background technique
With the development of Internet of Things, smart home device is gradually popularized, many scenes of smart home device or application
It needs to obtain the geographical location information of smart home device preferably to experience to be supplied to user, for example, obtaining smart television
Geographical location information is in order to after-sales service, but existing most of smart home device does not have GPS positioning device, can not directly obtain
Take the geographical location information of smart home device.
The prior art proposes that a kind of method positioned by IP address, main technical solution include: beyond the clouds
It gets user and accesses the IP address of service, and data are stored in data warehouse;IP is converted into ground by IP resolver
Manage location information;Geographical location information is updated and enters equipment master data sheet.But this method is limited to the accuracy in IP parsing library,
Other than television operator network, since Internet data are needed by multiple Internet service providers and its equipment, and network
Link path changes often, causes television operator network environment complicated, can generate a large amount of IP address parsings and be not allowed to become with position
Change, the problem of identical IP corresponds to different actual geographic titles occurs.
Summary of the invention
Present invention seek to address that the problem of existing smart home device position inaccurate, propose a kind of smart home device
Geographical position information acquisition method and system.
The technical proposal adopted by the invention to solve the above technical problems is that: the geographical location information of smart home device obtains
Take method, comprising the following steps:
Step 1. periodically obtains the current IP address of smart home device, obtains the smart home according to the IP address
First geographical location information of equipment;
Step 2. is established after WiFi connect in smart home device and WiFi signal source AP, periodically according to the WiFi signal
The address Mac of source AP obtains the second geographical location information of WiFi signal source AP;
Step 3. determines the smart home device according to first geographical location information and the second geographical location information
Actual geographic location information.
Further, be the acquisition for realizing the first geographical location information, in step 1, it is described obtained according to IP address described in
First geographical location information of smart home device includes:
According to the corresponding geographical location information of current IP address of IP address location data library lookup smart home device, and
Using the geographical location information found as the first geographical location information, the IP address location database includes IP address and ground
Manage the corresponding relationship of location information.
It further, is the acquisition for realizing second location information, in step 2, the Mac according to WiFi signal source AP
Location obtain WiFi signal source AP the second geographical location information include:
The address Mac according to the WiFi signal source AP of Mac address location database lookup smart home device connection is corresponding
Geographical location information, and using the geographical location information found as the second geographical location information, the Mac address location number
It include the address Mac and the corresponding relationship of geographical location information of WiFi signal source AP according to library.
It further, is the acquisition for realizing second location information, in step 2, the Mac according to WiFi signal source AP
The second geographical location information of location acquisition WiFi signal source AP further include:
When the smart machine with positioning function in addition to smart home device is connect with the WiFi signal source AP,
The geographical location information that obtains the geographical location information of the smart machine, and will acquire is as the second geographical location information.
It further, is the determination for realizing smart home device actual geographic position, it is described according to the first in step 3
Reason location information and the second geographical location information determine that the actual geographic location information of the smart home device includes:
The first geographical location information and the second geographical location information that periodically obtain are counted, by the first geographical location
The most geographical location information of frequency of occurrence are determined as the actual geographic of smart home device in information and the second geographical location information
Location information.
The present invention also proposes that a kind of geographical location information of smart home device obtains system, comprising:
First acquisition unit is obtained for periodically obtaining the current IP address of smart home device according to the IP address
First geographical location information of the smart home device;
Second acquisition unit, for being established after WiFi connect in smart home device and WiFi signal source AP, regular basis
The address Mac of the WiFi signal source AP obtains the second geographical location information of WiFi signal source AP;
Determination unit, for determining the intelligent family according to first geographical location information and the second geographical location information
Occupy the actual geographic location information of equipment.
Further, the first acquisition unit is also used to:
According to the corresponding geographical location information of current IP address of IP address location data library lookup smart home device, and
Using the geographical location information found as the first geographical location information, the IP address location database includes IP address and ground
Manage the corresponding relationship of location information.
Further, the second acquisition unit is also used to:
The address Mac according to the WiFi signal source AP of Mac address location database lookup smart home device connection is corresponding
Geographical location information, and using the geographical location information found as the second geographical location information, the Mac address location number
It include the address Mac and the corresponding relationship of geographical location information of WiFi signal source AP according to library.
Further, the second acquisition unit is also used to:
When the smart machine with positioning function in addition to smart home device is connect with the WiFi signal source AP,
The geographical location information that obtains the geographical location information of the smart machine, and will acquire is as the second geographical location information.
Further, the determination unit is also used to:
The first geographical location information and the second geographical location information that periodically obtain are counted, by the first geographical location
The most geographical location information of frequency of occurrence are determined as the actual geographic of smart home device in information and the second geographical location information
Location information.
The beneficial effects of the present invention are: the geographical position information acquisition method of smart home device of the present invention and being
System, according to the second of the WiFi signal source AP that the first geographical location information obtained by IP address is connect with smart home device
Location information improves the smart home for not having GPS positioning function and sets to determine the actual geographic position of smart home device
The accuracy of standby positioning realizes accurate management and after-sales service to smart home device, and cost is relatively low.
Detailed description of the invention
Fig. 1 is the process signal of the geographical position information acquisition method of smart home device described in the embodiment of the present invention
Figure;
Fig. 2 is that the geographical location information of smart home device described in the embodiment of the present invention obtains the structural representation of system
Figure.
Specific embodiment
Embodiments of the present invention are described in detail below in conjunction with attached drawing.
The geographical position information acquisition method of smart home device of the present invention, comprising the following steps: periodically obtain
The current IP address of smart home device is believed according to the first geographical location that the IP address obtains the smart home device
Breath;It is established after WiFi connect in smart home device and WiFi signal source AP, periodically according to the Mac of the WiFi signal source AP
The second geographical location information of location acquisition WiFi signal source AP;Believed according to first geographical location information and the second geographical location
Breath determines the actual geographic location information of the smart home device.
Firstly, periodically obtaining IP address when its network connection, and according to IP after smart home device connects network
Location obtains corresponding first geographical location information, since the first geographical location information that IP address obtains may not be accurate position
Confidence breath, may be multiple and different geographical locations according to multiple first geographical location information that IP address periodically obtains therefore
Information;Then, it is established after WiFi connect in smart home device and WiFi signal source AP, periodically according to WiFi signal source AP's
The address Mac obtains the second geographical location information, when the position of smart home device does not change, the second geographical location information
It will not change, at this point, the second geographical location information periodically obtained is identical geographical location information, in intelligent family
Occupy equipment position change after, at this point, the second geographical location information periodically obtained then can also occur to change accordingly;Most
Afterwards, determine smart home device practically according to the first geographical location information and the second geographical location information that periodically obtain
Manage location information.
Embodiment
The geographical position information acquisition method of smart home device described in the embodiment of the present invention, as shown in Figure 1, include with
Lower step:
Step S1. periodically obtains the current IP address of smart home device, obtains the intelligent family according to the IP address
Occupy the first geographical location information of equipment;
Wherein, smart home device can be smart television, intelligent refrigerator, intelligent air condition or other smart home devices,
Specifically, may is that according to the first geographical location information that IP address obtains the smart home device
Firstly, establishing the IP address location database of the corresponding relationship including IP address and geographical location information, wherein IP
Corresponding relationship between address and geographical location information is the corresponding relationship between the IP and geographical location information of integer type format,
It can first be the IP of integer type format by the IP address conversion of string format before carrying out the first geographical location information acquisition,
Further according to the corresponding geographical location information of IP address of the IP address location data library lookup integer type format, and will find
Geographical location information is as the first geographical location information, and over time, the first geographical location information periodically obtained can
It can be multiple and different geographical location information.
Optionally, corresponding geographical location information is obtained according to IP address to be also possible to IP through IP address analysis program
Address conversion is corresponding first geographical location information.
Step S2. is established after WiFi connect in smart home device and WiFi signal source AP, is periodically believed according to the WiFi
The address Mac of number source AP obtains the second geographical location information of WiFi signal source AP;
Specifically, the address Mac including WiFi signal source AP and the corresponding relationship of geographical location information can be established first
Mac address location database, then according to the address Mac for the WiFi signal source AP being connect with smart home device in the address Mac
Its corresponding geographical location information is inquired in location database, wherein the geographical location information inquired is WiFi signal source AP
The geographical location information at place, but due to WiFi signal source AP with the geographical location of smart home device be it is corresponding, will
The geographical location information of the WiFi signal source AP inquired is as the second geographical location information.
Optionally, the second geographical location information can also obtain in the following manner: when in addition to smart home device
When smart machine with positioning function is connect with the WiFi signal source AP, the geographical location letter of the smart machine is obtained
Breath, and the geographical location information that will acquire is as the second geographical location information.
Specifically, the smart machine with positioning function in addition to smart home device can be smart phone, put down
Plate computer or other intelligence with positioning function are set, such as after smart phone is connect with WiFi signal source AP, due to intelligence
Expert's machine has a positioning function, therefore the location information of available smart phone, using the location information of smart phone as the
Two geographical location information can periodically obtain primary after smart phone connection.
Step S3. determines the smart home device according to first geographical location information and the second geographical location information
Actual geographic location information.
Wherein, specifically determine that method can be to the first geographical location information and the second geographical location information periodically obtained
It is counted, the most geographical location information of frequency of occurrence in the first geographical location information and the second geographical location information is determined as
The actual geographic location information of smart home device, for example, geographical location information frequency of occurrence is at most Jinan City, it is determined that
The actual geographical location information of smart home device be Jinan, the actual geographic location information for determining smart home device it
It afterwards, can also be by the actual geographic updating location information of smart home device into equipment master data sheet.
It optionally, can be default by judging since smart home device may not be connect with WiFi signal source AP for a long time
Whether there is the second geographical location information in time, in the absence of the second geographical location information, believes according only to the first geographical location
The actual geographic location information to determine smart home device is ceased, specifically: most by frequency of occurrence in the first geographical location information
More actual geographic location informations as smart home device.In the presence of the second geographical location information, also only on the basis of
Two geographical location information determine the actual geographic location information of smart home device, specifically: it will be in the second geographical location information
Actual geographic location information of the newest geographical location information as smart home device.
Based on the above-mentioned technical proposal, the present invention also proposes that a kind of geographical location information of smart home device obtains system,
As shown in Figure 2, comprising:
First acquisition unit is obtained for periodically obtaining the current IP address of smart home device according to the IP address
First geographical location information of the smart home device;
Second acquisition unit, for being established after WiFi connect in smart home device and WiFi signal source AP, regular basis
The address Mac of the WiFi signal source AP obtains the second geographical location information of WiFi signal source AP;
Determination unit, for determining the intelligent family according to first geographical location information and the second geographical location information
Occupy the actual geographic location information of equipment.
Optionally, the first acquisition unit is also used to: according to IP address location data library lookup smart home device
The corresponding geographical location information of current IP address, and using the geographical location information found as the first geographical location information, institute
State the corresponding relationship that IP address location database includes IP address and geographical location information.
Optionally, the second acquisition unit is also used to: being connected according to Mac address location database lookup smart home device
The corresponding geographical location information in the address Mac of the WiFi signal source AP connect, and using the geographical location information found as second
Geographical location information, the Mac address location database include the address Mac and pair of geographical location information of WiFi signal source AP
It should be related to.
Optionally, the second acquisition unit is also used to: when the intelligence with positioning function in addition to smart home device
Can equipment when being connect with the WiFi signal source AP, the geography that obtains the geographical location information of the smart machine, and will acquire
Location information is as the second geographical location information.
Optionally, the determination unit is also used to: to the first geographical location information and the second geographical location periodically obtained
Information is counted, and the most geographical location information of frequency of occurrence in the first geographical location information and the second geographical location information are true
It is set to the actual geographic location information of smart home device.
It is appreciated that it is to use that the geographical location information of the smart home device as described in the embodiment of the present invention, which obtains system,
In the system for the geographical position information acquisition method for realizing the smart home device, for the system disclosed in the embodiment,
Since it is corresponded to the methods disclosed in the examples, so description is relatively simple, referring to the part explanation of method in place of correlation
?.Since the geographical position information acquisition method of above-mentioned smart home device is able to solve existing smart home device positioning
The problem of inaccuracy, therefore, the system for realizing the geographical position information acquisition method of above-mentioned smart home device can equally solve
Certainly the problem of existing smart home device position inaccurate.
Claims (10)
1. the geographical position information acquisition method of smart home device, which comprises the following steps:
Step 1. periodically obtains the current IP address of smart home device, obtains the smart home device according to the IP address
The first geographical location information;
Step 2. is established after WiFi connect in smart home device and WiFi signal source AP, periodically according to the WiFi signal source AP
The address Mac obtain WiFi signal source AP the second geographical location information;
Step 3. determines the reality of the smart home device according to first geographical location information and the second geographical location information
Border geographical location information.
2. the geographical position information acquisition method of smart home device as described in claim 1, which is characterized in that in step 1,
First geographical location information for obtaining the smart home device according to IP address includes:
According to the corresponding geographical location information of current IP address of IP address location data library lookup smart home device, and will look into
For the geographical location information found as the first geographical location information, the IP address location database includes IP address and geographical position
The corresponding relationship of confidence breath.
3. the geographical position information acquisition method of smart home device as described in claim 1, which is characterized in that in step 2,
It is described according to the address Mac of WiFi signal source AP obtain WiFi signal source AP the second geographical location information include:
Correspondingly according to the address Mac of the WiFi signal source AP of Mac address location database lookup smart home device connection
Location information is managed, and using the geographical location information found as the second geographical location information, the Mac address location database
Including the address Mac of WiFi signal source AP and the corresponding relationship of geographical location information.
4. the geographical position information acquisition method of smart home device as described in claim 1, which is characterized in that in step 2,
Second geographical location information that WiFi signal source AP is obtained according to the address Mac of WiFi signal source AP further include:
When the smart machine with positioning function in addition to smart home device is connect with the WiFi signal source AP, obtain
The geographical location information of the smart machine, and the geographical location information that will acquire is as the second geographical location information.
5. the geographical position information acquisition method of smart home device as described in claim 1, which is characterized in that in step 3,
The actual geographic position that the smart home device is determined according to the first geographical location information and the second geographical location information
Information includes:
The first geographical location information and the second geographical location information that periodically obtain are counted, by the first geographical location information
It is determined as the actual geographic position of smart home device with the most geographical location information of frequency of occurrence in the second geographical location information
Information.
6. the geographical location information of smart home device obtains system characterized by comprising
First acquisition unit, for periodically obtaining the current IP address of smart home device, according to IP address acquisition
First geographical location information of smart home device;
Second acquisition unit, for being established after WiFi connect in smart home device and WiFi signal source AP, periodically according to
The address Mac of WiFi signal source AP obtains the second geographical location information of WiFi signal source AP;
Determination unit, for determining that the smart home is set according to first geographical location information and the second geographical location information
Standby actual geographic location information.
7. the geographical location information of smart home device as claimed in claim 6 obtains system, which is characterized in that described first
Acquiring unit is also used to:
According to the corresponding geographical location information of current IP address of IP address location data library lookup smart home device, and will look into
For the geographical location information found as the first geographical location information, the IP address location database includes IP address and geographical position
The corresponding relationship of confidence breath.
8. the geographical location information of smart home device as claimed in claim 6 obtains system, which is characterized in that described second
Acquiring unit is also used to:
Correspondingly according to the address Mac of the WiFi signal source AP of Mac address location database lookup smart home device connection
Location information is managed, and using the geographical location information found as the second geographical location information, the Mac address location database
Including the address Mac of WiFi signal source AP and the corresponding relationship of geographical location information.
9. the geographical location information of smart home device as claimed in claim 6 obtains system, which is characterized in that described second
Acquiring unit is also used to:
When the smart machine with positioning function in addition to smart home device is connect with the WiFi signal source AP, obtain
The geographical location information of the smart machine, and the geographical location information that will acquire is as the second geographical location information.
10. the geographical location information of smart home device as claimed in claim 6 obtains system, which is characterized in that described true
Order member is also used to:
The first geographical location information and the second geographical location information that periodically obtain are counted, by the first geographical location information
It is determined as the actual geographic position of smart home device with the most geographical location information of frequency of occurrence in the second geographical location information
Information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910604672.6A CN110247989A (en) | 2019-07-05 | 2019-07-05 | The geographical position information acquisition method and system of smart home device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910604672.6A CN110247989A (en) | 2019-07-05 | 2019-07-05 | The geographical position information acquisition method and system of smart home device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110247989A true CN110247989A (en) | 2019-09-17 |
Family
ID=67891099
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910604672.6A Pending CN110247989A (en) | 2019-07-05 | 2019-07-05 | The geographical position information acquisition method and system of smart home device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110247989A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114500454A (en) * | 2021-12-20 | 2022-05-13 | 成都鲁易科技有限公司 | Method and device for detecting geographical position change of electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102892074A (en) * | 2012-09-26 | 2013-01-23 | 上海顶竹通讯技术有限公司 | System and method for obtaining position information of terminal |
CN105100292A (en) * | 2014-05-12 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Method and apparatus of determining position of terminal |
CN105101410A (en) * | 2015-08-28 | 2015-11-25 | 小米科技有限责任公司 | Method and device for determining geographical location of mobile terminal |
CN109996329A (en) * | 2017-12-30 | 2019-07-09 | 广州集星图信息科技有限公司 | A kind of mobile communication terminal positioning method and device |
-
2019
- 2019-07-05 CN CN201910604672.6A patent/CN110247989A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102892074A (en) * | 2012-09-26 | 2013-01-23 | 上海顶竹通讯技术有限公司 | System and method for obtaining position information of terminal |
CN105100292A (en) * | 2014-05-12 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Method and apparatus of determining position of terminal |
CN105101410A (en) * | 2015-08-28 | 2015-11-25 | 小米科技有限责任公司 | Method and device for determining geographical location of mobile terminal |
CN109996329A (en) * | 2017-12-30 | 2019-07-09 | 广州集星图信息科技有限公司 | A kind of mobile communication terminal positioning method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114500454A (en) * | 2021-12-20 | 2022-05-13 | 成都鲁易科技有限公司 | Method and device for detecting geographical position change of electronic equipment |
CN114500454B (en) * | 2021-12-20 | 2024-01-23 | 成都鲁易科技有限公司 | Method and device for detecting geographic position change of electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102546835B (en) | Method for sharing contents, terminal, server and system | |
CN102595249B (en) | Method and device as well as system for positioning geographic position of television | |
US20020055924A1 (en) | System and method providing a spatial location context | |
US20080225779A1 (en) | Location-based networking system and method | |
CN106936887B (en) | Geographic position positioning method and device | |
US20120295641A1 (en) | Wireless communication device, information processing device, communication system, and location determination method | |
US20130344888A1 (en) | Identification of points of interest and positioning based on points of interest | |
US20060271517A1 (en) | User-driven calibration for location system | |
CN103945007A (en) | Information pushing method and device | |
EP2750438B1 (en) | Method for accessing augmented reality user context | |
CN111541986B (en) | Positioning method, positioning device, storage medium and processor | |
WO2019232441A1 (en) | Geolocation based on radio frequency communication and video imagery | |
CN103220566B (en) | The localization method of Intelligent television terminal, intelligent television and system | |
CN106303942B (en) | Wireless network fingerprint signal processing method and device | |
CN109167688B (en) | Geographical monitoring platform for wireless network optimization analysis and implementation method | |
CN110247989A (en) | The geographical position information acquisition method and system of smart home device | |
CN105516241A (en) | Device and method for obtaining user geographical position information | |
CN106095822B (en) | Software recommendation method and device and server | |
CN107580297B (en) | Meteorological data transmission method and accurate push system based on meteorological base stations and mobile terminals of various regions | |
CN104010270A (en) | Method, apparatus and system for displaying contact information on address list of mobile terminal | |
EP4020939A1 (en) | Evaluating ip location on a client device | |
US20040233857A1 (en) | Node topology placement based on geographical information | |
CN110661901B (en) | Letter collecting method, integration method, electronic equipment and storable medium of IP library | |
CN116266899A (en) | Tracking area boundary information processing method and device, electronic equipment and readable medium | |
CN103841519B (en) | The method and apparatus of geographical position are accurately positioned by Network Sniffing |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190917 |
|
RJ01 | Rejection of invention patent application after publication |