WO2016197864A1 - 连接状态检测方法、装置和智能电视系统 - Google Patents

连接状态检测方法、装置和智能电视系统 Download PDF

Info

Publication number
WO2016197864A1
WO2016197864A1 PCT/CN2016/084601 CN2016084601W WO2016197864A1 WO 2016197864 A1 WO2016197864 A1 WO 2016197864A1 CN 2016084601 W CN2016084601 W CN 2016084601W WO 2016197864 A1 WO2016197864 A1 WO 2016197864A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
service providing
providing device
connection
abnormal
Prior art date
Application number
PCT/CN2016/084601
Other languages
English (en)
French (fr)
Inventor
徐虹杰
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2016197864A1 publication Critical patent/WO2016197864A1/zh

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
    • 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/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used

Definitions

  • the present application relates to the field of Internet technologies, and in particular, to a connection state detecting method, a connection state detecting device, and a smart television system.
  • the smart TV box also called the network TV box, is a device that connects the TV to the Internet.
  • the TV is connected to the Internet through a network TV box to watch online TV programs. Therefore, the "network TV box” can be regarded as a "set top box” for obtaining video programs via the Internet.
  • the smart TV box has an abnormality, etc., it cannot continue to provide data to the user.
  • the technical problem to be solved by the embodiments of the present application is to provide a connection state detection method, so that the client can timely process the abnormal state to ensure that the data is provided to the user.
  • the embodiment of the present application further provides a connection state detecting device and a smart television system for ensuring implementation and application of the foregoing method.
  • connection state detecting method including: a client monitors an interaction process with a service providing device, wherein the client displays a user according to a transport stream pushed by the service providing device in the interaction process. Interface; confirming that the current state is abnormal when monitoring the disconnection of the network connection of the client or the transmission flow sent by the service providing device during the interaction; attempting to re-establish a connection with the service providing device, and recovering after the connection is successfully established Transport of the transport stream.
  • confirming that the current state is abnormal including: when monitoring that the network connection of the client is disconnected
  • the client confirms that the network status of the client is abnormal; the service providing device is monitored during the interaction
  • the client confirms that the device status is currently abnormal for the service.
  • the method before attempting to re-establish a connection with the service providing device, the method further includes: starting a timer to start timing, and detecting whether the timing time reaches a first threshold.
  • the detecting, by the client, that the detection time is up to a first threshold when the network status is abnormal including: monitoring the network, and detecting whether the timing time reaches a first threshold during the monitoring process; Trying to re-establish a connection with the service providing device, and recovering the transmission of the transport stream after the connection is successfully established, including: after the first threshold is monitored, the connection of the network is normal, and an attempt is made to establish a connection with the service providing device again.
  • Recovering the transport stream from the service providing device after the reconnection succeeds; when the network exceeds the first threshold, the network is not connected normally, and after waiting for the connection of the network to be normal, re-applying the service providing device to establish a connection with the reassigned service providing device. And recovering the reception of the transport stream from the service providing device.
  • whether the detection timing time reaches a first threshold includes: attempting to re-establish a connection with the service providing device, and detecting a timing time during the connection process. Whether the first threshold is reached; the attempt to re-establish a connection with the service providing device, and resume the transmission of the transport stream after the connection is successfully established, including: when the first threshold is reconnected with the service providing device, the recovery is successful Receiving a transport stream at the service providing device; failing to reconnect with the service providing device after the first threshold is exceeded, reporting the service provider device status abnormality to the server, and re-applying the service providing device, and reassigning After the service providing device establishes a connection, recovery receives a transport stream from the redistributed service providing device.
  • the first threshold is a maximum time for the client to re-establish a connection with the service providing device when determining that the state is abnormal; and the maximum time for waiting for reconnection with the client when the service providing device determines that the state is abnormal is the second time.
  • connection state detecting method is applied to a smart television system, where the smart television system includes: at least one server, at least one client, and at least one service providing device; wherein the server is used to The client allocates a service providing device; the client is set in a smart TV, and the service providing device is disposed on the network side for providing an Internet service for the connected client through the network.
  • the smart television system further includes at least one user data information storage device; the at least one user data information storage device includes: at least one user partition; wherein the at least one user partition is used to store different clients respectively User data corresponding to the end.
  • the service providing device includes: a network set top box; the Internet service includes at least one of the following: a live television, an audio and video service, a web service, and a game service.
  • the embodiment of the present application further discloses a connection status detecting method, including: a service providing device pair and a client The interaction process is monitored, wherein the service providing device pushes the transport stream for the client to display the corresponding user interface in the interaction process; the network connection disconnection or the interaction process is monitored to the service providing device When the delivery of the transport stream to the client fails, the current status is confirmed to be abnormal; waiting to re-establish a connection with the client; when the connection with the client is successful, the transmission of the transport stream to the client is resumed.
  • the current status is abnormal, including: monitoring the service providing The network connection of the device is disconnected, the service providing device confirms that the network status of the service providing device is abnormal; and when the delivery of the transport stream to the client fails during monitoring of the interaction, the service providing device confirms that the current The client status is abnormal.
  • the method further includes: starting a timer to start timing; and the waiting to re-establish a connection with the client, including: the service providing device waiting for a connection request of the client to re-establish a connection with the client, And detecting whether the waiting time reaches the second threshold.
  • the method further includes: when the waiting time exceeds the second threshold, reporting that the network status of the service providing device is abnormal or the client status is abnormal, changing the status from the second status to the first status, Changing a state to a second state; establishing a connection with other clients according to the connection request, providing the other client with a corresponding transport stream, wherein the first state is a state in which a service is being provided, and the second state The state of waiting for service.
  • the second threshold is a maximum time that the service providing device waits to reconnect with the client when the state is abnormal; when the client determines that the state is abnormal, the maximum time for reestablishing the connection with the service providing device is the first time. a threshold; the second threshold is greater than the first threshold.
  • connection state detecting method is applied to a smart television system, where the smart television system includes: at least one server, at least one client, and at least one service providing device; wherein the server is used to The client allocates a service providing device; the client is set in a smart TV, and the service providing device is disposed on the network side for providing an Internet service for the connected client through the network.
  • the smart television system further includes at least one user data information storage device; the at least one user data information storage device includes: at least one user partition; wherein the at least one user partition is used to store different clients respectively User data corresponding to the end.
  • the service providing device includes: a network set top box; the Internet service includes at least one of the following: a live television, an audio and video service, a web service, and a game service.
  • connection state detecting device which includes: a first monitoring module, which is used for the service The interaction process of the device is monitored, wherein the user interface is displayed according to the transport flow pushed by the service providing device in the interaction process; the first abnormal state confirmation module is configured to monitor the disconnection of the network connection or the interaction process When the transport stream sent by the service providing device is interrupted, the current state is abnormal; the first exception processing module is configured to try to re-establish a connection with the service providing device, and resume the transmission of the transport stream after the connection is successfully established.
  • the first abnormal state confirmation module is configured to confirm that the network state is abnormal when the network connection is disconnected, and confirm that the transport flow sent by the service providing device is interrupted during the monitoring of the interaction.
  • the device status is currently abnormal for the service.
  • the first exception processing module is further configured to start a timer to start timing, and detect whether the timing time reaches a first threshold.
  • the first exception processing module is configured to monitor the network when the network status is abnormal, and detect whether the timing time reaches a first threshold during the monitoring process; and when the first threshold is monitored, After the network connection is normal, try to re-establish a connection with the service providing device, and resume receiving the transport stream from the service providing device after the reconnection succeeds; when the network exceeds the first threshold, the network is not connected normally, and after waiting for the network connection to be normal, Re-applying the service providing device, establishing a connection with the reassigned service providing device and restoring receiving the transport stream from the service providing device.
  • the first exception processing module is configured to try to re-establish a connection with the service providing device, and detect whether the timing time reaches a first threshold during the connection process. Recovering the transport stream from the service providing device after the first threshold is successfully reconnected with the service providing device; and failing to reconnect with the service providing device when the first threshold is exceeded, reporting to the server
  • the service providing device status is abnormal and re-applying for the distribution of the service providing device, and after establishing a connection with the reassigned service providing device, recovering the receiving of the transport stream from the reassigned service providing device.
  • the first threshold is a maximum time for the client to re-establish a connection with the service providing device when determining that the state is abnormal; and the maximum time for waiting for reconnection with the client when the service providing device determines that the state is abnormal is the second time.
  • connection state detecting apparatus including: a second monitoring module, configured to monitor an interaction process with a client, where the client pushes a transport stream in the client process in the interaction process Displaying a corresponding user interface; the second abnormal state confirmation module is configured to confirm that the current state is abnormal when the network connection is disconnected or the delivery flow fails to be sent to the client during the interaction; the second abnormality processing module, Used to wait to re-establish a connection with the client; when the reconnection with the client is successful, resume sending a transport stream to the client.
  • a second monitoring module configured to monitor an interaction process with a client, where the client pushes a transport stream in the client process in the interaction process Displaying a corresponding user interface
  • the second abnormal state confirmation module is configured to confirm that the current state is abnormal when the network connection is disconnected or the delivery flow fails to be sent to the client during the interaction
  • the second abnormality processing module Used to wait to re-establish a connection with the client; when the reconnection with the client is successful, resume sending
  • the second abnormal state confirmation module is configured to confirm that the current network state is abnormal when monitoring the disconnection of the network connection; and failing to push the transport stream to the client during the monitoring of the interaction, Confirm that the current client status is abnormal.
  • the second exception processing module is further configured to start a timer to start timing; wait for a connection request of the client to re-establish a connection with the client, and detect whether the waiting time reaches a second threshold.
  • the second exception processing module is further configured to: when the waiting time exceeds the second threshold, report that the network status is abnormal or the client status is abnormal, and change the status from the first status to the second status;
  • the request is to establish a connection with the other client, the state is changed from the second state to the first state, and the other client is provided with a corresponding transport stream, wherein the first state is a state in which the service is being provided, the first The second state is the state of waiting for service.
  • the second threshold is a maximum time that the service providing device waits to reconnect with the client when the state is abnormal; when the client determines that the state is abnormal, the maximum time for reestablishing the connection with the service providing device is the first time. a threshold; the second threshold is greater than the first threshold.
  • the embodiment of the present application further discloses a smart television system, including: at least one server, at least one client, and at least one service providing device; wherein the server is configured to allocate a service providing device to the client; the client The terminal is disposed in the smart TV, and the service providing device is disposed on the network side, and is configured to provide an Internet service for the client that establishes the connection through the network; the client includes a connection state detecting device according to the embodiment of the present application, The service providing device includes another connection state detecting device described in the embodiment of the present application.
  • the system further includes: at least one user data information storage device; the at least one user data information storage device includes: at least one user partition; wherein the at least one user partition is used to store different clients respectively Corresponding user data.
  • the service providing device includes: a network set top box; the Internet service includes at least one of the following: a live television, an audio and video service, a web service, and a game service.
  • the embodiments of the present application include the following advantages:
  • the client monitors the interaction process with the service providing device, and confirms that the current state is abnormal, that is, the client and the service, when the network connection of the client is disconnected or the transmission flow sent by the service providing device is interrupted during the interaction.
  • the connection of the device is disconnected, and the interaction cannot be continued.
  • the client attempts to re-establish a connection with the service providing device, and resumes the transmission of the transport stream after the connection is successfully established, so that the interaction process can be monitored in real time, and the status is abnormal as soon as possible. Even, to ensure the normal operation of the client.
  • FIG. 1 is a flow chart showing the steps of an embodiment of a connection state detecting method on the client side of the present application
  • FIG. 2 is a flow chart showing the steps of a preferred embodiment of a connection state detecting method on the client side of the present application
  • connection state detecting method on the client side of the present application
  • connection state detecting method on the service providing device side of the present application
  • connection state detecting method on another service providing device side of the present application
  • FIG. 6 is a schematic structural diagram of a smart television system of the present application.
  • connection state detecting apparatus of the present application is a structural block diagram of an embodiment of a connection state detecting apparatus of the present application.
  • FIG. 8 is a structural block diagram of another embodiment of a connection state detecting apparatus of the present application.
  • the data transmission method of the embodiment of the present application is applied to a smart television system, where the smart television system includes: at least one server, at least one client, and at least one service providing device; wherein the server is used to the client The service providing device is allocated; the client is set in a smart TV, and the service providing device is disposed on the network side for providing an Internet service for the connected client through the network.
  • the smart television system further includes at least one user data information storage device; the at least one user data information storage device includes: at least one user partition; wherein the at least one user partition is respectively used to store users corresponding to different clients data.
  • the service providing device includes: a network set top box; the internet service includes at least one of the following: a live television, an audio and video service, a web service, and a game service.
  • One of the core concepts of the embodiments of the present application is to provide a connection state detection method, in which the client can process the abnormal state in time to ensure that the data is provided to the user.
  • the client monitors the interaction process with the service providing device, and confirms that the current state is abnormal, that is, the client and the service, when the network connection of the client is disconnected or the transmission flow sent by the service providing device is interrupted during the interaction.
  • the connection of the device is disconnected, and the interaction cannot be continued.
  • the client attempts to re-establish a connection with the service providing device, and resumes the transmission of the transport stream after the connection is successfully established, so that the interaction process can be monitored in real time, and the status is abnormal as soon as possible. Even, to ensure the normal operation of the client.
  • FIG. 1 a flow chart of steps of an embodiment of a connection state detecting method on a client side of the present application is shown. Specifically, the method may include the following steps:
  • Step 102 The client monitors the interaction process.
  • the service providing device and the client provide a network data service for the smart television terminal.
  • the service providing device is also called a cloud terminal, and is a hardware terminal disposed on the network side, and various types required for providing the network service by the service providing device.
  • Data, a presentation form of the client may be an APP (Application) installed on the smart TV terminal, and the client decodes and displays the data provided by the network.
  • APP Application
  • Each service providing device and the client may not have a unique correspondence, but temporarily allocate a service providing device to the client when the client requests the network server provided by the service providing device, and after the distribution, the service providing device and the client After the connection is established, the service providing device provides data services for the client during the connection.
  • the user interface (UI) data such as the UI cache data
  • the transport stream corresponding to the UI cache is provided by the service providing device after the client connects with the service providing device (Transport Stream, TS) to display a corresponding UI interface on the client side
  • the UI cache stored in the service providing device includes various contents displayed on the client, such as a main UI interface, various APPs displayed in the UI interface, And the corresponding UI interface after the APP is opened, that is, the client can display but not store the UI interface, and does not store the installed APP and the like.
  • the client when the connection between the service providing device and the client is abnormal, the client cannot continue to display the UI interface and the like, and the user cannot continue to use the user. Therefore, in order to ensure normal and stable execution of the interaction between the client and the service providing device, the client will interact with the client. The process is monitored.
  • Step 104 Confirm that the current state is abnormal when monitoring that the network connection of the client is disconnected or the transport stream sent by the service providing device is interrupted during the interaction.
  • the client can monitor the interaction process through multiple dimensions, for example, one of the dimensions is the monitoring of the client itself, and another dimension is the monitoring of the data transmitted by the service providing device.
  • the client monitors that the network connection is disconnected, it confirms that the current state is abnormal, or the client monitors that the transmission TS stream sent by the service providing device is interrupted during the current interaction, and the current state may be confirmed to be abnormal.
  • the interaction process is interrupted and the connection is interrupted.
  • step 106 an attempt is made to re-establish a connection with the service providing device and resume the transmission of the transport stream after the connection is successfully established.
  • the client can attempt to establish a connection with the service providing device in the system, for example, re-establishing a connection with the service providing device or re-applying for a service providing device to establish a connection.
  • the transmission of the TS stream is resumed after the connection is successfully established.
  • the client monitors the interaction process with the service providing device, and confirms that the current state is abnormal when the network connection of the client is disconnected or the transmission flow sent by the service providing device is interrupted during the interaction, that is, the client and the client The service provider device is disconnected and cannot continue to interact. At this time, the client attempts to re-establish a connection with the service provider device and resumes the transmission of the transport stream after the connection is successfully established, so that the interaction process can be monitored in real time. Reconnect to ensure the normal operation of the client.
  • this embodiment continues to discuss the connection state abnormality detecting method on the client side.
  • connection state detection method on the client side of the present application is shown. Specifically, the method may include the following steps:
  • Step 202 The client monitors whether the connection of the local network is disconnected.
  • step 204 If yes, that is, the local network connection is disconnected, go to step 204.
  • the detection step is ended, or the detection step is continued, such as returning to step 202, or detecting whether the transport stream sent by the service providing device is interrupted.
  • step 204 the local network status of the client is abnormal.
  • step 206 the timer is started to start timing.
  • Step 208 Listening to the local network, and detecting whether the timing time reaches the first threshold during the monitoring process.
  • step 216 is performed.
  • step 210 is performed.
  • step 210 the local network is connected normally.
  • step 212 If yes, that is, the connection to the local network is normal, go to step 212; if no, if the local network is not connected, go back to step 208.
  • Step 212 attempting to re-establish a connection with the service providing device.
  • Step 214 Resume receiving the transport stream from the service providing device after the reconnection succeeds.
  • step 216 the monitoring of the local network is stopped.
  • Step 218 Re-apply the distribution service providing device after the connection of the local network is normal, establish a connection with the reassigned service providing device, and resume receiving the transport stream from the service providing device.
  • the client monitors the interaction process and can monitor whether the connection of the local network is disconnected. When the local network connection is disconnected, confirm that the local network status of the client is abnormal. At this time, the client can start the timer to start timing, and monitor the local network during the time to determine whether the local network is normal.
  • a first threshold is set, where the first threshold is used to limit an abnormal state processing process in which the client and the service providing device are reconnected.
  • the first threshold is a time threshold, which is used to limit the time of the abnormal state processing process.
  • the first threshold may be the maximum time that the client re-establishes a connection with the service providing device when determining that the state is abnormal.
  • the client determines whether the local network is connected properly within the first threshold. After the connection to the local network is monitored in the first threshold, the client attempts to re-establish a connection with the service providing device connected before the network interruption, and resumes receiving the transport stream from the service providing device if the connection is successful. If the connection fails, the system can be re-applied to the service providing device, and the service providing device is connected and receives the transport stream from the re-applied service providing device.
  • the monitoring of the local network is stopped, and then the connection of the local network is determined to be normal, and the service providing device is re-applied, and the reassigned service providing device is connected and restored.
  • a transport stream is received from the service providing device.
  • the client can actively monitor the local network after the local network is restored to normal, and the previously connected service is connected.
  • the device is reconnected, or the system is re-applied to allocate and connect with a service providing device, and then the TS stream is received from the service providing device, so that the client can automatically handle the abnormal state and ensure the user's use.
  • connection state detection method on the client side of the present application. Specifically, the method may include the following steps:
  • Step 302 The client monitoring service provides whether the TS stream sent by the device is interrupted.
  • step 204 is performed.
  • the detecting step is ended, or the detecting step is continued, for example, returning to step 302, and detecting whether the local network is disconnected or the like.
  • step 304 the client confirms that the service providing device status is abnormal.
  • step 306 the timer is started to start timing.
  • Step 308 attempting to re-establish a connection with the service providing device, and detecting whether the timing time reaches a first threshold during the connection process.
  • step 314 is performed.
  • step 310 is performed.
  • Step 310 Whether the client reconnects with the service providing device is successful.
  • step 312 is performed; if not, whether the client reconnects with the service providing device is successful, then step 308 is returned.
  • Step 312 Resume receiving the transport stream from the service providing device after the reconnection succeeds.
  • Step 314 Report the service providing device status abnormality to the server and re-apply the distribution service providing device, and resume the receiving the transport stream from the service providing device after establishing a connection with the reassigned service providing device.
  • the client monitors the interaction process, and may monitor whether the TS stream sent by the service providing device is interrupted. When the TS stream sent by the service providing device is interrupted, it is confirmed as The status of the service providing device is abnormal.
  • the abnormal status of the service providing device may be caused by power failure, network disconnection, etc. of the service providing device.
  • the timer can be started to start timing, and then try to reconnect with the service providing device whose abnormal state occurs, and detect the timing during the connection process. Whether the time reaches the first threshold.
  • the TS stream may continue to be pushed, and the client correspondingly resumes receiving the TS stream from the service providing device.
  • the client may report the connection service providing device to the server (such as the management server) in the system.
  • the service provider device status is abnormal, so that the system can detect the abnormal cause of the service providing device and process it.
  • the receiving device receives the TS stream.
  • the use of the time threshold as the first threshold is only an example of a specific implementation.
  • the first threshold may be configured according to other standards. For example, if the first threshold is set according to the number of times, if the service providing device is abnormal, the service is If the number of reconnections of the device exceeds the corresponding first threshold, the service provider device status abnormality may be reported to the server and the service providing device may be re-applied.
  • the client can monitor the interaction process between the client and the service providing device by using the client, and the client can detect the interruption of the local network connection, or the TS caused by the abnormality of the service providing device such as the service providing device being disconnected or powered off.
  • the streaming interrupt is interrupted to determine whether the current abnormality is due to a local network status exception or a service provider device status exception, and the corresponding exception handling operation is performed based on different abnormal causes to enable the client and the system to serve Provide the device to establish a connection and continue to push the TS stream for the client to ensure the normal operation of the client.
  • the service providing device In order to ensure the normal execution of the interaction between the service providing device and the client, not only the client monitors the interaction process, but also the service providing device performs the corresponding monitoring operation, thereby processing the abnormal state in time.
  • the method may include the following steps:
  • Step 402 The service providing device monitors an interaction process with the client.
  • the service providing device After the service providing device is assigned to a client and establishes a connection with the client, the service providing device provides a corresponding UI interface for the client to display.
  • the service providing device obtains the UI cache from the Frame Buffer, and then encodes the UI cache according to a preset encoding format to obtain a coded UI cache, such as using h.264 encoding. Then, the encoded UI cache is used to generate a TS stream by using a Real Time Streaming Protocol (RTSP), and the TS stream is pushed to the client to display a corresponding UI interface on the client.
  • RTSP Real Time Streaming Protocol
  • the service providing device monitors the interaction process to determine whether the interaction occurs due to an abnormal state of the service providing device or the client, and processes the problem in time when the interaction occurs.
  • Step 404 When it is detected that the network connection of the service providing device is disconnected or the delivery stream fails to be pushed to the client during the interaction, it is confirmed that the current state is abnormal.
  • the service providing device monitors that the network connection is disconnected or the TS stream is failed to be sent to the client, it is confirmed that the current state is abnormal, and the corresponding abnormal processing operation is performed.
  • Step 406 waiting to re-establish a connection with the client.
  • the service providing device may wait for the client to resend the connection request, thereby re-establishing a connection with the client.
  • Step 408 when the reconnection with the client is successful, resume sending the TS stream to the client.
  • the TS stream may be sent to the client according to the record of the TS stream transmission failure, so that the client normally displays the corresponding UI interface.
  • the service providing device monitors the interaction process, thereby detecting a state abnormality such as disconnection of the network connection or failure to push the TS stream to the client, and then performing exception processing, that is, Waiting to re-establish a connection with the client.
  • a state abnormality such as disconnection of the network connection or failure to push the TS stream to the client
  • exception processing that is, Waiting to re-establish a connection with the client.
  • the abnormal state detected by the service providing device may be caused by the service providing device, or may be caused by the client. This embodiment details the monitoring and processing steps of the service providing device for interaction.
  • FIG. 5 a flow chart of steps of an embodiment of a method for detecting a connection state on another service providing device side of the present application is shown, which may specifically include the following steps:
  • Step 502 The service providing device monitors whether the local network is connected normally.
  • step 506 is performed; if no, that is, the local network connection is abnormal, step 504 is performed.
  • Step 504 The service providing device confirms that the local network status of the service providing device is abnormal.
  • Step 506 detecting whether the TS is successfully pushed to the client.
  • step 508 If the service providing device pushes the TS to the client successfully, that is, the interaction process between the two is normal, the process may return to step 502 to continue monitoring; if not, if the service providing device fails to push the TS stream to the client, step 508 is performed.
  • Step 508 The service providing device confirms that the current client state is abnormal.
  • step 510 the timer is started to start timing.
  • Step 512 waiting for the connection request of the client to re-establish a connection with the client.
  • Step 514 Detect whether the waiting time reaches a second threshold.
  • step 520 is performed; if not, that is, the waiting time does not reach the second threshold, step 516 is performed.
  • step 516 it is successful whether the service providing device reconnects with the client.
  • step 518 is performed; if not, the service providing device fails to reconnect with the client, and then returns to step 514 to continue waiting.
  • Step 518 resume sending the TS stream to the client.
  • Step 520 Report that the network status of the service providing device is abnormal or the client status is abnormal, and change the status from the first status to the second status.
  • Step 522 according to the indication, a connection is established with other clients, and the state is changed from the second state to the first state to provide the corresponding client with the corresponding transport stream.
  • the first state is a state in which a service is being provided, such as a busy state
  • the second state is a state waiting to provide a service, such as an idle state.
  • the service providing device can monitor the interaction process, and when the connection to the local network is disconnected, confirm that the current local network status is abnormal.
  • the service providing device notifies the server and the like to detect the local network to restore the local network to normal.
  • the service providing device can continue to monitor whether the TS stream pushed for the client is successful.
  • the TS stream is successfully pushed, the current state is abnormal, and the interaction process can be continuously monitored.
  • the service providing device fails to push the TS stream to the client, it confirms that the current client is in an abnormal state.
  • the abnormal state may be caused by the client being powered off or disconnected.
  • the service providing device can turn on the timer for timing. Then wait for the client to send a connection request to reconnect with the client during the timeout period.
  • the second threshold of the present configuration is limited by the waiting time. Therefore, in the process of waiting for reconnection, the service providing device detects whether the current waiting time exceeds the second threshold.
  • the service providing device resumes pushing the TS stream for the client, and can continue to push the TS stream for the client according to the record of the failed TS stream.
  • the display content of the UI interface displayed before the recovery state is abnormal.
  • the service providing device When the waiting time exceeds the second threshold, the service providing device still does not reconnect with the client, the network status abnormality of the service providing device may be reported to the server or the client status is abnormal, and then the status of the service providing device is changed from busy to idle. Therefore, the subsequent scheduling server can assign it to other clients, and then obtain connection requests of other clients, and establish a connection with other clients. At this time, the status of the service providing device can be changed from idle to busy, and then continue to be the other clients.
  • the end provides corresponding data services, including the TS stream of the corresponding UI interface.
  • the first threshold is the maximum time that the client re-establishes a connection with the service providing device when the status is abnormal;
  • the second threshold is the maximum time that the service providing device waits to reconnect with the client when the status is abnormal. .
  • the second threshold is greater than the first threshold.
  • the abnormal state time corresponding to the disconnection may be detected on both sides, and the timer is started to be timed.
  • the data exchange between the client and the service providing device may have a certain delay. For example, after the service provider device network is disconnected, the client determines the abnormal state when the TS stream is not detected. There may be a certain delay. After that, the service provider is reconnected. If the timeout between the two is the same as the second threshold, the time when the abnormal state is found may cause the client to fail to reach the first threshold. If the second threshold is reached, the connection cannot be re-connected.
  • the timeout period of the service providing device that is, the second threshold is generally set to be greater than the client's timeout period, that is, the first threshold.
  • the client can be reconnected with the previously provided service provider device, and the user can continue to provide continuous and smooth service. If the customer If the reconnection fails, the device may be connected to other service providers, causing the previous service interruption and affecting the user experience.
  • the service providing device monitors the interaction process, and can determine that the local network status is abnormal due to the disconnection of the local network, or the client status is abnormal due to the failure of pushing the transport stream to the client, for different reasons.
  • the resulting state is abnormal.
  • the operating system and the content are clouded, that is, the service providing device pushes the encoded UI cache through the TS stream, and the client only parses and displays.
  • the service providing device pushes the encoded UI cache through the TS stream
  • the client only parses and displays.
  • the service providing device can be allocated and used normally, and disconnected and reused normally.
  • the client can monitor and perform abnormal processing according to the above process during the interaction with the service providing device.
  • the client, the service providing device, and the like discussed in the above embodiments may employ the following smart television system.
  • the smart television system can include: a client, a dispatch server, and a service providing device.
  • the client is a terminal that can use the APP application provided by the service providing device, such as a set top box, a smart mobile terminal, a PAD (Portable Android Device tablet), a smart TV with a decoding function, and the like.
  • the service providing device may be multiple, and is set as a server in the cloud to remotely provide services for the client.
  • the scheduling server may select one of the plurality of service providing devices in the cloud to allocate to the client according to the set allocation policy.
  • the service providing device may be set in the cloud as a hardware device
  • the software (application) may be installed in the service providing device
  • the service providing device may be a user of various applications in the cloud.
  • the user interface (UI) is compression-encoded.
  • the client needs basic decoding capability to display the user interface of the application to the user, and implement operations on various applications.
  • the software (application) is no longer installed in the set top box, but is installed in the service providing device, and the user is provided through the service providing device. Provide services. Since the software is no longer required to be installed in the set top box, the set top box can no longer be set up separately.
  • the smart mobile terminal (or a smart TV with decoding function) can be directly connected to the service providing device, and the user does not need to be separate.
  • the purchase/setting of the set-top box saves the user's cost; at the same time, the intelligent mobile terminal (or the smart TV with decoding function) directly interacts with the service providing device, thereby improving the interaction efficiency, reducing the maintenance steps of the set-top box, and reducing the pair.
  • the occupation of resources may be used for existing set-top boxes, which have basic decoding capabilities.
  • the scheduling server may refer to a server, or may be composed of multiple servers equivalent to the functions of the scheduling server. Server group.
  • the user interface displayed on the client side is capable of serving various network services of the user, for example, the user interface may include various menu options or icons, such as: high-definition video, ultra-clear television, Software downloads, games, life services (such as payment, shopping, etc.), so that the client users can watch HD movies and TV, play somatosensory games, popular large 3D games, online shopping, pay for water and electricity, etc. on the TV for free.
  • the user can continue to enter the corresponding UI interface to perform operations, such as local or network resources when playing HD video.
  • FIG. 6 an architectural diagram of a smart television system of the present application is shown.
  • the smart television system may specifically include: at least one device server (such as the device server 601 shown in FIG. 6), at least one scheduling server (such as the scheduling server 602 shown in FIG. 6), and at least one client. End (client 603 shown in Figure 1).
  • Each device server includes at least one service providing device (such as the service providing device 604 in the device server 601 shown in FIG. 6).
  • the smart television system may further include: at least one management server (such as the management server 605 shown in FIG. 6) and at least one user data information storage device (such as the user data information storage device 606 shown in FIG. 6). ).
  • the user data information storage device is configured to store user data information, one user may correspond to a dedicated user data information storage device, and multiple users may share the same user data information storage device. This is not a limitation.
  • the user data information storage device may be a physical device, a logical device, or a combination of physical and logical devices.
  • the user data information storage device may include at least one user partition (such as the user partition 607 shown in FIG. 6), and each user partition correspondingly stores user data information of one user.
  • the client 603 may be a hardware device as described above, such as a set top box, a smart mobile terminal, a PAD, a smart TV with a decoding function, and the like.
  • the client 603 may also be located on the smart TV terminal side, which may be in the form of an APP (Application) loaded in the smart TV terminal.
  • the smart TV terminal herein may specifically include: a set top box and a mobile terminal. , smart TV, etc.
  • the client 603 can be used to play a user interface parsed by a transport stream (TS) sent by the service providing device 604, and play multimedia data (such as video signals, audio signals, etc.) acquired from other network servers.
  • TS transport stream
  • the client 603 can be used to listen to an input message generated by the user through an input device such as a remote controller, and send the input message to the service providing device 604 or the dispatch server 602.
  • an input device such as a remote controller
  • the user interface displayed by the client 603 is pushed by the service providing device 604, and the client 603 only parses and displays the user received by the client 603.
  • the input message to the user interface control is also forwarded to the service providing device 604 to adjust the user interface accordingly.
  • the service providing device 604 is located at the network side, and each of the service providing devices may specifically include: a software module carried by the hardware board and the hardware board. It should be noted that, in this embodiment, various types of applications may be directly installed in the service providing device, and the user may perform the application in the service providing device 604 through the user interface corresponding to the application displayed by the client 603. In the operation, it is no longer necessary to separately install the application in the client 603, so that the technician can perform unified maintenance on the smart television system, thereby reducing the workload and improving the maintenance efficiency.
  • the user partition 607 is located on the network side. Generally, each user has a user partition, and user data information of each user is saved under the corresponding user partition. Further, each user partition has a unique address information, and the address information may indicate a specific address of the corresponding user partition, and the user information may be quickly found through the address information to complete the call of the user data information.
  • the dispatch server 602 (or the management server 605) can perform maintenance only on address information (small data amount) without maintaining the entire user data information (large amount of data), reducing the maintained data. The quantity reduces the resource occupation, improves the system running speed, and the data information is easy to find.
  • the scheduling server 602 is located on the network side, and is mainly configured to allocate an idle, good-quality service providing device 604 to the client 603 according to the input message sent by the client 603.
  • the user partition corresponding to the user ID can be mounted to The assigned service providing device 604, that is, each user partition may correspond to a unique user ID, such as user partition A corresponding to user A, etc., such that user A is at client 603 with the last assigned, After the service providing device with the number 001 is disconnected, even if the service providing device numbered 002 is connected next time, the user A can still use the user partition A, and can use data such as the previous history;
  • the management server 605 is located on the network side and can be used to manage all the service providing devices.
  • the management may include: status reporting, heartbeat management, setting attributes, obtaining attributes, network wake-up, soft restart, hard restart, etc.; visible, management
  • the server 1105 can be used as a remote server to implement network wake-up of the service providing device in the wide area network by using the technical solution of the present application.
  • the client described in the above embodiments can be applied to the smart television system based on the one shown in FIG.
  • any system or server that requires a similar resource allocation can implement the resource allocation scheme of the present application by referring to the embodiments of the present application, and is not limited to the application scenario in the foregoing architecture.
  • the resource allocation scheme can also be applied to a remote control system (e.g., a distance learning system) to a terminal.
  • the service providing device adopts a reusable mechanism, that is, one service providing device serves to continue servicing another client after the client resets. That is, in service delivery equipment and customers After the connection is established, the two are the only interactions, and when the completion of the service is disconnected, the service providing device does not have a direct correspondence with the client, but waits for the system to allocate other clients. Therefore, the service providing device can serve one client at a time, and the service providing device is inactive for a long time, and enters a power-saving sleep state.
  • Idle is an idle state, and the service providing device system in this state can directly allocate it to the required service providing device;
  • Busy is busy, the service providing device in this state has been connected to the client and is in the service client, and can no longer be assigned;
  • Sleep is a sleep state.
  • the system can wake up the service providing device in the state and assign a client to it;
  • the exception is the abnormal state, and the exception state cannot be assigned.
  • Management is the management state, which indicates that the service providing device is in the server management state and cannot be allocated.
  • the service providing device when the connection generates an abnormal state change, the service providing device and the client device can be allocated in a safe and smooth manner.
  • the client and the service provider device connection process state are changed as follows: when the service providing device is in the idle state, the device can be allocated, the client requests the service providing device, and the service providing device is assigned to the client, the client and the service providing device.
  • the server establishes a connection success status to the server, and the server marks the service provider device status as busy; when the client normally exits the service providing device connection, the client reports that the server is normally disconnected, and the server marks the service providing device as idle.
  • the above is a normal connection between the client and the service provider device, and the normal disconnection process.
  • the local network of the service provider is disconnected.
  • the client starts the timer and starts to reconnect. If the first threshold is set to 30s, if the reconnection is successful within 30s, the data interaction process continues and the reporting status is not required.
  • the client and the service providing device are not connected, the client will report the abnormal state of the service providing device, and the client will not reconnect the service providing device, that is, the client will quit and re-apply for the service providing device.
  • the service providing device also detects that the connection is disconnected, starts the timer to start timing, and waits for the client to reconnect, wherein the second threshold is set to 40s, and if the client is reconnected within 40s, the service is continuously provided.
  • the device pushes the TS stream and does not perform other processing.
  • the service providing device provides The server reports its disconnected state, the server changes the service providing device status to idle, and then the service providing device can provide services for other clients.
  • the service provider device loses power or crashes.
  • the client starts the timer and starts to reconnect. If the first threshold is set to 30s, if the reconnection is successful within 30s, the data interaction process continues and the reporting status is not required.
  • the client and the service providing device are not connected, the client will report the abnormal state of the service providing device, and the client will not reconnect the service providing device, that is, the client will quit and re-apply for the service providing device.
  • the service providing device detects that the connection is disconnected, starts the timer to start timing, and waits for the client to reconnect, wherein the second threshold is set to 40s, and if the client is reconnected within 40s, the device continues to push the TS stream for the service. It does not perform other processing.
  • the service providing device reports its disconnection status to the server, the server changes the service providing device status to idle, and then the service providing device can be other clients. Provide services.
  • the client can also monitor the event that the local network connection is disconnected, and then the client starts the timer to start timing and tries to reconnect. If the first threshold is set to 30s, if the reconnection succeeds within 30s, the data continues to be exchanged. The process does not need to be reported. When the client and the service providing device are not connected, the client will report the abnormal state of the service providing device, and the client will not reconnect the service providing device, that is, the client will quit and re-apply for the service providing device.
  • the service providing device detects that the connection is disconnected, starts the timer to start timing, and waits for the client to reconnect, wherein the second threshold is set to 40s, and if the client is reconnected within 40s, the device continues to push the TS stream for the service. It does not perform other processing.
  • the service providing device reports its disconnection status to the server, the server changes the service providing device status to idle, and then the service providing device can be other clients. Provide services.
  • the service providing device in the system can realize the singularity, the multiplexable line and the like, and the abnormal processing monitoring and reporting scheme is adopted to ensure the normal application and allocation of the service providing device and the client.
  • the service providing device may also be referred to as a cloud box or an OTT set-top box, and has high-quality service capability, and can provide various functions such as high-definition video and free games for the user, wherein OTT is Over The Top, which means Provide various application services to users through the Internet.
  • the service providing device with OTT function is integrated into a device server, and the function of the service providing device is transmitted to the common set top box and the smart through the network through the video streaming technology. On TV and other devices, it can use the high-end features of OTT without upgrading the hardware.
  • the various functions in the service providing device with high-quality service capability can be transmitted to the client installed in the ordinary low-end set-top box or the smart TV through the streaming mode, and the client displays the UI interface corresponding to the TS stream, wherein the service Features that provide devices include, but are not limited to, games, apps, movies, TV shows, education, video chat, karaoke, and more.
  • the system requirements for the ordinary set-top box or smart TV for installing the client are low.
  • the ordinary set-top box is required to have the ability to play the RTSP 720P video stream, and, for example, the ordinary set-top box needs to have the capability of accessing the IP network, thereby installing the client. After the end, you can upload key values and other controls.
  • each piece of service providing device in the device server has strong service capabilities, including but not limited to: strong processing capability, strong graphics computing capability, large memory, and low power consumption. You can run large games and applications on the market today, playing 1080P and 2K movies.
  • Ordinary set-top boxes tend to be relatively old. First, they are not smart OTT set-top boxes. Secondly, their performance is weak. It is not enough to run large games and applications. Customers often need to upgrade or replace the updated set-top boxes to meet the entertainment needs of this part. Therefore, the service providing device can solve the above problem. Large-scale games and applications are run in the cloud device server, and then transmitted to the client installed in the ordinary set-top box through RTSP video streaming, which achieves the purpose of high-end entertainment using low-end set-top boxes, and can enhance the services of ordinary set-top boxes. ability.
  • the embodiment further discloses a connection state detecting device.
  • the client in the embodiment of the present application may include the connection state detecting device.
  • connection state detecting apparatus of the present application is shown, which may specifically include the following modules:
  • the first monitoring module 702 is configured to monitor an interaction process with the service providing device, where the user interface is displayed according to the transport stream pushed by the service providing device.
  • a first abnormal state confirmation module 704 configured to provide service during monitoring of disconnection of the network connection or the interaction When the transport stream sent by the device is interrupted, confirm that the current status is abnormal.
  • the first exception processing module 706 is configured to try to re-establish a connection with the service providing device, and resume the transmission of the transport stream after the connection is successfully established.
  • the client monitors the interaction process with the service providing device, and confirms that the current state is abnormal when the network connection of the client is disconnected or the transmission flow sent by the service providing device is interrupted during the interaction, that is, the client The connection between the terminal and the service providing device is disconnected, and the interaction cannot be continued.
  • the client attempts to establish a connection with the service providing device again, and resumes the transmission of the transport stream after the connection is successfully established, so that the interaction process can be monitored in real time, and the status is abnormal. Reconnect as soon as possible to ensure the normal operation of the client.
  • the first abnormal state confirmation module 704 is configured to confirm that the current network state is abnormal when the network connection of the client is detected to be disconnected; and to monitor the interaction during the interaction. When the transport stream sent by the device is interrupted, it is confirmed that the current status of the service providing device is abnormal.
  • the first exception processing module 706 is further configured to start a timer to start timing, and detect whether the timing time reaches a first threshold.
  • the first abnormal processing module is configured to monitor the network, and detect whether the timing time reaches a first threshold during the monitoring process; when the first threshold is detected, the network connection is normal. Afterwards, an attempt is made to re-establish a connection with the service providing device, and resume receiving a transport stream from the service providing device after the reconnection succeeds; when the network exceeds the first threshold, the network connection is not normal, and the network connection is normal, and the application is re-applied.
  • the service providing device establishes a connection with the redistributed service providing device and resumes receiving the transport stream from the service providing device.
  • the first exception processing module is configured to try to re-establish a connection with the service providing device, and detect whether the timing time reaches a first threshold during the connection process; Re-connecting with the service providing device in a threshold, recovering receiving a transport stream from the service providing device; failing to reconnect with the service providing device after the first threshold is exceeded, reporting the service providing device to the server The status is abnormal and the application service device is re-applied to resume receiving the transport stream from the reassigned service providing device after establishing a connection with the reassigned service providing device.
  • the first threshold is a maximum time for the client to re-establish a connection with the service providing device when determining that the state is abnormal; and the maximum time for waiting for reconnection with the client when the service providing device determines that the state is abnormal is a second threshold.
  • the second threshold is greater than the first threshold.
  • the service providing device is disconnected between the client and the service providing device due to a local network abnormality.
  • the client can actively listen to the local network, reconnect with the previously connected service provider device after the local network is restored to normal, or re-apply the system to allocate and connect with a service providing device, and then resume the slave service.
  • the receiving device receives the TS stream, so that the client can automatically handle the abnormal state and ensure the user's use.
  • the client can monitor the interaction process between the client and the service providing device by using the client, and the client can detect the interruption of the local network connection, or the TS caused by the abnormality of the service providing device such as the service providing device being disconnected or powered off.
  • the streaming interrupt is interrupted, so that the current abnormality is caused by the local network status abnormality or the service providing device status abnormality, and the corresponding abnormal processing operation is performed based on different abnormal reasons, so that the client establishes a connection with the service providing device in the system and continues to The client pushes the TS stream to ensure the normal operation of the client.
  • the embodiment further discloses a connection state detecting device.
  • the service providing device in the embodiment of the present application includes the connection state detecting device.
  • connection state detecting apparatus of the present application is shown, which may specifically include the following modules:
  • the second monitoring module 802 is configured to monitor an interaction process with the client, wherein the interaction process pushes a transport stream for the client to display a corresponding user interface in the client.
  • the second abnormal state confirmation module 804 is configured to confirm that the current state is abnormal when failing to push the transport stream to the client during the disconnection of the network connection or the interaction.
  • the second exception processing module 806 is configured to wait to re-establish a connection with the client; when the reconnection with the client is successful, resume sending the transport stream to the client.
  • the service providing device monitors the interaction process, thereby detecting a state abnormality such as disconnection of the network connection or failure of pushing the TS stream to the client, and then performing abnormal processing. Waiting to re-establish a connection with the client.
  • the connection with the client is successful, the communication stream is sent to the client, and the abnormality problem can be detected in time to prevent the client from being abnormal due to the abnormality of the service providing device and the client.
  • the terminal cannot be used.
  • the second abnormal state confirmation module 804 is configured to confirm that the current network state is abnormal when the network connection is disconnected, and to notify the client during the monitoring of the interaction. When the push delivery stream fails, it confirms that the current client status is abnormal.
  • the second exception processing module 806 is further configured to start a timer to start timing; wait for a connection request of the client to re-establish a connection with the client, and detect whether the waiting time reaches the first time. Two thresholds.
  • the second exception processing module is further configured to: when the waiting time exceeds the second threshold, report that the network status is abnormal or the client status is abnormal, and change the status from the first status to the second status;
  • the client establishes a connection, changes the state from the second state to the first state, and provides a corresponding transport stream to the other client, where the first state is a state in which a service is being provided, and the second state is a wait state The status of the service provided.
  • the second threshold is a maximum time that the service providing device waits to reconnect with the client when the state is abnormal; when the client determines that the state is abnormal, the maximum time for reestablishing the connection with the service providing device is the first time. a threshold; the second threshold is greater than the first threshold.
  • the service providing device monitors the interaction process, and can determine that the network status is abnormal due to the disconnection of the local network connection, or the client status abnormality determined due to the failure of pushing the transport stream to the client, for different reasons.
  • the status is abnormal, you can wait for the client to reconnect to continue to provide data services such as TS stream, and you can modify its own state to idle when the waiting time exceeds the second reconnection threshold and still not connected with the client, thus continuing to be other customers.
  • Provide services such as providing data and services to clients as much as possible.
  • the embodiment of the present application further discloses a smart television system, including: at least one server, at least one client, and at least one service providing device; wherein the server is configured to allocate a service providing device to the client; the client The terminal is disposed in the smart TV, and the service providing device is disposed on the network side, and is configured to provide an Internet service for the established client through the network;
  • the client includes the data transmission device according to the fifth embodiment, and the service providing device includes the data transmission device according to the sixth embodiment.
  • the system further includes: one less user data information storage device; the at least one user data information storage device includes: at least one user partition; wherein the at least one user partition is respectively configured to store user data corresponding to different clients .
  • the service providing device includes: a network set top box; the internet service includes at least one of the following: a live television, an audio and video service, a web service, and a game service.
  • the smart television system is basically the same as the system described in FIG. 6 above, and therefore will not be described again.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • embodiments of the embodiments of the present application can be provided as a method, apparatus, or computer program product. Therefore, the embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, embodiments of the present application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include non-persistent computer readable media, such as modulated data signals and carrier waves.
  • Embodiments of the present application are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal device to produce a machine such that instructions are executed by a processor of a computer or other programmable data processing terminal device
  • Means are provided for implementing the functions specified in one or more of the flow or in one or more blocks of the flow chart.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the instruction device implements the functions specified in one or more blocks of the flowchart or in a flow or block of the flowchart.
  • connection state detecting method a connection state detecting device, and a smart television system provided by the present application.
  • the specific examples are used herein to explain the principles and implementation manners of the present application.
  • the description of the embodiments is only for helping to understand the method of the present application and its core ideas; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in specific embodiments and application scopes. The above description should not be taken as limiting the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本申请实施例提供了一种连接状态检测方法、装置和智能电视系统,使客户端能够对异常状态进行及时处理保证为用户提供数据。所述的方法包括:客户端对与服务提供设备的交互过程进行监控,其中,所述交互过程中客户端依据服务提供设备推送的传送流显示用户界面;在监控到所述客户端的网络连接断开或所述交互过程中服务提供设备发送的传送流中断时,确认当前状态异常;尝试重新与服务提供设备建立连接,并在连接建立成功后恢复传送流的传输。能够实时监控交互过程,在状态异常时尽快重连,保证客户端的正常运行。

Description

连接状态检测方法、装置和智能电视系统
本申请要求2015年06月11日递交的申请号为201510319794.2、发明名称为“连接状态检测方法、装置和智能电视系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及互联网技术领域,特别是涉及一种连接状态检测方法、一种连接状态检测装置和一种智能电视系统。
背景技术
随着智能操作系统的越来越普及化,智能盒子也逐渐走进了千家万户,游戏,音乐,视频,设备互联等新的内容和技术给用户带来了越来越好的客厅娱乐体验。
智能电视盒也叫网络电视盒,是一个连接电视机与互联网的设备。电视机通过网络电视盒连接互联网,收看网络电视节目。因此,“网络电视盒”可以看成是一个通过互联网获得视频节目的“机顶盒”。而当智能电视盒出现异常等问题时,无法继续为用户提供数据。
发明内容
本申请实施例所要解决的技术问题是提供一种连接状态检测方法,使客户端能够对异常状态进行及时处理保证为用户提供数据。
相应的,本申请实施例还提供了一种连接状态检测装置和一种智能电视系统,用以保证上述方法的实现及应用。
为了解决上述问题,本申请公开了一种连接状态检测方法,包括:客户端对与服务提供设备的交互过程进行监控,其中,所述交互过程中客户端依据服务提供设备推送的传送流显示用户界面;在监控到所述客户端的网络连接断开或所述交互过程中服务提供设备发送的传送流中断时,确认当前状态异常;尝试重新与服务提供设备建立连接,并在连接建立成功后恢复传送流的传输。
可选的,在监控到所述客户端的网络连接断开或所述交互过程中服务提供设备发送的传送流中断时,确认当前状态异常,包括:在监控到所述客户端的网络连接断开时,所述客户端确认当前为客户端的网络状态异常;在监控到所述交互过程中服务提供设备 发送的传送流中断时,所述客户端确认当前为服务提供设备状态异常。
可选的,尝试重新与服务提供设备建立连接之前,还包括:启动计时器开始计时,并检测计时时间是否达到第一阈值。
可选的,所述客户端确认当前为网络状态异常时,所述检测计时时间是否达到第一阈值,包括:对网络进行监听,并在监听过程中检测计时时间是否达到第一阈值;所述尝试重新与服务提供设备建立连接,并在连接建立成功后恢复传送流的传输,包括:当所述第一阈值内监听到网络的连接正常后,尝试重新与所述服务提供设备建立连接,在重连成功后恢复从所述服务提供设备处接收传送流;当超过所述第一阈值网络未连接正常,等待网络的连接正常后重新申请分配服务提供设备,与重新分配的服务提供设备建立连接并恢复从所述服务提供设备处接收传送流。
可选的,所述客户端确认当前为服务提供设备状态异常时,所述检测计时时间是否达到第一阈值,包括:尝试重新与所述服务提供设备建立连接,并在连接过程中检测计时时间是否达到第一阈值;所述尝试重新与服务提供设备建立连接,并在连接建立成功后恢复传送流的传输,包括:当所述第一阈值内与所述服务提供设备重连成功,恢复从所述服务提供设备处接收传送流;当超过所述第一阈值与所述服务提供设备重连失败,向服务器上报所述服务提供设备状态异常并重新申请分配服务提供设备,在与重新分配的服务提供设备建立连接后,恢复从所述重新分配的服务提供设备处接收传送流。
可选的,所述第一阈值为客户端在确定状态异常时重新与服务提供设备建立连接的最长时间;当服务提供设备确定状态异常时等待与客户端重新连接的最长时间为第二阈值;所述第二阈值大于所述第一阈值。
可选的,所述连接状态检测方法应用于智能电视系统;其中,所述智能电视系统包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;其中,所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视中,所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务。
可选的,所述智能电视系统,还包括至少一个用户数据信息存储设备;所述至少一个用户数据信息存储设备包括:至少一个用户分区;其中,所述至少一个用户分区分别用于存储不同客户端对应的用户数据。
可选的,所述服务提供设备包括:网络机顶盒;所述互联网服务,包括如下中的至少一个:电视直播、音视频服务、网页服务、游戏服务。
本申请实施例还公开了一种连接状态检测方法,包括:服务提供设备对与客户端的 交互过程进行监控,其中,所述交互过程中服务提供设备为客户端推送传送流以在客户端中显示相应的用户界面;在监控到所述服务提供设备的网络连接断开或所述交互过程中向所述客户端推送传送流失败时,确认当前状态异常;等待重新与客户端建立连接;当与所述客户端重新连接成功时,恢复向所述客户端发送传送流。
可选的,所述在监控到所述服务提供设备的网络连接断开或所述交互过程中向所述客户端推送传送流失败时,确认当前状态异常,包括:在监控到所述服务提供设备的网络连接断开,所述服务提供设备确认当前为服务提供设备的网络状态异常;在监控到所述交互过程中向所述客户端推送传送流失败时,所述服务提供设备确认当前为客户端状态异常。
可选的,确认当前状态异常之后,还包括:启动计时器开始计时;所述等待重新与客户端建立连接,包括:所述服务提供设备等待客户端的连接请求重新与所述客户端建立连接,并检测等待时间是否达到第二阈值。
可选的,还包括:当等待时间超过第二阈值时,上报所述服务提供设备的网络状态异常或所述客户端状态异常,将状态由第二状态变更为第一状态,将状态由第一状态变更为第二状态;依据连接请求将与其他客户端建立连接,为所述其他客户端提供相应的传送流,其中,所述第一状态为正在提供服务的状态,所述第二状态为等待提供服务的状态。
可选的,所述第二阈值为服务提供设备确定状态异常时等待与客户端重新连接的最长时间;当客户端在确定状态异常时重新与服务提供设备建立连接的最长时间为第一阈值;所述第二阈值大于所述第一阈值。
可选的,所述连接状态检测方法应用于智能电视系统;其中,所述智能电视系统包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;其中,所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视中,所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务。
可选的,所述智能电视系统,还包括至少一个用户数据信息存储设备;所述至少一个用户数据信息存储设备包括:至少一个用户分区;其中,所述至少一个用户分区分别用于存储不同客户端对应的用户数据。
可选的,所述服务提供设备包括:网络机顶盒;所述互联网服务,包括如下中的至少一个:电视直播、音视频服务、网页服务、游戏服务。
本申请实施例还公开了一种连接状态检测装置,包括:第一监控模块,用于对与服 务提供设备的交互过程进行监控,其中,所述交互过程中依据服务提供设备推送的传送流显示用户界面;第一异常状态确认模块,用于在监控到网络连接断开或所述交互过程中服务提供设备发送的传送流中断时,确认当前状态异常;第一异常处理模块,用于尝试重新与服务提供设备建立连接,并在连接建立成功后恢复传送流的传输。
可选的,所述第一异常状态确认模块,用于在监控到网络连接断开时,确认当前为网络状态异常;在监控到所述交互过程中服务提供设备发送的传送流中断时,确认当前为服务提供设备状态异常。
可选的,所述第一异常处理模块,还用于启动计时器开始计时,并检测计时时间是否达到第一阈值。
可选的,确认当前为网络状态异常时,所述第一异常处理模块,用于对网络进行监听,并在监听过程中检测计时时间是否达到第一阈值;当所述第一阈值内监听到网络连接正常后,尝试重新与所述服务提供设备建立连接,在重连成功后恢复从所述服务提供设备处接收传送流;当超过所述第一阈值网络未连接正常,等待网络连接正常后重新申请分配服务提供设备,与重新分配的服务提供设备建立连接并恢复从所述服务提供设备处接收传送流。
可选的,所述确认当前为服务提供设备状态异常时,所述第一异常处理模块,用于尝试重新与所述服务提供设备建立连接,并在连接过程中检测计时时间是否达到第一阈值;当所述第一阈值内与所述服务提供设备重连成功,恢复从所述服务提供设备处接收传送流;当超过所述第一阈值与所述服务提供设备重连失败,向服务器上报所述服务提供设备状态异常并重新申请分配服务提供设备,在与重新分配的服务提供设备建立连接后,恢复从所述重新分配的服务提供设备处接收传送流。
可选的,所述第一阈值为客户端在确定状态异常时重新与服务提供设备建立连接的最长时间;当服务提供设备确定状态异常时等待与客户端重新连接的最长时间为第二阈值;所述第二阈值大于所述第一阈值。
本申请实施例还公开了一种连接状态检测装置,包括:第二监控模块,用于对与客户端的交互过程进行监控,其中,所述交互过程中为客户端推送传送流以在客户端中显示相应的用户界面;第二异常状态确认模块,用于在监控到网络连接断开或所述交互过程中向所述客户端推送传送流失败时,确认当前状态异常;第二异常处理模块,用于等待重新与客户端建立连接;当与所述客户端重新连接成功时,恢复向所述客户端发送传送流。
可选的,所述第二异常状态确认模块,用于在监控到网络连接断开时,确认当前为网络状态异常;在监控到所述交互过程中向所述客户端推送传送流失败时,确认当前为客户端状态异常。
可选的,所述第二异常处理模块,还用于启动计时器开始计时;等待客户端的连接请求重新与所述客户端建立连接,并检测等待时间是否达到第二阈值。
可选的,所述第二异常处理模块,还用于当等待时间超过第二阈值时,上报网络状态异常或所述客户端状态异常,将状态由第一状态变更为第二状态;依据连接请求将与其他客户端建立连接,将状态由第二状态变更为第一状态,为所述其他客户端提供相应的传送流,其中,所述第一状态为正在提供服务的状态,所述第二状态为等待提供服务的状态。
可选的,所述第二阈值为服务提供设备确定状态异常时等待与客户端重新连接的最长时间;当客户端在确定状态异常时重新与服务提供设备建立连接的最长时间为第一阈值;所述第二阈值大于所述第一阈值。
本申请实施例还公开了一种智能电视系统,包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;其中,所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视中,所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务;所述客户端包括本申请实施例所述的一种连接状态检测装置,所述服务提供设备包括本申请实施例所述的另一种连接状态检测装置。
可选的,所述的系统还包括:至少一个用户数据信息存储设备;所述至少一个用户数据信息存储设备包括:至少一个用户分区;其中,所述至少一个用户分区分别用于存储不同客户端对应的用户数据。
可选的,所述服务提供设备包括:网络机顶盒;所述互联网服务,包括如下中的至少一个:电视直播、音视频服务、网页服务、游戏服务。
与现有技术相比,本申请实施例包括以下优点:
客户端对与服务提供设备的交互过程进行监控,在监控到所述客户端的网络连接断开或所述交互过程中服务提供设备发送的传送流中断时,确认当前状态异常,即客户端和服务提供设备的连接断开,无法继续交互,此时客户端会尝试重新与服务提供设备建立连接,并在连接建立成功后恢复传送流的传输,从而能够实时监控交互过程,在状态异常时尽快重连,保证客户端的正常运行。
附图说明
图1是本申请的一种客户端侧的连接状态检测方法实施例的步骤流程图;
图2是本申请的一种客户端侧的连接状态检测方法优选实施例的步骤流程图;
图3是本申请的另一种客户端侧的连接状态检测方法优选实施例的步骤流程图;
图4是本申请的一种服务提供设备侧的连接状态检测方法实施例的步骤流程图;
图5是本申请的另一种服务提供设备侧的连接状态检测方法实施例的步骤流程图;
图6是本申请的一种智能电视系统的结构示意图;
图7是本申请一种连接状态检测装置实施例的结构框图;
图8是本申请另一种连接状态检测装置实施例的结构框图。
具体实施方式
为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本申请作进一步详细的说明。
本申请实施例的数据传输方法应用于智能电视系统;其中,所述智能电视系统包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;其中,所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视中,所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务。
所述智能电视系统,还包括至少一个用户数据信息存储设备;所述至少一个用户数据信息存储设备包括:至少一个用户分区;其中,所述至少一个用户分区分别用于存储不同客户端对应的用户数据。
所述服务提供设备包括:网络机顶盒;所述互联网服务,包括如下中的至少一个:电视直播、音视频服务、网页服务、游戏服务。
本申请实施例的核心构思之一在于,提出一种连接状态检测方法,是客户端能够对异常状态进行及时处理保证为用户提供数据。客户端对与服务提供设备的交互过程进行监控,在监控到所述客户端的网络连接断开或所述交互过程中服务提供设备发送的传送流中断时,确认当前状态异常,即客户端和服务提供设备的连接断开,无法继续交互,此时客户端会尝试重新与服务提供设备建立连接,并在连接建立成功后恢复传送流的传输,从而能够实时监控交互过程,在状态异常时尽快重连,保证客户端的正常运行。
实施例一
参照图1,示出了本申请的一种客户端侧的连接状态检测方法实施例的步骤流程图, 具体可以包括如下步骤:
步骤102,所述客户端对所述交互过程进行监控。
本实施例采用服务提供设备和客户端为智能电视终端提供网络数据服务,其中,服务提供设备也称云终端,是设置在网络侧的硬件终端,由服务提供设备提供网络服务所需的各种数据,客户端的一种呈现形式可以是安装于智能电视终端的APP(应用程序,Application),客户端对网络提供的数据进行解码并显示。其中,每个服务提供设备和客户端可以不具有唯一的对应关系,而是在客户端请求由服务提供设备提供网络服务器时为客户端临时分配一个服务提供设备,在分配后服务提供设备与客户端建立连接后,在连接期间服务提供设备为该客户端提供数据服务。
本实施例中,在服务提供设备侧存储用户界面(User Interface,UI)数据,如UI缓存数据,在客户端与服务提供设备连接后由服务提供设备提供UI缓存对应的传送流(Transport Stream,TS),以在客户端侧显示相应的UI界面,其中,服务提供设备中存储的UI缓存包括在客户端上显示的各种内容,如主UI界面,UI界面中所显示的各种APP、以及APP开启后相应的UI界面等,即客户端本地可以显示但不存储UI界面,也不存储安装的APP等内容。
因此当服务提供设备和客户端的连接出现异常时客户端无法继续显示UI界面等内容,导致用户无法继续使用,因此为了保证客户端和服务提供设备交互的正常、稳定执行,客户端会对该交互过程进行监控。
步骤104,在监控到所述客户端的网络连接断开或所述交互过程中服务提供设备发送的传送流中断时,确认当前状态异常。
本实施例中,客户端可以通过多维度监控交互过程,例如,其中一个维度是客户端本身的监控,又如,另一个维度是对服务提供设备传送数据的监控。
因此当客户端监控到网络连接断开时,确认当前状态出现异常,或者,客户端监控到当前交互过程中服务提供设备发送的传送TS流出现中断,此时也可以确认当前状态出现异常,两者的交互过程中断,连接也出现中断。
步骤106,尝试重新与服务提供设备建立连接,并在连接建立成功后恢复传送流的传输。
由于状态异常使得服务提供设备和客户端的连接中断,因此客户端可以尝试与系统中的服务提供设备建立连接,例如与该服务提供设备重新建立连接或重新申请一个服务提供设备建立连接等。在连接建立成功后恢复TS流的传输。
从而客户端对与服务提供设备的交互过程进行监控,在监控到所述客户端的网络连接断开或所述交互过程中服务提供设备发送的传送流中断时,确认当前状态异常,即客户端和服务提供设备的连接断开,无法继续交互,此时客户端会尝试重新与服务提供设备建立连接,并在连接建立成功后恢复传送流的传输,从而能够实时监控交互过程,在状态异常时尽快重连,保证客户端的正常运行。
实施例二
在上述实施例的基础上,本实施例继续论述客户端侧的连接状态异常检测方法。
参照图2,示出了本申请的一种客户端侧的连接状态检测方法优选实施例的步骤流程图,具体可以包括如下步骤:
步骤202,所述客户端监控本地网络的连接是否断开。
若是,即本地网络连接断开,执行步骤204。
若否,即本地网络连接未断开,结束该检测步骤,或继续执行检测步骤,如返回执行步骤202,或检测服务提供设备发送的传送流是否出现中断。
步骤204,客户端的本地网络状态异常。
步骤206,启动计时器开始计时。
步骤208,对本地网络进行监听,并在监听过程中检测计时时间是否达到第一阈值。
若是,即检测到计时时间达到第一阈值,执行步骤216。
若否,即检测到计时时间未达到第一阈值,执行步骤210。
步骤210,本地网络是否连接正常。
若是,即监听到本地网络的连接正常,执行步骤212;若否,即监听到本地网络未连接正常,则返回步骤208。
步骤212,尝试重新与所述服务提供设备建立连接。
步骤214,在重连成功后恢复从所述服务提供设备处接收传送流。
步骤216,停止对本地网络的监听。
步骤218,在本地网络的连接正常后重新申请分配服务提供设备,与重新分配的服务提供设备建立连接并恢复从所述服务提供设备处接收传送流。
在客户端与服务提供设备的交互过程中,所述客户端对所述交互过程进行监控,可以监控本地网络的连接是否断开。本地网络连接断开时确认客户端的本地网络状态异常,此时客户端可以启动计时器开始计时,在计时时间内对本地网络进行监听以确定本地网络是否正常。
其中,为了防止客户端和服务提供设备之间无限的重连,设置了第一阈值,该第一阈值用于限制客户端和服务提供设备重连的异常状态处理过程。例如,本实施例该第一阈值为时间阈值,用于限制两者异常状态处理过程的时间。第一阈值可以为客户端在确定状态异常时重新与服务提供设备建立连接的最长时间。
即客户端在第一阈值内确定本地网络是否连接正常。当所述第一阈值内监听到本地网络的连接正常后,客户端会尝试重新与网络中断前连接的服务提供设备建立连接,若连接成功则恢复从所述服务提供设备处接收传送流。若连接失败,则可以重新向系统申请一个服务提供设备,与该服务提供设备连接并从重新申请的服务提供设备处接收传送流。
而当超过所述第一阈值本地网络未连接正常,会停止对本地网络的监听,而后在再次确定本地网络的连接正常后重新申请分配服务提供设备,与重新分配的服务提供设备建立连接并恢复从所述服务提供设备处接收传送流。
从而在由于本地网络异常导致客户端和服务提供设备之间连接断开,服务提供设备无法为客户端推送TS流时,客户端可以主动监听本地网络在本地网络恢复正常后,与之前连接的服务提供设备重连,或重新申请系统分配一个服务提供设备并与其连接,而后恢复从服务提供设备中接收TS流,使得客户端能够自动处理异常状态,保证用户的使用。
上述论述了由于客户端本地网络中断而引起的异常处理过程,下面通过实施例继续论述由于服务提供设备状态异常而引起的异常处理过程的步骤。
参照图3,示出了本申请的另一种客户端侧的连接状态检测方法优选实施例的步骤流程图,具体可以包括如下步骤:
步骤302,客户端监控服务提供设备发送的TS流是否出现中断。
若是,即服务提供设备发送的TS流出现中断,执行步骤204。
若否,即服务提供设备发送的TS流未出现中断,结束该检测步骤,或继续执行检测步骤,如返回执行步骤302,又如检测本地网络是否断开连接等。
步骤304,客户端确认为服务提供设备状态异常。
步骤306,启动计时器开始计时。
步骤308,尝试重新与所述服务提供设备建立连接,并在连接过程中检测计时时间是否达到第一阈值。
若是,即测计时时间达到第一阈值,执行步骤314。
若否,即测计时时间未达到第一阈值,执行步骤310。
步骤310,客户端与所述服务提供设备重连是否成功。
若是,即客户端与所述服务提供设备重连成功,执行步骤312;若否,即客户端与所述服务提供设备重连是否成功,则返回步骤308。
步骤312,在重连成功后恢复从所述服务提供设备处接收传送流。
步骤314,向服务器上报所述服务提供设备状态异常并重新申请分配服务提供设备,在与重新分配的服务提供设备建立连接后,恢复从所述服务提供设备处接收传送流。
在客户端与服务提供设备的交互过程中,所述客户端对所述交互过程进行监控,可以监控服务提供设备发送的TS流是否出现中断,当服务提供设备发送的TS流出现中断,确认为服务提供设备状态异常,服务提供设备状态异常可能是由于服务提供设备掉电、断网等原因引起的。
在由于服务提供设备状态异常而导致客户端和服务提供设备的连接断开时,可以启动计时器开始计时,而后尝试重新与该状态出现异常的服务提供设备建立连接,并在连接过程中检测计时时间是否达到第一阈值。
当所述第一阈值内与所述服务提供设备重连成功,表征该服务提供设备状态已恢复正常,可以继续推送TS流则客户端对应恢复从所述服务提供设备处接收TS流。当超过所述第一阈值与所述服务提供设备重连失败,为了防止无限重连影响客户端中场使用,该客户端可以向系统中的服务器(如管理服务器)上报之前连接服务提供设备的服务提供设备状态异常,使得系统可以检测该服务提供设备的异常原因并进行处理。然后再向该调度服务器重新申请分配一个服务提供设备,与该重新分配的服务提供设备建立连接,而后由该重新分配的服务提供设备为其推送TS流,客户端恢复从所述重新分配的服务提供设备处接收TS流。
上述采用时间阈值作为第一阈值仅是具体实施的一种示例,实际处理中还可以按照其他标准配置第一阈值,如按照次数设置第一阈值,则在服务提供设备状态异常时,若与服务提供设备重连的次数超过相应的第一阈值,则可以向服务器上报服务提供设备状态异常并重新申请服务提供设备。
通过上述客户端对所述客户端与服务提供设备的交互过程进行监控,客户端可以检测到本地网络连接中断,或是由于服务提供设备断网、断电等服务提供设备异常原因而造成的TS流传输中断,从而确定当前的异常的原因为本地网络状态异常或服务提供设备状态异常,并基于不同的异常原因执行相应的异常处理操作,使客户端与系统中服务 提供设备建立连接并继续为客户端推送TS流,保证客户端的正常运行。
实施例三
为了保证服务提供设备和客户端之间交互的正常执行,不但客户端会对交互过程进行监控,服务提供设备也会执行相应的监控操作,从而及时对异常状态进行处理。
参照图4,示出了本申请的一种服务提供设备侧的连接状态检测方法实施例的步骤流程图,具体可以包括如下步骤:
步骤402,服务提供设备对与客户端的交互过程进行监控。
本实施例中,服务提供设备被分配给一个客户端并与该客户端建立连接后,服务提供设备为该客户端提供相应的UI界面以显示。服务提供设备从帧缓冲设备(Frame Buffer)中获取UI缓存,然后对UI缓存按照预置的编码格式进行编码,得到编码后的UI缓存,如采用h.264编码。再采用所述编码后的UI缓存通过实时流传输协议(Real Time Streaming Protocol,RTSP)采用流化方式生成TS流,将TS流推送给客户端以在所述客户端显示相应的UI界面。
在上述交互过程中服务提供设备会对交互过程进行监控,以是否由于服务提供设备或客户端的状态异常而导致交互出现问题,并在交互出现问题时及时处理。
步骤404,在监控到所述服务提供设备的网络连接断开或所述交互过程中向所述客户端推送传送流失败时,确认当前状态异常。
当服务提供设备监控到网络连接断开,或向客户端推送TS流失败时,确认当前状态出现异常,要执行相应的异常处理操作。
步骤406,等待重新与客户端建立连接。
本实施例中,服务提供设备可以等待该客户端重新发送连接请求,从而重新与该客户端建立连接。
步骤408,当与所述客户端重新连接成功时,恢复向所述客户端发送TS流。
当与所述客户端重新连接成功时,可以按照TS流传输失败的记录,恢复向所述客户端发送TS流,使客户端正常显示相应的UI界面。
综上,服务提供设备在为客户端推送TS流的过程中,会对交互过程进行监控,从而检测出网络连接断开或向客户端推送TS流失败等状态异常问题,而后进行异常处理,即等待重新与客户端建立连接,当与所述客户端重新连接成功时,恢复向所述客户端发送传送流,能够及时检测出异常问题,防止由于服务提供设备和客户端的异常而导致客户端无法使用。
实施例四
服务提供设备检测出的异常状态可能是由服务提供设备引起的,也可能是由客户端引起的,本实施例详细论述服务提供设备对交互的监控及处理步骤。
参照图5,示出了本申请的另一种服务提供设备侧的连接状态检测方法实施例的步骤流程图,具体可以包括如下步骤:
步骤502,服务提供设备监控本地网络是否连接正常。
若是,即本地网络连接正常,则执行步骤506;若否,即本地网络连接异常,则执行步骤504。
步骤504,所述服务提供设备确认当前为服务提供设备的本地网络状态异常。
步骤506,检测向客户端推送TS是否成功。
若是,即服务提供设备向客户端推送TS成功,即两者交互过程正常,则可以返回步骤502继续监控;若否,即服务提供设备向客户端推送TS流失败,则执行步骤508。
步骤508,所述服务提供设备确认当前为客户端状态异常。
步骤510,启动计时器开始计时。
步骤512,等待客户端的连接请求重新与所述客户端建立连接。
步骤514,检测等待时间是否达到第二阈值。
若是,即等待时间超过第二阈值,则执行步骤520;若否,即等待时间未达到第二阈值,则执行步骤516。
步骤516,服务提供设备与客户端重连是否成功。
若是,即服务提供设备与客户端重新连接成功,则执行步骤518;若否,即服务提供设备与客户端重新连接失败,则返回步骤514继续等待。
步骤518,恢复向所述客户端发送TS流。
步骤520,上报所述服务提供设备的网络状态异常或所述客户端状态异常,将状态由第一状态变更为第二状态。
步骤522,依据指示将与其他客户端建立连接,将状态由第二状态变更为第一状态,以为所述其他客户端提供相应的传送流。
其中,所述第一状态为正在提供服务的状态,如为忙碌状态,所述第二状态为等待提供服务的状态,如为空闲状态。
服务提供设备和客户端建立连接并为其推送TS流的过程中,服务提供设备可以对交互过程进行监控,当监控到本地网络的连接断开时,确认当前本地网络状态异常,此 时服务提供设备通知服务器等对本地网络进行检测,以使本地网络恢复正常。当本地网络连接正常时,服务提供设备可以继续监控为客户端推送的TS流是否成功,当TS流推送成功时,说明当前状态无异常,可以继续监控该交互过程。当服务提供设备为客户端推送TS流失败时,确认当前客户端出现状态异常,该状态异常可能是由于客户端断电、断网等原因引起的。
当检测到状态异常时,无论是由于本地网络异常而导致的,还是由于客户端异常而导致的,服务提供设备均可以开启计时器进行计时。然后在计时时间内等待客户端发送连接请求与客户端重新连接。
为了防止服务提供设备无限期的等待客户端的重连,而无法为其或其他客户端提供数据服务,本实施配置的第二阈值由于限制等待的时间。因此,在等待重连的过程中,服务提供设备会检测当前的等待时间是否超过了第二阈值。
当在第二阈值范围内服务提供设备和客户端重连成功后,服务提供设备会恢复为该客户端推送TS流,并且可以依据传送失败的TS流的记录,继续为其推送TS流使客户端显示的UI界面恢复状态异常前的显示内容。
当等待时间超过第二阈值服务提供设备仍然未与客户端重新连接时,可以向服务器上报服务提供设备的网络状态异常或所述客户端状态异常,然后该服务提供设备的状态由忙碌变更为空闲,从而后续调度服务器可以将其分配给其他的客户端,而后获取其他客户端的连接请求,与其他客户端建立连接,此时服务提供设备的状态可以由空闲变更为忙碌,此后继续为该其他客户端提供相应的数据服务,包括相应UI界面的TS流。
本申请实施例中,第一阈值为客户端在确定状态异常时重新与服务提供设备建立连接的最长时间;第二阈值为服务提供设备确定状态异常时等待与客户端重新连接的最长时间。所述第二阈值大于所述第一阈值。
由于客户端和服务提供设备的连接断开后,两侧均可能检测到连接断开对应的异常状态时间,从而会启动计时器进行计时。由于客户端和服务提供设备之间数据交互可能存在一定的时延,例如在服务提供设备网络断开后,客户端是检测不到TS流时确定该异常状态,此时可能存在一定的时延,此后会尝试与服务提供设备重连,若将两者的超时时间即第一阈值和第二阈值相同,由于发现异常状态的时刻不同,则可能导致客户端未达到第一阈值时服务提供设备就已达到第二阈值,则无法重连,因此通常将服务提供设备的超时时间即第二阈值设置大于客户端的超时时间即第一阈值。从而尽量保证客户端能够与之前连接的服务提供设备重连,可以继续为用户提供连续顺畅的服务。若客户 端重连失败,则可能要与其他服务提供设备连接,导致之前的业务中断,影响用户体验。
综上,服务提供设备对交互过程进行监控,可以确定出由于本地网络的连接断开而导致的本地网络状态异常,或由于向客户端推送传送流失败而确定的客户端状态异常,针对不同原因导致的状态异常,可以等待客户端重连以继续为其提供TS流等数据服务,还可以在等待时间超过第二阈值仍未与客户端连接时修改自身状态为空闲,从而继续为其他客户端提供服务,尽可能的为客户端提供数据等服务。
本实施例中,将操作系统和内容云端化,即由服务提供设备通过TS流的方式推送编码后的UI缓存,而客户端仅进行解析并显示。其中为了方便服务提供设备管理,确保服务提供设备可以被正常分配使用,正常断开并复用,客户端在与服务提供设备的交互过程可以按照上述过程监控并在异常时执行异常处理。
上述各实施例所论述的客户端以及服务提供设备等,可以采用如下的智能电视系统。该智能电视系统可以包括:客户端、调度服务器和服务提供设备。其中,客户端是一种可以使用服务提供设备提供的APP应用程序的终端,如,机顶盒、智能移动终端、PAD(Portable Android Device平板电脑)、具有解码功能的智能电视等。所述服务提供设备可以是多个,作为服务端设置在云端,远程为所述客户端提供服务。调度服务器在接收到客户端申请服务提供设备的请求之后,可以根据设定分配策略从云端的多个服务提供设备中选择一个服务提供设备分配给所述客户端。
这里需要说明的是,在本申请的方案中,服务提供设备可以作为硬件设备设置在云端,软件(应用程序)可以安装在服务提供设备中,服务提供设备可以在云端将各类应用程序的用户界面(User Interface,UI)进行压缩编码,客户端需要有基本解码能力即可向用户展现应用程序的用户界面,实现对各类应用程序的操作。换而言之,与传统的智能电视系统所不同的是,在本申请的方案中,软件(应用程序)不再安装在机顶盒中,而是安装在服务提供设备中,通过服务提供设备为用户提供服务。由于不再需要将软件安装在机顶盒中,故可以不再单独设置机顶盒。例如,若所述客户端为智能移动终端、或具有解码功能的智能电视时,则可以直接将智能移动终端(或具有解码功能的智能电视)与所述服务提供设备进行连接,用户不需要单独购买/设置机顶盒,节约了用户成本;同时,智能移动终端(或具有解码功能的智能电视)与所述服务提供设备直接进行交互,提高了交互效率,减少了对机顶盒的维护步骤,降低了对资源的占用。当然,对有现有机顶盒来说,其具有基本解码能力,本申请的方案也仍然适用。进一步地,所述调度服务器可以是指一个服务器,也可以是指等同于所述调度服务器功能的多个服务器组成的 服务器群组。
本申请实施例中,客户端侧所显示的用户界面是能够为用户各种网络服务,例如在用户界面上可以包括各种菜单选项或图标等服务功能,例如包括:高清视频,超清电视、软件下载、游戏、生活服务(如缴费、购物等)等,从而通过该客户端用户可在电视上免费观看高清电影电视、玩体感游戏、热门大型3D游戏、网络购物、支付水电煤费用等等功能。在用户选择某一功能的图标或菜单后,可以继续进入相应的UI界面执行操作,例如播放高清视频时可以选择本地或网络资源等。
本申请中,一种优选的智能电视系统的架构如图6所示,参照图6,示出了本申请的一种智能电视系统的架构图。在本实施例中,所述智能电视系统具体可以包括:至少一个设备服务器(如图6所示的设备服务器601)、至少一个调度服务器(如图6所示的调度服务器602)和至少一个客户端(如图1所示的客户端603)。其中,每个设备服务器中包括至少一个服务提供设备(如图6所示的设备服务器601中的服务提供设备604)。
此外,优选地,所述智能电视系统还可以包括:至少一个管理服务器(如图6所示的管理服务器605)和至少一个用户数据信息存储设备(如图6所示的用户数据信息存储设备606)。需要说明的是,所述用户数据信息存储设备用于存储用户数据信息,一个用户可以对应一个专用的用户数据信息存储设备,多个用户也可以共有同一个用户数据信息存储设备,本实施例对此不作限制。其中,所述用户数据信息存储设备可以是物理设备,也可以是逻辑设备,还可以是物理和逻辑相结合的设备。例如,所述用户数据信息存储设备中可以包括至少一个用户分区(如图6所示的用户分区607),每个用户分区对应存储一个用户的用户数据信息。
在本实施例中,客户端603可以是如上所述的硬件设备,如,机顶盒、智能移动终端、PAD、具有解码功能的智能电视等。优选地,所述客户端603也可以是位于智能电视终端侧,其可以呈现为智能电视终端中装载的APP(应用程序,Application)的形式,这里的智能电视终端具体可以包括:机顶盒、移动终端、智能电视机等。一方面,客户端603可用于播放服务提供设备604发送的传送流(Transport Stream,TS)所解析出的用户界面,以及播放从其他网络服务器中获取的多媒体数据(如视频信号、音频信号等);另一方面,客户端603可用于监听用户通过遥控器等输入装置产生的输入消息,并将该输入消息发送给服务提供设备604或者调度服务器602。从而客户端603所显示的用户界面由服务提供设备604推送,客户端603仅解析并显示,且客户端603所接收的用户 对用户界面控制的输入消息,也会转发给服务提供设备604以使其据此调整用户界面。
服务提供设备604位于网络侧,其中,每个服务提供设备具体可以包括:硬件板卡和硬件板卡所承载的软件模块。需要说明的是,在本实施例中,各类应用程序可以直接安装在服务提供设备中,用户可以通过客户端603展现的应用程序对应的用户界面,对服务提供设备604中的应用程序进行各项操作,不再需要在客户端603中单独安装应用程序,便于技术人员对所述智能电视系统进行统一维护,减少了工作量,提高了维护效率。
用户分区607位于网络侧,一般地,每个用户对应有一个用户分区,各个用户的用户数据信息被保存在对应的用户分区下。进一步地,每个用户分区具有唯一一个地址信息,所述地址信息可以指示对应的用户分区的具体地址,通过所述地址信息可以快速查找到用户分区,完成用户数据信息的调用。换而言之,调度服务器602(或,管理服务器605)可以仅对地址信息(数据量较小)进行维护,而不用对整个用户数据信息(数据量较大)进行维护,降低了维护的数据量,减少了资源占用,提高了系统运行速度,且,数据信息便于查找。
调度服务器602位于网络侧,主要用于依据客户端603发送的输入消息,分配一个空闲的、状态良好的服务提供设备604与客户端603对接;同时,可以将用户ID对应的用户分区挂载到所分配的服务提供设备604上,也即,每个用户分区可以与唯一的用户ID相对应,如用户分区A对应用户A等等,这样,用户A在客户端603在与上次分配的、编号为001的服务提供设备断开连接后,即使下次连接的是编号为002的服务提供设备,用户A仍然可以使用用户分区A,并且可以使用之前的历史记录等数据;
管理服务器605位于网络侧,可用于对所有的服务提供设备进行管理,所述管理具体可以包括:状态上报、心跳管理、设置属性、获取属性、网络唤醒、软重启、硬重启等;可见,管理服务器1105可以作为远程服务器,采用本申请的技术方案在广域网实现对服务提供设备的网络唤醒。
上述各实施例所述的客户端可以应用于基于图6中所示的智能电视系统中。但本领域技术人员应当明了,任意需要类似资源分配的系统或服务器,均可参照本申请实施例实现本申请的资源分配方案,而不仅限于上述架构下的应用场景。例如,所述资源分配方案还可以应用于对终端的远程控制系统(如,远程教学系统)等。
本实施例中,在智能电视系统中,服务提供设备采用的是可复用机制,即是一个服务提供设备服务完一个客户端重置后继续服务另一个客户端。即在服务提供设备与客户 端建立连接后二者是唯一对应交互的关系,而当完成服务两者断开后,服务提供设备与客户端并不具有直接的对应关系,而是要等待系统为其分配其他客户端。因此,服务提供设备同一时间能服务一个客户端,且服务提供设备长时间没用,会进入省电休眠状态。
基于服务提供设备的上述特征,可以为服务提供设备指定几个状态方便管理分配:
idle即空闲状态,处于该状态的服务提供设备系统可将其直接分配给需要的服务提供设备;
busy即忙碌状态,处于该状态的服务提供设备已经与客户端连接并在服务客户端,无法再进行分配;
sleep即睡眠状态,当系统中没有多余空闲状态的服务提供设备可分配时,系统可唤醒处于该状态的服务提供设备并为其分配客户端;
exception即异常状态,处于该异常状态无法进行配分;
management即管理状态,表征该服务提供设备处在被服务器管理状态,无法进行分配。
本实施例中,当服务提供设备服务客户端过程中,连接产生异常状态变更时,可以安全,顺利的管理分配服务提供设备和客户端设备。则客户端和服务提供设备端连接过程状态变更如下:当服务提供设备处于idle状态时可分配,在客户端请求服务提供设备,分配该服务提供设备给到客户端,客户端与该服务提供设备建立连接;客户端上报连接成功状态给服务器,服务器将服务提供设备状态标记为busy;当客户端正常退出服务提供设备连接,客户端上报服务器正常断开,服务器将服务提供设备标记为idle状态。
上述是客户端与服务提供设备端正常连接,正常断开流程。
而当服务提供设备与客户端连接过程中,由于某些原因导致连接断开、状态异常时处理过程如下:
1、服务提供设备端本地网络断开。
客户端启动计时器开始计时,并尝试重新连接,如将第一阈值设置为30s,则若30s内重连成功,继续交互数据过程且不用上报状态。而当超过30s客户端与服务提供设备还未连上,客户端会上报服务提供设备异常状态,客户端不再重连该服务提供设备,即客户端会退出并重新申请服务提供设备。
另外,服务提供设备也会监测到连接断开,启动计时器开始计时,并等待客户端重连,其中设置第二阈值如为40s,若在40s内客户端重新连上,继续为该服务提供设备推送TS流其不做其他处理,当超过40s客户端与服务提供设备还未连上,服务提供设备向 服务器上报自身断开状态,服务器改变服务提供设备状态为idle,而后该服务提供设备可以为其他客户端提供服务。
2、服务提供设备端掉电或者死机。
客户端启动计时器开始计时,并尝试重新连接,如将第一阈值设置为30s,则若30s内重连成功,继续交互数据过程且不用上报状态。而当超过30s客户端与服务提供设备还未连上,客户端会上报服务提供设备异常状态,客户端不再重连该服务提供设备,即客户端会退出并重新申请服务提供设备。
3、客户端的本地网络断开。
服务提供设备监测到连接断开,启动计时器开始计时,并等待客户端重连,其中设置第二阈值如为40s,若在40s内客户端重新连上,继续为该服务提供设备推送TS流其不做其他处理,当超过40s客户端与服务提供设备还未连上,服务提供设备向服务器上报自身断开状态,服务器改变服务提供设备状态为idle,而后该服务提供设备可以为其他客户端提供服务。
另外,客户端也可以监控到本地网络连接断开的事件,而后客户端启动计时器开始计时,并尝试重新连接,如将第一阈值设置为30s,则若30s内重连成功,继续交互数据过程且不用上报状态。而当超过30s客户端与服务提供设备还未连上,客户端会上报服务提供设备异常状态,客户端不再重连该服务提供设备,即客户端会退出并重新申请服务提供设备。
4、客户端死机或者掉电。
服务提供设备监测到连接断开,启动计时器开始计时,并等待客户端重连,其中设置第二阈值如为40s,若在40s内客户端重新连上,继续为该服务提供设备推送TS流其不做其他处理,当超过40s客户端与服务提供设备还未连上,服务提供设备向服务器上报自身断开状态,服务器改变服务提供设备状态为idle,而后该服务提供设备可以为其他客户端提供服务。
从而本系统中服务提供设备具能够较好的实现单一性,可复用行等特性,并且,采用的异常处理监听和上报方案来保证服务提供设备和客户端的正常申请和分配。
本申请实施例中,服务提供设备也可以称为云盒或OTT机顶盒,具有优质的服务能力,能够为用户提供各种功能如高清视频、免费游戏等,其中,OTT即Over The Top,是指通过互联网向用户提供各种应用服务。将具有OTT功能的服务提供设备集成为设备服务器,通过视频流化技术,将服务提供设备的功能通过网络传输到普通机顶盒、智能 电视等设备上,使其可以在不升级硬件的情况下使用OTT的高端功能。
可以将具有优质服务能力的服务提供设备中的各种功能,通过流化方式传输给安装于普通低端机顶盒或智能电视中的客户端上,客户端显示TS流对应的UI界面,其中,服务提供设备的功能包括但不限于:游戏、应用、电影、电视剧、教育、视频聊天、K歌等。
其中,对于安装客户端的普通机顶盒或智能电视的系统要求较低,例如,要求普通机顶盒具备播放RTSP 720P视频流的能力,又如,要求普通机顶盒需要具备访问IP网络的能力,从而在安装了客户端后可以上传键值等进行控制。
本实施例中,设备服务器中的每一片服务提供设备,具备较强的服务能力,这些服务能力包括但不限于:较强的处理能力、较强的图形计算能力、大内存、低功耗。可以运行目前市面上的大型游戏和应用,播放1080P以及2K的电影等。
而普通的机顶盒往往较为陈旧,首先其并非是智能的OTT机顶盒,其次其性能也比较弱,不足以运行大型游戏和应用,客户往往需要升级或者替换更新的机顶盒才能满足这部分的娱乐需求。因此,服务提供设备能够解决上述问题。大型的游戏和应用都在云端的设备服务器中运行,再通过RTSP视频流传输给普通的机顶盒中安装的客户端进行播放,达到了使用低端机顶盒进行高端娱乐的目的,能够增强普通机顶盒的服务能力。
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请实施例并不受所描述的动作顺序的限制,因为依据本申请实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本申请实施例所必须的。
实施例五
在上述实施例的基础上,本实施例还公开了一种连接状态检测装置,本申请实施例的客户端可以包括该连接状态检测装置。
参照图7,示出了本申请一种连接状态检测装置实施例的结构框图,具体可以包括如下模块:
第一监控模块702,用于对与服务提供设备的交互过程进行监控,其中,所述交互过程中依据服务提供设备推送的传送流显示用户界面。
第一异常状态确认模块704,用于在监控到网络连接断开或所述交互过程中服务提 供设备发送的传送流中断时,确认当前状态异常。
第一异常处理模块706,用于尝试重新与服务提供设备建立连接,并在连接建立成功后恢复传送流的传输。
综上,客户端对与服务提供设备的交互过程进行监控,在监控到所述客户端的网络连接断开或所述交互过程中服务提供设备发送的传送流中断时,确认当前状态异常,即客户端和服务提供设备的连接断开,无法继续交互,此时客户端会尝试重新与服务提供设备建立连接,并在连接建立成功后恢复传送流的传输,从而能够实时监控交互过程,在状态异常时尽快重连,保证客户端的正常运行。
本申请一个可选实施例中,所述第一异常状态确认模块704,用于在监控到所述客户端的网络连接断开时,确认当前为网络状态异常;在监控到所述交互过程中服务提供设备发送的传送流中断时,确认当前为服务提供设备状态异常。
本申请另一个可选实施例中,所述第一异常处理模块706,还用于启动计时器开始计时,并检测计时时间是否达到第一阈值。
当确认当前为网络状态异常时,所述第一异常处理模块,用于对网络进行监听,并在监听过程中检测计时时间是否达到第一阈值;当所述第一阈值内监听到网络连接正常后,尝试重新与所述服务提供设备建立连接,在重连成功后恢复从所述服务提供设备处接收传送流;当超过所述第一阈值网络未连接正常,等待网络连接正常后重新申请分配服务提供设备,与重新分配的服务提供设备建立连接并恢复从所述服务提供设备处接收传送流。
当确认当前为服务提供设备状态异常时,所述第一异常处理模块,用于尝试重新与所述服务提供设备建立连接,并在连接过程中检测计时时间是否达到第一阈值;当所述第一阈值内与所述服务提供设备重连成功,恢复从所述服务提供设备处接收传送流;当超过所述第一阈值与所述服务提供设备重连失败,向服务器上报所述服务提供设备状态异常并重新申请分配服务提供设备,在与重新分配的服务提供设备建立连接后,恢复从所述重新分配的服务提供设备处接收传送流。
可选的,述第一阈值为客户端在确定状态异常时重新与服务提供设备建立连接的最长时间;当服务提供设备确定状态异常时等待与客户端重新连接的最长时间为第二阈值;所述第二阈值大于所述第一阈值。
从而在由于本地网络异常导致客户端和服务提供设备之间连接断开,服务提供设备 无法为客户端推送TS流时,客户端可以主动监听本地网络在本地网络恢复正常后,与之前连接的服务提供设备重连,或重新申请系统分配一个服务提供设备并与其连接,而后恢复从服务提供设备中接收TS流,使得客户端能够自动处理异常状态,保证用户的使用。
通过上述客户端对所述客户端与服务提供设备的交互过程进行监控,客户端可以检测到本地网络连接中断,或是由于服务提供设备断网、断电等服务提供设备异常原因而造成的TS流传输中断,从而确定当前的异常的原因为本地网络状态异常或服务提供设备状态异常,并基于不同的异常原因执行相应的异常处理操作,使客户端与系统中服务提供设备建立连接并继续为客户端推送TS流,保证客户端的正常运行。
实施例六
在上述实施例的基础上,本实施例还公开了一种连接状态检测装置,本申请实施例中服务提供设备包括该连接状态检测装置。
参照图8,示出了本申请另一种连接状态检测装置实施例的结构框图,具体可以包括如下模块:
第二监控模块802,用于对与客户端的交互过程进行监控,其中,所述交互过程中为客户端推送传送流以在客户端中显示相应的用户界面。
第二异常状态确认模块804,用于在监控到网络连接断开或所述交互过程中向所述客户端推送传送流失败时,确认当前状态异常。
第二异常处理模块806,用于等待重新与客户端建立连接;当与所述客户端重新连接成功时,恢复向所述客户端发送传送流。
综上所述,服务提供设备在为客户端推送TS流的过程中,会对交互过程进行监控,从而检测出网络连接断开或向客户端推送TS流失败等状态异常问题,而后进行异常处理,即等待重新与客户端建立连接,当与所述客户端重新连接成功时,恢复向所述客户端发送传送流,能够及时检测出异常问题,防止由于服务提供设备和客户端的异常而导致客户端无法使用。
本申请一个可选实施例中,所述第二异常状态确认模块804,用于在监控到网络连接断开时,确认当前为地网络状态异常;在监控到所述交互过程中向所述客户端推送传送流失败时,确认当前为客户端状态异常。
本申请另一个可选实施例中,所述第二异常处理模块806,还用于启动计时器开始计时;等待客户端的连接请求重新与所述客户端建立连接,并检测等待时间是否达到第 二阈值。
所述第二异常处理模块,还用于当等待时间超过第二阈值时,上报网络状态异常或所述客户端状态异常,将状态由第一状态变更为第二状态;依据连接请求将与其他客户端建立连接,将状态由第二状态变更为第一状态,为所述其他客户端提供相应的传送流,其中,所述第一状态为正在提供服务的状态,所述第二状态为等待提供服务的状态。
可选的,所述第二阈值为服务提供设备确定状态异常时等待与客户端重新连接的最长时间;当客户端在确定状态异常时重新与服务提供设备建立连接的最长时间为第一阈值;所述第二阈值大于所述第一阈值。
综上,服务提供设备对交互过程进行监控,可以确定出由于本地网络的连接断开而导致的网络状态异常,或由于向客户端推送传送流失败而确定的客户端状态异常,针对不同原因导致的状态异常,可以等待客户端重连以继续为其提供TS流等数据服务,还可以在等待时间超过第二重连阈值仍未与客户端连接时修改自身状态为空闲,从而继续为其他客户端提供服务,尽可能的为客户端提供数据等服务。
实施例七
本申请实施例还公开了一种智能电视系统,包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;其中,所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视中,所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务;
所述客户端包括上述实施例五所述的数据传输装置,所述服务提供设备包括上述实施例六所述的数据传输装置。
所述的系统还包括:少一个用户数据信息存储设备;所述至少一个用户数据信息存储设备包括:至少一个用户分区;其中,所述至少一个用户分区分别用于存储不同客户端对应的用户数据。
所述服务提供设备包括:网络机顶盒;所述互联网服务,包括如下中的至少一个:电视直播、音视频服务、网页服务、游戏服务。
其中,该智能电视系统与上述图6所述的系统基本一致,因此不再赘述。
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。
本领域内的技术人员应明白,本申请实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本申请实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
在一个典型的配置中,所述计算机设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非持续性的电脑可读媒体(transitory media),如调制的数据信号和载波。
本申请实施例是参照根据本申请实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在 计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本申请实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请实施例范围的所有变更和修改。
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。
以上对本申请所提供的一种连接状态检测方法、一种连接状态检测设备和一种智能电视系统,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (31)

  1. 一种连接状态检测方法,其特征在于,包括:
    客户端对与服务提供设备的交互过程进行监控,其中,所述交互过程中客户端依据服务提供设备推送的传送流显示用户界面;
    在监控到所述客户端的网络连接断开或所述交互过程中服务提供设备发送的传送流中断时,确认当前状态异常;
    尝试重新与服务提供设备建立连接,并在连接建立成功后恢复传送流的传输。
  2. 根据权利要求1所述的方法,其特征在于,在监控到所述客户端的网络连接断开或所述交互过程中服务提供设备发送的传送流中断时,确认当前状态异常,包括:
    在监控到所述客户端的网络连接断开时,所述客户端确认当前为客户端的网络状态异常;
    在监控到所述交互过程中服务提供设备发送的传送流中断时,所述客户端确认当前为服务提供设备状态异常。
  3. 根据权利要求1所述的方法,其特征在于,尝试重新与服务提供设备建立连接之前,还包括:
    启动计时器开始计时,并检测计时时间是否达到第一阈值。
  4. 根据权利要求3所述的方法,其特征在于,所述客户端确认当前为网络状态异常时,所述检测计时时间是否达到第一阈值,包括:
    对网络进行监听,并在监听过程中检测计时时间是否达到第一阈值;
    所述尝试重新与服务提供设备建立连接,并在连接建立成功后恢复传送流的传输,包括:
    当所述第一阈值内监听到网络的连接正常后,尝试重新与所述服务提供设备建立连接,在重连成功后恢复从所述服务提供设备处接收传送流;
    当超过所述第一阈值网络未连接正常,等待网络的连接正常后重新申请分配服务提供设备,与重新分配的服务提供设备建立连接并恢复从所述服务提供设备处接收传送流。
  5. 根据权利要求3所述的方法,其特征在于,所述客户端确认当前为服务提供设备状态异常时,所述检测计时时间是否达到第一阈值,包括:
    尝试重新与所述服务提供设备建立连接,并在连接过程中检测计时时间是否达到第一阈值;
    所述尝试重新与服务提供设备建立连接,并在连接建立成功后恢复传送流的传输,包括:
    当所述第一阈值内与所述服务提供设备重连成功,恢复从所述服务提供设备处接收传送流;
    当超过所述第一阈值与所述服务提供设备重连失败,向服务器上报所述服务提供设备状态异常并重新申请分配服务提供设备,在与重新分配的服务提供设备建立连接后,恢复从所述重新分配的服务提供设备处接收传送流。
  6. 根据权利要求3所述的方法,其特征在于,所述第一阈值为客户端在确定状态异常时重新与服务提供设备建立连接的最长时间;当服务提供设备确定状态异常时等待与客户端重新连接的最长时间为第二阈值;所述第二阈值大于所述第一阈值。
  7. 根据权利要求1-6任一权利要求所述的方法,其特征在于,所述连接状态检测方法应用于智能电视系统;其中,所述智能电视系统包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;其中,所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视中,所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务。
  8. 根据权利要求7所述的方法,其特征在于,所述智能电视系统,还包括至少一个用户数据信息存储设备;所述至少一个用户数据信息存储设备包括:至少一个用户分区;其中,所述至少一个用户分区分别用于存储不同客户端对应的用户数据。
  9. 根据权利要求7所述的方法,其特征在于,所述服务提供设备包括:网络机顶盒;所述互联网服务,包括如下中的至少一个:
    电视直播、音视频服务、网页服务、游戏服务。
  10. 一种连接状态检测方法,其特征在于,包括:
    服务提供设备对与客户端的交互过程进行监控,其中,所述交互过程中服务提供设备为客户端推送传送流以显示相应的用户界面;
    在监控到所述服务提供设备的网络连接断开或所述交互过程中向所述客户端推送传送流失败时,确认当前状态异常;
    等待重新与客户端建立连接;
    当与所述客户端重新连接成功时,恢复向所述客户端发送传送流。
  11. 根据权利要求10所述的方法,其特征在于,所述在监控到所述服务提供设备的网络连接断开或所述交互过程中向所述客户端推送传送流失败时,确认当前状态异 常,包括:
    在监控到所述服务提供设备的网络连接断开,所述服务提供设备确认当前为服务提供设备的网络状态异常;
    在监控到所述交互过程中向所述客户端推送传送流失败时,所述服务提供设备确认当前为客户端状态异常。
  12. 根据权利要求11所述的方法,其特征在于,确认当前状态异常之后,还包括:
    启动计时器开始计时;
    所述等待重新与客户端建立连接,包括:
    所述服务提供设备等待客户端的连接请求重新与所述客户端建立连接,并检测等待时间是否达到第二阈值。
  13. 根据权利要求12所述的方法,其特征在于,还包括:
    当等待时间超过第二阈值时,上报所述服务提供设备的网络状态异常或所述客户端状态异常,将状态由第一状态变更为第二状态;
    依据连接请求将与其他客户端建立连接,将状态由第二状态变更为第一状态,为所述其他客户端提供相应的传送流,其中,所述第一状态为正在提供服务的状态,所述第二状态为等待提供服务的状态。
  14. 根据权利要求12所述的方法,其特征在于,所述第二阈值为服务提供设备确定状态异常时等待与客户端重新连接的最长时间;当客户端在确定状态异常时重新与服务提供设备建立连接的最长时间为第一阈值;所述第二阈值大于所述第一阈值。
  15. 根据权利要求10-14任一权利要求所述的方法,其特征在于,所述连接状态检测方法应用于智能电视系统;其中,所述智能电视系统包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;其中,所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视中,所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务。
  16. 根据权利要求15所述的方法,其特征在于,所述智能电视系统,还包括至少一个用户数据信息存储设备;所述至少一个用户数据信息存储设备包括:至少一个用户分区;其中,所述至少一个用户分区分别用于存储不同客户端对应的用户数据。
  17. 根据权利要求15所述的方法,其特征在于,所述服务提供设备包括:网络机顶盒;所述互联网服务,包括如下中的至少一个:
    电视直播、音视频服务、网页服务、游戏服务。
  18. 一种连接状态检测装置,其特征在于,包括:
    第一监控模块,用于对与服务提供设备的交互过程进行监控,其中,所述交互过程中依据服务提供设备推送的传送流显示用户界面;
    第一异常状态确认模块,用于在监控到网络连接断开或所述交互过程中服务提供设备发送的传送流中断时,确认当前状态异常;
    第一异常处理模块,用于尝试重新与服务提供设备建立连接,并在连接建立成功后恢复传送流的传输。
  19. 根据权利要求18所述的装置,其特征在于,
    所述第一异常状态确认模块,用于在监控到网络连接断开时,确认当前为网络状态异常;在监控到所述交互过程中服务提供设备发送的传送流中断时,确认当前为服务提供设备状态异常。
  20. 根据权利要求18所述的装置,其特征在于,
    所述第一异常处理模块,还用于启动计时器开始计时,并检测计时时间是否达到第一阈值。
  21. 根据权利要求20所述的装置,其特征在于,确认当前为网络状态异常时,
    所述第一异常处理模块,用于对网络进行监听,并在监听过程中检测计时时间是否达到第一阈值;当所述第一阈值内监听到网络连接正常后,尝试重新与所述服务提供设备建立连接,在重连成功后恢复从所述服务提供设备处接收传送流;当超过所述第一阈值网络未连接正常,等待网络的连接正常后重新申请分配服务提供设备,与重新分配的服务提供设备建立连接并恢复从所述服务提供设备处接收传送流。
  22. 根据权利要求20所述的装置,其特征在于,确认当前为服务提供设备状态异常时,
    所述第一异常处理模块,用于尝试重新与所述服务提供设备建立连接,并在连接过程中检测计时时间是否达到第一阈值;当所述第一阈值内与所述服务提供设备重连成功,恢复从所述服务提供设备处接收传送流;当超过所述第一阈值与所述服务提供设备重连失败,向服务器上报所述服务提供设备状态异常并重新申请分配服务提供设备,在与重新分配的服务提供设备建立连接后,恢复从所述重新分配的服务提供设备处接收传送流。
  23. 根据权利要求20所述的装置,其特征在于,所述第一阈值为客户端在确定状态异常时重新与服务提供设备建立连接的最长时间;当服务提供设备确定状态异常时等 待与客户端重新连接的最长时间为第二阈值;所述第二阈值大于所述第一阈值。
  24. 一种连接状态检测装置,其特征在于,包括:
    第二监控模块,用于对与客户端的交互过程进行监控,其中,所述交互过程中为客户端推送传送流以在客户端中显示相应的用户界面;
    第二异常状态确认模块,用于在监控到网络连接断开或所述交互过程中向所述客户端推送传送流失败时,确认当前状态异常;
    第二异常处理模块,用于等待重新与客户端建立连接;当与所述客户端重新连接成功时,恢复向所述客户端发送传送流。
  25. 根据权利要求24所述的装置,其特征在于,
    所述第二异常状态确认模块,用于在监控到网络连接断开时,确认当前为网络状态异常;在监控到所述交互过程中向所述客户端推送传送流失败时,确认当前为客户端状态异常。
  26. 根据权利要求25所述的装置,其特征在于,
    所述第二异常处理模块,还用于启动计时器开始计时;等待客户端的连接请求重新与所述客户端建立连接,并检测等待时间是否达到第二阈值。
  27. 根据权利要求26所述的装置,其特征在于,
    所述第二异常处理模块,还用于当等待时间超过第二阈值时,上报网络状态异常或所述客户端状态异常,将状态由第一状态变更为第二状态;依据连接请求将与其他客户端建立连接,将状态由第二状态变更为第一状态,为所述其他客户端提供相应的传送流,其中,所述第一状态为正在提供服务的状态,所述第二状态为等待提供服务的状态。
  28. 根据权利要求26所述的装置,其特征在于,所述第二阈值为服务提供设备确定状态异常时等待与客户端重新连接的最长时间;当客户端在确定状态异常时重新与服务提供设备建立连接的最长时间为第一阈值;所述第二阈值大于所述第一阈值。
  29. 一种智能电视系统,其特征在于,包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;其中,所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视中,所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务;
    所述客户端包括上述权利要求18-23任一所述的连接状态检测装置,所述服务提供设备包括上述权利要求24-28任一所述的连接状态检测装置。
  30. 根据权利要求29所述的系统,其特征在于,还包括:至少一个用户数据信息 存储设备;所述至少一个用户数据信息存储设备包括:至少一个用户分区;其中,所述至少一个用户分区分别用于存储不同客户端对应的用户数据。
  31. 根据权利要求29所述的系统,其特征在于,所述服务提供设备包括:网络机顶盒;所述互联网服务,包括如下中的至少一个:电视直播、音视频服务、网页服务、游戏服务。
PCT/CN2016/084601 2015-06-11 2016-06-03 连接状态检测方法、装置和智能电视系统 WO2016197864A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510319794.2A CN106303702A (zh) 2015-06-11 2015-06-11 连接状态检测方法、装置和智能电视系统
CN201510319794.2 2015-06-11

Publications (1)

Publication Number Publication Date
WO2016197864A1 true WO2016197864A1 (zh) 2016-12-15

Family

ID=57502874

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084601 WO2016197864A1 (zh) 2015-06-11 2016-06-03 连接状态检测方法、装置和智能电视系统

Country Status (2)

Country Link
CN (1) CN106303702A (zh)
WO (1) WO2016197864A1 (zh)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743587A (zh) * 2019-01-03 2019-05-10 广州虎牙信息科技有限公司 直播连接监控方法、终端设备和存储介质
CN111885097A (zh) * 2020-06-01 2020-11-03 视联动力信息技术股份有限公司 网卡处理方法、装置、电子设备及存储介质
US20210218693A1 (en) * 2020-05-27 2021-07-15 Beijing Baidu Netcom Science And Technology Co., Ltd. Method for transmitting live message, apparatus, electronic device and medium
CN113315802A (zh) * 2020-07-27 2021-08-27 阿里巴巴集团控股有限公司 网络链路异常的处理方法、装置及设备
CN113377600A (zh) * 2020-03-10 2021-09-10 顺丰科技有限公司 一种主机监控方法、装置及存储介质
CN114205270A (zh) * 2020-09-17 2022-03-18 北京三快在线科技有限公司 设备状态确定方法、装置、存储介质及电子设备
WO2022223035A1 (zh) * 2021-04-23 2022-10-27 山东英信计算机技术有限公司 一种消息推送的方法、装置、设备及可读介质

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632646B (zh) * 2017-03-20 2021-12-10 腾讯科技(深圳)有限公司 一种视频直播方法、装置及服务器
CN107291383A (zh) * 2017-05-23 2017-10-24 许继集团有限公司 一种嵌入式设备的数据交互方法及服务器
CN109309692B (zh) * 2017-07-26 2021-05-11 深圳市六度人和科技有限公司 一种基于远程控制的多任务离线交互处理系统及被控终端
CN109756701A (zh) * 2018-01-12 2019-05-14 深圳壹账通智能科技有限公司 视频面核方法、客户端、服务器及计算机可读存储介质
CN111292732B (zh) * 2018-12-06 2023-07-21 深圳市广和通无线股份有限公司 音频信息处理方法、装置、计算机设备和存储介质
CN111356017B (zh) * 2018-12-24 2022-05-13 浙江宇视科技有限公司 一种视频监控网络设备保活方法及装置
CN110166321A (zh) * 2019-05-28 2019-08-23 上海联影医疗科技有限公司 医学图像获取方法、装置、设备和介质
CN110798693B (zh) * 2019-09-29 2022-03-11 深圳市镜玩科技有限公司 一种用户管理方法、服务器及计算机可读存储介质
CN112737890B (zh) * 2020-12-29 2022-09-13 上海微波技术研究所(中国电子科技集团公司第五十研究所) 一种防止网络震荡导致网络测试仪中断的方法及系统
CN115529255A (zh) * 2021-06-25 2022-12-27 华为技术有限公司 一种连接探测方法、客户端与服务器
CN114143569B (zh) * 2021-11-18 2024-02-27 聚好看科技股份有限公司 一种网页录制和直播方法及系统
CN114245483B (zh) * 2021-12-23 2023-12-12 广州思德医疗科技有限公司 一种用于胃肠镜胶囊的通讯监测重连方法及系统
CN114422571B (zh) * 2021-12-31 2023-08-11 广东国腾量子科技有限公司 一种量子通信客户端断开重连系统及方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852312A (zh) * 2005-11-28 2006-10-25 华为技术有限公司 一种增值业务中的同步方法、系统及装置
CN101056197A (zh) * 2006-04-11 2007-10-17 中国移动通信集团公司 信息家电的数据存储系统及数据处理方法
WO2007121611A1 (fr) * 2006-04-21 2007-11-01 Yongmin Zhang Procédé et dispositif de transmission de contenu dans un réseau poste à poste
CN102457492A (zh) * 2010-10-20 2012-05-16 中国移动通信有限公司 流媒体文件的协同传输方法、系统以及设备
CN103338118A (zh) * 2013-06-04 2013-10-02 北京搜狐新媒体信息技术有限公司 一种通信网络连接方法及装置
CN103856990A (zh) * 2012-11-28 2014-06-11 中国电信股份有限公司 数据传输的方法、系统和服务器

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102017699B1 (ko) * 2013-03-04 2019-09-03 엘지전자 주식회사 디지털 디스플레이 디바이스 및 그 제어 방법
CN104184755A (zh) * 2013-05-21 2014-12-03 华为终端有限公司 一种网页实时通信方法、系统及终端
CN103596041B (zh) * 2013-11-20 2016-11-16 乐视致新电子科技(天津)有限公司 一种信息提示方法及装置
CN104202334B (zh) * 2014-09-16 2018-11-16 广州猎豹网络科技有限公司 一种建立网络连接的方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852312A (zh) * 2005-11-28 2006-10-25 华为技术有限公司 一种增值业务中的同步方法、系统及装置
CN101056197A (zh) * 2006-04-11 2007-10-17 中国移动通信集团公司 信息家电的数据存储系统及数据处理方法
WO2007121611A1 (fr) * 2006-04-21 2007-11-01 Yongmin Zhang Procédé et dispositif de transmission de contenu dans un réseau poste à poste
CN102457492A (zh) * 2010-10-20 2012-05-16 中国移动通信有限公司 流媒体文件的协同传输方法、系统以及设备
CN103856990A (zh) * 2012-11-28 2014-06-11 中国电信股份有限公司 数据传输的方法、系统和服务器
CN103338118A (zh) * 2013-06-04 2013-10-02 北京搜狐新媒体信息技术有限公司 一种通信网络连接方法及装置

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743587A (zh) * 2019-01-03 2019-05-10 广州虎牙信息科技有限公司 直播连接监控方法、终端设备和存储介质
CN109743587B (zh) * 2019-01-03 2021-09-17 广州虎牙信息科技有限公司 直播连接监控方法、终端设备和存储介质
CN113377600A (zh) * 2020-03-10 2021-09-10 顺丰科技有限公司 一种主机监控方法、装置及存储介质
CN113377600B (zh) * 2020-03-10 2023-06-30 顺丰科技有限公司 一种主机监控方法、装置、服务器及存储介质
US20210218693A1 (en) * 2020-05-27 2021-07-15 Beijing Baidu Netcom Science And Technology Co., Ltd. Method for transmitting live message, apparatus, electronic device and medium
US11750541B2 (en) * 2020-05-27 2023-09-05 Beijing Baidu Netcom Science And Technology Co., Ltd. Method for transmitting live message, apparatus, electronic device and medium
CN111885097A (zh) * 2020-06-01 2020-11-03 视联动力信息技术股份有限公司 网卡处理方法、装置、电子设备及存储介质
CN113315802A (zh) * 2020-07-27 2021-08-27 阿里巴巴集团控股有限公司 网络链路异常的处理方法、装置及设备
CN114205270A (zh) * 2020-09-17 2022-03-18 北京三快在线科技有限公司 设备状态确定方法、装置、存储介质及电子设备
CN114205270B (zh) * 2020-09-17 2023-09-22 北京三快在线科技有限公司 设备状态确定方法、装置、存储介质及电子设备
WO2022223035A1 (zh) * 2021-04-23 2022-10-27 山东英信计算机技术有限公司 一种消息推送的方法、装置、设备及可读介质

Also Published As

Publication number Publication date
CN106303702A (zh) 2017-01-04

Similar Documents

Publication Publication Date Title
WO2016197864A1 (zh) 连接状态检测方法、装置和智能电视系统
WO2016197876A1 (zh) 远程控制方法、远程服务器、管理设备和终端
US9973812B2 (en) Multi-screen interaction method and system
WO2016197863A1 (zh) 一种客户端、智能电视系统和相应的数据传输方法
CN106302616B (zh) 网络唤醒方法、远程服务器和网络交换设备
CN106303674B (zh) 数据传输方法、装置和智能电视系统
WO2016202201A1 (zh) 一种资源分配方法、装置和智能电视系统
US8880945B2 (en) Customer premises equipment diagnostic, recovery, and reporting systems and methods
WO2016202200A1 (zh) 数据校验方法、装置和智能电视系统
WO2016197861A1 (zh) 远程管理方法、被管理设备、管理设备和智能电视系统
RU2454806C2 (ru) Способ, устройство и система для уведомления о событиях протокола потоковой передачи в реальном времени
WO2015149471A1 (zh) 一种信息推送方法、系统、设备及计算机存储介质
WO2017075956A1 (zh) 内容投射方法及移动终端
CN101645791A (zh) 网络电视业务系统运行方法、装置及网络电视业务系统
US9239608B2 (en) Data stream resource management
US20130031161A1 (en) Apparatuses and methods for unified virtual experience (uve) session control
US8781294B2 (en) Media content caching
CN110557458A (zh) 远程控制娱乐终端的方法、装置及5g自助银行娱乐系统
CN104902316A (zh) 同步播放时间的方法、装置、智能音箱及移动终端
US9992140B2 (en) Electronic apparatus, server, and control method of system
TWI538439B (zh) 網路中基於服務的功率管理
WO2016202202A1 (zh) 设备连接的方法和装置、以及智能电视系统
CN114143569B (zh) 一种网页录制和直播方法及系统
US8880670B1 (en) Group membership discovery service
EP3089459B1 (en) Apparatus and method for implementing video-on-demand quick switching among multiple screens

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: 16806762

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16806762

Country of ref document: EP

Kind code of ref document: A1