CN115278373A - Internet television networking method and system - Google Patents

Internet television networking method and system Download PDF

Info

Publication number
CN115278373A
CN115278373A CN202110475006.4A CN202110475006A CN115278373A CN 115278373 A CN115278373 A CN 115278373A CN 202110475006 A CN202110475006 A CN 202110475006A CN 115278373 A CN115278373 A CN 115278373A
Authority
CN
China
Prior art keywords
networking
message
target
sending
gateway
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
CN202110475006.4A
Other languages
Chinese (zh)
Other versions
CN115278373B (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.)
China Mobile Communications Group Co Ltd
China Mobile Group Jiangsu Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Jiangsu 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 China Mobile Communications Group Co Ltd, China Mobile Group Jiangsu Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110475006.4A priority Critical patent/CN115278373B/en
Publication of CN115278373A publication Critical patent/CN115278373A/en
Application granted granted Critical
Publication of CN115278373B publication Critical patent/CN115278373B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • 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/643Communication protocols
    • H04N21/64322IP

Abstract

The invention provides an Internet television networking method and system, wherein the method comprises the following steps: sending an IPOE authentication request to a gateway to acquire a target IP address; sending a DISCOVER message to a gateway; receiving a target OFFER message fed back by the gateway, and determining a networking mode according to the target OFFER message; the DISCOVER message carries a user account and a user password; the target OFFER message is determined by the gateway after authenticating the special VLAN port of the IPTV mode, the user account and the user password. The system is used for executing the method. The networking method and the networking system for the Internet television, provided by the invention, have the advantages that the target IP address is obtained by sending the authentication request to the gateway, the dynamic multiplexing of the gateway port is realized, and the self-adaptive networking of the Internet television is realized according to the authentication result of the user identity.

Description

Internet television networking method and system
Technical Field
The invention relates to the technical field of communication, in particular to an internet television networking method and system.
Background
The IPTV and the OTT Internet televisions are used as physical bearers through the set top box and can provide video content watching services for users, wherein the IPTV television needs to use a private network channel, the OTT Internet television uses an Internet channel, and the IPTV television and the OTT Internet television need to use set top box equipment corresponding to the IPTV television and the OTT Internet television at present.
(I) IPTV set-top box prior art scheme
The IPTV set-top box has to access to a dedicated port of a home gateway (optical modem), and the dedicated port is configured in a bridge mode; other non-IPTV special ports are configured in a routing mode and cannot be used for IPTV service access.
After the IPTV set-top box is powered on, identity Authentication is performed through an IPOE when an address is obtained, a home gateway (optical modem) forwards an IP communication protocol (IP Over Ethernet, IPOE) Authentication message based on Ethernet initiated by the set-top box to an Authentication, authorization, accounting, AAA server, after the AAA server passes Authentication, the IPTV set-top box can obtain the IP address, the user can use IPTV services, and if Authentication does not pass, the user cannot use all the services of the IPTV, and a schematic diagram of an Authentication process of the IPTV set-top box is shown in fig. 1.
(II) OTT set-top box prior art scheme
The OTT set-top box works in an Internet mode, and the OTT television service can be used as long as the user networking environment can normally surf the Internet, without access network ports and network authentication limitations.
The prior art scheme has the following disadvantages:
1. set-top box equipment cannot be shared
The existing IPTV and OTT internet televisions are carried by different set top box devices, and the self-adaptive switching of IPTV and OTT internet television services cannot be realized on the same set top box device.
2. Home gateway (optical modem) port cannot be shared
(1) The IPTV set-top box must use a special port
The IPTV set-top box has to access to a special IPTV service port of a home gateway (optical modem), and other ports or access to a third-party router are not allowed to be used, otherwise any function on the IPTV set-top box cannot be used.
(2) OTT set-top boxes must use non-IPTV dedicated ports
The OTT set-top box cannot access the dedicated port of the IPTV service of the home gateway (optical modem), and only can use other ports or access the third-party router, otherwise, the service on the OTT set-top box cannot be used.
The above port access rules increase the use threshold, which is not favorable for users to use services conveniently.
Disclosure of Invention
The networking method and the networking system for the Internet television are used for overcoming the problems in the prior art, can acquire the IP address of the network port by sending the authentication request to the gateway, realize the dynamic multiplexing of the gateway port and realize the self-adaptive networking of the Internet television according to the authentication result of the user identity.
In a first aspect, the present invention provides an internet television networking method, including:
sending an IP communication protocol IPOE authentication request based on the Ethernet to a gateway to acquire a target IP address;
sending a DISCOVER message to the gateway;
receiving a target OFFER message fed back by the gateway, and determining a networking mode according to the target OFFER message;
the DISCOVER message carries a user account and a user password;
and the target OFFER message is determined by the gateway after authenticating the special VLAN port in the IPTV mode, the user account and the user password.
According to the networking method of the Internet television, the networking mode is determined according to the target OFFER message, and the networking method comprises the following steps:
and if the target OFFER message is determined to carry the OPTION125 information of a preset fixed character string, switching the networking mode to an IPTV mode.
According to the internet television networking method provided by the invention, the networking mode is determined according to the target OFFER message, and the method further comprises the following steps:
and if the target OFFER message is determined not to carry the OPTION125 information of a preset fixed character string, or if the target OFFER message is determined not to carry the OPTION125 information, switching the networking mode to an OTT mode.
In a second aspect, the present invention provides an internet television networking method, including:
receiving an IPOE authentication request sent by a terminal, and sending a target IP address to the terminal after the authentication is passed;
receiving a DISCOVER message sent by the terminal;
authenticating a VLAN port special for the IPTV mode, a user account and a user password carried in the DISCOVER message, and sending a target OFFER message to the terminal according to an authentication result so that the terminal can determine a networking mode according to the target OFFER message;
wherein, the target IP address is obtained by sending the IPOE authentication request to an Authentication Authorization Accounting (AAA) server and after the AAA server checks the IPOE authentication request.
According to the networking method of the internet television provided by the invention, the authentication is carried out on the VLAN port special for the IPTV mode, the user account and the user password carried in the DISCOVER message, and the target OFFER message is sent to the terminal according to the authentication result, and the networking method comprises the following steps:
and if the fact that the dedicated VLAN port in the IPTV mode is available and the user account and the user password are authenticated is determined to pass, sending the target OFFER message carrying the OPTION125 information of a preset fixed character string to the terminal.
According to the networking method of the internet television provided by the invention, the authentication is carried out on the special VLAN port of the IPTV mode, the user account and the user password carried in the DISCOVER message, and the target OFFER message is sent to the terminal according to the authentication result, and the networking method further comprises the following steps:
if the dedicated VLAN port in the IPTV mode is determined to be unavailable or the user account or the user password authentication is not passed, sending the target OFFER message which does not carry the OPTION125 information of a preset fixed character string to the terminal; or
And sending the target OFFER message which does not carry the OPTION125 information to the terminal.
In a third aspect, the present invention further provides an internet television networking system, including: the device comprises an address acquisition module, a message sending module and a networking determination module;
the address acquisition module is used for sending an IPOE authentication request to the gateway to acquire a target IP address;
the message sending module is used for sending the DISCOVER message to the gateway;
the networking determining module is used for receiving the target OFFER message fed back by the gateway and determining a networking mode according to the target OFFER message;
the DISCOVER message carries a user account and a user password;
and the target OFFER message is determined by the gateway after authenticating the special VLAN port in the IPTV mode, the user account and the user password.
In a fourth aspect, the present invention further provides an internet television networking system, including: the device comprises an address sending module, a message receiving module and a networking determining module;
the address sending module is used for receiving an IPOE authentication request sent by the terminal and sending the target IP address to the terminal after the authentication is passed;
the message receiving module is used for receiving a DISCOVER message sent by the terminal;
the networking determining module is configured to authenticate a dedicated VLAN port of the IPTV mode, a user account and a user password carried in the DISCOVER message, and send a target OFFER message to the terminal according to an authentication result, so that the terminal determines a networking mode according to the target OFFER message;
the target IP address is obtained by sending the IPOE authentication request to an AAA server and verifying the IPOE authentication request by the AAA server.
In a fifth aspect, the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of any one of the internet television networking methods described above.
In a sixth aspect, the present invention further provides a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the internet television networking method as described in any of the above.
The networking method and the networking system for the internet television, provided by the invention, have the advantages that the dynamic multiplexing of the gateway port is realized by sending the authentication request to the gateway to obtain the IP address of the network port, and the self-adaptive networking of the internet television is realized according to the authentication result of the user identity.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of an authentication process of an IPTV set-top box provided by the prior art;
fig. 2 is a schematic flow chart of an internet television networking method provided by the present invention;
FIG. 3 is a schematic flow chart of target IP address acquisition provided by the present invention;
fig. 4 is a second schematic flowchart of the internet television networking method provided by the present invention;
fig. 5 is a schematic structural diagram of an internet tv networking system provided by the present invention;
fig. 6 is a second schematic structural diagram of the internet television networking system provided by the present invention;
FIG. 7 is a schematic diagram of an electronic device according to the present invention;
fig. 8 is a second schematic structural diagram of the electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. 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 invention.
Fig. 2 is a schematic flowchart of an internet television networking method provided by the present invention, and as shown in fig. 2, the method includes:
s1, sending an IP communication protocol IPOE authentication request based on the Ethernet to a gateway to acquire a target IP address;
s2, sending the DISCOVER message to a gateway;
s3, receiving a target OFFER message fed back by the gateway, and determining a networking mode according to the target OFFER message;
the DISCOVER message carries a user account and a user password;
the target OFFER message is determined by the gateway after authenticating the special VLAN port of the IPTV mode, the user account and the user password.
It should be noted that the execution main body of the method may be a computer device or a terminal device, where the terminal device may be a set-top terminal, and the following description will take an example in which the set-top terminal is directly connected to a gateway (optical modem) to execute the method.
Optionally, the set-top box terminal sends an IPOE authentication request to the gateway (optical modem) to obtain the target IP address. The gateway (optical modem) generally has a VLAN1 interface and a VLAN2 interface, where the VLAN1 interface is used for internet access of electronic devices such as a mobile phone and a handheld computer, and the VLAN2 interface is used for providing a network interface for a set top box terminal, so as to enable an internet television (such as an IPTV or an OTT) to access internet.
A schematic flow diagram of the process of acquiring the target IP address by the set-top box terminal in the present invention is shown in fig. 3, specifically:
step 1: obtaining an IP address by a common Internet VLAN1 interface IP;
the gateway (optical modem) adopts a PPPOE (Point-to-Point Protocol Over Ethernet) authentication or IPOE authentication mode, and acquires the IP address from the AAA server after passing through the authentication of the user account and the user password.
And 2, step: a VLAN2 interface special for the gateway IPTV acquires a target IP address;
the gateway (optical modem) adopts a PPPOE authentication or IPOE authentication mode, and acquires a target IP address from the AAA server after the authentication is carried out through a special VLAN port (VLAN 2 port) in the IPTV mode, a user account and a user password.
And step 3: the set-top box terminal obtains an IP address from a gateway (optical modem);
the set-top box terminal acquires a target IP address from a gateway (optical cat) by adopting an IPOE authentication mode, wherein the target IP address is randomly allocated by the gateway after passing the IPOE authentication.
IPOE authentication mode: the IPoE is a DHCP + authentication technology, and the DHCP can be matched with other technologies to implement authentication, for example, web + Radius, and also for example, the DHCP + OPTION extension field performs authentication, and all these extension modes are collectively referred to as DHCP + authentication, which may also be referred to as an IPoE authentication mode.
In the application of the IPTV, the set-top box terminal is authenticated by the IPOE, and the DISCOVER message sent by the set-top box terminal includes OPTION60, which identifies that the set-top box is a set-top box. After receiving the DISCOVER, a broadband access Server (BRAS) establishes a virtual interface for the user, then adds an OPTION82 after the DISCOVER, and sends the OPTION82 to the DHCP Server, after receiving the request, the DHCP Server strips the OPTION60 and the OPTION82, and sends the information to Radius, which authenticates that the Server is a set-top box and knows the time and the position of the set-top box online, after the authentication is successful, the Server returns an accept, then completes the OFFER, and feeds the OFFER back to the set-top box terminal, so that the set-top box terminal can take the IP address.
The set-top box terminal sends the DISCOVER message to the gateway (optical modem), receives the target OFFER message fed back by the gateway (optical modem), and determines the networking mode according to the content of the target OFFER message. Wherein, the DISCOVER message carries the OPTION60 information, and the OPTION60 is filled with the user account and the user password.
The networking method of the Internet television provided by the invention realizes the dynamic multiplexing of the gateway port by sending the authentication request to the gateway to obtain the target IP address, and realizes the self-adaptive networking of the Internet television according to the authentication result of the user identity.
Further, in an embodiment, the step S3 may specifically include:
s31, if the target OFFER message is determined to carry the OPTION125 information of the preset fixed character string, switching the networking mode to the IPTV mode.
Optionally, when the gateway (optical modem) packages information such as the VLAN2 IP address into a DHCP OFFER packet after completing authentication of the user account and the user password, the gateway (optical modem) packages the OPTION125 information into the DHCP OFFER packet and then sends the DHCP OFFER packet to the set-top box terminal.
After receiving the OFFER packet, the set-top box terminal first checks whether the OPTION125 information carried in the OFFER packet includes a preset fixed character string, for example, checks a characteristic value filled in an "OPTION-data 1" field of the OPTION125, compares the characteristic value with the preset fixed character string, and if the comparison result is consistent, the gateway (optical modem) is considered to support the IPTV, and the set-top box terminal starts an IPTV mode.
It should be noted that the set-top box terminal may further determine whether the gateway supports IPTV by sending a REQUEST message to the gateway (optical modem), and receiving OPTION125 information in an ACK message fed back by the gateway (optical modem), and correspondingly switch the networking mode to the IPTV mode when determining that the gateway (optical modem) supports IPTV, where a method for the set-top box terminal to determine whether the gateway supports IPTV is consistent with the processes in steps S1 to S3.
According to the networking method of the Internet television, the set-top box terminal can automatically identify the upper layer networking equipment to support the IPTV networking by introducing the appointed authentication algorithm in the IPOE protocol interaction for obtaining the address and appointing the OPTION125 message containing the characteristic value in the protocol message, and automatically start the IPTV mode according to the identification result.
Further, in an embodiment, step S3 may further specifically include:
and S32, if the target OFFER message is determined not to carry the OPTION125 information of the preset fixed character string, or if the target OFFER message is determined not to carry the OPTION125 information, switching the networking mode to an OTT mode.
Optionally, when the gateway (optical modem) determines that the dedicated VLAN port in the IPTV mode is unavailable, or after the user account or the user password initiated by the set-top box terminal is not authenticated, normally feeding back a target OFFER message to the set-top box terminal, and reassigning an IP address, at this time, after receiving the target OFFER message sent by the gateway (optical modem), the set-top box terminal determines whether the target OFFER message carries OPTION125 information or whether the OPTION125 information in the target OFFER carries a preset fixed character string at the first time, and if it is determined that the target OFFER message does not carry the OPTION125 information in the preset fixed character string, updates an originally assigned IP address according to the received redistributed IP address, and determines that the gateway (optical modem) does not support the IPTV mode, and the set-top box terminal starts the OTT mode.
It should be noted that the set-top box terminal may further determine whether the gateway supports IPTV by sending a REQUEST message to the gateway (optical modem), and receiving OPTION60 information in an ACK message fed back by the gateway (optical modem), and correspondingly switch the networking mode to the OTT mode when determining that the gateway (optical modem) does not support IPTV, where a method for the set-top box terminal to determine whether the gateway supports IPTV is consistent with the processes in steps S1 to S3.
The networking method of the Internet television provided by the invention can also be suitable for a set top box terminal upper connection router, and a scene that the router is connected with a gateway (optical modem) in an abutting mode, specifically:
the router applies for the IP address of the current network port from the gateway (optical modem) through DHCP, the set-top box terminal still initiates IPOE authentication to the router according to the scene mode of the direct connection gateway (optical modem) of the set-top box terminal, because the router is a public third-party network device, the OPTION60 information carried in the DISCOVER message initiated by the set-top box terminal which cannot be identified, at the moment, the router can normally allocate the IP address to the current network port, and the router does not contain the OPTION125 information of the preset fixed character string in the fed-back OFFER message.
If the OFFER message received by the set-top box terminal does not contain the OPTION125 information of the preset fixed character string, the uplink router device is considered not to support the IPTV, and the set-top box terminal starts the OTT mode.
According to the networking method of the Internet television, the set top box terminal can automatically recognize that the upper layer networking equipment does not support IPTV networking by introducing the appointed authentication algorithm in the IPOE protocol interaction for obtaining the address and appointing the OPTION125 message containing the characteristic value in the protocol message, and automatically start the OTT mode according to the recognition result.
Fig. 4 is a second flowchart of the internet television networking method provided by the present invention, as shown in fig. 4, the method includes:
s4, receiving an IPOE authentication request sent by the terminal, and sending the target IP address to the terminal after the authentication is passed;
s5, receiving a DISCOVER message sent by the terminal;
s6, authenticating a VLAN port special for the IPTV mode, a user account and a user password carried in the DISCOVER message, and sending a target OFFER message to the terminal according to an authentication result so that the terminal can determine a networking mode according to the target OFFER message;
the target IP address is obtained by sending an IPOE authentication request to an authentication authorization accounting AAA server and verifying the IPOE authentication request by the AAA server.
It should be noted that the executing main body of the method may be a computer device or a gateway, where the gateway device may be an optical network terminal such as a modem, and the following description will take as an example that the gateway in a scenario where a set-top box terminal is directly connected to the gateway performs the method for the modem.
Optionally, the optical modem receiving terminal (set-top box terminal) sends an IPOE authentication request, and sends the current network port IP address method to the set-top box terminal after the authentication is passed.
The optical modem generally sets a VLAN1 interface and a VLAN2 interface, where the VLAN1 interface is used for internet access of electronic devices such as a mobile phone and a handheld computer, and the VLAN2 interface is used for providing a network interface for a set top box terminal, so as to enable an internet television (such as IPTV or OTT) to access internet.
The target IP address is obtained by the optical modem by sending an IPOE authentication request to the authentication authorization accounting AAA server and after the AAA server checks the IPOE authentication request, and the specific steps are as follows:
step 1: obtaining an IP address by a common internet VLAN1 interface;
the optical modem adopts a PPPOE authentication or IPOE authentication mode, and acquires the IP address of the VLAN1 from the AAA server after passing the authentication of the user account and the user password.
Step 2: acquiring an IP address of a VLAN2 interface special for the gateway IPTV;
the optical modem adopts a PPPOE authentication or IPOE authentication mode, and acquires the target IP address from the AAA server after the authentication is carried out through a special VLAN port (VLAN 2 port) in the IPTV mode, a user account and a user password.
The optical modem receives the DISCOVER message sent by the set-top box terminal, authenticates a special VLAN port of the IPTV mode, a user account number and a user password carried in the DISCOVER message, generates a target OFFER message according to an authentication result, and sends the target OFFER message to the set-top box terminal so that the set-top box terminal can determine a networking mode according to the content of the target OFFER message.
It should be noted that the DISCOVER message sent by the set-top box terminal carries the OPTION60 information, and the OPTION60 information is filled with the user account and the user password.
The networking method of the Internet television provided by the invention realizes the dynamic multiplexing of the gateway port by sending the authentication request to the gateway to obtain the target IP address, and realizes the self-adaptive networking of the Internet television according to the authentication result of the user identity.
Further, in an embodiment, step S6 may specifically include:
s61, if the fact that the special VLAN port of the IPTV mode is available and the user account and the user password are authenticated is determined to pass, the target OFFER message carrying the OPTION125 information of the preset fixed character string is sent to the terminal.
Optionally, after determining that the dedicated VLAN port in the IPTV mode is available (in an idle state, and is an IP address allocated by a legal DHCP) and the user account and the user password are authenticated, the optical modem encapsulates the OPTION125 information into a DHCP OFFER packet, generates a target OFFER message, and sends the target OFFER message to the set top box terminal, where the OPTION125 information carried in the target OFFER message includes a preset fixed character string, and for example, fills a fixed characteristic value in an "OPTION-data 1" field of the OPTION125 information.
It should be noted that the optical modem may also authenticate the current network port IP address, the user account, and the user password according to the OPTION60 information carried in the REQUEST message sent by the received set-top box terminal, and send the ACK message to the set-top box terminal according to the authentication result, where the ACK message also carries the OPTION125 information of the preset fixed character string.
According to the networking method of the Internet television, the set top box can automatically identify the upper layer networking equipment supporting the IPTV networking by introducing the appointed authentication algorithm in the IPOE protocol interaction for obtaining the address and appointing the OPTION125 message containing the characteristic value in the protocol message, and automatically start the IPTV mode according to the identification result.
Further, in an embodiment, step S6 may further specifically include:
s62, if determining that the special VLAN port in the IPTV mode is unavailable or the user account or user password authentication is not passed, sending a target OFFER message which does not carry the OPTION125 information of the preset fixed character string to the terminal; or
And sending the target OFFER message which does not carry the OPTION125 information to the terminal.
Optionally, when the optical modem determines that the IP address of the current network port is unavailable, or after the user account or the user password initiated by the set-top box terminal is not authenticated, a target offset message not carrying the OPTION125 information or a target offset message not carrying the OPTION125 information of a preset fixed character string is sent to the set-top box terminal, so that the set-top box terminal determines that the optical modem does not support IPTV according to the content of the received target offset message, and the set-top box terminal enables an OTT mode.
It should be noted that the optical modem may also authenticate the current network port IP address, the user account, or the user password according to the received REQUEST message carrying the OPTION60 information sent by the set-top box terminal, and send an ACK message not carrying the OPTION125 information or an ACK message not carrying the OPTION125 information with a preset fixed character string to the set-top box terminal after the authentication is passed, so that the set-top box terminal determines that the optical modem does not support IPTV according to the content of the received ACK message, and the set-top box terminal enables the OTT mode.
The internet television networking method provided by the invention can also be suitable for a set top box terminal upper connection router, and a scene that the router is in butt joint with a gateway (optical modem), specifically:
the router is used as a gateway to apply for a target IP address to the optical modem through DHCP, the set top box terminal still initiates IPOE authentication to the router according to the scene mode that the set top box terminal is directly connected with the optical modem, the router is a public third-party network device, the OPTION60 information carried in DISCOVER information initiated by the set top box terminal cannot be identified, at the moment, the router can normally allocate the IP address, and the router does not contain the OPTION125 information of a preset fixed character string in the fed-back OFFER information.
If the OFFER message received by the set-top box terminal does not contain the OPTION125 information of the preset fixed character string, the uplink router device is considered not to support the IPTV, and the set-top box terminal starts the OTT mode.
According to the networking method of the Internet television, the set top box can automatically recognize that the upper layer networking equipment does not support IPTV networking by introducing the appointed authentication algorithm in the IPOE protocol interaction for obtaining the address and appointing the OPTION125 message containing the characteristic value in the protocol message, and automatically starts the OTT mode according to the recognition result.
The internet television networking system provided by the invention is described below, and the internet television networking system described below and the internet television networking method described above can be correspondingly referred to each other.
Fig. 5 is a schematic structural diagram of an internet television networking system provided in the present invention, as shown in fig. 5, an address obtaining module 510, a message sending module 511, and a networking determining module 512;
an address obtaining module 510, configured to send an IPOE authentication request to a gateway to obtain a target IP address;
a message sending module 511, configured to send a DISCOVER message to a gateway;
a networking determining module 512, configured to receive a target OFFER message fed back by a gateway, and determine a networking mode according to the target OFFER message;
wherein, the DISCOVER message carries the user account and the user password;
the target OFFER message is determined by the gateway after authenticating the dedicated VLAN port for the IPTV mode, the user account and the user password.
The networking system of the Internet television provided by the invention realizes dynamic multiplexing of gateway ports by sending an authentication request to the gateway to acquire a target IP address, and realizes self-adaptive networking of the Internet television according to the authentication result of the user identity.
Fig. 6 is a second schematic structural diagram of the internet television networking system provided by the present invention, as shown in fig. 6, including: an address sending module 610, a message receiving module 611 and a networking determining module 612;
the address sending module 610 is configured to receive an IPOE authentication request sent by the terminal, and send the target IP address to the terminal after the authentication is passed;
a message receiving module 611, configured to receive a DISCOVER message sent by a terminal;
a networking determining module 612, configured to authenticate a dedicated VLAN port in the IPTV mode, a user account and a user password carried in the DISCOVER message, and send a target OFFER message to the terminal according to an authentication result, so that the terminal determines a networking mode according to the target OFFER message;
the target IP address is obtained by sending an IPOE authentication request to the AAA server and verifying the IPOE authentication request by the AAA server.
The networking system of the Internet television provided by the invention realizes dynamic multiplexing of gateway ports by sending an authentication request to the gateway to acquire a target IP address, and realizes self-adaptive networking of the Internet television according to the authentication result of the user identity.
Fig. 7 is a schematic physical structure diagram of an electronic device provided in the present invention, and as shown in fig. 7, the electronic device may include: a processor (processor) 710, a communication interface 711, a memory (memory) 712, and a bus (bus) 713, wherein the processor 710, the communication interface 711, and the memory 712 are configured to communicate with each other via the bus 713. The processor 710 may call logic instructions in the memory 712 to perform the following method:
sending an IP communication protocol IPOE authentication request based on the Ethernet to a gateway to acquire a target IP address;
sending a DISCOVER message to a gateway;
receiving a target OFFER message fed back by the gateway, and determining a networking mode according to the target OFFER message;
the DISCOVER message carries a user account and a user password;
the target OFFER message is determined by the gateway after authenticating the dedicated VLAN port for the IPTV mode, the user account and the user password.
In addition, the logic instructions in the memory may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention or a part thereof, which essentially contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer power screen (which may be a personal computer, a server, or a network power screen, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various media capable of storing program codes.
Fig. 8 is a second schematic physical structure diagram of an electronic device provided in the present invention, as shown in fig. 8, the electronic device may include: a processor (processor) 810, a communication interface (communication interface) 811, a memory (memory) 812 and a bus (bus) 813, wherein the processor 810, the communication interface 811 and the memory 812 are configured to communicate with each other via the bus 813. The processor 810 may call logic instructions in the memory 812 to perform the following method:
receiving an IPOE authentication request sent by a terminal, and sending a target IP address to the terminal after the authentication is passed;
receiving a DISCOVER message sent by a terminal;
authenticating a special VLAN port of the IPTV mode, a user account number and a user password carried in the DISCOVER message, and sending a target OFFER message to the terminal according to an authentication result so that the terminal can determine a networking mode according to the target OFFER message;
the target IP address is obtained by sending an IPOE authentication request to an authentication authorization accounting AAA server and verifying the IPOE authentication request by the AAA server.
In addition, the logic instructions in the memory may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention or a part thereof, which essentially contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer power screen (which may be a personal computer, a server, or a network power screen, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various media capable of storing program codes.
Further, the present invention discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the internet television networking method provided by the above method embodiments, for example, comprising:
sending an IP communication protocol IPOE authentication request based on the Ethernet to a gateway to acquire a target IP address;
sending a DISCOVER message to a gateway;
receiving a target OFFER message fed back by the gateway, and determining a networking mode according to the target OFFER message;
the DISCOVER message carries a user account and a user password;
the target OFFER message is determined by the gateway after authenticating the special VLAN port of the IPTV mode, the user account and the user password.
Further, the present invention discloses a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, the computer is capable of executing the internet television networking method provided by the above-mentioned method embodiments, for example, comprising:
receiving an IPOE authentication request sent by a terminal, and sending a target IP address to the terminal after the authentication is passed;
receiving a DISCOVER message sent by a terminal;
authenticating a special VLAN port of the IPTV mode, a user account number and a user password carried in the DISCOVER message, and sending a target OFFER message to the terminal according to an authentication result so that the terminal can determine a networking mode according to the target OFFER message;
the target IP address is obtained by sending an IPOE authentication request to an authentication authorization accounting AAA server and verifying the IPOE authentication request by the AAA server.
In another aspect, the present invention also provides a non-transitory computer readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to execute the internet television networking method provided in the foregoing embodiments, for example, the method includes:
sending an IP communication protocol IPOE authentication request based on the Ethernet to a gateway to acquire a target IP address;
sending a DISCOVER message to a gateway;
receiving a target OFFER message fed back by the gateway, and determining a networking mode according to the target OFFER message;
wherein, the DISCOVER message carries the user account and the user password;
the target OFFER message is determined by the gateway after authenticating the special VLAN port of the IPTV mode, the user account and the user password.
In another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to execute the internet television networking method provided in the foregoing embodiments, for example, the method includes:
receiving an IPOE authentication request sent by a terminal, and sending a target IP address to the terminal after the authentication is passed;
receiving a DISCOVER message sent by a terminal;
authenticating a VLAN port special for the IPTV mode, a user account number and a user password carried in a DISCOVER message, and sending a target OFFER message to the terminal according to an authentication result so that the terminal can determine a networking mode according to the target OFFER message;
the target IP address is obtained by sending an IPOE authentication request to an authentication, authorization and accounting (AAA) server and verifying the IPOE authentication request by the AAA server.
The above-described system embodiments are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer power supply screen (which may be a personal computer, a server, or a network power supply screen, etc.) to execute the methods described in the embodiments or some portions of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An internet television networking method, comprising:
sending an IP communication protocol IPOE authentication request based on the Ethernet to a gateway to acquire a target IP address;
sending a DISCOVER message to the gateway;
receiving a target OFFER message fed back by the gateway, and determining a networking mode according to the target OFFER message;
the DISCOVER message carries a user account and a user password;
and the target OFFER message is determined by the gateway after authenticating the special VLAN port in the IPTV mode, the user account and the user password.
2. The method for networking internet television of claim 1, wherein the determining a networking mode according to the target OFFER message comprises:
and if the target OFFER message is determined to carry the OPTION125 information of a preset fixed character string, switching the networking mode to an IPTV mode.
3. The internet television networking method according to claim 1, wherein the determining a networking mode according to the target OFFER message further comprises:
and if the target OFFER message is determined not to carry the OPTION125 information of a preset fixed character string, or if the target OFFER message is determined not to carry the OPTION125 information, switching the networking mode to an OTT mode.
4. An internet television networking method, comprising:
receiving an IPOE authentication request sent by a terminal, and sending a target IP address to the terminal after the authentication is passed;
receiving a DISCOVER message sent by the terminal;
authenticating a VLAN port special for the IPTV mode, a user account and a user password carried in the DISCOVER message, and sending a target OFFER message to the terminal according to an authentication result so that the terminal can determine a networking mode according to the target OFFER message;
wherein, the target IP address is obtained by sending the IPOE authentication request to an Authentication Authorization Accounting (AAA) server and after the AAA server checks the IPOE authentication request.
5. The internet television networking method according to claim 4, wherein the authenticating the dedicated VLAN port in the IPTV mode, the user account and the user password carried in the DISCOVER message, and sending the target OFFER message to the terminal according to the authentication result comprises:
and if the fact that the dedicated VLAN port in the IPTV mode is available and the user account and the user password are authenticated is determined to pass, sending the target OFFER message carrying the OPTION125 information of a preset fixed character string to the terminal.
6. The internet television networking method according to claim 4, wherein the authenticating the dedicated VLAN port in the IPTV mode, the user account and the user password carried in the DISCOVER message, and sending the target OFFER message to the terminal according to an authentication result, further comprises:
if the dedicated VLAN port in the IPTV mode is determined to be unavailable or the user account or the user password authentication is not passed, sending the target OFFER message which does not carry the OPTION125 information of a preset fixed character string to the terminal; or
And sending the target OFFER message which does not carry the OPTION125 information to the terminal.
7. An internet television networking system, comprising: the device comprises an address acquisition module, a message sending module and a networking determination module;
the address acquisition module is used for sending an IPOE authentication request to the gateway to acquire a target IP address;
the message sending module is used for sending the DISCOVER message to the gateway;
the networking determining module is used for receiving the target OFFER message fed back by the gateway and determining a networking mode according to the target OFFER message;
wherein, the DISCOVER message carries a user account and a user password;
and the target OFFER message is determined by the gateway after authenticating the special VLAN port in the IPTV mode, the user account and the user password.
8. An internet television networking system, comprising: the device comprises an address sending module, a message receiving module and a networking determining module;
the address sending module is used for receiving an IPOE authentication request sent by the terminal and sending the target IP address to the terminal after the authentication is passed;
the message receiving module is used for receiving a DISCOVER message sent by the terminal;
the networking determining module is configured to authenticate a dedicated VLAN port of the IPTV mode, a user account and a user password carried in the DISCOVER message, and send a target OFFER message to the terminal according to an authentication result, so that the terminal determines a networking mode according to the target OFFER message;
wherein, the target IP address is obtained by sending the IPOE authentication request to an AAA server and verifying the IPOE authentication request by the AAA server.
9. An electronic device comprising a memory, a processor and a computer program stored on said memory and executable on said processor, wherein said processor when executing said computer program performs the steps of the internet television networking method of any of claims 1 to 3 or the steps of the internet television networking method of any of claims 4 to 6.
10. A non-transitory computer readable storage medium, having stored thereon a computer program, wherein the computer program, when being executed by a processor, performs the steps of the internet television networking method according to any one of claims 1 to 3, or performs the steps of the internet television networking method according to any one of claims 4 to 6.
CN202110475006.4A 2021-04-29 2021-04-29 Internet television networking method and system Active CN115278373B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110475006.4A CN115278373B (en) 2021-04-29 2021-04-29 Internet television networking method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110475006.4A CN115278373B (en) 2021-04-29 2021-04-29 Internet television networking method and system

Publications (2)

Publication Number Publication Date
CN115278373A true CN115278373A (en) 2022-11-01
CN115278373B CN115278373B (en) 2023-10-27

Family

ID=83745472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110475006.4A Active CN115278373B (en) 2021-04-29 2021-04-29 Internet television networking method and system

Country Status (1)

Country Link
CN (1) CN115278373B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117319353A (en) * 2023-11-29 2023-12-29 西安优光谱信息科技有限公司 Address allocation method and system for down-hanging terminal in FTTR sub-optical cat bridge mode

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480399A (en) * 2010-11-30 2012-05-30 中国电信股份有限公司 Multi-service authentication method based on IPoE and system thereof
CN105871792A (en) * 2015-01-23 2016-08-17 中兴通讯股份有限公司 Multimedia content sending and receiving method and device, and home gateway
WO2018214154A1 (en) * 2017-05-26 2018-11-29 Thomson Licensing Data forwarding method to support media access control over the top gateway
CN110830333A (en) * 2018-08-09 2020-02-21 中兴通讯股份有限公司 Intelligent household equipment access authentication method, device, gateway and storage medium
CN112437355A (en) * 2020-11-23 2021-03-02 深圳市友华软件科技有限公司 Method and system for realizing three-layer multicast

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480399A (en) * 2010-11-30 2012-05-30 中国电信股份有限公司 Multi-service authentication method based on IPoE and system thereof
CN105871792A (en) * 2015-01-23 2016-08-17 中兴通讯股份有限公司 Multimedia content sending and receiving method and device, and home gateway
WO2018214154A1 (en) * 2017-05-26 2018-11-29 Thomson Licensing Data forwarding method to support media access control over the top gateway
CN110830333A (en) * 2018-08-09 2020-02-21 中兴通讯股份有限公司 Intelligent household equipment access authentication method, device, gateway and storage medium
CN112437355A (en) * 2020-11-23 2021-03-02 深圳市友华软件科技有限公司 Method and system for realizing three-layer multicast

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
李昀, 储轶钢: "移动互联网时代运营商OTT业务网络承载方案浅论", 中国新通信, vol. 16, no. 21 *
李明春, 李长春: "一种多业务融合终端的设计方案", 光通信研究, vol. 2017, no. 04 *
潘洪涛, 董立彪: "基于DHCP技术的广电网多业务接入认证应用", 广播电视信息, vol. 2013, no. 05 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117319353A (en) * 2023-11-29 2023-12-29 西安优光谱信息科技有限公司 Address allocation method and system for down-hanging terminal in FTTR sub-optical cat bridge mode
CN117319353B (en) * 2023-11-29 2024-03-08 西安优光谱信息科技有限公司 Address allocation method and system for down-hanging terminal in FTTR sub-optical cat bridge mode

Also Published As

Publication number Publication date
CN115278373B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
CN100388739C (en) Method and system for contributing DHCP addresses safely
CN101141492B (en) Method and system for implementing DHCP address safety allocation
US8099517B2 (en) Assigning priority to network traffic at customer premises
US9967738B2 (en) Methods and arrangements for enabling data transmission between a mobile device and a static destination address
CN101110847B (en) Method, device and system for obtaining medium access control address
EP2234343A1 (en) Method, device and system for selecting service network
CN110958272B (en) Identity authentication method, identity authentication system and related equipment
US20090043891A1 (en) Mobile WiMax network system including private network and control method thereof
EP2615788A1 (en) Method for dual stack user management and broadband access server
US20080192751A1 (en) Method and system for service provision
CN101043331A (en) System and method for distributing address for network equipment
US11265244B2 (en) Data transmission method, PNF SDN controller, VNF SDN controller, and data transmission system
US10411994B2 (en) Multi-link convergence method, server, client, and system
CN105812252B (en) A kind of method of home gateway, system and terminal access multicast service
WO2014110984A1 (en) Authentication method and apparatus for accessing network by user terminal
CN106131177B (en) Message processing method and device
CN115278373B (en) Internet television networking method and system
WO2011095079A1 (en) Method, device and system for allocating ip address
CN101184100A (en) User access authentication method based on dynamic host machine configuration protocol
CN101588357B (en) Router and method for indentifying user identity applying same
CN107046568B (en) Authentication method and device
CN115002933A (en) Session establishment system, method, electronic device and storage medium
CN110620751A (en) WIFI routing terminal, access gateway, authentication method and authentication system thereof
JP2003224577A (en) Internet repeater
US20230254691A1 (en) Authentication and data flow control configuration

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