Set top box IPTV domain name request method and device, terminal and storage medium

By obtaining network identifiers and assigning preset server addresses, creating a routing environment to boot query requests for IPTV applications, the problem of domain name resolution failure in IPTV network is solved, and stable domain name resolution and network connection are achieved.

CN119892788AActive Publication Date: 2025-04-25SICHUAN TIANYI COMHEART TELECOM
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202510368818.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-27
Publication Date
2025-04-25
Estimated Expiration
2045-03-27

AI Technical Summary

Technical Problem

In an IPTV network environment, setting-top box devices access domain names within an IPTV network often lead to domain name resolution failure, especially in the absence of additional network devices and address allocation.

Method used

By obtaining the network identifier, assigning a preset server address, and creating a corresponding routing environment, the application in the IPTV system is guided to query and request the preset server address to realize domain name resolution.

Benefits of technology

Without the need to use additional network equipment and address allocation, the domain name resolution function of IPTV applications is realized, improving network stability and domain name resolution capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119892788A_ABST
    Figure CN119892788A_ABST
Patent Text Reader

Abstract

The invention discloses a set top box IPTV domain name request method and device, a terminal and a storage medium, and relates to the technical field of intelligent television set top boxes, and the method comprises the steps: obtaining a network identifier; distributing a preset server address for the network identifier; creating a routing environment corresponding to the network identifier based on the network identifier and the preset server address; and based on the network identifier, by calling a first preset function, guiding a query request of an application program in the IPTV system to the preset server address so as to realize that the application program uses a server corresponding to the preset server address to perform domain name resolution. The invention aims to realize the function that the application in the IPTV enables the program to use the private network domain name server as required.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent television set-top boxes, and in particular to a set-top box IPTV domain name request method, device, terminal and storage medium. Background Art

[0002] PTV set-top boxes generally use wired networks as the transmission network. Some set-top box devices have cancelled the Ethernet port and use wireless as the network interface of the set-top box. The advantage of wireless is that it is easy to install and does not require wiring. The advantages of IPTV miniaturization are small size and easy installation. However, since the wired network is cancelled after miniaturization, the device can only be connected wirelessly, generally through a wireless connection to an optical modem or router. For example, when a set-top box device accesses a domain name in the IPTV network, it will cause the domain name resolution to fail.

[0003] After IPTV is miniaturized, the network is generally connected to the Internet. However, some businesses and environments still need to connect to the IPTV private network. Since there is only one network device, it is necessary to solve the Internet and the private network at the same time. Some places use the full routing solution configured by the optical modem. The full routing solution is a method of connecting to the Internet and IPTV at the same time from the optical modem. The optical modem completes the PPPoE dial-up to access the Internet, and then the optical modem completes the ipoe dial-up to access the IPTV network. When the set-top box sends a request, the optical modem receives the data and forwards it according to the configuration (generally through the destination address segment), and sends the corresponding data to the IPTV network or the Internet.

[0004] However, in the above network environment, if it is a simple IP address request interaction, there is no problem, but if the set-top box requests an address with a domain name, problems may occur. For example, if the set-top box device accesses a domain name in the IPTV network, the domain name resolution will fail. Summary of the invention

[0005] The main purpose of the present invention is to provide a set-top box IPTV domain name request method, device, terminal and storage medium, aiming to realize the function of the application in IPTV to enable the program to use the private network domain name server as required without using additional network equipment and additional address allocation.

[0006] To achieve the above object, the present invention provides a set-top box IPTV domain name request method, which is applied to an IPTV system, wherein the IPTV system is used to manage interactive network television services, and the method comprises: Get the network identifier; assigning a preset server address to the network identifier; Based on the network identifier and the preset server address, create a routing environment corresponding to the network identifier; Based on the network identifier, by calling the first preset function, the query request of the application in the IPTV system is directed to the preset server address, so that the application uses the server corresponding to the preset server address to perform domain name resolution.

[0007] Specifically, before obtaining the network identifier, the method further includes: A preset network management program is started, wherein the preset network management program is responsible for network management and background control.

[0008] Specifically, allocating a preset server address to the network identifier includes: The preset server address corresponding to the network identifier is set by calling the second preset function.

[0009] Specifically, allocating a preset server address to the network identifier includes: Based on the business requirements of the IPTV system, user rights and the network type corresponding to the IPTV system, the preset server address is allocated to the network identifier through a preset policy matching algorithm, so that the network identifier obtains stronger domain name resolution capability and better stability.

[0010] Specifically, the routing environment includes a routing table and a routing rule, and the creating a routing environment corresponding to the network identifier based on the network identifier and the preset server address includes: Get the initial routing table; Adding the current routing information of the IPTV system to the initial routing table to obtain the routing table; Associating the network identifier with the routing table so that network traffic corresponding to the network identifier is directed to the routing table; The routing rule is obtained to determine that the network traffic corresponding to the network identifier uses the routing table.

[0011] Specifically, obtaining the routing rule includes: By setting up a firewall, a traffic directing rule is input into the routing table to obtain the routing rule.

[0012] Specifically, obtaining the routing rule includes: A routing rule command line is input in a command line interface of a router of the IPTV system to obtain the routing rule.

[0013] To achieve the above object, the present invention also provides a set-top box IPTV domain name request device, which is applied to an IPTV system, and the IPTV system is used to manage interactive network television services. The device includes: A first unit is used to obtain a network identifier; A second unit is used to assign a preset server address to the network identifier; A third unit is used to create a routing environment corresponding to the network identifier based on the network identifier and the preset server address; The fourth unit is used to guide the query request of the application in the IPTV system to the preset server address by calling the first preset function based on the network identifier, so that the application uses the server corresponding to the preset server address to perform domain name resolution.

[0014] To achieve the above object, the present invention further provides a terminal, comprising a memory storing a plurality of instructions; the processor loads instructions from the memory to execute the steps in any one of the methods provided by the present invention.

[0015] To achieve the above objective, the present invention further provides a storage medium, wherein the storage medium stores a plurality of instructions, wherein the instructions are suitable for loading by a processor to execute the steps in any one of the methods provided by the present invention.

[0016] The set-top box IPTV domain name request method, device, terminal and storage medium provided by the present invention can first obtain a network identifier; then allocate a preset server address for the network identifier; then, based on the network identifier and the preset server address, create a routing environment corresponding to the network identifier; finally, based on the network identifier, by calling a first preset function, guide the query request of the application in the IPTV system to the preset server address, so as to realize the function of the application in the IPTV to use the private network domain name server as required, without using additional network equipment and additional address allocation in the process, so that the application in the IPTV uses a fixed private network domain name address for domain name resolution. Other network connection functions still use the original network of the system, thereby realizing the function of using the private network domain name server as required in the IPTV application. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic diagram of a flow chart of a method provided by an embodiment of the present invention; Figure 2 A schematic diagram of the structure of a device provided by an embodiment of the present invention; Figure 3 A schematic diagram of the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0018] 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 those skilled in the art without creative work are within the scope of protection of the present invention.

[0019] In the existing IPTV network environment, there is no problem if the interaction is simply an IP address request, but problems may arise if the set-top box requests an address with a domain name. For example, if the set-top box device accesses a domain name in the IPTV network, the domain name resolution will fail.

[0020] Therefore, the embodiments of the present invention provide a set-top box IPTV domain name request method, device, terminal and storage medium to solve practical technical problems.

[0021] In some embodiments, the device may be specifically integrated into an electronic device, which may be a terminal, a server or other device.

[0022] In some embodiments, the server may also be implemented in the form of a terminal.

[0023] Among them, the server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.

[0024] The terminal may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal and the server may be directly or indirectly connected via wired or wireless communication, and the present invention does not limit this.

[0025] The embodiment of the present invention provides a set-top box IPTV domain name request method, which can realize the function of an application in IPTV to enable a program to use a private network domain name server as required, without using additional network equipment and additional address allocation.

[0026] A set-top box IPTV domain name request method is applied to an IPTV system. The IPTV system is used to manage interactive network television services.

[0027] In some embodiments, a set-top box, or STB, is a device for receiving and processing television signals, through which users watch IPTV. A converged gateway generally refers to a device that integrates multiple network functions, such as routing, modem, switching, etc., and may also support different access methods, such as optical fiber, DSL, or Ethernet. For the domain name request process of IPTV, when a user uses a set-top box to watch IPTV, the set-top box needs to connect to the server of the IPTV service provider to obtain content. This involves DNS query, which is the process of resolving a domain name into an IP address. For example, when a set-top box needs to access a video streaming service, it may request a DNS server to resolve a specific domain name, such as iptv.example.com, obtain the corresponding server IP address, and then establish a connection.

[0028] Specifically, the converged gateway is usually the core of the home network, responsible for connecting the external network (such as the Internet or the operator's private network) and the internal LAN. Therefore, when the set-top box sends a DNS request, the request will first pass through the converged gateway. The converged gateway may process this request, such as DNS proxy, cache, or forward it to a specific DNS server according to the policy. If it is an operator-customized environment, the converged gateway may point IPTV-related domain name requests to the operator's internal server instead of the public Internet DNS, which can optimize the path and ensure the stability and service quality of the video stream.

[0029] In some embodiments, the IPTV system can be installed on IPTV. IPTV, or interactive network television, is a new technology that uses broadband cable TV networks and integrates multiple technologies such as the Internet, multimedia, and communications to provide home users with a variety of interactive services including digital television.

[0030] Specifically, the IPTV system may include: Front-end equipment: It has two functions: program acquisition and storage, and service, including program reception, compression encoding, etc. It also needs to authenticate users or user terminal devices; Network transmission: It is completed by IP backbone network, IP metropolitan area network, cable TV headend or telecommunication center station and corresponding broadband access network, responsible for routing, switching and transmitting the video and audio streaming media program streams; Terminal reception: used to receive, store, play and forward IP video and audio streaming media programs, including STB, PC, player, etc.

[0031] like Figure 1 As shown, the specific process of the method can be as follows: S110: Obtain a network identifier.

[0032] In some embodiments, before obtaining the network identifier, the method further includes a specific implementation process as shown below: A preset network management program is started, wherein the preset network management program is responsible for network management and background control.

[0033] Specifically, the preset network management program may be a netd service. After the IPTV system is started, the netd service will be started. The netd service is a background daemon program in the Android system that is specifically responsible for network management and control, and is responsible for network settings, DNS management, and other functions. In some embodiments, after the netd service is successfully started, a new network netid A is added to the IPTV system. The identifier of the network netid A is netid, that is, the network identifier, which is a unique identifier of the network and is used to identify the network number in the network address.

[0034] S120: Allocate a preset server address for the network identifier.

[0035] In some embodiments, allocating a preset server address to the network identifier includes the following specific implementation process: The preset server address corresponding to the network identifier is set by calling the second preset function.

[0036] Specifically, in the television IPTV system, a corresponding DNS address X may be added to the netid allocation, and the DNS address X is the preset server address, and the preset server address may be a private network domain name address.

[0037] In the operating system or development framework on which the IPTV system is based, the function in the function library can be called to implement the setting of the DNS address. For example, in a Linux-based IPTV device, the netlink function library can be called to interact with the kernel's network subsystem, and the DNS configuration information of the network interface can be added or modified through the corresponding function. In the Windows environment, the function in the Windows Sockets API can be used to set the DNS server address of the network connection, that is, the DNS address X.

[0038] In some embodiments, allocating a preset server address to the network identifier includes the following specific implementation process: Based on the business requirements of the IPTV system, user rights and the network type corresponding to the IPTV system, the preset server address is allocated to the network identifier through a preset policy matching algorithm, so that the network identifier obtains stronger domain name resolution capability and better stability.

[0039] Specifically, the algorithm for DNS address allocation is based on preset policies and rules. A series of policies can be formulated based on factors such as the business requirements of the IPTV system, user permissions, and network types. For example, for the netid of high-definition video playback, according to the policy matching algorithm, a DNS address X with higher resolution capability and stability is preferentially allocated to ensure smooth playback of high-definition video; for the netid of ordinary IPTV services, a relatively common DNS address can be allocated.

[0040] S130: Create a routing environment corresponding to the network identifier based on the network identifier and the preset server address.

[0041] In some embodiments, the routing environment includes a routing table and a routing rule, and the creating of the routing environment corresponding to the network identifier based on the network identifier and the preset server address includes the following steps S131 to S134: S131. Obtain an initial routing table.

[0042] Specifically, a new initial routing table is created, which only provides a carrier for the setting and application of subsequent routing rules, but does not determine specific routing rules.

[0043] S132: Add the current routing information of the IPTV system to the initial routing table to obtain the routing table.

[0044] Specifically, the current routing information of the system is added to the newly created initial routing table to obtain routing table T. The purpose is to make routing table T have basic information consistent with the original routing logic of the system, and no specific routing rules are determined for specific DNS requests.

[0045] S133: Associating the network identifier with the routing table so that the network traffic corresponding to the network identifier is directed to the routing table.

[0046] Continuing with the above embodiment, the connection between netid A and routing table T is established so that the network traffic of netid A can be directed to routing table T, but it does not involve the determination of specific routing rules, etc., but only prepares for netid A to use routing table T to determine routing rules.

[0047] S134. Obtain the routing rule to determine the network traffic corresponding to the network identifier using the routing table.

[0048] In some embodiments, the obtaining of the routing rule includes the following specific implementation process: By setting up a firewall, input the traffic diversion rule in the routing table to obtain the routing rule.

[0049] Specifically, the iptables firewall can be used to add the traffic diversion rule: iptables -t nat -A OUTPUT -p udp --dport 53 -s <IP address range of netid A> -j DNAT --to-destination <IP address of DNS server X>. This rule redirects the traffic from the UDP port 53 (common DNS port) of netid A to DNS server X. It is also necessary to set the corresponding routing rule to forward the traffic through the routing table T, such as ip route add <IP address of DNS server X> via <next-hop address> dev <network interface> table T.

[0050] In some embodiments, the obtaining of the routing rule includes the following specific implementation process: Input the routing rule command line in the router command line interface of the IPTV system to obtain the routing rule.

[0051] Specifically, it can be connected to the router command line interface through SSH or serial port, etc., and use the corresponding routing rule command line to add the routing rule. For example, on a Cisco router, use the ip route <IP address of DNS server X> 255.255.255.255 <next-hop address> <network interface> command to add the routing rule.

[0052] S140. Based on the network identifier, by invoking the first preset function, guide the query request of the application program in the IPTV system to the preset server address, so as to enable the application program to use the server corresponding to the preset server address for domain name resolution.

[0053] After the application calls setProcessDefaultNetworkForHostResolution(netidA) as needed, all domain name requests of the application will use the DNS address X corresponding to netid A as the domain name server address. Thus, the application uses the corresponding server for domain name resolution. Other network connection functions still use the original system network. Thus, the function of using the private network domain name server as needed in the IPTV application is realized.

[0054] As can be seen from the above, the embodiment of the present invention can first obtain a network identifier; then, assign a preset server address to the network identifier; then, based on the network identifier and the preset server address, create a routing environment corresponding to the network identifier; finally, based on the network identifier, by calling the first preset function, the query request of the application in the IPTV system is directed to the preset server address, so as to realize the function of the application in the IPTV to use the private network domain name server as required, without the need to use additional network equipment and additional address allocation in the process.

[0055] In summary, the present invention provides a set-top box IPTV domain name request method, which enables the application in IPTV to use the function of a private network domain name server as required, without using additional network equipment and additional address allocation.

[0056] In order to better implement the above method, the embodiment of the present invention also provides a set-top box IPTV domain name request device, which can be integrated in an electronic device, and the electronic device can be a terminal, a server, etc. Among them, the terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, a personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.

[0057] For example, in this embodiment, the method of the embodiment of the present invention is described in detail by taking the set-top box IPTV domain name request device specifically integrated in the terminal as an example.

[0058] For example, Figure 2 As shown, the set-top box IPTV domain name request device 200 may include a first unit 201, a second unit 202, a third unit 203 and a fourth unit 204, and is applied to an IPTV system, wherein the IPTV system is used to manage interactive network television services, and the device includes: The first unit 201 is used to obtain a network identifier; The second unit 202 is used to allocate a preset server address to the network identifier; The third unit 203 is used to create a routing environment corresponding to the network identifier based on the network identifier and the preset server address; The fourth unit 204 is used to guide the query request of the application in the IPTV system to the preset server address by calling the first preset function based on the network identifier, so that the application uses the server corresponding to the preset server address to perform domain name resolution.

[0059] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.

[0060] As can be seen from the above, the embodiment of the present invention can realize the function of enabling the application in IPTV to use the private network domain name server as required, without using additional network equipment and additional address allocation.

[0061] The embodiment of the present invention further provides an electronic device, which may be a terminal, a server, or the like. The terminal may be a mobile phone, a tablet computer, a smart Bluetooth device, a notebook computer, a personal computer, or the like; the server may be a single server or a server cluster composed of multiple servers, or the like.

[0062] In some embodiments, the product processing device may also be integrated into multiple electronic devices. For example, the product processing device may be integrated into multiple servers, and the set-top box IPTV domain name request method of the present invention may be implemented by multiple servers.

[0063] In this embodiment, the electronic device of this embodiment is a terminal as an example for detailed description, for example, Figure 3 As shown, it shows a schematic diagram of the structure of the terminal 300 involved in the embodiment of the present invention, specifically: The terminal 300 may include one or more processors 301 of processing cores, one or more storage media 302, a power supply 303, an input module 304, and a communication module 305. Those skilled in the art will appreciate that Figure 3 The structure of the terminal 300 shown in the figure does not constitute a limitation on the terminal 300, and the terminal 300 may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. The processor 301 is the control center of the terminal 300. It uses various interfaces and lines to connect various parts of the entire terminal 300. It executes various functions of the terminal 300 and processes data by running or executing software programs and / or modules stored in the memory 302, and calling data stored in the memory 302, so as to monitor the terminal 300 as a whole. In some embodiments, the processor 301 may include one or more processing cores; in some embodiments, the processor 301 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 301.

[0064] The memory 302 can be used to store software programs and modules. The processor 301 executes various functional applications and data processing by running the software programs and modules stored in the memory 302. The memory 302 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the terminal 300, etc. In addition, the memory 302 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 302 can also include a memory controller to provide the processor 301 with access to the memory 302.

[0065] The terminal 300 also includes a power supply 303 for supplying power to various components. In some embodiments, the power supply 303 can be logically connected to the processor 301 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 303 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0066] The terminal 300 may further include an input module 304, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.

[0067] The terminal 300 may also include a communication module 305. In some embodiments, the communication module 305 may include a wireless module. The terminal 300 may perform short-range wireless transmission through the wireless module of the communication module 305, thereby providing the user with wireless broadband Internet access. For example, the communication module 305 may be used to help the user send and receive emails, browse web pages, and access streaming media.

[0068] Although not shown, the terminal 300 may also include a display unit, etc., which will not be described in detail here. Specifically in this embodiment, the processor 301 in the terminal 300 will load the executable files corresponding to the processes of one or more applications into the memory 302 according to the following instructions, and the processor 301 will run the applications stored in the memory 302, thereby realizing various functions, as follows: Get the network identifier; assigning a preset server address to the network identifier; Based on the network identifier and the preset server address, create a routing environment corresponding to the network identifier; Based on the network identifier, by calling the first preset function, the query request of the application in the IPTV system is directed to the preset server address, so that the application uses the server corresponding to the preset server address to perform domain name resolution.

[0069] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0070] As can be seen from the above, the embodiment of the present invention can realize the function of enabling the application in IPTV to use the private network domain name server as required, without using additional network equipment and additional address allocation.

[0071] A person skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a storage medium and loaded and executed by a processor.

[0072] To this end, an embodiment of the present invention provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the set-top box IPTV domain name request methods provided in the embodiments of the present invention. For example, the instructions can execute the following steps: Get the network identifier; assigning a preset server address to the network identifier; Based on the network identifier and the preset server address, create a routing environment corresponding to the network identifier; Based on the network identifier, by calling the first preset function, the query request of the application in the IPTV system is directed to the preset server address, so that the application uses the server corresponding to the preset server address to perform domain name resolution.

[0073] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0074] According to one aspect of the present invention, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a storage medium. A processor of a computer device reads the computer instructions from the storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various optional implementations provided in the above embodiments.

[0075] Since the instructions stored in the storage medium can execute the steps in any one of the set-top box IPTV domain name request methods provided in the embodiments of the present invention, the beneficial effects that can be achieved by any one of the set-top box IPTV domain name request methods provided in the embodiments of the present invention can be achieved. For details, please refer to the previous embodiments and will not be repeated here.

[0076] The above is a detailed introduction to a set-top box IPTV domain name request method, device, terminal and storage medium provided in an embodiment of the present invention. Specific examples are used herein to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A set-top box IPTV domain name request method, characterized in that: Applied to an IPTV system, the IPTV system is used to manage interactive network television services, the method comprising: Get the network identifier; assigning a preset server address to the network identifier; Based on the network identifier and the preset server address, create a routing environment corresponding to the network identifier; Based on the network identifier, by calling the first preset function, the query request of the application in the IPTV system is directed to the preset server address, so that the application uses the server corresponding to the preset server address to perform domain name resolution.

2. The method according to claim 1, characterized in that Before obtaining the network identifier, the method further includes: A preset network management program is started, wherein the preset network management program is responsible for network management and background control.

3. The method according to claim 1, characterized in that The allocating a preset server address to the network identifier comprises: The preset server address corresponding to the network identifier is set by calling the second preset function.

4. The method according to claim 1, characterized in that The allocating a preset server address to the network identifier comprises: Based on the business requirements of the IPTV system, user rights and the network type corresponding to the IPTV system, the preset server address is allocated to the network identifier through a preset policy matching algorithm, so that the network identifier obtains stronger domain name resolution capability and better stability.

5. The method according to claim 1, characterized in that The routing environment includes a routing table and a routing rule. The creating a routing environment corresponding to the network identifier based on the network identifier and the preset server address includes: Get the initial routing table; Adding the current routing information of the IPTV system to the initial routing table to obtain the routing table; Associating the network identifier with the routing table so that network traffic corresponding to the network identifier is directed to the routing table; The routing rule is obtained to determine that the network traffic corresponding to the network identifier uses the routing table.

6. The method according to claim 5, characterized in that The obtaining of the routing rule comprises: By setting up a firewall, a traffic directing rule is input into the routing table to obtain the routing rule.

7. The method according to claim 5, characterized in that The obtaining of the routing rule comprises: A routing rule command line is input in a command line interface of a router of the IPTV system to obtain the routing rule.

8. A set-top box IPTV domain name request device, characterized in that: Applied to an IPTV system, the IPTV system is used to manage interactive network television services, and the device includes: A first unit is used to obtain a network identifier; A second unit is used to assign a preset server address to the network identifier; A third unit is used to create a routing environment corresponding to the network identifier based on the network identifier and the preset server address; The fourth unit is used to guide the query request of the application in the IPTV system to the preset server address by calling the first preset function based on the network identifier, so that the application uses the server corresponding to the preset server address to perform domain name resolution.

9. A terminal, characterized in that: It comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps in the method as claimed in any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores a plurality of instructions, and the instructions are suitable for loading by a processor to execute the steps in the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Set top box fault diagnosis method

    CN102857799A

  • Method for accessing television equipment to IPTV and Internet simultaneously

    CN104796790A

  • Method for parallelly visiting public Internet under IPTV private network

    CN105245492A

  • IPTV (Internet Protocol Television) private network and Internet dual-network access method

    CN105656674A

  • Set top box, set top box traffic control method and service request traffic control system

    CN107124370A