CN111464836B - Wired digital set-top box terminal network management method and system - Google Patents

Wired digital set-top box terminal network management method and system Download PDF

Info

Publication number
CN111464836B
CN111464836B CN202010268138.5A CN202010268138A CN111464836B CN 111464836 B CN111464836 B CN 111464836B CN 202010268138 A CN202010268138 A CN 202010268138A CN 111464836 B CN111464836 B CN 111464836B
Authority
CN
China
Prior art keywords
top box
digital set
cable digital
management server
cable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010268138.5A
Other languages
Chinese (zh)
Other versions
CN111464836A (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.)
Shandong Zhongke Advanced Technology Research Institute Co ltd
Shenzhen Institute of Advanced Technology of CAS
Original Assignee
Shandong Zhongke Advanced Technology Research Institute Co ltd
Shenzhen Institute of Advanced Technology of CAS
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 Shandong Zhongke Advanced Technology Research Institute Co ltd, Shenzhen Institute of Advanced Technology of CAS filed Critical Shandong Zhongke Advanced Technology Research Institute Co ltd
Publication of CN111464836A publication Critical patent/CN111464836A/en
Application granted granted Critical
Publication of CN111464836B publication Critical patent/CN111464836B/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • H04N21/25816Management of client data involving client authentication
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Abstract

The invention discloses a method and a system for managing a terminal network of a cable digital set top box. The method comprises the steps of firstly, obtaining an internal network address of the cable digital set top box, carrying out network address conversion to generate a public network address, and searching a terminal management server in an external network based on the public network address; then the cable digital set-top box is connected with a terminal management server for registration and authentication, and the terminal management server creates 4 threads and 2 modules for the authenticated cable digital set-top box; therefore, the authenticated cable digital set top box can inquire the equipment condition of the accessed user terminal equipment through the 4 threads and the 2 modules, can realize the manageability and controllability of the user terminal, and is butted with other service expenses through the terminal network management; the terminal management server or the user terminal equipment can also master the working state and parameter configuration of the terminal set-top box in real time through the 4 threads and the 2 modules, and remotely maintain the authenticated cable digital set-top box.

Description

Wired digital set-top box terminal network management method and system
Technical Field
The invention relates to the technical field of digital communication, in particular to a method and a system for managing a terminal network of a wired digital set-top box.
Background
At present, mainstream digital home terminal products in the market are diversified, but most of the mainstream digital home terminal products are accessed by radio frequency transmission of broadcasting and television and digital Ethernet, the functions are mainly concentrated in the application range of bidirectional interaction of a digital television and network media, and some manufacturer products integrate the playing function of an optical disc or a hard disc, but effective association is not formed on the integral integrated control and intelligent linkage of the intelligent home, so that the popularization and application of the products are still limited to the range of a single set top box. In the prior art, the cable digital set top box device cannot check the device condition of an accessed user terminal, and a user cannot master the working state and parameter configuration of the terminal set top box in real time and cannot carry out remote maintenance.
Disclosure of Invention
The invention aims to provide a method and a system for managing a terminal network of a wired digital set-top box, which are used for solving the problems that the conventional wired digital set-top box equipment cannot check the equipment condition of an accessed user terminal and a user cannot remotely maintain the terminal set-top box.
In order to achieve the purpose, the invention provides the following scheme:
a method for managing a terminal network management of a wired digital set top box comprises the following steps:
acquiring an internal network address of the wired digital set top box;
performing network address conversion on the internal network address to generate a public network address;
searching a server in an external network based on the public network address to find a terminal management server;
the wired digital set top box is connected with the terminal management server for registration authentication to obtain an authenticated wired digital set top box;
the terminal management server creates 4 threads and 2 modules for the authenticated cable digital set top box;
the authenticated cable digital set-top box inquires about the equipment condition of the accessed user terminal equipment through the 4 threads and the 2 modules;
and the terminal management server or the user terminal equipment remotely maintains the authenticated cable digital set-top box through the 4 threads and the 2 modules.
Optionally, the acquiring the internal network address of the cable digital set-top box specifically includes:
acquiring an internal network address of the cable digital set-top box from a cable modem of the cable digital set-top box;
the main control end of the cable digital set top box performs network access through the cable modem; and the cable modem performs access control on the master control terminal according to the access control list.
Optionally, the wired digital set-top box is connected to the terminal management server for registration authentication, so as to obtain an authenticated wired digital set-top box, and the method specifically includes:
judging whether the cable digital set top box is in first starting authentication or not, and obtaining a first judgment result;
if the first judgment result is that the cable digital set-top box is in first-time startup authentication, the cable digital set-top box calls an Inform request function in a TR069 remote process calling method to be connected with the terminal management server for first-time startup authentication, and one Event Code in the Inform request function is set as BOOTSTRAP; the terminal management server responds to the InformResponse to the cable digital set-top box to obtain the authenticated cable digital set-top box;
if the first judgment result is that the cable digital set-top box is not the first BOOT authentication, determining that the cable digital set-top box is the common BOOT authentication, calling an Inform request function in a TR069 remote process calling method to connect the terminal management server for the common BOOT authentication, and setting an Event Code in the Inform request function as BOOT; and the terminal management server responds to the InformResponse to the cable digital set-top box to obtain the authenticated cable digital set-top box.
Optionally, the determining whether the cable digital set-top box is authenticated by first booting to obtain a first determination result specifically includes:
judging whether the cable digital set-top box is connected to the terminal management server system for the first time or not, and obtaining a second judgment result;
if the second judgment result is that the cable digital set top box is connected to the terminal management server system for the first time, the first judgment result is that the cable digital set top box is authenticated by starting up for the first time;
if the second judgment result is that the cable digital set top box is not connected to the terminal management server system for the first time, judging whether the cable digital set top box is restored to factory settings or not, and obtaining a third judgment result;
if the third judgment result is that the wired digital set-top box is restored to factory settings, the first judgment result is that the wired digital set-top box is authenticated for the first time;
if the third judgment result is that the wired digital set-top box is not restored to factory settings, judging whether a terminal management server uniform resource locator configured by the wired digital set-top box is changed or not, and obtaining a fourth judgment result;
if the fourth judgment result is that the uniform resource locator of the terminal management server configured by the cable digital set-top box is changed, the first judgment result is that the cable digital set-top box is firstly started up and authenticated;
if the fourth judgment result indicates that the uniform resource locator of the terminal management server configured by the cable digital set-top box is not changed, the first judgment result indicates that the cable digital set-top box is not in the first boot authentication.
Optionally, the terminal management server creates 4 threads and 2 modules for the authenticated cable digital set-top box, and specifically includes:
the terminal management server creates 4 threads for the authenticated cable digital set top box; the 4 threads comprise a thread A, a thread B, a thread C and a thread D; the thread A is a server monitoring thread and is used for monitoring a connection request initiated by an automatic configuration server ACS; the thread B is a reporting control thread and is used for controlling heartbeat reporting and fault reporting; the thread C is used for processing special things; the thread D is used for completing error reporting;
the terminal management server creates 2 modules for the authenticated wired digital set-top box; the 2 modules comprise a module E and a module F; the module E is a connection function module and is used for establishing the connection from the authenticated wired digital set-top box to the ACS; the module F is a processing module, and is configured to process a transaction session between the CPE and the ACS.
A wired digital set-top box terminal network management system comprises:
the internal network address acquisition module is used for acquiring the internal network address of the wired digital set top box;
the network address conversion module is used for carrying out network address conversion on the internal network address to generate a public network address;
the server discovery module is used for searching a server in an external network based on the public network address and finding a terminal management server;
the authentication module is used for connecting the wired digital set top box with the terminal management server to perform registration authentication so as to obtain the authenticated wired digital set top box;
the thread creating module is used for creating 4 threads and 2 modules for the authenticated cable digital set top box by the terminal management server;
the inquiry module is used for inquiring the equipment condition of the accessed user terminal equipment by the authenticated cable digital set top box through the 4 threads and the 2 modules;
and the remote maintenance module is used for the terminal management server or the user terminal equipment to remotely maintain the authenticated cable digital set-top box through the 4 threads and the 2 modules.
Optionally, the internal network address obtaining module specifically includes:
an internal network address obtaining unit, configured to obtain an internal network address of the cable digital set-top box from a cable modem of the cable digital set-top box;
the access control unit is used for the main control end of the cable digital set top box to access the network through the cable modem; and the cable modem performs access control on the master control terminal according to the access control list.
Optionally, the authentication module specifically includes:
the first-time starting-up authentication judging unit is used for judging whether the cable digital set-top box is in first-time starting-up authentication or not and obtaining a first judging result;
a first-time starting-up authentication unit, configured to, if the first determination result is that the cable digital set-top box is the first-time starting-up authentication, call an Inform request function in a TR069 remote procedure call method to connect to the terminal management server for the first-time starting-up authentication, and set an Event Code in the Inform request function as BOOTSTRAP; the terminal management server responds to the InformResponse to the cable digital set-top box to obtain the authenticated cable digital set-top box;
a common BOOT authentication unit, configured to determine that the cable digital set-top box is a common BOOT authentication if the first determination result indicates that the cable digital set-top box is not a first BOOT authentication, where the cable digital set-top box calls an Inform request function in a TR069 remote procedure call method to connect to the terminal management server for the common BOOT authentication, and sets an Event Code in the Inform request function as BOOT; and the terminal management server responds to the InformResponse to the cable digital set-top box to obtain the authenticated cable digital set-top box.
Optionally, the first-time boot authentication determining unit specifically includes:
the second judgment subunit is configured to judge whether the cable digital set-top box is connected to the terminal management server system for the first time, and obtain a second judgment result;
a first determination result subunit, configured to determine that the cable digital set-top box is authenticated for the first time when the second determination result indicates that the cable digital set-top box is connected to the terminal management server system for the first time;
a third determining subunit, configured to determine, if the second determination result indicates that the cable digital set-top box is not connected to the terminal management server system for the first time, whether the cable digital set-top box is restored to the factory setting, and obtain a third determination result;
a second determination result subunit, configured to determine that the cable digital set-top box is authenticated for the first time if the third determination result indicates that the cable digital set-top box is restored to the factory setting;
a fourth judging subunit, configured to, if the third judging result is that the cable digital set-top box is not restored to factory settings, judge whether a terminal management server uniform resource locator configured by the cable digital set-top box is changed, and obtain a fourth judging result;
a third judgment result subunit, configured to, if the fourth judgment result is that a terminal management server uniform resource locator configured by the cable digital set-top box is changed, determine that the cable digital set-top box is authenticated by first booting;
a fourth determination result subunit, configured to determine that the cable digital set-top box is not authenticated for the first time if the fourth determination result indicates that the terminal management server uniform resource locator configured by the cable digital set-top box is not changed.
Optionally, the thread creating module specifically includes:
the thread creating unit is used for creating 4 threads for the authenticated cable digital set top box by the terminal management server; the 4 threads comprise a thread A, a thread B, a thread C and a thread D; the thread A is a server monitoring thread and is used for monitoring a connection request initiated by an automatic configuration server ACS; the thread B is a reporting control thread and is used for controlling heartbeat reporting and fault reporting; the thread C is used for processing special things; the thread D is used for completing error reporting;
the module creating unit is used for the terminal management server to create 2 modules for the authenticated wired digital set top box; the 2 modules comprise a module E and a module F; the module E is a connection function module and is used for establishing the connection from the authenticated wired digital set-top box to the ACS; the module F is a processing module, and is configured to process a transaction session between the CPE and the ACS.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
the invention provides a method and a system for managing a terminal network of a cable digital set top box, wherein the method comprises the steps of firstly obtaining an internal network address of the cable digital set top box, carrying out network address conversion to generate a public network address, and searching a terminal management server in an external network based on the public network address; then the wired digital set-top box is connected with the terminal management server for registration and authentication, and the terminal management server creates 4 threads and 2 modules for the authenticated wired digital set-top box; therefore, the authenticated cable digital set top box can inquire the equipment condition of the accessed user terminal equipment through the 4 threads and the 2 modules; the terminal management server or the user terminal equipment can also remotely maintain the authenticated cable digital set-top box through the 4 threads and the 2 modules. By adopting the terminal network management method and the system, the manageability and controllability of the user terminal can be realized, and the terminal network management is butted with other service expenses; the user can also master the working state and parameter configuration of the terminal set-top box in real time, so as to carry out remote maintenance on the terminal set-top box.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a flow chart of a management method for a terminal network of a cable digital set-top box according to the present invention;
FIG. 2 is a schematic diagram of a management method for a terminal network of a cable digital set-top box according to the present invention;
fig. 3 is a structural diagram of a terminal network management system of a cable digital set-top box according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
The invention aims to provide a method and a system for managing a terminal network of a wired digital set-top box, which are used for solving the problems that the conventional wired digital set-top box equipment cannot check the equipment condition of an accessed user terminal and a user cannot remotely maintain the terminal set-top box.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Fig. 1 is a flowchart of a management method for a terminal network of a cable digital set-top box according to the present invention, and fig. 2 is a schematic diagram of the management method for the terminal network of the cable digital set-top box according to the present invention. Referring to fig. 1 and fig. 2, the method for managing a terminal network manager of a cable digital set-top box provided by the invention specifically includes:
step 101: and acquiring the internal network address of the cable digital set top box.
Referring to fig. 2, the terminal network management method of the present invention is initiated from the main control end of the cable digital set-top box (set-top box for short), obtains an internal network address (IP address) from the cable modem through network access control, finds a server and performs service authentication with the server after network address conversion, then creates each path of thread, and finally queries a message linked list.
The step 101 of acquiring the internal network address of the cable digital set-top box specifically includes:
step 1.1: acquiring an internal network address of the cable digital set-top box from a cable modem of the cable digital set-top box;
step 1.2: the main control end of the cable digital set top box performs network access through the cable modem; and the cable modem performs access control on the master control terminal according to the access control list.
The set-top box main control end is connected with the cable modem module through the network port, for a user, the set-top box main control end and the cable modem module are integrated, access authentication is not needed, but access control is needed, and illegal access under special conditions is prevented. And all network requirements of the set-top box need to be performed through a cable modem. And the cable modem performs access Control on the main Control end according to an Access Control List (ACL) (Access Control lists). If the access control refuses the connection, the access process is finished; if the access control allows a connection, a network address translation step 102 is performed.
Step 102: and carrying out network address conversion on the internal network address to generate a public network address.
The network used by the enterprise or the family is a private network, and a private address is used; the network maintained by the operator is a public network, and a public address is used. Private addresses cannot be routed in the public network. NAT (Network Address Translation) is a process of translating an IP Address in an IP datagram header into another IP Address, and is mainly used to implement a function of an internal Network (private IP Address) accessing an external Network (public IP Address). NATs are typically deployed on gateway devices that connect internal and external networks. When the source address of the received message is a private network address and the destination address is a public network address, the NAT can convert the source private network address into the public network address, so that the public network destination can receive the message and respond. In addition, a NAT mapping table is also created on the gateway so as to judge the private network destination address to which the message received from the public network is sent.
The present invention converts an internal network address (IP address) acquired from a cable modem into a network address, and then generates a public network address (IP address) to access an external network.
Step 103: and searching a server in an external network based on the public network address to find the terminal management server.
The terminal management server is established in an external network, communicates with a plurality of set top box devices and a plurality of user terminal devices (CPE), and stores information such as operating states and parameter configurations of the set top box devices and device information of the user terminal devices in a database.
Step 104: and the wired digital set top box is connected with the terminal management server for registration authentication to obtain the authenticated wired digital set top box.
The terminal set-top box equipment performs registration authentication on the server, and the authentication is divided into 2 types: first-time starting authentication and common authentication.
The first-time startup authentication means that the set top box is firstly connected with the terminal management server to perform equipment authentication registration, and the following three conditions are considered to be that the first-time startup authentication connection process is executed:
A. the device is connected to the terminal management server system for the first time;
B. after the equipment is restored to the factory setting;
C. the terminal management server uniform resource locator of the device configuration is changed.
When the authentication machine is started for the first time, the set-top box needs to Call an Inform method in a TR069 (user terminal equipment wide area network management protocol) Remote Procedure Call (RPC) method, wherein an EventCode in an Inform request is BOOTSTRAP, and the terminal management server responds to the Inform Response to the set-top box.
The common startup authentication means that the set top box is not connected with the terminal management server for the first time to perform equipment authentication registration, and is a common startup restarting process. During ordinary startup authentication, the set-top box needs to call an Inform method in a TR069 (user terminal equipment wide area network management protocol) RPC (remote procedure call) method, wherein an EventCode in an Inform request is BOOT, and a terminal management server responds to an Inform Response to the set-top box.
Wherein TR069 is a communication standard between a CPE (Customer Premise Equipment) and an Auto-Configuration Server (ACS), and if a Customer service provider uses the TR069 Auto-service provision function, the ACS automatically provides CPE parameters. If the user sets ACS parameters on the CPE and the ACS at the same time, the CPE automatically sets network parameters by using a TR069 function.
Therefore, the step 104 of connecting the wired digital set-top box to the terminal management server for registration authentication to obtain the authenticated wired digital set-top box specifically includes:
4.1: judging whether the cable digital set-top box is in the first boot authentication or not, and obtaining a first judgment result, wherein the method specifically comprises the following steps:
judging whether the cable digital set-top box is connected to the terminal management server system for the first time or not, and obtaining a second judgment result; if the second judgment result is yes, the first judgment result is that the cable digital set top box is firstly started up and authenticated; if the second judgment result is negative, continuously judging whether the cable digital set top box is restored to factory settings or not, and obtaining a third judgment result; if the third judgment result is yes, the first judgment result is that the cable digital set top box is firstly started up and authenticated; if the third judgment result is negative, continuously judging whether the uniform resource locator of the terminal management server configured by the wired digital set-top box is changed or not, and obtaining a fourth judgment result; if the fourth judgment result is yes, the first judgment result is that the cable digital set top box is firstly started up and authenticated; if the fourth judgment result is negative, the first judgment result is that the cable digital set top box is not the first-time startup authentication.
4.2: if the first judgment result is that the cable digital set-top box is in first-time startup authentication, the cable digital set-top box calls an Inform request function in a TR069 remote process calling method to be connected with the terminal management server for first-time startup authentication, and one Event Code in the Inform request function is set as BOOTSTRAP; the terminal management server responds to the InformResponse to the cable digital set-top box;
4.3: if the first judgment result is that the cable digital set-top box is not the first BOOT authentication, determining that the cable digital set-top box is the common BOOT authentication, calling an Inform request function in a TR069 remote process calling method to connect the terminal management server for the common BOOT authentication, and setting an Event Code in the Inform request function as BOOT; and the terminal management server responds to the InformResponse to the cable digital set-top box.
If the authentication is successful, the terminal management server creates 4 threads and 2 modules for the authenticated cable digital set top box to process various transactions. If the authentication fails, the access process is ended.
Step 105: and the terminal management server creates 4 threads and 2 modules for the authenticated cable digital set top box.
The terminal management server needs to create 4 threads and 2 modules for the authenticated cable digital set-top box to process different tasks respectively.
The 4 threads include thread A, thread B, thread C, and thread D. Wherein the thread A is a server monitoring thread for monitoring a connection request initiated by an ACS (auto configuration server) without performing an event process. The thread B is a reporting control thread and mainly controls heartbeat reporting and fault reporting without doing thing processing. Thread C is used for control of special transactions, here primarily ping and traceroute design for diagnostic testing. Wherein the ping command is used for testing the connectivity of the target address; the traceroute command is used for route tracing and shows the route from the source address to the target address. The thread D is mainly to create a thread from the binder to the media server (media play service) to complete error reporting. The binder mechanism is used to provide a method of inter-process communication such that one process may invoke functionality provided by another process in a form similar to a remote procedure call. The binder mechanism is provided in both Java environment and C/C + + environment.
The 2 modules include a module E and a module F. Wherein module E is a connection function module establishing a connection to an ACS (auto configuration server). Module F is a processing module that handles transaction sessions between the CPE (customer premises equipment) and the ACS (auto configuration server).
That is, the step 105 of the terminal management server creating 4 threads and 2 modules for the authenticated cable digital set-top box specifically includes:
5.1: the terminal management server creates 4 threads for the authenticated cable digital set top box; the 4 threads comprise a thread A, a thread B, a thread C and a thread D; the thread A is a server monitoring thread and is used for monitoring a connection request initiated by an automatic configuration server ACS; the thread B is a reporting control thread and is used for controlling heartbeat reporting and fault reporting; the thread C is used for processing special things; the thread D is used for completing error reporting;
5.2: the terminal management server creates 2 modules for the authenticated wired digital set-top box; the 2 modules comprise a module E and a module F; the module E is a connection function module and is used for establishing the connection from the authenticated wired digital set-top box to the ACS; the module F is a processing module, and is configured to process a transaction session between the CPE and the ACS.
Step 106: the authenticated cable digital set-top box inquires about the equipment condition of the accessed user terminal equipment through the 4 threads and the 2 modules;
if the 4 threads and the 2 modules are successfully established, the authenticated cable digital set-top box can inquire the message linked list through the 4 threads and the 2 modules, so that the equipment condition of the accessed user terminal equipment is inquired, the information condition that the accessed terminal equipment cannot be checked by the conventional set-top box equipment is changed, the terminal network management function is provided, the user terminal can be managed and controlled, and the set-top box can be in butt joint with other service expenses through the terminal network management function.
If the creation of 4 threads and 2 modules fails, the access process ends.
Step 107: and the terminal management server or the user terminal equipment remotely maintains the authenticated cable digital set-top box through the 4 threads and the 2 modules.
If the 4 threads and the 2 modules are successfully created, the terminal management server or the user terminal equipment can query the working state and the parameter configuration of the set top box in real time through the 4 threads and the 2 modules, perform remote maintenance and other operations, so that a user can master the working state and the parameter configuration of the terminal set top box in real time and perform remote maintenance on the authenticated wired digital set top box.
The user terminal equipment can be various types of home terminals, such as mobile terminals of televisions, network telephones, mobile phones and the like. By adopting the terminal network management method of the cable digital set top box, the functions of the existing single-function home terminal can be integrated to form an integrated intelligent terminal, so that the operation of each home terminal is more centralized and convenient, and the low-carbon requirement is met.
Furthermore, based on the terminal network management method of the wired digital set top box provided by the invention, the problem that the existing set top box can not simultaneously realize wired (digital television network, fixed telephone network, wired broadband, optical fiber network) access and wireless (3G, Wi-Fi, ZIGBEE) multi-network access can be further solved, multi-mode (ZIGBEE remote controller control, 3G mobile phone control, Wi-Fi handheld terminal control, PC control, human voice control and telephone voice control) control can be realized, and multi-direction visual voice communication between networks is realized. Based on the method, advanced technologies such as optical fiber sensing, security linkage control and the like can be introduced into the household intelligent set top box, and intelligent household control with a television (or household display equipment) as an interaction center can be established, so that the requirements of people on more humanization, more intelligence and more modernization of products are met.
Based on the method for managing the terminal network management of the cable digital set-top box provided by the invention, the invention also provides a system for managing the terminal network management of the cable digital set-top box, and referring to fig. 3, the system comprises:
an internal network address obtaining module 301, configured to obtain an internal network address of the wired digital set-top box;
a network address translation module 302, configured to perform network address translation on the internal network address to generate a public network address;
a server discovery module 303, configured to find a terminal management server by searching a server in an external network based on the public network address;
the authentication module 304 is used for connecting the wired digital set-top box with the terminal management server to perform registration authentication so as to obtain an authenticated wired digital set-top box;
a thread creating module 305, configured to create 4 threads and 2 modules for the authenticated cable digital set-top box by the terminal management server;
the query module 306 is used for querying the equipment condition of the accessed user terminal equipment by the authenticated cable digital set top box through the 4 threads and the 2 modules;
a remote maintenance module 307, configured to perform remote maintenance on the authenticated cable digital set-top box through the 4 threads and the 2 modules by the terminal management server or the user terminal device.
The internal network address obtaining module 301 specifically includes:
an internal network address obtaining unit, configured to obtain an internal network address of the cable digital set-top box from a cable modem of the cable digital set-top box;
the access control unit is used for the main control end of the cable digital set top box to access the network through the cable modem; and the cable modem performs access control on the master control terminal according to the access control list.
The authentication module 304 specifically includes:
the first-time starting-up authentication judging unit is used for judging whether the cable digital set-top box is in first-time starting-up authentication or not and obtaining a first judging result;
a first-time starting-up authentication unit, configured to, if the first determination result is that the cable digital set-top box is the first-time starting-up authentication, call an Inform request function in a TR069 remote procedure call method to connect to the terminal management server for the first-time starting-up authentication, and set an Event Code in the Inform request function as BOOTSTRAP; the terminal management server responds to the InformResponse to the cable digital set-top box to obtain the authenticated cable digital set-top box;
a common BOOT authentication unit, configured to determine that the cable digital set-top box is a common BOOT authentication if the first determination result indicates that the cable digital set-top box is not a first BOOT authentication, where the cable digital set-top box calls an Inform request function in a TR069 remote procedure call method to connect to the terminal management server for the common BOOT authentication, and sets an Event Code in the Inform request function as BOOT; and the terminal management server responds to the InformResponse to the cable digital set-top box to obtain the authenticated cable digital set-top box.
The first-time starting-up authentication judging unit specifically comprises:
the second judgment subunit is configured to judge whether the cable digital set-top box is connected to the terminal management server system for the first time, and obtain a second judgment result;
a first determination result subunit, configured to determine that the cable digital set-top box is authenticated for the first time when the second determination result indicates that the cable digital set-top box is connected to the terminal management server system for the first time;
a third determining subunit, configured to determine, if the second determination result indicates that the cable digital set-top box is not connected to the terminal management server system for the first time, whether the cable digital set-top box is restored to the factory setting, and obtain a third determination result;
a second determination result subunit, configured to determine that the cable digital set-top box is authenticated for the first time if the third determination result indicates that the cable digital set-top box is restored to the factory setting;
a fourth judging subunit, configured to, if the third judging result is that the cable digital set-top box is not restored to factory settings, judge whether a terminal management server uniform resource locator configured by the cable digital set-top box is changed, and obtain a fourth judging result;
a third judgment result subunit, configured to, if the fourth judgment result is that a terminal management server uniform resource locator configured by the cable digital set-top box is changed, determine that the cable digital set-top box is authenticated by first booting;
a fourth determination result subunit, configured to determine that the cable digital set-top box is not authenticated for the first time if the fourth determination result indicates that the terminal management server uniform resource locator configured by the cable digital set-top box is not changed.
The thread creating module 305 specifically includes:
the thread creating unit is used for creating 4 threads for the authenticated cable digital set top box by the terminal management server; the 4 threads comprise a thread A, a thread B, a thread C and a thread D; the thread A is a server monitoring thread and is used for monitoring a connection request initiated by an automatic configuration server ACS; the thread B is a reporting control thread and is used for controlling heartbeat reporting and fault reporting; the thread C is used for processing special things; the thread D is used for completing error reporting;
the module creating unit is used for the terminal management server to create 2 modules for the authenticated wired digital set top box; the 2 modules comprise a module E and a module F; the module E is a connection function module and is used for establishing the connection from the authenticated wired digital set-top box to the ACS; the module F is a processing module, and is configured to process a transaction session between the CPE and the ACS.
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. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

Claims (8)

1. A method for managing a terminal network management of a wired digital set top box is characterized by comprising the following steps:
acquiring an internal network address of the wired digital set top box;
performing network address conversion on the internal network address to generate a public network address;
searching a server in an external network based on the public network address to find a terminal management server;
the wired digital set top box is connected with the terminal management server for registration authentication to obtain an authenticated wired digital set top box;
the terminal management server creates 4 threads and 2 modules for the authenticated cable digital set top box; the method specifically comprises the following steps: the terminal management server creates 4 threads for the authenticated cable digital set top box; the 4 threads comprise a thread A, a thread B, a thread C and a thread D; the thread A is a server monitoring thread and is used for monitoring a connection request initiated by an automatic configuration server ACS; the thread B is a reporting control thread and is used for controlling heartbeat reporting and fault reporting; the thread C is used for processing special things; the thread D is used for completing error reporting; the terminal management server creates 2 modules for the authenticated wired digital set-top box; the 2 modules comprise a module E and a module F; the module E is a connection function module and is used for establishing the connection from the authenticated wired digital set-top box to the ACS; the module F is a processing module and is used for processing the transaction session between the CPE and the ACS of the user terminal equipment;
the authenticated cable digital set-top box inquires about the equipment condition of the accessed user terminal equipment through the 4 threads and the 2 modules;
and the terminal management server or the user terminal equipment remotely maintains the authenticated cable digital set-top box through the 4 threads and the 2 modules.
2. The method for managing a network manager of a terminal of a cable digital set-top box according to claim 1, wherein the acquiring an internal network address of the cable digital set-top box specifically comprises:
acquiring an internal network address of the cable digital set-top box from a cable modem of the cable digital set-top box;
the main control end of the cable digital set top box performs network access through the cable modem; and the cable modem performs access control on the master control terminal according to the access control list.
3. The method for managing a terminal of a cable digital set-top box according to claim 2, wherein the cable digital set-top box is connected to the terminal management server for registration and authentication, and the authenticated cable digital set-top box is obtained, specifically comprising:
judging whether the cable digital set top box is in first starting authentication or not, and obtaining a first judgment result;
if the first judgment result is that the cable digital set-top box is in first-time startup authentication, the cable digital set-top box calls an Inform request function in a TR069 remote process calling method to be connected with the terminal management server for first-time startup authentication, and one Event Code in the Inform request function is set as BOOTSTRAP; the terminal management server responds to the InformResponse to the cable digital set-top box to obtain the authenticated cable digital set-top box;
if the first judgment result is that the cable digital set-top box is not the first BOOT authentication, determining that the cable digital set-top box is the common BOOT authentication, calling an Inform request function in a TR069 remote process calling method to connect the terminal management server for the common BOOT authentication, and setting an Event Code in the Inform request function as BOOT; and the terminal management server responds to the InformResponse to the cable digital set-top box to obtain the authenticated cable digital set-top box.
4. The method for managing a network manager of a terminal of a cable digital set-top box according to claim 3, wherein the determining whether the cable digital set-top box is authenticated for the first boot to obtain a first determination result specifically comprises:
judging whether the cable digital set-top box is connected to the terminal management server system for the first time or not, and obtaining a second judgment result;
if the second judgment result is that the cable digital set top box is connected to the terminal management server system for the first time, the first judgment result is that the cable digital set top box is authenticated by starting up for the first time;
if the second judgment result is that the cable digital set top box is not connected to the terminal management server system for the first time, judging whether the cable digital set top box is restored to factory settings or not, and obtaining a third judgment result;
if the third judgment result is that the wired digital set-top box is restored to factory settings, the first judgment result is that the wired digital set-top box is authenticated for the first time;
if the third judgment result is that the wired digital set-top box is not restored to factory settings, judging whether a terminal management server uniform resource locator configured by the wired digital set-top box is changed or not, and obtaining a fourth judgment result;
if the fourth judgment result is that the uniform resource locator of the terminal management server configured by the cable digital set-top box is changed, the first judgment result is that the cable digital set-top box is firstly started up and authenticated;
if the fourth judgment result indicates that the uniform resource locator of the terminal management server configured by the cable digital set-top box is not changed, the first judgment result indicates that the cable digital set-top box is not in the first boot authentication.
5. A wired digital set-top box terminal network management system is characterized in that the system comprises:
the internal network address acquisition module is used for acquiring the internal network address of the wired digital set top box;
the network address conversion module is used for carrying out network address conversion on the internal network address to generate a public network address;
the server discovery module is used for searching a server in an external network based on the public network address and finding a terminal management server;
the authentication module is used for connecting the wired digital set top box with the terminal management server to perform registration authentication so as to obtain the authenticated wired digital set top box;
the thread creating module is used for creating 4 threads and 2 modules for the authenticated cable digital set top box by the terminal management server; the thread creating module specifically includes: the thread creating unit is used for creating 4 threads for the authenticated cable digital set top box by the terminal management server; the 4 threads comprise a thread A, a thread B, a thread C and a thread D; the thread A is a server monitoring thread and is used for monitoring a connection request initiated by an automatic configuration server ACS; the thread B is a reporting control thread and is used for controlling heartbeat reporting and fault reporting; the thread C is used for processing special things; the thread D is used for completing error reporting; the module creating unit is used for the terminal management server to create 2 modules for the authenticated wired digital set top box; the 2 modules comprise a module E and a module F; the module E is a connection function module and is used for establishing the connection from the authenticated wired digital set-top box to the ACS; the module F is a processing module and is used for processing the transaction session between the CPE and the ACS of the user terminal equipment;
the inquiry module is used for inquiring the equipment condition of the accessed user terminal equipment by the authenticated cable digital set top box through the 4 threads and the 2 modules;
and the remote maintenance module is used for the terminal management server or the user terminal equipment to remotely maintain the authenticated cable digital set-top box through the 4 threads and the 2 modules.
6. The cable digital set-top box terminal network management system according to claim 5, wherein the internal network address obtaining module specifically comprises:
an internal network address obtaining unit, configured to obtain an internal network address of the cable digital set-top box from a cable modem of the cable digital set-top box;
the access control unit is used for the main control end of the cable digital set top box to access the network through the cable modem; and the cable modem performs access control on the master control terminal according to the access control list.
7. The cable digital set-top box terminal network management system according to claim 6, wherein the authentication module specifically comprises:
the first-time starting-up authentication judging unit is used for judging whether the cable digital set-top box is in first-time starting-up authentication or not and obtaining a first judging result;
a first-time starting-up authentication unit, configured to, if the first determination result is that the cable digital set-top box is the first-time starting-up authentication, call an Inform request function in a TR069 remote procedure call method to connect to the terminal management server for the first-time starting-up authentication, and set an Event Code in the Inform request function as BOOTSTRAP; the terminal management server responds to the InformResponse to the cable digital set-top box to obtain the authenticated cable digital set-top box;
a common BOOT authentication unit, configured to determine that the cable digital set-top box is a common BOOT authentication if the first determination result indicates that the cable digital set-top box is not a first BOOT authentication, where the cable digital set-top box calls an Inform request function in a TR069 remote procedure call method to connect to the terminal management server for the common BOOT authentication, and sets an Event Code in the Inform request function as BOOT; and the terminal management server responds to the InformResponse to the cable digital set-top box to obtain the authenticated cable digital set-top box.
8. The wired digital set-top box terminal network management system according to claim 7, wherein the first boot authentication determining unit specifically comprises:
the second judgment subunit is configured to judge whether the cable digital set-top box is connected to the terminal management server system for the first time, and obtain a second judgment result;
a first determination result subunit, configured to determine that the cable digital set-top box is authenticated for the first time when the second determination result indicates that the cable digital set-top box is connected to the terminal management server system for the first time;
a third determining subunit, configured to determine, if the second determination result indicates that the cable digital set-top box is not connected to the terminal management server system for the first time, whether the cable digital set-top box is restored to the factory setting, and obtain a third determination result;
a second determination result subunit, configured to determine that the cable digital set-top box is authenticated for the first time if the third determination result indicates that the cable digital set-top box is restored to the factory setting;
a fourth judging subunit, configured to, if the third judging result is that the cable digital set-top box is not restored to factory settings, judge whether a terminal management server uniform resource locator configured by the cable digital set-top box is changed, and obtain a fourth judging result;
a third judgment result subunit, configured to, if the fourth judgment result is that a terminal management server uniform resource locator configured by the cable digital set-top box is changed, determine that the cable digital set-top box is authenticated by first booting;
a fourth determination result subunit, configured to determine that the cable digital set-top box is not authenticated for the first time if the fourth determination result indicates that the terminal management server uniform resource locator configured by the cable digital set-top box is not changed.
CN202010268138.5A 2019-12-27 2020-04-08 Wired digital set-top box terminal network management method and system Active CN111464836B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2019113791668 2019-12-27
CN201911379166 2019-12-27

Publications (2)

Publication Number Publication Date
CN111464836A CN111464836A (en) 2020-07-28
CN111464836B true CN111464836B (en) 2021-09-21

Family

ID=71678524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010268138.5A Active CN111464836B (en) 2019-12-27 2020-04-08 Wired digital set-top box terminal network management method and system

Country Status (1)

Country Link
CN (1) CN111464836B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540763A (en) * 2009-04-13 2009-09-23 中国联合网络通信集团有限公司 Home gateway, set-top box, method for configuring initialization parameters of set-top box and system
CN102185728A (en) * 2011-06-10 2011-09-14 上海志新信息科技有限公司 Communication system and method with unified management platform
CN109068131A (en) * 2018-10-26 2018-12-21 四川长虹电器股份有限公司 Realize the system and method for frame losing test between home gateway and set-top box

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7788394B2 (en) * 2006-08-31 2010-08-31 General Instrument Corporation Streaming content over an internet protocol network
CN101197737B (en) * 2008-01-09 2010-07-14 中兴通讯股份有限公司 Measuring apparatus and measuring method for IPTV access network
CN101369920B (en) * 2008-10-21 2011-04-20 中国电信股份有限公司 Terminal remote management method, system and terminal remote management platform
KR20120140043A (en) * 2011-06-20 2012-12-28 삼성전자주식회사 A set-top box and method for diagnostic of the same
CN103220554A (en) * 2013-04-12 2013-07-24 四川长虹电器股份有限公司 Long-distance real-time broadcast system based on intelligent set top box and implementation method
CN105357088B (en) * 2015-11-21 2019-04-23 浙江大学 Efficient system network transfer method under the interactive medium service environment of cloud framework
US10462456B2 (en) * 2016-04-14 2019-10-29 Contec, Llc Automated network-based test system for set top box devices
CN108124153A (en) * 2016-11-28 2018-06-05 中兴通讯股份有限公司 A kind of set-top box servicing method, set-top box and network management system
CN108134954A (en) * 2016-11-30 2018-06-08 中兴通讯股份有限公司 A kind of management method of Intelligent set top box, device, Intelligent set top box and system
CN108881209A (en) * 2018-06-11 2018-11-23 京信通信系统(中国)有限公司 Long-range processing method, apparatus and system
CN109600671B (en) * 2018-12-13 2021-02-19 四川九州电子科技股份有限公司 System and method for rapidly upgrading network set top box

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540763A (en) * 2009-04-13 2009-09-23 中国联合网络通信集团有限公司 Home gateway, set-top box, method for configuring initialization parameters of set-top box and system
CN102185728A (en) * 2011-06-10 2011-09-14 上海志新信息科技有限公司 Communication system and method with unified management platform
CN109068131A (en) * 2018-10-26 2018-12-21 四川长虹电器股份有限公司 Realize the system and method for frame losing test between home gateway and set-top box

Also Published As

Publication number Publication date
CN111464836A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
US6766364B2 (en) Template based configuration and validation of a network for enabling a requested service to be compatible with the previously enabled services
KR100942480B1 (en) A communication device and a system for managing the local devies remotely and the method thereof
CN110650070B (en) Household appliance network configuration method and WiFi module
US8111631B2 (en) Systems and methods for automatic configuration of customer premises equipments
CN101341710B (en) Supporting for integrated WLAN hot customer terminal
EP2448185B1 (en) Internet connection system and server for routing connections to client device
CN101141418B (en) Strategy based family network service identifying system and method
WO2011127706A1 (en) Device, system and method for realizing the intelligent home application
US20100039958A1 (en) Device, system, and method for automatically configuring application terminals in home network
EP1809005A2 (en) Remote access to local network
US8169935B2 (en) Multi-radio connection management and bundling using web browsers
JP2005539420A (en) Device equal connection method when realizing dynamic network configuration in home network
CN101702718A (en) Method and device for managing user terminal equipment
CA2645331A1 (en) A method for configuring remote ip phones
KR101944745B1 (en) Apparatus and method for configuring video telephony between computer engineering devices
CN111327531B (en) VDC-based routing configuration method, device, equipment and readable storage medium
US9503583B2 (en) Peer-to-peer, internet protocol telephone system with proxy interface for configuration data
KR20140101405A (en) Methods and systems for enabling nat traversal
CN111464836B (en) Wired digital set-top box terminal network management method and system
CN105281923A (en) Video conference call implementing method and device based on user identifier
KR100909115B1 (en) Network automatic login system
KR20040054213A (en) Home network control system using wire/wireless communication terminal and method thereof
KR100492543B1 (en) Remote controlling method and system for device in home network
CN111787515A (en) Method for establishing and managing home wireless network in NFC non-contact mode
KR100431701B1 (en) Network Management System and Method

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