Digital television terminal area management method

By combining DHCP server to obtain IP address and Wi-Fi signal strength, combined with IP address and Wi-Fi positioning technology, the problem of inaccurate determination of the geographical location of the digital TV terminal is solved, and the time zone, language and TV program list is automatically adjusted to ensure that Users enjoy regional services seamlessly.

CN119211631APending Publication Date: 2024-12-27JIANGSU YINHE ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411267391.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

When a digital TV terminal acquires an IP address, due to errors in IP address positioning technology, it is impossible to accurately locate geographical location information, which affects the accuracy of regional positioning, and thus affects the seamlessness of users' enjoyment of regional TV programs and services.

Method used

By combining DHCP server to obtain IP address and Wi-Fi signal strength, using online geolocation query services and trilateral measurement method, combining IP address positioning technology and Wi-Fi positioning technology, accurately obtain the geographical location information of digital TV terminals, and through Built-in Regional Address-Region Parameter Map automatically adjusts the time zone, language and TV program list.

Benefits of technology

Improve the accuracy and reliability of the geographical location determination of digital TV terminals, ensuring that users automatically obtain appropriate time zone, language and TV program schedule settings without manual adjustment, and enable users to seamlessly enjoy regional TV services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211631A_ABST
    Figure CN119211631A_ABST
Patent Text Reader

Abstract

The invention discloses a digital television terminal area management method, which comprises the following steps that: step 1, after a digital television terminal is connected to the Internet through a built-in Wi-Fi (Wireless Fidelity) module, a DHCP (Dynamic Host Configuration Protocol) server acquires an IP (Internet Protocol) address; and 2, querying area address information after obtaining the IP address. According to the invention, by combining the IP address positioning technology and the Wi-Fi positioning technology, the accuracy and reliability of determining the geographic position of the digital television terminal can be effectively improved, and the geographic position information can be accurately positioned; the digital television terminal can inquire a built-in regional address-regional parameter mapping table to find regional parameters such as a time zone, a language and a television program list corresponding to the new region, accurately obtain the regional parameters of the region, and automatically adjust the setting according to the regional parameters so as to accord with the habits and standards of the region. Therefore, the user can seamlessly enjoy television programs and services in the area, and the method is convenient and flexible for operators and the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of digital television terminal management, in particular to a method for regional management of digital television terminals. Background Art

[0002] Digital TV terminals are devices used to receive and decode digital TV signals. Their emergence marks the transition of the TV industry from the analog era to the digital era, greatly improving the picture quality and sound effects of TV. With the rapid development of digital technology, digital TV terminals have gradually become important devices for home entertainment and information acquisition. In order to ensure that digital TVs can smoothly access the Internet and enjoy network TV services, online on-demand, game interaction and other functions, regional management of digital TV terminals is required; In the process of regional management of digital TV terminals, due to certain errors in IP address positioning technology, digital TV terminals cannot accurately locate geographical location information when obtaining IP addresses, which affects the accuracy of regional positioning. Therefore, in the regional management of digital TV terminals, the regional parameters of the area cannot be accurately obtained, which affects users' seamless enjoyment of TV programs and services in the area. Therefore, it is urgent to construct a method for regional management of digital TV terminals. Summary of the invention

[0003] The purpose of the present invention is to provide a method for regional management of digital television terminals to solve the problems raised in the above background technology.

[0004] To achieve the above object, the present invention provides the following technical solutions: A method for managing digital television terminal areas, comprising the following steps: Step 1: After the digital TV terminal is connected to the Internet through the built-in Wi-Fi module, the DHCP server obtains the IP address. The specific steps are as follows: S1. When the digital TV terminal starts, it sends DHCP Discover information by broadcasting to find a DHCP server. S2. After receiving the request from the digital TV terminal, the DHCP server will search for a valid IP address in its own IP address pool and provide it to the client. The DHCP server will mark the address as allocated and include it in the DHCPOffer message, which will then be broadcast to the digital TV terminal that sent the request. S3, the digital TV terminal extracts the IP address from the first received DHCP Offer message, and confirms receipt of the IP address by sending a DHCP Request message. At this time, the digital TV terminal informs the DHCP server that it will use the IP address; S4. After receiving the DHCP Request message, the DHCP server will broadcast a confirmation to the digital TV terminal through a DHCP ACK message, which includes the valid lease period of the IP address and other configurable information. When the digital TV terminal receives the DHCPACK message, it configures the information and completes the IP initialization. If the configuration fails or the network connection cannot be established after receiving the DHCP ACK message, the digital TV terminal may resend a DHCP DISCOVER message to try to reacquire the IP address and check the network connection status through the ping command; Step 2: After obtaining the IP address, query the regional address information. Send an IP address query request to the Internet service provider ISP through the online application service Web Service to obtain the regional address information where the current digital TV terminal is located. The specific steps are as follows: S1. Determine an available Web Service interface directly provided by the ISP that can provide IP address to geographic location mapping service; S2, using the programming interface of the digital TV terminal, constructing an HTTP request according to the requirements of the Web Service; S3. Send the constructed HTTP request to the Web Service through the network connection of the digital TV terminal. After receiving the IP address query request from the digital TV terminal, the Web Service will parse the IP address in the request. The Web Service will use the received IP address as the index or keyword for querying the database. By querying the Web Service built-in database, the database contains the mapping relationship between the IP address and the geographical location information. The Web Service can find the geographical location information corresponding to the given IP address. Based on the query results, the Web Service generates a response containing geographic location information, which may include detailed geographic location information such as country, province, city, etc. The Web Service sends the generated response back to the digital TV terminal via HTTP or other network protocols; S4, the digital TV terminal receives the response from the Web Service, and parses the data in the response body to extract the required geographic location information, such as the country code and the city code; S5, using the resolved geographical location information in an application of the digital television terminal; Step 3: After the digital TV terminal is connected to Wi-Fi, the strength or characteristics of the Wi-Fi signal are used to obtain the geographical location information of the digital TV terminal. The specific steps are as follows: S1. When the digital TV terminal turns on Wi-Fi, it will automatically scan the surrounding Wi-Fi networks and collect relevant information, such as SSID, MAC address and signal strength; S2. The digital TV terminal uploads Wi-Fi network information of at least three wireless access points to the server of the positioning service. The server searches for matching Wi-Fi access point location information in a database built into the server of the positioning service based on the uploaded information. S3, the server uses trilateration to match the uploaded Wi-Fi network information, determines the geographic location of the digital TV terminal by the trilateration method, and then returns the positioning result to the digital TV terminal; Step 4: Accurately obtain the geographic location information of the digital TV terminal through the combination of IP address positioning technology and Wi-Fi positioning technology. After obtaining the geographic location information, the digital TV terminal will query its built-in regional address-regional parameter mapping table. The mapping table maps the geographic location information with the corresponding regional setting parameters, including time zone, language, and TV program schedule. According to the query results, the digital TV terminal will automatically adjust its internal configuration. The digital TV terminal automatically sets the time zone, language, TV program schedule and other regional parameters according to the acquired geographic location information.

[0005] Preferably, in step 1, the specific steps of checking the network connection status by using the ping command are: S1. Open the command prompt Windows, enter the ping command and follow the target IP address; S2. The ping command sends multiple ICMP echo requests to the target host and displays the round-trip time (RTT) of each request and whether a response has been received. S3: If all requests receive responses and the RTT value is within the normal range, usually between a few milliseconds and a few hundred milliseconds, this usually means that the network connection is available; S4. If you receive a timeout message or a destination unreachable error, it may mean that there is a problem with the network connection or that the target host cannot respond to the ICMP request.

[0006] Preferably, in step 1, when the digital television terminal receives the DHCP ACK message, it performs the following configuration and initialization operations: Configure IP address: The digital TV terminal configures the IP address in the DHCP ACK message as its own IP address; Set subnet mask: Set network parameters according to the subnet mask in the DHCP ACK message; Configure the default gateway: Set the default gateway address to the address provided in the DHCP ACK message so that external network requests are forwarded to the correct destination; Configure the DNS server: Set the DNS server address to the address provided in the DHCP ACK message to facilitate domain name resolution; Initialization completed: The digital TV terminal now has the necessary network configuration information and can start network communication and data transmission.

[0007] Compared with the prior art, the present invention has the following beneficial effects: When the user takes the digital TV terminal to another area and connects to the local Internet network, the digital TV terminal will automatically obtain its new IP address and Wi-Fi geographic location, and use the online geographic location query service to determine its current location based on the new IP address. By combining IP address positioning technology and Wi-Fi positioning technology, the accuracy and reliability of the digital TV terminal's geographic location determination can be effectively improved, and the problem of certain errors in IP address positioning technology can be effectively solved. After accurately locating the geographic location information and obtaining the accurate geographic location information, the digital TV terminal will query the built-in regional address-regional parameter mapping table to find the regional parameters such as the time zone, language and TV program list corresponding to the new area, accurately obtain the regional parameters of the area, and automatically adjust its settings accordingly to meet the habits and standards of the area, such as automatically switching to local TV programs and language settings. Without manual adjustment by the user, the user can seamlessly enjoy the TV programs and services in the area, which is conducive to the automatic management of digital TV terminal areas. This method is convenient and flexible for both operators and users. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 A flowchart of a method for managing digital television terminal areas according to the present invention; Figure 2 A flow chart of obtaining an IP address from a DHCP server in a method for regional management of a digital television terminal according to the present invention; Figure 3 A flow chart of checking network connection status in a method for regional management of a digital television terminal according to the present invention; Figure 4 A flowchart of an IP address positioning technology in a method for regional management of a digital television terminal according to the present invention; Figure 5 A Wi-Fi positioning technology in a method for managing a digital television terminal area according to the present invention flow chart. DETAILED DESCRIPTION

[0009] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0010] Example See also Figure 1-5 The present invention provides an embodiment: a method for managing a digital television terminal area, comprising the following steps: Step 1: After the digital TV terminal is connected to the Internet through the built-in Wi-Fi module, the DHCP server obtains the IP address, checks and records the IP address assigned to the digital TV terminal; The specific steps for a DHCP server to obtain an IP address are as follows: S1. When the digital TV terminal starts, it sends DHCP Discover information by broadcasting to find the DHCP server. The source IP address of the client is 0.0.0.0 and the target IP address is 255.255.255.255. S2. After receiving the request from the digital TV terminal, the DHCP server will search for a valid IP address in its own IP address pool and provide it to the client. The DHCP server will mark the address as allocated and include it in the DHCPOffer message, which will then be broadcast to the digital TV terminal that sent the request. S3, the digital TV terminal extracts the IP address from the first received DHCP Offer message, and confirms receipt of the IP address by sending a DHCP Request message. At this time, the digital TV terminal informs the DHCP server that it will use the IP address; S4. After receiving the DHCP Request message, the DHCP server will broadcast a confirmation to the digital TV terminal via a DHCP ACK message, which includes the valid lease period of the IP address and other configurable information, such as the subnet mask, default gateway, and DNS server address; Subnet mask: A mask used to determine the network address and broadcast address; Default gateway: The gateway address that the digital TV terminal needs to pass through when sending data to the external network; DNS server address: server address used to resolve domain names to IP addresses; When the digital TV terminal receives the DHCP ACK message, it configures the information and completes the IP initialization. It will perform the following configuration and initialization operations: Configure IP address: The digital TV terminal configures the IP address in the DHCP ACK message as its own IP address; Set subnet mask: Set network parameters according to the subnet mask in the DHCP ACK message; Configure the default gateway: Set the default gateway address to the address provided in the DHCP ACK message so that external network requests are forwarded to the correct destination; Configure the DNS server: Set the DNS server address to the address provided in the DHCP ACK message to facilitate domain name resolution; Complete initialization: The digital TV terminal now has the necessary network configuration information and can start network communication and data transmission; If configuration fails or network connection cannot be established after receiving the DHCP ACK message, the digital TV terminal may resend the DHCP DISCOVER message to try to reacquire the IP address and check the network connection status through the ping command. The specific steps are as follows: S1. Open the command prompt Windows, enter the ping command and follow the target IP address; S2. The ping command sends multiple ICMP echo requests to the target host and displays the round-trip time (RTT) of each request and whether a response has been received. S3: If all requests receive responses and the RTT value is within the normal range, usually between a few milliseconds and a few hundred milliseconds, this usually means that the network connection is available; S4. If you receive a timeout message or a destination unreachable error, it may indicate a problem with the network connection or that the target host cannot respond to ICMP requests. Check the network connection. Step 2: After obtaining the IP address, query the regional address information. Send an IP address query request to the Internet service provider ISP through the online application service Web Service to obtain the regional address information where the current digital TV terminal is located. The specific steps are as follows: S1. Determine an available Web Service interface directly provided by the ISP that can provide IP address to geographic location mapping service; S2, using the programming interface of the digital TV terminal, constructing an HTTP request according to the requirements of the Web Service; S3. Send the constructed HTTP request to the Web Service through the network connection of the digital TV terminal. After receiving the IP address query request from the digital TV terminal, the Web Service will parse the IP address in the request. The Web Service will use the received IP address as the index or keyword for querying the database. By querying the Web Service built-in database, the database contains the mapping relationship between the IP address and the geographical location information. The Web Service can find the geographical location information corresponding to the given IP address, such as country, city, longitude and latitude; Based on the query results, the Web Service generates a response containing geographic location information, which may include detailed geographic location information such as country, province, city, etc. The Web Service sends the generated response back to the digital TV terminal via HTTP or other network protocols; S4, the digital TV terminal receives the response from the Web Service, and parses the data in the response body to extract the required geographic location information, such as the country code and the city code; S5, using the resolved geographical location information in an application of the digital television terminal; Step 3: After the digital TV terminal is connected to Wi-Fi, the strength or characteristics of the Wi-Fi signal are used to obtain the geographical location information of the digital TV terminal. The specific steps are as follows: S1. When the digital TV terminal turns on Wi-Fi, it will automatically scan the surrounding Wi-Fi networks and collect relevant information, such as SSID, MAC address and signal strength; S2. The digital TV terminal uploads Wi-Fi network information of at least three wireless access points to the server of the positioning service. The server searches for matching Wi-Fi access point location information in a database built into the server of the positioning service based on the uploaded information. The Wi-Fi access point database is provided by a Wi-Fi positioning service company and contains location information and signal characteristics of billions of Wi-Fi access points worldwide. S3, the server uses trilateration to match the uploaded Wi-Fi network information, determines the geographic location of the digital TV terminal by the trilateration method, and then returns the positioning result to the digital TV terminal; The specific method of trilateral measurement is as follows: the location server determines the geographical location of the three wireless access points and the distance from each wireless access point to the digital TV terminal through MAC, and sets the three wireless access points to AP1, AP2 and AP3 respectively, with corresponding coordinates of (X1, Y1), (X2, Y2) and (X3, Y3), the location of the digital TV terminal is (X, Y), and the distance to each AP is measured as d1, d2 and d3. According to the geometric relationship, it can be known that:

[0011] The device coordinates obtained from the geometric relationship are:

[0012] Step 4: Accurately obtain the geographical location information of the digital TV terminal through the combination of IP address positioning technology and Wi-Fi positioning technology. After obtaining the geographical location information, the digital TV terminal will query its built-in regional address-regional parameter mapping table. The mapping table maps the geographical location information with the corresponding regional setting parameters, including time zone, language, and TV program schedule. According to the query result, the digital TV terminal will automatically adjust its internal configuration and set regional parameters that match the current geographical location, such as automatically setting regional parameters such as time zone, language, and TV program schedule. Among them, the regional address-regional parameter mapping table is a pre-defined database or data structure that associates the geographical location information with the corresponding regional parameters; Time zone: Based on the geographical location of the digital TV terminal, the digital TV terminal can determine the time zone it is in. The digital TV terminal will automatically set the time zone that matches the time in that area to ensure the accuracy of the time; Language: According to the geographical location of the digital TV terminal, the system will automatically adjust the user interface language to suit the usage habits of local users; TV program listings: Based on the geographical location of the digital TV terminal, the digital TV terminal will update its TV program listings to reflect the TV broadcast content and channel list of the geographical location in the area.

[0013] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

Claims

1. A method for regional management of digital television terminals, characterized in that: The following steps are involved: Step 1: After the digital TV terminal is connected to the Internet through the built-in Wi-Fi module, the DHCP server obtains the IP address. The specific steps are as follows: S1. When the digital TV terminal starts, it sends DHCP Discover information by broadcasting to find a DHCP server. S2. After receiving the request from the digital TV terminal, the DHCP server will search for a valid IP address in its own IP address pool and provide it to the client. The DHCP server will mark the address as allocated and include it in the DHCPOffer message, which will then be broadcast to the digital TV terminal that sent the request. S3, the digital TV terminal extracts the IP address from the first received DHCP Offer message, and confirms receipt of the IP address by sending a DHCPRequest message. At this time, the digital TV terminal informs the DHCP server that it will use the IP address; S4. After receiving the DHCP Request message, the DHCP server will broadcast a confirmation to the digital TV terminal through a DHCP ACK message, which includes the valid lease period of the IP address and other configurable information. When the digital TV terminal receives the DHCP ACK message, it configures the information and completes the IP initialization. If the configuration fails or the network connection cannot be established after receiving the DHCP ACK message, the digital TV terminal may resend a DHCP DISCOVER message to try to reacquire the IP address, and check the network connection status through the ping command; Step 2: After obtaining the IP address, query the regional address information. Send an IP address query request to the Internet service provider ISP through the online application service Web Service to obtain the regional address information where the current digital TV terminal is located. The specific steps are as follows: S1. Determine an available Web Service interface directly provided by the ISP that can provide IP address to geographic location mapping service; S2, using the programming interface of the digital TV terminal, constructing an HTTP request according to the requirements of the Web Service; S3. Send the constructed HTTP request to the Web Service through the network connection of the digital TV terminal. After receiving the IP address query request from the digital TV terminal, the Web Service will parse the IP address in the request. The Web Service will use the received IP address as the index or keyword for querying the database. By querying the Web Service built-in database, the database contains the mapping relationship between the IP address and the geographical location information. The Web Service can find the geographical location information corresponding to the given IP address. Based on the query results, the Web Service generates a response containing geographic location information, which may include detailed geographic location information such as country, province, city, etc. The Web Service sends the generated response back to the digital TV terminal via HTTP or other network protocols; S4, the digital TV terminal receives the response from the Web Service, and parses the data in the response body to extract the required geographic location information, such as the country code and the city code; S5, using the resolved geographical location information in an application of the digital television terminal; Step 3: After the digital TV terminal is connected to Wi-Fi, the strength or characteristics of the Wi-Fi signal are used to obtain the geographical location information of the digital TV terminal. The specific steps are as follows: S1. When the digital TV terminal turns on Wi-Fi, it will automatically scan the surrounding Wi-Fi networks and collect relevant information, such as SSID, MAC address and signal strength; S2. The digital TV terminal uploads Wi-Fi network information of at least three wireless access points to the server of the positioning service. The server searches for matching Wi-Fi access point location information in a database built into the server of the positioning service based on the uploaded information. S3, the server uses trilateration to match the uploaded Wi-Fi network information, determines the geographic location of the digital TV terminal by the trilateration method, and then returns the positioning result to the digital TV terminal; Step 4: Accurately obtain the geographic location information of the digital TV terminal through the combination of IP address positioning technology and Wi-Fi positioning technology. After obtaining the geographic location information, the digital TV terminal will query its built-in regional address-regional parameter mapping table. The mapping table maps the geographic location information with the corresponding regional setting parameters, including time zone, language, and TV program schedule. According to the query results, the digital TV terminal will automatically adjust its internal configuration. The digital TV terminal automatically sets the time zone, language, TV program schedule and other regional parameters according to the acquired geographic location information.

2. A method for managing digital television terminal areas according to claim 1, characterized in that: In step 1, the specific steps of checking the network connection status by using the ping command are: S1. Open the command prompt Windows, enter the ping command and follow the target IP address; S2. The ping command sends multiple ICMP echo requests to the target host and displays the round-trip time (RTT) of each request and whether a response has been received. S3: If all requests receive responses and the RTT value is within the normal range, usually between a few milliseconds and a few hundred milliseconds, this usually means that the network connection is available; S4. If you receive a timeout message or a destination unreachable error, it may mean that there is a problem with the network connection or that the target host cannot respond to the ICMP request.

3. The method for managing digital television terminal areas according to claim 1, characterized in that: In step 1, when the digital TV terminal receives the DHCP ACK message, it will perform the following configuration and initialization operations: Configure IP address: The digital TV terminal configures the IP address in the DHCP ACK message as its own IP address; Set subnet mask: Set network parameters according to the subnet mask in the DHCP ACK message; Configure the default gateway: Set the default gateway address to the address provided in the DHCP ACK message so that external network requests are forwarded to the correct destination; Configure the DNS server: Set the DNS server address to the address provided in the DHCP ACK message to facilitate domain name resolution; Initialization completed: The digital TV terminal now has the necessary network configuration information and can start network communication and data transmission.