CN107547923B - Video plug-flow system - Google Patents

Video plug-flow system Download PDF

Info

Publication number
CN107547923B
CN107547923B CN201610471926.8A CN201610471926A CN107547923B CN 107547923 B CN107547923 B CN 107547923B CN 201610471926 A CN201610471926 A CN 201610471926A CN 107547923 B CN107547923 B CN 107547923B
Authority
CN
China
Prior art keywords
video
connection
streaming
server
stream
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610471926.8A
Other languages
Chinese (zh)
Other versions
CN107547923A (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.)
Sunk Co Ltd
Original Assignee
Sunk 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 Sunk Co Ltd filed Critical Sunk Co Ltd
Priority to CN201610471926.8A priority Critical patent/CN107547923B/en
Publication of CN107547923A publication Critical patent/CN107547923A/en
Application granted granted Critical
Publication of CN107547923B publication Critical patent/CN107547923B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a video plug-flow system, wherein a video acquisition device of the video plug-flow system is used for acquiring a normal connection video in a normal connection state and actively transmitting the normal connection video. The streaming server is used for receiving and temporarily storing the normal connection video and transmitting the normal connection video. The storage device is used for receiving and storing the normal connection video transmitted by the streaming server. The communication device is used for transmitting the playing request to the streaming server so as to receive and play the normal online video transmitted by the streaming server. When the video acquisition device is in the connection interruption state, the video acquisition device still acquires and stores the interruption connection video so as to transmit the interruption connection video to the streaming server when the video acquisition device is reconnected, and the streaming server transmits the interruption connection video to the storage device for the storage device to store. The invention establishes video transmission in a plug flow mode, stores the image of the connection interruption process and supplements the image of the connection interruption process during connection reconstruction.

Description

Video plug-flow system
Technical Field
The present invention relates to a video stream pushing system, and more particularly, to a video stream pushing system in which a video acquisition device actively transmits an acquired video to a streaming server.
Background
With the development of technology, many communication devices, such as mobile phones, tablet computers, Personal Digital Assistants (PDAs), and notebook computers, capable of viewing video files transmitted from a server through a network have been developed in the prior art.
In recent years, with the rise of live broadcast, many people like to watch live video files, please refer to fig. 1, fig. 1 shows a block diagram of a video transmission system in the prior art, a video transmission system PA1 includes a live source PA11, a server PA12 and a communication device PA13, the live source PA11 is communicatively connected to a server PA12, the server PA12 is communicatively connected to a communication device PA13, the live source PA11 is, for example, a monitor, and the communication device PA13 is, for example, a mobile phone.
In the prior art, when a user wants to watch a video acquired by a live source PA11 through a communication device PA13, the communication device PA13 is triggered to send a live request PAs1 to a server PA12, so that the server PA12 sends a live request PAs2 to the live source PA11 after knowing the user's requirements, so that the live source PA11 receives the video acquired by the live pull signal PAs3 and sends the video to the server PA12, and the server PA12 forwards the video to the communication device PA13, so that the user can watch the video acquired by the live source PA 11.
In the prior art, the server PA12 sends the live broadcast request PAs2 to the live broadcast source PA11 to establish live broadcast, the above method is pull flow, and the pull flow method is limited by the setting of the general server PA12, which is prone to cause a problem of frequent disconnection, and in addition, since the general live broadcast source PA11 is in a home, the general live broadcast source PA11 is generally connected to the internet through a Network Address Translator (NAT), so sometimes there is a case that no faraday flow (the server PA12 cannot be connected to the live broadcast source PA11) and the live broadcast cannot be established successfully.
In addition, in the prior art, when the live broadcast source PA11 and the server PA12 are disconnected, the server PA12 cannot acquire and store the image during the disconnection, so that the communication device PA13 cannot acquire the image during the disconnection.
Disclosure of Invention
In view of the fact that the existing video transmission systems all adopt a stream pulling mode to establish live broadcasting, the problems that the live broadcasting is easy to break, the live broadcasting is not easy to establish, and images in the process of breaking the cable cannot be obtained after the cable is broken are generally solved. Therefore, the present invention provides a video stream pushing system, which establishes video transmission mainly by a stream pushing manner, and stores an image of a process of a connection interruption to compensate an image of the process of the connection interruption during connection reconstruction, so as to solve the problems of the prior art.
In view of the above, the present invention provides a video stream pushing system, which includes a video acquisition device, a stream server, a storage device and a communication device. The video acquisition device comprises a storage unit, which is used for acquiring a normal connection video in a normal connection state and actively transmitting the normal connection video as a first stream pushing signal through a first data communication protocol. The streaming server is communicatively connected to the video acquisition device, and is configured to receive the first stream pushing signal, temporarily store the normal connection video, and respectively transmit the normal connection video through a second data communication protocol and a third data communication protocol. The storage device is communicatively connected to the streaming server and configured to receive the normal online video transmitted by the streaming server according to the second data communication protocol, so as to store the normal online video as a cluster video file, where the cluster video file is composed of a plurality of streaming format video files arranged according to an image acquisition timing. The communication device is communicatively connected to the streaming server, and is configured to transmit a play request to the streaming server, so as to receive the normal online video transmitted by the streaming server through a third data communication protocol by using a stream pulling signal, and accordingly play the normal online video.
When the video acquisition device and the streaming server are disconnected with each other to enable the video acquisition device to be in a connection interruption state, the video acquisition device acquires an interruption connection video in the connection interruption state and stores the interruption connection video in the storage unit, so that when the video acquisition device is switched from the connection interruption state to a subsequent normal connection state, the interruption connection video is transmitted to the streaming server by a second stream pushing signal, and the streaming server transmits the interruption connection video to the storage device through a second data communication protocol to be stored by the storage device.
Based on the above-mentioned necessary technical means, the video stream pushing system further comprises the following preferred auxiliary technical means. The storage unit is a storage card, the storage device is one of a hard disk and a storage Server, the Video acquisition device is one of a network Video Camera (Internet Protocol Camera), a Digital Video Recorder (DVR) and a Digital Video Server (DVS), and the communication device is one of a mobile phone, a tablet computer, a desktop computer and a notebook computer. In addition, the first data communication Protocol and the third data communication Protocol are a Real Time Messaging Protocol (RTMP), the second data communication Protocol is a hyper text Streaming (HTTP Live Streaming; HLS), and the Streaming format video file is a Transport Stream (ts) file.
Based on the above-mentioned necessary technical means, the video plug-streaming system further comprises the following preferred auxiliary technical means. The video capturing device has an identification code, the video streaming system further comprises an authentication server, the authentication server is communicatively connected to the video capturing device and the streaming server, and storing a plurality of authorization codes, a plurality of comparison codes and address information of the streaming server, the authentication server being used for receiving the identification code transmitted by the video capture device, and when the identification code is matched with one of the comparison codes, the video acquisition device transmits the stream pushing connection information containing one stream pushing authorization code and address information of the authorization codes to the video acquisition device so that the video acquisition device transmits the stream pushing connection information and the normal connection video to the streaming server, and after the streaming server receives the push streaming connection information, the push streaming authorization code contained in the push streaming connection information is analyzed, and when the push stream authorization code is confirmed to be correct with the authentication server, receiving the normal connection video transmitted by the video acquisition device.
Based on the above-mentioned necessary technical means, the video stream pushing system further comprises the following preferred auxiliary technical means. The authentication server is further in communication connection with the communication device, and is further used for transmitting pull stream connection line information containing a pull stream authorization code and address information of the authorization codes to the communication device when receiving request information containing the identification code transmitted by the communication device and comparing the identification code with one of the comparison codes, so that the communication device transmits the pull stream connection line information and a playing request to the streaming server, and after receiving the pull stream connection line information, the streaming server analyzes the pull stream authorization code contained in the pull stream connection line information, and when confirming that the pull stream authorization code is correct with the authentication server, the authentication server receives the playing request and transmits a normal connection video to the communication device through a third data communication protocol as a pull stream signal.
Based on the above-mentioned necessary technical means, the video stream pushing system further comprises the following preferred auxiliary technical means. When the video acquisition device is switched to a subsequent normal connection state from the connection interruption state, and the authentication server receives the identification code transmitted by the video acquisition device and compares the identification code with one of the comparison codes, the authentication server transmits back-supplementing connection information containing a back-supplementing authorization code and address information in the authorization codes to the video acquisition device, so that the video acquisition device transmits the back-supplementing connection information and the interruption connection video to the streaming server, analyzes the back-supplementing authorization code contained in the back-supplementing connection information after the streaming server receives the back-supplementing connection information, and receives the interruption connection video transmitted by the video acquisition device when the back-supplementing authorization code is confirmed to be correct by the authentication server.
Based on the above-mentioned necessary technical means, the video stream pushing system further comprises the following preferred auxiliary technical means. The identification code is a Media Access Control Address (MAC Address), the Authentication server is an Authentication Authorization and Accounting (AAA) server, and the push link information, the pull link information, and the loopback link information are a Uniform Resource Locator (URL).
Based on the above-mentioned necessary technical means, the video stream pushing system further comprises the following preferred auxiliary technical means. The video acquisition device is further used for acquiring a subsequent normal connection video in a subsequent normal connection state, and actively transmitting the interrupted connection video and the subsequent normal connection video to the streaming server through the second data communication protocol and the first data communication protocol by a second streaming signal and a third streaming signal respectively.
After the main technical means of the video plug flow system provided by the invention is adopted, the video can be effectively reduced by adopting the plug flow mode to transmit the video, so that the practicability can be greatly improved, and even if the video is disconnected, the video acquisition device can still store the video during the disconnection, and transmits the video during the disconnection to the streaming server for storage to the storage device when the connection is reestablished, so that a user can watch the video during the disconnection, thereby improving the convenience.
In addition, since the video is transmitted by using the stream pushing method, even if the video acquisition device is connected to the network through the network address converter, the video acquisition device can still be effectively connected to the streaming server and can easily establish a connection to transmit the video, thereby increasing the convenience in practical use.
The present invention will be further described with reference to the following examples and accompanying drawings.
Drawings
FIG. 1 shows a block schematic diagram of a prior art video transmission system;
FIG. 2 is a block diagram of a video plug flow system according to a first preferred embodiment of the present invention;
FIG. 3 is a block diagram of a video plug flow system according to a second preferred embodiment of the present invention;
fig. 4 is a flowchart illustrating a process of the authentication server authenticating the video capture device to transmit a normal connection video according to a second preferred embodiment of the invention;
FIG. 5 is a flowchart illustrating an authentication server authenticating a communication device according to a second preferred embodiment of the invention;
fig. 6 is a flowchart illustrating a process of the authentication server authenticating the video capture device to transmit the offline video according to a second preferred embodiment of the invention.
Reference numerals:
PA 1: a video transmission system;
PA 11: a live broadcast source;
PA 12: a server;
PA 13: a communication device;
PAS 1: direct seeding is required;
PAS 2: a live broadcast request;
PAS 3: live streaming signals;
1: a video plug-flow system;
11: a video acquisition device;
111: a storage unit;
12: a streaming server;
13: a storage device;
14: a communication device;
15: an authentication server;
s1: a first push flow signal;
s2: streaming the stored signal;
s3: a request for playing;
s4: pulling the flow signal;
s5: a second push flow signal;
s6: streaming the stored signal;
s7: a third push flow signal;
s8: a first identification code signal;
s9: a first information signal;
s10: a request signal;
s11: a second information signal;
s12: a second identification code signal;
s13: a third information signal;
s101 to S106, S201 to S206, S301 to S306: and (5) carrying out the following steps.
Detailed Description
Since the video stream pushing system provided by the present invention has a poor enumeration of the combination implementation, it is not repeated herein, and only two preferred embodiments are listed for specific description.
Referring to fig. 2, fig. 2 is a block diagram illustrating a video plug flow system according to a first preferred embodiment of the invention. As shown in the drawings, the video plug-streaming system 1 according to the preferred embodiment of the present invention includes a video acquisition device 11, a streaming server 12, a storage device 13, and a communication device 14.
The Video capture device 11 is an embedded device, such as one of a network Camera (IP CAM), a Digital Video Recorder (DVR), and a Digital Video Server (DVS), but the embodiment is not limited thereto, and the Video capture device 11 includes a storage unit 111, and the storage unit 111 is a storage card, but the embodiment may be a hard disk or other device with storage capability, and thus the invention is not limited thereto.
The Streaming server 12 is communicatively connected to the video capture device 11, preferably, the Streaming server 12 is communicatively connected to the video capture device 11 by a wireless communication connection, but other embodiments may be a wired communication connection, and the Streaming server 12 may be an existing server that provides Streaming services (LSS, Flash media Streaming, FMS).
The Storage device 13 is communicatively connected to the stream server 12 and is one of a hard disk and a Storage server, but other embodiments are not limited thereto, and any Storage device that can provide a Storage Service (Simple Storage Service; S3; or ObjectStorage Service; OSS; or Bucket Storage Service; BSS) does not depart from the scope of the present invention. Wherein, if the storage device 13 is a hard disk, the storage device 13 can be built in the streaming server 12 and is communicatively connected to the streaming server 12 in a wired communication manner; if the storage device 13 is a storage server, the storage device 13 may be communicatively connected to the streaming server 12 by a wireless communication connection, but other embodiments are not limited thereto.
The communication device 14 is communicatively connected to the stream server 12 and is one of a mobile phone, a tablet computer, a desktop computer and a notebook computer, but the embodiments are not limited thereto, and any device capable of being connected to a network and communicatively connected to the stream server 12 does not depart from the scope of the present invention, and preferably, the communication device 14 is communicatively connected to the stream server 12 by a wireless communication connection.
The video capture device 11 is configured to capture a normal connection video in a normal connection state, and actively transmit the normal connection video as a first stream pushing signal S1 through a first data communication Protocol, where the first data communication Protocol is a Real Time Messaging Protocol (RTMP), the video defined in the preferred embodiment of the present invention refers to an image or a combination of an image and a sound, and the normal connection state refers to a normal connection state between the video capture device 11 and the stream server 12. In addition, when the video capture device 11 captures the normal connection video, it actively sends the normal connection video as the first stream pushing signal S1 in a stream pushing manner in real time.
The Streaming server 12 is configured to receive the first stream pushing signal S1 to temporarily store the normal online video, and to transmit the normal online video through a second data communication protocol and a third data communication protocol, respectively, where the second data communication protocol is a hypertext transfer protocol (HTTP Live Streaming; HLS), and the third data communication protocol is an instant messaging protocol. Specifically, the streaming server 12 always receives the normal connection video transmitted by the video capture device 11, and temporarily stores the normal connection video and transmits the normal connection video through the second data communication protocol and the third data communication protocol.
The storage device 13 is configured to receive the normal online video transmitted by the streaming server 12 via the second data communication protocol according to the streaming storage signal S2, so as to store the normal online video as a cluster video file, where the cluster video file is composed of a plurality of streaming format video files arranged according to an image acquisition timing, and the streaming format video file is a Transport Stream (ts) file. Specifically, the storage device 13 receives and stores the normal online video transmitted by the streaming server 12 according to the second data communication protocol in real time, and the image acquisition timing is, for example, 10 to 60 seconds, that is, the cluster video file is divided into a plurality of streaming format video files of 10 to 60 seconds for storage, but the embodiment is not limited thereto.
The communication device 14 is configured to send a play request S3 to the streaming server 12 so that the streaming server 12 sends the normal online video with a pull signal S4 according to the third data communication protocol, and the communication device 14 receives the pull signal S4 to play the normal online video after the streaming server 12 sends the normal online video with a pull signal S4 according to the third data communication protocol.
That is, when the video capturing device 11 is in the normal connection state, the captured normal connection video is immediately and actively transmitted to the streaming server 12, and when the communication device 14 transmits the play request S3 to the streaming server 12, the streaming server 12 transmits the normal connection video to the communication device 14, so as to establish the live (or instant streaming) service.
When the video capture device 11 and the stream server 12 are disconnected from each other to cause the video capture device 11 to be in a connection interruption state, the video capture device 11 captures an interruption connection video in the connection interruption state and stores the interruption connection video in the storage unit 111, so that when the video capture device 11 is switched from the connection interruption state to a subsequent normal connection state, the interruption connection video is transmitted to the stream server 12 by a second stream pushing signal S5 through the second data communication protocol, and the stream server 12 transmits the interruption connection video to the storage device 13 for storage by the stream storage signal S6 through the second data communication protocol.
That is, in the first preferred embodiment of the present invention, even if the video capture device 11 is in the connection interruption state, it still captures the interruption connection video and stores it in the storage unit 111, so that when the connection is reestablished, the interruption connection video is retransmitted to the streaming server 12, so that the streaming server 12 retransmits the interruption connection video to the storage device 13 for storage. It should be noted that when the storage device 13 stores the video with broken links, it also stores the video files in streaming format, i.e. each video file in streaming format is a 10-60 second transmission streaming file.
In addition, the video capturing device 11 is further configured to capture a subsequent normal link video in the subsequent normal link state, and actively transmit the interrupted link video and the subsequent normal link video to the streaming server 12 through the second data communication protocol and the first data communication protocol respectively by the second stream pushing signal S5 and the third stream pushing signal S7, that is, in the first preferred embodiment of the present invention, when the video capturing device 11 switches from the link interruption state to the subsequent normal link state, the interrupted link video is actively transmitted along with the subsequent normal link video (the same as the normal link video).
Wherein, the actual video capturing device 11 can be configured with a bandwidth detecting unit, and if the available bandwidth (bandwidth) detected by the video capturing device 11 during the transmission of the subsequent normal video is higher than a predetermined value (e.g. Kb, Mb, Gb, depending on the actual video size) set by the bandwidth detecting unit, the video capture device 11 is triggered to transmit the interrupted video (transmitted via the second data communication protocol, or the first data communication protocol in other embodiments) in addition to the subsequent normal video (transmitted via the first data communication protocol), in other words, the interrupted video is not transmitted to the streaming server 12 directly at a time, but is transmitted to the streaming server 12 only when the bandwidth is sufficient.
Referring to fig. 3, fig. 3 is a block diagram of a video streaming system according to a second preferred embodiment of the present invention, as shown in the figure, the difference between the two embodiments is that the video streaming system 1 further includes an Authentication server 15, the Authentication server 15 is communicatively connected to the video acquisition device 11, the streaming server 12 and the communication device 14, the Authentication server 15 is an Authentication Authorization and Accounting (AAA) server, and preferably, the Authentication server 15 is communicatively connected to the video acquisition device 11, the streaming server 12 and the communication device 14 in a wireless communication manner and stores a plurality of Authorization codes, a plurality of comparison codes and address information (i.e., IP address) of the streaming server 11.
In addition, generally, the video capture device 11 has an identification code, and the identification code is a Media Access Control Address (MAC Address), but other embodiments are not limited thereto, and the authentication mechanism can be established through the identification code in practice. In addition, the format of the above-mentioned match code is the same as the identification code, that is, the authentication server 15 stores a plurality of match codes in advance to authenticate the video capture device 11, and normally, the user of the video capture device 11 pays a fee and registers the fee, and the authentication server 15 stores the identification code of the video capture device 11 as the match code in advance.
Referring to fig. 3 and 4, fig. 4 is a schematic flow chart illustrating a process of the authentication server authenticating the video capture device to transmit the normal connection video according to a second preferred embodiment of the invention. As shown in the figure, the method for authenticating the video capture device 11 by the authentication server 15 includes the following steps:
step S101: the identification code transmitted by the video capture device 11 is received.
Step S102: and comparing whether the identification code is consistent with one of the comparison codes.
Step S103: and transmitting a push streaming connection information containing a push streaming authorization code and address information in the authorization codes to the video acquiring device 11.
Step S104: the video capture device 11 transmits the stream pushing connection information and the normal connection video to the streaming server 12.
Step S105: the streaming server 12 parses the streaming authorization code included in the streaming connection information, and confirms whether the streaming authorization code is correct or not to the authentication server 15.
Step S106: and receiving the normal connection video transmitted by the video acquisition device 11.
Specifically, when the authentication server 15 receives the identification code transmitted by the video acquisition device 11 by the first identification code signal S8 (step S101), and compares the identification code with one of the comparison codes (step S102), it transmits a piece of push streaming connection information including a push streaming authorization code and address information of the authorization codes to the video acquisition device 11 by the first information signal S9 (step S103), so that the video acquisition device 11 transmits the push streaming connection information and the normal connection video to the streaming server 12 (step S104), and after the streaming server 12 receives the push streaming connection information, it parses the push streaming authorization code included in the push streaming connection information (step S105), and when the push streaming authorization code is confirmed to be correct by the authentication server 15, it receives the normal connection video transmitted by the video acquisition device 11 (step S106).
That is, only the video capture device 11 that passes the authentication can actively transmit the normal connection video to the streaming server 12 in practice (the operation of the stream pushing is the same as that of the first preferred embodiment, and will not be described again). If the confirmation results of step S102 and step S105 are both negative, the process is directly ended, and the relevant information may be sent to the user of the video capture device 11 in another embodiment. Wherein, the stream pushing connection information is a Uniform Resource Locator (URL), and the format thereof is "rtmp:// ip address/identification code? s is a pull flow authorization code ", but is not limited thereto.
Referring to fig. 3 and 5, fig. 5 is a flowchart illustrating an authentication server authenticating a communication device according to a second preferred embodiment of the invention. As shown, the method for the authentication server 15 to authenticate the communication device 14 includes the following steps:
step S201: a request message containing the identification code is transmitted by the receiving communication device 14.
Step S202: and comparing whether the identification code is consistent with one of the comparison codes.
Step S203: a pull connection message containing a pull authorization code and address information of the authorization codes is sent to the communication device 14.
Step S204: the communication device 14 transmits the pull streaming connection information and the play request S3 (shown in fig. 2) to the streaming server 12.
Step S205: the streaming server 12 parses the pull authorization code included in the pull connection information, and confirms whether the pull authorization code is correct or not to the authentication server 15.
Step S206: receives the play request S3 (shown in fig. 2) and transmits the normal connection video to the communication device 14 via the third data communication protocol as a pull signal S4 (shown in fig. 2).
Specifically, the authentication server 15 receives a request message containing the identification code transmitted by the communication device 14 with a request signal S10 (step S201), and compares the identification code with one of the comparison codes (step S202), transmits a pull connection message containing a pull authorization code and address information of the authorization codes to the communication device 14 as a second message signal S11 (step S203), so that the communication device 14 transmits the pull connection message and the play request S3 to the streaming server 12 (step S204), and after the streaming server 12 receives the pull stream connection information, it parses the pull stream authorization code contained in the pull stream connection information, and when the authentication server 15 confirms that the pull stream authorization code is correct (step S205), receives the play request S3 and transmits the normal connection video to the communication device 14 as the pull stream signal S4 via the third data communication protocol (step S206).
That is, only the authenticated communication device 14 can watch the normal connection video in practice (the operation of the pull stream is the same as that of the first preferred embodiment, and is not described again). If the confirmation results of step S202 and step S205 are both negative, the execution of the steps is ended directly, and the relevant information may be transmitted to the user of the communication device 14 in another embodiment.
It should be noted that, in step S201, generally, the communication device 14 transmits the identification code of the video capturing device 11 to be viewed to the authentication server 15, and in step S203, the pull stream connection information composed of the address information of the video capturing device 11 and the pull stream authorization code in step S201 is transmitted to the communication device 14 together according to the lease or tariff scheme registered by the communication device 14 in the authentication server 15. Wherein, the pull stream connection information is a uniform resource locator, and the format thereof is "http:// ip address/identification code? s is a pull flow authorization code ", but is not limited thereto.
Referring to fig. 3 and fig. 6 together, fig. 6 is a schematic flow chart illustrating a process of the authentication server authenticating the video capture device to transmit the interrupt connection video according to a second preferred embodiment of the present invention. As shown in the figure, the method for authenticating the video capture device 11 by the authentication server 15 includes the following steps:
step S301: the identification code transmitted by the video capture device 11 is received.
Step S302: and comparing whether the identification code is consistent with one of the comparison codes.
Step S303: a patch connection information containing a patch authorization code and address information of the authorization codes is transmitted to the video capture device 11.
Step S304: the video capture device 11 transmits the backhaul link information and the interrupt link video to the streaming server 12.
Step S305: the streaming server 12 parses the compensation authorization code included in the compensation connection information, and confirms whether the compensation authorization code is correct or not to the authentication server 15.
Step S306: the interrupt connection video transmitted by the video capture device 11 is received.
Specifically, when the video capture device 11 switches from the connection interruption state to the subsequent normal connection state, and the video capture device 11 still needs to perform authentication to transmit the interruption connection video, further, when the authentication server 15 receives the identification code transmitted by the video capture device 11 via the second identification code signal S12 (step S301) and compares the identification code with one of the comparison codes (step S302), the authentication server 15 transmits the connection information containing the compensation authorization code and the address information of the authorization codes to the video capture device 11 via the third information signal S13 (step S303), so that the video capture device 11 transmits the connection information and the interruption connection video to the streaming server 12 (step S304), and after the streaming server 12 receives the connection information, parses the compensation authorization code contained in the connection information, and when the compensation authorization code is confirmed to be correct by the authentication server 15 (step S305), the interrupt link video transmitted by the video capture device 11 is received (step S306).
That is, in practice, only the video capture device 11 that passes the authentication can further stream the interrupt connection video (the operation of the stream pushing is the same as that of the first preferred embodiment, and is not described again), and in addition, in practice, it is also necessary to further stream the subsequent normal connection video after the authentication, that is, the subsequent normal connection video and the interrupt connection video can be further streamed after the authentication. If the confirmation results of step S302 and step S305 are both negative, the process is directly executed to end, and the relevant information may be sent to the user of the video capture device 11 in another embodiment. In addition, the anaplerotic link information is a uniform resource locator, and its format is "http:// ip address/id? s is the backoff grant code ", but is not limited thereto.
In summary, after the video stream pushing system provided by the preferred embodiment of the present invention is adopted, the video stream is transmitted in a stream pushing manner, so that the disconnection status can be effectively reduced, and therefore, the practicability can be greatly improved, and even if the video stream is disconnected, the video acquisition device can still store the video stream during disconnection, and transmit the video stream during disconnection to the stream server for storage in the storage device when the connection is reestablished, so that the user can view the video stream during disconnection, thereby improving the convenience.
In addition, since the video is transmitted by using the stream pushing method, even if the video acquisition device is connected to the network through the network address converter, the video acquisition device can still be effectively connected to the streaming server and can easily establish a connection to transmit the video, thereby increasing the convenience in practical use.
The foregoing detailed description of the preferred embodiments is intended to more clearly illustrate the features and spirit of the present invention, and not to limit the scope of the invention by the preferred embodiments disclosed above. On the contrary, it is intended to cover various modifications and equivalent arrangements included within the scope of the claims appended hereto.

Claims (7)

1. A video plug flow system, comprising:
the video acquisition device comprises a storage unit, a first data communication protocol and a second data communication protocol, wherein the storage unit is used for acquiring a normal connection video in a normal connection state and actively transmitting the normal connection video as a first plug flow signal through the first data communication protocol;
the streaming server is in communication connection with the video acquisition device, is used for receiving the first streaming signal to temporarily store the normal connection video, and is used for respectively transmitting the normal connection video through a second data communication protocol and a third data communication protocol;
a storage device, communicatively connected to the streaming server, for receiving the normal online video transmitted by the streaming server according to the second data communication protocol, so as to store the normal online video as a cluster video file, where the cluster video file is composed of a plurality of streaming format video files arranged according to an image acquisition timing; and
a communication device, communicatively connected to the streaming server, for transmitting a play request to the streaming server, so as to receive the normal online video transmitted by the streaming server through the third data communication protocol by a pull signal, and thereby play the normal online video;
when the video acquisition device and the streaming server are disconnected from each other to enable the video acquisition device to be in a connection interruption state, the video acquisition device acquires an interruption connection video in the connection interruption state and stores the interruption connection video in the storage unit, so that when the video acquisition device is switched from the connection interruption state to a subsequent normal connection state, the interruption connection video is transmitted to the streaming server through the second data communication protocol by a second stream pushing signal, and the streaming server transmits the interruption connection video to the storage device through the second data communication protocol to be stored by the storage device;
wherein the first data communication protocol and the third data communication protocol are an instant message transmission protocol, and the second data communication protocol is a hypertext instant streaming protocol;
wherein, the streaming format video file is a transmission streaming file;
the video acquiring device is further configured to acquire a subsequent normal connection video in the subsequent normal connection state, and actively transmit the interrupted connection video and the subsequent normal connection video to the streaming server through the second data communication protocol and the first data communication protocol by the second streaming signal and the third streaming signal, respectively.
2. The video streaming system of claim 1, wherein the storage unit is a memory card.
3. The video plug-flow system of claim 1, wherein the storage device is one of a hard disk and a storage server, the video acquisition device is one of a webcam, a digital video recorder, and a digital video server, and the communication device is one of a mobile phone, a tablet computer, a desktop computer, and a notebook computer.
4. The video streaming system of claim 1, wherein the video capturing device has an identification code, the video streaming system further comprises an authentication server communicatively connected to the video capturing device and the streaming server and storing a plurality of authorization codes, a plurality of comparison codes and address information of the streaming server, the authentication server is configured to transmit a piece of streaming connection information including a streaming authorization code of the plurality of authorization codes and the address information to the video capturing device when receiving the identification code transmitted by the video capturing device and comparing that the identification code matches one of the plurality of comparison codes, so that the video capturing device transmits the streaming connection information and the normal connection video to the streaming server, and after the streaming server receives the streaming connection information, analyzing the push streaming authorization code contained in the push streaming connection information, and receiving the normal connection video transmitted by the video acquisition device when the push streaming authorization code is confirmed to be correct by the authentication server.
5. The video stream pushing system according to claim 4, wherein the authentication server is further communicatively connected to the communication device, the authentication server is further configured to transmit, to the communication device, stream connection information including a stream connection authorization code and the address information among the authorization codes when receiving a request message including the identification code transmitted by the communication device and comparing the identification code with one of the comparison codes, so that the communication device transmits the stream connection information and the play request to the stream server, and after receiving the stream connection information, the stream server parses the stream connection information including the stream connection authorization code, and when confirming that the stream connection authorization code is correct with the authentication server, and receiving the playing request and transmitting the normal connection video to the communication device in the form of the pull stream signal through the third data communication protocol.
6. The video stream pushing system according to claim 4, wherein when the video capture device switches from the connection interruption state to the subsequent normal connection state, and the authentication server receives the identification code transmitted by the video capture device and compares the identification code with one of the comparison codes, the authentication server transmits a complementary connection information including a complementary authorization code and the address information among the authorization codes to the video capture device, so that the video capture device transmits the complementary connection information and the interrupted connection video to the stream server, and after receiving the complementary connection information, the stream server parses the complementary authorization code included in the complementary connection information, and when confirming that the complementary authorization code is correct with the authentication server, and receiving the interrupt connection line video transmitted by the video acquisition device.
7. The video streaming system of claim 6, wherein the identification code is a mac address, the authentication server is an authentication authorization and accounting server, and the streaming connection information, and the backhaul connection information are urls.
CN201610471926.8A 2016-06-24 2016-06-24 Video plug-flow system Active CN107547923B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610471926.8A CN107547923B (en) 2016-06-24 2016-06-24 Video plug-flow system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610471926.8A CN107547923B (en) 2016-06-24 2016-06-24 Video plug-flow system

Publications (2)

Publication Number Publication Date
CN107547923A CN107547923A (en) 2018-01-05
CN107547923B true CN107547923B (en) 2020-03-24

Family

ID=60960098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610471926.8A Active CN107547923B (en) 2016-06-24 2016-06-24 Video plug-flow system

Country Status (1)

Country Link
CN (1) CN107547923B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112312154B (en) * 2020-10-30 2022-08-09 广州华多网络科技有限公司 Network live broadcast control and execution method and corresponding device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811373A (en) * 2011-05-30 2012-12-05 上海圣炅商务咨询有限公司 Method for carrying out video broadcast on Internet and mobile Internet by mobile terminal
WO2014108194A1 (en) * 2013-01-10 2014-07-17 Telefonaktiebolaget L M Ericsson (Publ) Apparatus and method for controlling adaptive streaming of media
CN104683884A (en) * 2015-02-09 2015-06-03 网宿科技股份有限公司 Live method and system for stream medium
CN105338423A (en) * 2015-10-27 2016-02-17 天津车之家科技有限公司 Method and system for live broadcast of streaming media data
CN105516748A (en) * 2015-11-27 2016-04-20 北京奇虎科技有限公司 Method and server for realizing network live broadcasting

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201427463A (en) * 2012-12-20 2014-07-01 Wistron Corp Broadcasting system and method for multimedia bitstream

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811373A (en) * 2011-05-30 2012-12-05 上海圣炅商务咨询有限公司 Method for carrying out video broadcast on Internet and mobile Internet by mobile terminal
WO2014108194A1 (en) * 2013-01-10 2014-07-17 Telefonaktiebolaget L M Ericsson (Publ) Apparatus and method for controlling adaptive streaming of media
CN104683884A (en) * 2015-02-09 2015-06-03 网宿科技股份有限公司 Live method and system for stream medium
CN105338423A (en) * 2015-10-27 2016-02-17 天津车之家科技有限公司 Method and system for live broadcast of streaming media data
CN105516748A (en) * 2015-11-27 2016-04-20 北京奇虎科技有限公司 Method and server for realizing network live broadcasting

Also Published As

Publication number Publication date
CN107547923A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
CN109756758B (en) Live broadcast control method and device
US10630795B2 (en) Systems and methods for transferring application state between devices based on gestural input
KR102015955B1 (en) Method for authenticating client
EP3468179B1 (en) Moving image splitting device and monitoring method
US8214708B2 (en) Video transmitting apparatus, video receiving apparatus, and video transmission system
KR20150102747A (en) Method and apparatus for displaying application data in wireless communication system
US20150201085A1 (en) Seamlessly transferring a communication
CN106713127B (en) Method and device for acquiring and processing instant chat records
CN112044055A (en) Image data acquisition method, system, device, electronic equipment and storage medium
JP2014057233A (en) Transmission system, repeating device and transmission terminal
JP6724431B2 (en) Communication system, information transmission method, and program
CN113099438A (en) Wireless screen mirroring method and device based on IP network connection
EP3399713B1 (en) Device, system, and method to perform real-time communication
CN108235111B (en) Information sharing method and intelligent set top box
KR101701742B1 (en) Apparatus and method for live streaming between mobile communication terminals
CN107547923B (en) Video plug-flow system
WO2017088575A1 (en) Encryption mechanism-based ipc service implementation method and system
TW201442492A (en) Cross-platform video playback method, device and system
KR20090029496A (en) Method and apparatus of managing image data stored during picture communication and system including the apparatus
US20140325578A1 (en) Method, device and system for cross-platform video file playing
US8706843B2 (en) Network connector device
TWI602432B (en) Video streaming system
WO2018093051A1 (en) Method for providing streaming service while converting file format in real time
US20150189231A1 (en) Video conferencing system
KR101406243B1 (en) system and method for streaming service

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