CN112911335A - Service scheduling method based on video coding, video server and set top box - Google Patents

Service scheduling method based on video coding, video server and set top box Download PDF

Info

Publication number
CN112911335A
CN112911335A CN202110147027.3A CN202110147027A CN112911335A CN 112911335 A CN112911335 A CN 112911335A CN 202110147027 A CN202110147027 A CN 202110147027A CN 112911335 A CN112911335 A CN 112911335A
Authority
CN
China
Prior art keywords
video
information
server
player
time synchronization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110147027.3A
Other languages
Chinese (zh)
Other versions
CN112911335B (en
Inventor
姜超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202110147027.3A priority Critical patent/CN112911335B/en
Publication of CN112911335A publication Critical patent/CN112911335A/en
Application granted granted Critical
Publication of CN112911335B publication Critical patent/CN112911335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/237Communication with additional data server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/242Synchronization processes, e.g. processing of PCR [Program Clock References]
    • 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/4302Content synchronisation processes, e.g. decoder synchronisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a service scheduling method based on video coding, which comprises the following steps: when the video server is to be cut-over, the video server acquires video related information in the standby server, time synchronization is carried out on each played video in the video server and a corresponding video in the standby server, the time synchronization information and the video related information are coded into the video being pushed, and the coded video is sent to the set top box; the video related information in the standby server comprises: the playing address of the video and the transmission protocol. The invention also provides a service scheduling method based on video coding, which comprises the following steps: the set top box decodes the coded video sent by the video server, acquires video related information in the standby server, requests the corresponding video from the standby server according to the information, and performs time synchronization on the corresponding video; and the video related information in the standby server comprises a video playing address and a transmission protocol. The invention also provides a corresponding video server and a set-top box.

Description

Service scheduling method based on video coding, video server and set top box
Technical Field
The invention belongs to the technical field of video playing, and particularly relates to a service scheduling method based on video coding, a video server and a set top box.
Background
At present, when a video server bears video distribution services, the video server is frequently cut over due to the requirements of upgrading and maintaining the equipment of the server. A terminal such as a set-top box acquires a video by connecting to a video server. The existing video transmission protocol requests when a video starts to play, and scheduling is performed in the process of requesting. After the video is requested, no protocol interaction related to video scheduling exists in the video playing process. If the terminal user is watching the video and is cut by the video server, the prior art can cause the user to watch the video with interruption. To reduce the impact on the user caused by such interruption, the current solution is to cut the splice in the early morning at night when the number of users is small.
Disclosure of Invention
The invention uses a service scheduling scheme based on video coding to realize the coding of the video before the media server sends the code stream, the related information of the video in the scheduling method and the standby server is coded into the video content, and the information is analyzed to complete the scheduling when the terminal decodes. Based on the method, the user watches the video at any time, and when the server needs to be cut off, the terminal receives the relevant information to perform proper scheduling, so that the requirement that the user watches the video without interruption for scheduling the server is met. And good experience is brought to the user.
To achieve the above object, according to an aspect of the present invention, there is provided a service scheduling method based on video coding, including the steps of:
when the video server is to be cut-over, the video server acquires video related information in the standby server, time synchronization is carried out on each played video in the video server and a corresponding video in the standby server, the time synchronization information and the video related information are coded into the video being pushed, and the coded video is sent to the set top box; the video related information in the standby server comprises: the playing address of the video and the transmission protocol.
In one embodiment of the invention, the method further comprises:
the video server acquires the number of terminals connected to the server and the number of videos being pushed;
and the video server is closed when the number of the terminals connected to the video server is 0 or the number of the terminals connected to the video server is 0 but the number of the videos being pushed is acquired by the video server.
In an embodiment of the present invention, the encoding the time synchronization information and the video related information into the video being pushed includes:
coding each video being pushed respectively, adding first information and assigning second information in the first information; wherein the second information includes: the path of the video on the standby video server, a transmission protocol and time synchronization information;
the first information also comprises a first flag value, and the set-top box determines whether to further analyze the content of the second information according to whether the first flag value is a preset value.
According to another aspect of the present invention, there is also provided a service scheduling method based on video coding, including the steps of:
the set top box decodes the coded video sent by the video server, acquires video related information in the standby server, requests the corresponding video from the standby server according to the information, and performs time synchronization on the corresponding video; and the video related information in the standby server comprises a video playing address and a transmission protocol.
In an embodiment of the present invention, a set top box decodes a coded video sent by a video server, obtains video related information in a standby server, requests a corresponding video from the standby server according to the information, and performs time synchronization on the corresponding video, including:
the first player of the set top box analyzes the video content being played to obtain first information, if the first flag value in the first information is judged to be equal to a preset value, the content of second information in the first information is further analyzed, and meanwhile, the second player is started;
the second player requests the standby server video according to the content of the analyzed second information, and performs time synchronization on the first player and the second player according to the time synchronization information contained in the second information;
after the time synchronization is completed, the first player stops playing, the first player is disconnected from the cut-off server, and the second player becomes the first player to play the video on the standby server.
According to another aspect of the present invention, there is also provided a video server including: video relevant information acquisition module, video information coding module and video sending module, wherein:
the video related information acquisition module is used for acquiring video related information in the standby server when the video server is to be cut over, and carrying out time synchronization on each played video in the video server and the corresponding video in the standby server; the video related information in the standby server comprises: playing address and transmission protocol of video;
the video information coding module is used for coding the time synchronization information and the video related information into the video being pushed;
and the video sending module is used for sending the coded video to the set top box.
In an embodiment of the present invention, the video server further includes a video server shutdown module, where the video server shutdown module is configured to obtain the number of terminals connected to the server and the number of videos being pushed; and when the video server to be cut acquires that the number of the terminals connected to the video server is 0 or the number of the terminals connected to the video server is 0 but the number of the videos being pushed is 0, closing the video server.
In an embodiment of the present invention, the video information encoding module is specifically configured to:
coding each video being pushed respectively, adding first information and assigning second information in the first information; wherein the second information includes: the path of the video on the standby video server, a transmission protocol and time synchronization information;
the first information also comprises a first flag value, and the set-top box determines whether to further analyze the content of the second information according to whether the first flag value is a preset value.
According to another aspect of the present invention, there is also provided a set top box, comprising a video receiving module and a video synchronization module, wherein:
the video receiving module is used for decoding the coded video sent by the video server, acquiring the information and requesting a corresponding video from the standby server according to the information; the encoded video is: when the video server is cut off, the video server acquires video related information in the standby server and codes the information into the video being pushed;
and the video synchronization module is used for performing time synchronization on the corresponding video when the corresponding video is requested to the standby server.
In an embodiment of the present invention, the video synchronization module is specifically configured to:
the first player of the set top box analyzes the video content being played to obtain first information, if the first flag value in the first information is judged to be equal to a preset value, the content of second information in the first information is further analyzed, and meanwhile, the second player is started;
the second player requests the standby server video according to the content of the analyzed second information, and performs time synchronization on the first player and the second player according to the time synchronization information contained in the second information;
after the time synchronization is completed, the first player stops playing, the first player is disconnected from the cut-off server, and the second player becomes the first player to play the video on the standby server.
Generally, compared with the prior art, the technical scheme of the invention has the following beneficial effects:
(1) video related information in a standby server is added in a video code stream, and a terminal receives the information, so that video scheduling and synchronization can be performed in the video playing process, and the problem of video playing interruption when the server is switched is avoided;
(2) the server encodes videos required by the connected terminals in real time, and does not encode videos existing in the unconnected terminals in real time, so that server resources are efficiently used, and the pushing accuracy is improved.
Drawings
Fig. 1 is a schematic structural diagram of a service scheduling system based on video coding according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a service scheduling method based on video coding according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a video server according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a set top box in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The invention relates to video coding and scheduling of a video server, and decoding and scheduling of a video by a playing terminal such as a set top box. In particular to a method for scheduling video services by a video coding through a terminal and a server when a video server needs to be cut over.
The invention aims to realize a service scheduling method and a service scheduling system based on video coding, and solves the technical problem that the conventional video scheduling scheme only carries out video server scheduling based on a video transmission protocol when a video starts to play a request. Once the requested video is successfully played, there is no scheduling method for video service in the normal playing process. If the user is watching the video, the video server must be disconnected for upgrading maintenance and the like, which may cause the user to interrupt watching the video. The invention uses a service scheduling method and system based on video coding to realize the scheduling of the server in the video stream transmission process and solve the problem of playing interruption caused by the disconnection of the server in the playing process of a user. The service scheduling method and system based on video coding need to solve the following two problems. First, when the video server is cut off, the video server needs to obtain the video related information in the standby server, including the playing address and the transmission protocol of the video. Time synchronization with the standby server is also required. The information acquired as above needs to be transmitted to the set-top box through a video stream. Secondly, when the set-top box decodes the video, the set-top box acquires the information, judges and processes the information, requests the video from the standby server, and performs time synchronization. The two problems are solved, and the service scheduling method and system based on video coding can be realized.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
the video server obtains the terminal information connected to the server, which can be IP address or MAC address and the video address played by the terminal. For example, the terminal with the IP address of 10.192.1.20 is playing the video server/data/channel/movie 1.ts video, and the terminal with the IP address of 10.192.1.21 is playing the video server/data/channel/movie 2.ts video. And the video server acquires the playing address and the transmission protocol of each video from the standby video server. At the moment, the video server requests the playing address of the video/data/channel/movie 1.ts from the standby server, and the playing address of the acquired video is http://117.192.1.181/8888/1111. ts. Similarly, the video server requests/data/channel/movie 2.ts from other servers, and acquires the playing address of the video as rtsp://117.192.11.181:544/7777/185. smil. And after the playing address of the video of the standby server is obtained, performing video content time synchronization on the corresponding video. Before the video content time synchronization, the system time synchronization of the video server and the standby server is needed. And adding the values of the video content time synchronization and the system time synchronization to obtain time synchronization information. For example, if the content time synchronization of a video on the video server and the backup video server is 300ms (i.e. the content time of a video on the video server minus the content time of the video on the backup video server is 300ms, which means that the content time of the video on the backup video server is 300ms slower than the content time of the video on the video server), and the system time synchronization of the video server and the backup video server is 200ms (i.e. the video server system time minus the backup video server system time, and 200ms means that the backup video server system time is 200ms slower than the video server system time), the time synchronization information is 300ms +200ms, which is 500 ms. The time synchronization information is recorded after synchronization. For example, the time synchronization information of/data/channel/movie 1.ts local video and standby server http://117.192.1.181/8888/1111.ts is 500ms ahead. The video server encodes the video being transmitted, adding first information (e.g., SEI (Supplemental enhancement information). The SEI information includes a first flag value (e.g., payloadtype ═ 5 (exemplified here as 5, and virtually any value can be preset as needed)), and assigns second information (e.g., custom content field information). The content information includes the path of the video at the standby video server, the transport protocol, and time synchronization information. If encoding is carried out before the subsequent transmission/data/channel/movie 1.ts code streams, the payload type is set to be 5 in the SEI information, and the content is assigned as follows: source http://117.192.1.181/8888/1111. ts; -500 for timeoffset; wherein source is after, "; "previous content is the backup server address, timeoffset is later"; "the previous content is time synchronization information in units of ms.
Secondly, the first player of the set top box analyzes the video content being played to obtain SEI information. And if judging that the payloadtype is equal to 5, further resolving the content information content and starting a second player. After and "source"; "the previous content is delivered to the second player. Such as http://117.192.1.181/8888/1111.ts, supra. The second player requests the alternate server video. The first player and the second player are time synchronized by the first player determining when to start the second player based on the time adjustment of the timeoffset. For example, the above timeoffset is-500, i.e., the first player is 500ms ahead of the second player. At this point the first player waits 500ms and starts the second player, and the two players are time synchronized. Preferably, after the second player obtains the video content that the video buffer can play for more than 500ms, when the first player exits, the second player is started to play the video content 500ms before the current time. The two players are synchronized. After the time synchronization is completed, the first player stops playing and is disconnected from the cut-over server. The second player plays the video on the standby server for the first player.
Thirdly, when the video server to be cut acquires that the number of the terminals connected to the server is 0 or the number of the terminals connected to the server is 0 but the number of the videos being pushed is 0, the server can be closed for maintenance. The user viewing is not affected at this time.
The first and second points are the key technologies to be protected by the present invention, and thus, a service scheduling method and system based on video coding can be realized.
As shown in fig. 1, is a system diagram of the present invention:
cutover server system: the method is used for acquiring the connection number of the terminals and the videos being pushed to the terminals, and acquiring the playing path and the transmission protocol of each acquired video from the standby server according to the videos being pushed to the terminals. And the system is responsible for synchronizing the time synchronization information of each video with the standby video server. And respectively coding each video being pushed, adding SEI information and assigning content information in the SEI information. The content information includes the path of the video at the standby video server, the transport protocol, and time synchronization information. The above circulation is carried out until the number of the terminals connected to the video server is 0 or the number of the terminals connected to the video server is 0 but the number of the videos being pushed is 0, and then the server can be closed for maintenance work.
The set-top box system: and the video playing device is responsible for decoding the video being played and analyzing SEI information. Whether the content information content is further analyzed is determined by judging the payloadtype value in the SEI information. If the value of payloadtype is a certain value, for example 5. The second player is started and the first player informs the second player of the playing address and the time synchronization value of the standby server in the SEI message. And the second player acquires the video, and after the time synchronization with the first player is completed, the first player exits and the second player is used as the first player to play.
The standby video server: and is responsible for providing video content and performing time synchronization with the server to be cut.
As shown in fig. 2, the implementation steps of the present scheme are as follows:
s101, a cut-over server acquires a video pushed by a connected terminal;
s102, the cutover server determines whether the number of connected terminals is 0 or whether the number of connected terminals is not 0 but the number of videos being pushed is 0. If yes, scheduling is completed. If not, the step S103 is entered;
s103, the cut-over server acquires the obtained playing path and transmission protocol of each video from the standby video server;
s104, the standby video server feeds back video paths, transmission protocols and time synchronization information;
s105, calculating the time synchronization information of each video by the cut-over server and the standby video server;
s106, the cut-over server performs mpeg-4/H264 coding on each video being pushed, and adds SEI information (defining SEI payload type 5, and assigning content, etc.) content information including the path, transmission protocol, and time synchronization information of the video on the standby video server. Simultaneously, S101 is entered, and the number of connected terminals and the video being pushed are circularly obtained;
s107, the first player of the set top box plays videos and decodes SEI information of the videos;
s108, the set top box judges whether the payloadtype is 5. If yes, the process proceeds to S109. If not, the other conditions are irrelevant to the invention;
s109, the set top box analyzes the content information;
s110, the set top box starts a second player to acquire a video source by using a standby video server path and a transmission protocol;
s111, the first player and the second player of the set top box carry out time synchronization information synchronization;
and S112, disconnecting the first player of the set top box from the cut-over video server. The device plays the second player content.
Further, the invention provides a service scheduling method based on video coding, comprising the following steps:
when the video server is to be cut-over, the video server acquires video related information in the standby server, time synchronization is carried out on each played video in the video server and a corresponding video in the standby server, the time synchronization information and the video related information are coded into the video being pushed, and the coded video is sent to the set top box; the video related information in the standby server comprises: the playing address of the video and the transmission protocol.
Further, the method further comprises: the video server acquires the number of terminals connected to the server and the number of videos being pushed;
and the video server is closed when the number of the terminals connected to the video server is 0 or the number of the terminals connected to the video server is 0 but the number of the videos being pushed is acquired by the video server.
Further, the encoding the time synchronization information and the video related information into the video being pushed comprises:
coding each video being pushed respectively, adding first information and assigning second information in the first information; wherein the second information includes: the path of the video on the standby video server, a transmission protocol and time synchronization information;
the first information also comprises a first flag value, and the set-top box determines whether to further analyze the content of the second information according to whether the first flag value is a preset value.
Further, the invention provides a service scheduling method based on video coding, comprising the following steps:
the set top box decodes the coded video sent by the video server, acquires video related information in the standby server, requests the corresponding video from the standby server according to the information, and performs time synchronization on the corresponding video; and the video related information in the standby server comprises a video playing address and a transmission protocol.
Further, the set-top box decodes the coded video sent by the video server, obtains the video related information in the standby server, requests the corresponding video from the standby server according to the information, and performs time synchronization on the corresponding video, and includes:
the first player of the set top box analyzes the video content being played to obtain first information, if the first flag value in the first information is judged to be equal to a preset value, the content of second information in the first information is further analyzed, and meanwhile, the second player is started;
the second player requests the standby server video according to the content of the analyzed second information, and performs time synchronization on the first player and the second player according to the time synchronization information contained in the second information;
after the time synchronization is completed, the first player stops playing, the first player is disconnected from the cut-off server, and the second player becomes the first player to play the video on the standby server.
Further, as shown in fig. 3, the present invention also provides a video server, including: video relevant information acquisition module, video information coding module, video sending module, wherein:
the video related information acquisition module is used for acquiring video related information in the standby server when the video server is to be cut over, and carrying out time synchronization on each played video in the video server and the corresponding video in the standby server; the video related information in the standby server comprises: playing address and transmission protocol of video;
the video information coding module is used for coding the time synchronization information and the video related information into the video being pushed;
and the video sending module is used for sending the coded video to the set top box.
Further, the video server also comprises a video server closing module, and the video server closing module is used for acquiring the number of terminals connected to the server and the number of videos being pushed; and when the video server to be cut acquires that the number of the terminals connected to the video server is 0 or the number of the terminals connected to the video server is 0 but the number of the videos being pushed is 0, closing the video server.
Further, the video information encoding module is specifically configured to:
coding each video being pushed respectively, adding first information and assigning second information in the first information; wherein the second information includes: the path of the video on the standby video server, a transmission protocol and time synchronization information;
the first information also comprises a first flag value, and the set-top box determines whether to further analyze the content of the second information according to whether the first flag value is a preset value.
Further, as shown in fig. 4, the present invention also provides a set top box, which includes a video receiving module and a video synchronizing module, wherein:
the video receiving module is used for decoding the coded video sent by the video server, acquiring the information and requesting a corresponding video from the standby server according to the information; the encoded video is: when the video server is cut off, the video server acquires video related information in the standby server and codes the information into the video being pushed;
and the video synchronization module is used for performing time synchronization on the corresponding video when the corresponding video is requested to the standby server.
Further, the video synchronization module is specifically configured to:
the first player of the set top box analyzes the video content being played to obtain first information, if the first flag value in the first information is judged to be equal to a preset value, the content of second information in the first information is further analyzed, and meanwhile, the second player is started;
the second player requests the standby server video according to the content of the analyzed second information, and performs time synchronization on the first player and the second player according to the time synchronization information contained in the second information;
after the time synchronization is completed, the first player stops playing, the first player is disconnected from the cut-off server, and the second player becomes the first player to play the video on the standby server.
It will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A service scheduling method based on video coding, comprising the steps of:
when the video server is to be cut-over, the video server acquires video related information in the standby server, time synchronization is carried out on each played video in the video server and a corresponding video in the standby server, the time synchronization information and the video related information are coded into the video being pushed, and the coded video is sent to the set top box; the video related information in the standby server comprises: the playing address of the video and the transmission protocol.
2. The video coding-based service scheduling method of claim 1, further comprising:
the video server acquires the number of terminals connected to the server and the number of videos being pushed;
and the video server is closed when the number of the terminals connected to the video server is 0 or the number of the terminals connected to the video server is 0 but the number of the videos being pushed is acquired by the video server.
3. The video coding-based service scheduling method of claim 1 or 2, wherein said encoding the time synchronization information and the video-related information into the video being pushed comprises:
coding each video being pushed respectively, adding first information and assigning second information in the first information; wherein the second information includes: the path of the video on the standby video server, a transmission protocol and time synchronization information;
the first information also comprises a first flag value, and the set-top box determines whether to further analyze the content of the second information according to whether the first flag value is a preset value.
4. A service scheduling method based on video coding, comprising the steps of:
the set top box decodes the coded video sent by the video server, acquires video related information in the standby server, requests the corresponding video from the standby server according to the information, and performs time synchronization on the corresponding video; and the video related information in the standby server comprises a video playing address and a transmission protocol.
5. The video coding-based service scheduling method of claim 4, wherein the set-top box decodes the coded video transmitted by the video server, acquires video related information in the standby server, requests the standby server for a corresponding video according to the information, and performs time synchronization on the corresponding video, comprising:
the first player of the set top box analyzes the video content being played to obtain first information, if the first flag value in the first information is judged to be equal to a preset value, the content of second information in the first information is further analyzed, and meanwhile, the second player is started;
the second player requests the standby server video according to the content of the analyzed second information, and performs time synchronization on the first player and the second player according to the time synchronization information contained in the second information;
after the time synchronization is completed, the first player stops playing, the first player is disconnected from the cut-off server, and the second player becomes the first player to play the video on the standby server.
6. A video server, comprising: video relevant information acquisition module, video information coding module and video sending module, wherein:
the video related information acquisition module is used for acquiring video related information in the standby server when the video server is to be cut over, and carrying out time synchronization on each played video in the video server and the corresponding video in the standby server; the video related information in the standby server comprises: playing address and transmission protocol of video;
the video information coding module is used for coding the time synchronization information and the video related information into the video being pushed;
and the video sending module is used for sending the coded video to the set top box.
7. The video server of claim 6, further comprising a video server shutdown module, said video server shutdown module being configured to obtain the number of terminals connected to the server and the number of videos being pushed; and when the video server to be cut acquires that the number of the terminals connected to the video server is 0 or the number of the terminals connected to the video server is 0 but the number of the videos being pushed is 0, closing the video server.
8. The video server according to claim 6 or 7, wherein the video information encoding module is specifically configured to:
coding each video being pushed respectively, adding first information and assigning second information in the first information; wherein the second information includes: the path of the video on the standby video server, a transmission protocol and time synchronization information;
the first information also comprises a first flag value, and the set-top box determines whether to further analyze the content of the second information according to whether the first flag value is a preset value.
9. A set top box comprising a video receiving module and a video synchronization module, wherein:
the video receiving module is used for decoding the coded video sent by the video server, acquiring the information and requesting a corresponding video from the standby server according to the information; the encoded video is: when the video server is cut off, the video server acquires video related information in the standby server and codes the information into the video being pushed;
and the video synchronization module is used for performing time synchronization on the corresponding video when the corresponding video is requested to the standby server.
10. The set-top box of claim 9, wherein the video synchronization module is specifically configured to:
the first player of the set top box analyzes the video content being played to obtain first information, if the first flag value in the first information is judged to be equal to a preset value, the content of second information in the first information is further analyzed, and meanwhile, the second player is started;
the second player requests the standby server video according to the content of the analyzed second information, and performs time synchronization on the first player and the second player according to the time synchronization information contained in the second information;
after the time synchronization is completed, the first player stops playing, the first player is disconnected from the cut-off server, and the second player becomes the first player to play the video on the standby server.
CN202110147027.3A 2021-02-03 2021-02-03 Service scheduling method based on video coding, video server and set top box Active CN112911335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110147027.3A CN112911335B (en) 2021-02-03 2021-02-03 Service scheduling method based on video coding, video server and set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110147027.3A CN112911335B (en) 2021-02-03 2021-02-03 Service scheduling method based on video coding, video server and set top box

Publications (2)

Publication Number Publication Date
CN112911335A true CN112911335A (en) 2021-06-04
CN112911335B CN112911335B (en) 2022-05-27

Family

ID=76121701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110147027.3A Active CN112911335B (en) 2021-02-03 2021-02-03 Service scheduling method based on video coding, video server and set top box

Country Status (1)

Country Link
CN (1) CN112911335B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1431660A (en) * 2003-02-28 2003-07-23 清华大学 Method for switching between audio and video frequency instream media broadcast on demand
CN101668193A (en) * 2008-09-02 2010-03-10 华为技术有限公司 Play switching method and system
CN103108253A (en) * 2011-11-15 2013-05-15 苏州达联信息科技有限公司 Network access method of video distribution network node server
CN103747297A (en) * 2014-01-09 2014-04-23 能力天空科技(北京)有限公司 Video dynamic dispatching method, device and video playing system
CN103873517A (en) * 2012-12-14 2014-06-18 中兴通讯股份有限公司 Method, device and system for data synchronization
CN105100913A (en) * 2014-05-22 2015-11-25 中兴通讯股份有限公司 Video accessing method, system thereof, set-top-box, proxy server and media server
CN105898474A (en) * 2016-05-16 2016-08-24 乐视控股(北京)有限公司 Online video playing method and device
JP2017011394A (en) * 2015-06-18 2017-01-12 株式会社日立国際電気 Video server system
CN108156473A (en) * 2017-12-28 2018-06-12 网宿科技股份有限公司 A kind of method and system for obtaining live data
CN108551571A (en) * 2018-05-16 2018-09-18 武汉微创光电股份有限公司 A kind of monitor video distribution method, device, system and Distributor
CN108696562A (en) * 2017-04-12 2018-10-23 贵州白山云科技有限公司 A kind of method and device obtaining site resource
CN110022228A (en) * 2019-03-08 2019-07-16 视联动力信息技术股份有限公司 Server switching method, device, system and readable storage medium storing program for executing
CN111225242A (en) * 2020-01-17 2020-06-02 广州酷狗计算机科技有限公司 Video playing disaster tolerance method and device and computer storage medium
CN111479165A (en) * 2019-01-23 2020-07-31 上海哔哩哔哩科技有限公司 Seamless switching method and device for software and hardware decoding resolution and storage medium
CN111479171A (en) * 2019-01-23 2020-07-31 上海哔哩哔哩科技有限公司 Pseudo seamless switching method, device and medium among different video sources played by Web

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1431660A (en) * 2003-02-28 2003-07-23 清华大学 Method for switching between audio and video frequency instream media broadcast on demand
CN101668193A (en) * 2008-09-02 2010-03-10 华为技术有限公司 Play switching method and system
CN103108253A (en) * 2011-11-15 2013-05-15 苏州达联信息科技有限公司 Network access method of video distribution network node server
CN103873517A (en) * 2012-12-14 2014-06-18 中兴通讯股份有限公司 Method, device and system for data synchronization
CN103747297A (en) * 2014-01-09 2014-04-23 能力天空科技(北京)有限公司 Video dynamic dispatching method, device and video playing system
CN105100913A (en) * 2014-05-22 2015-11-25 中兴通讯股份有限公司 Video accessing method, system thereof, set-top-box, proxy server and media server
JP2017011394A (en) * 2015-06-18 2017-01-12 株式会社日立国際電気 Video server system
CN105898474A (en) * 2016-05-16 2016-08-24 乐视控股(北京)有限公司 Online video playing method and device
CN108696562A (en) * 2017-04-12 2018-10-23 贵州白山云科技有限公司 A kind of method and device obtaining site resource
CN108156473A (en) * 2017-12-28 2018-06-12 网宿科技股份有限公司 A kind of method and system for obtaining live data
CN108551571A (en) * 2018-05-16 2018-09-18 武汉微创光电股份有限公司 A kind of monitor video distribution method, device, system and Distributor
CN111479165A (en) * 2019-01-23 2020-07-31 上海哔哩哔哩科技有限公司 Seamless switching method and device for software and hardware decoding resolution and storage medium
CN111479171A (en) * 2019-01-23 2020-07-31 上海哔哩哔哩科技有限公司 Pseudo seamless switching method, device and medium among different video sources played by Web
CN110022228A (en) * 2019-03-08 2019-07-16 视联动力信息技术股份有限公司 Server switching method, device, system and readable storage medium storing program for executing
CN111225242A (en) * 2020-01-17 2020-06-02 广州酷狗计算机科技有限公司 Video playing disaster tolerance method and device and computer storage medium

Also Published As

Publication number Publication date
CN112911335B (en) 2022-05-27

Similar Documents

Publication Publication Date Title
US9414111B2 (en) Caption data delivery apparatus and methods
CN103873889B (en) Video stream transmission method, video device and video providing device
KR101887506B1 (en) Apparatus and method for playing broadcast contents in broadcast systems
CN109756287B (en) Method and apparatus for transmitting and receiving multimedia service
US7068719B2 (en) Splicing of digital video transport streams
KR100842262B1 (en) System and Method for speeding channel change over Internet Protocol Television Service or Digital Broadcasting Environment
EP3123731A1 (en) Processing continuous multi-period content
CN1714554B (en) Audio visual media encoding system
CN109089129B (en) Stable multi-video binding live broadcasting system and method thereof
US20120163476A1 (en) Fast Channel Change Companion Stream Solution with Bandwidth Optimization
CN108494792A (en) A kind of flash player plays the converting system and its working method of hls video flowings
US10104184B2 (en) Hybrid delivery mechanism in multimedia transmission system
WO2009041869A1 (en) Method and arrangement relating to a media structure
US9854019B2 (en) Method and apparatus for modifying a stream of digital content
US20220239972A1 (en) Methods and systems for content synchronization
CN112911335B (en) Service scheduling method based on video coding, video server and set top box
JP2009516973A (en) Apparatus and method for individually switching a plurality of broadcasts
CN108632681B (en) Method, server and terminal for playing media stream
CN110798713B (en) Time-shifted television on-demand method, terminal, server and system
US20130117794A1 (en) Multimedia content broadcast procedure
KR100657096B1 (en) Synchronization apparatus and method for audio and video of portable terminal
CN115103203B (en) Control method for realizing self-adaptive live program playing
KR20070104754A (en) Preview enabled digital broadcasting system and method using ip network
KR20220133201A (en) A system for ingesting alternative video and/or audio media that is synchronized with the display of video and audio content of linear origin and characteristics, based on continuous verification of relevant parameters for display, and a method of implementing the same
CN115022665A (en) Live broadcast making method and device, multimedia processing equipment and multimedia processing system

Legal Events

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