Method, system and device for IPTV terminal to use Internet and IPTV network, and medium

By setting the IPTV network as the default network in the IPTV terminal and dynamically adjusting the network access method of the application, the problem of IPTV terminal supporting both IPTV services and Internet services is solved, and the stable and efficient support of multiple services is achieved.

CN119583855APending Publication Date: 2025-03-07SICHUAN TIANYI COMHEART TELECOM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411697706.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

IPTV terminals need to support both IPTV services and Internet services, and it is difficult for the existing technology to effectively manage the network access methods of IPTV terminals in different network environments.

Method used

By setting the IPTV network as the default network, the IPTV terminal obtains the configuration parameters of the IPTV network and the Internet after startup, and dynamically adjusts its network access method according to the type of application, so that IPTV applications can access the IPTV network and Internet applications can access the Internet.

Benefits of technology

It realizes that IPTV terminals switch network access methods without modifying applications, meet the network access needs of IPTV services and Internet services, and improves the terminal's multi-service support capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119583855A_ABST
    Figure CN119583855A_ABST
Patent Text Reader

Abstract

The invention discloses a method, system and device for an IPTV terminal to use the Internet and an IPTV network and a medium, and relates to the technical field of IPTVs, and the method comprises the steps: setting the IPTV network as a default network; after the IPTV terminal is started, the IPTV terminal obtains an IPTV network configuration parameter through the Ethernet, and configures the IPTV network parameter into a system of the IPTV terminal; the IPTV terminal obtains an internet configuration parameter, and configures the internet configuration parameter to the interior of a system of the IPTV terminal; the method comprises the following steps: when an application program on an IPTV terminal is in a starting stage, judging whether the application program is an internet application or not, and if so, modifying a network access mode of the application program into internet access in a system of the IPTV terminal. The application has the effect that the IPTV terminal can support the IPTV service and the Internet service at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of IPTV, and in particular to a method, system, device and medium for an IPTV terminal to use the Internet and an IPTV network. Background Art

[0002] IPTV (Internet Protocol Television) is a system that transmits video content through the Internet Protocol. Its main feature is to use a dedicated network to provide users with high-quality TV programs and video on demand. In the IPTV network, content is transmitted through proprietary streaming media transmission protocols (such as RTP and RTSP), ensuring higher stability and viewing quality. In addition, IPTV services are usually managed by Internet Service Providers (ISPs), which allows them to use quality assurance (QoS) technology in a crowded network environment to optimize the user experience.

[0003] The Internet is a public, open network that supports multiple data transmission protocols (such as HTTP), allowing users to freely access various websites and video platforms. Although the Internet provides a wealth of content resources, its data transmission is often not as efficient as IPTV, and the user experience may be affected by network fluctuations, resulting in video freezes and buffering. Therefore, although both IPTV and the Internet rely on the IP protocol, IPTV focuses more on providing a stable and reliable content delivery experience, while the Internet pursues wide access and freedom of information.

[0004] In IPTV terminals, most IPTV applications need to run in the IPTV network. The IPTV application will first obtain a private address of the IPTV network through IPOE dial-up, and then use the private address to interact with the server. However, with the development of the Internet, more and more scenarios require IPTV terminals to support Internet applications such as Tencent and Youku while supporting IPTV services. Therefore, at present, IPTV terminals not only need to support IPTV services, but also need to support Internet services. Summary of the invention

[0005] In order to enable an IPTV terminal to support both IPTV services and Internet services, the present application provides a method, system, device and medium for an IPTV terminal to use the Internet and an IPTV network.

[0006] In a first aspect, the present application provides a method for an IPTV terminal to use the Internet and an IPTV network, using the following technical solution:

[0007] A method for an IPTV terminal to use the Internet and an IPTV network, comprising:

[0008] Setting the IPTV network as a default network;

[0009] After the IPTV terminal is started, the IPTV terminal obtains IPTV network configuration parameters through Ethernet, wherein the IPTV network configuration parameters include an IP address of the IPTV network, a subnet mask of the IPTV network, and an IP address of an IPTV domain name server, and configures the IPTV network parameters into the system of the IPTV terminal;

[0010] The IPTV terminal obtains Internet configuration parameters, which include an IP address of an Internet service, a subnet mask of an Internet service, and an IP address of an Internet domain name server, and configures the Internet configuration parameters into a system of the IPTV terminal;

[0011] When the application on the IPTV terminal is in the startup phase, it is determined whether the application is an Internet application. If so, the network access mode of the application is modified to Internet access in the system of the IPTV terminal.

[0012] By adopting the above technical solution, the IPTV network is set as the default network. After the IPTV terminal is started, the IPTV terminal obtains the IPTV network configuration parameters through Ethernet. The IPTV network configuration parameters include the IP address of the IPTV network, the subnet mask of the IPTV network and the IP address of the IPTV domain name server, and the IPTV network parameters are configured inside the system of the IPTV terminal. Then the IPTV terminal obtains the Internet configuration parameters. The Internet configuration parameters include the IP address of the Internet service, the subnet mask of the Internet service, and the IP address of the Internet domain name server, and the Internet configuration parameters are configured inside the system of the IPTV terminal. When the application on the IPTV terminal is in the startup stage, it is determined whether the application is an Internet application. If the application is an Internet application, the network access method of the application is modified to Internet access in the system of the IPTV terminal. If the application is an IPTV application, the network access method of the application is not modified in the system of the IPTV terminal. Therefore, without modifying the application itself, the network access method of the application is changed, so that the IPTV application can access the IPTV network and the Internet application can access the Internet, which meets the network access requirements of the IPTV application and the Internet application, so that the IPTV terminal can support IPTV services and Internet services at the same time.

[0013] Optionally, after the IPTV terminal is started, the IPTV terminal obtains IPTV network configuration parameters through Ethernet, the IPTV network configuration parameters including the IP address of the IPTV network, the subnet mask of the IPTV network and the IP address of the IPTV domain name server, and configures the IPTV network parameters into the system of the IPTV terminal, including:

[0014] After the IPTV terminal is started, the IPTV terminal is connected to the IPTV network via Ethernet;

[0015] The IPTV terminal sends a first DHCP Discover message to the DHCP server of the IPTV network, and returns a first DHCP Offer message;

[0016] After receiving the first DHCP Offer message, the IPTV terminal sends a first DHCP Request message to the DHCP server of the IPTV network, and returns a first DHCP Acknowledgment message;

[0017] Extract IPTV network configuration parameters from the first DHCP Acknowledgment message, the IPTV network configuration parameters including the IP address of the IPTV network, the subnet mask of the IPTV network and the IP address of the IPTV domain name server, and write the IPTV network parameters into the network interface of the IPTV terminal.

[0018] By adopting the above technical solution, in order to implement the configuration of the IPTV network in the system where the IPTV terminal is located, after the IPTV terminal is started, the IPTV terminal is connected to the IPTV network through Ethernet, and then the IPTV terminal sends a first DHCP Discover message to the DHCP server of the IPTV network, and returns a first DHCP Offer message, and then after receiving the first DHCP Offer message, the IPTV terminal sends a first DHCP Request message to the DHCP server of the IPTV network, and returns a first DHCP Acknowledgment message, and then extracts IPTV network configuration parameters from the first DHCP Acknowledgment message, the IPTV network configuration parameters including the IP address of the IPTV network, the subnet mask of the IPTV network and the IP address of the IPTV domain name server, and writes the IPTV network parameters into the network interface of the IPTV terminal.

[0019] Optionally, the IPTV terminal acquires Internet configuration parameters, where the Internet configuration parameters include an IP address of an Internet service, a subnet mask of an Internet service, and an IP address of an Internet domain name server, and configures the Internet configuration parameters into a system of the IPTV terminal, including:

[0020] The IPTV terminal is connected to the Internet via WIFI or USB network card;

[0021] The IPTV terminal sends a second DHCP Discover message to the DHCP server on the Internet, and returns a second DHCP Offer message;

[0022] After receiving the second DHCP Offer message, the IPTV terminal sends a second DHCP Request message to the DHCP server on the Internet, and returns a second DHCP Acknowledgment message;

[0023] Extract Internet configuration parameters from the second DHCP Acknowledgment message, the Internet configuration parameters including the IP address of the Internet service, the subnet mask of the Internet service, and the IP address of the Internet domain name server, and write the Internet configuration parameters into the network interface of the IPTV terminal.

[0024] By adopting the above technical solution, in order to realize the configuration of the Internet in the system where the IPTV terminal is located, the IPTV terminal is connected to the Internet through WIFI or a USB network card, and then the IPTV terminal sends a second DHCP Discover message to the DHCP server of the Internet, and returns a second DHCP Offer message. Then, after receiving the second DHCP Offer message, the IPTV terminal sends a second DHCP Request message to the DHCP server of the Internet, and returns a second DHCP Acknowledgment message, and then extracts Internet configuration parameters from the second DHCP Acknowledgment message, and the Internet configuration parameters include the IP address of the Internet service, the subnet mask of the Internet service, and the IP address of the Internet domain name server, and the Internet configuration parameters are written into the network interface of the IPTV terminal.

[0025] Optionally, when the application on the IPTV terminal is in the startup phase, determining whether the application is an Internet application, and if so, modifying the network access mode of the application to Internet access in the system of the IPTV terminal includes:

[0026] When the application on the IPTV terminal is in the startup phase, obtaining a configuration file of the application, and determining a network access type of the application according to the configuration file;

[0027] If the network access type of the application is an IPTV network, maintaining the connection between the application and the IPTV network;

[0028] If the network access type of the application is the Internet, the network access type of the application is set to the Internet in the system of the IPTV terminal, and the connection between the application and the Internet is maintained.

[0029] By adopting the above technical solution, in order to perform corresponding configuration on the network that needs to be accessed after the application on the IPTV terminal is started, when the application on the IPTV terminal is in the startup stage, the configuration file of the application is obtained, and the network access type of the application is determined according to the configuration file. If the network access type of the application is the IPTV network, the connection between the application and the IPTV network is maintained. If the network access type of the application is the Internet, the network access type of the application is set to the Internet in the system of the IPTV terminal, and the connection between the application and the Internet is maintained.

[0030] Optionally, after the step of obtaining a configuration file of the application and determining the network access type of the application according to the configuration file when the application on the IPTV terminal is in the startup phase, the method further includes:

[0031] If the network access type of the application is an IPTV network and the Internet, determining whether the IPTV terminal is connected to the IPTV network through the first network card and connected to the Internet through the second network card at the same time;

[0032] If yes, then obtaining the system log information of the IPTV terminal, and determining the first access frequency and the first cumulative access duration of the application to the Internet within a preset time window, and the second access frequency and the second cumulative access duration of the application to the IPTV network according to the system log information;

[0033] Determine a first evaluation value according to the first access frequency and the first accumulated access duration, and determine a second evaluation value according to the second access frequency and the second accumulated access duration;

[0034] Determine whether the first evaluation value is greater than the second evaluation value. If so, set the network access type of the application to the Internet in the system of the IPTV terminal and keep the application connected to the Internet. If not, keep the application connected to the IPTV network.

[0035] By adopting the above technical solution, if the network access type of the application is the IPTV network and the Internet, it is determined whether the IPTV terminal is connected to the IPTV network through the first network card and is connected to the Internet through the second network card at the same time. If the IPTV terminal is connected to the IPTV network through the first network card and is connected to the Internet through the second network card at the same time, the system log information of the IPTV terminal is obtained, and the first access frequency and the first cumulative access time of the application to the Internet within a preset time window, as well as the second access frequency and the second cumulative access time to the IPTV network are determined according to the system log information. Then, a first evaluation value is determined according to the first access frequency and the first cumulative access time, and a second evaluation value is determined according to the second access frequency and the second cumulative access time. Then, it is determined whether the first evaluation value is greater than the second evaluation value. If the first evaluation value is greater than the second evaluation value, the network access type of the application is set to the Internet in the system of the IPTV terminal, and the connection between the application and the Internet is maintained. If the first evaluation value is not greater than the second evaluation value, the connection between the application and the IPTV network is maintained.

[0036] Optionally, the method further includes:

[0037] When the application is in the running stage, monitoring the current operation of the user, and obtaining a data acquisition request of the application according to the current operation;

[0038] Determine whether network switching is required according to the data acquisition request, and if so, switch the Internet to the IPTV network or switch the IPTV network to the Internet in the system of the IPTV terminal.

[0039] By adopting the above technical solution, when the application is in the running stage, the user's current operation is monitored, and the data acquisition request of the application is obtained according to the current operation, and then it is determined whether network switching is required according to the data acquisition request. If network switching is required, the Internet is switched to the IPTV network or the IPTV network is switched to the Internet in the system of the IPTV terminal.

[0040] Optionally, the method further includes:

[0041] During the application program running phase, real-time monitoring of the network status of the IPTV network and the Internet;

[0042] If the network status of the IPTV network is abnormal and the network status of the Internet is normal, switching the network of the application to the Internet;

[0043] If the network status of the Internet is normal and the network status of the IPTV network is abnormal, the network of the application is switched to the IPTV network.

[0044] By adopting the above technical solution, during the application running stage, the network status of the IPTV network and the Internet is monitored in real time. If the network status of the IPTV network is abnormal and the network status of the Internet is normal, the network of the application is switched to the Internet. If the network status of the Internet is normal and the network status of the IPTV network is abnormal, the network of the application is switched to the IPTV network.

[0045] In a second aspect, the present application also provides a system for an IPTV terminal, which adopts the following technical solution:

[0046] A system for an IPTV terminal, comprising:

[0047] A default network setting module, used to set the IPTV network as a default network;

[0048] An IPTV network configuration module is used for, after the IPTV terminal is started, the IPTV terminal obtains IPTV network configuration parameters through Ethernet, the IPTV network configuration parameters including the IP address of the IPTV network, the subnet mask of the IPTV network and the IP address of the IPTV domain name server, and configures the IPTV network parameters into the system of the IPTV terminal;

[0049] An Internet configuration module, used for the IPTV terminal to obtain Internet configuration parameters, the Internet configuration parameters including the IP address of the Internet service, the subnet mask of the Internet service, and the IP address of the Internet domain name server, and configure the Internet configuration parameters into the system of the IPTV terminal;

[0050] The network access mode setting module is used to determine whether the application on the IPTV terminal is an Internet application when the application is in the startup stage. If so, the network access mode of the application is modified to Internet access in the system of the IPTV terminal.

[0051] In a third aspect, the present application also provides a computer device, which adopts the following technical solution:

[0052] A computer device comprises a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the method described in the first aspect when executing the computer program.

[0053] In a fourth aspect, the present application further provides a computer-readable storage medium, which adopts the following technical solution:

[0054] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute the method described in the first aspect.

[0055] In summary, the present application includes at least the following beneficial technical effects: the IPTV network is set as the default network, after the IPTV terminal is started, the IPTV terminal obtains the IPTV network configuration parameters through Ethernet, the IPTV network configuration parameters include the IP address of the IPTV network, the subnet mask of the IPTV network and the IP address of the IPTV domain name server, and configures the IPTV network parameters into the system of the IPTV terminal, then the IPTV terminal obtains the Internet configuration parameters, the Internet configuration parameters include the IP address of the Internet service, the subnet mask of the Internet service, the IP address of the Internet domain name server, and configures the Internet configuration parameters into the system of the IPTV terminal, when the IP When the application on the TV terminal is in the startup stage, it is determined whether the application is an Internet application. If the application is an Internet application, the network access method of the application is modified to Internet access in the system of the IPTV terminal. If the application is an IPTV application, the network access method of the application is not modified in the system of the IPTV terminal. Therefore, the network access method of the application is changed without modifying the application itself, so that the IPTV application can access the IPTV network and the Internet application can access the Internet, thereby meeting the network access requirements of the IPTV application and the Internet application, and enabling the IPTV terminal to support both IPTV services and Internet services. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 It is a schematic diagram of the overall process of an embodiment of the present application.

[0057] Figure 2 It is a schematic diagram of the structure of the system of this application.

[0058] Figure 3 It is a structural block diagram of the computer device of the present application. DETAILED DESCRIPTION

[0059] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-3 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0060] The embodiment of the present application discloses a method for an IPTV terminal to use the Internet and an IPTV network.

[0061] Reference Figure 1, a method for an IPTV terminal to use the Internet and an IPTV network, comprising:

[0062] Step S11, setting the IPTV network as the default network.

[0063] It should be noted that, in this embodiment, the IPTV terminal is a set-top box, which can be connected to the IPTV network via a wired connection, and can also be connected to the Internet via WIFI or a USB network card; after the IPTV terminal is connected to the IPTV network and the Internet at the same time, the system where the IPTV terminal is located sets the IPTV network as the default network, that is, in the system where the IPTV terminal is located, the priority of the IPTV network is greater than the priority of the Internet.

[0064] Step S12: After the IPTV terminal is started, the IPTV terminal obtains IPTV network configuration parameters through Ethernet, and configures the IPTV network parameters into the system of the IPTV terminal.

[0065] The IPTV network configuration parameters include the IP address of the IPTV network, the subnet mask of the IPTV network and the IP address of the IPTV domain name server.

[0066] Step S13: the IPTV terminal obtains Internet configuration parameters and configures the Internet configuration parameters into the system of the IPTV terminal.

[0067] Among them, Internet configuration parameters include the IP address of the Internet service, the subnet mask of the Internet service, and the IP address of the Internet domain name server.

[0068] Step S14, when the application on the IPTV terminal is in the startup phase, it is determined whether the application is an Internet application, and if so, the network access mode of the application is modified to Internet access in the system of the IPTV terminal.

[0069] Specifically, when the application on the IPTV terminal is in the startup stage, it is determined whether the application is an Internet application. If the application is an Internet application, the network access method of the application is modified to Internet access in the system of the IPTV terminal. If the application is an IPTV application, the network access method of the application is not modified in the system of the IPTV terminal.

[0070] It should be noted that Internet applications include applications such as Tencent Video and Youku Video. When the network access method of an application needs to be modified to Internet access, it is usually achieved through the Internet network ID.

[0071] In the above implementation, the IPTV network is set as the default network. After the IPTV terminal is started, the IPTV terminal obtains IPTV network configuration parameters through Ethernet. The IPTV network configuration parameters include the IP address of the IPTV network, the subnet mask of the IPTV network and the IP address of the IPTV domain name server, and the IPTV network parameters are configured inside the system of the IPTV terminal. Then the IPTV terminal obtains Internet configuration parameters. The Internet configuration parameters include the IP address of the Internet service, the subnet mask of the Internet service, and the IP address of the Internet domain name server, and the Internet configuration parameters are configured inside the system of the IPTV terminal. When the application on the IPTV terminal is in the startup stage, it is determined whether the application is an Internet application. If the application is an Internet application, the network access method of the application is modified to Internet access in the system of the IPTV terminal. If the application is an IPTV application, the network access method of the application is not modified in the system of the IPTV terminal. Therefore, without modifying the application itself, the network access method of the application is changed, so that the IPTV application can access the IPTV network and the Internet application can access the Internet, which meets the network access requirements of the IPTV application and the Internet application, so that the IPTV terminal can support IPTV services and Internet services at the same time.

[0072] As a further implementation method of the method, after the IPTV terminal is started, the IPTV terminal obtains IPTV network configuration parameters through Ethernet, the IPTV network configuration parameters include the IP address of the IPTV network, the subnet mask of the IPTV network and the IP address of the IPTV domain name server, and configures the IPTV network parameters into the system of the IPTV terminal, including:

[0073] Step S21, after the IPTV terminal is started, the IPTV terminal is connected to the IPTV network via Ethernet.

[0074] Step S22: The IPTV terminal sends a first DHCP Discover message to the DHCP server of the IPTV network, and returns a first DHCP Offer message.

[0075] Step S23: After receiving the first DHCP Offer message, the IPTV terminal sends a first DHCP Request message to the DHCP server of the IPTV network, and returns a first DHCP Acknowledgment message.

[0076] Step S24: extract IPTV network configuration parameters from the first DHCP Acknowledgment message, the IPTV network configuration parameters including the IP address of the IPTV network, the subnet mask of the IPTV network and the IP address of the IPTV domain name server, and write the IPTV network parameters into the network interface of the IPTV terminal.

[0077] In the above implementation manner, in order to implement the configuration of the IPTV network in the system where the IPTV terminal is located, after the IPTV terminal is started, the IPTV terminal is connected to the IPTV network through Ethernet, and then the IPTV terminal sends a first DHCP Discover message to the DHCP server of the IPTV network, and returns a first DHCP Offer message. Then, after receiving the first DHCP Offer message, the IPTV terminal sends a first DHCP Request message to the DHCP server of the IPTV network, and returns a first DHCP Acknowledgment message, and then extracts IPTV network configuration parameters from the first DHCP Acknowledgment message, the IPTV network configuration parameters including the IP address of the IPTV network, the subnet mask of the IPTV network and the IP address of the IPTV domain name server, and writes the IPTV network parameters into the network interface of the IPTV terminal.

[0078] As a further implementation method of the method, the IPTV terminal obtains Internet configuration parameters, which include an IP address of an Internet service, a subnet mask of an Internet service, and an IP address of an Internet domain name server, and configures the Internet configuration parameters into a system inside the IPTV terminal, including:

[0079] Step S31, the IPTV terminal is connected to the Internet via WIFI or a USB network card.

[0080] Step S32: The IPTV terminal sends a second DHCP Discover message to the DHCP server on the Internet, and returns a second DHCP Offer message.

[0081] Step S33: After receiving the second DHCP Offer message, the IPTV terminal sends a second DHCP Request message to the DHCP server on the Internet, and returns a second DHCP Acknowledgment message.

[0082] Step S34: extract Internet configuration parameters from the second DHCP Acknowledgment message, the Internet configuration parameters including the IP address of the Internet service, the subnet mask of the Internet service, and the IP address of the Internet domain name server, and write the Internet configuration parameters into the network interface of the IPTV terminal.

[0083] In the above implementation, in order to implement the configuration of the Internet in the system where the IPTV terminal is located, the IPTV terminal is connected to the Internet through WIFI or a USB network card, and then the IPTV terminal sends a second DHCPDiscover message to the DHCP server of the Internet, and returns a second DHCP Offer message. Then, after receiving the second DHCP Offer message, the IPTV terminal sends a second DHCP Request message to the DHCP server of the Internet, and returns a second DHCP Acknowledgment message, and then extracts Internet configuration parameters from the second DHCP Acknowledgment message, the Internet configuration parameters including the IP address of the Internet service, the subnet mask of the Internet service, and the IP address of the Internet domain name server, and writes the Internet configuration parameters into the network interface of the IPTV terminal.

[0084] As a further implementation method of the method, when the application on the IPTV terminal is in the startup phase, determining whether the application is an Internet application, and if so, modifying the network access mode of the application to Internet access in the system of the IPTV terminal includes:

[0085] Step S41, when the application on the IPTV terminal is in the startup phase, the configuration file of the application is obtained, and the network access type of the application is determined according to the configuration file.

[0086] Step S42: If the network access type of the application is an IPTV network, the connection between the application and the IPTV network is maintained.

[0087] Step S43: If the network access type of the application is the Internet, the network access type of the application is set to the Internet in the system of the IPTV terminal, and the connection between the application and the Internet is maintained.

[0088] In the above implementation, in order to perform corresponding configuration on the network that needs to be accessed after the application on the IPTV terminal is started, when the application on the IPTV terminal is in the startup stage, the configuration file of the application is obtained, and the network access type of the application is determined according to the configuration file. If the network access type of the application is the IPTV network, the connection between the application and the IPTV network is maintained. If the network access type of the application is the Internet, the network access type of the application is set to the Internet in the system of the IPTV terminal, and the connection between the application and the Internet is maintained.

[0089] As a further implementation of the method, when the application on the IPTV terminal is in the startup phase, after the step of obtaining the configuration file of the application and determining the network access type of the application according to the configuration file, it also includes:

[0090] Step S51: If the network access type of the application is IPTV network and Internet, determine whether the IPTV terminal is connected to the IPTV network through the first network card and connected to the Internet through the second network card at the same time.

[0091] It can be understood that the first network card and the second network card are usually physical network cards.

[0092] Step S52: If yes, obtain the system log information of the IPTV terminal, and determine the first access frequency and first cumulative access duration of the application to the Internet within a preset time window, as well as the second access frequency and second cumulative access duration to the IPTV network according to the system log information.

[0093] It should be noted that the preset time window may be the most recent week or the most recent month.

[0094] Step S53: determining a first evaluation value according to the first access frequency and the first accumulated access duration, and determining a second evaluation value according to the second access frequency and the second accumulated access duration.

[0095] It should be noted that in step S53, the access frequency and the cumulative access time have corresponding weights. The first evaluation value can be calculated by the weight, the first access frequency and the first cumulative access time, and the second evaluation value can be calculated by the weight, the second access frequency and the second cumulative access time.

[0096] Step S54, determining whether the first evaluation value is greater than the second evaluation value, if so, setting the network access type of the application to the Internet in the system of the IPTV terminal and maintaining the connection between the application and the Internet, if not, maintaining the connection between the application and the IPTV network.

[0097] Specifically, determine whether the first evaluation value is greater than the second evaluation value. If the first evaluation value is greater than the second evaluation value, set the network access type of the application to the Internet in the system of the IPTV terminal and maintain the connection between the application and the Internet. If the first evaluation value is not greater than the second evaluation value, maintain the connection between the application and the IPTV network.

[0098] In the above implementation, if the network access type of the application is IPTV network and Internet, it is determined whether the IPTV terminal is connected to the IPTV network through the first network card and connected to the Internet through the second network card at the same time. If the IPTV terminal is connected to the IPTV network through the first network card and connected to the Internet through the second network card at the same time, the system log information of the IPTV terminal is obtained, and the first access frequency and the first cumulative access time of the application to the Internet within a preset time window, as well as the second access frequency and the second cumulative access time to the IPTV network are determined according to the system log information. Then, a first evaluation value is determined according to the first access frequency and the first cumulative access time, and a second evaluation value is determined according to the second access frequency and the second cumulative access time. Then, it is determined whether the first evaluation value is greater than the second evaluation value. If the first evaluation value is greater than the second evaluation value, the network access type of the application is set to the Internet in the system of the IPTV terminal, and the connection between the application and the Internet is maintained. If the first evaluation value is not greater than the second evaluation value, the connection between the application and the IPTV network is maintained.

[0099] As a further embodiment of the method, the method further comprises:

[0100] Step S61, when the application is in the running stage, monitor the user's current operation and obtain the application's data acquisition request according to the current operation.

[0101] Step S62, determining whether network switching is required according to the data acquisition request, and if so, switching the Internet to the IPTV network or the IPTV network to the Internet in the system of the IPTV terminal.

[0102] Specifically, it is determined whether network switching is required according to the data acquisition request. If network switching is required, the Internet is switched to the IPTV network or the IPTV network is switched to the Internet in the system of the IPTV terminal.

[0103] In the above implementation, when the application is in the running stage, the user's current operation is monitored, and the data acquisition request of the application is obtained according to the current operation, and then it is determined whether network switching is required according to the data acquisition request. If network switching is required, the Internet is switched to the IPTV network or the IPTV network is switched to the Internet in the system of the IPTV terminal.

[0104] As a further embodiment of the method, the method further comprises:

[0105] Step S71, during the application running stage, real-time monitoring of the network status of the IPTV network and the Internet.

[0106] Step S72: If the network status of the IPTV network is abnormal and the network status of the Internet is normal, the network of the application is switched to the Internet.

[0107] Step S73: If the network status of the Internet is normal and the network status of the IPTV network is abnormal, the network of the application is switched to the IPTV network.

[0108] In the above implementation, during the application running stage, the network status of the IPTV network and the Internet are monitored in real time. If the network status of the IPTV network is abnormal and the network status of the Internet is normal, the network of the application is switched to the Internet. If the network status of the Internet is normal and the network status of the IPTV network is abnormal, the network of the application is switched to the IPTV network.

[0109] The embodiment of the present application also discloses a system of IPTV terminals.

[0110] refer to Figure 2 , a system of an IPTV terminal, comprising:

[0111] A default network setting module is used to set the IPTV network as the default network;

[0112] The IPTV network configuration module is used for the IPTV terminal to obtain IPTV network configuration parameters through Ethernet after the IPTV terminal is started. The IPTV network configuration parameters include the IP address of the IPTV network, the subnet mask of the IPTV network and the IP address of the IPTV domain name server, and configure the IPTV network parameters into the system of the IPTV terminal;

[0113] The Internet configuration module is used for the IPTV terminal to obtain Internet configuration parameters, which include the IP address of the Internet service, the subnet mask of the Internet service, and the IP address of the Internet domain name server, and configure the Internet configuration parameters into the system of the IPTV terminal;

[0114] The network access mode setting module is used to determine whether the application on the IPTV terminal is an Internet application when the application on the IPTV terminal is in the startup phase. If so, the network access mode of the application is modified to Internet access in the system of the IPTV terminal.

[0115] The system of an IPTV terminal of the present invention can implement any one of the methods of an IPTV terminal using the Internet and an IPTV network, and the specific working process of the system of an IPTV terminal of the present invention can refer to the corresponding process in the above-mentioned method of an IPTV terminal using the Internet and an IPTV network.

[0116] The embodiment of the present application also discloses a computer device.

[0117] refer to Figure 3 A computer device includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, any one of the above-mentioned methods for an IPTV terminal to use the Internet and an IPTV network is implemented.

[0118] The embodiment of the present application also discloses a computer-readable storage medium.

[0119] A computer-readable storage medium stores a computer program that can be loaded by a processor and executes any one of the above methods for an IPTV terminal to use the Internet and an IPTV network.

[0120] Among them, computer-readable storage media can be any tangible medium that contains or stores a program, which can be used by or in conjunction with an instruction execution system, apparatus or device; the program code contained on the computer-readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0121] The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.

Claims

1. A method for an IPTV terminal to use the Internet and an IPTV network, characterized in that: include: Setting the IPTV network as a default network; After the IPTV terminal is started, the IPTV terminal obtains IPTV network configuration parameters through Ethernet, wherein the IPTV network configuration parameters include an IP address of the IPTV network, a subnet mask of the IPTV network, and an IP address of an IPTV domain name server, and configures the IPTV network parameters into the system of the IPTV terminal; The IPTV terminal obtains Internet configuration parameters, which include an IP address of an Internet service, a subnet mask of an Internet service, and an IP address of an Internet domain name server, and configures the Internet configuration parameters into a system of the IPTV terminal; When the application on the IPTV terminal is in the startup phase, it is determined whether the application is an Internet application. If so, the network access mode of the application is modified to Internet access in the system of the IPTV terminal.

2. A method for an IPTV terminal to use the Internet and an IPTV network according to claim 1, characterized in that: After the IPTV terminal is started, the IPTV terminal obtains IPTV network configuration parameters through Ethernet, wherein the IPTV network configuration parameters include an IP address of the IPTV network, a subnet mask of the IPTV network, and an IP address of an IPTV domain name server, and configures the IPTV network parameters into the system of the IPTV terminal, including: After the IPTV terminal is started, the IPTV terminal is connected to the IPTV network via Ethernet; The IPTV terminal sends a first DHCP Discover message to the DHCP server of the IPTV network, and returns a first DHCP Offer message; After receiving the first DHCP Offer message, the IPTV terminal sends a first DHCP Request message to the DHCP server of the IPTV network, and returns a first DHCP Acknowledgment message; Extract IPTV network configuration parameters from the first DHCP Acknowledgment message, the IPTV network configuration parameters including the IP address of the IPTV network, the subnet mask of the IPTV network and the IP address of the IPTV domain name server, and write the IPTV network parameters into the network interface of the IPTV terminal.

3. The method for using the Internet and IPTV network by an IPTV terminal according to claim 1, characterized in that: The IPTV terminal obtains Internet configuration parameters, which include an IP address of an Internet service, a subnet mask of an Internet service, and an IP address of an Internet domain name server, and configures the Internet configuration parameters into a system of the IPTV terminal, including: The IPTV terminal is connected to the Internet via WIFI or USB network card; The IPTV terminal sends a second DHCP Discover message to the DHCP server on the Internet, and returns a second DHCP Offer message; After receiving the second DHCP Offer message, the IPTV terminal sends a second DHCP Request message to the DHCP server on the Internet, and returns a second DHCP Acknowledgment message; Extract Internet configuration parameters from the second DHCP Acknowledgment message, the Internet configuration parameters including the IP address of the Internet service, the subnet mask of the Internet service, and the IP address of the Internet domain name server, and write the Internet configuration parameters into the network interface of the IPTV terminal.

4. The method for using the Internet and IPTV network by an IPTV terminal according to claim 1, characterized in that: When the application on the IPTV terminal is in the startup phase, determining whether the application is an Internet application, and if so, modifying the network access mode of the application to Internet access in the system of the IPTV terminal, comprises: When the application on the IPTV terminal is in the startup phase, obtaining a configuration file of the application, and determining a network access type of the application according to the configuration file; If the network access type of the application is an IPTV network, maintaining the connection between the application and the IPTV network; If the network access type of the application is the Internet, the network access type of the application is set to the Internet in the system of the IPTV terminal, and the connection between the application and the Internet is maintained.

5. The method for using the Internet and IPTV network by an IPTV terminal according to claim 4, characterized in that: After the step of obtaining a configuration file of the application and determining the network access type of the application according to the configuration file when the application on the IPTV terminal is in the startup phase, the method further includes: If the network access type of the application is an IPTV network and the Internet, determining whether the IPTV terminal is connected to the IPTV network through the first network card and connected to the Internet through the second network card at the same time; If yes, then obtaining the system log information of the IPTV terminal, and determining the first access frequency and the first cumulative access duration of the application to the Internet within a preset time window, and the second access frequency and the second cumulative access duration of the application to the IPTV network according to the system log information; Determine a first evaluation value according to the first access frequency and the first accumulated access duration, and determine a second evaluation value according to the second access frequency and the second accumulated access duration; Determine whether the first evaluation value is greater than the second evaluation value. If so, set the network access type of the application to the Internet in the system of the IPTV terminal and keep the application connected to the Internet. If not, keep the application connected to the IPTV network.

6. The method for an IPTV terminal to use the Internet and an IPTV network according to claim 5, characterized in that: The method further comprises: When the application is in the running stage, monitoring the current operation of the user, and obtaining a data acquisition request of the application according to the current operation; Determine whether network switching is required according to the data acquisition request, and if so, switch the Internet to the IPTV network or switch the IPTV network to the Internet in the system of the IPTV terminal.

7. The method for an IPTV terminal to use the Internet and an IPTV network according to claim 6, characterized in that: The method further comprises: During the application program running phase, real-time monitoring of the network status of the IPTV network and the Internet; If the network status of the IPTV network is abnormal and the network status of the Internet is normal, switching the network of the application to the Internet; If the network status of the Internet is normal and the network status of the IPTV network is abnormal, the network of the application is switched to the IPTV network.

8. A system for an IPTV terminal, characterized in that: include: A default network setting module, used to set the IPTV network as a default network; An IPTV network configuration module is used for, after the IPTV terminal is started, the IPTV terminal obtains IPTV network configuration parameters through Ethernet, the IPTV network configuration parameters including the IP address of the IPTV network, the subnet mask of the IPTV network and the IP address of the IPTV domain name server, and configures the IPTV network parameters into the system of the IPTV terminal; An Internet configuration module, used for the IPTV terminal to obtain Internet configuration parameters, the Internet configuration parameters including the IP address of the Internet service, the subnet mask of the Internet service, and the IP address of the Internet domain name server, and configure the Internet configuration parameters into the system of the IPTV terminal; The network access mode setting module is used to determine whether the application on the IPTV terminal is an Internet application when the application is in the startup stage. If so, the network access mode of the application is modified to Internet access in the system of the IPTV terminal.

9. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 7.