CN114024935A - 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
CN114024935A
CN114024935A CN202111408149.XA CN202111408149A CN114024935A CN 114024935 A CN114024935 A CN 114024935A CN 202111408149 A CN202111408149 A CN 202111408149A CN 114024935 A CN114024935 A CN 114024935A
Authority
CN
China
Prior art keywords
character string
address
public network
url address
conversion processing
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.)
Granted
Application number
CN202111408149.XA
Other languages
Chinese (zh)
Other versions
CN114024935B (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

Images

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

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 that a user selects a target service under a target application on the terminal, and acquiring a proxy gateway address and a URL (uniform resource locator) 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; merging the proxy gateway address and the processed character string to be used as a service request address; calling a player in the terminal, sending the service request address to the proxy gateway, so that the proxy gateway performs reverse conversion of the first conversion processing on the character string in the service request address, acquires a public network playing resource corresponding to the URL address after the reverse conversion, and returns the public network playing resource to the player for playing. Therefore, the method and the device can access the public Internet to obtain the public network playing resources for playing under the IPTV private network.

Description

Method and device for accessing public network resources under IPTV private network
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for accessing public network resources under an IPTV private network.
Background
The 21 st century is an information-oriented era, and with the rapid development of Internet technology, IPTV (Internet Protocol Television) is also continuously developing.
Among them, IPTV is an internet technology that integrates internet, multimedia, and communication technologies using a broadband network and provides a variety of interactive services including digital tv to home users, and thus is increasingly widely used, and more homes select the IPTV technology. The IPTV technology is used as a private service network, and is completely isolated from the public internet, but more and more playing services selected by households need to use the public internet, and more playing services such as education and entertainment make higher demands on the IPTV. Therefore, how to access the public internet under the IPTV private network to play the playing resources becomes a market hotspot, and much attention is paid.
In summary, there is a need for a method for playing back resources in the public internet under an IPTV private network, which is used to access the public internet to obtain public network playback resources for playing back under the IPTV private network.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for accessing public network resources under an IPTV private network, so as to access the public internet to obtain public network playing resources for playing under the IPTV private network.
In order to achieve the above object, the following solutions are proposed:
a method for accessing public network resources under an IPTV private network is applied to a terminal in the IPTV network, and comprises the following steps:
responding to the operation that a user selects a target service under a target application on the terminal, 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;
merging 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;
calling a player in the terminal, sending the service request address to the proxy gateway, so that the proxy gateway performs reverse conversion of the first conversion processing on the character string in the service request address, acquires public network playing resources corresponding to the URL address after the reverse conversion, and returns the public network playing resources to the player for playing.
Optionally, performing a first conversion process on the URL address to obtain a processed character string, including:
performing first conversion processing on the domain name in the URL address to obtain a first character string;
and splicing second character strings 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 character string, including:
and carrying out first conversion processing on the whole URL address to obtain a processed character string.
Optionally, the first conversion processing includes: encryption processing;
the encryption processing mode comprises any one of the following modes: MD5 encryption algorithm, Triple DES encryption algorithm, IDEA encryption algorithm, Skipjack encryption algorithm, RC4 encryption algorithm, RC5 encryption algorithm.
A method for accessing public network resources under an IPTV private network is applied to a 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 the reverse conversion of the first conversion processing;
sending the URL address to a service server in the public Internet, so that the service server can search a public network playing resource corresponding to the URL address;
receiving the public network playing resource returned by the service server;
and returning the public network playing resource to a player for the player to play the public network playing resource, wherein the player is the player sending the 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 without conversion;
performing second conversion processing on the processed character string, and acquiring the URL address after the second conversion processing, including:
performing second conversion processing on the first character string to obtain a 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 obtained by performing a first conversion process on the whole URL address;
performing second conversion processing on the processed character string, and acquiring the URL address after the second conversion processing, 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 obtained by performing a first conversion process on the whole URL address;
performing second conversion processing on the processed character string, and acquiring the URL address after the second conversion processing, including:
and performing second conversion processing on the third character string to obtain the URL address.
Optionally, the first conversion processing is encryption processing, and the second conversion processing is decryption processing;
the decryption processing mode comprises any one of the following modes: MD5 decryption algorithm, decryption Triple DES decryption algorithm, decryption IDEA decryption algorithm, Skipjack decryption algorithm, RC4 decryption algorithm, RC5 decryption algorithm.
A device for accessing public network resources under an IPTV private network is applied to a terminal in the IPTV network, and comprises:
a response unit, configured to respond to an operation of a user for selecting a target service under a target application on the terminal, and acquire a proxy gateway address and a Uniform Resource Locator (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 broadcast resource;
the processing unit is used for carrying out first conversion processing on the URL address to obtain a processed character string;
a merging unit, configured to merge the proxy gateway address and the processed character string to serve as a service request address, where the service request address points to a 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 performs reverse conversion of the first conversion processing on the character string in the service request address, acquires a public network playing resource corresponding to the URL address after the reverse conversion, and returns the public network playing resource to the player for playing.
A device for accessing public network resources under an IPTV private network is applied to a proxy gateway, and comprises:
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 a URL address by a terminal;
a character string conversion unit, configured to perform second conversion processing on the processed character string, and obtain the URL address after the second conversion processing, where the second conversion processing is reverse conversion of the first conversion processing;
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 a public network playing resource corresponding to the URL address;
a resource receiving unit, configured to receive the public network broadcast resource returned by the service server;
and the resource returning unit is used for returning the public network playing resources to a player for the player to play the public network playing resources, and the player is the player sending the service request address.
It can be seen from the foregoing technical solutions that, in the method for accessing public network resources under an IPTV private network provided in the embodiments of the present application, in response to an operation that a user selects a target service under a target application on a terminal, a proxy gateway address and a uniform resource locator 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 broadcast resources; subsequently, the URL address may be subjected to a first conversion process to obtain a processed character string; merging 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 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 at this time, and can send the service request address to the proxy gateway, so that the proxy gateway performs reverse conversion of the first conversion processing on the character string in the service request address, acquires a public network playing resource corresponding to the URL address after the reverse conversion, and returns the public network playing resource to the player for playing. Therefore, the method and the device 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 internet can be accessed to obtain the public network playing resources and play under the IPTV private network.
Furthermore, the proxy service address and the URL address can be obtained from the target application, an IPTV operator does not need to perform routing configuration, DNS configuration or network transformation on an IPTV private network, any configuration change, setting and the like on the set top box is not needed, the safety risk of various configurations and unpredictable influence caused by misoperation are effectively reduced, the threshold of application access to the IPTV private network is greatly reduced, and the cost is low. In addition, additional operation or configuration is not required for a user, and the method is simple, convenient and easy to implement and convenient to popularize.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a system architecture diagram for accessing 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 an apparatus for accessing public network resources in an IPTV private network according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another apparatus for accessing public network resources in an IPTV private network according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The present application is described next with reference to 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 the embodiment of the present application, and as shown in fig. 1, the system architecture may include: terminal 10, proxy gateway 20, 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 can support playing the public network playing resource returned by the proxy gateway. Further, the user can perform various operations such as watching video, listening to music, and surfing the lecture on the TV side through the terminal 10.
The proxy gateway 20 and the service server 30 may be composed of a plurality of servers, wherein the proxy gateway 20 may be a server provided by a target application manufacturer or a server provided by an IPTV private network manufacturer.
What the present application needs to achieve is that the proxy gateway 20 can receive the play resource that is sent by the service server 30 and matches with the target service selected by the user, and send the play resource to the terminal 10, so that the terminal 10 can play the play resource.
Based on this, the present application can help the terminal 10 under the IPTV private network play the public network resource.
Based on the system architecture shown in fig. 1, fig. 2 shows an optional signaling flow of the method for accessing public network resources in an IPTV private network according to the embodiment of the present application.
Referring to fig. 2, the flow is specifically as follows:
step S110, the terminal 10 responds to an operation of a user selecting a target service under a target application on the terminal 10, and acquires a proxy gateway address and a uniform resource locator 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 may select the target service through an infrared remote control, or the user may select the target service through a key on the terminal 10.
When the application app which needs to access the public network broadcast 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 of the application app, and can write a URL address corresponding to a product service in a code corresponding to the service. When the installed application app performs a service update, 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, which is not limited in the present application.
The URL addresses corresponding to different services in the same application app may be different, and the domain names of the URL addresses in the same application app may be the same or different.
Based on this, after 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.
Step S120, the terminal 10 performs a first conversion process on the URL address to obtain a processed character string.
Specifically, the URL address may be subjected to the first conversion processing in various ways, and may be converted into a binary system, or may be converted into a decimal system.
And after the first conversion processing, the character string does not contain the domain name of the unprocessed URL address.
Step S130, the terminal 10 merges 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 is in the obtained service request address, namely the domain name of the proxy gateway exists.
Step S140, the terminal 10 calls the player to send 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.
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 may obtain the URL address after performing the second conversion processing on the processed character string.
Step S160, the proxy gateway 20 sends the URL address.
Specifically, the proxy gateway 20 sends the URL address to the service server 30, where 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 a public network broadcast resource corresponding to the URL address. After the service server 30 obtains the public network broadcast resource, the public network broadcast 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 that the target service also corresponds to the public network playing resource.
Step S180, the proxy gateway 20 sends the public network play resource.
Specifically, after receiving the public network broadcast resource, the proxy gateway 20 may send the public network broadcast resource to the terminal 10.
Step S190, the terminal 10 plays the public network play resource.
Specifically, after receiving the public network play resource, the player in the terminal 10 may play the public network play resource.
It can be seen from the foregoing technical solutions that, in the method for accessing public network resources under an IPTV private network provided in this embodiment, when a player in the terminal 10 has a requirement for playing a public network playing resource, the public network playing resource sent by the proxy gateway 20 and corresponding to a target service can be obtained, and the public network playing resource is played. Therefore, the method and the device can access the public Internet to obtain the public network playing resources and play under the IPTV private network.
Furthermore, the proxy service address and the URL address can be obtained from the target application, an IPTV operator does not need to perform routing configuration, DNS configuration or network transformation on an IPTV private network, any configuration change, setting and the like on the set top box is not needed, the safety risk of various configurations and unpredictable influence caused by misoperation are effectively reduced, the threshold of application access to the IPTV private network is greatly reduced, and the cost is low. In addition, additional operation or configuration is not required for a user, and the method is simple, convenient and easy to implement and convenient to popularize.
Next, the embodiment of the present application will further describe a method for accessing public network resources under an IPTV private network according to the present application from the perspective of the terminal 10.
It has been described above that the terminal 10 can perform the first conversion process on the URL address to obtain the processed character string. Further, the following describes in detail a process of the terminal 10 performing the first conversion processing on the URL address to obtain a processed character string.
Specifically, in some embodiments of the present application, the terminal 10 may perform a first conversion process on the whole URL address to obtain a processed character string.
Wherein the URL address is the entire URL address as a whole, 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 character string, and then concatenate a second character string except the domain name in the URL address at an end of the first character string to obtain a processed character 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 character string corresponding to the domain name. And then splicing the first character string and the access path to obtain a processed character string.
The above technical solution introduces two specific contents that can perform the first conversion processing, for example, the first conversion processing may be performed on the whole URL address, or the first conversion processing may be performed only on the domain name of the URL address, so that the corresponding processing mode may 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 processing is performed only on the domain name, so as to reduce the time for performing the first conversion processing 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 obtain the public network playing resources for playing.
Next, a processing manner 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 mode may include any one of the following: MD5 encryption algorithm, Triple DES encryption algorithm, IDEA encryption algorithm, Skipjack 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 also agree with a public key and a private key, and perform a first conversion process on the URL address, thereby obtaining a processed character string.
As can be seen from the foregoing technical solutions, the present embodiment provides a specific processing manner of the first conversion processing, which may specifically be encryption processing, where there are multiple encryption algorithms. After the encryption processing, the character strings with different lengths can be converted into character strings with uniform length, so that the terminal 10 can be spliced, and the proxy gateway 20 can identify the processed character strings, so that the proxy gateway 20 can better send the URL address to the service server 30.
Next, the embodiment of the present application will further describe a method for accessing public network resources under an IPTV private network in the present application from the perspective of the proxy gateway 20.
It has been described above that the proxy gateway 20 can perform the second conversion process on the processed character string and obtain the URL address after the second conversion process. Further, a process of performing the second conversion process on the processed character string and acquiring the URL address after the second conversion process by the proxy gateway 20 will be described in detail below.
In some embodiments of the present application, the processed character string may include a first character string and a second character string, where the first character string is a character string subjected to the first conversion, and the second character string is a character string not subjected to the conversion processing.
Specifically, after the terminal 10 performs the first conversion processing only on the domain name in the URL address, the domain name after the first conversion processing is used as the first character string, and the part of the URL address except 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 concatenates the second character string with the end of the domain name, 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 character string may be a third character string obtained by performing a first conversion process on the whole URL address. On this basis, the proxy gateway 20 may perform a second conversion process on the third string to obtain the URL address.
Specifically, after the terminal 10 performs the first conversion processing on the whole URL address, the obtained processed character string is the third character string. On this basis, the second conversion processing may be performed on the third string to obtain the URL address.
The above technical solution introduces a processing manner that can select different second conversion processing according to different 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 obtain the public network playing resources for playing.
Next, a processing manner 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 modes: MD5 decryption algorithm, decryption Triple DES decryption algorithm, decryption IDEA decryption algorithm, Skipjack decryption algorithm, RC4 decryption algorithm, RC5 decryption algorithm.
For example, the first conversion process is an MD5 encryption algorithm, and the second conversion process is an inverse process of the first conversion process and may be an MD5 decryption algorithm. For example, if the terminal 10 encrypts the URL address, the obtained character string is an 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 foregoing technical solutions, this embodiment provides a specific processing manner for the second conversion processing, and the second conversion processing may be decryption processing on the basis that the first conversion processing is encryption processing. There may be a plurality of decryption algorithms corresponding to the first conversion process. After the decryption process, the encrypted character string may be 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 an example in a specific scenario.
The explanation is given taking an example in which the first conversion process is the MD5 encryption algorithm and the second conversion process is the MD5 decryption algorithm.
If the terminal 10 obtains that the proxy gateway service address is http:// 192.168.1.1/and 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 MD5 encryption algorithm may be used to encrypt the domain name in the URL address, that is, http:// 192.168.1.1/may be encrypted, and the MD5 value corresponding to the obtained domain name may be 80F3a86511B050CB344B1C8CD235a 57B. The processed string may be 80F3A86511B050CB344B1C8CD235A 57B/e/f.mp4.
The processed character string can be spliced with the proxy gateway service address to obtain the service request address of http://192.18/80F3A86511B050CB344B1C8CD235A 57B/e/f.mp4.
When the proxy gateway 20 obtains the service request address, the processed string 80F3A86511B050CB344B1C8CD235A57B/e/f.mp4 can 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 concatenate with e/f.mp4, so as to obtain the URL address of 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 MD5 encryption algorithm may be used to encrypt the whole URL address, and the MD5 value may be 80F3a86511B050CB355B2C9CD235a57B 124. The processed string can be obtained as 80F3a86511B050CB355B2C9CD235a57B 124.
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/80F3A86511B050CB355B2C9CD235A57B 124.
When 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 to obtain the URL address http:// abc.
The following describes the device for accessing public network resources under the IPTV private network provided in this embodiment, and the device for accessing public network resources under the IPTV private network described below and the method for accessing public network resources under the IPTV private network described above may be referred to correspondingly.
First, referring to fig. 3, a device for accessing public network resources under an IPTV private network applied to a terminal 10 in an IPTV network is described, and as shown in fig. 3, the device for accessing public network resources under an IPTV private network may include:
a response unit 100, configured to respond to an operation of a user selecting a target service under a target application on the terminal, and acquire a proxy gateway address and a uniform resource locator 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 broadcast 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 to serve as a service request address, where the service request address points to a proxy gateway;
the invoking unit 130 is configured to invoke a player in the terminal, send the service request address to the proxy gateway, so that the proxy gateway performs reverse conversion of the first conversion processing on the character string in the service request address, acquire a public network playing resource corresponding to the URL address after the reverse conversion, and return the public network playing resource to the player for playing.
Further, the processing unit may include:
the domain name processing unit is used for carrying out 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 strings 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 integral processing unit is used for carrying out first conversion processing on the integral URL address to obtain a processed character string.
Next, referring to fig. 4, a device for accessing public network resources under an IPTV private network applied to the proxy gateway 20 is described, as shown in fig. 4, the device for accessing public network resources under the 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 character string, and the processed character string is obtained by performing a first conversion process on a URL address by a terminal;
a character string converting 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 for a public network playing resource corresponding to the URL address;
a resource receiving unit 230, configured to receive the public network broadcast resource returned by the service server;
a resource returning unit 240, configured to return the public network playing resource to a player for the player to play 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 processing. At this time, the character string converting unit may include:
a domain name obtaining unit, configured to perform second conversion processing on the first character string to obtain a 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 includes a third character string obtained by performing a first conversion process on the whole URL address. At this time, the character string converting 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 should also be noted that, herein, relational terms such as first and second, and the like may be 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. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred 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. The 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. A method for accessing public network resources under an IPTV private network is characterized in that the method is applied to a terminal in the IPTV network, and comprises the following steps:
responding to the operation that a user selects a target service under a target application on the terminal, 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;
merging 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;
calling a player in the terminal, sending the service request address to the proxy gateway, so that the proxy gateway performs reverse conversion of the first conversion processing on the character string in the service request address, acquires public network playing resources corresponding to the URL address after the reverse conversion, and returns the public network playing resources 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 character string comprises:
performing first conversion processing on the domain name in the URL address to obtain a first character string;
and splicing second character strings 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 character string comprises:
and carrying out first conversion processing on the whole URL address to obtain a processed character string.
4. The method according to any one of claims 1 to 3, wherein the first conversion process comprises: encryption processing;
the encryption processing mode comprises any one of the following modes: MD5 encryption algorithm, Triple DES encryption algorithm, IDEA encryption algorithm, Skipjack encryption algorithm, RC4 encryption algorithm, RC5 encryption algorithm.
5. A method for accessing public network resources under an IPTV private network is characterized in that the method is applied to a 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 the reverse conversion of the first conversion processing;
sending the URL address to a service server in the public Internet, so that the service server can search a public network playing resource corresponding to the URL address;
receiving the public network playing resource returned by the service server;
and returning the public network playing resource to a player for the player to play the public network playing resource, wherein the player is the player sending the service request address.
6. The method according to claim 5, wherein the processed character string comprises a first character string and a second character string, the first character string is the character string after the first conversion is performed, and the second character string is the character string without conversion processing;
performing second conversion processing on the processed character string, and acquiring the URL address after the second conversion processing, including:
performing second conversion processing on the first character string to obtain a domain name of the URL address;
and splicing the second character string after the domain name to obtain the URL address.
7. The method according to claim 5, wherein the processed character string includes a third character string obtained by performing a first conversion process on the whole URL address;
performing second conversion processing on the processed character string, and acquiring the URL address after the second conversion processing, 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 modes: MD5 decryption algorithm, decryption Triple DES decryption algorithm, decryption IDEA decryption algorithm, Skipjack decryption algorithm, RC4 decryption algorithm, RC5 decryption algorithm.
9. A device for accessing public network resources under an IPTV private network is characterized in that the device is applied to a terminal in the IPTV network and comprises:
a response unit, configured to respond to an operation of a user for selecting a target service under a target application on the terminal, and acquire a proxy gateway address and a Uniform Resource Locator (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 broadcast resource;
the processing unit is used for carrying out first conversion processing on the URL address to obtain a processed character string;
a merging unit, configured to merge the proxy gateway address and the processed character string to serve as a service request address, where the service request address points to a 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 performs reverse conversion of the first conversion processing on the character string in the service request address, acquires a public network playing resource corresponding to the URL address after the reverse conversion, and returns the public network playing resource to the player for playing.
10. A device for accessing public network resources under an IPTV private network is characterized in that the device is applied to a proxy gateway and comprises:
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 a URL address by a terminal;
a character string conversion unit, configured to perform second conversion processing on the processed character string, and obtain the URL address after the second conversion processing, where the second conversion processing is reverse conversion of the first conversion processing;
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 a public network playing resource corresponding to the URL address;
a resource receiving unit, configured to receive the public network broadcast resource returned by the service server;
and the resource returning unit is used for returning the public network playing resources to a player for the player to play the public network playing resources, and the player is the player sending the 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 true CN114024935A (en) 2022-02-08
CN114024935B 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)

Cited By (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
CN115103230A (en) * 2022-06-02 2022-09-23 咪咕视讯科技有限公司 Multimedia material obtaining method, device, equipment and storage medium
CN115118701A (en) * 2022-06-29 2022-09-27 北京奇艺世纪科技有限公司 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

Cited By (5)

* 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
CN115103230A (en) * 2022-06-02 2022-09-23 咪咕视讯科技有限公司 Multimedia material obtaining method, device, equipment and storage medium
CN115103230B (en) * 2022-06-02 2024-02-23 咪咕视讯科技有限公司 Method, device, equipment and storage medium for acquiring multimedia material
CN115118701A (en) * 2022-06-29 2022-09-27 北京奇艺世纪科技有限公司 Data transmission method, device, system, equipment and storage medium
CN115118701B (en) * 2022-06-29 2024-04-12 北京奇艺世纪科技有限公司 Data transmission method, device, system, equipment and storage medium

Also Published As

Publication number Publication date
CN114024935B (en) 2023-10-31

Similar Documents

Publication Publication Date Title
CN114024935B (en) Method and device for accessing public network resources under IPTV private network
CN101517975B (en) By IPTV and home network being connected to each other the method and apparatus that send/receive content
US7987490B2 (en) System and method to acquire, aggregate, manage, and distribute media
US9258383B2 (en) Monetization of television audience data across muliple screens of a user watching television
US8832726B2 (en) Video streaming entitlement determined based on the location of the viewer
KR101604409B1 (en) Output of content from the internet on a media rendering device
JP5678367B2 (en) System and method for authorizing access to network services by using information obtained from subscriber equipment
US20120036543A1 (en) Method and apparatus for controlling a set-top box based on device events
JP2009296625A (en) Method and apparatus for authorized operation of home communication network
CN102006519A (en) Method and system for realizing interaction between multi-media terminal and internet protocol (IP) set top box
CN101409713A (en) Content distribution system, distribution server, terminal, and content distributing method
US7487354B2 (en) Methods and systems for using digital signatures in uniform resource locators
CN105245944B (en) Based on the multiple terminals DVB program broadcasting method and system, set-top box and mobile terminal
US20210288735A1 (en) Information processing apparatus, client apparatus, and data processing method
MX2009000687A (en) Content information outputting apparatus, content information receiving apparatus, content information outputting method, content information receiving method.
JP2006510091A (en) Method and apparatus for retrieving data in a peer-to-peer network
US9538255B2 (en) Information output device, information manipulation device, and computer program product
US10083457B2 (en) System and method for processing opinion data
CN103686409A (en) Method and system for synchronous broadcasting through desktop background and direct-broadcast interface
US20160014464A1 (en) Method, apparatus, and system for providing electronic program guide changes during outages in a media stream
US20150324841A1 (en) Context-sensitive advertising for internet protocol television
CN104303517A (en) Information processing device, information processing method, and program
JP5665150B2 (en) Source-independent content rating system and method
US20140012955A1 (en) Communication System, Communication Device, And Communication Method
KR20120072100A (en) Web media control apparatus and method for connecting web content service and home networking

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