CN107396183B - Starting-up network detection method and system for converged terminal equipment - Google Patents

Starting-up network detection method and system for converged terminal equipment Download PDF

Info

Publication number
CN107396183B
CN107396183B CN201710598058.4A CN201710598058A CN107396183B CN 107396183 B CN107396183 B CN 107396183B CN 201710598058 A CN201710598058 A CN 201710598058A CN 107396183 B CN107396183 B CN 107396183B
Authority
CN
China
Prior art keywords
network
top box
channel state
gateway
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710598058.4A
Other languages
Chinese (zh)
Other versions
CN107396183A (en
Inventor
王恺
李华敏
姜超
田智炜
邬忻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201710598058.4A priority Critical patent/CN107396183B/en
Publication of CN107396183A publication Critical patent/CN107396183A/en
Application granted granted Critical
Publication of CN107396183B publication Critical patent/CN107396183B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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/44209Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
    • 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/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network
    • 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/44245Monitoring the upstream path of the transmission network, e.g. its availability, bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/6473Monitoring network processes errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/64738Monitoring network characteristics, e.g. bandwidth, congestion level

Abstract

The invention discloses a startup network detection method and system of convergence terminal equipment, and relates to the field of network detection of the convergence terminal equipment. The method comprises the following steps: after the convergence terminal is powered on and started, the set top box side sends an uplink network channel state query request to the gateway side through a network detection program independent of the media service module; after the gateway side returns the network channel state message, if the network detection program receives the normal network channel state message, the network detection program calls the media service module to start working, and the network detection program quits working. The invention adopts the design of the media service module independent of the set-top box side to detect the network channel state of the gateway side, thereby not only reducing the complexity and the coupling degree of the media service module and being convenient for maintenance and expansion, but also having wider application range and higher user experience.

Description

Starting-up network detection method and system for converged terminal equipment
Technical Field
The invention relates to the field of network detection of convergence terminal equipment, in particular to a starting-up network detection method and system of the convergence terminal equipment.
Background
With the scale of network equipment (home gateway and set-top box), the network equipment is applied to places such as families, hotels and the like. Higher demands are made on the size and wiring of network devices. In order to reduce the volume of network equipment and simplify the wiring of the network equipment, a convergence terminal device integrating a home gateway and a set top box is produced and gradually enters the market; compared with a home gateway and a set top box, the integrated terminal equipment has good development space due to the advantages of small size and simplified wiring.
At present, the fusion terminal has no single-chip solution, and 2 sets of systems are arranged in the existing fusion terminal equipment: a gateway system located at the gateway side and a set-top box system located at the set-top box side. Referring to fig. 1, a gateway side can be regarded as a conventional gateway device, and the gateway side provides 1 uplink Network interface (e.g., an ethernet uplink interface, a GPON uplink interface, an EPON uplink interface, etc.), and provides a plurality of downlink LAN (Local Area Network) ports, where the LAN ports are used for accessing a wired internet access device or a set-top box device. The set top box side can be regarded as a traditional set top box device, and provides 1 uplink WAN (wide area Network) side ethernet port and 1 video interface (e.g., HDMI interface), where the WAN port is used to access an uplink Network, and the video interface provides a television connected thereto with video (e.g., IPTV/OTT) carried by the WAN port.
The working method of the convergence terminal device comprises the following steps: the 1 LAN port of the gateway side is connected with the WAN port of the set-top box side, and the set-top box side provides network communication depending on the gateway side. Therefore, the traditional home gateway and the set top box are integrated into an independent device, so that the device can provide internet data service for users and also provide video media service for users.
However, the existing convergence terminal device has the following defects during operation:
(1) because the gateway side is started slowly, particularly PON uplink can be started generally for more than 90 seconds, the set-top box is fast, the set-top box can enter the service within about 10 seconds, and the network at the set-top box side is established successfully by depending on the network at the gateway side. If the set-top box side is not processed, an error prompt can pop up at the set-top box side due to network abnormality at the initial power-on stage of the convergence terminal, and user experience is influenced.
Although the media service module at the set-top box side can introduce an additional network channel state detection mechanism to detect the network connection state at the gateway side, the complexity and coupling degree of the media service module are increased, and the maintenance and the expansion are not convenient.
Meanwhile, under different operator networking environments, the network channel states depended on by the set-top box side are different. And these network path states are known by the gateway side. If the media service module of the set-top box judges, the complexity of design is increased.
(2) The time length from the starting of the gateway side to the network communication is generally more than 90 seconds, the time for the set-top box side to communicate with the network only needs about 10 seconds, the set-top box side needs to spend longer time waiting for the gateway side to communicate with the network before working, the starting time of the whole fusion terminal equipment is greatly prolonged, the user needs to spend longer time to wait boring, and the user experience is poor.
Disclosure of Invention
Aiming at the defects in the prior art, the invention solves the technical problems that: 1. how to complete the state detection of the gateway side network channel which the media service module at the set top box side depends on before the media service module at the set top box side works; 2. how to provide a network channel state detection mechanism suitable for networking of different operators. The invention not only reduces the complexity and the coupling degree of the media service module, is convenient for maintenance and expansion, but also has wider application range and higher user experience.
In order to achieve the above object, the method for detecting a boot network of a convergence terminal device provided by the present invention, the convergence terminal device in the method comprises a set-top box side and a gateway side, wherein the set-top box side comprises a media service module, 1 LAN port on the gateway side is connected with a WAN port on the set-top box side, and the LAN port connected with the WAN port is defined as a media network port; the method comprises the following steps:
s1: the fusion terminal is powered on and started, and the step goes to S2;
s2: the set-top box side sends an uplink network channel state query request to the gateway side through a network detection program independent of the media service module; after the gateway side returns the network channel state message, the network detection program judges whether the network channel state normal message is received, if so, the S4 is turned to, and if not, the S3 is turned to;
the process of returning the network channel state message from the gateway side comprises the following steps: after receiving the uplink network channel state query request, the gateway side determines the network channel state:
when a gateway side has a routing channel and a bridge channel at the same time and a media port is not bound on the bridge channel, judging whether the routing channel acquires an IP (Internet protocol), if so, returning a normal network message to a set-top box side; otherwise, returning a network abnormal message to the set-top box side;
when a gateway side has a routing channel and a bridge channel at the same time and a media network port is bound on the bridge channel, judging whether the bridge channel is successfully established, if so, returning a network normal message to a set-top box side; otherwise, returning a network abnormal message to the set-top box side;
when a gateway side has a routing channel and does not have a bridge channel, judging whether the routing channel acquires the IP, if so, returning a normal network message to a set top box side; otherwise, returning a network abnormal message to the set-top box side;
s3: the network detection program judges whether an uplink network channel state query request needs to be continuously sent to the gateway side, if so, S2 is executed again, otherwise, S4 is switched to;
s4: the network detection program calls the media service module to start working, and the network detection program quits working.
The invention provides a starting-up network detection system for realizing the method for fusing terminal equipment, which comprises a starting-up network detection module, a set-top box proxy module and a media service module which are arranged on a set-top box side, and a gateway proxy module arranged on a gateway side;
the startup network detection module is used for: after the convergence terminal is powered on and started, periodically sending an uplink network channel state query request to a set top box agent module; after receiving the network channel state message returned by the set-top box proxy module, judging whether the network channel state normal message is received:
if yes, calling the media service module to start working, and starting the network detection module to quit working;
if not, judging whether an uplink network channel state query request needs to be continuously sent to the gateway side, if so, sending the uplink network channel state query request to the set top box proxy module again, otherwise, calling the media service module to start working, and starting up the network detection module to quit working;
the set-top box proxy module is used for: forwarding an uplink network channel state query request sent by the startup network detection module to the gateway proxy module; forwarding the network channel state message returned by the gateway proxy module to the startup network detection module;
the gateway proxy module is used for: after receiving the uplink network channel state query request, determining the network channel state:
when a gateway side has a routing channel and a bridge channel at the same time and a media port is not bound on the bridge channel, judging whether the routing channel acquires an IP (Internet protocol), if so, returning a normal network message to a set-top box side; otherwise, returning a network abnormal message to the set-top box side;
when a gateway side has a routing channel and a bridge channel at the same time and a media network port is bound on the bridge channel, judging whether the bridge channel is successfully established, if so, returning a network normal message to a set-top box side; otherwise, returning a network abnormal message to the set-top box side;
when a gateway side has a routing channel and does not have a bridge channel, judging whether the routing channel acquires the IP, if so, returning a normal network message to a set top box side; otherwise, returning the network abnormal message to the set-top box side.
In the traditional home networking, when the home gateway and the set-top box are used separately, although the gateway side is started slowly, especially a PON goes up (network services can be switched on generally for more than 90 seconds), the home gateway generally places an information box for home entry, and power is rarely cut off. And the set-top box is placed in a living room and powered on when in use, because the upper network home gateway is already established, under normal conditions, the set-top box can smoothly enter services by carrying out a normal starting process (within about 10) after being powered on.
The convergence gateway integrates a home gateway and a set-top box together at present, two systems are concurrently operated inside the convergence gateway, one system is arranged at the gateway side, one system is arranged at the set-top box side, the interior of the convergence gateway is connected with a WAN port of the set-top box through a LAN port at the gateway side, after the equipment is powered on and the set-top box is started up in a conventional way, an uplink network at the gateway side is not established, and at the moment, a media service module (such as IPTV or Launcher) at the set-top box side can pop up an error frame due to network connection overtime, so that user experience is.
Indeed, the set-top box side may modify its media service module for the convergence terminal to adapt to the problem of slow start of the gateway side, but this may increase the complexity of the media service module, which may result in the pure set-top box and the convergence gateway in the area maintaining two sets of media service modules.
By adopting the starting-up network detection method and the starting-up network detection system, the traditional pure set-top box media service module does not need to be specially and complexly adapted aiming at the start-up of the gateway side of the convergence terminal, and the media service module of the set-top box is started only when the uplink network of the convergence terminal meets the media service of the set-top box side. The existing pure set-top box software can be reused to the maximum extent.
In addition, aiming at different networking environments of different operators, which cause different requirements of the set-top box media service on an uplink network, the gateway side of the invention can match various set-top box media service modules of which video data simultaneously run through a routing channel and a bridge channel, only run through the bridge channel and only run through the routing channel, and the application range is wider.
And before the convergence terminal uplink network is judged to meet the set-top box side media service, the multimedia information in the cache module is presented, so that the monotonous waiting of the user is avoided, and the user experience is better in the waiting process.
Compared with the prior art, the invention has the advantages that:
(1) compared with the prior art that an additional network channel state detection mechanism is required to be introduced into the media service module at the set-top box side, the invention adopts the design of the media service module (a network detection program in the method and a network state detection module in the system) independent of the set-top box side to detect the network channel state at the gateway side. Therefore, the invention reduces the complexity and the coupling degree of the media service module, and is convenient for maintenance and expansion.
Meanwhile, the gateway side of the invention can match with various set top box media service modules of video data of a routing channel and a bridge channel simultaneously, a bridge channel only and a routing channel only, and the application range is wider.
(2) In the process of waiting for the gateway side to respond, in order to avoid boring waiting of the user, the media file is played on the display interface of the network state detection module, the media file is at least 1 of video, music, pictures and characters, and the media file can be dynamically updated through a U disk or a network, so that the user experience is improved.
(3) According to the invention, the query times and the period interval of the network channel state of the gateway side are correspondingly set according to the time length of the network channel established by the gateway side, so that the query detection time of the network channel state of the gateway side is perfectly matched with the time length of the network channel established by the gateway side, the working precision is further improved, and the working quality is ensured.
Drawings
Fig. 1 is a block diagram of a convergence terminal device in the prior art;
fig. 2 is a flowchart of a startup network detection method of the convergence terminal device in the embodiment of the present invention;
FIG. 3 is a flowchart illustrating an embodiment of S2;
fig. 4 is a block diagram of a system for detecting a boot network of a convergence terminal device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Referring to fig. 1, the convergence terminal in the embodiment of the present invention includes a gateway side and a set-top box side, where the gateway side may be regarded as a conventional gateway device, the WAN side provides an uplink network interface (which may be ethernet, GPON uplink, EPON uplink, or the like), and provides a plurality of LAN side downlink interfaces for a user to access a wired internet access device or a set-top box device.
The set-top box side can be regarded as traditional set-top box equipment, the WAN side provides an uplink Ethernet port, the uplink Ethernet port is accessed to an uplink network, IPTV/OTT videos are played, and video information is provided for users through a video interface, such as a television connected through HDMI.
The convergence terminal connects the two through a LAN side downlink network port at the gateway side and a WAN side uplink network port at the set top box side, and integrates the traditional gateway and the set top box into an independent device. The equipment can provide the data service of internet access for the user and also can provide the media service of video for the user. For the convenience of the following description, the gateway-side downstream LAN-side interface connected to the set-top box-side WAN-side upstream interface is referred to as a media port.
A gateway proxy module is usually arranged on the gateway side of the convergence terminal, a set-top box proxy module is arranged on the set-top box side, and the gateway proxy module and the set-top box proxy module are internal communication bridges of two systems, namely the gateway side and the set-top box side of the convergence terminal. The gateway proxy module can inquire and configure the parameters of the gateway side, and when other applications at the set-top box side need to inquire or configure the parameters of the gateway side, the related messages are transferred in a unified way through the set-top box module.
On this basis, referring to fig. 2, the method for detecting a boot network of converged terminal devices in the embodiment of the present invention includes the following steps:
s1: the fusion terminal is powered on and started, and the step goes to S2;
s2: the set-top box side sends an uplink network channel state query request to the gateway side through a program (hereinafter referred to as a network detection program) independent of the media service module; after the gateway side returns the network channel state message, the network detection program judges whether the network channel state normal message is received, if so, the S4 is turned to, and if not, the S3 is turned to.
Referring to fig. 3, the specific process of S2 is:
s201: resetting the query frequency to 0, and turning to S202;
s202: judging whether the query times are smaller than a preset threshold value, if so, sending an uplink network channel state query request to the gateway side, and turning to S203, otherwise, determining that a network channel state normal message is not received, and turning to S3;
s203: judging whether a normal network channel state message returned by the gateway side is received, if so, turning to S4, otherwise, turning to S204;
s204: after waiting for a specified period interval, the query number +1 is executed again in S202.
The threshold value of the number of queries in S202 and the setting purpose of the cycle interval in S204 are as follows: the time length of the network side for establishing the network channel is matched by setting corresponding response waiting time. In the embodiment, the time length for establishing the network channel at the gateway side is expected to be 30-180 seconds, so that the threshold value of the query times is set to be 6-36 times, preferably 18 times, and the period interval is set to be 1-10 seconds, preferably 5 seconds; when the threshold value is 18 times and the weekly interval is 5 seconds, it takes 90 seconds at most to wait for the gateway side response.
S3: and the network detection program judges whether the uplink network channel state query request needs to be continuously sent to the gateway side, if so, the step S2 is executed again, and if not, the step S4 is executed.
The specific implementation manner of S3 may be: and popping up a dialog box on the display interface to enable the user to select whether to continue waiting, if so, executing the step S2 again, and otherwise, turning to the step S4.
S4: the network detection program calls the media service module to start working, and the network detection program quits working; the media service module is a first foreground program for starting up a traditional set-top box device, such as an IPTV module or Launcher. In this embodiment, the power-on network detection module is the first foreground program on the set-top box side after the convergence terminal is powered on.
In the process that the network detection program waits for the response of the gateway side (after sending the uplink network channel state query request to the gateway side and before the network detection program receives the normal message of the network channel state) in S2, in order to avoid boring waiting of the user, the media file is played on the display interface of the network detection program, the media file is at least 1 of video, music, pictures and characters, and the media file can be dynamically updated through a usb disk or a network.
In S2, in order to ensure that the network detection program is first run after the convergence terminal is powered on and started, when the set-top box side employs the Android system, the network detection program always has the following attributes: device _ viewed value is 1.
The specific process of the gateway side returning the network channel state message in S2 is as follows: after receiving the uplink network channel state query request, the gateway side determines the network channel state:
state 1: when a gateway side has a routing channel and a bridge channel at the same time and a media port is not bound on the bridge channel, judging whether the routing channel acquires an IP (Internet protocol), if so, returning a normal network message to a set-top box side; otherwise, returning the network abnormal message to the set-top box side.
The state 1 can satisfy the scene that the media service of the set top box has a part of data walking route channel and a part of data walking bridge channel; for example, china telecom, china unicom, etc. support the video service of the set-top box of the biplane.
State 2: when a gateway side has a routing channel and a bridge channel at the same time and a media network port is bound on the bridge channel, judging whether the bridge channel is successfully established, if so, returning a network normal message to a set-top box side; otherwise, returning the network abnormal message to the set-top box side.
State 2 can satisfy a scenario where the media service of the set-top box only walks through a bridge channel, such as a set-top box of china telecom, china unicom.
State 3: when a gateway side has a routing channel and does not have a bridge channel, judging whether the routing channel acquires the IP, if so, returning a normal network message to a set top box side; otherwise, returning the network abnormal message to the set-top box side.
And directly returning the network abnormal message to the set-top box side in the non-above state.
State 3 can satisfy a scenario that media services of The set-Top box only walk through a routing channel, such as a china mobile set-Top box, and OTT (Over The Top, which provides various application services to users through The internet) box services for social sales.
Referring to fig. 4, the system for detecting a startup network of a convergence terminal device in the embodiment of the present invention includes a startup network detection module, a set-top box proxy module, a cache module, a media service module, and a gateway proxy module, which are disposed on a set-top box side, and the gateway proxy module is disposed on a gateway side.
The startup network detection module is used for: the first one of the set-top box side is powered on (namely the integrated terminal is powered on integrally) or restarted to enter the system is presented to a foreground operation module of a user, and an uplink network channel state query request is periodically sent to a set-top box proxy module; after receiving the network channel state message returned by the set-top box proxy module, judging whether the network channel state normal message is received:
if yes, calling the media service module to start working, and starting the network detection module to quit working; the media service module is a first foreground program for starting up a traditional set-top box device, such as an IPTV module or Launcher.
If not, judging whether the uplink network channel state query request needs to be continuously sent to the gateway side, if so, sending the uplink network channel state query request to the set top box proxy module again, otherwise, calling the media service module to start working, and starting the network detection module to quit working.
The specific working process of the startup network detection module is as follows:
the method comprises the following steps: resetting the query times to 0, and turning to the step two.
Step two: judging whether the query times are smaller than a preset threshold value (6-36 times, preferably 18 times):
if yes, sending an uplink network channel state query request to the set top box proxy module, and turning to the third step;
if not, determining that the normal message of the network channel state is not received, judging whether an uplink network channel state query request needs to be continuously sent to the gateway side or not (a dialog box can be directly popped up for a user to select whether to continuously wait or directly call the media service module to quit the startup network detection module), if so, jumping to the first step, otherwise, calling the media service module to start working, and stopping working of the startup network detection module.
Step three: judging whether a network channel state normal message returned by the set top box proxy module is received or not, if so, calling the media service module to start working, and starting up the network detection module to quit working; otherwise, after waiting for a specified period interval (1-10 seconds, preferably 5 seconds), the query times +1 are repeated to execute the step two.
When the Android system is adopted on the set-top box side, the startup network detection module always has the following attributes: device _ viewed value is 1 to ensure it is the first foreground program to run on.
The set-top box proxy module is used for: forwarding an uplink network channel state query request sent by the startup network detection module to the gateway proxy module; and forwarding the network channel state message returned by the gateway proxy module to the startup network detection module.
The gateway proxy module is used for: after receiving the uplink network channel state query request, determining the network channel state:
state 1: when a gateway side has a routing channel and a bridge channel at the same time and a media port is not bound on the bridge channel, judging whether the routing channel acquires an IP (Internet protocol), if so, returning a normal network message to a set-top box side; otherwise, returning the network abnormal message to the set-top box side.
The state 1 can satisfy the scene that the media service of the set top box has a part of data walking route channel and a part of data walking bridge channel; for example, china telecom, china unicom support video service of set-top box of biplane.
State 2: when a gateway side has a routing channel and a bridge channel at the same time and a media network port is bound on the bridge channel, judging whether the bridge channel is successfully established, if so, returning a network normal message to a set-top box side; otherwise, returning the network abnormal message to the set-top box side.
The state 2 can meet the condition that the media service of the set top box only passes through the bridge channel; such as china telecom, china unicom set-top boxes.
State 3: when a gateway side has a routing channel and does not have a bridge channel, judging whether the routing channel acquires the IP, if so, returning a normal network message to a set top box side; otherwise, returning the network abnormal message to the set-top box side.
State 3 can be for the scenario where the media service of the set-top box only walks through the channel, such as the china mobile set-top box, the socially sold OTT box service.
And directly returning the network abnormal message to the set-top box side in the non-above state.
The cache module is used for: and storing media files, wherein the media files are at least 1 of videos, music, pictures and characters, and can be dynamically updated through a USB flash disk or a network.
The startup network detection module is further configured to: after the startup network detection module sends the uplink network channel state query request to the set-top box proxy module and before the startup network detection module receives the normal network channel state message returned by the set-top box proxy module, the media file in the cache module is played in the display interface, so that the boring waiting of a user is avoided, and the user experience is optimized.
It should be noted that: in the system provided in the embodiment of the present invention, when performing inter-module communication, only the division of each functional module is illustrated, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the system is divided into different functional modules to complete all or part of the above described functions.
Further, the present invention is not limited to the above-mentioned embodiments, and it will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements are also considered to be within the scope of the present invention. Those not described in detail in this specification are within the skill of the art.

Claims (10)

1. A start-up network detection method of convergence terminal equipment, the convergence terminal equipment in the method includes set-top box side and gateway side, the set-top box side includes the media business module, 1 LAN port of the gateway side is connected with WAN port of the set-top box side, define LAN port connected with said WAN port as the media network port; the method is characterized by comprising the following steps:
s1: the fusion terminal is powered on and started, and the step goes to S2;
s2: the set-top box side sends an uplink network channel state query request to the gateway side through a network detection program independent of the media service module; after the gateway side returns the network channel state message, the network detection program judges whether the network channel state normal message is received, if so, the S4 is turned to, and if not, the S3 is turned to;
the process of returning the network channel state message from the gateway side comprises the following steps: after receiving the uplink network channel state query request, the gateway side determines the network channel state:
when a gateway side has a routing channel and a bridge channel at the same time and a media port is not bound on the bridge channel, judging whether the routing channel acquires an IP (Internet protocol), if so, returning a normal network message to a set-top box side; otherwise, returning a network abnormal message to the set-top box side;
when a gateway side has a routing channel and a bridge channel at the same time and a media network port is bound on the bridge channel, judging whether the bridge channel is successfully established, if so, returning a network normal message to a set-top box side; otherwise, returning a network abnormal message to the set-top box side;
when a gateway side has a routing channel and does not have a bridge channel, judging whether the routing channel acquires the IP, if so, returning a normal network message to a set top box side; otherwise, returning a network abnormal message to the set-top box side;
s3: the network detection program judges whether an uplink network channel state query request needs to be continuously sent to the gateway side, if so, S2 is executed again, otherwise, S4 is switched to;
s4: the network detection program calls the media service module to start working, and the network detection program quits working.
2. The method for detecting a boot network of converged terminal equipment according to claim 1, wherein: after the network detection program sends the uplink network channel state query request to the gateway side in S2 and before the network detection program receives the normal network channel state message, the method further includes the following steps: and playing the pre-cached media file on the display interface.
3. The method for detecting a boot-strap network of converged terminal equipment according to claim 1, wherein the specific process of S2 is as follows:
s201: resetting the query frequency to 0, and turning to S202;
s202: judging whether the query times are smaller than a preset threshold value, if so, sending an uplink network channel state query request to the gateway side, and turning to S203, otherwise, determining that a network channel state normal message is not received, and turning to S3;
s203: judging whether a normal network channel state message returned by the gateway side is received, if so, turning to S4, otherwise, turning to S204;
s204: after waiting for a specified period interval, the query number +1 is executed again in S202.
4. The method for detecting the boot-up network of the converged terminal device according to claim 3, wherein: the threshold value of the query times is 6-36 times, and the weekly interval is 1-10 seconds.
5. The method for detecting the boot-up network of the converged terminal device according to any one of claims 1 to 4, wherein: the set-top box side adopts an Android system, and the network detection program is the first foreground program of the set-top box side after the convergence terminal is started.
6. A system for detecting a boot network of a converged terminal device, which implements the method according to any one of claims 1 to 5, wherein: the system comprises a startup network detection module, a set-top box proxy module and a media service module which are arranged at a set-top box side, and a gateway proxy module arranged at a gateway side;
the startup network detection module is used for: after the convergence terminal is powered on and started, periodically sending an uplink network channel state query request to a set top box agent module; after receiving the network channel state message returned by the set-top box proxy module, judging whether the network channel state normal message is received:
if yes, calling the media service module to start working, and starting the network detection module to quit working;
if not, judging whether an uplink network channel state query request needs to be continuously sent to the gateway side, if so, sending the uplink network channel state query request to the set top box proxy module again, otherwise, calling the media service module to start working, and starting up the network detection module to quit working;
the set-top box proxy module is used for: forwarding an uplink network channel state query request sent by the startup network detection module to the gateway proxy module; forwarding the network channel state message returned by the gateway proxy module to the startup network detection module;
the gateway proxy module is used for: after receiving the uplink network channel state query request, determining the network channel state:
when a gateway side has a routing channel and a bridge channel at the same time and a media port is not bound on the bridge channel, judging whether the routing channel acquires an IP (Internet protocol), if so, returning a normal network message to a set-top box side; otherwise, returning a network abnormal message to the set-top box side;
when a gateway side has a routing channel and a bridge channel at the same time and a media network port is bound on the bridge channel, judging whether the bridge channel is successfully established, if so, returning a network normal message to a set-top box side; otherwise, returning a network abnormal message to the set-top box side;
when a gateway side has a routing channel and does not have a bridge channel, judging whether the routing channel acquires the IP, if so, returning a normal network message to a set top box side; otherwise, returning the network abnormal message to the set-top box side.
7. The system for detecting a boot-up network of converged terminal devices according to claim 6, wherein: the system also comprises a cache module arranged at the side of the set top box and used for: storing the media file; the startup network detection module is further configured to: after the startup network detection module sends the uplink network channel state query request to the set-top box proxy module, the media file in the cache module is played in the display interface before the startup network detection module receives the network channel state normal message returned by the set-top box proxy module.
8. The system for detecting a boot-strap network of converged terminal equipment according to claim 6, wherein the work flow of the boot-strap network detection module is as follows:
the method comprises the following steps: resetting the query frequency to be 0, and turning to the step two;
step two: judging whether the query times are smaller than a preset threshold value:
if yes, sending an uplink network channel state query request to the set top box proxy module, and turning to the third step;
if not, determining that the normal message of the network channel state is not received, judging whether an uplink network channel state query request needs to be continuously sent to the gateway side or not, if so, jumping to the first step, otherwise, calling the media service module to start working, and starting the network detection module to quit working;
step three: judging whether a network channel state normal message returned by the set top box proxy module is received or not, if so, calling the media service module to start working, and starting up the network detection module to quit working; otherwise, after waiting for the specified period interval, the query times +1 are repeated to execute the step two.
9. The system for detecting a boot-up network of converged terminal devices according to claim 8, wherein: the threshold value of the query times is 6-36 times, and the weekly interval is 1-10 seconds.
10. The system according to any one of claims 6 to 9, wherein the set-top box side employs an Android system, and the boot network detection module is a foreground operating module that is first presented to the user on the set-top box side.
CN201710598058.4A 2017-07-20 2017-07-20 Starting-up network detection method and system for converged terminal equipment Active CN107396183B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710598058.4A CN107396183B (en) 2017-07-20 2017-07-20 Starting-up network detection method and system for converged terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710598058.4A CN107396183B (en) 2017-07-20 2017-07-20 Starting-up network detection method and system for converged terminal equipment

Publications (2)

Publication Number Publication Date
CN107396183A CN107396183A (en) 2017-11-24
CN107396183B true CN107396183B (en) 2020-04-28

Family

ID=60336373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710598058.4A Active CN107396183B (en) 2017-07-20 2017-07-20 Starting-up network detection method and system for converged terminal equipment

Country Status (1)

Country Link
CN (1) CN107396183B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810611A (en) * 2018-05-31 2018-11-13 烽火通信科技股份有限公司 The control system and method for Multimedia Fusion terminal start-up course
CN109104343B (en) * 2018-09-30 2021-01-26 四川长虹电器股份有限公司 Optimization method for PON fusion type gateway STB (set top box) equipment service establishment
CN109586958B (en) * 2018-11-23 2021-08-10 青岛海信宽带多媒体技术有限公司 Configuration management method for dual-system device and dual-system device
CN112394952B (en) * 2020-11-17 2023-11-17 珠海迈科智能科技股份有限公司 Method and system for dynamically generating Launcher based on Hybrid App and storage medium
CN113766323B (en) * 2021-09-28 2023-11-07 深圳小湃科技有限公司 Set top box network detection method, device, equipment and storage medium
CN115865743A (en) * 2022-11-22 2023-03-28 四川天邑康和通信股份有限公司 Device and method for realizing network connectivity detection of fusion type set top box

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938630A (en) * 2010-08-26 2011-01-05 深圳市同洲电子股份有限公司 Method and device for digital television receiving terminal to adapt to network by self
CN102594735A (en) * 2011-01-17 2012-07-18 中兴通讯股份有限公司 Method for automatically searching links with multi-uplink-mode and home gateway thereof
CN102736970A (en) * 2012-06-29 2012-10-17 浪潮电子信息产业股份有限公司 Method for monitoring activity state of operating system
CN105357584A (en) * 2015-12-11 2016-02-24 Tcl集团股份有限公司 User behavior log classification uploading method and system based on intelligent television

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286856A (en) * 2007-04-10 2008-10-15 华为技术有限公司 Network equipment and method of automatic turn-on and turn-off

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938630A (en) * 2010-08-26 2011-01-05 深圳市同洲电子股份有限公司 Method and device for digital television receiving terminal to adapt to network by self
CN102594735A (en) * 2011-01-17 2012-07-18 中兴通讯股份有限公司 Method for automatically searching links with multi-uplink-mode and home gateway thereof
CN102736970A (en) * 2012-06-29 2012-10-17 浪潮电子信息产业股份有限公司 Method for monitoring activity state of operating system
CN105357584A (en) * 2015-12-11 2016-02-24 Tcl集团股份有限公司 User behavior log classification uploading method and system based on intelligent television

Also Published As

Publication number Publication date
CN107396183A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN107396183B (en) Starting-up network detection method and system for converged terminal equipment
US10931574B2 (en) Universal customer premise equipment
CA2713785C (en) Method and apparatus for providing connectivity in a network with multiple packet protocols
CN107959622B (en) Intelligent home gateway system and intelligent home gateway
CN103517110B (en) A kind of multi-screen interaction communication system and method
US20200275510A1 (en) Method and apparatus for session reestablishment, access and mobility management function entity, session management function entity and terminal
JP5923168B2 (en) Data card activation method and data card
WO2019128273A1 (en) Method, device and system for determining connection relation of network devices
RU2761186C1 (en) Method and device for traffic exchange of the data processing center, device and data carrier
KR102084286B1 (en) Solution for distributed application life-cycle management
CN108696523B (en) Response method and device for call service
CN109522032B (en) Firmware upgrading method and device
CN111954100A (en) Interface upgrading method and device and optical network unit management method and device
US8176343B2 (en) Method for providing information for power management of devices on a network
US11706301B2 (en) Server node selection method and terminal device
CN105721189A (en) Network port configuration method and device for network equipment
WO2012031471A1 (en) Method and system for achieving use of element management client functions
CN108810611A (en) The control system and method for Multimedia Fusion terminal start-up course
CN112714341A (en) Information acquisition method, cloud set top box system, entity set top box and storage medium
US20090085916A1 (en) Method and Apparatus for Performing Non Service Affecting Software Upgrades in Place
KR102066241B1 (en) A device and a method at the device for configuring a wireless interface
CN101005421A (en) Telnet control method for realizing multiple network system by single network port
EP2755365B1 (en) Cable modem and method of selecting communication protocols thereof
CN109561331A (en) A kind of exchange method and system of set-top box and intelligent terminal
CN114786047B (en) Multi-screen interaction realization method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant