WO2017071432A1 - Automatic configuration method, set-top box, server and computer storage medium - Google Patents

Automatic configuration method, set-top box, server and computer storage medium Download PDF

Info

Publication number
WO2017071432A1
WO2017071432A1 PCT/CN2016/099639 CN2016099639W WO2017071432A1 WO 2017071432 A1 WO2017071432 A1 WO 2017071432A1 CN 2016099639 W CN2016099639 W CN 2016099639W WO 2017071432 A1 WO2017071432 A1 WO 2017071432A1
Authority
WO
WIPO (PCT)
Prior art keywords
network management
registration
top box
service parameter
registration information
Prior art date
Application number
PCT/CN2016/099639
Other languages
French (fr)
Chinese (zh)
Inventor
冯交交
罗江
Original Assignee
深圳市中兴微电子技术有限公司
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 深圳市中兴微电子技术有限公司 filed Critical 深圳市中兴微电子技术有限公司
Publication of WO2017071432A1 publication Critical patent/WO2017071432A1/en

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/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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • 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
    • 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/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • 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/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
    • H04N21/4432Powering on the client, e.g. bootstrap loading using setup parameters being stored locally or received from the server

Definitions

  • the present invention relates to a set top box registration technology in the field of communications, and more particularly to an automatic configuration method, a set top box, a server, and a computer storage medium.
  • IPTV Internet Protocol Television
  • the IPTV is a receiving device based on a broadband network, and is mainly a receiving device such as a computer, a television set, a network set-top box, a mobile phone, etc., and utilizes a broadband cable television network to realize a technology of integrating the Internet, multimedia, and communication.
  • the network management server based on the CPE WAN management protocol (Technical Report 069, TR069) protocol is uniformly used for unified management of the IPTV smart set top box.
  • the customer terminal equipment CPE
  • the TR069 network management server can be conveniently located.
  • the IPTV set-top box performs operations such as transmitting service parameters, collecting performance data, or remotely diagnosing a set-top box.
  • the registration information usually includes the network service parameters and video service parameters of the set-top box.
  • the configuration of the network management server provided by different operators varies widely.
  • the same set-top box needs to be configured with different network service parameters for different network management servers. Therefore, the network management service parameters of the set-top box are huge. If the registration information is manually input, the workload will be large, the installation efficiency is low, and the error rate is high. Not good.
  • the embodiments of the present invention are expected to provide an automatic configuration method, a set top box, a server, and a computer storage medium, which can automatically complete the registration of the set top box, improve the installation efficiency of the set top box, and the success rate of registration, thereby improving the user experience.
  • an embodiment of the present invention provides an automatic configuration method for a set top box, including:
  • the registration information includes network management service parameters and/or video service parameters
  • the method further includes:
  • the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter is incorrect, or the video service parameter is incorrect;
  • an embodiment of the present invention provides an automatic configuration method for a network management server, including:
  • Registration information sent by the receiver set-top box where the registration information includes network management service parameters and/or video service parameters;
  • the registration of the set top box is completed according to the registration information.
  • the method further includes:
  • the registration failure information is sent to the set top box, where the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter has The error, or the video service parameter is incorrect, so that the set top box acquires new network management service parameters or new video service parameters according to the error identifier.
  • the method further includes:
  • the completing the registration of the set top box according to the registration information includes:
  • the registration of the set top box is completed according to the new network management service parameter or the new video service parameter.
  • an embodiment of the present invention provides a set top box, including:
  • An obtaining unit configured to obtain registration information, where the registration information includes a network management service parameter and/or a video service parameter;
  • the sending unit is configured to send the registration information to the network management server.
  • the set top box further includes:
  • a receiving unit configured to receive the registration failure information sent by the network management server, where the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter is incorrect, or the video service parameter is incorrect;
  • the acquiring unit is further configured to acquire a new network management service parameter or a new video service parameter according to the error identifier;
  • the sending unit is further configured to send the new network management service parameter or the new video service parameter to the network management server.
  • an embodiment of the present invention provides a network management server, including:
  • the receiving unit is configured to register information sent by the receiver set top box, where the registration information includes network management service parameters and/or video service parameters;
  • the registration unit is configured to complete registration of the set top box according to the registration information when the registration information satisfies the registration condition.
  • the network management server further includes:
  • a sending unit configured to send registration failure information to the set top box when the registration information does not meet the registration condition, where the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter is incorrect, or The video service parameter is incorrect, so that the set top box acquires new network management service parameters or new video service parameters according to the error identifier.
  • the receiving unit is further configured to receive a new network management service parameter or the new video service parameter sent by the set top box;
  • the registration unit is further configured to complete registration of the set top box according to the new network management service parameter or the new video service parameter.
  • an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute any one of the foregoing automatic configuration methods.
  • An embodiment of the present invention provides an automatic configuration method, a set top box, a server, and a computer storage medium.
  • the method for a set top box includes: acquiring registration information, where the registration information includes network management service parameters and/or video service parameters; The information is sent to the network management server. Since the set-top box can automatically obtain the registration information and send the registration information to the network management server, the registration process of the set-top box is automatically completed, and no manual input is required, thereby improving the installation efficiency of the set-top box and the success rate of registration, thereby improving the user experience.
  • FIG. 1 is a flowchart 1 of an automatic configuration method according to an embodiment of the present invention
  • FIG. 2 is a flowchart 2 of an automatic configuration method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart 3 of an automatic configuration method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural view 1 of a set top box according to an embodiment of the present invention.
  • Figure 5 is a schematic structural view 2 of a set top box according to an embodiment of the present invention.
  • Figure 6 is a schematic structural view 3 of a set top box according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram 1 of a gateway server according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram 2 of a gateway server according to an embodiment of the present invention.
  • An embodiment of the present invention provides an automatic configuration method, as shown in FIG. 1 , for a set top box, including:
  • Step 101 Acquire registration information, where the registration information includes network management service parameters and/or video service parameters.
  • the registration information needs to include the network management service parameters, and the network service parameters include the network management.
  • User name and password for example, if the set-top box currently needs to access the network of China Unicom, the user name and password of the network management is the user name and password of the user using the Unicom network; at the same time, the video system also needs to verify the legality of the user, so the registration information
  • the video service parameter includes a user name and a password for the video access of the set top box. For example, if the video signal of the radio and television center that the set top box needs to access, the video service parameter is the user at the radio and television center. user name and password.
  • the method may include: after the set top box is accessed in the predetermined network, the information may be exchanged with the gateway of the predetermined network, for example, the home gateway of the home network, and the network management is automatically obtained.
  • user name and password may be a parameter pre-configured in the set top box. For example, before the set top box is shipped, the user name and password in the video system presented to the user are pre-recorded in the storage medium of the set top box, or a certain The user name and password shared by the manufacturer. In this case, the set top box can obtain the video service parameters by reading the corresponding storage medium.
  • the obtaining the registration information may further include that the set top box acquires the registration information by interacting with information of a management database that manages the registration information.
  • a management database that manages the registration information.
  • Step 102 Send the registration information to a network management server.
  • the set-top box can generate a parameter tree according to the Tr069 protocol, and report the registration information to the network management server through the parameter tree.
  • the set top box can automatically obtain the registration information and send the registration information to the network management server, the registration process of the set top box is automatically completed, and no manual input is required, thereby improving the installation efficiency of the set top box and the success rate of registration, thereby improving the number of boxes. user experience.
  • the set top box may further receive the registration failure information sent by the network management server, where the registration failure information includes an error identifier, where the error identifier indicates the network management service The parameter is incorrect, or the video service parameter is incorrect; according to the error identifier, acquiring a new network management service parameter or a new video service parameter; sending the new network management service parameter or the new video service parameter to The network management server.
  • the registration failure information includes an error identifier, where the error identifier indicates the network management service The parameter is incorrect, or the video service parameter is incorrect; according to the error identifier, acquiring a new network management service parameter or a new video service parameter; sending the new network management service parameter or the new video service parameter to The network management server.
  • the registration information sent by the set-top box to the network management server may be incorrect, the information may be incorrect, including information incomplete or incorrect information.
  • the network management server cannot complete the information.
  • the network management server may send the registration failure information to the set-top box, and at the same time, because the registration information includes at least the network management service parameter or the video service parameter, in order for the set-top box to determine which parameter is incomplete or incorrect, the registration may be registered.
  • An error flag is added to the failure information, and different parameters correspond to different error identifiers, so that the set top box determines which parameter needs to be reacquired.
  • the new network management service parameter or the new video service parameter can be reported to the network management server through the parameter tree. number.
  • An embodiment of the present invention provides an automatic configuration method for a set top box.
  • the method includes: acquiring registration information, where the registration information includes a network management service parameter and/or a video service parameter; and the registration information is sent to the network management server. Since the set-top box can automatically obtain the registration information and send the registration information to the network management server, the registration process of the set-top box is automatically completed, and no manual input is required, thereby improving the installation efficiency of the set-top box and the success rate of registration, thereby improving the user experience.
  • An embodiment of the present invention provides an automatic configuration method, as shown in FIG. 2, for a network management server, including:
  • Step 201 The registration information sent by the receiver top box, where the registration information includes a network management service parameter and/or a video service parameter.
  • the network management server can send registration information through the parameter tree receiver set-top box.
  • Step 202 When the registration information satisfies the registration condition, complete registration of the set top box according to the registration information.
  • the network management server After receiving the registration information sent by the set-top box, the network management server first needs to determine whether the registration information satisfies the registration information, and the registration information is that the parameters required for the set-top box to complete registration must be correct and complete. If the registration information meets the registration conditions, the set-top box can smoothly perform network access and video access. At this time, the network management server completes the registration of the set-top box according to the registration information. After the registration is successful, the set-top box can directly access the network and watch the video.
  • the network management server can complete the registration process of the set top box according to the registration information automatically acquired by the set top box, the manual registration information on the set top box side is not manually input, thereby improving the installation efficiency and the success rate of the registration of the set top box, thereby improving the user.
  • the network management server can complete the registration process of the set top box according to the registration information automatically acquired by the set top box, the manual registration information on the set top box side is not manually input, thereby improving the installation efficiency and the success rate of the registration of the set top box, thereby improving the user.
  • the registration failure information is sent to the set top box, where the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter is incorrect, or the video The business parameters are incorrect, so that the set top box is based on the error. Misidentification Obtain new network management service parameters or new video service parameters.
  • the registration information reported by the set-top box lacks the parameters necessary for the registration of the set-top box, or the parameters necessary for the registration of the set-top box included in the registration information are incorrect. Because the registration information has many parameters, the network management server needs to carry the error identifier when sending the registration failure information. Different error identifiers correspond to different parameters. After receiving the registration failure information, the set-top box can receive the error according to the registration failure information. The identity identifies the parameters that need to be reacquired.
  • the registration information should include at least the network management service parameter or the video service parameter. Therefore, when the registration information does not meet the registration condition, the network management service parameter may be Incorrect or the video service parameters are incorrect.
  • the error identifier sent by the network management server to the set-top box may indicate that the network management service parameters are incomplete or incorrect, or the video service parameters are incomplete or incorrect, so that the set-top box can collect the correct network management service parameters or video. Business parameters.
  • the network management server may further receive the new network management service parameter or the new video service parameter sent by the set-top box, and according to the new network management service parameter.
  • the new video service parameters complete the registration of the set top box.
  • the network management server can send new network management service parameters or the new video service parameters through the parameter tree receiver set-top box.
  • An embodiment of the present invention provides an automatic configuration method for a network management server, where the method includes: registration information sent by a receiver top box, where the registration information includes network management service parameters and/or video service parameters; when the registration information is satisfied When the condition is registered, the registration of the set top box is completed according to the registration information. Since the network management server can complete the registration process of the set top box according to the registration information automatically acquired by the set top box, the manual registration information on the set top box side is not manually input, thereby improving the installation efficiency and the success rate of the registration of the set top box, thereby improving the user experience.
  • the embodiment of the invention provides an automatic configuration method, wherein the Android running the Tr069 protocol
  • the set-top box of the system is described as an example, as shown in FIG. 3, including:
  • Step 301 The set-top box acquires registration information, where the registration information includes network management service parameters and/or video service parameters, and step 302 is performed.
  • the set top box 40 includes a parameter tree autoloading device 401, a network management component 402, an automatic configuration component 403, a network access component 404, and a TV client 405.
  • the set top box is also provided with a state machine, the state machine includes five states. For example, if the state machine indicates that the current state of the set top box is 0, the automatic configuration function is not activated.
  • the process does not load; if the state machine indicates that the current state of the set-top box is 1, it indicates that the automatic configuration process is initialized, and the automatic configuration has not yet started execution; if the state machine indicates that the current state of the set-top box is 2, the automatic configuration starts. Execution; if the state machine indicates that the current state of the set-top box is 3, indicating that the automatic configuration is being executed; if the state machine indicates that the current state of the set-top box is 4, it indicates that the automatic configuration execution ends.
  • the state machine indicates that the state of the current set-top box is 0.
  • the underlying program is loaded, that is, the bootloader (system boot loader) is first started, and after the bootloader is successfully started, the kernel (kernel) is started.
  • load init.rc the init.rc is the initialization script of the Android system, and also launch the Android framework, that is, start the network service of the Android system, the communication service layer.
  • the set top box starts the script of the high-level platform component, that is, the network access component 404 starts the net access (network access process), the network management component 402 starts the netmanager (the network management process), and the automatic configuration component 403 starts the autocfg (automatic configuration process), the TV.
  • the client 405 starts the TvClient (TV player), and the current state of the state machine of the set top box jumps to 1, indicating that the automatic configuration process is initialized.
  • the net access initiated by the network access component 404 is responsible for collecting network service parameters, where the network service parameters include the username and password of the network management.
  • the user name and password of the network management system are The user uses the username and password of the Unicom network; the TvClient initiated by the TV client 405 is responsible for collecting video service parameters.
  • the video service parameters include a user name and password for the video access of the set top box. For example, if the video signal of the broadcasting center that the set top box needs to access, the video service parameter is the user name and password of the user in the broadcasting center.
  • Step 302 The set-top box sends the registration information to the network management server, and step 303 is performed.
  • the set-top box After obtaining the registration information, the set-top box generates a parameter tree according to the Tr069 protocol, and reports the registration information to the network management server through the parameter tree. At this time, the current status of the state machine of the set top box jumps to 2, indicating that the automatic configuration process begins.
  • Step 303 The network management server determines whether the registration information meets the registration condition; when the registration information satisfies the registration condition, step 304 is performed; when the registration information does not satisfy the registration condition, step 305 is performed.
  • the network management server After receiving the registration information sent by the set top box, the network management server first determines whether the set top box needs a verification code when registering.
  • the verification code may be a verification code that allows the video charging system to be used, if the set top box is registered. The verification code is required, and the network management server sends the verification code input information to the set top box.
  • the set top box After receiving the verification code input information, the set top box prompts the user to input the verification code, and sends the verification code input by the user to the network management server, and the network management server determines the verification. After the code verification is passed, it is determined whether the registration information satisfies the registration condition.
  • the network management server when the set-top box is being registered, the network management server must be able to obtain at least the user name and password of the set-top box for network access, and the user name and password for the video-access of the set-top box, where the registration condition is that the registration information must be At the same time, the network management service parameter and the video service parameter are included, that is, the registration information must include the user name and password of the set top box for network access and the user name and password for video access. If the above information is incomplete, the network management service parameter and the video service parameter are included. If the registration conditions are not met, if the above information is complete, the registration information meets the registration conditions.
  • the network management server may also need to obtain basic information such as a set-top box MAC (Medium Access Control physical address) address, product model, and IP address.
  • MAC Medium Access Control physical address
  • IP address IP address
  • Step 304 The network management server completes registration of the set top box according to the registration information, and step 305 is performed.
  • the set-top box can smoothly perform network access and video access, and the network management server completes the registration of the set-top box according to the registration information, that is, the network management server and the set-top box establish a TCP (Transmission Control Protocol) connection, and The http (Hyper Text Transfer Protocol) connection is successful, and the set-top box can directly access the network and watch video.
  • TCP Transmission Control Protocol
  • http Hyper Text Transfer Protocol
  • Step 305 Send registration success information to the set top box, and the process step ends.
  • the registration success information is generated, and the registration success information is sent to the set top box to notify the set top box that the registration is successful.
  • the 200 OK verification message can be returned to the set top box.
  • the current state of the set-top box's state machine changes to 4, indicating that the automatic configuration process ends.
  • Step 306 The network management server sends the registration failure information to the set-top box, where the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter or the video service parameter is incorrect, and step 307 is performed.
  • the network management service parameters reported by the set-top box are incomplete or incorrect, or the video service parameters are incomplete or incorrect.
  • the network management server cannot register the set-top box. In this case, the network management server needs to notify the set-top box to collect the correct network management service parameters. Or video business parameters.
  • the network management server may send registration failure information to the set top box, where the registration failure information includes an error identifier, which is used to notify the set top box of which convenient information has a problem, so that the set top box can re-acquire.
  • the registration failure information includes an error identifier, which is used to notify the set top box of which convenient information has a problem, so that the set top box can re-acquire.
  • the error identifier when the error identifier is 01, it may indicate that the network management service parameter is incomplete or incorrect; when the error identifier is 10, it may indicate that the video service parameter is incomplete or incorrect.
  • Step 307 The set-top box acquires a new network management service parameter or a new video service parameter according to the error identifier, and performs step 308.
  • the set top box After the set top box receives the registration failure message, the current state of the state machine jumps to 3, indicating that the automatic configuration process is in progress.
  • the set top box determines the information that needs to be reacquired based on the error identifier in the registration failure information. For example, when the error identifier is 01, it indicates that the network management service parameters reported before the set-top box are incomplete or incorrect, and the set-top box needs to re-acquire the network management service parameters. When the error identifier is 10, the video service parameters reported before the set-top box are incomplete or incorrect. The set-top box is required to regain the video service parameters.
  • the set-top box cannot automatically obtain the network management service parameters. At this time, the set-top box can prompt the user to perform manual input. If the network management service parameters are incorrect, the set-top box appears when acquiring the network management service parameters. The error, or data distortion occurred during the reporting process, the set-top box can re-collect network service parameters through netaccess.
  • Step 308 The set-top box sends the obtained new network management service parameter or the new video service parameter to the network server, and step 303 is performed.
  • the set-top box sends the re-collected new network management service parameters to the network management server through the parameter tree, so that the network management server registers the set-top box.
  • the embodiment of the invention provides an automatic configuration method. Since the set top box can automatically obtain the registration information and send the registration information to the network management server, the gateway server automatically completes the registration process of the set top box when the registration information meets the registration condition, and does not require manual Manual input, thus improving the installed efficiency of the set-top box and the success rate of registration, thereby improving the user experience.
  • the embodiment of the present invention provides a set top box 50, as shown in FIG. 5, including:
  • the obtaining unit 501 is configured to obtain registration information, where the registration information includes network management service parameters and/or video service parameters.
  • the registration information needs to include the network management service parameters.
  • the network service parameters include the user name and password of the network management.
  • the video system also needs to verify the legality of the user.
  • the information needs to include a video service parameter, where the video service parameter includes a user name and password for the video access of the set top box.
  • the sending unit 502 is configured to send the registration information to the network management server.
  • the sending unit 502 can generate a parameter tree according to the Tr069 protocol, and report the registration information to the network management server through the parameter tree.
  • the set-top box can be configured to automatically obtain the registration information by the obtaining unit 501, and send the registration information to the network management server through the sending unit 502, and automatically complete the registration process of the set-top box, without manual manual input, thereby improving the installed efficiency of the set-top box. And the success rate of registration, which in turn improves the user experience.
  • the sending unit 502 herein may correspond to a sending interface, where the sending interface may be a wired interface, for example, a fiber optic cable interface or a cable interface, or may correspond to a wireless interface, such as a transmitting antenna or the like.
  • the set top box 50 further includes:
  • the receiving unit 503 is configured to receive the registration failure information sent by the network management server, where the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter is incorrect, or the video service parameter is incorrect.
  • the obtaining unit 501 is further configured to acquire a new network management service parameter or a new video service parameter according to the error identifier.
  • the sending unit 502 is further configured to send the new network management service parameter or the new video service parameter to the network management server.
  • the obtaining unit 501 may be a central processing unit (CPU), a microprocessor (Micro Processor Unit (MPU), a digital signal processor (DSP), or a digital signal processor (DSP) located in the set top box.
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA Field Programmable Gate Array
  • the sending unit 502 can be a network transmission
  • the device transmits information through the network cable.
  • the receiving unit 503 can be a network receiver that implements information reception through a network cable.
  • An embodiment of the present invention provides a set-top box, where the set-top box includes: an acquiring unit configured to acquire registration information, the registration information includes a network management service parameter and/or a video service parameter, and a sending unit, configured to send the registration information Give the network management server. Since the set-top box can automatically obtain the registration information through the acquiring unit, and send the registration information to the network management server through the sending unit, the registration process of the set-top box is automatically completed, and no manual input is required, thereby improving the installation efficiency of the set-top box and the success rate of registration, and further Improve the user experience.
  • the embodiment of the present invention provides a network management server 70, as shown in FIG. 7, including:
  • the receiving unit 701 is configured to register information sent by the receiver set-top box, where the registration information includes network management service parameters and/or video service parameters.
  • the receiving unit 701 can send registration information through the parameter tree receiver set-top box.
  • the registration unit 702 is configured to complete registration of the set top box according to the registration information when the registration information satisfies the registration condition.
  • the network management server After receiving the registration information sent by the set-top box, the network management server first needs to determine whether the registration information satisfies the registration information, and the registration information is that the parameters required for the set-top box to complete registration must be correct and complete. If the registration information meets the registration condition, the set-top box can smoothly perform network access and video access. At this time, the registration unit 702 of the network management server completes the registration of the set-top box according to the registration information. After the registration is successful, the set-top box can directly access the network and watch the video.
  • the registration unit 702 of the network management server can complete the registration process of the set top box according to the registration information automatically acquired by the set top box, the manual registration information on the set top box side is not manually input, thereby improving the installation efficiency and the success rate of the registration of the set top box. This improves the user experience.
  • the network management server 70 further includes: a sending unit 703, configured to send registration failure information to the set top box when the registration information does not satisfy the registration condition,
  • the registration failure information includes an error identifier, the error identifier indicates that the network management service parameter is incorrect, or the video service parameter is incorrect, so that the set top box acquires a new network management service parameter or a new one according to the error identifier.
  • Video service parameters
  • the receiving unit is further configured to receive a new network management service parameter or the new video service parameter sent by the set top box; the registration unit is further configured to: according to the new network management service parameter or The new video service parameters complete the registration of the set-top box.
  • the registration unit 702 may be a central processing unit (CPU), a microprocessor (Micro Processor Unit (MPU), a digital signal processor (DSP), or a digital signal processor (DSP) located in the gateway server. Or Field Programmable Gate Array (FPGA) implementation.
  • the receiving unit 701 can be a network receiver, and the information is received through the network cable.
  • the transmitting unit 703 may be a network transmitter that implements information transmission through a network cable.
  • An embodiment of the present invention provides a network management server, where the network management server includes: a receiving unit configured to register information sent by a receiver top box, where the registration information includes network management service parameters and/or video service parameters; and the registration unit is configured to be When the registration information satisfies the registration condition, the registration of the set top box is completed according to the registration information.
  • the registration unit of the network management server can complete the registration process of the set top box according to the registration information automatically obtained by the set top box, and does not need to manually input relevant registration information on the set top box side, thereby improving the installation efficiency and the success rate of the registration of the set top box, thereby improving the user experience. .
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used in any one of the foregoing automatic configuration methods, for example, as shown in FIG. 1 , FIG. 2 and At least one of the methods shown in 3.
  • the computer storage medium may be various types of storage media, such as various types of storage media such as optical disks, magnetic tapes, hard disks, flash drives, or CDs, and may be non-transitory storage media.
  • the term "and/or" in the present invention is merely a description association pair.
  • the association relationship of the image indicates that there may be three kinds of relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately.
  • the character "/" in this article generally indicates that the contextual object is an "or" relationship.
  • the sequence of the steps of the automatic configuration method provided by the embodiment of the present invention may be appropriately adjusted, and the steps may also be correspondingly increased or decreased according to the situation, and any person skilled in the art may easily within the technical scope disclosed by the present invention.
  • the method of thinking about the changes should be covered by the scope of the present invention, and therefore will not be described again.
  • the set top box automatically obtains the registration information, and automatically sends the registration information to the network management server, so that the user does not need to manually input the registration information, manually trigger the registration, and can be applied to various set top boxes, industrial applications. It is simple and can reduce registration error rate and improve registration efficiency.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Computer And Data Communications (AREA)

Abstract

Disclosed is an automatic configuration method, comprising: acquiring registration information, the registration information comprising a network management service parameter and/or a video service parameter; and sending the registration information to a network management server. Also disclosed are a set-top box, and a gateway server and a computer storage medium.

Description

自动配置方法、机顶盒、服务器和计算机存储介质Automatic configuration method, set-top box, server, and computer storage media 技术领域Technical field
本发明涉及通信领域的机顶盒注册技术,尤其涉及一种自动配置方法、机顶盒、服务器和计算机存储介质。The present invention relates to a set top box registration technology in the field of communications, and more particularly to an automatic configuration method, a set top box, a server, and a computer storage medium.
背景技术Background technique
随着通信技术的发展,交互式网络电视(Internet Protocol Television,IPTV)技术得到了前所未有的发展。所述IPTV是一种以宽带网络为承载基础,以计算机、电视机+网络机顶盒、手机等为主要的接收设备,利用宽带有线电视网络,实现互联网、多媒体、通信三网融合的技术。With the development of communication technology, the Internet Protocol Television (IPTV) technology has been unprecedentedly developed. The IPTV is a receiving device based on a broadband network, and is mainly a receiving device such as a computer, a television set, a network set-top box, a mobile phone, etc., and utilizes a broadband cable television network to realize a technology of integrating the Internet, multimedia, and communication.
现有技术中,业内统一采用基于CPE广域网管理协议(Technical Report069,TR069)协议的网管服务器对IPTV智能机顶盒进行统一管理。IPTV机顶盒开机启动并正常接入网络之后,客户终端设备终端(Customer Premise Equipment,CPE)运行TR069网络管理模块并连接到TR069网管服务器,在该网管服务器上进行注册,注册完成后TR069网管服务器能够方便地对IPTV机顶盒进行下发业务参数、采集性能数据或远程诊断机顶盒等操作。In the prior art, the network management server based on the CPE WAN management protocol (Technical Report 069, TR069) protocol is uniformly used for unified management of the IPTV smart set top box. After the IPTV set-top box is powered on and normally connected to the network, the customer terminal equipment (CPE) runs the TR069 network management module and connects to the TR069 network management server to register on the network management server. After the registration is completed, the TR069 network management server can be conveniently located. The IPTV set-top box performs operations such as transmitting service parameters, collecting performance data, or remotely diagnosing a set-top box.
但是,机顶盒在网管服务器上进行注册时,往往需要工作人员手动输入相关注册信息,所述注册信息通常包括机顶盒的网络业务参数和视频业务参数,由于不同的运营商提供的网管服务器的配置千差万别,同样的机顶盒接入不同的网管服务器需要配置不同的网络业务参数,因此机顶盒的网管业务参数庞大,如果使用人工输入注册信息,会导致工作量大,装机效率低,错误率高的情况,用户体验不佳。 However, when the set-top box is registered on the network management server, the staff member is required to manually input the relevant registration information. The registration information usually includes the network service parameters and video service parameters of the set-top box. The configuration of the network management server provided by different operators varies widely. The same set-top box needs to be configured with different network service parameters for different network management servers. Therefore, the network management service parameters of the set-top box are huge. If the registration information is manually input, the workload will be large, the installation efficiency is low, and the error rate is high. Not good.
发明内容Summary of the invention
本发明实施例期望提供一种自动配置方法、机顶盒、服务器和计算机存储介质,能够自动完成机顶盒的注册,提高了机顶盒的装机效率和注册的成功率,进而提高了用户体验。The embodiments of the present invention are expected to provide an automatic configuration method, a set top box, a server, and a computer storage medium, which can automatically complete the registration of the set top box, improve the installation efficiency of the set top box, and the success rate of registration, thereby improving the user experience.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:
第一方面,本发明实施例提供一种自动配置方法,用于机顶盒,包括:In a first aspect, an embodiment of the present invention provides an automatic configuration method for a set top box, including:
获取注册信息,所述注册信息包括网管业务参数和/或视频业务参数;Obtaining registration information, where the registration information includes network management service parameters and/or video service parameters;
将所述注册信息发送给网管服务器。Send the registration information to the network management server.
可选的,在所述将所述注册信息发送给网管服务器之后,所述方法还包括:Optionally, after the sending the registration information to the network management server, the method further includes:
接收所述网管服务器发送的注册失败信息,所述注册失败信息包括错误标识,所述错误标识指示所述网管业务参数有误,或所述视频业务参数有误;Receiving the registration failure information sent by the network management server, where the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter is incorrect, or the video service parameter is incorrect;
根据所述错误标识,获取新的网管业务参数或新的视频业务参数;Obtaining new network management service parameters or new video service parameters according to the error identifier;
将所述新的网管业务参数或所述新的视频业务参数发送给所述网管服务器。And sending the new network management service parameter or the new video service parameter to the network management server.
第二方面,本发明实施例提供一种自动配置方法,用于网管服务器,包括:In a second aspect, an embodiment of the present invention provides an automatic configuration method for a network management server, including:
接收机顶盒发送的注册信息,所述注册信息包括网管业务参数和/或视频业务参数;Registration information sent by the receiver set-top box, where the registration information includes network management service parameters and/or video service parameters;
当所述注册信息满足注册条件时,根据所述注册信息完成机顶盒的注册。When the registration information satisfies the registration condition, the registration of the set top box is completed according to the registration information.
可选的,所述方法还包括:Optionally, the method further includes:
当所述注册信息不满足注册条件时,向所述机顶盒发送注册失败信息,所述注册失败信息包括错误标识,所述错误标识指示所述网管业务参数有 误,或所述视频业务参数有误,以便于所述机顶盒根据所述错误标识获取新的网管业务参数或新的视频业务参数。When the registration information does not satisfy the registration condition, the registration failure information is sent to the set top box, where the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter has The error, or the video service parameter is incorrect, so that the set top box acquires new network management service parameters or new video service parameters according to the error identifier.
可选的,在所述向所述机顶盒发送注册失败信息之后,所述方法还包括:Optionally, after the sending the registration failure information to the set top box, the method further includes:
接收所述机顶盒发送的新的网管业务参数或所述新的视频业务参数;Receiving a new network management service parameter or the new video service parameter sent by the set top box;
所述根据所述注册信息完成机顶盒的注册包括:The completing the registration of the set top box according to the registration information includes:
根据所述新的网管业务参数或所述新的视频业务参数完成机顶盒的注册。The registration of the set top box is completed according to the new network management service parameter or the new video service parameter.
第三方面,本发明实施例提供一种机顶盒,包括:In a third aspect, an embodiment of the present invention provides a set top box, including:
获取单元,配置为获取注册信息,所述注册信息包括网管业务参数和/或视频业务参数;An obtaining unit, configured to obtain registration information, where the registration information includes a network management service parameter and/or a video service parameter;
发送单元,配置为将所述注册信息发送给网管服务器。The sending unit is configured to send the registration information to the network management server.
可选的,所述机顶盒还包括:Optionally, the set top box further includes:
接收单元,配置为接收所述网管服务器发送的注册失败信息,所述注册失败信息包括错误标识,所述错误标识指示所述网管业务参数有误,或所述视频业务参数有误;a receiving unit, configured to receive the registration failure information sent by the network management server, where the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter is incorrect, or the video service parameter is incorrect;
所述获取单元,还配置为根据所述错误标识,获取新的网管业务参数或新的视频业务参数;The acquiring unit is further configured to acquire a new network management service parameter or a new video service parameter according to the error identifier;
所述发送单元,还配置为将所述新的网管业务参数或所述新的视频业务参数发送给所述网管服务器。The sending unit is further configured to send the new network management service parameter or the new video service parameter to the network management server.
第四方面,本发明实施例提供一种网管服务器,包括:In a fourth aspect, an embodiment of the present invention provides a network management server, including:
接收单元,配置为接收机顶盒发送的注册信息,所述注册信息包括网管业务参数和/或视频业务参数;The receiving unit is configured to register information sent by the receiver set top box, where the registration information includes network management service parameters and/or video service parameters;
注册单元,配置为当所述注册信息满足注册条件时,根据所述注册信息完成机顶盒的注册。 The registration unit is configured to complete registration of the set top box according to the registration information when the registration information satisfies the registration condition.
可选的,所述网管服务器还包括:Optionally, the network management server further includes:
发送单元,配置为当所述注册信息不满足注册条件时,向所述机顶盒发送注册失败信息,所述注册失败信息包括错误标识,所述错误标识指示所述网管业务参数有误,或所述视频业务参数有误,以便于所述机顶盒根据所述错误标识获取新的网管业务参数或新的视频业务参数。a sending unit, configured to send registration failure information to the set top box when the registration information does not meet the registration condition, where the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter is incorrect, or The video service parameter is incorrect, so that the set top box acquires new network management service parameters or new video service parameters according to the error identifier.
可选的,所述接收单元,还配置为接收所述机顶盒发送的新的网管业务参数或所述新的视频业务参数;Optionally, the receiving unit is further configured to receive a new network management service parameter or the new video service parameter sent by the set top box;
所述注册单元,还配置为根据所述新的网管业务参数或所述新的视频业务参数完成机顶盒的注册。The registration unit is further configured to complete registration of the set top box according to the new network management service parameter or the new video service parameter.
第五方面,本发明实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述任意一个自动配置方法。In a fifth aspect, an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute any one of the foregoing automatic configuration methods.
本发明实施例提供了一种自动配置方法、机顶盒、服务器和计算机存储介质,用于机顶盒的方法包括:获取注册信息,所述注册信息包括网管业务参数和/或视频业务参数;将所述注册信息发送给网管服务器。由于机顶盒可以自动获取注册信息,并将注册信息发送给网管服务器,自动完成机顶盒的注册过程,不需要人工手动输入,因此提高了机顶盒的装机效率和注册的成功率,进而提高了用户体验。An embodiment of the present invention provides an automatic configuration method, a set top box, a server, and a computer storage medium. The method for a set top box includes: acquiring registration information, where the registration information includes network management service parameters and/or video service parameters; The information is sent to the network management server. Since the set-top box can automatically obtain the registration information and send the registration information to the network management server, the registration process of the set-top box is automatically completed, and no manual input is required, thereby improving the installation efficiency of the set-top box and the success rate of registration, thereby improving the user experience.
附图说明DRAWINGS
图1为本发明实施例提供的一种自动配置方法的流程图1;FIG. 1 is a flowchart 1 of an automatic configuration method according to an embodiment of the present invention;
图2为本发明实施例提供的一种自动配置方法的流程图2;2 is a flowchart 2 of an automatic configuration method according to an embodiment of the present invention;
图3为本发明实施例提供的一种自动配置方法的流程图3;3 is a flowchart 3 of an automatic configuration method according to an embodiment of the present invention;
图4为本发明实施例提供的一种机顶盒的结构示意图1;4 is a schematic structural view 1 of a set top box according to an embodiment of the present invention;
图5为本发明实施例提供的一种机顶盒的结构示意图2;Figure 5 is a schematic structural view 2 of a set top box according to an embodiment of the present invention;
图6为本发明实施例提供的一种机顶盒的结构示意图3; Figure 6 is a schematic structural view 3 of a set top box according to an embodiment of the present invention;
图7为本发明实施例提供的一种网关服务器的结构示意图1;FIG. 7 is a schematic structural diagram 1 of a gateway server according to an embodiment of the present invention;
图8为本发明实施例提供的一种网关服务器的结构示意图2。FIG. 8 is a schematic structural diagram 2 of a gateway server according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,应当理解,以下所说明的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is understood that the preferred embodiments described below are only used to illustrate and explain the present invention, and are not intended to limit this invention.
本发明实施例提供一种自动配置方法,如图1所示,用于机顶盒,包括:An embodiment of the present invention provides an automatic configuration method, as shown in FIG. 1 , for a set top box, including:
步骤101、获取注册信息,所述注册信息包括网管业务参数和/或视频业务参数。Step 101: Acquire registration information, where the registration information includes network management service parameters and/or video service parameters.
在进行机顶盒注册时,需要同时接入网络系统和视频系统,为了保障网络的安全性,网管侧需要验证用户的合法性,所以注册信息中需要包括网管业务参数,所述网络业务参数包括网管的用户名和密码,例如,若机顶盒当前需要接入的是联通的网络,所述网管的用户名和密码即用户使用联通网络的用户名和密码;同时,视频系统也需要验证用户的合法性,所以注册信息中需要包括视频业务参数,所述视频业务参数包括机顶盒进行视频接入的用户名和密码,例如,若机顶盒当前需要接入的广电中心的视频信号,所述视频业务参数即为用户在广电中心的用户名和密码。When the set-top box is registered, the network system and the video system need to be accessed at the same time. To ensure the security of the network, the network management side needs to verify the validity of the user. Therefore, the registration information needs to include the network management service parameters, and the network service parameters include the network management. User name and password, for example, if the set-top box currently needs to access the network of China Unicom, the user name and password of the network management is the user name and password of the user using the Unicom network; at the same time, the video system also needs to verify the legality of the user, so the registration information The video service parameter includes a user name and a password for the video access of the set top box. For example, if the video signal of the radio and television center that the set top box needs to access, the video service parameter is the user at the radio and television center. user name and password.
在步骤101中获取所述注册信息时,可包括:当所述机顶盒接入到预定网络中之后,可以与预定网络的网关,例如家庭网络的家庭网关进行信息交互,自动获取到所述网管的用户名和密码。对于所述视频业务参数可以为预先配置在所述机顶盒内的参数,例如,机顶盒出厂之前,预先在机顶盒的存储介质中录入有赠送给用户的在视频系统中的用户名和密码,或者使用某一厂家公用的用户名和密码,这样的话,机顶盒可以通过读取对应的存储介质,就可以获取到所述视频业务参数。在具体的实现过程中, 所述获取所述注册信息还可包括,所述机顶盒通过与管理所述注册信息的管理数据库的信息交互,获取所述注册信息。当然获取的方法有很多种,在此就不一一举例了。总之,本实施例提供的自动配置方法,一旦所述机顶盒接入到网络之后,可以自动启动上述自动配置方法的处理流程,从而实现自动配置。When the registration information is obtained in step 101, the method may include: after the set top box is accessed in the predetermined network, the information may be exchanged with the gateway of the predetermined network, for example, the home gateway of the home network, and the network management is automatically obtained. user name and password. The video service parameter may be a parameter pre-configured in the set top box. For example, before the set top box is shipped, the user name and password in the video system presented to the user are pre-recorded in the storage medium of the set top box, or a certain The user name and password shared by the manufacturer. In this case, the set top box can obtain the video service parameters by reading the corresponding storage medium. In the specific implementation process, The obtaining the registration information may further include that the set top box acquires the registration information by interacting with information of a management database that manages the registration information. Of course, there are many ways to get it, so I won't give examples here. In summary, the automatic configuration method provided in this embodiment can automatically start the processing flow of the above automatic configuration method after the set top box is connected to the network, thereby implementing automatic configuration.
步骤102、将所述注册信息发送给网管服务器。Step 102: Send the registration information to a network management server.
示例的,机顶盒可以按照Tr069协议生成参数树,通过所述参数树向网管服务器上报所述注册信息。For example, the set-top box can generate a parameter tree according to the Tr069 protocol, and report the registration information to the network management server through the parameter tree.
这样一来,由于机顶盒可以自动获取注册信息,并将注册信息发送给网管服务器,自动完成机顶盒的注册过程,不需要人工手动输入,因此提高了机顶盒的装机效率和注册的成功率,进而提高了用户体验。In this way, since the set top box can automatically obtain the registration information and send the registration information to the network management server, the registration process of the set top box is automatically completed, and no manual input is required, thereby improving the installation efficiency of the set top box and the success rate of registration, thereby improving the number of boxes. user experience.
可选的,在所述将所述注册信息发送给网管服务器之后,机顶盒还可以接收所述网管服务器发送的注册失败信息,所述注册失败信息包括错误标识,所述错误标识指示所述网管业务参数有误,或所述视频业务参数有误;根据所述错误标识,获取新的网管业务参数或新的视频业务参数;将所述新的网管业务参数或所述新的视频业务参数发送给所述网管服务器。Optionally, after the sending the registration information to the network management server, the set top box may further receive the registration failure information sent by the network management server, where the registration failure information includes an error identifier, where the error identifier indicates the network management service The parameter is incorrect, or the video service parameter is incorrect; according to the error identifier, acquiring a new network management service parameter or a new video service parameter; sending the new network management service parameter or the new video service parameter to The network management server.
示例的,机顶盒发送给网管服务器的注册信息也可能出现信息有误的情况,所示信息有误一般包括信息不全或信息出现错误两种情况,当出现信息有误的情况时,网管服务器不能完成对机顶盒的注册过程,此时网管服务器可以向机顶盒发送注册失败信息,同时由于注册信息中至少包括网管业务参数或视频业务参数,为了使机顶盒确定到底是哪一个参数出现不全或错误,可以在注册失败信息中添加错误标识,不同的参数对应不同的错误标识,以便于机顶盒确定哪一个参数需要重新获取。For example, if the registration information sent by the set-top box to the network management server may be incorrect, the information may be incorrect, including information incomplete or incorrect information. When the information is incorrect, the network management server cannot complete the information. For the registration process of the set-top box, the network management server may send the registration failure information to the set-top box, and at the same time, because the registration information includes at least the network management service parameter or the video service parameter, in order for the set-top box to determine which parameter is incomplete or incorrect, the registration may be registered. An error flag is added to the failure information, and different parameters correspond to different error identifiers, so that the set top box determines which parameter needs to be reacquired.
示例的,在机顶盒获取到新的网管业务参数或新的视频业务参数后,可以通过参数树向网管服务器上报新的网管业务参数或新的视频业务参 数。For example, after the set-top box obtains the new network management service parameter or the new video service parameter, the new network management service parameter or the new video service parameter can be reported to the network management server through the parameter tree. number.
本发明实施例提供了一种自动配置方法,用于机顶盒,所述方法包括:获取注册信息,所述注册信息包括网管业务参数和/或视频业务参数;将所述注册信息发送给网管服务器。由于机顶盒可以自动获取注册信息,并将注册信息发送给网管服务器,自动完成机顶盒的注册过程,不需要人工手动输入,因此提高了机顶盒的装机效率和注册的成功率,进而提高了用户体验。An embodiment of the present invention provides an automatic configuration method for a set top box. The method includes: acquiring registration information, where the registration information includes a network management service parameter and/or a video service parameter; and the registration information is sent to the network management server. Since the set-top box can automatically obtain the registration information and send the registration information to the network management server, the registration process of the set-top box is automatically completed, and no manual input is required, thereby improving the installation efficiency of the set-top box and the success rate of registration, thereby improving the user experience.
本发明实施例提供一种自动配置方法,如图2所示,用于网管服务器,包括:An embodiment of the present invention provides an automatic configuration method, as shown in FIG. 2, for a network management server, including:
步骤201、接收机顶盒发送的注册信息,所述注册信息包括网管业务参数和/或视频业务参数。Step 201: The registration information sent by the receiver top box, where the registration information includes a network management service parameter and/or a video service parameter.
示例的,网管服务器可以通过参数树接收机顶盒发送的注册信息。For example, the network management server can send registration information through the parameter tree receiver set-top box.
步骤202、当所述注册信息满足注册条件时,根据所述注册信息完成机顶盒的注册。Step 202: When the registration information satisfies the registration condition, complete registration of the set top box according to the registration information.
网管服务器在接收到机顶盒发送的注册信息之后,首先需要确定该注册信息是否满足注册信息,所述注册信息为机顶盒完成注册所需的参数必须正确且齐全。如果注册信息满足注册条件,说明机顶盒能够顺利进行网络接入和视频接入,此时网管服务器根据注册信息,完成机顶盒的注册,注册成功后机顶盒可以直接接入网络,观看视频。After receiving the registration information sent by the set-top box, the network management server first needs to determine whether the registration information satisfies the registration information, and the registration information is that the parameters required for the set-top box to complete registration must be correct and complete. If the registration information meets the registration conditions, the set-top box can smoothly perform network access and video access. At this time, the network management server completes the registration of the set-top box according to the registration information. After the registration is successful, the set-top box can directly access the network and watch the video.
这样一来,由于网管服务器可以根据机顶盒自动获取的注册信息完成机顶盒的注册过程,不需要人工在机顶盒侧手动输入相关注册信息,因此提高了机顶盒的装机效率和注册的成功率,进而提高了用户体验。In this way, since the network management server can complete the registration process of the set top box according to the registration information automatically acquired by the set top box, the manual registration information on the set top box side is not manually input, thereby improving the installation efficiency and the success rate of the registration of the set top box, thereby improving the user. Experience.
可选的,当所述注册信息不满足注册条件时,向所述机顶盒发送注册失败信息,所述注册失败信息包括错误标识,所述错误标识指示所述网管业务参数有误,或所述视频业务参数有误,以便于所述机顶盒根据所述错 误标识获取新的网管业务参数或新的视频业务参数。Optionally, when the registration information does not meet the registration condition, the registration failure information is sent to the set top box, where the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter is incorrect, or the video The business parameters are incorrect, so that the set top box is based on the error. Misidentification Obtain new network management service parameters or new video service parameters.
示例的,如果注册条件不满足注册条件,说明机顶盒上报的注册信息中缺少机顶盒注册所必须的参数,或者注册信息中包括的机顶盒注册所必须的参数出现错误。由于注册信息中参数较多,所以网管服务器在下发注册失败信息时还需要携带错误标识,不同的错误标识对应不同的参数,机顶盒在接收到注册失败信息后,可以根据注册失败信息中携带的错误标识确定需要重新获取的参数。For example, if the registration condition does not satisfy the registration condition, the registration information reported by the set-top box lacks the parameters necessary for the registration of the set-top box, or the parameters necessary for the registration of the set-top box included in the registration information are incorrect. Because the registration information has many parameters, the network management server needs to carry the error identifier when sending the registration failure information. Different error identifiers correspond to different parameters. After receiving the registration failure information, the set-top box can receive the error according to the registration failure information. The identity identifies the parameters that need to be reacquired.
示例的,由于机顶盒在注册时必须要获取网管业务参数和视频业务参数,因此注册信息中应该至少包括网管业务参数或视频业务参数,因此当注册信息不满足注册条件时,通常可能是网管业务参数有误或视频业务参数有误,此时,网管服务器发给机顶盒的错误标识可以指示网管业务参数不全或有误,或者视频业务参数不全或有误,以便于机顶盒收集正确的网管业务参数或视频业务参数。For example, since the set-top box must obtain the network management service parameters and the video service parameters when registering, the registration information should include at least the network management service parameter or the video service parameter. Therefore, when the registration information does not meet the registration condition, the network management service parameter may be Incorrect or the video service parameters are incorrect. At this time, the error identifier sent by the network management server to the set-top box may indicate that the network management service parameters are incomplete or incorrect, or the video service parameters are incomplete or incorrect, so that the set-top box can collect the correct network management service parameters or video. Business parameters.
可选的,在所述向所述机顶盒发送注册失败信息之后,网管服务器还可以接收所述机顶盒发送的新的网管业务参数或所述新的视频业务参数,并根据所述新的网管业务参数或所述新的视频业务参数完成机顶盒的注册。示例的,网管服务器可以通过参数树接收机顶盒发送的新的网管业务参数或所述新的视频业务参数。Optionally, after the sending the registration failure information to the set-top box, the network management server may further receive the new network management service parameter or the new video service parameter sent by the set-top box, and according to the new network management service parameter. Or the new video service parameters complete the registration of the set top box. For example, the network management server can send new network management service parameters or the new video service parameters through the parameter tree receiver set-top box.
本发明实施例提供了一种自动配置方法,用于网管服务器,所述方法包括:接收机顶盒发送的注册信息,所述注册信息包括网管业务参数和/或视频业务参数;当所述注册信息满足注册条件时,根据所述注册信息完成机顶盒的注册。由于网管服务器可以根据机顶盒自动获取的注册信息完成机顶盒的注册过程,不需要人工在机顶盒侧手动输入相关注册信息,因此提高了机顶盒的装机效率和注册的成功率,进而提高了用户体验。An embodiment of the present invention provides an automatic configuration method for a network management server, where the method includes: registration information sent by a receiver top box, where the registration information includes network management service parameters and/or video service parameters; when the registration information is satisfied When the condition is registered, the registration of the set top box is completed according to the registration information. Since the network management server can complete the registration process of the set top box according to the registration information automatically acquired by the set top box, the manual registration information on the set top box side is not manually input, thereby improving the installation efficiency and the success rate of the registration of the set top box, thereby improving the user experience.
本发明实施例提供一种自动配置方法,其中以运行Tr069协议的安卓 系统的机顶盒为例进行说明,如图3所示,包括:The embodiment of the invention provides an automatic configuration method, wherein the Android running the Tr069 protocol The set-top box of the system is described as an example, as shown in FIG. 3, including:
步骤301、机顶盒获取注册信息,所述注册信息包括网管业务参数和/或视频业务参数,执行步骤302。Step 301: The set-top box acquires registration information, where the registration information includes network management service parameters and/or video service parameters, and step 302 is performed.
如图4所示,所述机顶盒40包括参数树自动加载装置401,网管组件402,自动配置组件403,网络接入组件404和TV客户端405。同时为了记录自动配置过程中机顶盒的不同状态,所述机顶盒还设置有状态机,所述状态机包括五种状态,示例的,若状态机指示机顶盒当前的状态为0,表示自动配置功能未启动或机顶盒不支持自动配置功能,进程不加载;若状态机指示机顶盒当前的状态为1,表示自动配置进程初始化,自动配置尚未开始执行;若状态机指示机顶盒当前的状态为2,表示自动配置开始执行;若状态机指示机顶盒当前的状态为3,表示自动配置正在执行中;若状态机指示机顶盒当前的状态为4,表示自动配置执行结束。As shown in FIG. 4, the set top box 40 includes a parameter tree autoloading device 401, a network management component 402, an automatic configuration component 403, a network access component 404, and a TV client 405. At the same time, in order to record the different states of the set top box in the automatic configuration process, the set top box is also provided with a state machine, the state machine includes five states. For example, if the state machine indicates that the current state of the set top box is 0, the automatic configuration function is not activated. Or the set-top box does not support the automatic configuration function, the process does not load; if the state machine indicates that the current state of the set-top box is 1, it indicates that the automatic configuration process is initialized, and the automatic configuration has not yet started execution; if the state machine indicates that the current state of the set-top box is 2, the automatic configuration starts. Execution; if the state machine indicates that the current state of the set-top box is 3, indicating that the automatic configuration is being executed; if the state machine indicates that the current state of the set-top box is 4, it indicates that the automatic configuration execution ends.
示例的,机顶盒上电之后,状态机指示当前机顶盒的状态为0,首先进行底层程序加载,即首先启动bootloader(系统启动加载器),并在bootloader启动成功后,启动kernel(内核)。然后加载init.rc,所述init.rc为安卓系统的初始化脚本,同时也启动安卓框架,即启动安卓系统的网络业务,通讯业务层。For example, after the set-top box is powered on, the state machine indicates that the state of the current set-top box is 0. First, the underlying program is loaded, that is, the bootloader (system boot loader) is first started, and after the bootloader is successfully started, the kernel (kernel) is started. Then load init.rc, the init.rc is the initialization script of the Android system, and also launch the Android framework, that is, start the network service of the Android system, the communication service layer.
可选地,机顶盒启动高层平台组件的脚本,即网络接入组件404启动netaccess(网络接入进程),网管组件402启动netmanager(网管进程),自动配置组件403启动autocfg(自动配置进程),TV客户端405启动TvClient(TV播放器),此时机顶盒的状态机当前的状态跳变为1,指示自动配置过程初始化。其中,网络接入组件404启动的netaccess负责收集网络业务参数,所述网络业务参数包括网管的用户名和密码,例如,若机顶盒当前需要接入的是联通的网络,所述网管的用户名和密码即用户使用联通网络的用户名和密码;TV客户端405启动的TvClient负责收集视频业务参数,所 述视频业务参数包括机顶盒进行视频接入的用户名和密码,例如,若机顶盒当前需要接入的广电中心的视频信号,所述视频业务参数即为用户在广电中心的用户名和密码。Optionally, the set top box starts the script of the high-level platform component, that is, the network access component 404 starts the net access (network access process), the network management component 402 starts the netmanager (the network management process), and the automatic configuration component 403 starts the autocfg (automatic configuration process), the TV. The client 405 starts the TvClient (TV player), and the current state of the state machine of the set top box jumps to 1, indicating that the automatic configuration process is initialized. The net access initiated by the network access component 404 is responsible for collecting network service parameters, where the network service parameters include the username and password of the network management. For example, if the set-top box needs to access the network of the Unicom, the user name and password of the network management system are The user uses the username and password of the Unicom network; the TvClient initiated by the TV client 405 is responsible for collecting video service parameters. The video service parameters include a user name and password for the video access of the set top box. For example, if the video signal of the broadcasting center that the set top box needs to access, the video service parameter is the user name and password of the user in the broadcasting center.
步骤302、机顶盒将所述注册信息发送给网管服务器,执行步骤303。Step 302: The set-top box sends the registration information to the network management server, and step 303 is performed.
机顶盒在获取到所述注册信息后,按照Tr069协议生成参数树,通过所述参数树向网管服务器上报所述注册信息。此时机顶盒的状态机当前的状态跳变为2,指示自动配置过程开始执行。After obtaining the registration information, the set-top box generates a parameter tree according to the Tr069 protocol, and reports the registration information to the network management server through the parameter tree. At this time, the current status of the state machine of the set top box jumps to 2, indicating that the automatic configuration process begins.
步骤303、网管服务器确定所述注册信息是否满足注册条件;当所述注册信息满足注册条件时,执行步骤304;当所述注册信息不满足注册条件时,执行步骤305。Step 303: The network management server determines whether the registration information meets the registration condition; when the registration information satisfies the registration condition, step 304 is performed; when the registration information does not satisfy the registration condition, step 305 is performed.
网管服务器在收到机顶盒发送的注册信息之后,首先确定所述机顶盒在注册时是否需要验证码,示例的,所述验证码可以是允许使用视频计费系统的验证码,若所述机顶盒在注册时需要验证码,网管服务器向机顶盒发送验证码输入信息,机顶盒在接收到所述验证码输入信息之后提示用户输入验证码,并将用户输入的验证码发送给网管服务器,网管服务器在确定该验证码验证通过后,确定注册信息是否满足注册条件。After receiving the registration information sent by the set top box, the network management server first determines whether the set top box needs a verification code when registering. For example, the verification code may be a verification code that allows the video charging system to be used, if the set top box is registered. The verification code is required, and the network management server sends the verification code input information to the set top box. After receiving the verification code input information, the set top box prompts the user to input the verification code, and sends the verification code input by the user to the network management server, and the network management server determines the verification. After the code verification is passed, it is determined whether the registration information satisfies the registration condition.
示例的,由于机顶盒在进行注册时,网管服务器必须至少能够获取到机顶盒进行网络接入的用户名和密码,以及机顶盒进行视频接入的用户名和密码,此时所述注册条件为所述注册信息必须同时包括网管业务参数和视频业务参数,即所述注册信息必须包括上述机顶盒进行网络接入的用户名和密码和进行视频接入的用户名和密码,如果上述信息不全,则网管业务参数和视频业务参数不满足注册条件,如果上述信息齐全,说明注册信息满足注册条件。For example, when the set-top box is being registered, the network management server must be able to obtain at least the user name and password of the set-top box for network access, and the user name and password for the video-access of the set-top box, where the registration condition is that the registration information must be At the same time, the network management service parameter and the video service parameter are included, that is, the registration information must include the user name and password of the set top box for network access and the user name and password for video access. If the above information is incomplete, the network management service parameter and the video service parameter are included. If the registration conditions are not met, if the above information is complete, the registration information meets the registration conditions.
需要说明的是,实际情况中网管服务器还可能需要获取机顶盒MAC(Medium Access Control物理地址)地址,产品型号,IP地址等基本信息, 本发明对此不做限定。It should be noted that, in actual situations, the network management server may also need to obtain basic information such as a set-top box MAC (Medium Access Control physical address) address, product model, and IP address. The invention is not limited thereto.
步骤304、网管服务器根据所述注册信息完成机顶盒的注册,执行步骤305。Step 304: The network management server completes registration of the set top box according to the registration information, and step 305 is performed.
如果注册信息满足注册条件,说明机顶盒能够顺利进行网络接入和视频接入,网管服务器根据注册信息,完成机顶盒的注册,即网管服务器和机顶盒建立TCP(Transmission Control Protocol,传输控制协议)连接,并且http(Hyper Text Transfer Protocol,超文本传输协议)连接成功,机顶盒可以直接接入网络,观看视频。If the registration information meets the registration conditions, the set-top box can smoothly perform network access and video access, and the network management server completes the registration of the set-top box according to the registration information, that is, the network management server and the set-top box establish a TCP (Transmission Control Protocol) connection, and The http (Hyper Text Transfer Protocol) connection is successful, and the set-top box can directly access the network and watch video.
步骤305、向所述机顶盒发送注册成功信息,本流程步骤结束。Step 305: Send registration success information to the set top box, and the process step ends.
在网管服务器完成机顶盒的注册之后,生成注册成功信息,并向机顶盒发送所述注册成功信息,用于通知机顶盒注册成功,例如,可以回复200OK验证消息给机顶盒。此时机顶盒的状态机当前的跳变为4,指示自动配置过程结束。After the network management server completes the registration of the set top box, the registration success information is generated, and the registration success information is sent to the set top box to notify the set top box that the registration is successful. For example, the 200 OK verification message can be returned to the set top box. At this time, the current state of the set-top box's state machine changes to 4, indicating that the automatic configuration process ends.
步骤306、网管服务器向所述机顶盒发送注册失败信息,所述注册失败信息包括错误标识,所述错误标识指示所述网管业务参数或所述视频业务参数出现错误,执行步骤307。Step 306: The network management server sends the registration failure information to the set-top box, where the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter or the video service parameter is incorrect, and step 307 is performed.
如果注册条件不满足注册条件,说明机顶盒上报的网管业务参数不全或有误,或者视频业务参数不全或有误,网管服务器无法对机顶盒进行注册,此时网管服务器需要通知机顶盒收集正确的网管业务参数或视频业务参数。If the registration conditions do not meet the registration conditions, the network management service parameters reported by the set-top box are incomplete or incorrect, or the video service parameters are incomplete or incorrect. The network management server cannot register the set-top box. In this case, the network management server needs to notify the set-top box to collect the correct network management service parameters. Or video business parameters.
示例的,网管服务器可以向机顶盒发送注册失败信息,所述注册失败信息包括错误标识,用于通知机顶盒具体哪一方便的信息存在问题,以便于机顶盒重新进行获取。For example, the network management server may send registration failure information to the set top box, where the registration failure information includes an error identifier, which is used to notify the set top box of which convenient information has a problem, so that the set top box can re-acquire.
示例的,当所述错误标识为01时,可以表示网管业务参数不全或有误;当所述错误标识为10时,可以表示视频业务参数不全或有误。 For example, when the error identifier is 01, it may indicate that the network management service parameter is incomplete or incorrect; when the error identifier is 10, it may indicate that the video service parameter is incomplete or incorrect.
步骤307、机顶盒根据所述错误标识,获取新的网管业务参数或新的视频业务参数,执行步骤308。Step 307: The set-top box acquires a new network management service parameter or a new video service parameter according to the error identifier, and performs step 308.
机顶盒接收注册失败信息之后,状态机当前的状态跳变为3,指示自动配置过程正在进行。机顶盒根据注册失败信息中的错误标识,确定需要重新获取的信息。例如,当错误标识为01时,说明机顶盒之前上报的网管业务参数不全或有误,需要机顶盒重新获取网管业务参数;当错误标识为10时,说明机顶盒之前上报的视频业务参数不全或有误,需要机顶盒重新获取视频业务参数。After the set top box receives the registration failure message, the current state of the state machine jumps to 3, indicating that the automatic configuration process is in progress. The set top box determines the information that needs to be reacquired based on the error identifier in the registration failure information. For example, when the error identifier is 01, it indicates that the network management service parameters reported before the set-top box are incomplete or incorrect, and the set-top box needs to re-acquire the network management service parameters. When the error identifier is 10, the video service parameters reported before the set-top box are incomplete or incorrect. The set-top box is required to regain the video service parameters.
示例的,网管业务参数进行说明,如果网管业务参数不全,说明机顶盒无法自动获取网管业务参数,此时机顶盒可以提示用户进行手动输入;如果网管业务参数有误,说明机顶盒在获取网管业务参数时出现了错误,或者在上报的过程中出现了数据畸变,机顶盒可以重新通过netaccess收集网络业务参数。For example, if the network management service parameters are incomplete, the set-top box cannot automatically obtain the network management service parameters. At this time, the set-top box can prompt the user to perform manual input. If the network management service parameters are incorrect, the set-top box appears when acquiring the network management service parameters. The error, or data distortion occurred during the reporting process, the set-top box can re-collect network service parameters through netaccess.
步骤308、机顶盒将获取到的新的网管业务参数或新的视频业务参数发送给网络服务器,执行步骤303。Step 308: The set-top box sends the obtained new network management service parameter or the new video service parameter to the network server, and step 303 is performed.
示例的,机顶盒通过参数树将重新收集到的新的网管业务参数发送给网管服务器,以便于网管服务器对机顶盒进行注册。For example, the set-top box sends the re-collected new network management service parameters to the network management server through the parameter tree, so that the network management server registers the set-top box.
本发明实施例提供了一种自动配置方法,由于机顶盒可以自动获取注册信息,并将注册信息发送给网管服务器,网关服务器在确定注册信息满足注册条件时,自动完成机顶盒的注册过程,不需要人工手动输入,因此提高了机顶盒的装机效率和注册的成功率,进而提高了用户体验。The embodiment of the invention provides an automatic configuration method. Since the set top box can automatically obtain the registration information and send the registration information to the network management server, the gateway server automatically completes the registration process of the set top box when the registration information meets the registration condition, and does not require manual Manual input, thus improving the installed efficiency of the set-top box and the success rate of registration, thereby improving the user experience.
本发明实施例提供一种机顶盒50,如图5所示,包括:The embodiment of the present invention provides a set top box 50, as shown in FIG. 5, including:
获取单元501,配置为获取注册信息,所述注册信息包括网管业务参数和/或视频业务参数。The obtaining unit 501 is configured to obtain registration information, where the registration information includes network management service parameters and/or video service parameters.
在进行机顶盒注册时,需要同时接入网络系统和视频系统,为了保障 网络的安全性,网管侧需要验证用户的合法性,所以注册信息中需要包括网管业务参数,所述网络业务参数包括网管的用户名和密码;同时,视频系统也需要验证用户的合法性,所以注册信息中需要包括视频业务参数,所述视频业务参数包括机顶盒进行视频接入的用户名和密码。When registering the set-top box, you need to access the network system and video system at the same time, in order to protect For the security of the network, the network management side needs to verify the validity of the user. Therefore, the registration information needs to include the network management service parameters. The network service parameters include the user name and password of the network management. At the same time, the video system also needs to verify the legality of the user. The information needs to include a video service parameter, where the video service parameter includes a user name and password for the video access of the set top box.
发送单元502,配置为将所述注册信息发送给网管服务器。The sending unit 502 is configured to send the registration information to the network management server.
示例的,发送单元502可以按照Tr069协议生成参数树,通过所述参数树向网管服务器上报所述注册信息。For example, the sending unit 502 can generate a parameter tree according to the Tr069 protocol, and report the registration information to the network management server through the parameter tree.
这样一来,配置为机顶盒可以通过获取单元501自动获取注册信息,并通过发送单元502将注册信息发送给网管服务器,自动完成机顶盒的注册过程,不需要人工手动输入,因此提高了机顶盒的装机效率和注册的成功率,进而提高了用户体验。这里的发送单元502可对应于发送接口,这里的发送接口可为有线接口,例如,光缆接口或电缆接口,也可以对应于无线接口,例如,发送天线等。In this way, the set-top box can be configured to automatically obtain the registration information by the obtaining unit 501, and send the registration information to the network management server through the sending unit 502, and automatically complete the registration process of the set-top box, without manual manual input, thereby improving the installed efficiency of the set-top box. And the success rate of registration, which in turn improves the user experience. The sending unit 502 herein may correspond to a sending interface, where the sending interface may be a wired interface, for example, a fiber optic cable interface or a cable interface, or may correspond to a wireless interface, such as a transmitting antenna or the like.
可选的,如图6所示,所述机顶盒50还包括:Optionally, as shown in FIG. 6, the set top box 50 further includes:
接收单元503,配置为接收所述网管服务器发送的注册失败信息,所述注册失败信息包括错误标识,所述错误标识指示所述网管业务参数有误,或所述视频业务参数有误。The receiving unit 503 is configured to receive the registration failure information sent by the network management server, where the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter is incorrect, or the video service parameter is incorrect.
所述获取单元501,还配置为根据所述错误标识,获取新的网管业务参数或新的视频业务参数。The obtaining unit 501 is further configured to acquire a new network management service parameter or a new video service parameter according to the error identifier.
所述发送单元502,还配置为将所述新的网管业务参数或所述新的视频业务参数发送给所述网管服务器。The sending unit 502 is further configured to send the new network management service parameter or the new video service parameter to the network management server.
在实际应用中,所述获取单元501可由位于机顶盒中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)、或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。发送单元502可以是网络发射 器,通过网线实现信息发送。接收单元503可以是网络接收器,通过网线实现信息接收。In an actual application, the obtaining unit 501 may be a central processing unit (CPU), a microprocessor (Micro Processor Unit (MPU), a digital signal processor (DSP), or a digital signal processor (DSP) located in the set top box. Field Programmable Gate Array (FPGA) and other implementations. The sending unit 502 can be a network transmission The device transmits information through the network cable. The receiving unit 503 can be a network receiver that implements information reception through a network cable.
本发明实施例提供了一种机顶盒,所述机顶盒包括:获取单元,配置为获取注册信息,所述注册信息包括网管业务参数和/或视频业务参数;发送单元,用于将所述注册信息发送给网管服务器。由于机顶盒可以通过获取单元自动获取注册信息,并通过发送单元将注册信息发送给网管服务器,自动完成机顶盒的注册过程,不需要人工手动输入,因此提高了机顶盒的装机效率和注册的成功率,进而提高了用户体验。An embodiment of the present invention provides a set-top box, where the set-top box includes: an acquiring unit configured to acquire registration information, the registration information includes a network management service parameter and/or a video service parameter, and a sending unit, configured to send the registration information Give the network management server. Since the set-top box can automatically obtain the registration information through the acquiring unit, and send the registration information to the network management server through the sending unit, the registration process of the set-top box is automatically completed, and no manual input is required, thereby improving the installation efficiency of the set-top box and the success rate of registration, and further Improve the user experience.
本发明实施例提供一种网管服务器70,如图7所示,包括:The embodiment of the present invention provides a network management server 70, as shown in FIG. 7, including:
接收单元701,配置为接收机顶盒发送的注册信息,所述注册信息包括网管业务参数和/或视频业务参数。The receiving unit 701 is configured to register information sent by the receiver set-top box, where the registration information includes network management service parameters and/or video service parameters.
示例的,接收单元701可以通过参数树接收机顶盒发送的注册信息。For example, the receiving unit 701 can send registration information through the parameter tree receiver set-top box.
注册单元702,配置为当所述注册信息满足注册条件时,根据所述注册信息完成机顶盒的注册。The registration unit 702 is configured to complete registration of the set top box according to the registration information when the registration information satisfies the registration condition.
网管服务器在接收到机顶盒发送的注册信息之后,首先需要确定该注册信息是否满足注册信息,所述注册信息为机顶盒完成注册所需的参数必须正确且齐全。如果注册信息满足注册条件,说明机顶盒能够顺利进行网络接入和视频接入,此时网管服务器的注册单元702根据注册信息,完成机顶盒的注册,注册成功后机顶盒可以直接接入网络,观看视频。After receiving the registration information sent by the set-top box, the network management server first needs to determine whether the registration information satisfies the registration information, and the registration information is that the parameters required for the set-top box to complete registration must be correct and complete. If the registration information meets the registration condition, the set-top box can smoothly perform network access and video access. At this time, the registration unit 702 of the network management server completes the registration of the set-top box according to the registration information. After the registration is successful, the set-top box can directly access the network and watch the video.
这样一来,由于网管服务器的注册单元702可以根据机顶盒自动获取的注册信息完成机顶盒的注册过程,不需要人工在机顶盒侧手动输入相关注册信息,因此提高了机顶盒的装机效率和注册的成功率,进而提高了用户体验。In this way, since the registration unit 702 of the network management server can complete the registration process of the set top box according to the registration information automatically acquired by the set top box, the manual registration information on the set top box side is not manually input, thereby improving the installation efficiency and the success rate of the registration of the set top box. This improves the user experience.
可选的,如图8所示,所述网管服务器70还包括:发送单元703,配置为当所述注册信息不满足注册条件时,向所述机顶盒发送注册失败信息, 所述注册失败信息包括错误标识,所述错误标识指示所述网管业务参数有误,或所述视频业务参数有误,以便于所述机顶盒根据所述错误标识获取新的网管业务参数或新的视频业务参数。Optionally, as shown in FIG. 8, the network management server 70 further includes: a sending unit 703, configured to send registration failure information to the set top box when the registration information does not satisfy the registration condition, The registration failure information includes an error identifier, the error identifier indicates that the network management service parameter is incorrect, or the video service parameter is incorrect, so that the set top box acquires a new network management service parameter or a new one according to the error identifier. Video service parameters.
可选的,所述接收单元,还配置为接收所述机顶盒发送的新的网管业务参数或所述新的视频业务参数;所述注册单元还用于,根据所述新的网管业务参数或所述新的视频业务参数完成机顶盒的注册。Optionally, the receiving unit is further configured to receive a new network management service parameter or the new video service parameter sent by the set top box; the registration unit is further configured to: according to the new network management service parameter or The new video service parameters complete the registration of the set-top box.
在实际应用中,所述注册单元702可由位于网关服务器中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)、或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。接收单元701可以是网络接收器,通过网线实现信息接收。发送单元703可以是网络发射器,通过网线实现信息发送。In a practical application, the registration unit 702 may be a central processing unit (CPU), a microprocessor (Micro Processor Unit (MPU), a digital signal processor (DSP), or a digital signal processor (DSP) located in the gateway server. Or Field Programmable Gate Array (FPGA) implementation. The receiving unit 701 can be a network receiver, and the information is received through the network cable. The transmitting unit 703 may be a network transmitter that implements information transmission through a network cable.
本发明实施例提供了一种网管服务器,所述网管服务器包括:接收单元,配置为接收机顶盒发送的注册信息,所述注册信息包括网管业务参数和/或视频业务参数;注册单元,配置为当所述注册信息满足注册条件时,根据所述注册信息完成机顶盒的注册。由于网管服务器的注册单元可以根据机顶盒自动获取的注册信息完成机顶盒的注册过程,不需要人工在机顶盒侧手动输入相关注册信息,因此提高了机顶盒的装机效率和注册的成功率,进而提高了用户体验。An embodiment of the present invention provides a network management server, where the network management server includes: a receiving unit configured to register information sent by a receiver top box, where the registration information includes network management service parameters and/or video service parameters; and the registration unit is configured to be When the registration information satisfies the registration condition, the registration of the set top box is completed according to the registration information. The registration unit of the network management server can complete the registration process of the set top box according to the registration information automatically obtained by the set top box, and does not need to manually input relevant registration information on the set top box side, thereby improving the installation efficiency and the success rate of the registration of the set top box, thereby improving the user experience. .
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于前述任意一个自动配置方法,例如,如图1、图2及图3所示方法的至少其中之一。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used in any one of the foregoing automatic configuration methods, for example, as shown in FIG. 1 , FIG. 2 and At least one of the methods shown in 3.
所述计算机存储介质可为各种类型的存储介质,例如,光盘、磁带、硬盘、闪盘或CD等各种类型的存储介质,可选为非瞬间存储介质。The computer storage medium may be various types of storage media, such as various types of storage media such as optical disks, magnetic tapes, hard disks, flash drives, or CDs, and may be non-transitory storage media.
需要说明的是,第一,本发明中术语“和/或”,仅仅是一种描述关联对 象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be noted that, first, the term "and/or" in the present invention is merely a description association pair. The association relationship of the image indicates that there may be three kinds of relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
第二,本发明实施例提供的自动配置方法步骤的先后顺序可以进行适当调整,步骤也可以根据情况进行相应增减,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本发明的保护范围之内,因此不再赘述。Secondly, the sequence of the steps of the automatic configuration method provided by the embodiment of the present invention may be appropriately adjusted, and the steps may also be correspondingly increased or decreased according to the situation, and any person skilled in the art may easily within the technical scope disclosed by the present invention. The method of thinking about the changes should be covered by the scope of the present invention, and therefore will not be described again.
第三,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。For a detailed description of the specific operation of the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described herein again.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围,凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and modifications made in accordance with the principles of the present invention are understood to fall within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例中,机顶盒会自动获取注册信息,将注册信息自动发送给网管服务器,这样的话,就不用用户手动输入注册信息,手动触发注册,可以应用于各种各样的机顶盒中,工业应用简便且能够降低注册错误率,提升注册效率。 In the embodiment of the present invention, the set top box automatically obtains the registration information, and automatically sends the registration information to the network management server, so that the user does not need to manually input the registration information, manually trigger the registration, and can be applied to various set top boxes, industrial applications. It is simple and can reduce registration error rate and improve registration efficiency.

Claims (11)

  1. 一种自动配置方法,用于机顶盒,包括:An automatic configuration method for a set top box, including:
    获取注册信息,所述注册信息包括网管业务参数和/或视频业务参数;Obtaining registration information, where the registration information includes network management service parameters and/or video service parameters;
    将所述注册信息发送给网管服务器。Send the registration information to the network management server.
  2. 根据权利要求1所述的方法,其中,在所述将所述注册信息发送给网管服务器之后,所述方法还包括:The method of claim 1, wherein after the sending the registration information to the network management server, the method further comprises:
    接收所述网管服务器发送的注册失败信息,所述注册失败信息包括错误标识,所述错误标识指示所述网管业务参数有误,或所述视频业务参数有误;Receiving the registration failure information sent by the network management server, where the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter is incorrect, or the video service parameter is incorrect;
    根据所述错误标识,获取新的网管业务参数或新的视频业务参数;Obtaining new network management service parameters or new video service parameters according to the error identifier;
    将所述新的网管业务参数或所述新的视频业务参数发送给所述网管服务器。And sending the new network management service parameter or the new video service parameter to the network management server.
  3. 一种自动配置方法,用于网管服务器,包括:An automatic configuration method for a network management server, including:
    接收机顶盒发送的注册信息,所述注册信息包括网管业务参数和/或视频业务参数;Registration information sent by the receiver set-top box, where the registration information includes network management service parameters and/or video service parameters;
    当所述注册信息满足注册条件时,根据所述注册信息完成机顶盒的注册。When the registration information satisfies the registration condition, the registration of the set top box is completed according to the registration information.
  4. 根据权利要求3所述的方法,其中,所述方法还包括:The method of claim 3, wherein the method further comprises:
    当所述注册信息不满足注册条件时,向所述机顶盒发送注册失败信息,所述注册失败信息包括错误标识,所述错误标识指示所述网管业务参数有误,或所述视频业务参数有误,以便于所述机顶盒根据所述错误标识获取新的网管业务参数或新的视频业务参数。When the registration information does not satisfy the registration condition, the registration failure information is sent to the set-top box, where the registration failure information includes an error identifier, the error identifier indicates that the network management service parameter is incorrect, or the video service parameter is incorrect. So that the set top box acquires new network management service parameters or new video service parameters according to the error identifier.
  5. 根据权利要求4所述的方法,其中,在所述向所述机顶盒发送注册失败信息之后,所述方法还包括: The method of claim 4, wherein after the sending the registration failure information to the set top box, the method further comprises:
    接收所述机顶盒发送的新的网管业务参数或所述新的视频业务参数;Receiving a new network management service parameter or the new video service parameter sent by the set top box;
    所述根据所述注册信息完成机顶盒的注册包括:The completing the registration of the set top box according to the registration information includes:
    根据所述新的网管业务参数或所述新的视频业务参数完成机顶盒的注册。The registration of the set top box is completed according to the new network management service parameter or the new video service parameter.
  6. 一种机顶盒,其中,包括:A set top box, comprising:
    获取单元,配置为获取注册信息,所述注册信息包括网管业务参数和/或视频业务参数;An obtaining unit, configured to obtain registration information, where the registration information includes a network management service parameter and/or a video service parameter;
    发送单元,配置为将所述注册信息发送给网管服务器。The sending unit is configured to send the registration information to the network management server.
  7. 根据权利要求6所述的机顶盒,其中,所述机顶盒还包括:The set top box of claim 6, wherein the set top box further comprises:
    接收单元,配置为接收所述网管服务器发送的注册失败信息,所述注册失败信息包括错误标识,所述错误标识指示所述网管业务参数有误,或所述视频业务参数有误;a receiving unit, configured to receive the registration failure information sent by the network management server, where the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter is incorrect, or the video service parameter is incorrect;
    所述获取单元,还配置为根据所述错误标识,获取新的网管业务参数或新的视频业务参数;The acquiring unit is further configured to acquire a new network management service parameter or a new video service parameter according to the error identifier;
    所述发送单元,还配置为将所述新的网管业务参数或所述新的视频业务参数发送给所述网管服务器。The sending unit is further configured to send the new network management service parameter or the new video service parameter to the network management server.
  8. 一种网管服务器,其中,包括:A network management server, which includes:
    接收单元,配置为接收机顶盒发送的注册信息,所述注册信息包括网管业务参数和/或视频业务参数;The receiving unit is configured to register information sent by the receiver set top box, where the registration information includes network management service parameters and/or video service parameters;
    注册单元,配置为当所述注册信息满足注册条件时,根据所述注册信息完成机顶盒的注册。The registration unit is configured to complete registration of the set top box according to the registration information when the registration information satisfies the registration condition.
  9. 根据权利要求8所述的网管服务器,其中,所述网管服务器还包括:The network management server according to claim 8, wherein the network management server further comprises:
    发送单元,配置为当所述注册信息不满足注册条件时,向所述机顶盒发送注册失败信息,所述注册失败信息包括错误标识,所述错误标识指示所述网管业务参数有误,或所述视频业务参数有误,以便于所述机顶盒根 据所述错误标识获取新的网管业务参数或新的视频业务参数。a sending unit, configured to send registration failure information to the set top box when the registration information does not meet the registration condition, where the registration failure information includes an error identifier, where the error identifier indicates that the network management service parameter is incorrect, or The video service parameters are incorrect, so as to facilitate the set-top box root Obtain new network management service parameters or new video service parameters according to the error identifier.
  10. 根据权利要求9所述的网管服务器,其中,The network management server according to claim 9, wherein
    所述接收单元,还配置为接收所述机顶盒发送的新的网管业务参数或所述新的视频业务参数;The receiving unit is further configured to receive a new network management service parameter or the new video service parameter sent by the set top box;
    所述注册单元,还配置为根据所述新的网管业务参数或所述新的视频业务参数完成机顶盒的注册。The registration unit is further configured to complete registration of the set top box according to the new network management service parameter or the new video service parameter.
  11. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至5任一项所述自动配置方法。 A computer storage medium having stored therein computer executable instructions for performing the automatic configuration method of any one of claims 1 to 5.
PCT/CN2016/099639 2015-10-30 2016-09-21 Automatic configuration method, set-top box, server and computer storage medium WO2017071432A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510724364.9A CN106658081A (en) 2015-10-30 2015-10-30 Automatic configuration method, set top box, and server
CN201510724364.9 2015-10-30

Publications (1)

Publication Number Publication Date
WO2017071432A1 true WO2017071432A1 (en) 2017-05-04

Family

ID=58631328

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099639 WO2017071432A1 (en) 2015-10-30 2016-09-21 Automatic configuration method, set-top box, server and computer storage medium

Country Status (2)

Country Link
CN (1) CN106658081A (en)
WO (1) WO2017071432A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107528741A (en) * 2017-09-26 2017-12-29 晶晨半导体(上海)股份有限公司 A kind of method of a variety of Automatic Configuration Servers of compatibility
CN107623600B (en) * 2017-09-27 2021-08-10 山东云缦智能科技有限公司 System and method for realizing Tr069 network management by adopting multiple processes
CN111615001A (en) * 2020-05-20 2020-09-01 江苏银河数字技术有限公司 System and method applied to process communication in set top box of low-end Linux television

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118276A (en) * 2012-12-28 2013-05-22 华为终端有限公司 Set top box (STB) configuration method, STB and servers
CN103841436A (en) * 2013-12-11 2014-06-04 惠州市伟乐科技有限公司 Automatic network registering method for set top box
CN103905920A (en) * 2012-12-26 2014-07-02 中国电信股份有限公司 Network television open configuration method based on Ethernet dynamic address access and system thereof
US20150262021A1 (en) * 2011-01-28 2015-09-17 Peter Som De Cerff Systems and methods for automating customer premises equipment registration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150262021A1 (en) * 2011-01-28 2015-09-17 Peter Som De Cerff Systems and methods for automating customer premises equipment registration
CN103905920A (en) * 2012-12-26 2014-07-02 中国电信股份有限公司 Network television open configuration method based on Ethernet dynamic address access and system thereof
CN103118276A (en) * 2012-12-28 2013-05-22 华为终端有限公司 Set top box (STB) configuration method, STB and servers
CN103841436A (en) * 2013-12-11 2014-06-04 惠州市伟乐科技有限公司 Automatic network registering method for set top box

Also Published As

Publication number Publication date
CN106658081A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
US20230319534A1 (en) Cross-resource subscription for m2m service layer
US9774642B2 (en) Method and device for pushing multimedia resource and display terminal
CN105120299B (en) Video pushing method and device
US20210374810A1 (en) Smart broadcasting device
WO2015074585A1 (en) Account information management method and apparatus in smart tv
EP3013086A1 (en) Method, apparatus and electronic device for connection management
EP3425566A1 (en) Electronic device and method of registering personal cloud apparatus in user portal server thereof
WO2018161807A1 (en) User identity verification method and apparatus
CN104918105B (en) More screen playing methods, equipment and the system of media file
JP2014010842A (en) Method to discover application
WO2017071432A1 (en) Automatic configuration method, set-top box, server and computer storage medium
CN109474595B (en) Electronic equipment binding method, electronic equipment, mobile terminal and server
CN110855680B (en) Internet of things equipment docking method and device
CN110944035A (en) Internet of things equipment control method and system and readable medium
CN112188277B (en) Screen projection control method and device, electronic equipment and computer program medium
US20180020057A1 (en) Method and System for Connecting Heterogeneous Internet of Things Devices for Workflow Automation
US20160337191A1 (en) Client application adaptation method, terminal device, and system
TW201800959A (en) Intelligent device control method, apparatus and device for internet of things
WO2016026329A1 (en) Terminal upgrade method and apparatus
WO2012155561A1 (en) Mobile phone tv playing error processing method, server and mobile phone tv terminal
US9634883B2 (en) Verifying information stored on a managed network device
WO2020207105A1 (en) Destination message determination method and apparatus, storage medium and electronic apparatus
CN112511739B (en) Interactive information generation method and equipment
CN109218338B (en) Information processing system, method and device
WO2022257927A1 (en) Key burning method and apparatus, electronic device board card, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16858868

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16858868

Country of ref document: EP

Kind code of ref document: A1