WO2020048177A1 - Procédé et appareil de gestion de boîtier décodeur, et dispositif et support de stockage - Google Patents
Procédé et appareil de gestion de boîtier décodeur, et dispositif et support de stockage Download PDFInfo
- Publication number
- WO2020048177A1 WO2020048177A1 PCT/CN2019/090780 CN2019090780W WO2020048177A1 WO 2020048177 A1 WO2020048177 A1 WO 2020048177A1 CN 2019090780 W CN2019090780 W CN 2019090780W WO 2020048177 A1 WO2020048177 A1 WO 2020048177A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- top box
- dhcp
- message
- management
- session management
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring 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/44227—Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/64—Addressing
- H04N21/6402—Address allocation for clients
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
Definitions
- This application relates to, but is not limited to, the field of communications technologies, and in particular, to a method, device, device, and storage medium for managing a set-top box.
- a set-top box (digital video conversion box), as a connection device between video and external signals, is a vital device in digital video informatization.
- set-top boxes In the process of informatization development, set-top boxes inevitably communicate with data communication equipment.
- the interaction process involves data networks such as broadband access networks, convergence networks, and Internet Data Center (IDC) central computer rooms.
- IDC Internet Data Center
- the set-top box In the management network of data communication, the set-top box needs to complete the process of obtaining the management communication address and data initialization; in the business communication network, the process of obtaining the business communication address needs to be completed, so the set-top box needs to perform the operation of switching the management communication address and the business communication address.
- set-top box manufacturers, equipment manufacturers, operators, and service providers use the Dynamic Host Configuration Protocol (DHCP) protocol to implement the communication interaction process in the management and distribution of network addresses and business network addresses.
- DHCP Dynamic Host Configuration Protocol
- the set-top box may hang during the switching of the management communication address and the business communication address.
- the embodiments of the present application are expected to provide a method, device, device, and storage medium for managing a set-top box, to solve the problem that the set-top box hangs in the process of switching between the management communication address and the business communication address in the related art.
- An embodiment of the present application provides a set-top box management method, including:
- the session management resource is released, and a DHCP Release message is sent to the management server, so that the management server releases the set-top box based on the DHCP Release message.
- the management communication address assigned in the management server is described.
- determining whether a session management resource of the set-top box exists based on the DHCP message includes:
- detecting whether a service change occurs on the set-top box based on the DHCP message includes:
- the type of the DHCP message is a DHCP Discover message
- the set-top box If it is detected that there is a Vendor class identifier and / or a Host name carried in the DHCP Discover message in the description information of the session management resource, the set-top box has no service change; otherwise, the set-top box has a service change.
- detecting whether a service change occurs on the set-top box based on the DHCP message includes:
- the type of the DHCP message is a DHCP Request message
- detecting whether the DHCP Request message carries Internet protocol IP address information and server identification information of the STB
- the service of the set-top box has not changed; otherwise, the service of the set-top box has changed.
- the method when a business change is detected in the set-top box, the method further includes:
- the application also provides a set-top box management device, including:
- a first judgment module configured to determine, when a dynamic host configuration protocol DHCP message sent by a set-top box is received, based on the DHCP message, to determine whether a session management resource of the set-top box already exists;
- a second judgment module configured to detect whether a service change occurs on the set-top box based on the DHCP message when it is determined that the session management resource already exists
- the execution module is configured to release the session management resource when a service change of the set-top box is detected, and send a DHCP Release message to the management server for the management server to release based on the DHCP Release message A management communication address allocated by the set-top box in the management server.
- the first judgment module is further configured:
- the second judgment module is further configured:
- the type of the DHCP message is a DHCP Discover message
- the set-top box If it is detected that there is a Vendor class identifier and / or a Host name carried in the DHCP Discover message in the description information of the session management resource, the set-top box has not undergone a service change; otherwise, the set-top box has undergone a service change.
- the second judgment module is further configured:
- the type of the DHCP message is a DHCP Request message
- detecting whether the DHCP Request message carries Internet protocol IP address information and server identification information of the STB
- the service of the set-top box has not changed; otherwise, the service of the set-top box has changed.
- the device further includes:
- a feedback module configured to send a DHCP NAK message to the set-top box when it detects that a service change has occurred on the set-top box, so that the set-top box re-replies the DHCP Request message based on the DHCP NAK message pass.
- the application also provides a set-top box management device.
- the set-top box management device includes a processor and a memory.
- the processor is configured to execute a program for managing the set-top box stored in the memory, so as to implement the steps of the above-mentioned set-top box management method.
- the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned set-top box management. Method steps.
- the present application has at least the following beneficial technical effects:
- the set-top box management method, device, device and computer-readable storage medium described in this application can effectively prevent the set-top box from hanging up during the management communication address and business communication address switching process, and effectively improve the stability of the set-top box. Improve the user experience of the set-top box.
- FIG. 1 is a flowchart of a method for interacting a set-top box in a data communication network according to an embodiment of the present application
- FIG. 2 is a flowchart of a method for interacting a set-top box in a data communication network according to an embodiment of the present application
- FIG. 3 is a flowchart of a method for interacting a set-top box in a data communication network according to an embodiment of the present application
- FIG. 4 is a flowchart of a set-top box management method according to an embodiment of the present application.
- FIG. 5 is a flowchart of a set-top box management method according to an embodiment of the present application.
- FIG. 6 is a flowchart of a set-top box management method according to an embodiment of the present application.
- FIG. 7 is a flowchart of a set-top box management method according to an embodiment of the present application.
- FIG. 8 is a schematic structural diagram of a set-top box management device according to an embodiment of the present application.
- FIG. 9 is a schematic structural diagram of a set-top box management device according to an embodiment of the present application.
- FIG. 10 is a schematic structural diagram of a set-top box management device according to an embodiment of the present application.
- Step S101 the set-top box sends a first message to the broadband access router, the broadband access router sends the first message to the management server, the management server returns the management communication address to the broadband access router, and the broadband access router returns the management communication address to Set-top boxes.
- the first message can be a DHCP Discover message.
- the set-top box manages the address allocation process, that is, after the STB is powered on for the first time, it sends the DHCP Discover message to the Broadband Access Router (DHCP Relay Relay Server) with the manufacturer initialization information
- the broadband access router determines that the set-top box is in an initial state according to the information carried in the DHCP Discover message, and sends the DHCP Discover message to the management server (DHCPServer # 1); the management server (DHCPServer # 1) issues communication Use the STB address (that is, the management communication address), the version machine address, and the related configuration server Trivial File Transfer Protocol (TFTP) address to notify the STB to download, and the STB obtains the management communication address IP # 1.
- TFTP Trivial File Transfer Protocol
- Step S102 The set-top box sends a second message to the broadband access router, and the broadband access router sends a second message to the management server.
- the second message may be a DHCP Release message.
- the STB downloads the new version and business data, it restarts the STB.
- the STB restart operation needs to send a DHCP Release message to the broadband access router to notify the broadband access router and the management server to release the management communication address IP # 1 resource.
- Step S103 the set-top box sends the first message to the broadband access router, the broadband access router sends the first message to the management server, the management server returns the business communication address to the broadband access router, and the broadband access router returns the business communication address to Set-top boxes.
- the first message can be a DHCP Discover message.
- the set-top box service address allocation process that is, the STB sends the DHCP Discover message carrying the user service information to the broadband access router.
- Information content it is determined that the set-top box has completed data initialization and has obtained the service communication address for this request; the broadband access router sends data to the service management server (DHCPServer # 2); the service management server (DHCPServer # 2) issues business communications Address, the set-top box obtains the business communication address IP # 2; the set-top box completes the assignment of the business communication address and starts normal business mutual visits.
- the set-top box (digital video conversion box) hangs during the process of switching between the management communication address and the business communication address in two different environments during the data communication network interaction, including:
- Step S201 the set-top box sends the first message to the broadband access router, the broadband access router sends the first message to the management server, the management server returns the management communication address IP # 1 to the broadband access router, and the broadband access router returns management The communication address IP # 1 is for the set-top box.
- the set-top box manages the address allocation process, that is, after the set-top box is powered on for the first time, it sends the DHCP initialization message to the broadband access router (DHCP Relay server) with the manufacturer's initialization information.
- the broadband access router determines the content of the information carried in the DHCP discovery message.
- the set-top box is in the initial state and sends a DHCP Discover message to the management server (DHCPServer # 1); the management server (DHCPServer # 1) issues the address of the set-top box for communication, the version machine address, and the related configuration server TFTP (Trivial file) Transfer Protocol (Simple File Transfer Protocol) address, to notify the set-top box to download, and the set-top box obtains the management communication address IP # 1.
- DHCPServer # 1 Trivial file Transfer Protocol (Simple File Transfer Protocol) address
- step S202 the set-top box fails to send the second message, and the broadband access router fails to send the second message.
- the second message may be a DHCP Release message.
- the set-top box device Before the set-top box device restarts to load new data, it needs to send a DHCP Release message to notify the broadband access router and management server to release the session management resources occupied in step S201; due to the implementation of the set-top box or link stability factors, it will The DHCP Release message was not sent, the content was sent incorrectly, or it was lost during transmission. As a result, the broadband access router and management server did not receive the session management resource release request as expected, and the session management resources continued to be occupied.
- Step S203 the set-top box sends the first message to the broadband access router, the broadband access router sends the first message to the management server, the management server returns the management communication address to the broadband access router, and the broadband access router returns the management communication address to Set-top boxes.
- the set-top box device After the set-top box device restarts, it sends a DHCP Discover message to request a business communication address.
- the broadband access router finds that the communication connection between the set-top box and the management server still exists, and the data message is delivered to the management server for address reapplication;
- the management server finds that the management communication address IP # 1 assigned to the set-top box is still in normal use.
- the management server responds with the management communication address IP # 1 and assigns the set-top box to the management communication address IP # 1; the set-top box is currently The obtained address is IP # 1, and IP # 1 is the management communication address used by the management network.
- IP # 1 cannot be identified in the business communication network, and the set-top box hangs. At this time, it is necessary to wait for the DHCP protocol on the broadband access router and the management server to age before the set-top box can assign a normal address. In the process, the restart of the set-top box cannot solve the hanging problem.
- Step S301 the set-top box sends a first message to the broadband access router, the broadband access router sends the first message to the management server, the management server returns the management communication address IP # 1 to the broadband access router, and the broadband access router returns management The communication address IP # 1 is for the set-top box.
- the set-top box manages the address assignment process, that is, after the set-top box is powered on for the first time, it sends the DHCP initialization message to the broadband access router (DHCPRelay relay server) with the manufacturer's initialization information.
- the incoming router determines that the set-top box is in the initial state, and sends the DHCP Discover message to the management server (DHCPServer # 1); the management server (DHCPServer # 1) issues the address of the set-top box for communication. , Version machine address, and the relevant configuration server TFTP (Trivial File Transfer Protocol) address, to notify the set-top box to download, and the set-top box obtains the management communication address IP # 1.
- Step S302 The set-top box fails to send the second message, and the broadband access router fails to send the second message.
- the STB before the STB restarts to load new data, it needs to send a DHCP Release message to notify the broadband access router and management server to release the session management resources occupied in step S301.
- the implementation of the set-top box or the stability of the link may cause the DHCPRelease message not to be sent, the content to be sent incorrectly, or lost during the transmission process.
- the broadband access router and management server do not receive the session management resource release request as expected, and the session management resource continues. Occupied.
- Step S303 the set-top box sends a third message to the broadband access router, the broadband access router sends the third message to the management server, the management server returns the management communication address IP # 1 to the broadband access router, and the broadband access router returns management The communication address IP # 1 is for the set-top box.
- the third message can be a DHCP Request message.
- Fast online is a speed dialing method defined by the DHCP protocol.
- the fast online process does not send a DHCP Discover message, but directly sends a DHCP Request message.
- the message is sent in broadcast mode.
- the broadband access router receives the DHCP Request message, It is found that the communication connection between the set-top box and the management server still exists, and the DHCP Request message is delivered to the management server.
- the management server After receiving the DHCP Request message, the management server finds that the management communication address IP # 1 assigned to the set-top box is still in normal use, and the management server uses The management communication address IP # 1 responds, and the set-top box will be assigned to the management communication address IP # 1.
- the set-top box currently obtains the management communication address IP # 1, and the management communication address IP # 1 is the management network use address.
- the management communication address IP # 1 cannot be identified in the business communication network, and the set-top box hangs during the fast online process; this In this case, it is necessary to wait for the DHCP protocol on the broadband access router and the management server to age before the set-top box can assign a normal address. In the process, the restart of the set-top box cannot solve the hanging problem.
- the method for managing a set-top box provided in the embodiment of the present application is applied to a data communication network, and is used to avoid the hang-up defect of the set-top box in the process of switching the management communication address and the business communication address, and improve the stability of the set-top box, which is used to solve the related technology
- the set-top box hangs. There is no need to upgrade the set-top box equipment on the existing network, and there is no need to make uniform technical rectification requirements for the current set-top box vendor and server provider equipment.
- An embodiment of the present application provides a method for managing a set-top box. As shown in FIG. 4, the method includes the following steps:
- Step S401 When receiving a DHCP message sent by a set-top box, based on the DHCP message, determine whether a session management resource of the set-top box already exists.
- the type of the DHCP message is not limited, and may be a DHCP Discover message or a DHCP Request message.
- a manner of determining whether a session management resource of the set-top box already exists includes, but is not limited to:
- step S402 if it is determined that a session management resource exists, based on the DHCP message, it is detected whether a service change has occurred on the set-top box.
- the method for detecting whether a service change of a set-top box is not limited based on the DHCP message, and whether the service change of the set-top box can be detected based on information carried in one or more setting fields in the DHCP message. .
- step S403 when it is detected that the set-top box has undergone a service change, the session management resources are released, and a DHCP Release message is sent to the management server for the management server to release the set-top box allocated in the management server based on the DHCP release message.
- Manage communication addresses when it is detected that the set-top box has undergone a service change, the session management resources are released, and a DHCP Release message is sent to the management server for the management server to release the set-top box allocated in the management server based on the DHCP release message.
- the process of switching between the management communication address and the business communication address of the set-top box is avoided.
- the hang-up defect occurs in the set-top box, avoiding the hang-up problem that occurs when the set-top box switches between the management communication address and the business communication address. It is necessary to wait for the DHCP protocol on the broadband access router and the management server to age before the set-top box can assign a normal address.
- the method for managing a set-top box described in the first embodiment of the present application can effectively avoid the hang-up defect of the set-top box in the process of switching management communication addresses and business communication addresses, effectively improving the stability of the set-top box, and improving the user experience of the set-top box.
- An embodiment of the present application further provides a method for managing a set-top box. As shown in FIG. 5, the method includes the following steps:
- step S501 when receiving a DHCP Discover message sent by a set-top box, it is detected whether the MAC address carried in the DHCP discovery message is stored; if it is detected that the MAC address is stored, it is determined that a session management of the set-top box exists. Resources; otherwise, it is determined that there is no session management resource for the set-top box.
- the MAC address of the set-top box when the MAC address of the set-top box is detected, it indicates that the MAC address of the set-top box has been used, so it can be determined that the session management resources of the set-top box have been occupied; otherwise, the session management resources of the set-top box can be determined. Not occupied.
- step S502 when it is determined that the session management resource of the set-top box already exists, it is detected whether the description information of the session management resource exists in the vendor discovery identifier information (Vendor class identifier) and / or the domain name information ( Host name); If it is detected that the manufacturer class identification information and / or domain name information carried in the DHCP discovery message exists in the description information of the session management resource, the set-top box has not undergone a service change; otherwise, the set-top box has undergone a service change.
- the vendor discovery identifier information Vendor class identifier
- Host name domain name
- the Vendor class identifier carried in the DHCP Discover message is the Vendor class identifier carried in the option60 field of the DHCP Discover message; and the Host name carried in the DHCP Discover message is the Host name carried in the option 12 field of the DHCP Discover message.
- a method for detecting whether there is a Vendor class identifier and / or a Host name carried in the DHCP Discover message in the description information of the session management resource includes, but is not limited to:
- the description information of the session management resource is a list of session management resources.
- step S503 when it is detected that the set-top box has undergone a service change, the session management resource is released, and a DHCP release message is sent to the management server for the management server to release the management communication allocated by the set-top box in the management server based on the DHCP release message. address.
- the method for managing a set-top box described in the embodiments of the present application can effectively avoid the hang-up defect of the set-top box in the process of switching the management communication address and the service communication address, effectively improve the stability of the set-top box, and improve the user experience of the set-top box.
- An embodiment of the present application further provides a method for managing a set-top box. As shown in FIG. 6, the method includes the following steps:
- step S601 when receiving a DHCP Request message sent by the set-top box, it is detected whether the MAC address carried in the DHCP request message is stored; if it is detected that the MAC address is stored, it is determined that session management of the set-top box already exists. Resources; otherwise, it is determined that there is no session management resource for the set-top box.
- the MAC address of the set-top box when the MAC address of the set-top box is detected, it indicates that the MAC address of the set-top box has been used, so it can be determined that the session management resources of the set-top box have been occupied; otherwise, the session management resources of the set-top box can be determined. Not occupied.
- step S602 when it is determined that the session management resources of the set-top box already exist, it is detected whether the DHCP request message carries the Internet Protocol (IP) address information and server identification information (Server identification) of the set-top box; if the DHCP request message Carrying the IP address information and server identification information, the set-top box has not changed its business; otherwise, the set-top box has changed its business.
- IP Internet Protocol
- Server identification server identification
- the IP address information carried in the DHCP Request message is the IP address information carried in the ciaddr field in the DHCP Request message; the Server identity carried in the DHCP Request message is the Server identity identified carried in the option54 field of the DHCP Request message.
- step S602 includes:
- the IP address information carried in the ciaddr field in the DHCP Request message and the Server identityify carried in the option54 field are detected; if both the ciaddr field and option54 in the DHCP Request message are not 0, The service of the set-top box has not changed; if both the ciaddr field and option54 in the DHCP Request message are 0, the service of the set-top box has changed.
- Step S603 When it is detected that the set-top box has undergone a service change, release the session management resource, and send a DHCP release message to the management server for the management server to release the management communication allocated by the set-top box in the management server based on the DHCP release message. address.
- Step S604 Send a DHCP NAK message to the set-top box for the set-top box to retransmit the DHCP request message based on the DHCP NAK message.
- the method for managing a set-top box described in the embodiments of the present application can effectively avoid the hang-up defect of the set-top box in the process of switching the management communication address and the service communication address, effectively improve the stability of the set-top box, and improve the user experience of the set-top box.
- step S701 the session is retrieved. If there is a set-top box session, step S707 is performed, and if there is no set-top box session, step S702 is performed.
- the Broadband Access Router (DHCP Relay Server) receiver sends a DHCP protocol message using the client MAC address in the DHCP message for session retrieval. If the client MAC address information used by the set-top box is not retrieved If the set-top box session does not exist on the broadband access router, step S702 is performed; if the client MAC address information used by the set-top box is detected, the device believes that the set-top box session exists, and step S707 is performed.
- DHCP Relay Server DHCP Relay Server
- Step S702 Generate a session management resource table.
- the broadband access router performs session management resource allocation, generates a session management resource table with the client MAC address as the main index, and executes step S703.
- Step S703 feature data extraction.
- the data processing unit of the broadband access router extracts characteristic data of the DHCP message, extracts initialization data information or related service information including user names and domain names, analyzes access requirements of the set-top box, and stores the extracted information, and executes step S704.
- Step S704 Forward the DHCP message to the DHCP server.
- the DHCP protocol module of the broadband access router forwards the DHCP message to the corresponding DHCP server according to the analysis result of the data processing unit to implement accurate data delivery, and execute step S705.
- Step S705 Assign the management communication address.
- the DHCP server After the DHCP server receives the DHCP message forwarded by the device, it performs normal DHCP protocol interaction, assigns the correct IP address to the set-top box, the relay device DHCP protocol module completes the normal DHCP protocol interaction process, and forwards the management communication address assigned to the set-top box. Step S706 is performed.
- step S706 the processing flow is ended.
- the set-top box obtains the correct IP address for communication access, and the process ends.
- step S707 it is determined whether the received DHCP message is a DHCP discovery message. If so, step S708 is performed, and if not, step S714 is performed.
- the broadband access router has a session management resource table corresponding to the set-top box, it is considered that the set-top box has initiated an address request and received a response from the DHCP server. If the received DHCP message is a DHCP discovery message, go to step S708; if the received DHCP message is not a DHCP discovery message, go to step S714.
- Step S708 feature data extraction.
- the Broadband Access Router data processing unit extracts the characteristic data of the DHCP discovery message, such as Option 60 (Vendor class identifier) carried in the extracted data message and Set-top box option 12 (Host name, domain name information) Message, execute step S709.
- Option 60 Vendor class identifier
- Set-top box option 12 Host name, domain name information
- step S709 whether option 12 is consistent is compared. If they are consistent, step S710 is performed. If they are not consistent, step S711 is performed.
- step S711 Compare the Option 12 (Host name, domain name information) information extracted from the DHCP discovery message with the Option 12 (Host name, domain name information) information stored in the session management resource table. If they are not consistent, go to step S711; if they are consistent, go to step S710. .
- step S710 whether option 60 is consistent is compared. If they are consistent, step S724 is performed. If they are not consistent, step S711 is performed.
- Step S711 Compare the Option 60 (Vendor Class Identifier) information extracted from the DHCP Discovery message with the Option 60 (Vendor Class Identifier) information stored in the session management resource table. If they are not the same, Step S711 is performed; if they are consistent, step S724 is performed.
- Step S711 Release the stored session management resources.
- the broadband access router acts as a DHCP Relay relay server, releases the stored session management resources, and executes step S712.
- Step S712 Send a DHCP release message to the server.
- the broadband access router acts as a DHCP Relay relay server, sends a DHCP Release message to the DHCP Server that originally assigned the address, releases the management communication address allocated on the DHCP server, and executes step S713.
- Step S713 waiting for retransmission of the DHCP discovery message.
- the broadband access router does not process or respond to the DHCP discovery message received this time, and waits for the set-top box to retransmit the DHCP Discover message. After the retransmission of the DHCP protocol message, the content check of step S701 is performed.
- step S714 it is determined whether the received DHCP message is a DHCP discovery message. If so, step S715 is performed; if not, step S724 is performed.
- step S715 is performed; if the data message is not a DHCP request message, step S724 is performed.
- Step S715 feature data extraction.
- the data processing unit of the broadband access router extracts the data features of the DHCP request message, extracts the ciaddr (IP address information) field and option54 (server identification) field carried in the data packet, and executes step S716.
- step S716 it is determined whether the ciaddr field in the DHCP Request message is 0. If it is 0, it is considered that the set-top box has not been assigned IP address information, and step S717 is performed; if not, step S722 is performed.
- step S717 it is determined whether the option54 (server identification) field in the DHCP Request message is 0. If it is 0, it is considered that the set-top box has not been assigned a corresponding server identifier, and step S718 is performed; if not, step S722 is performed.
- step S718 the stored session management resources are released.
- the broadband access router acts as a DHCP Relay relay server, releases the stored session management resources, and executes step S719.
- Step S719 Send a DHCP release message to the server.
- the broadband access router acts as a DHCP Relay relay server, sends a DHCP Release message to the DHCP Server that originally assigned the address, releases the management communication address allocated on the DHCP Server, and executes step S720.
- Step S720 Reply the DHCP Nak message to the set-top box.
- the broadband access router acts as a DHCP Relay relay server, and returns a DHCP Nak message to the set-top box, asking the set-top box to re-initiate a DHCP Request message, request a service address, and execute step S721.
- Step S721 waiting for the set-top box to retransmit the DHCP request message.
- the broadband access router does not perform any processing and response to the DHCP Request message received this time, and further waits for the set-top box to retransmit the DHCP Request message. After the retransmitted DHCP protocol message, the content check of step S701 is performed.
- step S722 it is determined whether the DHCP Request message is a lease renewal message of the set-top box. If it is, the normal lease renewal message processing flow is executed, and step S723 is performed; if it is not a lease renewal message, step S724 is performed.
- Step S723 Send a lease renewal message to the DHCP server.
- the broadband access router as a relay server needs to send a lease renewal message to the DHCP Server, and the device performs normal DHCP lease renewal message interaction.
- Step S724 Discard the DHCP messages that do not meet the protocol specifications.
- the method for managing a set-top box described in the embodiments of the present application can effectively avoid the hang-up defect of the set-top box in the process of switching the management communication address and the service communication address, effectively improve the stability of the set-top box, and improve the user experience of the set-top box.
- An embodiment of the present application further provides a set-top box management device. As shown in FIG. 8, the device includes the following components:
- the first determining module 10 is configured to, when receiving a DHCP message sent by a set-top box, determine whether a session management resource of the set-top box already exists based on the DHCP message.
- the type of the DHCP message is not limited, and may be a DHCP Discover message or a DHCP Request message.
- the first judgment module 10 is further configured to:
- the second determining module 20 is configured to detect, based on the DHCP message, whether a service change occurs on the set-top box when it is determined that a session management resource exists.
- the method of detecting whether a set-top box has undergone a service change based on the DHCP message is not specifically limited, and it is possible to detect whether the set-top box has a service based on information carried in one or more setting fields in the DHCP message. change.
- the execution module 30 is configured to release a session management resource when a service change of the set-top box is detected, and send a DHCP Release message to the management server for the management server to release the set-top box allocated in the management server based on the DHCP Release message.
- the process of switching between the management communication address and the business communication address of the set-top box is avoided.
- the hang-up defect occurs in the set-top box, avoiding the hang-up problem that occurs when the set-top box switches between the management communication address and the business communication address. It is necessary to wait for the DHCP protocol on the broadband access router and the management server to age before the set-top box can assign a normal address.
- the device for managing a set-top box described in the embodiments of the present application can effectively avoid the hang-up defect of the set-top box in the process of switching the management communication address and the service communication address, effectively improve the stability of the set-top box, and improve the user experience of the set-top box.
- An embodiment of the present application further provides a set-top box management device. As shown in FIG. 8, the device includes the following components:
- the first determining module 10 is configured to detect whether the MAC address carried in the DHCP Discover message is stored when receiving the DHCP Discover message sent by the set-top box; if it is detected that the MAC address is stored, it is determined that the Session management resources; otherwise, it is determined that there is no session management resource for the set-top box.
- the MAC address of the set-top box when the MAC address of the set-top box is detected, it indicates that the MAC address of the set-top box has been used, so it can be determined that the session management resources of the set-top box have been occupied; otherwise, the session management resources of the set-top box can be determined. Not occupied.
- the second determining module 20 is configured to detect whether there is a Vendor class identifier (vendor class identifier) and a Vendor class identifier carried in the DHCP Discover message in the description information of the session management resource when it is determined that the session management resource of the set-top box already exists. / Or Host name (domain name information); if it is detected that there is a Vendor class identifier and / or Host name carried in the DHCP Discover message in the description information of the session management resource, the set-top box service has not changed; otherwise, the set-top box service has occurred change.
- the Vendor class identifier carried in the DHCP Discover message is the Vendor class identifier carried in the option60 field of the DHCP Discover message; and the Host name carried in the DHCP Discover message is the Host name carried in the option 12 field of the DHCP Discover message.
- a method for detecting whether there is a Vendor class identifier and / or a Host name carried in the DHCP Discover message in the description information of the session management resource includes, but is not limited to:
- the description information of the session management resource is a list of session management resources.
- the execution module 30 is configured to release a session management resource when a service change of the set-top box is detected, and send a DHCP Release message to the management server for the management server to release the set-top box allocated in the management server based on the DHCP Release message.
- the device for managing a set-top box described in the embodiments of the present application can effectively avoid the hang-up defect of the set-top box in the process of switching the management communication address and the service communication address, effectively improve the stability of the set-top box, and improve the user experience of the set-top box.
- An embodiment of the present application further provides a set-top box management device. As shown in FIG. 9, the device includes the following components:
- the first determining module 10 is configured to detect whether the MAC address carried in the DHCP Request message is stored when receiving the DHCP Request message sent by the set-top box; if it is detected that the MAC address is stored, it is determined that the set-top box already exists. Session management resources; otherwise, it is determined that there is no session management resource for the set-top box.
- the MAC address of the set-top box when the MAC address of the set-top box is detected, it indicates that the MAC address of the set-top box has been used, so it can be determined that the session management resources of the set-top box have been occupied; otherwise, the session management resources of the set-top box can be determined. Not occupied.
- the second determining module 20 is configured to detect whether the DHCP Request message carries the IP (Internet Protocol) address information of the set-top box and Server identification information when determining that the session management resources of the set-top box already exist; If the DHCP Request message carries the IP address information and Server identification, the service of the set-top box has not changed; otherwise, the service of the set-top box has changed.
- IP Internet Protocol
- the IP address information carried in the DHCP Request message is the IP address information carried in the ciaddr field in the DHCP Request message; the Server identity carried in the DHCP Request message is the Server identity identified carried in the option54 field of the DHCP Request message.
- the second judgment module 20 is further configured:
- the IP address information carried in the ciaddr field of the DHCP Request message and the Server identityify carried in the option54 field are detected; if both the ciaddr field and option54 in the DHCP Request message are not 0, the set-top box is not A service change has occurred; if both the ciaddr field and option54 in the DHCP Request message are 0, the set-top box has undergone a service change.
- the execution module 30 is configured to release the session management resource when a service change of the set-top box is detected, and send a DHCP Release message to the management server for the management server to release the set-top box to allocate to the management server based on the DHCP Release message. Management communication address.
- the feedback module 40 is configured to send a DHCP NAK message to the set-top box for the set-top box to retransmit the DHCP Request message based on the DHCP NAK message.
- the device for managing a set-top box described in the embodiments of the present application can effectively avoid the hang-up defect of the set-top box in the process of switching the management communication address and the service communication address, effectively improve the stability of the set-top box, and improve the user experience of the set-top box.
- the embodiment of the present application further provides a set-top box management device, as shown in FIG. 10, including the following components:
- the processor 501 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), or One or more integrated circuits configured to implement embodiments of the present application.
- the memory 502 is configured to store executable instructions of the processor 501.
- the memory 502 is configured to store a program code and transmit the program code to the processor 501.
- the memory 502 may include volatile memory (Volatile Memory), such as Random Access Memory (RAM); the memory 502 may also include non-volatile memory (Non-Volatile Memory), such as Read-only memory (Read- Only Memory (ROM), Flash Memory (Flash), Hard Disk Drive (HDD), or Solid State Drive (SSD);
- volatile memory such as Random Access Memory (RAM)
- non-Volatile Memory such as Read-only memory (Read- Only Memory (ROM), Flash Memory (Flash), Hard Disk Drive (HDD), or Solid State Drive (SSD)
- ROM Read-only memory
- Flash Flash Memory
- HDD Hard Disk Drive
- SSD Solid State Drive
- the memory 502 may also include a combination of the above types of memories.
- the processor 501 is configured to call the program code management code stored in the memory 502 and execute the set-top box management method provided in the embodiment of the present application.
- the set-top box management device is a broadband access router (DHCP Relay Server).
- DHCP Relay Server broadband access router
- the set-top box management device described in the embodiment of the present application can effectively avoid the hang-up defect of the set-top box during the management communication address and business communication address switching process, effectively improve the stability of the set-top box, and improve the user experience of the set-top box.
- An embodiment of the present application further provides a computer-readable storage medium.
- the computer storage medium may be a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a mobile hard disk, a CD-ROM, or any known in the art. Other forms of storage media.
- the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the set-top box management method provided by the embodiment of the present application.
- the computer-readable storage medium provided in the embodiment of the present application stores one or more programs, and the one or more programs can be executed by one or more processors, which can effectively prevent the set-top box from switching between the management communication address and the business communication address. Hanging defects appear in the process, which effectively improves the stability of the set-top box and improves the user experience of the set-top box.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
L'invention concerne un procédé de gestion de boîtier décodeur consistant à : à réception d'un paquet de protocole de configuration de serveur dynamique (DHCP) envoyé par un boîtier décodeur, déterminer s'il existe ou non une ressource de gestion de session du boîtier décodeur, sur la base du paquet DHCP ; s'il est déterminé que la ressource de gestion de session existe, détecter s'il se produit ou non un changement de service dans le boîtier décodeur, sur la base du paquet DHCP ; et s'il est détecté que le changement de service se produit dans le boîtier décodeur, libérer la ressource de gestion de session, et envoyer un paquet de libération DHCP à un serveur de gestion, de sorte que le serveur de gestion libère une adresse de communication de gestion attribuée par le boîtier décodeur dans le serveur de gestion sur la base du paquet de libération DHCP. L'invention concerne également un appareil de gestion de boîtier décodeur, un dispositif, et un support de stockage.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811031549.1A CN110881143B (zh) | 2018-09-05 | 2018-09-05 | 一种机顶盒管理方法、装置、设备及计算机可读存储介质 |
CN201811031549.1 | 2018-09-05 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020048177A1 true WO2020048177A1 (fr) | 2020-03-12 |
Family
ID=69722971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/090780 WO2020048177A1 (fr) | 2018-09-05 | 2019-06-11 | Procédé et appareil de gestion de boîtier décodeur, et dispositif et support de stockage |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110881143B (fr) |
WO (1) | WO2020048177A1 (fr) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112118330A (zh) * | 2020-09-22 | 2020-12-22 | 青岛海信传媒网络技术有限公司 | 一种dhcp网络回连方法及显示设备 |
CN114172799A (zh) * | 2021-12-08 | 2022-03-11 | 武汉大塔技术有限公司 | 基于dhcp实现ntp客户端快速配置部署方法、系统和介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102497378A (zh) * | 2011-12-15 | 2012-06-13 | 杭州华三通信技术有限公司 | 为客户端动态选择dhcp服务器的方法和装置 |
CN102882994A (zh) * | 2012-11-02 | 2013-01-16 | 华为技术有限公司 | Ip地址分配、获取方法及装置 |
CN106254571A (zh) * | 2016-08-05 | 2016-12-21 | 杭州华三通信技术有限公司 | 一种客户端ip地址分配方法及装置 |
CN108123955A (zh) * | 2017-12-27 | 2018-06-05 | 新华三技术有限公司 | 安全表项的管理方法、装置、设备及机器可读存储介质 |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1932376A1 (fr) * | 2005-09-30 | 2008-06-18 | Telecom Italia S.p.A. | Reseau de communications mobiles et procede pour la gestion de communications telephoniques lors de sessions par commutation de paquets |
CN100358336C (zh) * | 2005-10-26 | 2007-12-26 | 华为技术有限公司 | 一种ip机顶盒重新拨号的方法 |
CN101715006A (zh) * | 2008-10-07 | 2010-05-26 | 中兴通讯股份有限公司 | 一种客户端释放动态主机配置资源的方法及其客户端系统 |
CN101835223B (zh) * | 2009-03-12 | 2015-05-13 | 中兴通讯股份有限公司 | 一种语音业务连续性切换方法 |
CN101730090B (zh) * | 2009-12-24 | 2013-01-16 | 杭州华三通信技术有限公司 | Dhcp服务器释放ip地址的方法及设备 |
CN105075304B (zh) * | 2013-03-29 | 2019-06-07 | 英特尔Ip公司 | 无线网络移动过程的管理技术 |
US20140379912A1 (en) * | 2013-06-24 | 2014-12-25 | Alcatel-Lucent Canada, Inc. | Radius session limit per service type |
CN104168665A (zh) * | 2014-08-07 | 2014-11-26 | 华为软件技术有限公司 | 一种处理会话业务的方法、ocs及pcrf实体 |
CN104239151A (zh) * | 2014-09-18 | 2014-12-24 | 深圳市九洲电器有限公司 | 一种资源管理方法及系统 |
CN106921721A (zh) * | 2015-12-28 | 2017-07-04 | 华为软件技术有限公司 | 一种服务器、会话管理方法和系统 |
CN108307002B (zh) * | 2018-05-09 | 2021-06-22 | 华为技术有限公司 | 一种dhcp报文处理方法及装置 |
-
2018
- 2018-09-05 CN CN201811031549.1A patent/CN110881143B/zh active Active
-
2019
- 2019-06-11 WO PCT/CN2019/090780 patent/WO2020048177A1/fr active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102497378A (zh) * | 2011-12-15 | 2012-06-13 | 杭州华三通信技术有限公司 | 为客户端动态选择dhcp服务器的方法和装置 |
CN102882994A (zh) * | 2012-11-02 | 2013-01-16 | 华为技术有限公司 | Ip地址分配、获取方法及装置 |
CN106254571A (zh) * | 2016-08-05 | 2016-12-21 | 杭州华三通信技术有限公司 | 一种客户端ip地址分配方法及装置 |
CN108123955A (zh) * | 2017-12-27 | 2018-06-05 | 新华三技术有限公司 | 安全表项的管理方法、装置、设备及机器可读存储介质 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112118330A (zh) * | 2020-09-22 | 2020-12-22 | 青岛海信传媒网络技术有限公司 | 一种dhcp网络回连方法及显示设备 |
CN114172799A (zh) * | 2021-12-08 | 2022-03-11 | 武汉大塔技术有限公司 | 基于dhcp实现ntp客户端快速配置部署方法、系统和介质 |
Also Published As
Publication number | Publication date |
---|---|
CN110881143A (zh) | 2020-03-13 |
CN110881143B (zh) | 2022-07-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3641128B2 (ja) | 移動計算機装置、移動計算機管理装置、移動計算機管理方法及び通信制御方法 | |
US9847967B2 (en) | DHCP proxy in a subscriber environment | |
US8285875B2 (en) | Synchronizing resource bindings within computer network | |
US8125993B2 (en) | Network element having a DHCP lease timer | |
CN106453678B (zh) | Ip地址配置方法和系统 | |
US8086713B2 (en) | Determining a subscriber device has failed gracelessly without issuing a DHCP release message and automatically releasing resources reserved for the subscriber device within a broadband network upon determining that another subscriber device requesting the reservation of a network address has the same context information as the failed subscriber device | |
EP3664420B1 (fr) | Gestion des espaces d'adresses dans les éléments de réseau | |
US9479611B2 (en) | Method, device, and system for implementing communication after virtual machine migration | |
US11405314B2 (en) | Packet processing method and apparatus | |
WO2009089741A1 (fr) | Procédé, dispositif et système permettant de sélectionner un réseau de service | |
WO2012079474A1 (fr) | Procédé, appareil et système de traitement d'allocation d'adresses | |
WO2014101891A1 (fr) | Procédé et dispositif de configuration d'adresse ip | |
WO2014086167A1 (fr) | Terminal mobile et son procédé et son système d'attribution d'adresse | |
WO2009021460A1 (fr) | Procédé de rapport d'un résultat de mise en œuvre de politique, système de communication par réseau et équipement | |
WO2020048177A1 (fr) | Procédé et appareil de gestion de boîtier décodeur, et dispositif et support de stockage | |
WO2014190687A1 (fr) | Procédé, dispositif et système pour attribuer un numéro de téléphone | |
KR20120132206A (ko) | 디바이스의 서버 연결 방법, 정보 제공 방법 및 이를 적용한 디바이스 및, 클라우딩 컴퓨팅 네트워크 시스템 및 그 동작 방법 | |
US20130086259A1 (en) | Method for acquiring an ip address and network access device | |
KR101506852B1 (ko) | 네트워크 모드 선택 방법과 그를 위한 모바일 라우터 | |
WO2022089147A1 (fr) | Procédé d'acquisition d'adresse, appareil et système | |
WO2015085558A1 (fr) | Procédé, dispositif et système d'attribution dynamique d'adresse ip | |
WO2015096058A1 (fr) | Procédé et dispositif de traitement de paquets de données | |
CN108076025B (zh) | 网络设备的注册方法和装置 | |
US10673809B2 (en) | Technique for managing an address in a local area network | |
US11552928B2 (en) | Remote controller source address verification and retention for access devices |
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: 19857406 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 09/07/2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19857406 Country of ref document: EP Kind code of ref document: A1 |