CN114024935B - Method and device for accessing public network resources under IPTV private network - Google Patents

Method and device for accessing public network resources under IPTV private network Download PDF

Info

Publication number
CN114024935B
CN114024935B CN202111408149.XA CN202111408149A CN114024935B CN 114024935 B CN114024935 B CN 114024935B CN 202111408149 A CN202111408149 A CN 202111408149A CN 114024935 B CN114024935 B CN 114024935B
Authority
CN
China
Prior art keywords
address
character string
url address
public network
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111408149.XA
Other languages
Chinese (zh)
Other versions
CN114024935A (en
Inventor
陈媛
陈润华
王刚
崔伟
高保庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianyi Digital Life Technology Co Ltd
Original Assignee
Tianyi Digital Life Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianyi Digital Life Technology Co Ltd filed Critical Tianyi Digital Life Technology Co Ltd
Priority to CN202111408149.XA priority Critical patent/CN114024935B/en
Publication of CN114024935A publication Critical patent/CN114024935A/en
Application granted granted Critical
Publication of CN114024935B publication Critical patent/CN114024935B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2596Translation of addresses of the same type other than IP, e.g. translation from MAC to MAC addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3015Name registration, generation or assignment
    • H04L61/3025Domain name generation or assignment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/14Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using a plurality of keys or algorithms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4108Peripherals receiving signals from specially adapted client devices characterised by an identification number or address, e.g. local network address
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6402Address allocation for clients

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Power Engineering (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a method and a device for accessing public network resources under an IPTV private network, wherein the method comprises the following steps: responding to the operation of selecting a target service under a target application on the terminal by a user, and acquiring a proxy gateway address and a URL address corresponding to the terminal service from the target application, wherein the target application is an application needing to access public network playing resources; performing first conversion processing on the URL address to obtain a processed character string; combining the proxy gateway address and the processed character string to serve as a service request address; and calling a player in the terminal, sending the service request address to the proxy gateway so that the proxy gateway can carry out reverse conversion of the first conversion processing on the character string in the service request address, acquiring public network playing resources corresponding to the URL address after the reverse conversion, and returning to the player for playing. Therefore, the application can realize that public network playing resources are obtained by accessing the public Internet under the IPTV private network for playing.

Description

Method and device for accessing public network resources under IPTV private network
Technical Field
The application relates to the technical field of Internet, in particular to a method and a device for accessing public network resources under an IPTV private network.
Background
The 21 st century is an informationized age, and with the rapid development of internet technology, IPTV (Internet Protocol Television, interactive internet protocol television) is also continuously developed.
Among them, IPTV is an internet technology that integrates technologies such as the internet, multimedia, and communication by using a broadband network, and provides various interactive services including digital tv to home users, so that it is becoming more and more widely used, and more households have selected IPTV technology. The IPTV technology is used as a private network and is completely isolated from the public internet, but more and more broadcasting services selected by families need to use the public internet, and more broadcasting services such as education, entertainment and the like have higher requirements on the IPTV. Therefore, how to access the public internet to play the playing resource under the IPTV private network becomes a market hotspot, and many concerns are received.
In view of the foregoing, there is a need for a method for playing resources in public internet under an IPTV private network, which is used for accessing the public internet to obtain public network playing resources for playing under the IPTV private network.
Disclosure of Invention
In view of this, the present application provides a method and apparatus for accessing public network resources under an IPTV private network, which are used for implementing that the public internet can be accessed to obtain public network playing resources for playing under the IPTV private network.
In order to achieve the above object, the following solutions have been proposed:
a method for accessing public network resources under IPTV private network is applied to terminals in the IPTV network, and comprises the following steps:
responding to the operation of selecting a target service under a target application on the terminal by a user, and acquiring a proxy gateway address and a uniform resource locator URL address corresponding to the terminal service from the target application, wherein the target application is an application needing to access public network playing resources;
performing first conversion processing on the URL address to obtain a processed character string;
combining the proxy gateway address and the processed character string to serve as a service request address, wherein the service request address points to a proxy gateway;
and calling a player in the terminal, sending the service request address to the proxy gateway so that the proxy gateway can carry out reverse conversion of the first conversion processing on the character string in the service request address, acquiring a public network playing resource corresponding to the URL address after the reverse conversion, and returning to the player for playing.
Optionally, performing a first conversion process on the URL address to obtain a processed string, including:
performing first conversion processing on the domain name in the URL address to obtain a first character string;
and splicing a second character string except the domain name in the URL address after the first character string to obtain a processed character string.
Optionally, performing a first conversion process on the URL address to obtain a processed string, including:
and performing first conversion processing on the whole URL address to obtain a processed character string.
Optionally, the first conversion process includes: encryption processing;
the encryption processing mode comprises any one of the following steps: MD5 encryption algorithm, triple DES encryption algorithm, IDEA encryption algorithm, skip encryption algorithm, RC4 encryption algorithm, RC5 encryption algorithm.
A method for accessing public network resources under IPTV private network is applied to proxy gateway and comprises the following steps:
receiving a service request address, wherein the service request address comprises a proxy gateway address and a processed character string, and the processed character string is obtained by performing first conversion processing on a URL address by a terminal;
performing second conversion processing on the processed character string, and acquiring the URL address after the second conversion processing, wherein the second conversion processing is inverse conversion of the first conversion processing;
the URL address is sent to a service server in the public internet so that the service server can search public network playing resources corresponding to the URL address;
receiving the public network playing resources returned by the service server;
and transmitting the public network playing resources back to a player for the player to play the public network playing resources, wherein the player is a player for sending a service request address.
Optionally, the processed character string includes a first character string and a second character string, where the first character string is the character string after the first conversion, and the second character string is the character string not subjected to the conversion processing;
performing a second conversion process on the processed character string, and obtaining the URL address after the second conversion process, including:
performing second conversion processing on the first character string to obtain the domain name of the URL address;
and splicing the second character string after the domain name to obtain the URL address.
Optionally, the processed character string includes a third character string after the URL address is integrally subjected to the first conversion process;
performing a second conversion process on the processed character string, and obtaining the URL address after the second conversion process, including:
and performing second conversion processing on the third character string to obtain the URL address.
Optionally, the processed character string includes a third character string after the URL address is integrally subjected to the first conversion process;
performing a second conversion process on the processed character string, and obtaining the URL address after the second conversion process, including:
and performing second conversion processing on the third character string to obtain the URL address.
Optionally, the first conversion process is an encryption process, and the second conversion process is a decryption process;
the decryption processing mode comprises any one of the following steps: MD5 decryption algorithm, decryption Triple DES decryption algorithm, decryption IDEA decryption algorithm, skip jack decryption algorithm, RC4 decryption algorithm, RC5 decryption algorithm.
An apparatus for accessing public network resources under an IPTV private network, applied to a terminal in the IPTV network, the apparatus comprising:
the response unit is used for responding to the operation of selecting a target service under a target application on the terminal by a user, acquiring a proxy gateway address and a Uniform Resource Locator (URL) address corresponding to the terminal service from the target application, wherein the target application is an application needing to access public network playing resources;
the processing unit is used for performing first conversion processing on the URL address to obtain a processed character string;
the merging unit is used for merging the proxy gateway address and the processed character string to be used as a service request address, wherein the service request address points to the proxy gateway;
and the calling unit is used for calling a player in the terminal, sending the service request address to the proxy gateway so that the proxy gateway can carry out reverse conversion of the first conversion processing on the character string in the service request address, and acquiring the public network playing resource corresponding to the URL address after the reverse conversion, and returning to the player for playing.
An apparatus for accessing public network resources under an IPTV private network, applied to a proxy gateway, the apparatus comprising:
the address receiving unit is used for receiving a service request address, wherein the service request address comprises a proxy gateway address and a processed character string, and the processed character string is obtained by performing first conversion processing on the URL address by the terminal;
a character string conversion unit, configured to perform a second conversion process on the processed character string, and obtain the URL address after the second conversion process, where the second conversion process is an inverse conversion of the first conversion process;
the address sending unit is used for sending the URL address to a service server in the public internet so that the service server can search public network playing resources corresponding to the URL address;
the resource receiving unit is used for receiving the public network playing resources returned by the service server;
and the resource return unit is used for returning the public network playing resource to a player so that the player can play the public network playing resource, and the player is a player for sending a service request address.
As can be seen from the above technical solution, in the method for accessing public network resources under an IPTV private network provided by the embodiments of the present application, in response to an operation of selecting, by a user, a target service under a target application on the terminal, an agent gateway address and a URL address corresponding to the terminal service may be obtained from the target application, where the target application is an application that needs to access public network playing resources; then, the URL address can be subjected to first conversion processing to obtain a processed character string; combining the proxy gateway address and the processed character string to serve as a service request address, wherein the service request address points to a proxy gateway; in this way, the service request address required to be sent to the proxy gateway can be obtained. And then, calling a player in the terminal, wherein the player can obtain the proxy gateway address from the service request, and can send the service request address to the proxy gateway so that the proxy gateway can carry out the reverse conversion of the first conversion processing on the character string in the service request address, acquire the public network playing resource corresponding to the URL address after the reverse conversion, and return to the player for playing. Therefore, the application can help the player on the terminal to acquire the public network playing resource corresponding to the service request returned by the proxy gateway and play the public network playing resource. Obviously, the public network playing resource can be obtained by accessing the public internet under the IPTV private network and played.
Furthermore, the proxy service address and the URL address can be obtained from the target application, the IPTV operator is not required to carry out routing configuration, DNS configuration or network transformation on the IPTV private network, the set top box is not required to carry out any configuration change and setting, and the like, so that the security risk of various configurations and unpredictable influence caused by improper operation are effectively reduced, the threshold of the application for accessing the IPTV private network is greatly reduced, and the realization cost is low. In addition, the method does not need additional operation or configuration by a user, is simple and easy to implement, and is convenient to popularize and implement.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a system architecture diagram for implementing access to public network resources under an IPTV private network according to an embodiment of the present application;
fig. 2 is an optional signaling flow of a method for accessing public network resources under an IPTV private network according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a device for accessing public network resources under an IPTV private network according to the embodiment of the present application;
fig. 4 is a schematic structural diagram of another device for accessing public network resources under an IPTV private network according to the embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The application is described next in connection with fig. 1 and 2.
Specifically, fig. 1 is an optional system architecture for implementing access to public network resources under an IPTV private network according to an embodiment of the present application, where, as shown in fig. 1, the system architecture may include: a terminal 10, a proxy gateway 20, a service server 30. The terminal 10 is a terminal in an IPTV network, the proxy gateway 20 is a server capable of performing data interaction with the terminal 10 and the service server 30, and the service server is a server in the public internet.
The terminal 10 may be a set-top box, and is capable of supporting playing of public network playing resources returned by the proxy gateway. Further, through the terminal 10, the user can realize various operations such as watching video, listening to music, and surfing lessons at the TV end.
The proxy gateway 20 and the service server 30 may be composed of a plurality of servers, where the proxy gateway 20 may be a server provided by a target application manufacturer or a server provided by an IPTV private network manufacturer.
The proxy gateway 20 can receive the playing resource matched with the target service selected by the user and sent by the service server 30, and send the playing resource to the terminal 10, so that the terminal 10 plays the playing resource.
Based on this, the present application can help the terminal 10 under the IPTV private network play the purpose of the public network resources.
Based on the system architecture shown in fig. 1, fig. 2 shows an optional signaling flow of a method for accessing public network resources under an IPTV private network according to an embodiment of the present application.
Referring to fig. 2, the flow is specifically as follows:
step S110, the terminal 10 responds to the operation of selecting the target service under the target application on the terminal 10 by the user, and obtains the proxy gateway address and the URL address corresponding to the terminal service from the target application.
Specifically, the user may select the target service under the target application in various manners, for example, the user selects through infrared remote control, and the user may also select through a key on the terminal 10.
The target application is an application that needs to access a public network playing resource, and when the application app that needs to access the public network playing resource and is installed on the terminal 10 is manufactured, a manufacturer can write a proxy gateway address corresponding to the application app in a code of a product, and can write a URL address corresponding to a product service in a code corresponding to the service. When the installed application app updates the service, the corresponding URL address may be written in the updated service code at the same time.
Different applications in the same terminal 10 may correspond to different proxy gateway addresses, or may correspond to the same proxy gateway address, and the same application in the terminal 10 may correspond to only the same proxy gateway address.
The URL addresses corresponding to different services in the same application app can be different, and the domain names of the URL addresses in the same application app can be the same or different.
Based on the above, when the user selects the target service under the target application, the proxy gateway address and the URL address corresponding to the target service can be obtained.
In step S120, the terminal 10 performs a first conversion process on the URL address to obtain a processed character string.
Specifically, the present application may perform the first conversion process on the URL address in various manners, and may convert the URL address into binary or decimal.
After the first conversion process, the character string does not contain the domain name of the unprocessed URL address.
In step S130, the terminal 10 combines the proxy gateway address and the processed character string to serve as a service request address.
Specifically, the service request address points to a proxy gateway.
The processed character strings can be spliced at the tail end of the proxy gateway address for combination. After the merging is completed, only one domain name in the obtained service request address, namely the domain name with the proxy gateway exists.
Step S140, the terminal 10 invokes the player and sends the service request address.
Specifically, the player is an application in the terminal 10, and the terminal 10 sends the service request address to the proxy gateway 20 through its application, i.e., the player.
Wherein the service request address includes the proxy gateway address and the processed character string, and the processed character string can be obtained after the proxy gateway 20 receives the service request address.
Step S150, the proxy gateway 20 performs a second conversion process on the processed character string, and obtains the URL address after the second conversion process.
Specifically, the second conversion process is an inverse process of the first conversion process. Therefore, the proxy gateway 20 performs the second conversion processing on the processed character string, and then obtains the URL address.
Step S160, the proxy gateway 20 sends the URL address.
Specifically, the proxy gateway 20 sends the URL address to the service server 30, and the service server 30 corresponds to the target service.
Step S170, the service server 30 sends the public network playing resource corresponding to the URL address.
Specifically, after the service server 30 receives the URL address, it may search for the public network play resource corresponding to the URL address. After the service server 30 obtains the public network playing resource, the public network playing resource may be sent to the proxy gateway 20.
The public network playing resource corresponds to the URL address, and the URL address corresponds to the target service, so the target service corresponds to the public network playing resource.
Step S180, the proxy gateway 20 sends the public network playing resource.
Specifically, after receiving the public network play resource, the proxy gateway 20 may send the public network play resource to the terminal 10.
Step S190, the terminal 10 plays the public network playing resource.
Specifically, after receiving the public network playing resource, the player in the terminal 10 may play the public network playing resource.
As can be seen from the above technical solution, in the method for accessing public network resources under an IPTV private network provided by the embodiments of the present application, when a player in a terminal 10 has a requirement for playing public network playing resources, the public network playing resources corresponding to a target service may be obtained, and the public network playing resources sent by a proxy gateway 20 may be played. Therefore, the application can realize that public network playing resources are obtained and played by accessing the public Internet under the IPTV private network.
Furthermore, the proxy service address and the URL address can be obtained from the target application, the IPTV operator is not required to carry out routing configuration, DNS configuration or network transformation on the IPTV private network, the set top box is not required to carry out any configuration change and setting, and the like, so that the security risk of various configurations and unpredictable influence caused by improper operation are effectively reduced, the threshold of the application for accessing the IPTV private network is greatly reduced, and the realization cost is low. In addition, the method does not need additional operation or configuration by a user, is simple and easy to implement, and is convenient to popularize and implement.
Next, an embodiment of the present application will be further described with respect to the terminal 10, which is a method for accessing public network resources under an IPTV private network according to the present application.
The terminal 10 has been described above as being capable of performing a first conversion process on the URL address to obtain a processed character string. Further, the process of performing the first conversion processing on the URL address by the terminal 10 to obtain the processed character string will be described in detail below.
Specifically, in some embodiments of the present application, the terminal 10 may perform a first conversion process on the URL address as a whole, to obtain a processed character string.
Wherein the URL address is entirely the entire URL address, i.e., the terminal 10 converts the entire URL address into a character string.
Further, in some embodiments of the present application, the terminal 10 may perform a first conversion process on the domain name in the URL address to obtain a first string, and then splice a second string in the URL address except for the domain name at the end of the first string to obtain a processed string.
Specifically, the URL address may include a domain name and an access path, and the terminal 10 may perform a first conversion process on the domain name to obtain a first string corresponding to the domain name. And then, splicing the first character string and the access path to obtain the processed character string.
The above technical solution introduces two specific contents that can perform the first conversion process, for example, the first conversion process can be performed on the entire URL address, or the first conversion process can be performed only on the domain name of the URL address, so that the corresponding processing mode can be selected according to the length of the URL address. For example, when the length of the URL address exceeds a certain threshold, the first conversion process is performed only on the domain name, so as to reduce the time for performing the first conversion process on the URL address. Therefore, the time for accessing the public network resources under the IPTV private network can be reduced, and the public Internet can be better accessed to acquire the public network playing resources for playing.
Next, a processing mode of the first conversion processing will be described in detail.
In some embodiments of the present application, the first conversion process may be an encryption process.
Specifically, the encryption processing manner may include any one of the following: MD5 encryption algorithm, triple DES encryption algorithm, IDEA encryption algorithm, skip encryption algorithm, RC4 encryption algorithm, RC5 encryption algorithm. For example, the URL address may be processed using an MD5 encryption algorithm, to obtain an MD5 value corresponding to the URL address, as a processed string.
Further, the terminal 10 and the proxy gateway 20 may agree on a public key and a private key, and perform a first conversion process on the URL address, thereby obtaining a processed string.
As can be seen from the above technical solutions, the present embodiment provides a specific processing manner of the first conversion process, specifically, encryption processing may be performed, where encryption algorithms have multiple types. After the encryption processing, the character strings with different lengths can be converted into character strings with uniform lengths, so that the terminal 10 can be spliced conveniently, and the proxy gateway 20 can recognize the processed character strings conveniently, so that the proxy gateway 20 can better send the URL address to the service server 30.
Next, an embodiment of the present application will be further described with respect to a proxy gateway 20, which is a method for accessing public network resources under an IPTV private network according to the present application.
The proxy gateway 20 has been described above as being capable of performing the second conversion processing on the processed character string and acquiring the URL address after the second conversion processing. Further, the process of the proxy gateway 20 performing the second conversion processing on the processed character string and acquiring the URL address after the second conversion processing will be described in detail below.
In some embodiments of the present application, the processed string may include a first string and a second string, where the first string is the string after the first conversion, and the second string is the string that is not converted.
Specifically, when the terminal 10 performs the first conversion process only on the domain name in the URL address, the domain name after the first conversion process is used as the first character string, and the portion of the URL address other than the domain name is used as the second character string. Based on this, the terminal 10 splices the first character string and the second character string to obtain a processed character string.
On this basis, the processed character string may include a first character string and a second character string, the proxy gateway 20 performs a second conversion process on the first character string to obtain a domain name of the URL address, and splices the end of the domain name into the second character string, so that the URL address may be obtained.
The second conversion process is the inverse process of the first conversion process, and the first conversion process and the second conversion process are the processing modes agreed by the terminal 10 and the proxy gateway 20.
In some embodiments of the present application, the processed string may be a third string after the URL address is integrally converted. On this basis, the proxy gateway 20 may perform a second conversion process on the third string to obtain the URL address.
Specifically, when the terminal 10 performs the first conversion process on the entire URL address, the obtained processed character string is the third character string. On the basis, the second conversion processing can be performed on the third character string, and the URL address can be obtained.
The above technical solution introduces a processing mode capable of selecting different second conversion processing according to the difference of the processed character strings. Therefore, the time for accessing the public network resources under the IPTV private network can be reduced, and the public Internet can be better accessed to acquire the public network playing resources for playing.
Next, a processing mode of the second conversion processing will be described in detail.
In some embodiments of the present application, the first conversion process may be an encryption process, and correspondingly, the second conversion process may be a decryption process.
The decryption processing mode comprises any one of the following steps: MD5 decryption algorithm, decryption Triple DES decryption algorithm, decryption IDEA decryption algorithm, skip jack decryption algorithm, RC4 decryption algorithm, RC5 decryption algorithm.
For example, if the first conversion process is an MD5 encryption algorithm, the second conversion process may be an MD5 decryption algorithm as an inverse of the first conversion process. For example, if the terminal 10 encrypts the URL address, the processed character string is obtained as the MD5 value. On this basis, the proxy gateway 20 decrypts the MD5 value by using an MD5 decryption algorithm to obtain the URL address.
As can be seen from the above technical solutions, the present embodiment provides a specific processing manner of the second conversion process, where the second conversion process may be a decryption process based on the first conversion process being an encryption process. The decryption algorithm may be various, and corresponds to the first conversion process. After decryption processing, the encrypted character string is converted into the corresponding URL address and sent to the service server 30.
Next, the present application will be described in detail by way of examples in specific scenarios.
The explanation will be given taking as an example that the first conversion process is an MD5 encryption algorithm and the second conversion process is an MD5 decryption algorithm.
If the terminal 10 obtains that the proxy gateway service address is http://192.168.1.1 and/or the URL address is http:// abc.bd.cn/e/f.mp4.
Next, the present application will be described by taking an example of encrypting a domain name in a URL address.
At this time, the domain name in the URL address may be encrypted by using an MD5 encryption algorithm, that is, http:// 192.168.1.1/may be encrypted, so as to obtain an MD5 value corresponding to the domain name may be 80F3A86511B050CB344B1C8CD235A57B. The processed string may be found to be 80F3a86511B050CB344B1C8CD235a57B/e/f.mp4.
The processed character string can be spliced with the proxy gateway service address to obtain the service request address which is http://192.18/80F3A86511B050CB344B1C8CD235A57B/e/f.mp4.
After the proxy gateway 20 obtains the service request address, the processed character string 80F3a86511B050CB344B1C8CD235a57B/e/f.mp4 may be obtained.
On this basis, the proxy gateway 20 may perform a second conversion process on the MD5 value to obtain http:// abc.bd.cn/and splice with e/f.mp4, so as to obtain the URL address as http:// abc.bd.cn/e/f.mp4.
Next, the present application will be described by taking an example of encrypting the entire URL address.
At this time, the entire URL address may be encrypted by using an MD5 encryption algorithm, and an MD5 value of 80F3a86511B050CB355B2C9CD235a57B124 may be obtained. The processed string may be obtained as 80F3a86511B050CB355B2C9CD235a57B124.
The processed character string can be spliced with the proxy gateway service address to obtain the service request address of http://192.168.1.1/80F3A86511B050CB355B2C9CD235A57B124.
After the proxy gateway 20 obtains the service request address, the processed string 80F3a86511B050CB355B2C9CD235a57B124 may be obtained.
On this basis, the proxy gateway 20 may perform a second conversion process on the MD5 value, so as to obtain the URL address as http:// abc.
The following describes a device for accessing a public network resource under an IPTV private network provided by the embodiment of the present application, where the device for accessing a public network resource under an IPTV private network described below and the method for accessing a public network resource under an IPTV private network described above may be referred to correspondingly with each other.
First, referring to fig. 3, an apparatus for accessing a public network resource under an IPTV private network applied to a terminal 10 in an IPTV network will be described, and as shown in fig. 3, the apparatus for accessing a public network resource under an IPTV private network may include:
a response unit 100, configured to respond to an operation of selecting, by a user, a target service under a target application on the terminal, and obtain a proxy gateway address and a URL address corresponding to the terminal service from the target application, where the target application is an application that needs to access a public network playing resource;
a processing unit 110, configured to perform a first conversion process on the URL address, to obtain a processed character string;
a merging unit 120, configured to merge the proxy gateway address and the processed character string, as a service request address, where the service request address points to a proxy gateway;
and the calling unit 130 is configured to call a player in the terminal, send the service request address to the proxy gateway, so that the proxy gateway performs inverse conversion of the first conversion processing on the character string in the service request address, obtain a public network playing resource corresponding to the URL address after the inverse conversion, and return to the player for playing.
Further, the processing unit may include:
the domain name processing unit is used for performing first conversion processing on the domain name in the URL address to obtain a first character string;
and the character string splicing unit is used for splicing the second character string except the domain name in the URL address after the first character string to obtain the processed character string.
Further, the processing unit may also include:
and the whole processing unit is used for performing first conversion processing on the whole URL address to obtain a processed character string.
Next, referring to fig. 4, an apparatus for accessing a public network resource under an IPTV private network applied to a proxy gateway 20 will be described, and as shown in fig. 4, the apparatus for accessing a public network resource under an IPTV private network may include:
an address receiving unit 200, configured to receive a service request address, where the service request address includes a proxy gateway address and a processed string, where the processed string is obtained by performing a first conversion process on a URL address by a terminal;
a character string conversion unit 210, configured to perform a second conversion process on the processed character string, and obtain the URL address after the second conversion process, where the second conversion process is an inverse conversion of the first conversion process;
an address sending unit 220, configured to send the URL address to a service server in the public internet, so that the service server searches a public network playing resource corresponding to the URL address;
a resource receiving unit 230, configured to receive the public network play resource returned by the service server;
the resource feedback unit 240 is configured to return the public network playing resource to a player, so that the player plays the public network playing resource, where the player is a player that sends a service request address.
Further, the processed character string includes a first character string and a second character string, the first character string is the character string after the first conversion, and the second character string is the character string without the conversion. At this time, the character string conversion unit may include:
the domain name obtaining unit is used for carrying out second conversion processing on the first character string to obtain the domain name of the URL address;
and the address acquisition unit is used for splicing the second character string after the domain name to obtain the URL address.
Further, the processed character string comprises a third character string after the whole URL address is subjected to first conversion processing. At this time, the character string conversion unit may include:
and the address obtaining unit is used for carrying out second conversion processing on the third character string to obtain the URL address.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Various embodiments of the present application may be combined with each other. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. The method for accessing public network resources under the IPTV private network is characterized by being applied to a terminal in the IPTV network, and comprises the following steps:
responding to the operation of selecting a target service under a target application on the terminal by a user, acquiring a proxy gateway address and a uniform resource locator URL address corresponding to the terminal service from the target application, wherein the target application is an application needing to access public network playing resources, and comprises the proxy gateway address and the URL address corresponding to the service corresponding to each service;
performing first conversion processing on the URL address to obtain a processed character string;
combining the proxy gateway address and the processed character string to serve as a service request address, wherein the service request address points to a proxy gateway;
and calling a player in the terminal, sending the service request address to the proxy gateway so that the proxy gateway can carry out reverse conversion of the first conversion processing on the character string in the service request address, acquiring a public network playing resource corresponding to the URL address after the reverse conversion, and returning to the player for playing.
2. The method of claim 1, wherein performing a first conversion process on the URL address to obtain a processed string comprises:
performing first conversion processing on the domain name in the URL address to obtain a first character string;
and splicing a second character string except the domain name in the URL address after the first character string to obtain a processed character string.
3. The method of claim 1, wherein performing a first conversion process on the URL address to obtain a processed string comprises:
and performing first conversion processing on the whole URL address to obtain a processed character string.
4. A method according to any one of claims 1-3, characterized in that the first conversion process comprises: encryption processing;
the encryption processing mode comprises any one of the following steps: MD5 encryption algorithm, triple DES encryption algorithm, IDEA encryption algorithm, skip encryption algorithm, RC4 encryption algorithm, RC5 encryption algorithm.
5. The method for accessing public network resources under the IPTV private network is characterized by being applied to a proxy gateway and comprising the following steps:
receiving a service request address, wherein the service request address comprises a proxy gateway address and a processed character string, the processed character string is obtained by performing first conversion processing on a URL address by a terminal, the URL address is obtained from a target application in the terminal, the target application is an application needing to access public network playing resources, and the target application comprises the proxy gateway address and the URL address corresponding to the service corresponding to each service;
performing second conversion processing on the processed character string, and acquiring the URL address after the second conversion processing, wherein the second conversion processing is inverse conversion of the first conversion processing;
the URL address is sent to a service server in the public internet so that the service server can search public network playing resources corresponding to the URL address;
receiving the public network playing resources returned by the service server;
and transmitting the public network playing resources back to a player for the player to play the public network playing resources, wherein the player is a player for sending a service request address.
6. The method of claim 5, wherein the processed string comprises a first string and a second string, the first string being the string after the first conversion, the second string being a string that has not been converted;
performing a second conversion process on the processed character string, and obtaining the URL address after the second conversion process, including:
performing second conversion processing on the first character string to obtain the domain name of the URL address;
and splicing the second character string after the domain name to obtain the URL address.
7. The method of claim 5, wherein the processed string includes a third string after the URL address is integrally first converted;
performing a second conversion process on the processed character string, and obtaining the URL address after the second conversion process, including:
and performing second conversion processing on the third character string to obtain the URL address.
8. The method according to any one of claims 5 to 7, wherein the first conversion process is an encryption process and the second conversion process is a decryption process;
the decryption processing mode comprises any one of the following steps: MD5 decryption algorithm, decryption Triple DES decryption algorithm, decryption IDEA decryption algorithm, skip jack decryption algorithm, RC4 decryption algorithm, RC5 decryption algorithm.
9. An apparatus for accessing public network resources under an IPTV private network, which is applied to a terminal in the IPTV network, the apparatus comprising:
the response unit is used for responding to the operation of selecting a target service under a target application on the terminal by a user, acquiring a proxy gateway address and a Uniform Resource Locator (URL) address corresponding to the terminal service from the target application, wherein the target application is an application needing to access public network playing resources, and comprises the proxy gateway address and the URL address corresponding to the service corresponding to each service;
the processing unit is used for performing first conversion processing on the URL address to obtain a processed character string;
the merging unit is used for merging the proxy gateway address and the processed character string to be used as a service request address, wherein the service request address points to the proxy gateway;
and the calling unit is used for calling a player in the terminal, sending the service request address to the proxy gateway so that the proxy gateway can carry out reverse conversion of the first conversion processing on the character string in the service request address, and acquiring the public network playing resource corresponding to the URL address after the reverse conversion, and returning to the player for playing.
10. An apparatus for accessing public network resources under an IPTV private network, which is applied to a proxy gateway, and comprises:
the system comprises an address receiving unit, a service request unit and a service processing unit, wherein the service request address comprises a proxy gateway address and a processed character string, the processed character string is obtained by performing first conversion processing on a URL address by a terminal, the URL address is obtained from a target application in the terminal, the target application is an application needing to access public network playing resources, and the target application comprises the proxy gateway address and the URL address corresponding to the service corresponding to each service;
a character string conversion unit, configured to perform a second conversion process on the processed character string, and obtain the URL address after the second conversion process, where the second conversion process is an inverse conversion of the first conversion process;
the address sending unit is used for sending the URL address to a service server in the public internet so that the service server can search public network playing resources corresponding to the URL address;
the resource receiving unit is used for receiving the public network playing resources returned by the service server;
and the resource return unit is used for returning the public network playing resource to a player so that the player can play the public network playing resource, and the player is a player for sending a service request address.
CN202111408149.XA 2021-11-19 2021-11-19 Method and device for accessing public network resources under IPTV private network Active CN114024935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111408149.XA CN114024935B (en) 2021-11-19 2021-11-19 Method and device for accessing public network resources under IPTV private network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111408149.XA CN114024935B (en) 2021-11-19 2021-11-19 Method and device for accessing public network resources under IPTV private network

Publications (2)

Publication Number Publication Date
CN114024935A CN114024935A (en) 2022-02-08
CN114024935B true CN114024935B (en) 2023-10-31

Family

ID=80066188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111408149.XA Active CN114024935B (en) 2021-11-19 2021-11-19 Method and device for accessing public network resources under IPTV private network

Country Status (1)

Country Link
CN (1) CN114024935B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979985A (en) * 2022-05-19 2022-08-30 中国电信股份有限公司 Indirect communication message transmission method, system and gateway equipment
CN115103230B (en) * 2022-06-02 2024-02-23 咪咕视讯科技有限公司 Method, device, equipment and storage medium for acquiring multimedia material
CN115118701B (en) * 2022-06-29 2024-04-12 北京奇艺世纪科技有限公司 Data transmission method, device, system, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001273225A (en) * 2001-02-15 2001-10-05 Hitachi Ltd Proxy server selector and proxy server
CN102523288A (en) * 2011-12-16 2012-06-27 北京视博云科技有限公司 System for providing webpage service for terminal equipment and method thereof
CN105245492A (en) * 2015-08-20 2016-01-13 江苏省公用信息有限公司 Method for parallelly visiting public Internet under IPTV private network
CN109802936A (en) * 2018-11-22 2019-05-24 北京奇艺世纪科技有限公司 A kind of network data access method, device and electronic equipment
CN112822509A (en) * 2021-01-29 2021-05-18 北京百度网讯科技有限公司 Data processing method and device, electronic equipment and medium
CN112887802A (en) * 2021-01-27 2021-06-01 维沃移动通信有限公司 Video access method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001273225A (en) * 2001-02-15 2001-10-05 Hitachi Ltd Proxy server selector and proxy server
CN102523288A (en) * 2011-12-16 2012-06-27 北京视博云科技有限公司 System for providing webpage service for terminal equipment and method thereof
CN105245492A (en) * 2015-08-20 2016-01-13 江苏省公用信息有限公司 Method for parallelly visiting public Internet under IPTV private network
CN109802936A (en) * 2018-11-22 2019-05-24 北京奇艺世纪科技有限公司 A kind of network data access method, device and electronic equipment
CN112887802A (en) * 2021-01-27 2021-06-01 维沃移动通信有限公司 Video access method and device
CN112822509A (en) * 2021-01-29 2021-05-18 北京百度网讯科技有限公司 Data processing method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN114024935A (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN114024935B (en) Method and device for accessing public network resources under IPTV private network
US10986141B2 (en) Relevancy improvement through targeting of information based on data gathered from a networked device associated with a security sandbox of a client device
US9258383B2 (en) Monetization of television audience data across muliple screens of a user watching television
US7987490B2 (en) System and method to acquire, aggregate, manage, and distribute media
KR101604409B1 (en) Output of content from the internet on a media rendering device
US20170053114A1 (en) Relevancy improvement through targeting of information based on data gathered from a networked device associated with a security sandbox of a client device
US8402498B2 (en) Method and apparatus for controlling a set-top box based on device events
JP5074203B2 (en) Communication terminal for realizing streaming media service, system and method thereof
JP5038486B2 (en) Method, system, and apparatus for converting media content
US20160112770A1 (en) Relevancy improvement through targeting of information based on data gathered from a networked device associated with a security sandbox of a client device
US20090172751A1 (en) Method and apparatus for providing virtual channels
WO2012065550A1 (en) Method and system for interaction between a multimedia terminal and an ip set top box
US11812075B2 (en) Enhanced service compatibility with clients
CN105245944B (en) Based on the multiple terminals DVB program broadcasting method and system, set-top box and mobile terminal
US7487354B2 (en) Methods and systems for using digital signatures in uniform resource locators
US20210288735A1 (en) Information processing apparatus, client apparatus, and data processing method
JP2015531217A (en) Carrying status information for streaming media
JP2006510091A (en) Method and apparatus for retrieving data in a peer-to-peer network
FR3019428A1 (en) DEVICE AND METHOD FOR REMOTELY CONTROLLING THE RESTITUTION OF MULTIMEDIA CONTENT
WO2012055279A1 (en) Method and system for sharing mobile phone television program in home network
US20160014464A1 (en) Method, apparatus, and system for providing electronic program guide changes during outages in a media stream
US20090238543A1 (en) Local Recording of Previously Aired Programming
US20140012955A1 (en) Communication System, Communication Device, And Communication Method
US20130232526A1 (en) Application client for a gateway system
CN106535005B (en) Method and device for realizing broadcast control service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant