CN103260059B - Controller set top box device, positional information determine the method and apparatus with Information issued - Google Patents
Controller set top box device, positional information determine the method and apparatus with Information issued Download PDFInfo
- Publication number
- CN103260059B CN103260059B CN201310150007.7A CN201310150007A CN103260059B CN 103260059 B CN103260059 B CN 103260059B CN 201310150007 A CN201310150007 A CN 201310150007A CN 103260059 B CN103260059 B CN 103260059B
- Authority
- CN
- China
- Prior art keywords
- top box
- box device
- positional information
- information
- longitude
- 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.)
- Expired - Fee Related
Links
Landscapes
- Telephonic Communication Services (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种控制机顶盒设备、位置信息确定和信息发布的方法和设备,其主要内容包括:在获取到与机顶盒设备已建立业务绑定关系、通过无线方式控制该机顶盒设备的移动设备当前所在位置的位置信息之后,与存储的机顶盒设备的位置信息进行比较,根据比较结果,指示移动设备采用不同的控制模式对机顶盒设备进行控制,这样通过准确获取的与机顶盒设备已建立业务绑定关系、通过无线方式控制该机顶盒设备的移动设备与该机顶盒设备之间的相对位置关系,保证了移动设备在移动过程中选择合适的控制模式实现对机顶盒设备的控制,不仅使得移动设备对机顶盒设备的控制方式灵活,而且还能够提高移动设备对机顶盒设备控制精度,提高用户体验值。
The invention discloses a method and device for controlling a set-top box device, determining location information, and releasing information. After the location information of the location is compared with the stored location information of the set-top box device, according to the comparison result, the mobile device is instructed to use different control modes to control the set-top box device, so that the business binding relationship with the set-top box device has been established through accurate acquisition , Control the relative positional relationship between the mobile device of the set-top box device and the set-top box device by wireless means, ensure that the mobile device selects an appropriate control mode to realize the control of the set-top box device during the movement process, not only makes the mobile device control the set-top box device The control method is flexible, and it can also improve the control precision of the mobile device to the set-top box device, and improve the user experience value.
Description
技术领域technical field
本发明涉及智能控制领域,尤其涉及一种控制机顶盒设备、位置信息确定和信息发布的方法和设备。The invention relates to the field of intelligent control, in particular to a method and device for controlling set-top box equipment, determining position information and releasing information.
背景技术Background technique
随着互联网技术的发展,IPTV(InternetProtocolTelevision,互联网电视)技术在人们生活中的应用越来越广泛。其中,IPTV服务器、机顶盒设备和电视显示设备组合成为IPTV系统,成为推广数字化电视的重要系统。With the development of Internet technology, IPTV (Internet Protocol Television, Internet TV) technology is more and more widely used in people's life. Among them, the IPTV server, set-top box equipment and TV display equipment are combined to form an IPTV system, which has become an important system for promoting digital TV.
具体地,IPTV服务器利用有线网络与机顶盒设备实现通信,并将本地生成的EPG(ElectricalProgramGuide,电子节目指南)信息通过有线网络发送给机顶盒设备,用户利用特定遥控设备在靠近机顶盒设备的位置发起对机顶盒设备的控制操作,并进一步地对接收到的EPG信息中的节目信息进行选择,向IPTV服务器发送包含选择的节目信息的节目请求消息,实现将选择的节目信息对应的内容在电视显示设备中进行显示的目的。Specifically, the IPTV server uses a wired network to communicate with the set-top box, and sends locally generated EPG (Electrical Program Guide, Electronic Program Guide) information to the set-top box through the wired network, and the user uses a specific remote control device to initiate a call to the set-top box at a location close to the set-top box. The control operation of the device, and further select the program information in the received EPG information, and send a program request message containing the selected program information to the IPTV server, so as to realize the content corresponding to the selected program information on the TV display device display purpose.
在现有技术中,除了通过特定遥控设备近距离对机顶盒设备进行控制之外,出现了通过移动设备对机顶盒设备进行控制,这种方式既节省了设备资源,又达到了使用便捷的效果。具体地,要实现移动设备对机顶盒设备进行控制,需要满足两个条件:第一,移动设备与机顶盒设备之间建立的绑定关系;第二,移动设备中安装了IPTV客户端软件。In the prior art, in addition to short-distance control of the set-top box device through a specific remote control device, there is a mobile device to control the set-top box device. This method not only saves device resources, but also achieves the effect of convenient use. Specifically, to realize the control of the set-top box by the mobile device, two conditions need to be met: first, the binding relationship established between the mobile device and the set-top box; second, the IPTV client software is installed in the mobile device.
如图1所示,为现有技术中移动设备与机顶盒设备之间建立绑定关系的流程图。具体包括:As shown in FIG. 1 , it is a flow chart of establishing a binding relationship between a mobile device and a set-top box device in the prior art. Specifically include:
步骤101:IPTV服务器接收机顶盒设备发送的登陆认证请求消息,其中,所述登陆认证请求消息中包含了机顶盒设备的标识信息。Step 101: The IPTV server receives a login authentication request message sent by a set-top box device, wherein the login authentication request message includes identification information of the set-top box device.
具体地,所述机顶盒设备的标识信息包括但不限于SSID(ServiceSetIdentifier,无线网络标识)。Specifically, the identification information of the set-top box device includes but is not limited to SSID (ServiceSetIdentifier, wireless network identifier).
步骤102:IPTV服务器对发送登陆认证请求消息的机顶盒设备进行认证,并在认证通过时,读取该机顶盒设备的标识信息,并将读取到的标识信息进行加密处理,生成包含了该机顶盒设备的标识信息的图像数据,如二维码,返回给机顶盒设备。Step 102: The IPTV server authenticates the set-top box device that sent the login authentication request message, and when the authentication passes, reads the identification information of the set-top box device, and encrypts the read identification information to generate a set-top box device containing the set-top box device. The image data of the identification information, such as a two-dimensional code, is returned to the set-top box device.
步骤103:机顶盒设备在接收到IPTV服务器返回的图像数据之后,将该图像数据传输给电视显示设备,并显示。Step 103: After receiving the image data returned by the IPTV server, the set-top box device transmits the image data to the TV display device and displays it.
步骤104:移动设备从电视显示设备中获取该图像数据,并利用本地的IPTV客户端软件对获取的图像数据进行解析,得到该机顶盒设备的标识信息。Step 104: The mobile device obtains the image data from the TV display device, and uses the local IPTV client software to analyze the obtained image data to obtain the identification information of the set-top box device.
步骤105:移动设备通过移动通信网络向IPTV服务器发送业务绑定请求消息,其中,该业务绑定请求消息中包含了移动设备的标识信息和机顶盒设备的标识信息。Step 105: The mobile device sends a service binding request message to the IPTV server through the mobile communication network, wherein the service binding request message includes the identification information of the mobile device and the identification information of the set-top box device.
此时,IPTV服务器在接收到移动设备发送的业务绑定请求消息时,存储该移动设备的标识信息与机顶盒设备的标识信息之间的对应关系,并建立移动设备与机顶盒设备的绑定关系,由移动设备通过无线的方式利用IPTV客户端软件对机顶盒设备进行控制。At this point, when the IPTV server receives the service binding request message sent by the mobile device, it stores the correspondence between the identification information of the mobile device and the identification information of the set-top box device, and establishes a binding relationship between the mobile device and the set-top box device, The set-top box device is controlled by the mobile device through the IPTV client software in a wireless manner.
但是,这种采用移动设备对机顶盒设备进行控制的方法,只能近距离地对机顶盒设备进行控制操作,这样当移动设备在移动过程中对机顶盒设备进行控制时经常出现控制无效的情形,使得移动设备对机顶盒设备控制精确度较低,并降低了移动设备对机顶盒设备控制的效率,造成用户体验较差。However, this method of using a mobile device to control the set-top box device can only control the set-top box device at a short distance, so that when the mobile device controls the set-top box device during the movement, the control often becomes invalid. The control accuracy of the device to the set-top box device is low, and the efficiency of the control of the mobile device to the set-top box device is reduced, resulting in poor user experience.
发明内容Contents of the invention
本发明实施例提供了一种控制机顶盒设备、位置信息确定和信息发布的方法和设备,用于解决现有技术中移动设备对机顶盒设备进行控制时由于移动设备的移动性导致经常出现控制无效的情形,使得移动设备对机顶盒设备控制精确度较差的问题。Embodiments of the present invention provide a method and device for controlling a set-top box device, determining location information, and publishing information, which are used to solve the situation in the prior art that when a mobile device controls a set-top box device, the control is often invalid due to the mobility of the mobile device , making the control accuracy of the mobile device to the set-top box device poor.
根据本发明的第一方面,提供了一种对机顶盒设备进行控制的方法,包括:获取与机顶盒设备已建立业务绑定关系、通过无线方式控制该机顶盒设备的移动设备当前所在位置的位置信息,将获取的所述位置信息与存储的所述机顶盒设备的位置信息进行比较,并根据比较结果,指示所述移动设备采用不同的控制模式对所述机顶盒设备进行控制。According to the first aspect of the present invention, a method for controlling a set-top box device is provided, including: obtaining the location information of the current location of a mobile device that has established a service binding relationship with the set-top box device and wirelessly controls the set-top box device, Comparing the acquired location information with the stored location information of the set-top box device, and instructing the mobile device to control the set-top box device using different control modes according to the comparison result.
在第一方面的第一种可能的实现方式中,所述存储的机顶盒设备的位置信息是在所述移动设备从与所述机顶盒设备连接的电视显示设备中获取包含有机顶盒设备的标识信息的图像信息时,触发所述移动设备定位所在位置的位置信息得到的。In a first possible implementation manner of the first aspect, the stored location information of the set-top box device is acquired by the mobile device from a television display device connected to the set-top box device, including the identification information of the set-top box device The image information is obtained by triggering the location information of the location where the mobile device locates.
在第一方面的第一种可能的实现方式,第一方面的第二种可能的实现方式中,所述位置信息包括经度值和纬度值。In the first possible implementation manner of the first aspect, in the second possible implementation manner of the first aspect, the location information includes a longitude value and a latitude value.
在第一方面的第一种可能的实现方式,第一方面的第二种可能的实现方式,第一方面的第三种可能的实现方式中,所述将获取的所述位置信息与存储的所述机顶盒设备的位置信息进行比较,具体包括:确定获取的所述位置信息的第一经度值和第一纬度值,以及确定存储的所述机顶盒设备的位置信息的第二经度值和第二纬度值;根据确定的所述第一经度值、所述第一纬度值、所述第二经度值和所述第二纬度值,计算获取的所述位置信信息与存储的所述机顶盒设备的位置信息之间的距离值;判断计算得到的所述距离值与是否小于设定的距离阈值。In the first possible implementation of the first aspect, the second possible implementation of the first aspect, and the third possible implementation of the first aspect, the location information to be acquired and the stored The location information of the set-top box device is compared, specifically including: determining the acquired first longitude value and the first latitude value of the location information, and determining the second longitude value and the first latitude value of the stored location information of the set-top box device. Two latitude values; according to the determined first longitude value, the first latitude value, the second longitude value and the second latitude value, calculate the obtained location information and the stored set-top box The distance value between the location information of the devices; judging whether the calculated distance value is smaller than the set distance threshold.
在第一方面的第一种可能的实现方式,第一方面的第二种可能的实现方式,第一方面的第三种可能的实现方式,第一方面的第四种可能的实现方式中,所述根据比较结果,指示所述移动设备采用不同的控制模式对所述机顶盒设备进行控制,具体包括:当计算得到的所述距离值不小于设定的距离阈值时,指示所述移动设备通过IPTV客户端对所述机顶盒设备的IPTV业务进行管理;当计算得到的所述距离值小于设定的距离阈值时,指示所述移动设备通过IPTV客户端与所述机顶盒设备之间建立数据同步连接,或者指示所述移动设备通过IPTV客户端与所述机顶盒设备之间建立数据同步连接、并对所述机顶盒设备的IPTV业务进行管理。In the first possible implementation of the first aspect, the second possible implementation of the first aspect, the third possible implementation of the first aspect, and the fourth possible implementation of the first aspect, The instructing the mobile device to use different control modes to control the set-top box device according to the comparison result specifically includes: when the calculated distance value is not less than the set distance threshold, instructing the mobile device to pass The IPTV client manages the IPTV service of the set-top box device; when the calculated distance value is less than the set distance threshold, instruct the mobile device to establish a data synchronization connection with the set-top box device through the IPTV client , or instruct the mobile device to establish a data synchronization connection with the set-top box device through the IPTV client, and manage the IPTV service of the set-top box device.
在第一方面的第一种可能的实现方式,第一方面的第二种可能的实现方式,第一方面的第五种可能的实现方式中,所述将获取的所述位置信息与存储的所述机顶盒设备的位置信息进行比较,具体包括:确定获取的所述位置信息的第一经度值和第一纬度值,以及确定存储的所述机顶盒设备的位置信息的第二经度值和第二纬度值,分别计算所述第一经度值与所述第二经度值之间的经度差值以及所述第一纬度值与所述第二纬度值之间的纬度差值,并判断所述经度差值是否大于设定的第一阈值,以及判断所述纬度差值是否大于设定的第二阈值。In the first possible implementation of the first aspect, the second possible implementation of the first aspect, and the fifth possible implementation of the first aspect, the location information to be acquired and the stored The location information of the set-top box device is compared, specifically including: determining the acquired first longitude value and the first latitude value of the location information, and determining the second longitude value and the first latitude value of the stored location information of the set-top box device. Two latitude values, respectively calculating the longitude difference between the first longitude value and the second longitude value and the latitude difference between the first latitude value and the second latitude value, and judging the Whether the longitude difference is greater than a set first threshold, and whether the latitude difference is greater than a set second threshold.
在第一方面的第一种可能的实现方式,第一方面的第二种可能的实现方式,第一方面的第五种可能的实现方式,第一方面的第六种可能的实现方式中,所述根据比较结果,指示所述移动设备采用不同的控制模式对所述机顶盒设备进行控制,具体包括:当所述经度差值大于设定的第一阈值,且所述纬度值大于设定的第二阈值时,指示所述移动设备通过IPTV客户端对所述机顶盒设备的IPTV业务进行管理,当所述经度差值不大于设定的第一阈值,且所述纬度值不大于设定的第二阈值时,指示所述移动设备通过IPTV客户端与所述机顶盒设备之间建立数据同步连接,或者指示所述移动设备通过IPTV客户端与所述机顶盒设备之间建立数据同步连接、并对所述机顶盒设备的IPTV业务进行管理。In the first possible implementation of the first aspect, the second possible implementation of the first aspect, the fifth possible implementation of the first aspect, and the sixth possible implementation of the first aspect, According to the comparison result, instructing the mobile device to use different control modes to control the set-top box device specifically includes: when the longitude difference is greater than a set first threshold, and the latitude value is greater than a set When the second threshold is set, instruct the mobile device to manage the IPTV service of the set-top box device through the IPTV client, when the longitude difference is not greater than the set first threshold, and the latitude value is not greater than the set When the second threshold is reached, indicate the mobile device to establish a data synchronization connection with the set-top box device through the IPTV client, or indicate the mobile device to establish a data synchronization connection with the set-top box device through the IPTV client, and The IPTV service of the set-top box device is managed.
根据本发明的第二方面,提供了一种位置信息确定方法,包括:接收IPTV服务器发送的位置信息获取消息,其中,所述位置信息获取消息中包含了待获取位置信息的机顶盒设备的标识信息、该待获取位置信息的机顶盒设备注册时登记的安装地址信息、至少一个已知位置信息的机顶盒设备注册时登记的安装地址信息;将接收到的该待获取位置信息的机顶盒设备注册时登记的安装地址信息与接收到的每一个已知位置信息的机顶盒设备注册时登记的安装地址信息进行匹配度运算,确定出匹配度大于设定匹配值的已知位置信息的机顶盒设备注册时登记的安装地址信息;根据所述已知位置信息的机顶盒设备注册时登记的安装地址信息以及所述已知位置信息的机顶盒设备的位置信息之间的对应关系,查到确定出匹配度大于设定匹配值的已知位置信息的机顶盒设备注册时登记的安装地址信息对应的位置信息,其中,所述已知位置信息的机顶盒设备的位置信息是通过上述第一方面中位置信息获取的方法得到的;将查到的所述已知位置信息的机顶盒设备的位置信息进行计算,确定出所述待获取位置信息的机顶盒设备的位置信息;向所述IPTV服务器发送位置信息确定消息,其中:所述位置信息确定消息中包含了所述待获取位置信息的机顶盒设备的标识信息和所述确定出的所述待获取位置信息的机顶盒的位置信息。According to the second aspect of the present invention, a method for determining location information is provided, including: receiving a location information acquisition message sent by an IPTV server, wherein the location information acquisition message includes identification information of a set-top box device to obtain location information , the installation address information registered when the set-top box device whose location information is to be obtained is registered, at least one installation address information registered when the set-top box device with known location information is registered; the received set-top box device registered when the location information is to be obtained. The installation address information is matched with the installation address information registered during the registration of each set-top box device with known location information, and the installation address information registered during the registration of the set-top box device with a matching degree greater than the set matching value is determined. Address information; according to the corresponding relationship between the installation address information registered when the set-top box device of the known position information is registered and the position information of the set-top box device of the known position information, it is found that the matching degree is greater than the set matching value The location information corresponding to the installation address information registered when the set-top box device with known location information is registered, wherein the location information of the set-top box device with known location information is obtained through the method for obtaining location information in the first aspect above; Calculate the location information of the set-top box device whose location information is known, and determine the location information of the set-top box device whose location information is to be obtained; send a location information confirmation message to the IPTV server, wherein: the location information The determination message includes the identification information of the set-top box device whose location information is to be acquired and the determined location information of the set-top box whose location information is to be acquired.
根据本发明的第三方面,提供了一种信息发布方法,包括:接收广告发布服务器发送的广告信息发布请求消息,其中,所述广告信息发布请求消息中包含了待发布广告信息的内容信息和至少一个用于接收所述待发布广告信息的机顶盒设备的位置信息,所述用于接收所述待发布广告信息的机顶盒设备的位置信息是通过第一方面中位置信息获取的方法和/或第二方面所述的位置信息确定方法得到的;根据存储的所述机顶盒设备的位置信息和标识信息的对应关系,确定所述用于接收所述待发布广告信息的机顶盒设备的标识信息;根据所述确定的用于接收所述待发布广告信息的机顶盒设备的标识信息将所述待发布广告信息的内容信息发送至所述机顶盒设备。According to the third aspect of the present invention, there is provided an information release method, including: receiving an advertisement information release request message sent by an advertisement release server, wherein the advertisement information release request message includes the content information of the advertisement information to be released and The location information of at least one set-top box device used to receive the advertisement information to be released, the location information of the set-top box device used to receive the advertisement information to be released is obtained through the method for obtaining location information in the first aspect and/or the first aspect Obtained by the location information determination method described in the second aspect; according to the stored corresponding relationship between the location information of the set-top box device and the identification information, determine the identification information of the set-top box device used to receive the advertisement information to be released; according to the set-top box device. Send the content information of the advertisement information to be released to the set-top box device according to the determined identification information of the set-top box device for receiving the advertisement information to be released.
根据本发明的第四方面,提供了一种对机顶盒设备进行控制的设备,包括:位置信息获取模块,用于获取与机顶盒设备已建立业务绑定关系、通过无线方式控制该机顶盒设备的移动设备当前所在位置的位置信息,并将获取的位置信息发送给位置信息比较模块;位置信息比较模块,用于接收位置信息获取模块获取的位置信息,并将接收到的所述位置信息与存储的所述机顶盒设备的位置信息进行比较,将得到的比较结果发送给控制模块;控制模块,用于根据位置信息比较模块发送的比较结果,指示所述移动设备采用不同的控制模式对所述机顶盒设备进行控制。According to the fourth aspect of the present invention, a device for controlling a set-top box device is provided, including: a location information acquisition module, configured to obtain a mobile device that has established a service binding relationship with the set-top box device and controls the set-top box device in a wireless manner The location information of the current location, and send the obtained location information to the location information comparison module; the location information comparison module is used to receive the location information obtained by the location information acquisition module, and compare the received location information with the stored location information The location information of the set-top box device is compared, and the obtained comparison result is sent to the control module; the control module is used to instruct the mobile device to use different control modes for the set-top box device according to the comparison result sent by the location information comparison module. control.
根据本发明的第五方面,还提供了一种对机顶盒设备进行控制的设备,包括:位置信息定位器,用于获取与机顶盒设备已建立业务绑定关系、通过无线方式控制该机顶盒设备的移动设备当前所在位置的位置信息,并将获取的位置信息发送给处理器;处理器,用于在接收到位置信息定位器获取的位置信息之后,将接收到的所述位置信息与存储的所述机顶盒设备的位置信息进行比较,并根据比较结果,指示所述移动设备采用不同的控制模式对所述机顶盒设备进行控制。According to the fifth aspect of the present invention, there is also provided a device for controlling a set-top box device, including: a location information locator, configured to obtain a service binding relationship established with the set-top box device, and control the movement of the set-top box device in a wireless manner location information of the current location of the device, and send the obtained location information to a processor; the processor is configured to combine the received location information with the stored location information after receiving the location information obtained by the location information locator The location information of the set-top box device is compared, and according to the comparison result, the mobile device is instructed to use different control modes to control the set-top box device.
本发明有益效果如下:The beneficial effects of the present invention are as follows:
本发明实施例在获取到与机顶盒设备已建立业务绑定关系、通过无线方式控制该机顶盒设备的移动设备当前所在位置的位置信息之后,与存储的机顶盒设备的位置信息进行比较,根据比较结果,指示移动设备采用不同的控制模式对机顶盒设备进行控制,这样通过准确获取的与机顶盒设备已建立业务绑定关系、通过无线方式控制该机顶盒设备的移动设备与该机顶盒设备之间的相对位置关系,保证了移动设备在移动过程中选择合适的控制模式实现对机顶盒设备的控制,不仅使得移动设备对机顶盒设备的控制方式灵活,而且还能够提高移动设备对机顶盒设备控制精度,提高用户体验值。In the embodiment of the present invention, after obtaining the location information of the current location of the mobile device that has established a service binding relationship with the set-top box device and controls the set-top box device wirelessly, compare it with the stored location information of the set-top box device, and according to the comparison result, Instruct the mobile device to use different control modes to control the set-top box device, so that the relative positional relationship between the mobile device and the set-top box device that has established a business binding relationship with the set-top box device through accurate acquisition and wirelessly controls the set-top box device, It ensures that the mobile device selects an appropriate control mode to control the set-top box device during the moving process, which not only makes the mobile device's control method for the set-top box device flexible, but also improves the control accuracy of the mobile device for the set-top box device and improves user experience.
附图说明Description of drawings
图1为现有技术中移动设备与机顶盒设备之间建立绑定关系的流程图;Fig. 1 is the flowchart of establishing binding relationship between mobile equipment and set-top box equipment in the prior art;
图2为本发明实施例一的一种对机顶盒设备进行控制的方法的流程示意图;2 is a schematic flowchart of a method for controlling a set-top box device according to Embodiment 1 of the present invention;
图3为本发明实施例二的一种位置信息确定方法的流程示意图;FIG. 3 is a schematic flowchart of a method for determining location information in Embodiment 2 of the present invention;
图4为本发明实施例三的一种信息发布方法的流程示意图;FIG. 4 is a schematic flowchart of an information release method according to Embodiment 3 of the present invention;
图5为本发明实施例四的一种对机顶盒设备进行控制的设备的结构示意图;5 is a schematic structural diagram of a device for controlling a set-top box device according to Embodiment 4 of the present invention;
图6为本发明实施例五的一种对机顶盒设备进行控制的设备的结构示意图;6 is a schematic structural diagram of a device for controlling a set-top box device according to Embodiment 5 of the present invention;
图7为本发明实施例六的一种位置信息确定设备的结构示意图;FIG. 7 is a schematic structural diagram of a location information determining device according to Embodiment 6 of the present invention;
图8为本发明实施例七的一种信息发布设备的结构示意图;FIG. 8 is a schematic structural diagram of an information distribution device according to Embodiment 7 of the present invention;
图9为本发明实施例涉及的移动设备与机顶盒设备进行信息交互的系统结构示意图。FIG. 9 is a schematic structural diagram of a system for information interaction between a mobile device and a set-top box device according to an embodiment of the present invention.
具体实施方式detailed description
为了实现本发明的目的,本发明实施例提供了一种控制机顶盒设备、位置信息确定和信息发布的方法和设备,下面结合说明书附图对本发明各个实施例进行详细描述。In order to achieve the purpose of the present invention, the embodiment of the present invention provides a method and device for controlling a set-top box device, determining location information, and publishing information. The various embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
需要说明的是,本发明实施例工作的前提是移动设备与机顶盒设备之间已建立了业务绑定关系,并且移动设备上具有IPTV客户端。It should be noted that the working premise of the embodiment of the present invention is that a service binding relationship has been established between the mobile device and the set-top box device, and the mobile device has an IPTV client.
实施例一:Embodiment one:
如图2所示,为本发明实施例一的一种对机顶盒设备进行控制的方法的流程示意图。所述方法包括:As shown in FIG. 2 , it is a schematic flowchart of a method for controlling a set-top box device according to Embodiment 1 of the present invention. The methods include:
步骤201:控制设备获取与机顶盒设备已建立业务绑定关系、通过无线方式控制该机顶盒设备的移动设备当前所在位置的位置信息。Step 201: The control device acquires the current location information of the mobile device that has established a service binding relationship with the set-top box device and controls the set-top box device in a wireless manner.
具体地,在步骤201中,所述控制设备获取与机顶盒设备已建立业务绑定关系、通过无线方式控制该机顶盒设备的移动设备当前所在位置的位置信息的方法包括但不限于:Specifically, in step 201, the method for the control device to acquire the current location of the mobile device that has established a service binding relationship with the set-top box device and wirelessly controls the set-top box device includes but is not limited to:
利用移动设备中的LBS(LocationBasedService,基于位置的服务)得到与机顶盒设备已建立业务绑定关系、通过无线方式控制该机顶盒设备的移动设备当前所在位置的位置信息。Using the LBS (Location Based Service, location-based service) in the mobile device to obtain the current location information of the mobile device that has established a service binding relationship with the set-top box device and controls the set-top box device through wireless means.
其中,所述位置信息包含移动设备所在位置的经度值和纬度值。Wherein, the location information includes the longitude value and latitude value of the location of the mobile device.
此外,移动设备可以利用自身安装的定位设备对当前所在位置进行定位,例如:GPS定位软件(其定位精度能够达到15米以内);还可以向基站(其定位精度能够达到100米以内)发送定位信息,由基站定位该移动设备当前所在位置的位置信息。In addition, the mobile device can use its own positioning equipment to locate the current location, such as: GPS positioning software (its positioning accuracy can reach within 15 meters); it can also send positioning to the base station (its positioning accuracy can reach within 100 meters) Information, the location information of the current location of the mobile device is located by the base station.
需要说明的是,通过无线方式控制机顶盒设备包括但不限于:通过3G网络控制机顶盒设备、通过无线局域网控制机顶盒设备、通过WiFi控制机顶盒设备、通过蓝牙方式控制机顶盒设备中的一种或者多种。It should be noted that controlling the set-top box device through wireless means includes but is not limited to: controlling the set-top box device through the 3G network, controlling the set-top box device through the wireless local area network, controlling the set-top box device through WiFi, and controlling the set-top box device through Bluetooth. One or more of them.
可选地,由于在实现移动设备能够对机顶盒设备进行控制之前,控制设备需要移动设备与机顶盒设备之间建立业务绑定关系,其中,移动设备与机顶盒设备建立业务绑定关系的方式与背景技术中移动设备与机顶盒设备建立绑定关系的方式相同,但是,在本发明实施的方案中,在移动设备与机顶盒设备建立业务绑定关系的同时所述方法还包括:Optionally, before the mobile device can control the set-top box device, the control device needs to establish a service binding relationship between the mobile device and the set-top box device. The method for establishing the binding relationship between the mobile device and the set-top box device is the same, but in the solution implemented by the present invention, when the mobile device and the set-top box device establish a service binding relationship, the method also includes:
首先,控制设备在移动设备从与机顶盒设备连接的电视显示设备中获取包含有机顶盒设备的标识信息的图像信息时,触发移动设备定位所在位置的位置信息。First, the control device triggers the mobile device to locate the location information of the location when the mobile device acquires image information including the identification information of the set-top box device from the TV display device connected to the set-top box device.
具体地,控制设备触发移动设备利用移动设备支持的GPS或者利用网络LBS定位所在位置的位置信息。Specifically, the control device triggers the mobile device to use the GPS supported by the mobile device or use the network LBS to locate the location information of the location.
其次,控制设备指示移动设备将定位得到的所述位置信息携带在业务绑定请求消息中发送给IPTV服务器,并由IPTV服务器将所述位置信息作为该机顶盒设备的位置信息进行存储。Secondly, the control device instructs the mobile device to carry the location information obtained by positioning in a service binding request message and send it to the IPTV server, and the IPTV server stores the location information as the location information of the set-top box device.
此时,由于在移动设备从与机顶盒设备连接的电视显示设备中获取包含有机顶盒设备的标识信息的图像信息时,与机顶盒设备之间的距离很近,或者移动设备此时就在机顶盒设备的周围,因此,通过定位移动设备所在位置的位置信息可以看做是在定位机顶盒设备所在位置的位置信息,这样既不需要为IPTV系统增加定位机顶盒设备的其他设备,避免了增加系统构建成本,又能够借助现有设备的定位功能快速、准确得到机顶盒设备的位置信息。At this time, when the mobile device obtains the image information containing the identification information of the set-top box device from the TV display device connected to the set-top box device, the distance between the mobile device and the set-top box device is very close, or the mobile device is at the time of the set-top box device. around, therefore, by locating the location information of the mobile device location, it can be regarded as the location information of the location of the set-top box device, so that there is no need to add other equipment for positioning the set-top box equipment for the IPTV system, avoiding the increase of system construction costs, and The location information of the set-top box device can be quickly and accurately obtained by means of the positioning function of the existing device.
可选地,控制设备还指示移动设备将定位得到的所述位置信息和机顶盒设备的标识信息携带在上报消息中上报,并将接收到的所述上报消息中的所述位置信息和机顶盒设备的标识信息存储在本地。Optionally, the control device further instructs the mobile device to include the location information obtained by positioning and the identification information of the set-top box device in a report message, and report the location information and the set-top box device's location information in the received report message. Identification information is stored locally.
需要说明的是,本发明实施例中涉及的IPTV服务器可以包括视频传输采用Internet标准、且包含了机顶盒设备和电视显示设备的IPTV互联网电视系统;还可以包括视频传输采用Internet标准、且仅包含了具有机顶盒设备的电视显示设备IPTV互联网电视系统;还可以包括视频传输采用广电标准、包含了机顶盒设备和电视显示设备的数字电视系统,这里不做限定。It should be noted that the IPTV server involved in the embodiment of the present invention may include an IPTV Internet television system that adopts Internet standards for video transmission and includes a set-top box device and a TV display device; it may also include an IPTV Internet television system that uses Internet standards for video transmission and only includes TV display equipment with set-top box equipment IPTV Internet TV system; it can also include digital TV systems that adopt broadcasting standards for video transmission and include set-top box equipment and TV display equipment, which is not limited here.
步骤202:控制设备将获取的所述位置信息与存储的所述机顶盒设备的位置信息进行比较。Step 202: The control device compares the acquired location information with the stored location information of the set-top box device.
其中,所述位置信息包含经度值和纬度值。Wherein, the location information includes a longitude value and a latitude value.
所述存储的机顶盒设备的位置信息是在所述移动设备从与机顶盒设备连接的电视显示设备中获取包含有机顶盒设备的标识信息的图像信息时,触发所述移动设备定位所在位置的位置信息得到的,即直接将定位的所述移动设备所在位置的位置信息作为机顶盒设备的位置信息。The stored location information of the set-top box device is obtained by triggering the location information of the mobile device to locate the location when the mobile device obtains the image information containing the identification information of the set-top box device from the TV display device connected to the set-top box device. That is, the location information of the location of the mobile device is directly used as the location information of the set-top box device.
具体地,在步骤202中,所述将获取的位置信息与存储的所述机顶盒设备的位置信息进行比较的方式包括但不限于以下几种方式:Specifically, in step 202, the manner of comparing the acquired location information with the stored location information of the set-top box device includes but is not limited to the following methods:
第一种方式:The first way:
第一步:确定获取的所述位置信息的第一经度值和第一纬度值,以及确定存储的所述机顶盒设备的位置信息的第二经度值和第二纬度值。Step 1: Determine the acquired first longitude value and first latitude value of the location information, and determine the stored second longitude value and second latitude value of the location information of the set-top box device.
第二步:分别计算所述第一经度值与所述第二经度值之间的经度差值以及所述第一纬度值与所述第二纬度值之间的纬度差值。Step 2: Calculate the longitude difference between the first longitude value and the second longitude value and the latitude difference between the first latitude value and the second latitude value respectively.
第三步:判断所述经度差值是否大于设定的第一阈值,以及判断所述纬度差值是否大于设定的第二阈值。Step 3: judging whether the longitude difference is greater than a set first threshold, and judging whether the latitude difference is greater than a set second threshold.
第二种方式:The second way:
第一步:确定获取的所述位置信息的第一经度值和第一纬度值,以及确定存储的所述机顶盒设备的位置信息的第二经度值和第二纬度值。Step 1: Determine the acquired first longitude value and first latitude value of the location information, and determine the stored second longitude value and second latitude value of the location information of the set-top box device.
第二步:根据确定的所述第一经度值、所述第一纬度值、所述第二经度值和所述第二纬度值,计算获取的所述位置信息与存储的所述机顶盒设备的位置信息之间的距离值。Step 2: According to the determined first longitude value, the first latitude value, the second longitude value and the second latitude value, calculate the obtained position information and the stored set-top box device The distance value between the location information of .
具体地,所述获取的所述位置信息与存储的所述机顶盒设备的位置信息之间的距离值为 Specifically, the distance between the acquired location information and the stored location information of the set-top box device is
第三步,判断计算得到的所述直线距离是否大于设定的距离阈值。The third step is to judge whether the calculated straight-line distance is greater than a set distance threshold.
需要说明的是,步骤102中所述设定的第一阈值、设定的第二阈值以及设定的距离阈值可以根据经验值确定,还可以根据实际需要确定,这里不做具体限定。It should be noted that the set first threshold, the set second threshold, and the set distance threshold in step 102 may be determined according to empirical values, or may be determined according to actual needs, which are not specifically limited here.
步骤203:控制设备根据比较结果,指示所述移动设备采用不同的控制模式对所述机顶盒设备进行控制。Step 203: The control device instructs the mobile device to use different control modes to control the set-top box device according to the comparison result.
具体地,在步骤203中,若步骤202中采用的是第一种方式,那么根据比较结果,触发不同的控制模式对所述机顶盒设备进行控制,具体包括:Specifically, in step 203, if the first method is adopted in step 202, then according to the comparison result, different control modes are triggered to control the set-top box device, specifically including:
当所述经度差值大于设定的第一阈值,且所述纬度值大于设定的第二阈值时,确定所述移动设备与所述机顶盒设备之间满足远距离控制模式的条件,指示所述移动设备通过IPTV客户端对所述机顶盒设备的IPTV业务进行管理。When the longitude difference is greater than the set first threshold and the latitude is greater than the set second threshold, it is determined that the condition of the remote control mode is satisfied between the mobile device and the set-top box device, and the indicated The mobile device manages the IPTV service of the set-top box device through the IPTV client.
具体地,当所述经度差值大于设定的第一阈值,且所述纬度值大于设定的第二阈值时,说明移动设备当前所在的位置距离机顶盒设备大于设定的距离值,只满足远距离控制模式的条件。Specifically, when the longitude difference is greater than the set first threshold and the latitude is greater than the set second threshold, it means that the current location of the mobile device is greater than the set distance from the set-top box device, and only Conditions for remote control mode.
所述远距离控制模式是指:移动设备进入安装的IPTV客户端的用户界面,利用IPTV客户端中用户界面的管理控件,通过通信网络对该机顶盒设备的IPTV业务进行管理,该远距离控制模式仅限于利用移动设备中的IPTV客户端对机顶盒设备中的IPTV业务进行管理,无法与机顶盒设备建立数据同步连接,即无法对与机顶盒设备具有连接关系的电视显示设备中正在播放的内容进行控制。The remote control mode refers to: the mobile device enters the user interface of the installed IPTV client, utilizes the management control of the user interface in the IPTV client to manage the IPTV service of the set-top box device through the communication network, and the remote control mode only It is limited to use the IPTV client in the mobile device to manage the IPTV service in the set-top box device, and cannot establish a data synchronization connection with the set-top box device, that is, it cannot control the content being played in the TV display device that has a connection relationship with the set-top box device.
其中,所述用户界面的管理控件包括但不限于:查看控件、收藏控件、播放控件等。Wherein, the management controls of the user interface include but are not limited to: viewing controls, collection controls, playback controls, and the like.
采用远距离控制模式对机顶盒设备的IPTV业务进行管理包括但不限于:利用移动设备中IPTV客户端对IPTV服务器提供的节目信息进行预览并保存感兴趣的节目信息,并通过通信网络将保存的节目信息发送给机顶盒设备,指示机顶盒设备将接收到的节目信息保存在本地、查询用户的账户信息等。Using the remote control mode to manage the IPTV service of the set-top box device includes but is not limited to: using the IPTV client in the mobile device to preview the program information provided by the IPTV server and save the program information of interest, and transfer the stored program information through the communication network The information is sent to the set-top box device, instructing the set-top box device to save the received program information locally, query the user's account information, and so on.
此外,当一个移动设备与多个机顶盒设备建立绑定关系时,还可以建立选择的节目信息与机顶盒设备的标识信息之间的对应关系,这样能够为不同的机顶盒设备选择不同的节目信息,并通过通信网络将选择的不同节目信息分别发送给相对应的机顶盒设备,对机顶盒设备进行有针对性的管理。In addition, when a mobile device establishes a binding relationship with multiple set-top box devices, it can also establish a corresponding relationship between the selected program information and the identification information of the set-top box devices, so that different program information can be selected for different set-top box devices, and The selected different program information is sent to the corresponding set-top box equipment through the communication network, and the set-top box equipment is managed in a targeted manner.
需要说明的是,在远距离控制模式下,移动设备与机顶盒设备进行通信的方式可以包括通过3G通信网络方式、通过无线局域网方式或者通过互联网方式等,这里不做限定。It should be noted that, in the remote control mode, the way the mobile device communicates with the set-top box device may include a 3G communication network, a wireless local area network, or the Internet, which is not limited here.
当所述经度差值不大于设定的第一阈值,且所述纬度值不大于设定的第二阈值时,确定所述移动设备与所述机顶盒设备之间满足近距离控制模式的条件,指示所述移动设备通过IPTV客户端与所述机顶盒设备之间建立数据同步连接,或者指示所述移动设备通过IPTV客户端与所述机顶盒设备之间建立数据同步连接、并对所述机顶盒设备的IPTV业务进行管理。When the longitude difference is not greater than the set first threshold and the latitude value is not greater than the set second threshold, it is determined that the condition of the short-distance control mode is satisfied between the mobile device and the set-top box device, Instructing the mobile device to establish a data synchronization connection with the set-top box device through the IPTV client, or instructing the mobile device to establish a data synchronization connection with the set-top box device through the IPTV client, and to the set-top box device Manage IPTV services.
具体地,当所述经度差值不大于设定的第一阈值,且所述纬度值不大于设定的第二阈值时,说明移动设备当前所在的位置距离机顶盒设备不大于设定的数值,满足触发近距离控制模式的条件。Specifically, when the longitude difference is not greater than the set first threshold and the latitude value is not greater than the set second threshold, it means that the distance between the current location of the mobile device and the set-top box device is not greater than the set value, Satisfy the conditions to trigger the proximity control mode.
所述近距离控制模式是指:移动设备既可以进入安装的IPTV客户端的用户界面,利用IPTV客户端中用户界面的管理控件,通过通信网络对该机顶盒设备的IPTV业务进行管理,还可以通过通信网络与机顶盒设备建立数据同步连接,将移动设备中通过IPTV客户端访问IPTV服务器的节目信息同步到与机顶盒设备连接的电视显示设备中,实现同步显示。The short-distance control mode refers to: the mobile device can enter the user interface of the installed IPTV client, utilize the management control of the user interface in the IPTV client to manage the IPTV service of the set-top box device through the communication network, and can also communicate The network establishes a data synchronization connection with the set-top box device, and synchronizes the program information that the mobile device accesses the IPTV server through the IPTV client to the TV display device connected to the set-top box device to realize synchronous display.
需要说明的是,移动设备机与顶盒设备进行近距离通信的方式可以包括通过过无线局域网方式或者通过蓝牙方式等,这里不做限定。It should be noted that, the short-distance communication method between the mobile device and the top box device may include wireless local area network or bluetooth, which is not limited here.
例如:当移动设备与机顶盒设备之间的距离不大于设定的数值时,即移动设备可以通过近距离控制模式控制机顶盒设备,此时,通过摇动移动设备可以向机顶盒设备发出切换指令,该切换指令中包含了移动设备中当前IPTV客户端中显示的节目信息的标识,机顶盒设备在接收到该切换指令后,向IPTV服务器发送包含移动设备中当前IPTV客户端中显示的节目信息的标识的节目查询请求消息,并接收IPTV服务器返回的所述节目信息的标识对应的节目内容,并在电视显示设备中显示,实现移动设备与机顶盒设备中播放的节目信息同步显示。For example: when the distance between the mobile device and the set-top box is not greater than the set value, that is, the mobile device can control the set-top box through the short-distance control mode. The instruction contains the identification of the program information displayed in the current IPTV client in the mobile device, and after receiving the switching instruction, the set-top box device sends to the IPTV server the program containing the identification of the program information displayed in the current IPTV client in the mobile device Query the request message, receive the program content corresponding to the program information identifier returned by the IPTV server, and display it on the TV display device, so as to realize the synchronous display of the program information played on the mobile device and the set-top box device.
若步骤202中采用的是第二种方式,根据确定的第一经度值、第一纬度值、第二经度值和第二纬度值,计算获取的位置信息与存储的机顶盒设备的位置信息之间的距离值,并判断计算得到的直线距离是否小于设定的距离阈值,那么根据比较结果,触发不同的控制模式对所述机顶盒设备进行控制,具体包括:If the second method is adopted in step 202, according to the determined first longitude value, first latitude value, second longitude value and second latitude value, calculate the difference between the acquired position information and the stored set-top box device position information and determine whether the calculated straight-line distance is less than the set distance threshold, then according to the comparison result, trigger different control modes to control the set-top box device, specifically including:
当所述计算得到的距离值不小于设定的距离阈值时,说明移动设备当前所在的位置与机顶盒设备之间的距离大于设定的数值,满足触发远距离控制模式的条件;当所述计算得到的距离值小于设定的距离阈值时,说明移动设备当前所在的位置与机顶盒设备之间的距离不大于设定的数值,满足触发近距离控制模式的条件。When the calculated distance value is not less than the set distance threshold, it means that the distance between the current location of the mobile device and the set-top box device is greater than the set value, and the condition for triggering the remote control mode is met; when the calculation When the obtained distance value is less than the set distance threshold, it means that the distance between the current location of the mobile device and the set-top box device is not greater than the set value, and the condition for triggering the proximity control mode is met.
可选地,当由多个移动设备与一个机顶盒设备建立业务绑定关系时,此时利用机顶盒设备的位置信息与当前多个移动设备当前所在位置的位置信息进行比较,能够准确判断每一个移动设备对机顶盒设备的控制模式,并能够有效协调多个移动设备对机顶盒设备的控制。Optionally, when a service binding relationship is established between multiple mobile devices and a set-top box device, at this time, the location information of the set-top box device is compared with the current location information of the current locations of the multiple mobile devices, so that each mobile device can be accurately judged. The device controls the set-top box device, and can effectively coordinate the control of multiple mobile devices on the set-top box device.
例如:移动设备1和移动设备2都与机顶盒设备1建立业务绑定关系,此时,移动设备1当前所在的位置与机顶盒设备1之间的距离大于设定的数值时,那么,此时移动设备1只能开启远距离控制模式对该机顶盒设备1进行控制;移动设备2当前所在的位置与机顶盒设备1之间的距离不大于设定的数值时,那么,此时移动设备2可以开启近距离控制模式对该机顶盒设备1进行控制。For example: both mobile device 1 and mobile device 2 have established a service binding relationship with set-top box device 1. At this time, when the distance between the current location of mobile device 1 and set-top box device 1 is greater than the set value, then move Device 1 can only turn on the remote control mode to control the set-top box device 1; when the distance between the current location of the mobile device 2 and the set-top box device 1 is not greater than the set value, then the mobile device 2 can turn on the near- The distance control mode controls the set-top box device 1 .
当移动设备1通过远距离控制模式对机顶盒设备1的IPTV业务进行管理时,收藏了一个节目信息,并通过通信网络将收藏的节目信息发送给机顶盒设备,保存在机顶盒设备中,此时,移动设备2通过近距离控制模式对机顶盒设备1进行控制时,通过查看机顶盒设备中已存储的节目信息,将机顶盒设备中保存的移动设备1收藏的节目信息在电视显示设备中显示,实现移动设备1与移动设备2之间针对该机顶盒设备1的IPTV业务的共享。When the mobile device 1 manages the IPTV service of the set-top box device 1 through the remote control mode, it collects a piece of program information, and sends the collected program information to the set-top box device through the communication network, and stores it in the set-top box device. At this time, the mobile When the device 2 controls the set-top box device 1 through the close-range control mode, by viewing the program information stored in the set-top box device, the program information saved in the set-top box device and stored in the mobile device 1 is displayed on the TV display device, so that the mobile device 1 The IPTV service of the set-top box device 1 is shared with the mobile device 2 .
需要说明的是,设定的数值可以根据需要确定的,也可以是实验获取的。It should be noted that the set values may be determined according to needs, or may be obtained through experiments.
可选地,在现有使用过程中,一般机顶盒设备的位置一旦固定发生移动的次数较少,但是也不能排除机顶盒设备的位置发生移动的可能性,因此,在每一次移动设备对机顶盒设备进行控制时,记录移动设备采用远距离模式控制机顶盒设备的次数,以及记录移动设备采用近距离模式控制机顶盒设备的次数;当在设定周期内,移动设备采用远距离模式控制机顶盒设备的次数远远大于移动设备采用近距离模式控制机顶盒设备的次数时,指示移动设备按照本发明实施例一的方式重新与机顶盒设备建立业务绑定关系,确定机顶盒设备的位置信息,这样避免了由于机顶盒的位置信息发生变化时,采用本发明的方式出现移动设备只能通过远距离控制模式控制机顶盒设备的情况,及时发现机顶盒设备的位置信息发生变化,保证了移动设备与机顶盒设备之间控制的灵活性,提高了移动设备与机顶盒设备之间控制的精确度。Optionally, in the existing use process, once the position of the set-top box device is fixed, the number of times of movement is relatively small, but the possibility of moving the position of the set-top box device cannot be ruled out. When controlling, record the number of times the mobile device uses the remote mode to control the set-top box device, and record the number of times the mobile device uses the short-distance mode to control the set-top box device; within the set period, the number of times the mobile device uses the long-distance mode to control the set-top box device is far greater When the mobile device uses the close-range mode to control the set-top box, instruct the mobile device to re-establish a service binding relationship with the set-top box according to the first embodiment of the present invention, and determine the location information of the set-top box. When a change occurs, the mobile device can only control the set-top box device through the remote control mode by adopting the method of the present invention, and it is found that the position information of the set-top box device changes in time, ensuring the flexibility of control between the mobile device and the set-top box device, and improving It ensures the accuracy of control between mobile devices and set-top box devices.
通过本发明实施例一的方案,在获取到与机顶盒设备已建立业务绑定关系、通过无线方式控制该机顶盒设备的移动设备当前所在位置的位置信息之后,与存储的机顶盒设备的位置信息进行比较,根据比较结果,指示移动设备采用不同的控制模式对机顶盒设备进行控制,这样通过准确获取的与机顶盒设备已建立业务绑定关系、通过无线方式控制该机顶盒设备的移动设备与机顶盒设备之间的相对位置关系,保证了移动设备在移动过程中选择合适的控制模式实现对机顶盒设备的控制,不仅使得移动设备对机顶盒设备的控制方式灵活,而且还能够提高移动设备对机顶盒设备控制精度,提高用户体验值。Through the solution of Embodiment 1 of the present invention, after obtaining the location information of the current location of the mobile device that has established a service binding relationship with the set-top box device and controls the set-top box device wirelessly, compare it with the stored location information of the set-top box device , according to the comparison result, instruct the mobile device to adopt different control modes to control the set-top box device, so that through the accurately obtained service binding relationship with the set-top box device, the communication between the mobile device and the set-top box device that controls the set-top box device through wireless The relative positional relationship ensures that the mobile device selects an appropriate control mode to control the set-top box device during the moving process, which not only makes the mobile device control the set-top box device flexible, but also improves the control accuracy of the mobile device to the set-top box device and improves the user experience. experience value.
实施例二:Embodiment two:
如图3所示,为本发明实施例二的一种位置信息确定方法的流程示意图,本发明实施例二是在本发明实施例一的方法的基础上提出的一种由控制设备利用已知位置信息的机顶盒设备的位置信息确定其他未知位置信息的机顶盒设备的位置信息的方法,所述方法包括:As shown in Figure 3, it is a schematic flowchart of a method for determining position information in Embodiment 2 of the present invention. Embodiment 2 of the present invention is based on the method of Embodiment 1 of the present invention. The position information of the set-top box device of the position information determines the method for determining the position information of other set-top box devices with unknown position information, the method comprising:
步骤301:控制设备接收IPTV服务器发送的位置信息获取消息。Step 301: The control device receives a location information acquisition message sent by an IPTV server.
其中,所述位置信息获取消息中包含了待获取位置信息的机顶盒设备的标识信息、该待获取位置信息的机顶盒设备注册时登记的安装地址信息、至少一个已知位置信息的机顶盒设备注册时登记的安装地址信息。Wherein, the location information acquisition message includes the identification information of the set-top box device whose location information is to be obtained, the installation address information registered when the set-top box device whose location information is to be obtained is registered, and at least one set-top box device whose location information is known. The installation address information.
可选地,在步骤301中,所述位置信息获取消息中包含了已知位置信息的机顶盒设备的标识信息。Optionally, in step 301, the location information acquisition message includes identification information of set-top box devices with known location information.
步骤302:控制设备将接收到的该待获取位置信息的机顶盒设备注册时登记的安装地址信息与接收到的每一个已知位置信息的机顶盒设备注册时登记的安装地址信息进行匹配度运算,确定出匹配度大于设定匹配值的已知位置信息的机顶盒设备注册时登记的安装地址信息。Step 302: The control device performs a match degree calculation on the received installation address information registered during the registration of the set-top box device whose location information is to be acquired and the received installation address information registered during the registration of each set-top box device with known location information, and determines The installation address information registered during the registration of the set-top box device with known location information whose matching degree is greater than the set matching value is obtained.
其中,所述设定匹配值可以根据经验值确定,还可以根据实际需要确定,这里不做具体限定。Wherein, the set matching value may be determined according to empirical values, and may also be determined according to actual needs, which is not specifically limited here.
具体地,在步骤302中,所述将接收到的该待获取位置信息的机顶盒设备注册时登记的安装地址信息与每一个已知位置信息的机顶盒设备注册时登记的安装地址信息进行匹配度运算,具体包括:Specifically, in step 302, the received installation address information registered during the registration of the set-top box device whose location information is to be obtained is matched with the installation address information registered during the registration of each set-top box device with known location information. , including:
首先,根据接收到的该待获取位置信息的机顶盒设备注册时登记的安装地址信息确定所述该待获取位置信息的机顶盒设备注册时登记的安装地址信息对应的第一地理位置,以及根据接收到的每一个已知位置信息的机顶盒设备注册时登记的安装地址信息确定每一个已知位置信息的机顶盒设备注册时登记的安装地址信息对应的第二地理位置。Firstly, according to the received installation address information registered when the set-top box device whose location information is to be obtained is registered, determine the first geographic location corresponding to the installation address information registered when the set-top box device whose location information is to be obtained is registered, and according to the received The installation address information registered when each set-top box device with known location information is registered determines the second geographic location corresponding to the installation address information registered when each set-top box device with known location information is registered.
其次,选择其中一个第二地理位置,利用地图信息计算在地图上确定的所述第一地理位置与选择的所述第二地理位置之间的距离,并将计算出的距离与设定的距离值进行比较。Secondly, select one of the second geographic locations, use map information to calculate the distance between the first geographic location determined on the map and the selected second geographic location, and compare the calculated distance with the set distance value for comparison.
其中,所述设定的距离值可以根据经验获取,也可以是根据实际需要确定。Wherein, the set distance value may be obtained based on experience, or may be determined according to actual needs.
需要说明的是,地图信息显示的比例尺不同,那么设定的距离值大小也不同。It should be noted that the scales displayed on the map information are different, so the set distance values are also different.
第三,当计算出的距离大于设定距离值时,则说明接收到的该待获取位置信息的机顶盒设备注册时登记的安装地址信息与选择的第二地理位置信息对应的已知位置信息的机顶盒设备注册时登记的安装地址信息的匹配度小于设定匹配值;Third, when the calculated distance is greater than the set distance value, it means that the received installation address information registered during the registration of the set-top box device to obtain the location information and the known location information corresponding to the selected second geographic location information The matching degree of the installation address information registered when the set-top box device is registered is less than the set matching value;
当计算出的距离不大于设定距离值时,则说明接收到的该待获取位置信息的机顶盒设备注册时登记的安装地址信息与选择的第二地理位置信息对应的已知位置信息的机顶盒设备注册时登记的安装地址信息的匹配度大于设定匹配值。When the calculated distance is not greater than the set distance value, it means that the received installation address information registered during the registration of the set-top box device whose location information is to be obtained corresponds to the selected second geographic location information. The matching degree of the installation address information registered during registration is greater than the set matching value.
例如:机顶盒设备1注册时登记的安装地址信息为A省B市C区D街E小区F楼G1门H1号,机顶盒设备2注册时登记的安装地址信息为A省B市C区D街E小区F楼G2门H2号,机顶盒设备3注册时登记的安装地址信息为A省B市P区D街E小区F楼G2门H2号,分别确定机顶盒设备1对应的地理位置、确定机顶盒设备2对应的地理位置以及确定机顶盒设备3对应的地理位置,并计算在地图上机顶盒设备1与机顶盒设备2之间的距离、机顶盒设备1与机顶盒设备3之间的距离以及机顶盒设备2与机顶盒设备3之间的距离计算出的距离与设定的距离值进行比较,由此得出,机顶盒设备1与机顶盒设备2安装地址信息的匹配度大于设定的匹配值,机顶盒设备1与机顶盒设备3安装地址信息的匹配度小于设定的匹配值,机顶盒设备2与机顶盒设备3安装地址信息的匹配度小于设定的匹配值。For example: the installation address information registered when set-top box device 1 is registered is No. H1, Gate G1, Building F, District E, District C, District C, City B, Province A, and the installation address information registered when set-top box device 2 is registered is E, Street D, District C, District C, City B, Province A No. H2, Gate G2, Building F, Residential Area. The installation address information registered when the set-top box device 3 is registered is No. H2, Gate G2, Building F, District E, District P, District P, City B, Province A. Determine the geographical location corresponding to the set-top box device 1 and the set-top box device 2 Corresponding geographic location and determining the corresponding geographic location of the set-top box device 3, and calculating the distance between the set-top box device 1 and the set-top box device 2 on the map, the distance between the set-top box device 1 and the set-top box device 3, and the distance between the set-top box device 2 and the set-top box device 3 The calculated distance is compared with the set distance value, and it can be concluded that the matching degree of the installation address information of set-top box device 1 and set-top box device 2 is greater than the set matching value, and the installation address information of set-top box device 1 and set-top box device 3 The matching degree of the address information is less than the set matching value, and the matching degree of the installation address information of the set-top box device 2 and the set-top box device 3 is less than the set matching value.
步骤303:控制设备根据所述已知位置信息的机顶盒设备注册时登记的安装地址信息以及所述已知位置信息的机顶盒设备的位置信息之间的对应关系,查到所述确定出匹配度大于设定匹配值的已知位置信息的机顶盒设备注册时登记的安装地址信息对应的位置信息。Step 303: The control device finds that the determined matching degree is greater than Set the location information corresponding to the installation address information registered during registration of the set-top box device with the known location information of the matching value.
具体地,在步骤303中,控制设备根据本地存储的所述已知位置信息的机顶盒设备注册时登记的安装地址信息以及所述已知位置信息的机顶盒设备的位置信息之间的对应关系,从本地存储的地址信息表中查找到所述确定出匹配度大于设定匹配值的已知位置信息的机顶盒设备注册时登记的安装地址信息对应的位置信息。Specifically, in step 303, the control device, according to the locally stored correspondence between the installation address information registered when the set-top box device of known location information is registered and the location information of the set-top box device of known location information, from The location information corresponding to the installation address information registered during the registration of the set-top box device whose matching degree is determined to be greater than the set matching value is found in the locally stored address information table.
需要说明的是,所述已知位置信息的机顶盒设备的位置信息是利用本发明实施例一中步骤101的方式得到的。It should be noted that the location information of the set-top box device whose location information is known is obtained by means of step 101 in Embodiment 1 of the present invention.
步骤304:控制设备将得到的所述已知位置信息的机顶盒设备的位置信息进行计算,确定出所述待获取位置信息的机顶盒设备的位置信息。Step 304: The control device calculates the obtained location information of the set-top box device whose location information is known, and determines the location information of the set-top box device whose location information is to be acquired.
其中,所述待获取位置信息的机顶盒设备的位置信息包括经度值和纬度值。Wherein, the location information of the set-top box device whose location information is to be acquired includes a longitude value and a latitude value.
在步骤304中,所述将得到的所述已知位置信息的机顶盒设备的位置信息进行计算,确定出所述待获取位置信息的机顶盒设备的位置信息,具体包括:In step 304, calculating the position information of the set-top box device whose position information is known is obtained, and determining the position information of the set-top box device whose position information is to be acquired, specifically including:
首先,提取每一个确定出与待获取位置信息的机顶盒设备匹配度大于设定匹配值的已知位置信息的机顶盒设备的位置信息中的经度值和纬度值;First, extract the longitude and latitude values in the location information of each set-top box device whose matching degree with the set-top box device whose location information is to be acquired is determined to be greater than the set matching value;
其次,将提取得到的所述经度值进行算术平均值运算,并将得到的经度值平均值确定为所述待获取位置信息的机顶盒设备的位置的经度值;以及将提取得到的纬度值进行算术平均值运算,并将得到的纬度值平均值确定为所述待获取位置信息的机顶盒设备的位置的纬度值;Secondly, performing an arithmetic mean value operation on the extracted longitude value, and determining the obtained longitude value average value as the longitude value of the position of the set-top box device whose position information is to be obtained; and performing arithmetic on the extracted latitude value mean value calculation, and determine the obtained latitude value mean value as the latitude value of the position of the set-top box device whose position information is to be acquired;
第三,将所述确定的所述待获取位置信息的机顶盒设备的位置的经度值和纬度值进行组合,得到所述待获取位置信息的机顶盒设备的位置信息。Thirdly, combining the determined longitude value and latitude value of the location of the set-top box device whose location information is to be obtained, to obtain the location information of the set-top box device whose location information is to be obtained.
步骤305:控制设备向所述IPTV服务器发送位置信息确定消息。Step 305: the control device sends a location information determination message to the IPTV server.
其中:所述位置信息确定消息中包含了所述待获取位置信息的机顶盒设备的标识信息和所述确定出的所述待获取位置信息的机顶盒的位置信息。Wherein: the location information determination message includes the identification information of the set-top box device whose location information is to be obtained and the determined location information of the set-top box whose location information is to be obtained.
在发明实施例一的基础之上获取每一个机顶盒设备的位置信息,同时对于没有机顶盒设备的位置信息但是具有机顶盒设备注册登记时的安装地址信息的机顶盒设备,通过本发明实施例二的方案,通过已知机顶盒设备的位置信息和机顶盒设备注册时登记的地址信息,在不增加硬件设备的情况下,能够快速获取其他机顶盒设备的位置信息,降低了获取机顶盒设备的位置信息的成本。On the basis of the first embodiment of the invention, the location information of each set-top box device is obtained, and at the same time, for the set-top box device that does not have the location information of the set-top box device but has the installation address information when the set-top box device is registered, through the scheme of the second embodiment of the present invention, By knowing the location information of the set-top box device and the address information registered during the registration of the set-top box device, the location information of other set-top box devices can be quickly obtained without adding hardware devices, and the cost of obtaining the location information of the set-top box device is reduced.
实施例三:Embodiment three:
如图4所示,为本发明实施例三的一种信息发布方法的流程示意图,本发明实施例三是在本发明实施例一和本发明实施例二的基础上提出的一种利用机顶盒设备的位置信息确定精确投放广告信息的机顶盒设备的方法,所述方法包括:As shown in Figure 4, it is a schematic flow chart of an information distribution method in Embodiment 3 of the present invention. Embodiment 3 of the present invention is a set-top box device proposed on the basis of Embodiment 1 of the present invention and Embodiment 2 of the present invention. A method for determining a set-top box device for accurately delivering advertisement information based on location information, the method comprising:
步骤401:接收广告发布服务器发送的广告信息发布请求消息。Step 401: Receive an advertisement information release request message sent by an advertisement release server.
其中,所述广告信息发布请求消息中包含了待发布广告信息的内容信息和至少一个用于接收所述待发布广告信息的机顶盒设备的位置信息。Wherein, the advertisement information release request message includes the content information of the advertisement information to be released and the location information of at least one set-top box device for receiving the advertisement information to be released.
具体地,在步骤401中,所述用于接收所述待发布广告信息的机顶盒设备的位置信息可以是通过本发明实施例一的步骤101的方式获取到的,也可以是通过本发明实施例二的方式获取到的,还可以是两者结合获取到的,这里不做限定。Specifically, in step 401, the location information of the set-top box device used to receive the advertisement information to be released may be obtained through step 101 of the first embodiment of the present invention, or through the It can be obtained through the second method, or a combination of the two, which is not limited here.
步骤402:根据存储的所述待发布广告信息的机顶盒设备的位置信息和标识信息的对应关系,确定所述用于接收所述待发布广告信息的机顶盒设备的标识信息。Step 402: Determine the identification information of the set-top box device for receiving the advertisement information to be released according to the stored correspondence between the location information of the STB device to which the advertisement information is to be released and the identification information.
步骤403:根据所述确定的用于接收所述待发布广告信息的机顶盒设备的标识信息,将所述待发布广告信息的内容信息发送至所述机顶盒设备。Step 403: Send the content information of the advertisement information to be released to the set-top box device according to the determined identification information of the set-top box device for receiving the advertisement information to be released.
需要说明的是,本发明实施例三中涉及的信息发布内容不限于广告信息内容的发布,还可以是其他需要的发布的其他信息。It should be noted that the information release content involved in the third embodiment of the present invention is not limited to the release of advertisement information content, but may also be other information that needs to be released.
在发明实施例一的基础之上获取每一个机顶盒设备的位置信息,同时建立每一个机顶盒设备的标识信息和该机顶盒设备的位置信息之间的对应关系,通过本发明实施例三的方案,通过指定广告信息发布的机顶盒设备的位置信息得到机顶盒设备的标识信息,并指示IPTV服务器向确定的机顶盒设备的标识信息对应的机顶盒设备发送待发布广告的内容信息,保证了将待发布的广告内容及时准确的在指定的机顶盒设备上进行显示,提高了广告信息投放的精度。On the basis of the first embodiment of the invention, the location information of each set-top box device is obtained, and the corresponding relationship between the identification information of each set-top box device and the location information of the set-top box device is established, and through the third embodiment of the present invention. Specify the location information of the set-top box device for advertising information release to obtain the identification information of the set-top box device, and instruct the IPTV server to send the content information of the advertisement to be released to the set-top box device corresponding to the determined identification information of the set-top box device, ensuring that the advertisement content to be released is timely Accurately display on the specified set-top box equipment, which improves the accuracy of advertising information delivery.
实施例四:Embodiment four:
如图5所示,为本发明实施例四的一种对机顶盒设备进行控制的设备的结构示意图,所述设备包括:位置信息获取模块11、位置信息比较模块12和控制模块13,其中:As shown in FIG. 5 , it is a schematic structural diagram of a device for controlling a set-top box device according to Embodiment 4 of the present invention. The device includes: a location information acquisition module 11, a location information comparison module 12, and a control module 13, wherein:
位置信息获取模块11,用于获取与机顶盒设备已建立业务绑定关系、通过无线方式控制该机顶盒设备的移动设备当前所在位置的位置信息,并将获取的位置信息发送给位置信息比较模块;The location information obtaining module 11 is used to obtain the location information of the current location of the mobile device that has established a service binding relationship with the set-top box device and controls the set-top box device in a wireless manner, and sends the obtained location information to the location information comparison module;
位置信息比较模块12,用于接收位置信息获取模块获取的位置信息,并将接收到的获取的所述位置信息与存储的所述机顶盒设备的位置信息进行比较,将得到的比较结果发送给控制模块;The location information comparison module 12 is used to receive the location information obtained by the location information acquisition module, compare the received location information with the stored location information of the set-top box device, and send the obtained comparison result to the control module;
控制模块13,用于根据位置信息比较模块发送的比较结果,指示所述移动设备采用不同的控制模式对所述机顶盒设备进行控制。The control module 13 is configured to instruct the mobile device to use different control modes to control the set-top box device according to the comparison result sent by the location information comparison module.
其中,所述位置信息包括经度值和纬度值。Wherein, the location information includes a longitude value and a latitude value.
具体地,所述位置信息比较模块12,具体用于确定获取的所述位置信息的第一经度值和第一纬度值,以及确定存储的所述机顶盒设备的位置信息的第二经度值和第二纬度值,并根据确定的所述第一经度值、所述第一纬度值、所述第二经度值和所述第二纬度值,计算获取的所述位置信信息与存储的所述机顶盒设备的位置信息之间的距离值;判断计算得到的所述距离值与是否小于设定的距离阈值。Specifically, the location information comparison module 12 is specifically configured to determine the acquired first longitude value and first latitude value of the location information, and determine the stored second longitude value and first latitude value of the location information of the set-top box device. the second latitude value, and according to the determined first longitude value, the first latitude value, the second longitude value and the second latitude value, calculate the acquired location information and the stored stored information. The distance value between the location information of the set-top box devices; and judging whether the calculated distance value is smaller than a set distance threshold.
具体地,所述控制模块13,具体用于当计算得到的所述距离值不小于设定的距离阈值时,指示所述移动设备通过IPTV客户端对所述机顶盒设备的IPTV业务进行管理;Specifically, the control module 13 is specifically configured to instruct the mobile device to manage the IPTV service of the set-top box device through an IPTV client when the calculated distance value is not less than a set distance threshold;
当计算得到的所述距离值小于设定的距离阈值时,指示所述移动设备通过IPTV客户端与所述机顶盒设备之间建立数据同步连接,或者指示所述移动设备通过IPTV客户端与所述机顶盒设备之间建立数据同步连接、并对所述机顶盒设备的IPTV业务进行管理。When the calculated distance value is less than the set distance threshold, instruct the mobile device to establish a data synchronization connection with the set-top box device through the IPTV client, or instruct the mobile device to establish a data synchronization connection with the set-top box device through the IPTV client. A data synchronization connection is established between the set-top box devices, and IPTV services of the set-top box devices are managed.
具体地,所述位置信息比较模块,具体用于确定获取的所述位置信息的第一经度值和第一纬度值,以及确定存储的所述机顶盒设备的位置信息的第二经度值和第二纬度值,分别计算所述第一经度值与所述第二经度值之间的经度差值以及所述第一纬度值与所述第二纬度值之间的纬度差值,并判断所述经度差值是否大于设定的第一阈值,以及判断所述纬度差值是否大于设定的第二阈值。Specifically, the location information comparison module is specifically configured to determine the acquired first longitude value and first latitude value of the location information, and determine the second longitude value and the first latitude value of the stored location information of the set-top box device. Two latitude values, respectively calculating the longitude difference between the first longitude value and the second longitude value and the latitude difference between the first latitude value and the second latitude value, and judging the Whether the longitude difference is greater than a set first threshold, and whether the latitude difference is greater than a set second threshold.
具体地,所述控制模块13,具体用于当所述经度差值大于设定的第一阈值,且所述纬度值大于设定的第二阈值时,指示所述移动设备通过IPTV客户端对所述机顶盒设备的IPTV业务进行管理;当所述经度差值不大于设定的第一阈值,且所述纬度值不大于设定的第二阈值时,指示所述移动设备通过IPTV客户端与所述机顶盒设备之间建立数据同步连接,或者指示所述移动设备通过IPTV客户端与所述机顶盒设备之间建立数据同步连接、并对所述机顶盒设备的IPTV业务进行管理。Specifically, the control module 13 is specifically configured to, when the longitude difference is greater than a set first threshold and the latitude value is greater than a set second threshold, instruct the mobile device to use the IPTV client to The IPTV service of the set-top box device is managed; when the longitude difference is not greater than the set first threshold, and the latitude value is not greater than the set second threshold, instruct the mobile device to communicate with the IPTV client through the IPTV client. Establish a data synchronization connection between the set-top box devices, or instruct the mobile device to establish a data synchronization connection with the set-top box device through the IPTV client, and manage the IPTV service of the set-top box device.
较优地,所述位置信息获取模块11,具体用于根据所述移动设备中的基于位置的服务LBS定位得到与所述机顶盒设备已建立业务绑定关系、通过无线方式控制该机顶盒设备的移动设备当前所在位置的位置信息。Preferably, the location information acquisition module 11 is specifically configured to obtain the established service binding relationship with the set-top box device according to the location-based service LBS positioning in the mobile device, and control the movement of the set-top box device in a wireless manner. The location information of the current location of the device.
需要说明的是,本发明实施例四所述的设备,可以是单一的控制设备,也可以是IPTV服务器中的控制部件,这里不做限定。It should be noted that the device described in Embodiment 4 of the present invention may be a single control device or a control component in an IPTV server, which is not limited here.
实施例五:Embodiment five:
如图6所示,为本发明实施例五的一种对机顶盒设备进行控制的设备的结构示意图,所述设备包括:位置信息定位器31、处理器32,其中:As shown in FIG. 6 , it is a schematic structural diagram of a device for controlling a set-top box device according to Embodiment 5 of the present invention. The device includes: a location information locator 31 and a processor 32, wherein:
位置信息定位器31,用于获取与机顶盒设备已建立业务绑定关系、通过无线方式控制该机顶盒设备的移动设备当前所在位置的位置信息,并将获取的位置信息发送给处理器;The location information locator 31 is used to obtain the location information of the current location of the mobile device that has established a service binding relationship with the set-top box device and wirelessly controls the set-top box device, and sends the obtained location information to the processor;
处理器32,用于在接收到位置信息定位器获取的位置信息之后,将接收到的所述位置信息与存储的所述机顶盒设备的位置信息进行比较,并根据比较结果,指示所述移动设备采用不同的控制模式对所述机顶盒设备进行控制。The processor 32 is configured to, after receiving the location information obtained by the location information locator, compare the received location information with the stored location information of the set-top box device, and instruct the mobile device according to the comparison result Different control modes are used to control the set-top box device.
具体地,所述处理器32,具体用于确定获取的所述位置信息的第一经度值和第一纬度值,以及确定存储的所述机顶盒设备的位置信息的第二经度值和第二纬度值,并根据确定的所述第一经度值、所述第一纬度值、所述第二经度值和所述第二纬度值,计算获取的所述位置信信息与存储的所述机顶盒设备的位置信息之间的距离值;判断计算得到的所述距离值与是否小于设定的距离阈值,其中,所述位置信息包括经度值和纬度值。Specifically, the processor 32 is specifically configured to determine the acquired first longitude value and first latitude value of the location information, and determine the stored second longitude value and second latitude value of the location information of the set-top box device. latitude value, and according to the determined first longitude value, the first latitude value, the second longitude value and the second latitude value, calculate the obtained location information and the stored set-top box A distance value between the location information of the devices; judging whether the calculated distance value is smaller than a set distance threshold, wherein the location information includes a longitude value and a latitude value.
具体地,所述处理器32,具体用于当计算得到的所述距离值不小于设定的距离阈值时,指示所述移动设备通过IPTV客户端对所述机顶盒设备的IPTV业务进行管理;Specifically, the processor 32 is specifically configured to instruct the mobile device to manage the IPTV service of the set-top box device through an IPTV client when the calculated distance value is not less than a set distance threshold;
当计算得到的所述距离值小于设定的距离阈值时,指示所述移动设备通过IPTV客户端与所述机顶盒设备之间建立数据同步连接,或者指示所述移动设备通过IPTV客户端与所述机顶盒设备之间建立数据同步连接、并对所述机顶盒设备的IPTV业务进行管理。When the calculated distance value is less than the set distance threshold, instruct the mobile device to establish a data synchronization connection with the set-top box device through the IPTV client, or instruct the mobile device to establish a data synchronization connection with the set-top box device through the IPTV client. A data synchronization connection is established between the set-top box devices, and IPTV services of the set-top box devices are managed.
具体地,所述处理器32,具体用于确定获取的所述位置信息的第一经度值和第一纬度值,以及确定存储的所述机顶盒设备的位置信息的第二经度值和第二纬度值,并分别计算所述第一经度值与所述第二经度值之间的经度差值以及所述第一纬度值与所述第二纬度值之间的纬度差值,判断所述经度差值是否大于设定的第一阈值,以及判断所述纬度差值是否大于设定的第二阈值,其中,所述位置信息包括经度值和纬度值。Specifically, the processor 32 is specifically configured to determine the acquired first longitude value and first latitude value of the location information, and determine the stored second longitude value and second latitude value of the location information of the set-top box device. latitude value, and respectively calculate the longitude difference between the first longitude value and the second longitude value and the latitude difference between the first latitude value and the second latitude value, and determine the Whether the longitude difference is greater than a set first threshold, and judging whether the latitude difference is greater than a set second threshold, wherein the location information includes a longitude value and a latitude value.
具体地,所述处理器32,具体用于当所述经度差值大于设定的第一阈值,且所述纬度值大于设定的第二阈值时,指示所述移动设备通过IPTV客户端对所述机顶盒设备的IPTV业务进行管理;当所述经度差值不大于设定的第一阈值,且所述纬度值不大于设定的第二阈值时,指示所述移动设备通过IPTV客户端与所述机顶盒设备之间建立数据同步连接,或者指示所述移动设备通过IPTV客户端与所述机顶盒设备之间建立数据同步连接、并对该机顶盒设备的IPTV业务进行管理。Specifically, the processor 32 is specifically configured to, when the longitude difference is greater than a set first threshold and the latitude value is greater than a set second threshold, instruct the mobile device to use the IPTV client to The IPTV service of the set-top box device is managed; when the longitude difference is not greater than the set first threshold, and the latitude value is not greater than the set second threshold, instruct the mobile device to communicate with the IPTV client through the IPTV client. Establish a data synchronization connection between the set-top box devices, or instruct the mobile device to establish a data synchronization connection with the set-top box device through the IPTV client, and manage the IPTV service of the set-top box device.
具体地,所述位置信息定位器31,具体用于根据所述移动设备中的基于位置的服务LBS定位得到与所述机顶盒设备已建立业务绑定关系、通过无线方式控制该机顶盒设备的移动设备当前所在位置的位置信息。Specifically, the location information locator 31 is specifically configured to locate a mobile device that has established a service binding relationship with the set-top box device and controls the set-top box device in a wireless manner according to the location-based service LBS in the mobile device. The location information of the current location.
实施例六:Embodiment six:
如图7所示,为本发明实施例六的一种位置信息确定设备的结构示意图,所述设备包括:接收模块41、确定模块42、查找模块43、计算模块44和发送模块45,其中:As shown in FIG. 7 , it is a schematic structural diagram of a device for determining location information according to Embodiment 6 of the present invention. The device includes: a receiving module 41, a determining module 42, a searching module 43, a calculating module 44, and a sending module 45, wherein:
接收模块41,用于接收IPTV服务器发送的位置信息获取消息,其中,所述位置信息获取消息中包含了待获取位置信息的机顶盒设备的标识信息、该待获取位置信息的机顶盒设备注册时登记的安装地址信息、至少一个已知位置信息的机顶盒设备注册时登记的安装地址信息的位置信息;The receiving module 41 is configured to receive the location information acquisition message sent by the IPTV server, wherein the location information acquisition message includes the identification information of the set-top box device whose location information is to be obtained, and the set-top box device registered when the location information is to be obtained. Installation address information, location information of at least one set-top box device with known location information registered during registration of the installation address information;
确定模块42,用于将接收到的该待获取位置信息的机顶盒设备注册时登记的安装地址信息与接收到的每一个已知位置信息的机顶盒设备注册时登记的安装地址信息进行匹配度运算,确定出匹配度大于设定匹配值的已知位置信息的机顶盒设备注册时登记的安装地址信息;The determining module 42 is used to perform a matching degree calculation on the received installation address information registered during the registration of the set-top box device whose location information is to be obtained and the received installation address information registered during the registration of each set-top box device with known location information, The installation address information registered during the registration of the set-top box device whose matching degree is determined to be greater than the set matching value of the known location information;
查找模块43,用于根据所述已知位置信息的机顶盒设备注册时登记的安装地址信息以及所述已知位置信息的机顶盒设备的位置信息之间的对应关系,查到确定出匹配度大于设定匹配值的已知位置信息的机顶盒设备注册时登记的安装地址信息对应的机顶盒设备的位置信息,其中,所述已知位置信息的机顶盒设备的位置信息是通过权利要求1中位置信息获取的方法得到的;The search module 43 is used to find and determine that the matching degree is greater than the set-top box device according to the corresponding relationship between the installation address information registered when the set-top box device of the known position information is registered and the position information of the set-top box device of the known position information. The location information of the set-top box device corresponding to the installation address information registered when the set-top box device with known location information of a given matching value is registered, wherein the location information of the set-top box device with known location information is obtained through the location information in claim 1 obtained by the method;
计算模块44,用于将查到的所述已知位置信息的机顶盒设备的位置信息进行计算,确定出所述待获取位置信息的机顶盒设备的位置信息;The calculation module 44 is used to calculate the position information of the set-top box device with known position information found, and determine the position information of the set-top box device whose position information is to be obtained;
发送模块45,用于向所述IPTV设备发送位置信息确定消息,其中:所述位置信息确定消息中包含了所述待获取位置信息的机顶盒设备的标识信息和所述确定出的所述待获取位置信息的机顶盒的位置信息。The sending module 45 is configured to send a location information determination message to the IPTV device, wherein: the location information determination message includes the identification information of the set-top box device whose location information is to be obtained and the determined location information to be obtained Location information The location information of the set-top box.
具体地,所述待获取位置信息的机顶盒设备的位置信息包括经度值和纬度值;所述计算模块44,具体用于提取每一个所述确定出匹配度大于设定匹配值的已知位置信息的机顶盒设备的位置信息中的经度值和纬度值;将提取得到的所述经度值进行算术平均值运算,并将得到的经度值平均值确定为所述待获取位置信息的机顶盒设备的位置的经度值;以及将提取得到的纬度值进行算术平均值运算,并将得到的纬度值平均值确定为所述待获取位置信息的机顶盒设备的位置的纬度值;将所述确定的所述待获取位置信息的机顶盒设备的位置的经度值和纬度值进行组合,得到所述待获取位置信息的机顶盒设备的位置信息。Specifically, the location information of the set-top box device whose location information is to be obtained includes a longitude value and a latitude value; the calculation module 44 is specifically used to extract each known location information whose matching degree is determined to be greater than the set matching value The longitude value and latitude value in the location information of the set-top box device; the longitude value obtained by extracting is subjected to an arithmetic mean value operation, and the obtained longitude value average value is determined as the position of the set-top box device whose location information is to be obtained longitude value; and perform arithmetic mean value operation on the extracted latitude value, and determine the obtained latitude value average value as the latitude value of the position of the set-top box device whose location information is to be acquired; The longitude value and the latitude value of the location of the set-top box device in the location information are combined to obtain the location information of the set-top box device whose location information is to be obtained.
实施例七:Embodiment seven:
如图8所示,为本发明实施例八的一种信息发布设备的结构示意图,所述设备包括:消息接收模块51、标识信息确定模块52和信息发布模块53,其中:As shown in FIG. 8 , it is a schematic structural diagram of an information publishing device according to Embodiment 8 of the present invention. The device includes: a message receiving module 51, an identification information determining module 52, and an information publishing module 53, wherein:
消息接收模块51,用于接收广告发布服务器发送的广告信息发布请求消息,其中,包含了待发布广告信息的内容信息和至少一个用于接收所述待发布广告信息的机顶盒设备的位置信息,所述用于接收所述待发布广告信息的机顶盒设备的位置信息是通过权利要求1中位置信息获取的方法和/或权利要求9所述的方法得到的;The message receiving module 51 is configured to receive the advertisement information release request message sent by the advertisement release server, which includes the content information of the advertisement information to be released and the location information of at least one set-top box device for receiving the advertisement information to be released, so The location information of the set-top box device used to receive the advertisement information to be released is obtained by the method for obtaining location information in claim 1 and/or the method described in claim 9;
标识信息确定模块52,用于根据存储的所述机顶盒设备的位置信息和标识信息的对应关系,确定所述用于接收所述待发布广告信息的机顶盒设备的标识信息;An identification information determining module 52, configured to determine the identification information of the set-top box device used to receive the advertisement information to be released according to the stored correspondence between the location information of the set-top box device and the identification information;
信息发布模块53,用于根据所述确定的用于接收所述待发布广告信息的机顶盒设备的标识信息将所述待发布广告信息的内容信息发送至所述机顶盒设备。The information release module 53 is configured to send the content information of the advertisement information to be released to the set-top box device according to the determined identification information of the set-top box device for receiving the advertisement information to be released.
需要说明的是,本发明实施例六和本发明实施例七所述的设备可以是单一的物理实体,还可以是控制设备中的功能模块,还可以是集成在IPTV服务器内的逻辑部件,这里不做限定。It should be noted that the device described in the sixth embodiment of the present invention and the seventh embodiment of the present invention may be a single physical entity, or a functional module in the control device, or a logical component integrated in the IPTV server, where No limit.
如图9所示,为本发明实施例涉及的移动设备与机顶盒设备进行信息交互的系统结构示意图,该系统包括:IPTV服务器61、机顶盒设备62、电视显示设备63、移动设备64、控制设备65、位置信息确定设备66和信息发布设备67。As shown in Figure 9, it is a schematic structural diagram of a system for information interaction between a mobile device and a set-top box device according to an embodiment of the present invention. The system includes: an IPTV server 61, a set-top box device 62, a TV display device 63, a mobile device 64, and a control device 65 , a location information determining device 66 and an information issuing device 67.
其中,IPTV服务器61、机顶盒设备62和电视显示设备63组合成现有技术中的IPTV系统,IPTV服务器61、机顶盒设备62和电视显示设备63之间利用现有技术的通信方式进行通信。Wherein, the IPTV server 61, the set-top box device 62 and the TV display device 63 are combined into an IPTV system in the prior art, and the communication between the IPTV server 61, the set-top box device 62 and the TV display device 63 is carried out by means of the prior art.
移动设备64通过互联网或者移动通信网与机顶盒设备62进行通信,实现对机顶盒设备62的远距离模式控制;The mobile device 64 communicates with the set-top box device 62 through the Internet or a mobile communication network to realize remote mode control of the set-top box device 62;
移动设备64通过蓝牙或者无线局域网与机顶盒设备62进行通信,实现对机顶盒设备62的近距离模式控制。The mobile device 64 communicates with the set-top box device 62 through Bluetooth or wireless local area network, so as to realize the close-range mode control of the set-top box device 62 .
其中,控制设备65、位置信息确定设备66和信息发布设备67可以是集成在IPTV服务器61中的功能模块,还可以是独立的物理实体,利用本发明实施例一、本发明实施例二和本发明实施例三所述的方法进行通信,这里不再详细描述。Wherein, the control device 65, the location information determining device 66 and the information issuing device 67 may be functional modules integrated in the IPTV server 61, or may be independent physical entities. Using Embodiment 1 of the present invention, Embodiment 2 of the present invention and this The method described in the third embodiment of the invention communicates, which will not be described in detail here.
本领域的技术人员应明白,本发明的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices (devices), or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies thereof, the present invention also intends to include these modifications and variations.
Claims (25)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310150007.7A CN103260059B (en) | 2013-04-26 | 2013-04-26 | Controller set top box device, positional information determine the method and apparatus with Information issued |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310150007.7A CN103260059B (en) | 2013-04-26 | 2013-04-26 | Controller set top box device, positional information determine the method and apparatus with Information issued |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103260059A CN103260059A (en) | 2013-08-21 |
| CN103260059B true CN103260059B (en) | 2016-03-30 |
Family
ID=48963716
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310150007.7A Expired - Fee Related CN103260059B (en) | 2013-04-26 | 2013-04-26 | Controller set top box device, positional information determine the method and apparatus with Information issued |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103260059B (en) |
Families Citing this family (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119292722A (en) | 2011-06-05 | 2025-01-10 | 苹果公司 | System and method for displaying notifications received from multiple applications |
| CN103533422A (en) * | 2013-10-09 | 2014-01-22 | 康佳集团股份有限公司 | Set top box and method based on position service applied on set top box |
| CN104717529A (en) * | 2013-12-13 | 2015-06-17 | 国家广播电影电视总局广播电视卫星直播管理中心 | Direct broadcast satellite television equipment shifting method and device |
| US20150350146A1 (en) * | 2014-05-29 | 2015-12-03 | Apple Inc. | Coordination of message alert presentations across devices based on device modes |
| AU2015312369B2 (en) | 2014-09-02 | 2018-04-05 | Apple Inc. | Reduced-size interfaces for managing alerts |
| KR102354763B1 (en) * | 2014-11-17 | 2022-01-25 | 삼성전자주식회사 | Electronic device for identifying peripheral apparatus and method thereof |
| CN105516775A (en) * | 2015-12-10 | 2016-04-20 | 四川长虹网络科技有限责任公司 | Intelligent set-top box with social function |
| CN106375784A (en) * | 2016-08-31 | 2017-02-01 | 三星电子(中国)研发中心 | Method and apparatus for commenting program and receiving comment information of program |
| CN108683941A (en) * | 2018-05-03 | 2018-10-19 | 浙江纷视网络信息技术有限公司 | A kind of IPTV VOD systems and order method based on mobile terminal |
| US11477609B2 (en) | 2019-06-01 | 2022-10-18 | Apple Inc. | User interfaces for location-related communications |
| US11152100B2 (en) | 2019-06-01 | 2021-10-19 | Apple Inc. | Health application user interfaces |
| US11481094B2 (en) | 2019-06-01 | 2022-10-25 | Apple Inc. | User interfaces for location-related communications |
| CN110809027A (en) * | 2019-09-30 | 2020-02-18 | 浙江口碑网络技术有限公司 | Information processing method, information processing device and electronic equipment |
| US12405717B2 (en) | 2020-10-26 | 2025-09-02 | Apple Inc. | Methods and user interfaces for handling user requests |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102404637A (en) * | 2011-11-09 | 2012-04-04 | Ut斯达康通讯有限公司 | System and method for controlling television remotely through intelligent mobile phone |
| CN102595226A (en) * | 2012-03-16 | 2012-07-18 | 深圳市茁壮网络股份有限公司 | Wireless control method and set-top box |
| CN102821321A (en) * | 2012-08-31 | 2012-12-12 | 博视联(苏州)信息科技有限公司 | Remote-control interaction system for digital television |
| CN103067858A (en) * | 2011-10-24 | 2013-04-24 | 国家广播电影电视总局广播科学研究院 | Direct broadcast satellite broadcasting system with positioning management function |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8875176B2 (en) * | 2009-09-10 | 2014-10-28 | At&T Intellectual Property I, L.P. | Method and apparatus using location-based communication |
-
2013
- 2013-04-26 CN CN201310150007.7A patent/CN103260059B/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103067858A (en) * | 2011-10-24 | 2013-04-24 | 国家广播电影电视总局广播科学研究院 | Direct broadcast satellite broadcasting system with positioning management function |
| CN102404637A (en) * | 2011-11-09 | 2012-04-04 | Ut斯达康通讯有限公司 | System and method for controlling television remotely through intelligent mobile phone |
| CN102595226A (en) * | 2012-03-16 | 2012-07-18 | 深圳市茁壮网络股份有限公司 | Wireless control method and set-top box |
| CN102821321A (en) * | 2012-08-31 | 2012-12-12 | 博视联(苏州)信息科技有限公司 | Remote-control interaction system for digital television |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103260059A (en) | 2013-08-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103260059B (en) | Controller set top box device, positional information determine the method and apparatus with Information issued | |
| CN104819723B (en) | A kind of localization method and location-server | |
| US9661467B2 (en) | System and method for indoor location mapping and tracking | |
| EP2676501B1 (en) | Methods, apparatuses and computer program products for providing a private and efficient geolocation system | |
| CN103026739B (en) | Method and apparatus for use in providing location assistance data to a mobile station | |
| US9609473B2 (en) | Service processing method and apparatus based on location information | |
| WO2018036297A1 (en) | Indoor positioning technique and information pushing system, method and device based thereon, and terminal | |
| CN105007566B (en) | A kind of indoor and outdoor positioning fast switch over method and system | |
| EP2750438B1 (en) | Method for accessing augmented reality user context | |
| CN106856488B (en) | Method and device for scene perception and service provision | |
| CN103826205A (en) | Bluetooth-technology-based digital information push method and bluetooth-technology-based digital information push system | |
| WO2016195879A2 (en) | Hybrid positioning techniques based on rtt and toa/tdoa | |
| CN102829788A (en) | Live action navigation method and live action navigation device | |
| JP6085353B2 (en) | Location-based service providing method and system for changing setting of mobile terminal using cell identifier information | |
| WO2017028433A1 (en) | Terminal positioning method and system, target terminal and positioning server | |
| CN103245337A (en) | Method for acquiring position of mobile terminal, mobile terminal and position detection system | |
| CA2851744A1 (en) | Method, system and apparatus for collecting location information | |
| WO2014183700A1 (en) | M2m-based information processing method and m2m service platform | |
| CN102291419B (en) | The supplying method of navigation information system and navigation information | |
| CN105208130A (en) | Scenic spot explanation method and system, server and terminal | |
| CN105044755A (en) | A method and system for seamless switching of indoor and outdoor positioning | |
| CN104519573A (en) | Positioning method, device and system | |
| CN105005898A (en) | A shopping guide method and system based on indoor and outdoor positioning | |
| CN105072169A (en) | Intelligent information display system of culture exhibition hall | |
| CN104081220B (en) | Mechanism for utilizing and facilitating geodetic triangulation to determine the global position of a computing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160330 |