CN104244078A - Method for locating geographic position of smart television - Google Patents

Method for locating geographic position of smart television Download PDF

Info

Publication number
CN104244078A
CN104244078A CN201410461515.1A CN201410461515A CN104244078A CN 104244078 A CN104244078 A CN 104244078A CN 201410461515 A CN201410461515 A CN 201410461515A CN 104244078 A CN104244078 A CN 104244078A
Authority
CN
China
Prior art keywords
mobile phone
intelligent television
smart mobile
address
television
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
Application number
CN201410461515.1A
Other languages
Chinese (zh)
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201410461515.1A priority Critical patent/CN104244078A/en
Publication of CN104244078A publication Critical patent/CN104244078A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to locating technologies, in particular to a method for locating the geographic position of a smart television. The method aims to solve the problem that the geographic position data of an existing smart television can not be acquired by an application based on a geographic position locating service in the existing smart television. According to the method, connection is established through the way that smart mobile phone ends in the same local area network send UDP broadcasts to a smart television end. After the connection is established, user-defined xml format data are sent through a TCP protocol, the geographic position information acquired by the mobile phone ends through a GPS or LBS is sent to the television end, and the purpose that the television end is assisted to achieve the function of geographic position locating is achieved. Finally, application software in the smart television can successfully use the geographic position information of the smart television to conduct corresponding applications. The method for locating the geographic position of the smart television is suitable for smart televisions.

Description

A kind of method for intelligent television Geographic mapping
Technical field
The present invention relates to location technology, particularly the localization method in intelligent TV set geographical position.
Background technology
GPS:GPS is the abbreviation of English Global Positioning System (global positioning system), can provide the functions such as vehicle location, antitheft, anti-misfortune, travel route monitoring and calling commander.
LBS:LBS is the abbreviation of English Location Based Service (mobile location-based service), it is the positional information (latitude and longitude coordinates) being obtained mobile phone users by the network (as GSM net, CDMA net) of telecommunications mobile operator, under the support of electronic map platform, for user provides a kind of value-added service of respective service.
In recent years, various intelligent terminal is widely used in based on GPS and LBS Geographic mapping.Application software based on these two kinds of location technologies emerges in an endless stream especially.Such as map class application: Baidu's map, Google Maps, high moral map etc.; Social communication class application: microblogging, micro-letter, footpath between fields, footpath between fields, mobile phone QQ etc.These application all need to use GPS or LBS to carry out the current geographic position of locating terminal.But only have mobile terminal such as mobile phone under normal circumstances, pad etc. just have GPS functional module and LBS functional module.And intelligent television does not have these functional modules.This just causes the geographic position data that a lot of application software based on Geographic mapping service successfully cannot get intelligent television, thus can not normally use on intelligent television.
Summary of the invention
The object of the invention is the problem in order to solve the geographic position data that cannot obtain intelligent television in existing intelligent television based on the application of Geographic mapping service.
The technical scheme that the present invention solves its technical problem is, provides a kind of method for intelligent television Geographic mapping, comprises the steps:
A. smart mobile phone and intelligent television are connected to same LAN, smart mobile phone sends message information to all devices in network with the forms of broadcasting, and described message information comprises the IP address of smart mobile phone;
B. intelligent television receives the described message information that smart mobile phone sends, and obtain the IP address of smart mobile phone, and send response message to local area network (LAN) with the forms of broadcasting, described response message comprises the IP address of described smart mobile phone and the IP address of intelligent television;
C. smart mobile phone receives the response message of intelligent television, the IP address of the described smart mobile phone be resolved to and the IP address of self also contrast by the IP address of smart mobile phone described in resolution response information, if both are consistent, then smart mobile phone is preserved the IP address of the intelligent television received and is carried out directed communication connection with intelligent television;
D. intelligent television sends location service request to smart mobile phone, smart mobile phone obtains the geographical location information data of self and with directed interface channel, geographical location information data is sent to intelligent television, and intelligent television realizes positioning function according to geographical location information data.
Because the setting accuracy error of usual GPS or LBS is all at 5 meters to 15 meters.After usual household radio local area network (LAN) is subject to the stop weakening of house general layout, real effective range is just suitable with this error, and therefore the accuracy of mobile phone assist location has certain reliability.
The object obtaining intelligent television geographical location information is in order to the application software be supplied in intelligent television is carried out corresponding about the application relating to geographical location information, therefore, also comprises after step D:
Step e. the application software in intelligent television is transferred address location according to corresponding api interface and is applied accordingly.
Particularly, described smart mobile phone is all realized by UDP message format to all devices in network with forms of broadcasting transmission response message to all devices in network with forms of broadcasting transmission message information and functional TV.
Particularly, in step C, smart mobile phone and intelligent television use Transmission Control Protocol to set up directed communication connection.
Particularly, intelligent television and smart mobile phone are set up after beam communication is connected, and carry out data transmit-receive by the file of self-defining XML format.
Particularly, described geographical location information data is GPS or LBS locator data.
Particularly, in step D, intelligent television needs GPS or the LBS functional module acquisition geographic position data from system self to be modified as to send request from the relevant geodata of mobile phone terminal acquisition to mobile phone terminal before receiving the geographical location information data of smart mobile phone.
The invention has the beneficial effects as follows: the present invention's innovation sends udp broadcast by the smart mobile phone end in same local area network (LAN) to intelligent television end and connects.Self-defining xml formatted data is sent by Transmission Control Protocol after connecting.The geographical location information that mobile phone terminal is got by GPS or LBS is sent to television by self-defined xml data, realizes peritelevision end to carry out the function of Geographic mapping.
Embodiment
Below in conjunction with embodiment, technical scheme of the present invention is further described.
The present invention is directed to the problem of the geographic position data that cannot obtain intelligent television in existing intelligent television based on the application of Geographic mapping service, a kind of method for intelligent television Geographic mapping is provided, comprises the steps:
First, smart mobile phone and intelligent television are connected to same LAN, smart mobile phone sends message information to all devices in network with the forms of broadcasting, and described message information comprises the IP address of smart mobile phone;
Secondly, intelligent television receives the described message information that smart mobile phone sends, and obtain the IP address of smart mobile phone, and send response message to local area network (LAN) with the forms of broadcasting, described response message comprises the IP address of described smart mobile phone and the IP address of intelligent television;
Then, smart mobile phone receives the response message of intelligent television, the IP address of the described smart mobile phone be resolved to and the IP address of self also contrast by the IP address of smart mobile phone described in resolution response information, if both are consistent, then smart mobile phone is preserved the IP address of the intelligent television received and is carried out directed communication connection with intelligent television;
Finally, intelligent television sends location service request to smart mobile phone, smart mobile phone obtains the geographical location information data of self and with directed interface channel, geographical location information data is sent to intelligent television, and intelligent television realizes positioning function according to geographical location information data.
Embodiment
The complete operation of the method for intelligent television Geographic mapping of the present invention is described below by an example.Mobile phone terminal in lower example is smart mobile phone, and television is intelligent television.
Step 1, starting hand-set end background program, and mobile phone terminal and television are all connected in same local area network (LAN).
Step 2, opens the mobile phone terminal program of this system, and sends UDP Web broadcast by mobile phone terminal program to all devices in same local area network (LAN), and request connects with it.The IP address of mobile phone is sent by udp broadcast.
Step 3, television preserves the IP address of mobile phone terminal after the udp broadcast receiving mobile phone terminal, is answered by udp broadcast at once.The IP address of the mobile phone terminal IP address parsed by this broadcast transmission and television oneself.
Step 4, the mobile phone terminal IP address resolution in UDP message bag, after the udp broadcast receiving television, out contrasts with the IP address of oneself by mobile phone terminal.
Step 5, if the equal television broadcast just illustrating that mobile phone terminal receives of the comparing result of the 4th step is the object that oneself connects in the 2nd step request.So just preserve the television IP address received, otherwise just abandon this packet.Mobile phone terminal and television, after connecting, just can carry out TCP communication by IP address each other.
Step 6, amendment television obtains the system API implementation method of locator data.GPS or LBS functional module acquisition geographic position data from system self is modified as and sends request from the relevant geodata of mobile phone terminal acquisition to mobile phone terminal.Such as: the requestLocationUpdates function content in the LocationManager class inside Android SDK is modified as call television background program to establish mobile phone terminal that TCP connects send the request that obtains GPS or LBS geolocation data and etc. pending data return.
Step 7, mobile phone terminal after the request receiving television, by request particular content respectively calling system API go to obtain gps data or LBS data.The TCP that mobile phone terminal passes through to have established again after obtaining successful data connects the mode utilizing socket to communicate and data is sent to television.
Step 8, packet content, after accepting the tcp data bag that mobile phone terminal returns, is parsed the LocationManager class in broadcast by pre-defining or AIDL interface notification step 6 by the background program of television.
Step 9, after the geographic position data that platform program returns upon receipt, just can employ passing to third party application in these data loading data structure according to the call back function pre-defined of system.Such as: android system LocationListener callback interface.
It should be noted that to there is following technical characterstic in implementation procedure of the present invention:
1, smart mobile phone in a local area network (LAN), must use identical gateway with intelligent television.
2, the device discovery between terminal is carried out by udp broadcast.Connected by TCP procotol after discovery and carry out terminal room socket communication.Content of Communication uses self-defined xml formatted data.
3, intelligent television needs to install in advance the background service program that accepts mobile phone udp broadcast and runs on backstage always.This background program acts on receiving equipment and finds and connect, and TCP socket communicates.
4, smart mobile phone needs to install for discovering device in advance, connect and TCP socket communicate background program.
5, smart mobile phone end background program can be triggered by the request of television and obtain GPS or LBS locator data, obtains successfully and sends it back television.
6, intelligent television is as request initialization end, needs the system API obtaining geographical location information to realize the mode that content modification becomes to be obtained from mobile phone terminal by local area network communication.Will obtain from mobile phone terminal as this API of third-party application software transfer and return corresponding data but not GPS or the LBS data of television self.

Claims (7)

1. for a method for intelligent television Geographic mapping, it is characterized in that, comprise the steps:
A. smart mobile phone and intelligent television are connected to same LAN, smart mobile phone sends message information to all devices in network with the forms of broadcasting, and described message information comprises the IP address of smart mobile phone;
B. intelligent television receives the described message information that smart mobile phone sends, and obtain the IP address of smart mobile phone, and send response message to local area network (LAN) with the forms of broadcasting, described response message comprises the IP address of described smart mobile phone and the IP address of intelligent television;
C. smart mobile phone receives the response message of intelligent television, the IP address of the described smart mobile phone be resolved to and the IP address of self also contrast by the IP address of smart mobile phone described in resolution response information, if both are consistent, then smart mobile phone is preserved the IP address of the intelligent television received and is carried out directed communication connection with intelligent television;
D. intelligent television sends location service request to smart mobile phone, smart mobile phone obtains the geographical location information data of self and with directed interface channel, geographical location information data is sent to intelligent television, and intelligent television realizes positioning function according to geographical location information data.
2. a kind of method for intelligent television Geographic mapping as claimed in claim 1, is characterized in that, also comprise after step D:
Step e. the application software in intelligent television is transferred address location according to corresponding api interface and is applied accordingly.
3. a kind of method for intelligent television Geographic mapping as claimed in claim 1, it is characterized in that, described smart mobile phone is sent response message to all devices in network with the forms of broadcasting with forms of broadcasting transmission message information and functional TV to all devices in network and is all realized by UDP message format.
4. a kind of method for intelligent television Geographic mapping as described in claims 1 to 3 any one, is characterized in that, in step C, smart mobile phone and intelligent television use Transmission Control Protocol to set up directed communication connection.
5. a kind of method for intelligent television Geographic mapping as claimed in claim 4, is characterized in that, intelligent television and smart mobile phone are set up after beam communication is connected, and carry out data transmit-receive by the file of self-defining XML format.
6. a kind of method for intelligent television Geographic mapping as claimed in claim 1, it is characterized in that, in step D, described geographical location information data is GPS or LBS locator data.
7. a kind of method for intelligent television Geographic mapping as claimed in claim 1, it is characterized in that, in step D, intelligent television needs GPS or the LBS functional module acquisition geographic position data from system self to be modified as to send request from the relevant geodata of mobile phone terminal acquisition to mobile phone terminal before receiving the geographical location information data of smart mobile phone.
CN201410461515.1A 2014-09-11 2014-09-11 Method for locating geographic position of smart television Pending CN104244078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410461515.1A CN104244078A (en) 2014-09-11 2014-09-11 Method for locating geographic position of smart television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410461515.1A CN104244078A (en) 2014-09-11 2014-09-11 Method for locating geographic position of smart television

Publications (1)

Publication Number Publication Date
CN104244078A true CN104244078A (en) 2014-12-24

Family

ID=52231284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410461515.1A Pending CN104244078A (en) 2014-09-11 2014-09-11 Method for locating geographic position of smart television

Country Status (1)

Country Link
CN (1) CN104244078A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618804A (en) * 2014-12-31 2015-05-13 山东泰信电子股份有限公司 Method and system for obtaining television channel information
CN105163175A (en) * 2015-07-30 2015-12-16 四川长虹电器股份有限公司 Television and mobile terminal combined positioning method and system
WO2016191974A1 (en) * 2015-05-29 2016-12-08 华为技术有限公司 Method and device for managing position
CN107483995A (en) * 2017-08-17 2017-12-15 广州创维平面显示科技有限公司 A kind of exchange method and intelligent television based on intelligent television

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5621793A (en) * 1995-05-05 1997-04-15 Rubin, Bednarek & Associates, Inc. TV set top box using GPS
CN102088478A (en) * 2010-12-02 2011-06-08 深圳市同洲电子股份有限公司 Method and system for positioning digital television terminal
CN102223602A (en) * 2011-06-20 2011-10-19 深圳市同洲电子股份有限公司 Method, terminals and system for sharing position information
CN102938858A (en) * 2012-10-17 2013-02-20 青岛海信传媒网络技术有限公司 Smart television, positioning method thereof and mobile terminal
CN103957257A (en) * 2014-04-30 2014-07-30 四川长虹电器股份有限公司 Data replicating and pasting system and method between intelligent terminals based on UDP and TCP protocols

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5621793A (en) * 1995-05-05 1997-04-15 Rubin, Bednarek & Associates, Inc. TV set top box using GPS
CN102088478A (en) * 2010-12-02 2011-06-08 深圳市同洲电子股份有限公司 Method and system for positioning digital television terminal
CN102223602A (en) * 2011-06-20 2011-10-19 深圳市同洲电子股份有限公司 Method, terminals and system for sharing position information
CN102938858A (en) * 2012-10-17 2013-02-20 青岛海信传媒网络技术有限公司 Smart television, positioning method thereof and mobile terminal
CN103957257A (en) * 2014-04-30 2014-07-30 四川长虹电器股份有限公司 Data replicating and pasting system and method between intelligent terminals based on UDP and TCP protocols

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618804A (en) * 2014-12-31 2015-05-13 山东泰信电子股份有限公司 Method and system for obtaining television channel information
WO2016191974A1 (en) * 2015-05-29 2016-12-08 华为技术有限公司 Method and device for managing position
CN106664457A (en) * 2015-05-29 2017-05-10 华为技术有限公司 Method and device for managing position
CN105163175A (en) * 2015-07-30 2015-12-16 四川长虹电器股份有限公司 Television and mobile terminal combined positioning method and system
CN105163175B (en) * 2015-07-30 2018-10-19 四川长虹电器股份有限公司 The joint positioning method and system of television set and mobile terminal
CN107483995A (en) * 2017-08-17 2017-12-15 广州创维平面显示科技有限公司 A kind of exchange method and intelligent television based on intelligent television

Similar Documents

Publication Publication Date Title
CN102572689B (en) Mobile terminal location system and method
RU2725179C1 (en) Machine type of communication using sms-initiated mobile subscribers without international telephone number of user
US20100311401A1 (en) Communication session transfer from one communication device to another based on location correlated to time
US8744409B2 (en) Location method, device and system for secure user plane location enabled terminal
JP2007518327A (en) Providing location information within the visited network
US8301160B2 (en) System and method for SUPL roaming using a held client
US20080139249A1 (en) Automatic setup system and method of ubicell base station
CN104937960A (en) PRoviding notifications of call-related services
CN104244078A (en) Method for locating geographic position of smart television
CN103024895A (en) Positioning method for positioning by combining GPS (global positioning system) with base station
US9479897B2 (en) SUPL-WiFi access point controller location based services for WiFi enabled mobile devices
CN104159197A (en) Low-cost terminal positioning method, smart mobile terminal and system
CN102958104A (en) Mobile terminal positioning method, system and device
US9137774B2 (en) Position measurement system, position information provision device, position information administration device, and position measurement method
CN111385341A (en) Communication method and related equipment
CA2561042A1 (en) A system of realizing location and method thereof
US9204377B2 (en) Method and device for proximity-based communication
CN201397389Y (en) Household electronic equipment capable of positioning
CN103068042B (en) Localization method and equipment
KR20220115486A (en) Method and apparatus for identifying service area in wireless communication system
CN101507310B (en) Subscriber identity module having a plurality of subscriber identities
US9210680B2 (en) Method and apparatus for selecting a real time location service provider
US11480687B1 (en) Systems and methods for leveraging global positioning repeaters to locate devices and to obfuscate device location
CN105163175B (en) The joint positioning method and system of television set and mobile terminal
CN113841372A (en) Method and apparatus for obtaining and managing location information of mobile terminal in edge computing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20141224