WO2016107248A1 - Method and apparatus for checking language settings of television - Google Patents

Method and apparatus for checking language settings of television Download PDF

Info

Publication number
WO2016107248A1
WO2016107248A1 PCT/CN2015/092273 CN2015092273W WO2016107248A1 WO 2016107248 A1 WO2016107248 A1 WO 2016107248A1 CN 2015092273 W CN2015092273 W CN 2015092273W WO 2016107248 A1 WO2016107248 A1 WO 2016107248A1
Authority
WO
WIPO (PCT)
Prior art keywords
television
language
address
information
location information
Prior art date
Application number
PCT/CN2015/092273
Other languages
French (fr)
Chinese (zh)
Inventor
刘卫方
王小红
姜奇
陈涛
Original Assignee
深圳Tcl数字技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2016107248A1 publication Critical patent/WO2016107248A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Definitions

  • the present invention relates to the field of televisions, and in particular, to a method and apparatus for verifying language settings of a television set.
  • TV sets produced in a certain country may be sold to many countries, and when the TV is shipped from the factory, it is not possible to configure correspondingly for different countries of sale, such as language settings. Therefore, when the TV is shipped from the factory, multiple language items are imported for the user to select. After the user sets a language that he or she knows well, the menu on the TV will be converted into the set language.
  • the main object of the present invention is to provide a method and apparatus for verifying the language setting of a television set, which aims to prevent the setting language of the user input from being incorrect and causing the television to be unable to be used normally.
  • the invention provides a method for verifying a language setting of a television set, comprising the following steps:
  • the obtaining an IP address of the television access network and obtaining the television includes:
  • the geographical location database stores location information of an IP address assigned by the Internet Name and Digital Address Assignment Organization to each country.
  • the obtaining the language information corresponding to the current geographic location information of the television set according to the current geographic location information of the television set comprises:
  • the network is connected to search for and download the geolocation database on the network.
  • the determining, according to the current geographic location information of the television, the locally stored geographic location database, and determining the language information corresponding to the current geographic location information of the television set further comprising:
  • the language information matching the current geographical location information is multiple, if any one of the language information corresponding to the current geographical location information of the television is consistent with the language information set by the user, the current geographic location of the television is determined.
  • the language information corresponding to the location information is consistent with the language information set by the user.
  • the locating the locally stored geographic location database according to the current geographic location information of the television set, and determining the language information corresponding to the current geographic location information of the television set further includes:
  • the network is connected to search for and download the language package matching the current geographical location information on the network.
  • the IP address includes a public network address and a private network address, and the public network address It belongs to the IP address segment assigned by the Internet Name and Number Address Assignment Organization to each country.
  • the method further includes:
  • the current geographic location information obtained is stored for direct access next time.
  • the invention also provides a verification device for language setting of a television set, comprising:
  • a geographic location identification module configured to obtain an IP address of the television access network, and obtain current geographic location information of the television corresponding to the IP address of the television access network;
  • a language information obtaining module configured to obtain language information corresponding to current geographic location information of the television set according to current geographic location information of the television set;
  • a receiving module configured to receive language setting information input by the user
  • a verification module configured to generate prompt information when the language information corresponding to the current geographical location information of the television is inconsistent with the language information set by the user.
  • the geographic location identification module comprises:
  • the IP address obtaining module is configured to send an inquiry command to the public network server to obtain an IP address of the television access network;
  • the IP address resolution module is configured to match an IP address of the television access network to a pre-stored IP address database, and obtain current geographic location information of the television corresponding to the IP address of the television access network.
  • the geographical location database stores location information of an IP address assigned by the Internet Name and Digital Address Assignment Organization to each country.
  • the language information obtaining module is specifically configured to:
  • the network is connected to search for and download the geolocation database on the network.
  • the verification module is further configured to:
  • the language information matching the current geographical location information is multiple, if any one of the language information corresponding to the current geographical location information of the television is consistent with the language information set by the user, the current geographic location of the television is determined.
  • the language information corresponding to the location information is consistent with the language information set by the user.
  • the language information obtaining module is further configured to:
  • the network is connected to search for and download the language package matching the current geographical location information on the network.
  • the IP address includes a public network address and a private network address
  • the public network address belongs to an IP address segment allocated by the Internet Name and Digital Address Assignment Organization to each country.
  • the geographic location identification module is further configured to: store the obtained current geographic location information for the next direct acquisition.
  • the embodiment of the invention obtains the language information corresponding to the IP address of the television access network, and then verifies the setting language input by the user according to the language information, and prompts the user according to the verification result, thereby avoiding user input.
  • the setting language is wrong and the TV is not working properly.
  • FIG. 1 is a schematic flow chart of a method for verifying a language setting of a television set according to the present invention
  • FIG. 2 is a schematic diagram of a prompt when the language information corresponding to the current geographical location information of the television is inconsistent in the verification method of the language setting of the television set of the present invention
  • FIG. 3 is a schematic diagram showing a refinement process of acquiring current geographic location information of a television set of the television set of the present invention
  • FIG. 4 is a functional block diagram of a verification device for language setting of a television set of the present invention.
  • FIG. 5 is a schematic diagram showing a refinement flow of a geographic location identification module in a verification device for language setting of a television set according to the present invention
  • Figure 6 is a block diagram showing the hardware structure of the television set of the present invention.
  • FIG. 1 is a flow chart showing a first embodiment of a method for verifying a language setting of a television set according to the present invention. As shown in FIG. 1, the verification method of the language setting of the television includes the following steps:
  • Step S110 Obtain an IP address of the television access network, and obtain current geographic location information of the television corresponding to the IP address of the television access network.
  • IP Internet Protocol
  • the IP address may include a public network address and a private network address, and the public network address belongs to an IP address segment assigned to each country by ICANN (The Internet Corporation for Assigned Names and Numbers).
  • ICANN The Internet Corporation for Assigned Names and Numbers.
  • Step S120 Obtain language information corresponding to current geographic location information of the television according to current geographic location information of the television;
  • mapping table of geographic location and language information may be pre-stored. By looking up the mapping table, language information corresponding to the current geographic location information of the television is obtained.
  • the mapping table can be stored in the memory of the TV set when the TV is shipped from the factory, and can be retrieved when needed.
  • the mapping table can also be obtained by the television set from the network or from an external device. The specific mapping table is shown in Table 1 below:
  • Table 1 Mapping of geographic location information and language information
  • Step S130 Receive language setting information input by the user
  • the language information displayed on the TV must be set.
  • the language can be set to Simplified Chinese or Traditional Chinese; if the user is American, the language can be set to American English and so on.
  • Step S140 When the language information corresponding to the current geographical location information of the television is inconsistent with the language information set by the user, prompt information is generated.
  • the language information input by the user is obtained, and compared with the language information of the current geographical location information of the television. If the two are inconsistent, a prompt message is generated to prompt the user whether to re- Settings, as shown in Figure 2.
  • the embodiment of the invention obtains the language information corresponding to the IP address of the television access network, and then verifies the setting language input by the user according to the language information, and prompts the user according to the verification result, thereby avoiding user input.
  • the setting language is wrong and the TV is not working properly.
  • the foregoing S110 may specifically include:
  • Step S111 Send an inquiry command to the public network server to obtain an IP address of the television access network
  • the TV When the TV is connected to the network, it sends an inquiry command to the public network server to obtain the IP address of the TV access network.
  • the public network address of the IP address is obtained.
  • the public network address of the obtained IP address is 0.0.20.1.
  • Step S112 matching an IP address of the television access network with a pre-stored geographical location database, and obtaining current geographic location information of the television corresponding to the IP address of the television access network.
  • the public network address of the obtained IP address is matched with the geographical location database to obtain the current geographical location information, and the current geographical location information is the country where the television is located.
  • the geolocation database stores the IP address segment information that ICANN assigns to each country, as shown in Table 2.
  • the country information to which the public network address 0.0.20.1 obtained in step S110 belongs is Australia.
  • the foregoing geographical location database may be stored in the local storage or may be stored in the network server.
  • the geographical location database is preferably stored in the network server, which not only saves the locally stored resources, but also saves the locally stored resources.
  • the latest IP address segment information is obtained by updating the IP address segment data in the web server.
  • the network may be connected, and the geographical location database may be searched through the network, or directly access the database storage location, and then downloaded to the television.
  • the free GEOLiteCity database provided by MaxMind will be used for the query. Therefore, when the database does not exist locally, the TV will be downloaded to the MaxMind website via the GEOIP data interface: http://geolite.maxmind.com. After downloading the extract, store the database in a local directory. By calling the api interface, the TV can query the area information of the user according to the IP address of the TV access network.
  • the network may be connected, and the language package may be searched through the network, or the language package storage location may be directly accessed, and then downloaded to the television.
  • the language information package can be downloaded from the official website provided by the TV manufacturer, or can be obtained on other websites and imported into a designated location of the television.
  • the geographic location of the television is currently located, the language pack corresponding to the geographic location is obtained through the network, and all the language packs are not required to be imported when the television is shipped, thereby saving the storage space of the television. .
  • the television is determined
  • the language information corresponding to the current geographical location information is consistent with the language information set by the user. Specifically, if the current geographical location information indicates that the country is Hong Kong, and the language information matching the country may include Chinese, Cantonese, English, and the like. Therefore, the user in the geographic location is setting the language information of his TV. It can be set to Chinese, Cantonese or English.
  • the language information corresponding to the current geographical location information of the television and the language information set by the user are determined. Consistent, that is, no prompt information is generated.
  • the verification device for the language setting of the television includes:
  • the geographic location identification module 110 is configured to obtain an IP address of the television access network, and obtain current geographic location information of the television corresponding to the IP address of the television access network;
  • the language information obtaining module 120 is configured to obtain language information corresponding to current geographic location information of the television set according to current geographic location information of the television set;
  • the receiving module 130 is configured to receive language setting information input by the user;
  • the verification module 140 is configured to generate prompt information when the language information corresponding to the current geographical location information of the television is inconsistent with the language information set by the user.
  • the television When the television accesses the network, it sends an inquiry command to the IP (Internet Protocol) protocol public network server to obtain the IP address when the TV accesses the network.
  • IP Internet Protocol
  • the IP address may include a public network address and a private network address, and the public network address belongs to an IP address segment assigned to each country by ICANN (The Internet Corporation for Assigned Names and Numbers).
  • the geographic location identification module 110 can obtain the current geographic location information of the television corresponding to the PIP address by parsing the public network address in the IP address. Once the location information is obtained, it can also be stored in memory for the next direct acquisition.
  • a mapping table of geographic location and language information may be pre-stored.
  • the language information obtaining module 120 obtains language information corresponding to the current geographical location information of the television by looking up the mapping table.
  • the mapping table can be stored in the memory of the TV when the TV is shipped from the factory. Medium, for the need to retrieve.
  • the mapping table can also be obtained by the television set from the network or from an external device.
  • the receiving module 130 will receive the language setting information issued by the user.
  • the verification module 140 compares the language setting information sent by the user with the language information of the current geographical location information of the television. If the two are inconsistent, a prompt message is generated to prompt the user whether to reset.
  • the embodiment of the invention obtains the language information corresponding to the IP address of the television access network, and then verifies the setting language input by the user according to the language information, and prompts the user according to the verification result, thereby avoiding user input.
  • the setting language is wrong and the TV is not working properly.
  • the geographical location identification module 110 includes:
  • the IP address obtaining module 111 is configured to send a query command to the public network server to obtain an IP address of the television access network.
  • the IP address parsing module 112 is configured to match an IP address of the television access network with a pre-stored geographic location database, and obtain current geographic location information of the television corresponding to the IP address of the television access network.
  • the foregoing geographical location database may be stored in the local storage or may be stored in the network server.
  • the geographical location database is preferably stored in the network server, which not only saves the locally stored resources, but also updates the IP address in the network server.
  • the address segment data is obtained to obtain the latest IP address segment information.
  • the language information obtaining module 120 is specifically configured to:
  • the network is connected to search for and download the geographical location database on the network;
  • the network is connected to search for and download the language packs that match the country on the network.
  • the TV When the geographical location database does not exist locally, you can connect to the network and search the geographical location database through the network, or directly access the database storage location, and then download to the TV.
  • the free GEOLiteCity database provided by MaxMind will be used for the query. Therefore, when the database does not exist locally, the TV will be downloaded to the MaxMind website via the GEOIP data interface: http://geolite.maxmind.com. After downloading the extract, store the database in a local directory. By calling the api interface, the TV can query the area information of the user according to the IP address of the TV access network.
  • the network may be connected, and the language package may be searched through the network, or the language package storage location may be directly accessed, and then downloaded to the television.
  • the language information package can be downloaded from the official website provided by the TV manufacturer, or can be obtained on other websites and imported into a designated location of the television.
  • the geographic location of the television is currently located, the language pack corresponding to the geographic location is obtained through the network, and all the language packs are not required to be imported when the television is shipped, thereby saving the storage space of the television. .
  • the language information obtaining module 120 is further configured to:
  • the language information matching the current geographical location information is multiple, if any one of the language information corresponding to the current geographical location information of the television is consistent with the language information set by the user, the current geographic location of the television is determined.
  • the language information corresponding to the location information is consistent with the language information set by the user.
  • the language information can be included in Chinese, Cantonese, English and so on. Therefore, users in this geographic location can be set to Chinese, Cantonese or English when setting the language information of their TV.
  • the language information corresponding to the current geographical location information of the television and the language information set by the user are determined. Consistent, that is, no prompt information is generated.
  • the present invention also provides a television set.
  • the television set can include a processor 101, a memory 102, a display screen 103, a speaker 104, a user interface 105, a network interface 106, a data interface 107, and a communication bus 108.
  • the communication bus 108 is used for communication between the various components in the television set.
  • the network interface 106 is used to implement communication between the television and the Internet device, external terminal devices, such as mobile terminals, other servers, and the like.
  • Data interface 107 can be used to receive broadcast signals.
  • Network interface 106 may include an RS232 interface, a radio frequency interface, a WIFI interface, and the like.
  • the user interface 105 is configured to receive a control command from the user and send the received control command to the processor 101 for processing.
  • Display screen 103 is used to display data processed in processor 101 or to display broadcast signals received by data interface 107.
  • the speaker 104 is used to play audio data to be played by the processor 101.
  • Memory 102 can include one or more computer readable storage media, and includes not only internal memory but also external memory.
  • the memory 102 stores an operating system, a verification device of a language setting, and the like.
  • the processor 101 will call the verification device and other components of the language setting in the memory 102 to realize automatic verification when the user sets the language of the television.
  • the specific structure and working principle of the calibration device of the language setting can be referred to the description of the previous embodiment, and will not be described herein.

Abstract

Disclosed is a method for checking language settings of a television, comprising: acquiring an IP address of a television access network, and obtaining current geographic position information of a television corresponding to the IP address of the television access network; obtaining language information corresponding to the current geographic position information of the television according to the current geographic position information of the television; receiving language setting information input by a user; and when the language information corresponding to the current geographic position information of the television is inconsistent with language information set by the user, generating prompt information. Also disclosed are an apparatus for checking language settings of a television, and a television. The present invention avoids the problem that the television cannot be used normally due to the fact that a setting language input by the user is wrong.

Description

电视机的语言设置的校验方法及装置Method and device for verifying language setting of television 技术领域Technical field
本发明涉及电视机领域,尤其涉及一种电视机的语言设置的校验方法及装置。The present invention relates to the field of televisions, and in particular, to a method and apparatus for verifying language settings of a television set.
背景技术Background technique
随着进出口贸易的快速发展,在某国生产的电视机可能会销往多个国家,而在电视出厂时,无法分别针对不同的销售国家而进行相应的配置,例如语言设置。因此,该电视在出厂时,会导入多种语言项供用户选择,用户设置自己熟知的语言后,电视机上的菜单等将转换为所设置的语言。With the rapid development of import and export trade, TV sets produced in a certain country may be sold to many countries, and when the TV is shipped from the factory, it is not possible to configure correspondingly for different countries of sale, such as language settings. Therefore, when the TV is shipped from the factory, multiple language items are imported for the user to select. After the user sets a language that he or she knows well, the menu on the TV will be converted into the set language.
但是,一旦用户不小心设置出错时,可能造成电视无法正常使用。However, once the user accidentally sets an error, the TV may not work properly.
发明内容Summary of the invention
本发明的主要目的是提供一种电视机的语言设置的校验方法及装置,旨在避免用户输入的设置语言错误而导致电视无法正常使用。The main object of the present invention is to provide a method and apparatus for verifying the language setting of a television set, which aims to prevent the setting language of the user input from being incorrect and causing the television to be unable to be used normally.
本发明提供了一种电视机的语言设置的校验方法,包括以下步骤:The invention provides a method for verifying a language setting of a television set, comprising the following steps:
获取电视机接入网络的IP地址,并获得与所述电视机接入网络的IP地址对应的电视机的当前地理位置信息;Obtaining an IP address of the television access network, and obtaining current geographic location information of the television corresponding to the IP address of the television access network;
根据所述电视机的当前地理位置信息,获得与所述电视机的当前地理位置信息对应的语言信息;Obtaining language information corresponding to current geographic location information of the television set according to current geographic location information of the television;
接收用户输入的语言设置信息;Receiving language setting information input by the user;
当所述电视机的当前地理位置信息对应的语言信息与用户设置的语言信息不一致时,产生提示信息。When the language information corresponding to the current geographical location information of the television set is inconsistent with the language information set by the user, prompt information is generated.
优选地,所述获取电视机接入网络的IP地址,并获得与所述电视 机接入网络的IP地址对应的电视机的当前地理位置信息包括:Preferably, the obtaining an IP address of the television access network and obtaining the television The current geographical location information of the television corresponding to the IP address of the machine access network includes:
向公网服务器发送查询命令,获取电视机接入网络的IP地址;Send a query command to the public network server to obtain the IP address of the TV access network;
将所述电视机接入网络的IP地址与预存的IP地址数据库进行匹配,获得与所述电视机接入网络的IP地址对应的电视机的当前地理位置信息。Matching the IP address of the television access network to the pre-stored IP address database to obtain current geographic location information of the television corresponding to the IP address of the television access network.
优选地,所述地理位置数据库存储互联网名称与数字地址分配组织分配给各个国家的IP地址地段信息。Preferably, the geographical location database stores location information of an IP address assigned by the Internet Name and Digital Address Assignment Organization to each country.
优选地,所述根据所述电视机的当前地理位置信息,获得与所述电视机的当前地理位置信息对应的语言信息包括:Preferably, the obtaining the language information corresponding to the current geographic location information of the television set according to the current geographic location information of the television set comprises:
根据所述电视机的当前地理位置信息,查找本地存储的地理位置数据库,确定与所述电视机的当前地理位置信息对应的语言信息;Finding a locally stored geographic location database according to current geographic location information of the television, and determining language information corresponding to current geographic location information of the television;
当本地不存在地理位置数据库时,则连接网络,以在网络上搜索并下载该地理位置数据库。When the geolocation database does not exist locally, the network is connected to search for and download the geolocation database on the network.
优选地,所述根据所述电视机的当前地理位置信息,查找本地存储的地理位置数据库,确定与所述电视机的当前地理位置信息对应的语言信息之后还包括:Preferably, the determining, according to the current geographic location information of the television, the locally stored geographic location database, and determining the language information corresponding to the current geographic location information of the television set, further comprising:
若与当前地理位置信息匹配的语言信息为多个,则所述电视机的当前地理位置信息对应的语言信息中的任意一个与用户设置的语言信息一致时,都判断所述电视机的当前地理位置信息对应的语言信息与用户设置的语言信息一致。If the language information matching the current geographical location information is multiple, if any one of the language information corresponding to the current geographical location information of the television is consistent with the language information set by the user, the current geographic location of the television is determined. The language information corresponding to the location information is consistent with the language information set by the user.
优选地,根据所述电视机的当前地理位置信息,查找本地存储的地理位置数据库,确定与所述电视机的当前地理位置信息对应的语言信息之后还包括:Preferably, the locating the locally stored geographic location database according to the current geographic location information of the television set, and determining the language information corresponding to the current geographic location information of the television set, further includes:
当本地地理位置数据库不存在与当前地理位置信息匹配的语言信息时,则连接网络,以在网络上搜索并下载与该当前地理位置信息匹配的语言包。When the local geographical location database does not have language information matching the current geographical location information, the network is connected to search for and download the language package matching the current geographical location information on the network.
优选地,所述IP地址包括公网地址及私网地址,所述公网地址 属于互联网名称与数字地址分配组织分配给各个国家的IP地址段。Preferably, the IP address includes a public network address and a private network address, and the public network address It belongs to the IP address segment assigned by the Internet Name and Number Address Assignment Organization to each country.
优选地,所述获取电视机接入网络的IP地址,并获得与所述电视机接入网络的IP地址对应的电视机的当前地理位置信息的步骤之后还包括:Preferably, after the step of obtaining the IP address of the television access network and obtaining the current geographical location information of the television corresponding to the IP address of the television access network, the method further includes:
将获得的当前地理位置信息进行存储,以便下次直接获取。The current geographic location information obtained is stored for direct access next time.
本发明还提供了一种电视机的语言设置的校验装置,包括:The invention also provides a verification device for language setting of a television set, comprising:
地理位置识别模块,用于获取电视机接入网络的IP地址,并获得与所述电视机接入网络的IP地址对应的电视机的当前地理位置信息;a geographic location identification module, configured to obtain an IP address of the television access network, and obtain current geographic location information of the television corresponding to the IP address of the television access network;
语言信息获得模块,用于根据所述电视机的当前地理位置信息,获得与所述电视机的当前地理位置信息对应的语言信息;a language information obtaining module, configured to obtain language information corresponding to current geographic location information of the television set according to current geographic location information of the television set;
接收模块,用于接收用户输入的语言设置信息;a receiving module, configured to receive language setting information input by the user;
校验模块,用于当所述电视机的当前地理位置信息对应的语言信息与用户设置的语言信息不一致时,产生提示信息。And a verification module, configured to generate prompt information when the language information corresponding to the current geographical location information of the television is inconsistent with the language information set by the user.
优选地,所述地理位置识别模块包括:Preferably, the geographic location identification module comprises:
IP地址获取模块,用于向公网服务器发送查询命令,获取电视机接入网络的IP地址;The IP address obtaining module is configured to send an inquiry command to the public network server to obtain an IP address of the television access network;
IP地址解析模块,用于将所述电视机接入网络的IP地址与预存的IP地址数据库进行匹配,获得与所述电视机接入网络的IP地址对应的电视机的当前地理位置信息。The IP address resolution module is configured to match an IP address of the television access network to a pre-stored IP address database, and obtain current geographic location information of the television corresponding to the IP address of the television access network.
优选地,所述地理位置数据库存储互联网名称与数字地址分配组织分配给各个国家的IP地址地段信息。Preferably, the geographical location database stores location information of an IP address assigned by the Internet Name and Digital Address Assignment Organization to each country.
优选地,所述语言信息获得模块具体用于:Preferably, the language information obtaining module is specifically configured to:
根据所述电视机的当前地理位置信息,查找本地存储的地理位置 数据库,确定与所述电视机的当前地理位置信息对应的语言信息;Find a locally stored geographic location based on the current geographic location information of the television a database, determining language information corresponding to current geographic location information of the television;
当本地不存在地理位置数据库时,则连接网络,以在网络上搜索并下载该地理位置数据库。When the geolocation database does not exist locally, the network is connected to search for and download the geolocation database on the network.
优选地,所述校验模块还用于:Preferably, the verification module is further configured to:
若与当前地理位置信息匹配的语言信息为多个,则所述电视机的当前地理位置信息对应的语言信息中的任意一个与用户设置的语言信息一致时,都判断所述电视机的当前地理位置信息对应的语言信息与用户设置的语言信息一致。If the language information matching the current geographical location information is multiple, if any one of the language information corresponding to the current geographical location information of the television is consistent with the language information set by the user, the current geographic location of the television is determined. The language information corresponding to the location information is consistent with the language information set by the user.
优选地,所述语言信息获得模块还用于:Preferably, the language information obtaining module is further configured to:
当本地地理位置数据库不存在与当前地理位置信息匹配的语言信息时,则连接网络,以在网络上搜索并下载与该当前地理位置信息匹配的语言包。When the local geographical location database does not have language information matching the current geographical location information, the network is connected to search for and download the language package matching the current geographical location information on the network.
优选地,所述IP地址包括公网地址及私网地址,所述公网地址属于互联网名称与数字地址分配组织分配给各个国家的IP地址段。Preferably, the IP address includes a public network address and a private network address, and the public network address belongs to an IP address segment allocated by the Internet Name and Digital Address Assignment Organization to each country.
优选地,所述地理位置识别模块还用于:将获得的当前地理位置信息进行存储,以便下次直接获取。Preferably, the geographic location identification module is further configured to: store the obtained current geographic location information for the next direct acquisition.
本发明实施例通过获取电视机接入网络的IP地址对应的语言信息,然后根据该语言信息,对用户输入的设置语言进行校验,并根据校验结果对用户进行提示,从而可以避免用户输入的设置语言错误而导致电视无法正常使用。The embodiment of the invention obtains the language information corresponding to the IP address of the television access network, and then verifies the setting language input by the user according to the language information, and prompts the user according to the verification result, thereby avoiding user input. The setting language is wrong and the TV is not working properly.
附图说明 DRAWINGS
图1是本发明电视机的语言设置的校验方法的流程示意图;1 is a schematic flow chart of a method for verifying a language setting of a television set according to the present invention;
图2是本发明电视机的语言设置的校验方法中电视机的当前地理位置信息对应的语言信息不一致时的提示示意图;2 is a schematic diagram of a prompt when the language information corresponding to the current geographical location information of the television is inconsistent in the verification method of the language setting of the television set of the present invention;
图3是本发明电视机的获取电视机的当前地理位置信息的细化流程示意图;3 is a schematic diagram showing a refinement process of acquiring current geographic location information of a television set of the television set of the present invention;
图4是本发明电视机的语言设置的校验装置的功能模块示意图;4 is a functional block diagram of a verification device for language setting of a television set of the present invention;
图5是本发明电视机的语言设置的校验装置中地理位置识别模块的细化流程示意图;5 is a schematic diagram showing a refinement flow of a geographic location identification module in a verification device for language setting of a television set according to the present invention;
图6是本发明电视机的硬件结构示意图。Figure 6 is a block diagram showing the hardware structure of the television set of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
以下结合说明书附图及具体实施例进一步说明本发明的技术方案。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The technical solutions of the present invention are further described below in conjunction with the drawings and specific embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
图1是本发明一种电视机的语言设置的校验方法第一实施例的流程。如图1所示,该电视机的语言设置的校验方法,包括以下步骤:1 is a flow chart showing a first embodiment of a method for verifying a language setting of a television set according to the present invention. As shown in FIG. 1, the verification method of the language setting of the television includes the following steps:
步骤S110、获取电视机接入网络的IP地址,并获得与所述电视机接入网络的IP地址对应的电视机的当前地理位置信息;Step S110: Obtain an IP address of the television access network, and obtain current geographic location information of the television corresponding to the IP address of the television access network.
当电视机接入网络时,向IP(Internet Protocol,网络之间互连的协议)公网服务器发送查询命令,获取该电视机接入网络时的IP地址。该IP地址可以包括公网地址及私网地址,公网地址属于ICANN(The Internet Corporation for Assigned Names and Numbers,互联网名称与数字地址分配组织)分配给各个国家的IP地址段。通过对IP地址中的公网地址进行解析,即可获得该IP地址对应的电视机的当前地理位置信息。获得该地理位置信息后,还可以将其存储在存储器中,以便下一次直接获取。 When the television accesses the network, it sends an inquiry command to the IP (Internet Protocol) protocol public network server to obtain the IP address when the TV accesses the network. The IP address may include a public network address and a private network address, and the public network address belongs to an IP address segment assigned to each country by ICANN (The Internet Corporation for Assigned Names and Numbers). By parsing the public network address in the IP address, the current geographical location information of the television corresponding to the IP address can be obtained. Once the location information is obtained, it can also be stored in memory for the next direct acquisition.
步骤S120、根据所述电视机的当前地理位置信息,获得与所述电视机的当前地理位置信息对应的语言信息;Step S120: Obtain language information corresponding to current geographic location information of the television according to current geographic location information of the television;
本实施例中,可以预存地理位置与语言信息的映射表。通过查找该映射表,获得与电视机的当前地理位置信息对应的语言信息。该映射表可以为电视机出厂时,存入电视机的内存中,供需要时调取。该映射表也可以由电视机从网络中获取或者从外部设备中获取。具体的映射表如下表1所示:In this embodiment, a mapping table of geographic location and language information may be pre-stored. By looking up the mapping table, language information corresponding to the current geographic location information of the television is obtained. The mapping table can be stored in the memory of the TV set when the TV is shipped from the factory, and can be retrieved when needed. The mapping table can also be obtained by the television set from the network or from an external device. The specific mapping table is shown in Table 1 below:
表1.地理位置信息与语言信息的映射关系Table 1. Mapping of geographic location information and language information
语言代码Language code 国家/地区country / region
""(空字符串)"" (empty string) 无变化的文化Unchanging culture
AfAf 公用荷兰语Common Dutch
af-ZAaf-ZA 公用荷兰语-南非Common Dutch - South Africa
SqSq 阿尔巴尼亚Albania
sq-ALsq-AL 阿尔巴尼亚-阿尔巴尼亚Albania-Albania
ArAr 阿拉伯语Arabic
ar-DZar-DZ 阿拉伯语-阿尔及利亚Arabic-Algeria
ar-BHar-BH 阿拉伯语-巴林Arabic-Bahrain
... ...
ViVi 越南Vietnam
vi-VNvi-VN 越南-越南Vietnam-Vietnam
步骤S130、接收用户输入的语言设置信息;Step S130: Receive language setting information input by the user;
当用户第一次使用该电视机,或者要对电视机进行重新设置时,均要设置该电视机所显示的语言信息。例如用户为中国人,则可设置该语言为简体中文或繁体中文;用户为美国人,则可设置该语言为美式英语等等。 When the user uses the TV for the first time, or when the TV is to be reset, the language information displayed on the TV must be set. For example, if the user is Chinese, the language can be set to Simplified Chinese or Traditional Chinese; if the user is American, the language can be set to American English and so on.
步骤S140、当所述电视机的当前地理位置信息对应的语言信息与用户设置的语言信息不一致时,产生提示信息。Step S140: When the language information corresponding to the current geographical location information of the television is inconsistent with the language information set by the user, prompt information is generated.
当用户输入该语言信息结束时,将获得该用户输入的语言信息,并将其与电视机的当前地理位置信息的语言信息进行比较,若两者不一致则产生提示信息,以提示用户是否要重新设置,如图2所示。When the user inputs the language information, the language information input by the user is obtained, and compared with the language information of the current geographical location information of the television. If the two are inconsistent, a prompt message is generated to prompt the user whether to re- Settings, as shown in Figure 2.
本发明实施例通过获取电视机接入网络的IP地址对应的语言信息,然后根据该语言信息,对用户输入的设置语言进行校验,并根据校验结果对用户进行提示,从而可以避免用户输入的设置语言错误而导致电视无法正常使用。The embodiment of the invention obtains the language information corresponding to the IP address of the television access network, and then verifies the setting language input by the user according to the language information, and prompts the user according to the verification result, thereby avoiding user input. The setting language is wrong and the TV is not working properly.
进一步地,如图3所示,上述S110具体可包括:Further, as shown in FIG. 3, the foregoing S110 may specifically include:
步骤S111、向公网服务器发送查询命令,获取电视机接入网络的IP地址;Step S111: Send an inquiry command to the public network server to obtain an IP address of the television access network;
当电视机接入网络中时,向公网服务器发送查询命令,获取电视机接入网络的IP地址,在这里主要是获取IP地址的公网地址。例如,获取的IP地址的公网地址为0.0.20.1。When the TV is connected to the network, it sends an inquiry command to the public network server to obtain the IP address of the TV access network. Here, the public network address of the IP address is obtained. For example, the public network address of the obtained IP address is 0.0.20.1.
步骤S112、将所述电视机接入网络的IP地址与预存的地理位置数据库进行匹配,获得与所述电视机接入网络的IP地址对应的电视机的当前地理位置信息。Step S112, matching an IP address of the television access network with a pre-stored geographical location database, and obtaining current geographic location information of the television corresponding to the IP address of the television access network.
将获取的IP地址的公网地址与地理位置数据库进行匹配,以获取当前地理位置信息,该当前地理位置信息为电视机所在的国家。该地理位置数据库存储ICANN分配给各个国家的IP地址段信息,如表2所示。The public network address of the obtained IP address is matched with the geographical location database to obtain the current geographical location information, and the current geographical location information is the country where the television is located. The geolocation database stores the IP address segment information that ICANN assigns to each country, as shown in Table 2.
表2Table 2
国别Country IP段IP segment
澳大利亚Australia 0.0.0.0~0.31.*0.0.0.0 to 0.31.*
韩国Korea 0.32.0.0~0.63.*0.32.0.0~0.63.*
日本Japan 1.144.0.0~1.191.*1.144.0.0~1.191.*
由表2可知,步骤S110获得的公网地址0.0.20.1所属的国别信息为澳大利亚。As can be seen from Table 2, the country information to which the public network address 0.0.20.1 obtained in step S110 belongs is Australia.
在这里需要说明的是,上述地理位置数据库可以存储在本地存储器中,也可以存储在网络服务器中,本实施例优选将地理位置数据库存储于网络服务器中,不但可以节省本地存储的资源,也可以通过更新网络服务器中的IP地址段数据而获取到最新的IP地址段信息。It should be noted that the foregoing geographical location database may be stored in the local storage or may be stored in the network server. In this embodiment, the geographical location database is preferably stored in the network server, which not only saves the locally stored resources, but also saves the locally stored resources. The latest IP address segment information is obtained by updating the IP address segment data in the web server.
进一步地,当本地不存在该地理位置数据库时,则可以连接网络,并通过网络搜索该地理位置数据库,或者直接访问数据库存放位置,然后下载至电视机。本实施例中将使用MaxMind公司提供的免费GEOLiteCity数据库来进行查询。因此,当本地不存在该数据库时,电视机将通过GEOIP数据接口到MaxMind官网上进行下载:http://geolite.maxmind.com。下载解压后把数据库存储到本地目录下。电视机通过调用api接口,即可根据电视机接入网络的IP地址,查询用户所在的地区信息。Further, when the geographical location database does not exist locally, the network may be connected, and the geographical location database may be searched through the network, or directly access the database storage location, and then downloaded to the television. In this embodiment, the free GEOLiteCity database provided by MaxMind will be used for the query. Therefore, when the database does not exist locally, the TV will be downloaded to the MaxMind website via the GEOIP data interface: http://geolite.maxmind.com. After downloading the extract, store the database in a local directory. By calling the api interface, the TV can query the area information of the user according to the IP address of the TV access network.
进一步地,当本地存储的地理位置数据库不存在与地理位置信息对应的语言信息时,则可以连接网络,并通过网络搜索该语言包,或者直接访问语言包存放位置,然后下载至电视机。本实施例中,该语言信息包可以在电视机厂商提供的官网上下载获得,也可以在其他网站上获得,并导入电视机的指定位置。本实施例中,在电视机当前所处的地理位置时,通过网络获取与该地理位置对应的语言包,而不需要在电视机出厂时导入所有的语言包,从而节约了电视机的存储空间。Further, when the locally stored geographical location database does not have language information corresponding to the geographical location information, the network may be connected, and the language package may be searched through the network, or the language package storage location may be directly accessed, and then downloaded to the television. In this embodiment, the language information package can be downloaded from the official website provided by the TV manufacturer, or can be obtained on other websites and imported into a designated location of the television. In this embodiment, when the geographic location of the television is currently located, the language pack corresponding to the geographic location is obtained through the network, and all the language packs are not required to be imported when the television is shipped, thereby saving the storage space of the television. .
进一步地,若与当前地理位置信息匹配的语言信息为多个,则所述电视机的当前地理位置信息对应的语言信息中的任意一个与用户设置的语言信息一致时,都判断所述电视机的当前地理位置信息对应的语言信息与用户设置的语言信息一致。具体地,若当前地理位置信息表示的国别为香港,而与该国别匹配的语言信息可包括中文、粤语、英文等等。因此,位于该地理位置的用户在设置其电视机的语言信息 时,可以设置为中文、粤语或英文。当接收到用户输入的语言信息后,只要该输入的语言信息与地理位置信息对应的语言信息中任意一个一致时,都判断该电视机的当前地理位置信息对应的语言信息与用户设置的语言信息一致,即不产生提示信息。Further, if there is a plurality of language information matching the current geographical location information, if any one of the language information corresponding to the current geographical location information of the television is consistent with the language information set by the user, the television is determined The language information corresponding to the current geographical location information is consistent with the language information set by the user. Specifically, if the current geographical location information indicates that the country is Hong Kong, and the language information matching the country may include Chinese, Cantonese, English, and the like. Therefore, the user in the geographic location is setting the language information of his TV. It can be set to Chinese, Cantonese or English. After receiving the language information input by the user, if the input language information is consistent with any one of the language information corresponding to the geographical location information, the language information corresponding to the current geographical location information of the television and the language information set by the user are determined. Consistent, that is, no prompt information is generated.
对应地,如图4所示,提出了本发明电视机的语言设置的校验装置。该电视机的语言设置的校验装置包括:Correspondingly, as shown in Fig. 4, a verification device for the language setting of the television set of the present invention is proposed. The verification device for the language setting of the television includes:
地理位置识别模块110,用于获取电视机接入网络的IP地址,并获得与所述电视机接入网络的IP地址对应的电视机的当前地理位置信息;The geographic location identification module 110 is configured to obtain an IP address of the television access network, and obtain current geographic location information of the television corresponding to the IP address of the television access network;
语言信息获得模块120,用于根据所述电视机的当前地理位置信息,获得与所述电视机的当前地理位置信息对应的语言信息;The language information obtaining module 120 is configured to obtain language information corresponding to current geographic location information of the television set according to current geographic location information of the television set;
接收模块130,用于接收用户输入的语言设置信息;The receiving module 130 is configured to receive language setting information input by the user;
校验模块140,用于当所述电视机的当前地理位置信息对应的语言信息与用户设置的语言信息不一致时,产生提示信息。The verification module 140 is configured to generate prompt information when the language information corresponding to the current geographical location information of the television is inconsistent with the language information set by the user.
当电视机接入网络时,向IP(Internet Protocol,网络之间互连的协议)公网服务器发送查询命令,获取该电视机接入网络时的IP地址。该IP地址可以包括公网地址及私网地址,公网地址属于ICANN(The Internet Corporation for Assigned Names and Numbers,互联网名称与数字地址分配组织)分配给各个国家的IP地址段。地理位置识别模块110通过对IP地址中的公网地址进行解析,即可获得该PIP地址对应的电视机的当前地理位置信息。获得该地理位置信息后,还可以将其存储在存储器中,以便下一次直接获取。When the television accesses the network, it sends an inquiry command to the IP (Internet Protocol) protocol public network server to obtain the IP address when the TV accesses the network. The IP address may include a public network address and a private network address, and the public network address belongs to an IP address segment assigned to each country by ICANN (The Internet Corporation for Assigned Names and Numbers). The geographic location identification module 110 can obtain the current geographic location information of the television corresponding to the PIP address by parsing the public network address in the IP address. Once the location information is obtained, it can also be stored in memory for the next direct acquisition.
本实施例中,可以预存地理位置与语言信息的映射表。语言信息获得模块120通过查找该映射表,获得与电视机的当前地理位置信息对应的语言信息。该映射表可以为电视机出厂时,存入电视机的内存 中,供需要时调取。该映射表也可以由电视机从网络中获取或者从外部设备中获取。In this embodiment, a mapping table of geographic location and language information may be pre-stored. The language information obtaining module 120 obtains language information corresponding to the current geographical location information of the television by looking up the mapping table. The mapping table can be stored in the memory of the TV when the TV is shipped from the factory. Medium, for the need to retrieve. The mapping table can also be obtained by the television set from the network or from an external device.
当用户第一次使用该电视机,或者要对电视机进行重新设置时,均要设置该电视机所显示的语言信息。因此,接收模块130将接收用户发出的语言设置信息。校验模块140将用户发出的语言设置信息与电视机的当前地理位置信息的语言信息进行比较,若两者不一致则产生提示信息,以提示用户是否要重新设置。When the user uses the TV for the first time, or when the TV is to be reset, the language information displayed on the TV must be set. Therefore, the receiving module 130 will receive the language setting information issued by the user. The verification module 140 compares the language setting information sent by the user with the language information of the current geographical location information of the television. If the two are inconsistent, a prompt message is generated to prompt the user whether to reset.
本发明实施例通过获取电视机接入网络的IP地址对应的语言信息,然后根据该语言信息,对用户输入的设置语言进行校验,并根据校验结果对用户进行提示,从而可以避免用户输入的设置语言错误而导致电视无法正常使用。The embodiment of the invention obtains the language information corresponding to the IP address of the television access network, and then verifies the setting language input by the user according to the language information, and prompts the user according to the verification result, thereby avoiding user input. The setting language is wrong and the TV is not working properly.
进一步地,如图5所示,上述地理位置识别模块110包括:Further, as shown in FIG. 5, the geographical location identification module 110 includes:
IP地址获取模块111,用于向公网服务器发送查询命令,获取电视机接入网络的IP地址;The IP address obtaining module 111 is configured to send a query command to the public network server to obtain an IP address of the television access network.
IP地址解析模块112,用于将所述电视机接入网络的IP地址与预存的地理位置数据库进行匹配,获得与所述电视机接入网络的IP地址对应的电视机的当前地理位置信息。The IP address parsing module 112 is configured to match an IP address of the television access network with a pre-stored geographic location database, and obtain current geographic location information of the television corresponding to the IP address of the television access network.
上述地理位置数据库可以存储在本地存储器中,也可以存储在网络服务器中,本实施例优选将地理位置数据库存储于网络服务器中,不但可以节省本地存储的资源,也可以通过更新网络服务器中的IP地址段数据而获取到最新的IP地址段信息。 The foregoing geographical location database may be stored in the local storage or may be stored in the network server. In this embodiment, the geographical location database is preferably stored in the network server, which not only saves the locally stored resources, but also updates the IP address in the network server. The address segment data is obtained to obtain the latest IP address segment information.
进一步地,上述语言信息获得模块120具体用于:Further, the language information obtaining module 120 is specifically configured to:
根据所述电视机的当前地理位置信息,查找本地存储的地理位置数据库,确定与所述电视机的当前地理位置信息对应的语言信息;Finding a locally stored geographic location database according to current geographic location information of the television, and determining language information corresponding to current geographic location information of the television;
当本地不存在地理位置数据库时,则连接网络,以在网络上搜索并下载该地理位置数据库;When the geographical location database does not exist locally, the network is connected to search for and download the geographical location database on the network;
当本地地理位置数据库不存在与当前地理位置信息匹配的语言信息时,则连接网络,以在网络上搜索并下载与该国家匹配的语言包。When the local geolocation database does not have language information that matches the current geographic location information, then the network is connected to search for and download the language packs that match the country on the network.
当本地不存在该地理位置数据库时,则可以连接网络,并通过网络搜索该地理位置数据库,或者直接访问数据库存放位置,然后下载至电视机。本实施例中将使用MaxMind公司提供的免费GEOLiteCity数据库来进行查询。因此,当本地不存在该数据库时,电视机将通过GEOIP数据接口到MaxMind官网上进行下载:http://geolite.maxmind.com。下载解压后把数据库存储到本地目录下。电视机通过调用api接口,即可根据电视机接入网络的IP地址,查询用户所在的地区信息。When the geographical location database does not exist locally, you can connect to the network and search the geographical location database through the network, or directly access the database storage location, and then download to the TV. In this embodiment, the free GEOLiteCity database provided by MaxMind will be used for the query. Therefore, when the database does not exist locally, the TV will be downloaded to the MaxMind website via the GEOIP data interface: http://geolite.maxmind.com. After downloading the extract, store the database in a local directory. By calling the api interface, the TV can query the area information of the user according to the IP address of the TV access network.
当本地存储的地理位置数据库不存在与地理位置信息对应的语言信息时,则可以连接网络,并通过网络搜索该语言包,或者直接访问语言包存放位置,然后下载至电视机。本实施例中,该语言信息包可以在电视机厂商提供的官网上下载获得,也可以在其他网站上获得,并导入电视机的指定位置。本实施例中,在电视机当前所处的地理位置时,通过网络获取与该地理位置对应的语言包,而不需要在电视机出厂时导入所有的语言包,从而节约了电视机的存储空间。When the locally stored geographical location database does not have language information corresponding to the geographical location information, the network may be connected, and the language package may be searched through the network, or the language package storage location may be directly accessed, and then downloaded to the television. In this embodiment, the language information package can be downloaded from the official website provided by the TV manufacturer, or can be obtained on other websites and imported into a designated location of the television. In this embodiment, when the geographic location of the television is currently located, the language pack corresponding to the geographic location is obtained through the network, and all the language packs are not required to be imported when the television is shipped, thereby saving the storage space of the television. .
进一步地,上述语言信息获得模块120还用于:Further, the language information obtaining module 120 is further configured to:
若与当前地理位置信息匹配的语言信息为多个,则所述电视机的当前地理位置信息对应的语言信息中的任意一个与用户设置的语言信息一致时,都判断所述电视机的当前地理位置信息对应的语言信息与用户设置的语言信息一致。If the language information matching the current geographical location information is multiple, if any one of the language information corresponding to the current geographical location information of the television is consistent with the language information set by the user, the current geographic location of the television is determined. The language information corresponding to the location information is consistent with the language information set by the user.
具体地,若当前地理位置信息表示的国别为香港,而与该国别匹 配的语言信息可包括中文、粤语、英文等等。因此,位于该地理位置的用户在设置其电视机的语言信息时,可以设置为中文、粤语或英文。当接收到用户输入的语言信息后,只要该输入的语言信息与地理位置信息对应的语言信息中任意一个一致时,都判断该电视机的当前地理位置信息对应的语言信息与用户设置的语言信息一致,即不产生提示信息。Specifically, if the current geographical location information indicates that the country is Hong Kong, and the country is different from the country The language information can be included in Chinese, Cantonese, English and so on. Therefore, users in this geographic location can be set to Chinese, Cantonese or English when setting the language information of their TV. After receiving the language information input by the user, if the input language information is consistent with any one of the language information corresponding to the geographical location information, the language information corresponding to the current geographical location information of the television and the language information set by the user are determined. Consistent, that is, no prompt information is generated.
对应地,本发明还提供了一种电视机。如图6所示,该电视机可包括:处理器101、存储器102、显示屏103、扬声器104、用户接口105、网络接口106、数据接口107及通信总线108。其中,通信总线108用于该电视机中各组成部件之间的通信。网络接口106用于实现电视机与互联网设备、外部终端设备,例如移动终端、其他服务器等进行互相通讯。数据接口107可用于接收广播信号。网络接口106可包括RS232接口、射频接口、WIFI接口等等。用户接口105用于接收用户的控制指令,并将接收到的控制指令发送至处理器101进行处理。显示屏103用于显示处理器101中处理的数据,或者显示数据接口107所接收的广播信号。扬声器104用于播放处理器101要播放的音频数据。存储器102可以包括一个或一个以上计算机可读存储介质,而且其不但包括内部存储器,还包括外部存储器。该存储器102中存储有操作系统、语言设置的校验装置等等。上述处理器101将调用存储器102中的语言设置的校验装置及其他组件,实现用户对电视机的语言进行设置时的自动校验。该语言设置的校验装置的具体结构及工作原理可参照前面实施例的描述,在此就不在赘述。 Correspondingly, the present invention also provides a television set. As shown in FIG. 6, the television set can include a processor 101, a memory 102, a display screen 103, a speaker 104, a user interface 105, a network interface 106, a data interface 107, and a communication bus 108. Among them, the communication bus 108 is used for communication between the various components in the television set. The network interface 106 is used to implement communication between the television and the Internet device, external terminal devices, such as mobile terminals, other servers, and the like. Data interface 107 can be used to receive broadcast signals. Network interface 106 may include an RS232 interface, a radio frequency interface, a WIFI interface, and the like. The user interface 105 is configured to receive a control command from the user and send the received control command to the processor 101 for processing. Display screen 103 is used to display data processed in processor 101 or to display broadcast signals received by data interface 107. The speaker 104 is used to play audio data to be played by the processor 101. Memory 102 can include one or more computer readable storage media, and includes not only internal memory but also external memory. The memory 102 stores an operating system, a verification device of a language setting, and the like. The processor 101 will call the verification device and other components of the language setting in the memory 102 to realize automatic verification when the user sets the language of the television. The specific structure and working principle of the calibration device of the language setting can be referred to the description of the previous embodiment, and will not be described herein.
以上所述仅为本发明的优选实施例,并非因此限制其专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。 The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the patents. The equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (16)

  1. 一种电视机的语言设置的校验方法,其特征在于,所述电视机的语言设置的校验方法包括以下步骤:A method for verifying a language setting of a television set, characterized in that the verification method of the language setting of the television set comprises the following steps:
    获取电视机接入网络的IP地址,并获得与所述电视机接入网络的IP地址对应的电视机的当前地理位置信息;Obtaining an IP address of the television access network, and obtaining current geographic location information of the television corresponding to the IP address of the television access network;
    根据所述电视机的当前地理位置信息,获得与所述电视机的当前地理位置信息对应的语言信息;Obtaining language information corresponding to current geographic location information of the television set according to current geographic location information of the television;
    接收用户输入的语言设置信息;Receiving language setting information input by the user;
    当所述电视机的当前地理位置信息对应的语言信息与用户设置的语言信息不一致时,产生提示信息。When the language information corresponding to the current geographical location information of the television set is inconsistent with the language information set by the user, prompt information is generated.
  2. 根据权利要求1所述的电视机的语言设置的校验方法,其特征在于,所述获取电视机接入网络的IP地址,并获得与所述电视机接入网络的IP地址对应的电视机的当前地理位置信息包括:A method for verifying a language setting of a television set according to claim 1, wherein said obtaining an IP address of a television access network and obtaining a television corresponding to an IP address of said television access network Current location information includes:
    向公网服务器发送查询命令,获取电视机接入网络的IP地址;Send a query command to the public network server to obtain the IP address of the TV access network;
    将所述电视机接入网络的IP地址与预存的地理位置数据库进行匹配,获得与所述电视机接入网络的IP地址对应的电视机的当前地理位置信息。The IP address of the television access network is matched with the pre-stored geographical location database, and the current geographical location information of the television corresponding to the IP address of the television access network is obtained.
  3. 根据权利要求2所述的电视机的语言设置的校验方法,其特征在于,所述地理位置数据库存储互联网名称与数字地址分配组织分配给各个国家的IP地址地段信息。The method for verifying a language setting of a television set according to claim 2, wherein said geographical location database stores location information of an IP address assigned to each country by an Internet name and digital address assignment organization.
  4. 根据权利要求1所述的电视机的语言设置的校验方法,其特征在于,所述根据所述电视机的当前地理位置信息,获得与所述电视机的当前地理位置信息对应的语言信息包括:The method for verifying a language setting of a television set according to claim 1, wherein the obtaining language information corresponding to current geographic location information of the television set according to current geographic location information of the television set comprises: :
    根据所述电视机的当前地理位置信息,查找本地存储的地理位置数据库,确定与所述电视机的当前地理位置信息对应的语言信息;Finding a locally stored geographic location database according to current geographic location information of the television, and determining language information corresponding to current geographic location information of the television;
    当本地不存在地理位置数据库时,则连接网络,以在网络上搜索 并下载该地理位置数据库。When the geolocation database does not exist locally, connect to the network to search on the network. And download the geolocation database.
  5. 根据权利要求4所述的电视机的语言设置的校验方法,其特征在于,所述根据所述电视机的当前地理位置信息,查找本地存储的地理位置数据库,确定与所述电视机的当前地理位置信息对应的语言信息之后还包括:The method for verifying the language setting of the television set according to claim 4, wherein the finding a locally stored geographical location database according to the current geographical location information of the television, and determining the current status of the television set The language information corresponding to the geographical location information further includes:
    若与当前地理位置信息匹配的语言信息为多个,则所述电视机的当前地理位置信息对应的语言信息中的任意一个与用户设置的语言信息一致时,都判断所述电视机的当前地理位置信息对应的语言信息与用户设置的语言信息一致。If the language information matching the current geographical location information is multiple, if any one of the language information corresponding to the current geographical location information of the television is consistent with the language information set by the user, the current geographic location of the television is determined. The language information corresponding to the location information is consistent with the language information set by the user.
  6. 根据权利要求4所述的电视机的语言设置校验方法,其特征在于,所述根据所述电视机的当前地理位置信息,查找本地存储的地理位置数据库,确定与所述电视机的当前地理位置信息对应的语言信息之后还包括:The language setting verification method for a television set according to claim 4, wherein the finding a locally stored geographical location database according to current geographic location information of the television, and determining a current geographic location of the television set The language information corresponding to the location information further includes:
    当本地地理位置数据库不存在与当前地理位置信息匹配的语言信息时,则连接网络,以在网络上搜索并下载与该当前地理位置信息匹配的语言包。When the local geographical location database does not have language information matching the current geographical location information, the network is connected to search for and download the language package matching the current geographical location information on the network.
  7. 根据权利要求1所述的电视机的语言设置校验方法,其特征在于,所述IP地址包括公网地址及私网地址,所述公网地址属于互联网名称与数字地址分配组织分配给各个国家的IP地址段。The method for verifying a language setting of a television set according to claim 1, wherein the IP address comprises a public network address and a private network address, and the public network address belongs to an Internet name and digital address allocation organization and is allocated to each country. IP address segment.
  8. 根据权利要求1所述的电视机的语言设置校验方法,其特征在于,所述获取电视机接入网络的IP地址,并获得与所述电视机接 入网络的IP地址对应的电视机的当前地理位置信息的步骤之后还包括:The language setting verification method for a television set according to claim 1, wherein the obtaining an IP address of the television access network and obtaining the connection with the television After the step of entering the current geographical location information of the television corresponding to the IP address of the network, the method further includes:
    将获得的当前地理位置信息进行存储,以便下次直接获取。The current geographic location information obtained is stored for direct access next time.
  9. 一种电视机的语言设置的校验装置,其特征在于,所述电视机的语言设置的校验装置包括:A verification device for a language setting of a television set, characterized in that the verification device for the language setting of the television set comprises:
    地理位置识别模块,用于获取电视机接入网络的IP地址,并获得与所述电视机接入网络的IP地址对应的电视机的当前地理位置信息;a geographic location identification module, configured to obtain an IP address of the television access network, and obtain current geographic location information of the television corresponding to the IP address of the television access network;
    语言信息获得模块,用于根据所述电视机的当前地理位置信息,获得与所述电视机的当前地理位置信息对应的语言信息;a language information obtaining module, configured to obtain language information corresponding to current geographic location information of the television set according to current geographic location information of the television set;
    接收模块,用于接收用户输入的语言设置信息;a receiving module, configured to receive language setting information input by the user;
    校验模块,用于当所述电视机的当前地理位置信息对应的语言信息与用户设置的语言信息不一致时,产生提示信息。And a verification module, configured to generate prompt information when the language information corresponding to the current geographical location information of the television is inconsistent with the language information set by the user.
  10. 根据权利要求9所述的电视机的语言设置的校验装置,其特征在于,所述地理位置识别模块包括:The apparatus for verifying the language setting of the television set according to claim 9, wherein the geographic location identification module comprises:
    IP地址获取模块,用于向公网服务器发送查询命令,获取电视机接入网络的IP地址;The IP address obtaining module is configured to send an inquiry command to the public network server to obtain an IP address of the television access network;
    IP地址解析模块,用于将所述电视机接入网络的IP地址与预存的IP地址数据库进行匹配,获得与所述电视机接入网络的IP地址对应的电视机的当前地理位置信息。The IP address resolution module is configured to match an IP address of the television access network to a pre-stored IP address database, and obtain current geographic location information of the television corresponding to the IP address of the television access network.
  11. 根据权利要求10所述的电视机的语言设置的校验装置,其 特征在于,所述地理位置数据库存储互联网名称与数字地址分配组织分配给各个国家的IP地址地段信息。A verification device for language setting of a television set according to claim 10, It is characterized in that the geographical location database stores location information of an IP address assigned by the Internet Name and Digital Address Assignment Organization to each country.
  12. 根据权利要求9所述的电视机的语言设置的校验装置,其特征在于,所述语言信息获得模块具体用于:The apparatus for verifying the language setting of the television set according to claim 9, wherein the language information obtaining module is specifically configured to:
    根据所述电视机的当前地理位置信息,查找本地存储的地理位置数据库,确定与所述电视机的当前地理位置信息对应的语言信息;Finding a locally stored geographic location database according to current geographic location information of the television, and determining language information corresponding to current geographic location information of the television;
    当本地不存在地理位置数据库时,则连接网络,以在网络上搜索并下载该地理位置数据库。When the geolocation database does not exist locally, the network is connected to search for and download the geolocation database on the network.
  13. 根据权利要求12所述的电视机的语言设置的校验装置,其特征在于,所述校验模块还用于:The verification device for the language setting of the television set according to claim 12, wherein the verification module is further configured to:
    若与当前地理位置信息匹配的语言信息为多个,则所述电视机的当前地理位置信息对应的语言信息中的任意一个与用户设置的语言信息一致时,都判断所述电视机的当前地理位置信息对应的语言信息与用户设置的语言信息一致。If the language information matching the current geographical location information is multiple, if any one of the language information corresponding to the current geographical location information of the television is consistent with the language information set by the user, the current geographic location of the television is determined. The language information corresponding to the location information is consistent with the language information set by the user.
  14. 根据权利要求12所述的电视机的语言设置的校验装置,其特征在于,所述语言信息获得模块还用于:The apparatus for verifying the language setting of the television set according to claim 12, wherein the language information obtaining module is further configured to:
    当本地地理位置数据库不存在与当前地理位置信息匹配的语言信息时,则连接网络,以在网络上搜索并下载与该当前地理位置信息匹配的语言包。When the local geographical location database does not have language information matching the current geographical location information, the network is connected to search for and download the language package matching the current geographical location information on the network.
  15. 根据权利要求9所述的电视机的语言设置的校验装置,其特征在于,所述IP地址包括公网地址及私网地址,所述公网地址属于互联网名称与数字地址分配组织分配给各个国家的IP地址段。The apparatus for verifying the language setting of the television set according to claim 9, wherein the IP address comprises a public network address and a private network address, and the public network address belongs to an Internet name and digital address allocation organization and is assigned to each Country IP address segment.
  16. 根据权利要求9所述的电视机的语言设置的校验装置,其特征在于,所述地理位置识别模块还用于:将获得的当前地理位置信息 进行存储,以便下次直接获取。 The apparatus for verifying the language setting of the television set according to claim 9, wherein the geographic location identification module is further configured to: obtain current geographic location information Store it for direct access next time.
PCT/CN2015/092273 2014-12-29 2015-10-20 Method and apparatus for checking language settings of television WO2016107248A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410848285.4 2014-12-29
CN201410848285.4A CN105812953A (en) 2014-12-29 2014-12-29 Television language setting verification method and television language setting verification device

Publications (1)

Publication Number Publication Date
WO2016107248A1 true WO2016107248A1 (en) 2016-07-07

Family

ID=56284153

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/092273 WO2016107248A1 (en) 2014-12-29 2015-10-20 Method and apparatus for checking language settings of television

Country Status (2)

Country Link
CN (1) CN105812953A (en)
WO (1) WO2016107248A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302852A (en) * 2016-08-08 2017-01-04 宁波方太厨具有限公司 A kind of intelligent management method of kitchen electric terminals
CN106604152A (en) * 2016-12-15 2017-04-26 广州视源电子科技股份有限公司 Television configuration method and apparatus thereof
CN114217893A (en) * 2021-12-07 2022-03-22 深圳Tcl新技术有限公司 Language package obtaining method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020083453A1 (en) * 2000-12-27 2002-06-27 Menez Benoit Pol System and method for selecting language of on-screen displays and audio programs
US20020140863A1 (en) * 2001-03-30 2002-10-03 Lg Electronics Inc. Apparatus and method for automatically selecting caption language
CN101035221A (en) * 2006-03-06 2007-09-12 Lg电子株式会社 Method and apparatus for setting language in television receiver
CN103024594A (en) * 2012-12-20 2013-04-03 广州视源电子科技股份有限公司 Method for area management of digital television terminal and digital television terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101754367A (en) * 2008-12-19 2010-06-23 康佳集团股份有限公司 Method for automatically setting system language and time zone according to GPS positioning
CN103595868B (en) * 2013-11-13 2015-06-03 广东欧珀移动通信有限公司 Language extension method and system based on geographic position and applied to handheld device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020083453A1 (en) * 2000-12-27 2002-06-27 Menez Benoit Pol System and method for selecting language of on-screen displays and audio programs
US20020140863A1 (en) * 2001-03-30 2002-10-03 Lg Electronics Inc. Apparatus and method for automatically selecting caption language
CN101035221A (en) * 2006-03-06 2007-09-12 Lg电子株式会社 Method and apparatus for setting language in television receiver
CN103024594A (en) * 2012-12-20 2013-04-03 广州视源电子科技股份有限公司 Method for area management of digital television terminal and digital television terminal

Also Published As

Publication number Publication date
CN105812953A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
US11641507B2 (en) Methods, systems, and media for determining channel information
WO2018112944A1 (en) Domain name resolution method and apparatus
EP3541043B1 (en) Account login method and apparatus
JP6742375B2 (en) System and method for distributing digital content
WO2018054228A1 (en) Method of identifying type of terminal apparatus, and router
US8533758B2 (en) Retrieving service provider information and channel map via internet protocol connections
WO2016107248A1 (en) Method and apparatus for checking language settings of television
JP7398580B2 (en) Partner integration network
WO2016045606A1 (en) Method and apparatus for recommending media content
US9160807B2 (en) System and method for deriving a name for association with a device
WO2020135130A1 (en) Program switching method, device, television set, and readable storage medium
US9992664B2 (en) Determining network connection structure of target area
US20150312512A1 (en) Switching tv channels using a mobile device and a set-top box
US10380268B2 (en) Methods and systems for rapid webpage access
CN110312154A (en) A kind of time zone automatic setting method, DTV and storage medium
JP2019511032A (en) Method and device for presenting information
CN105704521A (en) A method and apparatus for realizing a customized channel list
CN116431863B (en) Digital object generation method and device, electronic equipment and readable storage medium
WO2016191974A1 (en) Method and device for managing position
NZ745787B2 (en) System and method for delivering digital content
CN106970984B (en) URL filter library updating method and device
EP2838274A1 (en) Device and method for providing an application list
CN115550175A (en) Firmware upgrading method and device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15874933

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 08/11/2017)

122 Ep: pct application non-entry in european phase

Ref document number: 15874933

Country of ref document: EP

Kind code of ref document: A1