Method and device for accessing public network by iptv private network and related equipment

By introducing a service management server into the IPTV private network to query the service record information of the target jump server in real time, the problem of IPTV set-top boxes being unable to access the public Internet is solved, enabling convenient access without the need for OTT APP customization and modification, and reducing maintenance difficulty.

CN118803376BActive Publication Date: 2025-10-24CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410256846.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-06
Publication Date
2025-10-24
Estimated Expiration
2044-03-06

AI Technical Summary

Technical Problem

In a private IPTV network, IPTV set-top boxes cannot directly access OTT services provided by the public internet, and the proxy gateway addresses are different in different provinces, which requires OTT apps to be customized and modified, increasing the difficulty of maintenance.

Method used

By introducing a service management server into the IPTV private network, the service record information of the target jump server can be queried in real time to obtain the target routing address, thereby enabling public network service access and avoiding the need to read the target routing address on the terminal.

Benefits of technology

No customization or modification of the OTT app is required, reducing maintenance difficulty and enabling convenient and flexible access to the public internet via the IPTV private network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118803376B_ABST
    Figure CN118803376B_ABST
Patent Text Reader

Abstract

The application discloses an IPTV private network access public network method, device and related equipment. The method comprises the following steps: a terminal can receive a service request input by a user, generates a query request and sends the query request to a service management server, the service request is used for requesting to access a target service server of a target service application in a public network, the query request is used for querying target service record information of a target jump machine server corresponding to the target service application, and the target service record information comprises a target routing address; the service management server responds to the query request, queries the target service record information and sends the target service record information to the terminal, and the service management server comprises service record information of at least one jump machine server; the terminal parses the target service record information and obtains the target routing address; the terminal sends the service request to the target jump machine server according to the target routing address; and the target jump machine server can send the service request to the target service server, so that the access to the target service in the public network is realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of Internet, and particularly relates to an IPTV private network access public network method, device and related equipment. BACKGROUND

[0002] At present, with the promotion of three-network integration, Internet Protocol Television (IPTV), fixed telephone network and Internet have been integrated into an optical modem. Among them, IPTV is based on an operator private network, which can provide users with private network live broadcast services and video on demand services. In this private network mode, the network bandwidth and video quality of users are guaranteed, but the public Internet is completely isolated, which leads to the fact that the IPTV set-top box cannot use the content distribution services (Over The Top, OTT) provided by the public Internet. The prior art can access the public Internet and use the OTT service by setting a proxy gateway in the IPTV private network. However, since the IPTV proxy gateway addresses of different provinces are different, if the proxy gateway address is read in the OTT application (APP) in the IPTV set-top box, the OTT APP needs to be customized and modified, which increases the maintenance difficulty. SUMMARY

[0003] The embodiments of the present application provide an IPTV private network access public network method, device, equipment and storage medium, which can not need to customize and modify the OTT APP, thereby reducing the maintenance difficulty.

[0004] In a first aspect, the embodiments of the present application provide an IPTV private network access public network method, applied to a terminal in the IPTV private network, and the method comprises the following steps.

[0005] Receiving a service request input by a user, generating a query request, the service request being used to request to access a target service application of a target service server, the query request being used to query target service record information of a target jump server corresponding to the target service application, the target service record information comprising a target routing address of the target jump server;

[0006] Sending the query request to a service management server, so that the service management server queries the target service record information in response to the query request, the service management server comprising service record information of at least one jump server, and the service record information of different jump servers being different; and sending the target service record information to the terminal;

[0007] Receiving the target service record information sent by the service management server, and parsing the target service record information to obtain the target routing address.

[0008] sending the service request to the target jump server according to the target routing address, the target jump server being configured to send the service request to the target service server to realize access to the target service in the public network.

[0009] In a second aspect, the embodiments of the present application provide an IPTV private network accessing public network method, applied to a service management server, and the method comprises the following steps:

[0010] receiving a query request sent by a terminal, the query request being a request generated by the terminal receiving a service request input by a user, the service request being configured to request access to a target service server of a target service application in the public network, the query request being configured to query target service record information of a target jump server corresponding to the target service application, the target service record information comprising a target routing address of the target jump server;

[0011] querying the target service record information in response to the query request, the service management server comprising service record information of at least one jump server, the service record information of different jump servers being different;

[0012] sending the target service record information to the terminal, so that the terminal parses the target service record information to obtain the target routing address; and sending the service request to the target jump server according to the target routing address, the target jump server being configured to send the service request to the target service server to realize access to the target service in the public network.

[0013] In a third aspect, the embodiments of the present application provide an IPTV private network accessing public network method, applied to a target jump server, and the method comprises the following steps:

[0014] receiving a service request sent by a terminal according to a target routing address, the service request being configured to request access to a target service server of a target service application in the public network, the target routing address being a routing address of the target jump server, and the target routing address being obtained by the terminal receiving target service record information sent by the service management server and parsing the target service record information;

[0015] sending the service request to the target service server to realize access to the target service in the public network.

[0016] In a fourth aspect, the embodiments of the present application provide an IPTV private network accessing public network device, applied to a terminal in the IPTV private network, and the device comprises the following steps:

[0017] The first receiving module is configured to receive a service request input by a user, generate a query request, wherein the service request is used to request to access a target service server of a target service application in the public network, the query request is used to query target service record information of a target jump server corresponding to the target service application, and the target service record information comprises a target routing address of the target jump server.

[0018] The first sending module is configured to send the query request to a service management server, so that the service management server queries the target service record information in response to the query request, the service management server comprises service record information of at least one jump server, and the service record information of different jump servers is different; and send the target service record information to the terminal.

[0019] The second receiving module is configured to receive the target service record information sent by the service management server, and parse the target service record information to obtain the target routing address.

[0020] The second sending module is configured to send the service request to the target jump server according to the target routing address, and the target jump server is configured to send the service request to the target service server, so as to realize access to a target service in the public network.

[0021] In a fifth aspect, an embodiment of the present application provides an IPTV private network access public network device, applied to a service management server, and the device comprises:

[0022] The third receiving module is configured to receive a query request sent by a terminal, the query request is a request generated by the terminal in response to a service request input by a user, the service request is used to request to access a target service server of a target service application in the public network, and the query request is used to query target service record information of a target jump server corresponding to the target service application, wherein the target service record information comprises a target routing address of the target jump server.

[0023] The query module is configured to query the target service record information in response to the query request, and the service management server comprises service record information of at least one jump server, and the service record information of different jump servers is different.

[0024] The third sending module is configured to send the target service record information to the terminal, so that the terminal parses the target service record information to obtain the target routing address; and send the service request to the target jump machine server according to the target routing address, where the target jump machine server is configured to send the service request to the target service server, so as to realize access to the target service in the public network.

[0025] In a sixth aspect, an embodiment of the present application provides an IPTV private network access public network device, which is applied to a target jump machine server and includes:

[0026] The fourth receiving module is configured to receive a service request sent by a terminal according to a target routing address, where the service request is used to request access to a target service server of a target service application in the public network, the target routing address is a routing address of the target jump machine server, and the target routing address is obtained by the terminal receiving and parsing the target service record information sent by the service management server.

[0027] The fourth sending module is configured to send the service request to the target service server, so as to realize access to the target service in the public network.

[0028] In a seventh aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory storing computer program instructions; and the processor implements the IPTV private network access public network method according to any one of the preceding aspects when executing the computer program instructions.

[0029] In an eighth aspect, an embodiment of the present application provides a computer readable storage medium, which stores computer program instructions; and the computer program instructions are executed by a processor to implement the IPTV private network access public network method according to any one of the preceding aspects.

[0030] In a ninth aspect, an embodiment of the present application provides a computer program product, and instructions in the computer program product are executed by a processor of an electronic device to enable the electronic device to execute the IPTV private network access public network method according to any one of the preceding aspects.

[0031] The IPTV private network access public network method, device and related equipment provided by the embodiments of the present application can enable a terminal to receive a service request input by a user, generate a query request and send the query request to a service management server, the service request being used to request access to a target service server of a target service application in a public network, and the query request being used to query target service record information of a target service application corresponding to a target jump machine server, the target service record information including a target routing address of the target jump machine server; the service management server responds to the query request, queries the target service record information and sends the target service record information to the terminal, the service management server including service record information of at least one jump machine server, the service record information of different jump machine servers being different; the terminal parses the target routing address after receiving the target service record information; the terminal sends the service request to the target jump machine server according to the target routing address; and the target jump machine server can send the service request to the target service server to realize access to the target service in the public network. In this way, in the embodiments of the present application, when the IPTV private network accesses the public Internet and uses an OTT service, the target routing address is not read in a target service application of the terminal, but is queried in real time through the service management server, so that even if the target routing address is different in different provinces, the OTT APP does not need to be customized and modified, thereby reducing the maintenance difficulty. BRIEF DESCRIPTION OF DRAWINGS

[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly introduced. Those skilled in the art can obtain other drawings according to these drawings without any creative labor.

[0033] Figure 1 is an architecture diagram of an IPTV private network access public network system provided by the embodiments of the present application;

[0034] Figure 2 is a flowchart of an IPTV private network access public network method provided by the embodiments of the present application;

[0035] Figure 3 is a whole architecture diagram of an IPTV machine room deployment jump machine provided by the embodiments of the present application;

[0036] Figure 4 is a network architecture diagram of an IPTV set-top box system provided by the embodiments of the present application;

[0037] Figure 5 is a structure diagram of an IPTV private network access public network device provided by the embodiments of the present application;

[0038] Figure 6 is a structure diagram of another IPTV private network access public network device provided by the embodiments of the present application;

[0039] Figure 7 is a structure schematic diagram of another IPTV private network access public network device provided by an embodiment of the present application;

[0040] Figure 8 is a structure schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0041] The features and exemplary embodiments of various aspects of the present application will be described below in detail, in order to make the purposes, technical solutions and advantages of the present application more clear and apparent, the present application will be further described in detail below in combination with the drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, but not to limit the present application. The present application can be implemented without some of these specific details by those skilled in the art. The following description of the embodiments is only to provide a better understanding of the present application by showing examples of the present application.

[0042] It should be noted that, in this paper, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the elements defined by the statement "include" do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0043] At present, with the promotion of three-network integration, Internet Protocol Television (IPTV), fixed telephone network and Internet have been integrated into an optical modem. Among them, IPTV is based on an operator private network, which can provide users with live broadcast services and video on demand services of the private network. In this private network mode, the network bandwidth and video quality of the user are guaranteed, but the public Internet is completely isolated, which leads to the fact that the IPTV set-top box cannot use the content distribution services (Over The Top, OTT) provided by the public Internet. The prior art can access the public Internet and use the OTT service by setting a proxy gateway in the IPTV private network. However, since the IPTV proxy gateway addresses of different provinces are different, if the proxy gateway address is read in the OTT application (Application, APP) in the IPTV set-top box, the OTT APP needs to be customized and modified, which increases the maintenance difficulty.

[0044] To solve the prior art problems, the embodiments of the present application provide an IPTV private network accessing public network method, device and related equipment. First, the IPTV private network accessing public network system provided by the embodiments of the present application is introduced.

[0045] Figure 1 The architecture diagram of the IPTV private network accessing public network system provided by one embodiment of the present application is shown. As shown in the figure, Figure 1 The IPTV private network accessing public network system 100 can include a terminal 101, a service management server 102, a jumpboard server 103 and a service server 104.

[0046] The terminal 101 described above can be an IPTV set-top box in the IPTV private network, which is a device that can be used to receive, decode and play television signals. It is usually connected with a television set and can receive cable television, satellite television or network television signals and play them out through the television screen. The set-top box generally has multiple input and output interfaces, such as HDMI, AV, USB, etc., to connect with televisions, sound systems, external storage devices, etc. In addition to playing television channels, the set-top box can also provide functions such as recording, playing back, on-demand, application installation, etc. of television programs.

[0047] The service management server 102 described above can be an OTT service management server, which is a server used to manage and provide OTT services. OTT services refer to the transmission of audio and video content and other application programs through the Internet, bypassing the traditional television and telecommunications operator distribution channel, and directly providing services to users. The OTT service management server plays a key role in managing and controlling various aspects of OTT services, including user subscription, content management, account management, content distribution, charging and billing, etc. It provides a centralized management platform for monitoring and managing the operation and maintenance of OTT services.

[0048] In one embodiment, the OTT service management server can specifically include an OTT service white list management server and an OTT service domain name (Domain Name System, DNS) server. The OTT service white list management server issues the package name of the OTT APP in the form of an http interface, indicating that the OTT application can be deployed under the IPTV private network. The white list management server is deployed by default at port 80. The OTT service DNS server provides a DNS server for the OTT application under the IPTV private network and is deployed by default at port 53.

[0049] The above-described jump machine server 103 can be an intermediate server between a trusted network and an untrusted network, used to manage and control access to other servers in the untrusted network. It acts as a secure access point, through which other servers can be safely managed and maintained, while reducing direct access to the untrusted network.

[0050] The above-described service server 104 can be a server specially used to perform specific service functions and process related service requests. The service server can be a physical server or a virtual server. It can run specific software and applications to provide various service services. The specific service function can be different for different industries, organizations or applications, for example, running specific application programs and services. It can process user requests, execute service logic, interact with databases, etc.

[0051] The terminal 101, the service management server 102, the jump machine server 103 and the service server 104 are communicatively connected. Specifically, Ethernet or wireless network connection can be used for communication. Of course, the communication mode is not limited to this, and other network connection communication modes can also be used, which are not limited here.

[0052] The IPTV private network access public network method provided by the embodiment of the application will be introduced below.

[0053] Figure 2 The flowchart of the IPTV private network access public network method provided by an embodiment of the application is shown. As shown in Figure 2 Optionally, the method of the embodiment of the application can be applied to the terminal 101, the service management server 102, the jump machine server 103 and the service server 104 shown in Figure 1 As shown in Figure 2 The IPTV private network access public network method 200 can include the following steps S201 to S207:

[0054] S201, the terminal receives a service request input by a user, generates a query request, the service request is used to request access to a target service server of a target service application in a public network, and the query request is used to query target service record information of the target service application corresponding to a target jump machine server, the target service record information including a target routing address of the target jump machine server;

[0055] S202, the terminal sends the query request to the service management server;

[0056] S203, the service management server responds to the query request and queries the target service record information, the service management server including service record information of at least one jump machine server, the service record information of different jump machine servers being different;

[0057] S204, the service management server sends the target service record information to the terminal;

[0058] S205, the terminal parses the target service record information to obtain a target routing address;

[0059] S206, the terminal sends a service request to the target jump server according to the target routing address;

[0060] S207, the target jump server sends the service request to the target service server to realize access to the target service in the public network.

[0061] The IPTV private network access public network method of the embodiment can receive a service request input by a user, generate a query request and send it to a service management server, the service request is used to request access to a target service server of a target service application in a public network, the query request is used to query target service record information of a target jump server corresponding to the target service application, the target service record information includes a target routing address of the target jump server, the service management server responds to the query request to obtain the target service record information and send it to the terminal, the service management server includes service record information of at least one jump server, the service record information of different jump servers is different, the terminal parses the target routing address after receiving the target service record information, the terminal sends the service request to the target jump server according to the target routing address, and the target jump server can send the service request to the target service server to realize access to the target service in the public network. In this way, in the embodiment, when the IPTV private network accesses the public Internet and uses the OTT service, the target routing address is not read in the target service application of the terminal, but is obtained by real-time querying the service management server, so that even if the target routing address is different in different provinces, the OTT APP does not need to be customized and modified, thereby reducing the maintenance difficulty.

[0062] The specific implementation of each step is described below.

[0063] In S201, the service request can be used to request access to a target service server of a target service application in a public network.

[0064] The query request can be used to query target service record information of a target jump server corresponding to the target service application. The target service record information can include a target routing address of the target jump server.

[0065] The target service record information can include a target routing address of the target jump server.

[0066] In S202, the terminal sends a query request to the service management server. For example, the terminal can send the query request to the service management server through wired communication.

[0067] In S203, the service management server can include service record information of at least one jump server, and the service record information of different jump servers is different. The service record (SRV) information is a DNS (Domain Name System) record type, which is used to specify the domain name and related information of a specific service. The SRV record provides location and availability information of a service, and can include host name, port number, priority, weight, etc.

[0068] In some embodiments, the service management server can specifically include a domain name sub-server, the domain name sub-server includes service record information of each service application, and each service record information includes a routing address of a jump server corresponding to each service application. In response to the query request, the target service record information can be obtained, specifically, the domain name sub-server can determine the service record information of the target service application as the target service record information in response to the query request.

[0069] In S204, the service management server sends the target service record information to the terminal. For example, the service management server can send the target service record information to the terminal through wired communication.

[0070] In S205, the terminal parses the target service record information to obtain a target routing address. For example, the target service record information is_http._tcp.www.baidu.com.IN SRV 10 5 1008610.1.1.100, where_http represents the http protocol, _tcp represents the tcp protocol, www.baidu.com represents the domain name, IN represents the Internet, SRV represents the type of SRV type, 10 represents the priority, 5 represents the weight, 10086 represents the port, and 10.1.1.100 represents the host name IP. The domain name www.baidu.com is parsed to obtain the routing address of 10.1.1.100:10086.

[0071] In S206, the terminal sends a service request to the target jump server according to the target routing address. For example, the terminal can send the service request to the target jump server through wired communication according to the target routing address.

[0072] In S207, the target jumpboard server sends the service request to the target service server to realize the access to the target service in the public network. For example, the target jumpboard server sends the service request to the target service server through wireless or wired communication to realize the access to the target service in the public network, thereby obtaining and using the OTT service resource returned by the target service server.

[0073] In some embodiments, each service record information further includes a port number associated with each service application in the corresponding jumpboard server, and the target jumpboard server includes at least one proxy sub-server, and different proxy sub-servers correspond to different port numbers.

[0074] S205 can specifically include the following steps.

[0075] The terminal parses the target service record information to obtain the target routing address and the target port number of the target service application.

[0076] S206 can specifically include the following steps.

[0077] The terminal sends the service request to the target proxy sub-server in the target jumpboard server according to the target routing address and the target port number, and the target proxy sub-server is the proxy sub-server corresponding to the target port number in the target jumpboard server.

[0078] S207 can specifically include the following steps.

[0079] The target proxy sub-server sends the service request to the target service server.

[0080] The target port number is a port number associated with the target service application, and the target port number is obtained by the terminal parsing the target service record information.

[0081] Since each OTT service may need to process multiple domain names, if each OTT service is processed in a manner of exclusively occupying the target jumpboard server, a large amount of IP resources and server resources will be occupied.

[0082] In this embodiment, by querying the service record information in the service management server in real time, the target routing address and the target port number of the target proxy sub-server in the target jumpboard server can be accurately obtained, the public network access is realized only through the target proxy sub-server, and the target jumpboard server is not exclusively occupied, thereby effectively saving IP resources and server resources.

[0083] In some embodiments, the target service record information can further include a weight coefficient and / or a priority level of each proxy sub-server associated with the target service application.

[0084] The target routing address and the target port number of the target service application are obtained by analyzing the target service record information, and specifically can include:

[0085] The target routing address and the port number of the target proxy sub-server are determined as the target routing address and the target port number.

[0086] According to the weight coefficient and / or the priority level of the at least one proxy sub-server of the target service application, a target proxy sub-server of the target service application is determined, the target proxy sub-server being the proxy sub-server with the largest weight coefficient or the highest priority level among the at least one proxy sub-server of the target service application.

[0087] According to the weight coefficient and / or the priority level of the at least one proxy sub-server of the target service application, a target proxy sub-server of the target service application is determined, the target proxy sub-server being the proxy sub-server with the largest weight coefficient or the highest priority level among the at least one proxy sub-server of the target service application.

[0088] In the embodiment, the load balancing of the target proxy server can be better achieved by the weight and / or the priority of the service record information. If the bandwidth resource of a proxy sub-server in the proxy server is tight, the weight of the proxy sub-server can be reduced to select a proxy sub-server with a higher weight for public network access. If the OTT traffic increases, different weight coefficients or priority levels can be modified in the service record information, so that the target proxy server achieves load balancing without the need for the client to modify.

[0089] In some embodiments, the terminal can include a first network environment, a second network environment, and a second network card. The first network environment is a network environment for running a cable television application, the second network environment is a network environment for running a public network service application, and the second network card is used to access the public network.

[0090] Before S201, the following can also be included:

[0091] The service management server sends a target list to the terminal, the target list including the package name of at least one public network service application,

[0092] In the process of installing the service application, the terminal generates a query result according to the target list, the query result being used to indicate whether the package name of the service application exists in the target list;

[0093] In the case where the query result indicates that the package name of the service application does not exist in the target list, the terminal controls the service application to run in the first network environment.

[0094] In the case where the query result indicates that the package name of the service application exists in the target list, the terminal controls the service application to run in the second network environment.

[0095] S201 can specifically include:

[0096] In the case that the target service application runs in the second network environment, the second network card receives a service request input by a user and generates a query request.

[0097] Similarly, in the case that the target service application runs in the second network environment, the service management server receives the query request sent by the second network card.

[0098] The terminal can include a first network environment, a second network environment and a second network card, and can further include a first network card. The first network environment is a network environment in which a cable television application runs, the second network environment is a network environment in which a public network service application runs, the first network card is used to access a cable television network, and the second network card is used to access a public network.

[0099] The target list can include at least one package name of a public network service application. The package name is a naming specification used to organize and manage code in software development. It is an identifier composed of multiple words, such as com.example.app. The function of the package name is to provide a hierarchical structure and a namespace in software development, which is used to distinguish and organize different code modules. It can avoid code naming conflicts and provide better maintainability and scalability. Package names are particularly common in programming languages such as Java, which are used to organize classes and other related code files.

[0100] The query result can be used to indicate whether the package name of the service application exists in the target list.

[0101] In the embodiment, the terminal controls the service applications to run in the corresponding network environment by the target list sent by the service management server during the installation of the service applications, so that network isolation of the IPTV service and the OTT service can be realized, and interference of the OTT service on the IPTV service can be avoided.

[0102] In order to facilitate the understanding of the IPTV private network accessing public network method in the embodiments of the present application, the actual application process of the IPTV private network accessing public network method is described as follows:

[0103] The embodiments of the present application mainly include two parts, the first part is the deployment of the IPTV machine room jump board, and the second part is the modification of the IPTV set top box system.

[0104] The overall architecture of the IPTV machine room deployment jump board is shown in Figure 3 The process of the IPTV machine room deployment jump board is as follows:

[0105] 1 Apply a private network IP (such as 10.255.255.1) in the IPTV private network to deploy an OTT service management server (i.e. the above service management server), which includes an OTT service white list management server and an OTT service DNS server (i.e. the above domain name sub-server).

[0106] 2 The OTT service white list management server issues the package name of the OTT APP in the form of an http interface, indicating that the OTT application can be deployed in the IPTV private network. The white list management server is deployed by default at port 80.

[0107] 3 The OTT service DNS server provides DNS services for the OTT application in the IPTV private network and is deployed by default at port 53. The DNS server differs from the general DNS server in two aspects:

[0108] (1) The DNS server only supports DNS queries of the type SRV (Service, a specific type of DNS record, used to specify the server location and configuration information for providing a specific network service).

[0109] (2) The DNS server does not connect to the public network, but only configures the SRV information of the OTT service domain name in the local cache. The SRV information includes Service (service identifier), Protocol (protocol identifier), Name (domain name), Priority (priority level), Weight (weight coefficient), Port (port number), and Target (host name IP), for example, _http._tcp.www.baidu.com.IN SRV 10 5 10086 10.1.1.100, where _http represents the http protocol, _tcp represents the tcp protocol, www.baidu.com represents the domain name, IN represents Internet, SRV represents the type of SRV type, 10 represents the priority, 5 represents the weight, 10086 represents the port, and 10.1.1.100 represents the host name IP.

[0110] The DNS server realizes the mapping of domain name to IP+PORT through the SRV method, such as the above SRV information, which resolves the domain name www.baidu.com to 10.1.1.100:10086. The DNS server realizes the load balancing of the jump machine by modifying the Weight and Priority in the SRV. After the set-top box DNS queries the SRV information corresponding to the service domain name, the weightiest IP+PORT is obtained as the result of the domain name DNS resolution through the Weight and Priority algorithm.

[0111] 4 The jump machine server applies for OTT service in IPTV private network, which can connect IPTV set-top box in IPTV private network and each service server (such as baidu, google, etc.) in Internet public network. The jump machine server includes Nginx server, streaming media server, other service jump machine server and other servers (i.e. the above proxy sub-server). The Nginx server can be reverse proxy for http, webSocket and other protocols. The streaming media server and other service jump machine server need to deploy reverse proxy server for specific service.

[0112] The second part, the network architecture of IPTV set-top box (i.e. the above terminal) is shown in Figure 4 The IPTV set-top box system needs to modify DNS and network namespace. The detailed modification process is as follows:

[0113] 1 When the IPTV set-top box system starts, a pair of virtual network cards veth_iptv and veth_ott are created, wherein veth_iptv is IPTV service virtual network card (i.e. the above first network card), veth_ott is OTT service virtual network card (i.e. the above second network card), and veth_iptv and veth_ott are both associated with wired network card (IPTV private network is connected through wired network).

[0114] 2 The system default network namespace is named iptv_net_namespace, and the network namespace named ott_net_namespace is created, and the virtual network card veth_ott of OTT service is moved to ott_net_namespace.

[0115] 3 veth_iptv is set as the default network card of iptv_net_namespace, and veth_ott is set as the default network card of ott_net_namespace. The wired network configuration (except DNS server address) of the system is set to veth_iptv at the same time, and needs to be set to veth_ott at the same time, such as ip address and other information.

[0116] 4 Set the DNS server address of veth_ott in ott_net_namespace as the OTT service DNS server address (such as 10.255.255.1), and set the DNS server address of veth_iptv in iptv_net_namespace as null. Since the DNS configuration files corresponding to different network namespaces are different (the iptv_net_namespace corresponds to / etc / resolv.conf, and the ott_net_namespace corresponds to / etc / netns / ott_net_namespace / resolv.conf), the DNS network environments of the IPTV and OTT services can be isolated through different network namespaces.

[0117] 5 The IPTV set-top box triggers the acquisition of the OTT service white list from the OTT service white list management server through an http interface when starting or listening to the installation of an APP.

[0118] 6 The Zygot process judges whether the APP process is in the white list when creating the APP process; if not, the process is an IPTV application or an unknown OTT application, and the Zygot process specifies the network namespace of the process as iptv_net_namespace; if the process is in the white list, the network namespace of the process is specified as ott_net_namespace. For example, the IPTV license APP process runs in the iptv_net_namespace network environment (i.e., the first network environment described above), accesses the iptv network using veth_iptv, and the Migu video and home cloud disk APP processes run in the ott_net_namespace network environment (i.e., the second network environment described above), access the public network using veth_ott. That is, the APP in the white list can access the public network through the DNS server using the relay machine, and the APP not in the white list cannot be DNS resolved and can only communicate using the original channel of the IPTV private network.

[0119] 7The system modifies the logic of DNS request and resolution, modifies the system default A type DNS request to SRV type. After the system receives the SRV packet (i.e. the service record information described above) returned by the DNS server, the IP and Port corresponding to the business domain name are resolved, and the routing address and port number in the network packet protocol header are set to the resolved IP and Port (the port number set by the application layer APP will no longer be effective). When the OTT APP accesses the public network through veth_ott, the DNS SRV query is triggered, the landing machine IP+PORT corresponding to the domain name (i.e. the target routing address and target port number described above) is obtained through the DNS server, and the business request is sent to the landing machine server. The landing machine server forwards the business request to the public network server.

[0120] In the embodiment of the application, the DNS server can guide the APP to divert the request to the landing machine server. Compared with the scheme of modifying the host, the present scheme can accurately map the landing machine address to IP+PORT through the SRV DNS query, thereby effectively saving the IP resources and server resources (in actual application, the landing machine obtained in the provincial mobile IPTV machine room is in the form of IP+PORT). The Weight and Priority of SRV can better realize the load balancing of the landing machine server. If the bandwidth resource of a landing machine server is tight, the Weight of the landing machine can be reduced. If the OTT traffic surges, different Weight landing machines can be added in the SRV to realize load balancing, without the need for the client to modify.

[0121] In the embodiment of the application, the network isolation of the IPTV service and the OTT service can be realized on the IPTV set-top box, thereby avoiding the interference of the OTT service on the IPTV service.

[0122] In the embodiment of the application, the OTT application can be directly installed on the IPTV set-top box without the need for the OTT application to customize a version for the IPTV private network, which is helpful for the rapid deployment of the OTT service in the IPTV private network.

[0123] Based on the IPTV private network access public network method provided in the above embodiment, the application also provides a specific implementation mode of an IPTV private network access public network device. It can be understood that the related description in each device embodiment below can refer to the foregoing method embodiments, and for the sake of brevity, will not be repeated. Please refer to the following embodiments.

[0124] Please refer to Figure 5Is a kind of IPTV private network access public network device 500 structure schematic diagram provided in the embodiment of the application, applied in the terminal in IPTV private network, device 500 can include: first receiving module 501, first sending module 502, second receiving module 503 and second sending module 504.

[0125] First receiving module 501, for receiving the service request input by user, generates query request, service request is used to request access target service server of target service application in public network, query request is used to query target service record information of target service application corresponding target jump machine server, target service record information includes the target routing address of target jump machine server;

[0126] First sending module 502, for sending query request to service management server, so that service management server responds to query request, and obtains target service record information, service management server includes the service record information of at least one jump machine server, and the service record information of different jump machine servers is different;Target service record information is sent to terminal;

[0127] Second receiving module 503, for receiving target service record information sent by service management server, and parsing target service record information to obtain target routing address;

[0128] Second sending module 504, for sending service request to target jump machine server according to target routing address, target jump machine server is used to send service request to target service server, to realize the access of target service in public network.

[0129] The IPTV private network access public network device in the embodiment of the application, the terminal can receive a service request input by a user, generate a query request and send the query request to a service management server, the service request is used to request to access a target service server of a target service application in the public network, and the query request is used to query target service record information of a target service application corresponding to a target jump server, the target service record information includes a target routing address of the target jump server; the service management server responds to the query request, queries the target service record information and sends the target service record information to the terminal, the service management server includes service record information of at least one jump server, and the service record information of different jump servers is different; the terminal parses the target routing address after receiving the target service record information; the terminal sends the service request to the target jump server according to the target routing address; and the target jump server can send the service request to the target service server to realize access to the target service in the public network. In this way, in the embodiment of the application, when the IPTV private network accesses the public Internet and uses the OTT service, the target routing address is not read in the target service application of the terminal, but is queried in real time through the service management server, so that even if the target routing address is different in different provinces, the OTT APP does not need to be customized and modified, thereby reducing the maintenance difficulty.

[0130] In some embodiments, each service record information further includes a port number associated with each service application in the corresponding jump server, the target jump server includes at least one proxy sub-server, and different proxy sub-servers correspond to different port numbers.

[0131] The second receiving module 503 can specifically include:

[0132] The parsing unit is configured to parse the target service record information to obtain the target routing address and a target port number of the target service application.

[0133] The second sending module 504 can specifically include:

[0134] The sending unit is configured to send the service request to a target proxy sub-server in the target jump server according to the target routing address and the target port number, and the target proxy sub-server is a proxy sub-server corresponding to the target port number in the target jump server.

[0135] In some embodiments, the target service record information can further include a weight coefficient and / or a priority level of each proxy sub-server associated with the target service application.

[0136] The parsing unit can specifically include:

[0137] The parsing sub-unit is configured to parse the target service record information to obtain a routing address and a port number of at least one proxy sub-server associated with the target service application.

[0138] The first determining sub-unit is configured to determine a target proxy sub-server of the target service application according to a weight coefficient and / or a priority level of at least one proxy sub-server of the target service application, the target proxy sub-server being a proxy sub-server with the largest weight coefficient or the highest priority level among the at least one proxy sub-server of the target service application.

[0139] The second determining sub-unit is configured to determine a routing address and a port number of the target proxy sub-server as a target routing address and a target port number.

[0140] In some embodiments, the terminal includes a first network environment, a second network environment and a second network card, the first network environment being a network environment in which a cable television application runs, the second network environment being a network environment in which a public network service application runs, and the second network card being used to access the public network.

[0141] The apparatus 500 can further include:

[0142] The fifth receiving module is configured to receive a target list sent by the service management server, the target list including package names of at least one public network service application.

[0143] The generating module is configured to generate a query result according to the target list during installation of the service application, the query result being used to indicate whether the package names of the service application exist in the target list.

[0144] The first control module is configured to control the service application to run in the first network environment in a case where the query result indicates that the package names of the service application do not exist in the target list.

[0145] The second control module is configured to control the service application to run in the second network environment in a case where the query result indicates that the package names of the service application exist in the target list.

[0146] The first receiving module 501 is specifically configured to receive a service request input by a user through the second network card in a case where the target service application runs in the second network environment, and generate a query request.

[0147] Please refer to Figure 6 FIG. 6 is a structural schematic diagram of an IPTV private network access public network apparatus 600 provided by an embodiment of the present application, which is applied to a service management server. The apparatus 600 can include a third receiving module 601, a query module 602 and a third sending module 603.

[0148] The third receiving module 601 is configured to receive a query request sent by the terminal, the query request being a request generated by the terminal for receiving a service request input by a user, the service request being used to request access to a target service server of a target service application in the public network, and the query request being used to query target service record information of a target jump server corresponding to the target service application, the target service record information including a target routing address of the target jump server;

[0149] The query module 602 is configured to query the target service record information in response to the query request, the service management server including service record information of at least one jump server, and the service record information of different jump servers being different;

[0150] The third sending module 603 is configured to send the target service record information to the terminal, so that the terminal parses the target service record information to obtain the target routing address, and sends the service request to the target jump server according to the target routing address, the target jump server being configured to send the service request to the target service server, so as to realize access to the target service in the public network.

[0151] The IPTV private network access public network device in the embodiment of the application can receive the service request input by the user, generate the query request and send the query request to the service management server, the service request being used to request access to the target service server of the target service application in the public network, and the query request being used to query the target service record information of the target jump server corresponding to the target service application, the target service record information including the target routing address of the target jump server; the service management server queries the target service record information in response to the query request and sends the target service record information to the terminal, the service management server including the service record information of at least one jump server, and the service record information of different jump servers being different; the terminal parses the target routing address after receiving the target service record information; the terminal sends the service request to the target jump server according to the target routing address; and the target jump server can send the service request to the target service server, so as to realize access to the target service in the public network. In this way, in the embodiment of the application, when the IPTV private network accesses the public Internet and uses the OTT service, the target routing address is not read in the target service application of the terminal, but is queried in real time through the service management server, so that even if the target routing address is different in different provinces, the OTT APP does not need to be customized and modified, thereby reducing the maintenance difficulty.

[0152] In some embodiments, the terminal described above can include a first network environment, a second network environment and a second network card, the first network environment being a network environment in which a cable television application runs, the second network environment being a network environment in which a public network service application runs, and the second network card being used to access the public network;

[0153] The device 600 described above can further include:

[0154] The fifth sending module is configured to send a target list to the terminal, the target list including the package name of the at least one public network service application, so that the terminal generates a query result according to the target list in the process of installing the service application, the query result being used to indicate whether the package name of the service application exists in the target list; in the case that the query result indicates that the package name of the service application does not exist in the target list, the service application is controlled to run in the first network environment; in the case that the query result indicates that the package name of the service application exists in the target list, the service application is controlled to run in the second network environment.

[0155] The third receiving module 601 is specifically configured to receive the query request sent by the second network card in the case that the target service application runs in the second network environment.

[0156] Please refer to Figure 7 FIG. 7 is a structural schematic diagram of an IPTV private network access public network device 700 provided by the embodiment of the present application, which is applied to a target jump machine server, and the device 700 can include a fourth receiving module 701 and a fourth sending module 702.

[0157] The fourth receiving module 701 is configured to receive a service request sent by the terminal according to a target routing address, the service request being used to request to access a target service server of a target service application in a public network, the target routing address being a routing address of the target jump machine server, and the target routing address being obtained by the terminal receiving target service record information sent by a service management server and analyzing the target service record information.

[0158] The fourth sending module 702 is configured to send the service request to the target service server, so as to realize the access to the target service in the public network.

[0159] The IPTV private network access public network device provided in the embodiments of the present application, the terminal can receive a service request input by a user, generate a query request and send the query request to a service management server, the service request is used to request to access a target service server of a target service application in a public network, and the query request is used to query target service record information of a target jump server corresponding to the target service application, the target service record information comprising a target routing address of the target jump server; the service management server responds to the query request, queries the target service record information and sends the target service record information to the terminal, the service management server comprising service record information of at least one jump server, and the service record information of different jump servers being different; the terminal parses the target routing address after receiving the target service record information; and the terminal sends the service request to the target jump server according to the target routing address; and the target jump server can send the service request to the target service server to realize access to the target service in the public network. In this way, in the embodiments of the present application, when the IPTV private network accesses the public Internet and uses the OTT service, the target routing address is not read in the target service application of the terminal, but is queried in real time through the service management server, so that even if the target routing address is different in different provinces, the OTT APP does not need to be customized and modified, thereby reducing the maintenance difficulty.

[0160] In some embodiments, the above-mentioned target jump server can comprise at least one proxy sub-server, and different proxy sub-servers correspond to different port numbers.

[0161] The fourth receiving module 701 can be specifically used for the target proxy sub-server in the target jump server to receive the service request sent by the terminal according to the target routing address, the target proxy sub-server being a proxy sub-server corresponding to the target port number in the target jump server, and the target port number being a port number associated with the target service application and obtained by the terminal by parsing the target service record information.

[0162] The fourth sending module 702 can be specifically used for the target proxy sub-server to send the service request to the target service server.

[0163] Figure 8 A hardware structure schematic diagram of an electronic device provided in the embodiments of the present application is shown.

[0164] The electronic device can comprise a processor 801 and a memory 802 having computer program instructions stored therein.

[0165] Specifically, the processor 801 can comprise a central processing unit (CPU), or an application specific integrated circuit (ASIC), or can be configured as one or more integrated circuits implementing the embodiments of the present application.

[0166] The memory 802 can include mass storage for data or instructions. As an example and not by way of limitation, the memory 802 can include a hard disk drive (HDD), a floppy disk drive, flash memory, an optical disc (e.g., a compact disc (CD) or a digital versatile disc (DVD)), a solid-state drive (SSD), a USB drive, or a combination of two or more of these. Where appropriate, the memory 802 can include removable or non-removable (or fixed) media, where appropriate. The memory 802 can be internal or external to the integrated gateway disaster recovery device. In particular embodiments, the memory 802 is non-volatile, solid-state memory.

[0167] In particular embodiments, the memory 802 can include read-only memory (ROM); random access memory (RAM); magnetic disk storage mediums; optical storage mediums; flash memory devices; electrical, optical, or other physically tangible storage

[0168] The processor 801 implements any of the above-mentioned IPTV private network access public network methods by reading and executing computer program instructions stored in the memory 802.

[0169] In one example, the electronic device can further include a communication interface 803 and a bus 810. As shown, the processor 801, the memory 802, and the communication interface 803 are connected through the bus 810 and complete communication among each other. Figure 8

[0170] The communication interface 803 is mainly used to realize the communication between the modules, devices, units and / or equipment in the embodiments of the present application.

[0171] ​Bus 810 includes a hardware, software, or both that couples components of electronic device to each other. As an example and not by way of limitation, bus can include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand (IB) interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or another suitable bus or a combination of two or more of these. Where appropriate, bus 810 can include one or more buses. Although this application describes and shows a particular bus, this application contemplates any suitable bus or interconnect.

[0172] The electronic device can perform the IPTV private network access public network method in the embodiments of the present application based on the currently intercepted spam messages and the user reported messages, thereby realizing the IPTV private network access public network method and device described in combination with Figure 2 and Figures 5 to 7 described above.

[0173] In addition, in combination with the IPTV private network access public network method in the above embodiments, the embodiments of the present application can provide a computer readable storage medium to realize. The computer readable storage medium has computer program instructions stored thereon; the computer program instructions are executed by a processor to realize any one of the IPTV private network access public network methods in the above embodiments.

[0174] In combination with the IPTV private network access public network method in the above embodiments, the embodiments of the present application can provide a computer program product, instructions in the computer program product are executed by a processor of an electronic device, so that the electronic device executes the IPTV private network access public network method in any one of the above.

[0175] It needs to be clear that the present application is not limited to the specific configurations and processes described above and shown in the drawings. For the sake of brevity, detailed descriptions of well-known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between steps, after understanding the spirit of the present application.

[0176] The functions noted in the description of the structural block diagrams above can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, and the like. When implemented in software, the elements of the present application are program or code segments that are used to perform the required tasks. The program or code segments can be stored in a machine-readable medium, or transmitted through a data signal carried in a carrier wave over a transmission medium or communication link. A "machine-readable medium" includes any medium that can store or transport information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and the like. The code segments can be downloaded via computer networks such as the Internet, intranets, and the like.

[0177] It is also important to note that the examples mentioned in the present application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the steps mentioned above, that is, the steps can be performed in the order mentioned in the examples, or in an order different from the examples, or several steps can be performed simultaneously.

[0178] The computer program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other processing device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other processing device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. These computer program instructions can also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other processing device to operate in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function / act specified in the flowchart and / or block diagram block or blocks. The computer program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other processing device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other processing device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. These computer program instructions can also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other processing device to operate in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function / act specified in the flowchart and / or block diagram block or blocks.

[0179] The above merely describes a specific implementation of the present application. Those skilled in the art can clearly understand the specific working processes of the system, modules and units described above for the convenience and brevity of description, and can refer to the corresponding processes in the foregoing method embodiments, which will not be described herein again. It should be understood that the protection scope of the present application is not limited to this, and any person skilled in the art can easily think of various equivalent modifications or replacements within the technical range disclosed by the present application, and these modifications or replacements should be covered within the protection scope of the present application.

Claims

1. A method for IPTV private network to access public network, characterized in that, The method is applied to a terminal in an IPTV private network, and comprises the following steps: receiving a service request input by a user, generating a query request, the service request being used to request access to a target service server of a target service application in a public network, the query request being used to query target service record information of a target jump server corresponding to the target service application, the target service record information comprising a target routing address of the target jump server; sending the query request to a service management server, so that the service management server queries the target service record information in response to the query request, the service management server comprising service record information of at least one jump server, the service record information of different jump servers being different; the service management server sends the target service record information to the terminal; receiving the target service record information sent by the service management server, and parsing the target service record information to obtain the target routing address; sending the service request to the target jump server according to the target routing address, and sending the service request to the target service server by the target jump server, so as to realize access to the target service in the public network.

2. The method of claim 1, wherein, Each of the service record information further comprises a port number associated with each service application in the corresponding jump server, the target jump server comprising at least one proxy sub-server, different proxy sub-servers corresponding to different port numbers; the parsing of the target service record information to obtain the target routing address comprises: parsing the target service record information to obtain the target routing address and a target port number of the target service application; the sending of the service request to the target jump server according to the target routing address comprises: sending the service request to a target proxy sub-server in the target jump server according to the target routing address and the target port number, the target proxy sub-server being a proxy sub-server corresponding to the target port number in the target jump server.

3. The method of claim 2, wherein, The target service record information further comprises a weight coefficient and / or a priority level of each of the proxy sub-servers associated with the target service application; the parsing of the target service record information to obtain the target routing address and the target port number of the target service application comprises: parsing the target service record information to obtain routing addresses and port numbers of at least one of the proxy sub-servers associated with the target service application; determining the target proxy sub-server of the target service application according to the weight coefficient and / or the priority level of at least one of the proxy sub-servers of the target service application, the target proxy sub-server being a proxy sub-server with the largest weight coefficient or the highest priority level among the at least one of the proxy sub-servers of the target service application; determining the routing address and the port number of the target proxy sub-server as the target routing address and the target port number.

4. The method of claim 1, wherein, The terminal comprises a first network environment, a second network environment and a second network card, the first network environment is a network environment for cable television application, the second network environment is a network environment for public network service application, and the second network card is used for accessing the public network; Before the receiving of the user input service request and the generation of the query request, further comprising: Receiving the target list sent by the service management server, the target list comprising at least one package name of the public network service application; In the process of installing the service application, generating the query result according to the target list, the query result being used for indicating whether the package name of the service application exists in the target list; In the case that the query result indicates that the package name of the service application does not exist in the target list, controlling the service application to run in the first network environment; In the case that the query result indicates that the package name of the service application exists in the target list, controlling the service application to run in the second network environment; The receiving of the user input service request and the generation of the query request, comprising: In the case that the target service application runs in the second network environment, the second network card receives the user input service request and generates the query request.

5. A method for IPTV private network to access public network, characterized in that, Applied to a service management server, the method comprises: Receiving the query request sent by the terminal, the query request being a request generated by the terminal receiving the user input service request, the service request being used for requesting to access the target service server of the target service application in the public network, and the query request being used for querying the target service record information of the target jumpboard server corresponding to the target service application, the target service record information comprising a target routing address of the target jumpboard server; In response to the query request, the target service record information is queried, the service management server comprising service record information of at least one jumpboard server, and the service record information of different jumpboard servers being different; The target service record information is sent to the terminal, so that the terminal analyzes the target service record information and obtains the target routing address; and the terminal sends the service request to the target jumpboard server according to the target routing address, so that the target jumpboard server sends the service request to the target service server, thereby realizing the access of the target service in the public network.

6. The method of claim 5, wherein, The terminal comprises a first network environment, a second network environment and a second network card, the first network environment is a network environment for cable television application, the second network environment is a network environment for public network service application, and the second network card is used for accessing the public network; Before the receiving of the query request sent by the terminal, further comprising: The target list is sent to the terminal, and the target list includes at least one package name of the public network service application, so that the terminal generates a query result according to the target list during installation of the service application, and the query result is used to indicate whether the package name of the service application exists in the target list; in the case that the query result indicates that the package name of the service application does not exist in the target list, the service application is controlled to run in the first network environment; in the case that the query result indicates that the package name of the service application exists in the target list, the service application is controlled to run in the second network environment; The query request sent by the receiving terminal includes: In the case that the target service application runs in the second network environment, the query request sent by the second network card is received.

7. A method for IPTV private network to access public network, characterized in that, The method is applied to a target jump machine server, and the method includes: The terminal receives a service request sent by a target routing address, the service request is used to request to access a target service server of a target service application in the public network, the target routing address is a routing address of the target jump machine server, and the target routing address is obtained by the terminal by receiving target service record information sent by a terminal service management server and analyzing the target service record information; The service request is sent to the target service server to realize access to the target service in the public network.

8. The method of claim 7, wherein, The target jump machine server includes at least one proxy sub-server, and different proxy sub-servers correspond to different port numbers. The terminal receives a service request sent by a target routing address, the service request is used to request to access a target service server of a target service application in the public network, the target routing address is a routing address of the target jump machine server, and the target routing address is obtained by the terminal by receiving target service record information sent by a terminal service management server and analyzing the target service record information; The target proxy sub-server in the target jump machine server receives a service request sent by a terminal according to a target routing address, the target proxy sub-server is a proxy sub-server corresponding to a target port number in the target jump machine server, the target port number is a port number associated with the target service application, and the target port number is obtained by the terminal by analyzing the target service record information; The target proxy sub-server sends the service request to the target service server. The device is applied to a terminal in the IPTV private network, and the device includes:

9. An apparatus for accessing public network by IPTV private network, characterized in that, A first receiving module is configured to receive a service request input by a user, generate a query request, the service request is used to request to access a target service server of a target service application in the public network, and the query request is used to query target service record information of a target jump machine server corresponding to the target service application, the target service record information includes a target routing address of the target jump machine server; A first sending module is configured to send the query request to a service management server, so that the service management server queries the target service record information in response to the query request, the service management server includes service record information of at least one jump machine server, and the service record information of different jump machine servers is different; and the service management server sends the target service record information to the terminal. ​ The second receiving module is configured to receive the target service record information sent by the service management server and parse the target service record information to obtain the target routing address. The second sending module is configured to send the service request to the target jump server according to the target routing address, and the target jump server is configured to send the service request to the target service server to realize access to the target service in the public network.

10. An apparatus for accessing public network by IPTV private network, characterized in that, The device applied to a service management server comprises: The third receiving module is configured to receive a query request sent by a terminal, the query request being a request generated by the terminal receiving a service request input by a user, the service request being used to request access to a target service server of a target service application in a public network, and the query request being used to query target service record information of a target jump server corresponding to the target service application, the target service record information comprising a target routing address of the target jump server. The query module is configured to query the target service record information in response to the query request, the service management server comprising service record information of at least one jump server, the service record information of different jump servers being different. The third sending module is configured to send the target service record information to the terminal, so that the terminal parses the target service record information to obtain the target routing address, and the terminal sends the service request to the target jump server according to the target routing address, and the target jump server is configured to send the service request to the target service server to realize access to the target service in the public network.

11. An apparatus for accessing a public network by an IPTV private network, characterized in that, The device applied to a target jump server comprises: The fourth receiving module is configured to receive a service request sent by a terminal according to a target routing address, the service request being used to request access to a target service server of a target service application in a public network, and the target routing address being a routing address of the target jump server, the target routing address being obtained by the terminal receiving target service record information sent by a service management server and parsing the target service record information. The fourth sending module is configured to send the service request to the target service server to realize access to the target service in the public network.

12. An electronic device, characterized in that: The device comprises a processor and a memory storing computer program instructions, and the processor implements the IPTV private network access public network method according to any one of claims 1-8 when executing the computer program instructions.

13. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer program instructions, and the computer program instructions are executed by a processor to implement the IPTV private network access public network method according to any one of claims 1-8.

14. A computer program product, characterised in that, The instructions in the computer program product are executed by a processor of an electronic device, so that the electronic device executes the IPTV private network access public network method according to any one of claims 1-8.

Citation Information

Patent Citations

  • Method and device for accessing public network resources under IPTV private network

    CN114024935A

  • Rule enforcement based on network address requests

    US10560480B1