Movatterモバイル変換


[0]ホーム

URL:


CN114554242A - Live broadcast method and readable storage medium - Google Patents

Live broadcast method and readable storage medium
Download PDF

Info

Publication number
CN114554242A
CN114554242ACN202210433609.2ACN202210433609ACN114554242ACN 114554242 ACN114554242 ACN 114554242ACN 202210433609 ACN202210433609 ACN 202210433609ACN 114554242 ACN114554242 ACN 114554242A
Authority
CN
China
Prior art keywords
live broadcast
time code
time
ntp
live
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
CN202210433609.2A
Other languages
Chinese (zh)
Other versions
CN114554242B (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.)
Chongqing Radio And Television Group Head Office
Shenzhen Qianhai Rixin Digital Technology Co ltd
Chengdu Sobey Digital Technology Co Ltd
Original Assignee
Chongqing Radio And Television Group Head Office
Shenzhen Qianhai Rixin Digital Technology Co ltd
Chengdu Sobey Digital Technology 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 Chongqing Radio And Television Group Head Office, Shenzhen Qianhai Rixin Digital Technology Co ltd, Chengdu Sobey Digital Technology Co LtdfiledCriticalChongqing Radio And Television Group Head Office
Priority to CN202210433609.2ApriorityCriticalpatent/CN114554242B/en
Publication of CN114554242ApublicationCriticalpatent/CN114554242A/en
Application grantedgrantedCritical
Publication of CN114554242BpublicationCriticalpatent/CN114554242B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a live broadcast method and a readable storage medium. The live broadcast method comprises the following steps: adding packaging NTP time codes to output network data packets on different video recording equipment; the time code synchronization equipment receives network data packets which are sent by different shooting and recording equipment and are packaged with NTP time codes; the time code synchronization equipment aligns the live time starting point of the recording equipment based on the NTP time code; and outputting the live broadcast content aligned with the start point of the live broadcast time to the switching station. The invention reduces the condition that the time delay of each live broadcast machine is inconsistent and improves the synchronization effect of live broadcast programs.

Description

Translated fromChinese
直播方法和可读存储介质Live broadcast method and readable storage medium

技术领域technical field

本发明涉及互联网直播技术领域,尤其涉及一种直播方法和可读存储介质。The present invention relates to the technical field of Internet live broadcast, and in particular, to a live broadcast method and a readable storage medium.

背景技术Background technique

随着移动互联网的发展,以及传统媒体向融合媒体转型,传统的电视、电台直播也开始连接互联网,来自流媒体设备的互联网内容和互联网直播成为新媒体时代越来越重要的核心功能。目前主流的互联网直播场景中,通常使用手机、4G/5G背包或民用级摄像机以及互联网传输设备等工具。通过普通的互联网接入和链路来进行流信号的传输,完成直播和实时的互动连线。但是在多机位直播或互动连线的场景下, 由于互联网带宽,延迟等方面的条件限制,经常会出现各个机位时延不一致的情况,影响直播节目效果。With the development of mobile Internet and the transformation of traditional media to converged media, traditional TV and radio live broadcasts have also begun to connect to the Internet. Internet content and Internet live broadcasts from streaming media devices have become increasingly important core functions in the new media era. In the current mainstream Internet live broadcast scenarios, tools such as mobile phones, 4G/5G backpacks or civilian-grade cameras, and Internet transmission equipment are usually used. Streaming signals are transmitted through ordinary Internet access and links to complete live broadcast and real-time interactive connections. However, in the scenario of multi-camera live broadcast or interactive connection, due to the limitations of Internet bandwidth, delay and other conditions, the delay of each camera is often inconsistent, which affects the effect of the live broadcast program.

发明内容SUMMARY OF THE INVENTION

基于此,针对目前互联网直播经常会出现各个机位时延不一致的情况,影响直播节目效果的问题,有必要提供一种直播方法和可读存储介质,旨在减少各个机位时延不一致的情况,提高直播节目的同步效果。Based on this, in view of the problem that the current Internet live broadcast often has inconsistent delays between different cameras and affects the effect of live broadcast programs, it is necessary to provide a live broadcast method and a readable storage medium, which aims to reduce the inconsistent delay of various cameras. , to improve the synchronization effect of live programs.

为实现上述目的,本发明提出的一种直播方法,所述直播方法包括:In order to achieve the above purpose, a live broadcast method proposed by the present invention, the live broadcast method includes:

时码同步设备接收不同摄录设备发送的带有NTP时间码的网络数据包;The time code synchronization device receives network data packets with NTP time codes sent by different video recording devices;

所述时码同步设备基于所述NTP时间码对齐所述摄录设备的直播时间起点;The time code synchronization device aligns the live broadcast time starting point of the video recording device based on the NTP time code;

将对齐直播时间起点的直播内容输出给切换台。Output the live content aligned with the starting point of the live broadcast time to the switcher.

在本申请的一实施例中,所述时码同步设备基于所述NTP时间码对齐所述摄录设备的直播时间起点的步骤,包括:In an embodiment of the present application, the step of the time code synchronization device aligning the start point of the live broadcast time of the video recording device based on the NTP time code includes:

获取网络数据包并保存;Get network data packets and save them;

提取所述网络数据包中的NTP时间码,并依据时间顺序对所述NTP时间码持续计数;extracting the NTP time code in the network data packet, and continuously counting the NTP time code according to the time sequence;

若不同的所述网络数据包中包括相同的NTP时间码,则从该相同NTP时间码位置对齐直播时间点。If the different network data packets include the same NTP time code, the live broadcast time point is aligned from the position of the same NTP time code.

在本申请的一实施例中,所述从相同NTP时间码位置对齐直播时间点的步骤中,所述NTP时间码是连续的且连续数量大于等于3。In an embodiment of the present application, in the step of aligning the live broadcast time point from the same NTP time code position, the NTP time codes are consecutive and the consecutive number is greater than or equal to 3.

在本申请的一实施例中,所述将对齐直播时间起点的直播内容输出给切换台的步骤之前,包括:In an embodiment of the present application, before the step of outputting the live content aligned with the starting point of the live broadcast time to the switcher, the steps include:

释放所述时码同步设备保存的网络数据包。Release the network data packets saved by the time code synchronization device.

此外,为了实现上述目的,本发明还提供一种直播方法,所述直播方法包括:In addition, in order to achieve the above object, the present invention also provides a live broadcast method, the live broadcast method includes:

不同摄录设备获取NTP时间码;Obtain NTP time code from different video recording devices;

所述摄录设备将带有所述NTP时间码的网络数据包发送给时码同步设备,其中,所述时码同步设备基于所述NTP时间码对齐所述摄录设备的直播时间起点,并将对齐直播时间起点的直播内容输出给切换台。The video recording device sends the network data packet with the NTP time code to the time code synchronization device, wherein the time code synchronization device aligns the live broadcast time starting point of the video recording device based on the NTP time code, and Output the live content aligned with the starting point of the live broadcast time to the switcher.

在本申请的一实施例中,所述不同摄录设备获取NTP时间码的步骤之后,包括:In an embodiment of the present application, after the step of acquiring the NTP time code by the different video recording devices, the steps include:

将所述摄录设备的摄录内容和所述NTP时间码进行封装;Encapsulate the recording content of the recording device and the NTP time code;

生成网络数据包并保存。Generate network packets and save.

在本申请的一实施例中,所述不同摄录设备获取NTP时间码的步骤之前,包括:In an embodiment of the present application, before the step of acquiring the NTP time code by the different video recording devices, the steps include:

所述摄录设备获取运营基站的NTP授时。The recording device obtains the NTP timing of the operating base station.

此外,为了实现上述目的,本发明还提供一种直播方法,所述直播方法包括:In addition, in order to achieve the above object, the present invention also provides a live broadcast method, the live broadcast method includes:

切换台接收时码同步设备发送的直播内容,其中,所述时码同步设备接收不同摄录设备发送的带有NTP时间码的网络数据包,所述时码同步设备基于所述NTP时间码对齐所述摄录设备的直播时间起点,将对齐直播时间起点的直播内容输出给切换台;The switcher receives live content sent by a time code synchronization device, wherein the time code synchronization device receives network data packets with NTP time codes sent by different video recording devices, and the time code synchronization device is aligned based on the NTP time codes The starting point of the live broadcast time of the video recording device, outputting the live broadcast content aligned with the starting point of the live broadcast time to the switcher;

所述切换台依据所述直播内容进行直播切换。The switcher performs live switching according to the live content.

此外,为了实现上述目的,本发明还提供一种直播方法,所述直播方法包括:In addition, in order to achieve the above object, the present invention also provides a live broadcast method, the live broadcast method includes:

不同摄录设备获取NTP时间码;Obtain NTP time code from different video recording devices;

所述摄录设备将带有所述NTP时间码的网络数据包发送给时码同步设备;The video recording device sends the network data packet with the NTP time code to the time code synchronization device;

所述时码同步设备接收不同摄录设备发送的带有NTP时间码的网络数据包;The time code synchronization device receives network data packets with NTP time codes sent by different video recording devices;

所述时码同步设备基于所述NTP时间码对齐所述摄录设备的直播时间起点;The time code synchronization device aligns the live broadcast time starting point of the video recording device based on the NTP time code;

所述时码同步设备将对齐直播时间起点的直播内容输出给切换台;The time code synchronization device outputs the live content aligned with the starting point of the live broadcast time to the switcher;

所述切换台接收时码同步设备发送的直播内容;The switcher receives the live content sent by the time code synchronization device;

所述切换台依据所述直播内容进行直播切换。The switcher performs live switching according to the live content.

此外,为了实现上述目的,本发明还提供一种可读存储介质,所述可读存储介质上存储有直播程序,所述直播程序被处理器执行时实现如上所述的直播方法的步骤。In addition, in order to achieve the above object, the present invention also provides a readable storage medium, on which a live broadcast program is stored, and when the live broadcast program is executed by a processor, the steps of the above-mentioned live broadcast method are implemented.

本发明提出的技术方案中,摄录设备可以理解为直播时使用的直播工具。不同摄录设备均将带有NTP时间码的信号传输给时码同步设备。时码同步设备接收摄录设备发送的NTP时间码,时码同步设备通过NTP时间码对齐摄录设备的直播时间起点。将直播内容的直播起点统一,再将对齐直播时间起点的直播内容输出给切换台,通过切换台进行直播切换。由此,通过本发明的技术方案,保证不同摄录设备能够同步播放时间,减少各个机位时延不一致的情况,提高直播节目的同步效果。In the technical solution proposed by the present invention, the video recording device can be understood as a live broadcast tool used during live broadcast. Different video recording devices transmit the signal with NTP time code to the time code synchronization device. The time code synchronization device receives the NTP time code sent by the video recording device, and the time code synchronization device uses the NTP time code to align the starting point of the live broadcast time of the video recording device. The starting point of the live broadcast content is unified, and then the live broadcast content aligned with the starting point of the live broadcast time is output to the switcher, and the live broadcast switch is performed through the switcher. Therefore, through the technical solution of the present invention, it is ensured that different video recording devices can synchronize the playing time, the situation of inconsistent time delays of each camera position is reduced, and the synchronization effect of live programs is improved.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图示出的结构获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained according to the structures shown in these drawings without creative efforts.

图1为本发明直播方法第一实施例的流程示意图;1 is a schematic flowchart of a first embodiment of a live broadcast method according to the present invention;

图2为本发明直播方法第二实施例的流程示意图;2 is a schematic flowchart of a second embodiment of the live broadcast method of the present invention;

图3为本发明直播方法第三实施例的流程示意图;3 is a schematic flowchart of a third embodiment of a live broadcast method according to the present invention;

图4为本发明直播方法第四实施例的流程示意图;4 is a schematic flowchart of a fourth embodiment of a live broadcast method according to the present invention;

图5为本发明直播方法第五实施例的流程示意图;5 is a schematic flowchart of a fifth embodiment of the live broadcast method of the present invention;

图6为本发明直播方法第六实施例的流程示意图;6 is a schematic flowchart of a sixth embodiment of a live broadcast method according to the present invention;

图7为本发明直播方法第七实施例的流程示意图;7 is a schematic flowchart of a seventh embodiment of the live broadcast method of the present invention;

图8为本发明直播方法第八实施例的流程示意图;8 is a schematic flowchart of an eighth embodiment of a live broadcast method according to the present invention;

图9为本发明直播方法的原理示意图。FIG. 9 is a schematic diagram of the principle of the live broadcast method of the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

随着移动互联网的发展,以及传统媒体向融合媒体转型,传统的电视、电台直播也开始连接互联网,来自流媒体设备的互联网内容和互联网直播成为新媒体时代越来越重要的核心功能。目前主流的互联网直播场景中,通常使用手机、4G/5G背包或民用级摄像机以及互联网传输设备等工具。通过普通的互联网接入和链路来进行流信号的传输,完成直播和实时的互动连线。但是在多机位直播或互动连线的场景下, 由于互联网带宽,延迟等方面的条件限制,经常会出现各个机位时延不一致的情况,影响直播节目效果。With the development of mobile Internet and the transformation of traditional media to converged media, traditional TV and radio live broadcasts have also begun to connect to the Internet. Internet content and Internet live broadcasts from streaming media devices have become increasingly important core functions in the new media era. In the current mainstream Internet live broadcast scenarios, tools such as mobile phones, 4G/5G backpacks or civilian-grade cameras, and Internet transmission equipment are usually used. Streaming signals are transmitted through ordinary Internet access and links to complete live broadcast and real-time interactive connections. However, in the scenario of multi-camera live broadcast or interactive connection, due to the limitations of Internet bandwidth, delay and other conditions, the delay of each camera is often inconsistent, which affects the effect of the live broadcast program.

参阅图1和图9所示,本发明提出的一种直播方法的第一实施例。本实施例中,摄录设备理解为直播工具,例如摄录设备包括手机,平板电脑,摄像机等。具体地直播方法包括:Referring to FIG. 1 and FIG. 9 , the first embodiment of a live broadcast method proposed by the present invention is shown. In this embodiment, the video recording device is understood as a live broadcast tool, for example, the video recording device includes a mobile phone, a tablet computer, a video camera, and the like. Specific live broadcast methods include:

步骤S10,时码同步设备接收不同摄录设备发送的带有NTP时间码的网络数据包;NTP时间码(Network Time Protocol,网络时间协议)是一种通过因特网服务于计算机时钟的时间同步协议。NTP提供了一种同步时间机制,能在庞大而复杂多样的因特网中用光速调整时间分配。它使用的是可返回时间设计,分布式子网内的时间服务器,能自我组织操作、分层管理配置,经过有线或无线方式同步子网内的逻辑时钟达到国家标准时间。此外,通过本地路由选择运算法则及时间后台程序,服务器可以重新分配标准时间。NTP时间码封装在直播内容中。不同的摄录设备都将带有NTP时间码的数据发送给时码同步设备,时码同步设备集中处理接收到的网络数据。Step S10, the time code synchronization device receives network data packets with NTP time codes sent by different video recording devices; NTP time code (Network Time Protocol, Network Time Protocol) is a time synchronization protocol that serves computer clocks through the Internet. NTP provides a mechanism for synchronizing time, adjusting time distribution at the speed of light in the vast and complex Internet. It uses a returnable time design, a time server in a distributed subnet, which can self-organize operation, manage and configure hierarchically, and synchronize the logical clock in the subnet to reach the national standard time through wired or wireless means. In addition, the server can reallocate standard time through local routing algorithms and time daemons. NTP timecode is encapsulated in live content. Different video recording devices send data with NTP time code to the time code synchronization device, and the time code synchronization device centrally processes the received network data.

步骤S11,时码同步设备基于NTP时间码对齐摄录设备的直播时间起点;通过时码同步设备,将接收到的网络数据中的直播时间点对齐,从而在直播时,不同摄录设备的播放时间可以同步进行, 减少因网络延迟导致的各个信号不同步。Step S11, the time code synchronization device aligns the live broadcast time starting point of the video recording device based on the NTP time code; the time code synchronization device aligns the live broadcast time points in the received network data, so that during the live broadcast, different video recording devices play The time can be synchronized, reducing the asynchronous signal caused by network delay.

步骤S12,将对齐直播时间起点的直播内容输出给切换台。对齐了直播时间起点后,将直播内容输出给切换台。切换台在对齐后的信号上进行切换, 可确保直播节目的制作效果。 例如,通过NTP时间码显示,手机的直播播放时间起点是102,摄像机的时间起点也是102,麦克风的时间起点也是102,则在直播时手机、摄像机和麦克风的时间起点都对齐至102,从102这个时间点开始同步传输数据,进而保证直播播放的时间同步。不会出现画面和语音不同步的情况。Step S12, output the live content aligned with the starting point of the live broadcast time to the switcher. After aligning the starting point of the live broadcast time, output the live broadcast content to the switcher. The switcher switches on the aligned signal to ensure live production. For example, according to the NTP time code display, the starting time of the live broadcast of the mobile phone is 102, the starting time of the camera is also 102, and the starting time of the microphone is also 102, then the time starting point of the mobile phone, the camera and the microphone are all aligned to 102 during the live broadcast, from 102 At this point in time, data is transmitted synchronously, thereby ensuring the time synchronization of live broadcast. There will be no picture and voice out of sync.

由此可知本方案提供了一种时码同步设备,通过时码同步设备集中接收网络数据,并完成直播内容的同步播放。It can be seen that this solution provides a time code synchronization device, which centrally receives network data through the time code synchronization device, and completes the synchronous playback of live content.

本实施例提出的技术方案中,摄录设备可以理解为直播时使用的直播工具。不同摄录设备均将带有NTP时间码的信号传输给时码同步设备。时码同步设备接收摄录设备发送的NTP时间码,时码同步设备通过NTP时间码对齐摄录设备的直播时间起点。将直播内容的直播起点统一,再将对齐直播时间起点的直播内容输出给切换台,通过切换台进行直播切换。由此,通过本发明的技术方案,保证不同摄录设备能够同步播放时间,减少各个机位时延不一致的情况,提高直播节目的同步效果。In the technical solution proposed in this embodiment, the video recording device can be understood as a live broadcast tool used during live broadcast. Different video recording devices transmit the signal with NTP time code to the time code synchronization device. The time code synchronization device receives the NTP time code sent by the video recording device, and the time code synchronization device uses the NTP time code to align the starting point of the live broadcast time of the video recording device. The starting point of the live broadcast content is unified, and then the live broadcast content aligned with the starting point of the live broadcast time is output to the switcher, and the live broadcast switch is performed through the switcher. Therefore, through the technical solution of the present invention, it is ensured that different video recording devices can synchronize the playing time, the situation of inconsistent time delays of each camera position is reduced, and the synchronization effect of live programs is improved.

参阅图2所示,在本发明第一实施例的基础上,提出本发明的第二实施例。时码同步设备基于NTP时间码对齐摄录设备的直播时间起点的步骤,包括:Referring to FIG. 2 , on the basis of the first embodiment of the present invention, a second embodiment of the present invention is proposed. The steps for the time code synchronization device to align the starting point of the live broadcast time of the video recording device based on the NTP time code include:

步骤S110,获取网络数据包并保存;其中,网络数据包中包括NTP时间码。将NTP时间码和网络数据包中的对应内容建立对应关系,相应的NTP时间码代表相应的直播内容。通过确定NTP时间码,就代表了确定直播内容。将获取的网络数据包保存在时码同步设备的缓存区。Step S110, acquiring and saving a network data packet; wherein, the network data packet includes an NTP time code. A corresponding relationship is established between the NTP time code and the corresponding content in the network data packet, and the corresponding NTP time code represents the corresponding live broadcast content. By determining the NTP time code, the content of the live broadcast is determined. Save the acquired network data packets in the buffer area of the time code synchronization device.

步骤S111,提取网络数据包中的NTP时间码,并依据时间顺序对NTP时间码持续计数;在直播时,从时码同步设备的缓存区提取出NTP时间码。并按照时间的数据开始对提取的NTP时间码进行监测计数。Step S111, extract the NTP time code in the network data packet, and continuously count the NTP time code according to the time sequence; during live broadcast, extract the NTP time code from the buffer area of the time code synchronization device. And start monitoring and counting the extracted NTP time code according to the time data.

步骤S112,若不同的网络数据包中包括相同的NTP时间码,则从该相同NTP时间码位置对齐直播时间点。监测到相同的NTP时间码后,说明不同的网络数据包是同时摄录的,说明从这个相同的NTP时间码开始直播内容是同步的,从这个相同的NTP时间码位置开始对比直播时间点。 需要说明的是一帧代表一个画面,一个网络数据包中的视音频信号通常包括多帧。相邻数据包的NTP不一定是连续的。通过计数来确定包内各帧的时码能够保证视音频顺序播放。Step S112, if different network data packets include the same NTP time code, align the live broadcast time point from the position of the same NTP time code. After monitoring the same NTP time code, it indicates that different network data packets are recorded at the same time, indicating that the live broadcast content is synchronized from this same NTP time code, and the live broadcast time points are compared from this same NTP time code position. It should be noted that one frame represents one picture, and the video and audio signals in one network packet usually include multiple frames. NTP for adjacent packets is not necessarily contiguous. Determining the time code of each frame in the packet by counting can ensure the sequential playback of video and audio.

进一步地,为了提高网络数据具有更高的连续性,从相同NTP时间码位置对齐直播时间点的步骤中,NTP时间码是连续的且连续数量大于等于3。也就是说,具有3个相同的NTP时间码,且这3个相同的NTP时间码都是连续的。例如,手机、摄像机和麦克风都具有3个相同的NTP时间码,分别是102、103和104,这3个NTP时间码是依次连续的。NTP时间码的连续,也表示直播视频内容的连续。Further, in order to improve the continuity of the network data, in the step of aligning the live broadcast time points from the same NTP time code position, the NTP time codes are continuous and the number of consecutive times is greater than or equal to 3. That is to say, there are 3 identical NTP time codes, and the 3 identical NTP time codes are all consecutive. For example, a mobile phone, a camera, and a microphone all have three identical NTP time codes, namely 102, 103, and 104, and these three NTP time codes are consecutive in sequence. The continuity of the NTP time code also means the continuity of the live video content.

参阅图3所示,在本发明第一实施例的基础上,提出本发明的第三实施例。为了充分利用时码同步设备的缓存区。将对齐直播时间起点的直播内容输出给切换台的步骤之前,包括:Referring to FIG. 3 , on the basis of the first embodiment of the present invention, a third embodiment of the present invention is proposed. In order to make full use of the buffer area of the time code synchronization device. Before outputting the live content aligned to the start of the live time to the switcher, include:

步骤S13,释放时码同步设备保存的网络数据包。直播时数据的传输量往往很大,时码同步设备的缓存区存储空间有限。在直播内容已经输出给切换台后,在时码同步设备的缓存区的网络数据包已经不需要再次传输。通过步骤S13,将时码同步设备保存的网络数据包释放掉,从而节约存储空间。释放掉,也可以理解为将网络数据包丢弃掉。Step S13, releasing the network data packets saved by the time code synchronization device. During live broadcast, the data transmission volume is often large, and the buffer storage space of the timecode synchronization device is limited. After the live content has been output to the switcher, the network data packets in the buffer area of the time code synchronization device do not need to be transmitted again. Through step S13, the network data packets saved by the time code synchronization device are released, thereby saving storage space. Released can also be understood as discarding network packets.

参阅图4和图9所示,本发明还提供一种直播方法的第四实施例。本实施例中在不同摄录设备端也做了进一步的改进。具体地,直播方法包括:Referring to FIG. 4 and FIG. 9 , the present invention further provides a fourth embodiment of a live broadcast method. In this embodiment, further improvements are also made on different video recording devices. Specifically, the live broadcast method includes:

步骤S20,不同摄录设备获取NTP时间码;摄录设备理解为直播工具,例如摄录设备包括手机,平板电脑,摄像机等。在摄录设备中设置SDK(软体开发工具包),通过软件开发工具包来获取NTP时间码。SDK软件开发工具包也可以设置在独立的外接处理装置中,如此,摄录设备直接接收带有NTP时间码的网络数据包。In step S20, different video recording devices obtain NTP time codes; video recording devices are understood as live broadcast tools, for example, video recording devices include mobile phones, tablet computers, cameras, and the like. Set the SDK (software development kit) in the recording device, and obtain the NTP time code through the software development kit. The SDK software development kit can also be set in an independent external processing device, so that the video recording device directly receives the network data packets with the NTP time code.

步骤S21,摄录设备将带有NTP时间码的网络数据包发送给时码同步设备,其中,时码同步设备基于NTP时间码对齐摄录设备的直播时间起点,并将对齐直播时间起点的直播内容输出给切换台。通过时码同步设备,将接收到的网络数据中的直播时间点对齐,从而在直播时,不同摄录设备的播放时间可以同步进行。减少播放的延迟产生,提高播放效果。例如,通过NTP时间码显示,手机的直播播放时间起点是102,摄像机的时间起点也是102,麦克风的时间起点也是102,则在直播时手机、摄像机和麦克风的时间起点都对齐至102,从102这个时间点开始同步传输数据,进而保证直播播放的时间同步。不会出现画面和语音不同步的情况。对齐了直播时间起点后,将直播内容输出给切换台。切换台用于将播放直播内容,也可以用于中间转接保存的云平台。由此可知本方案提供了一种时码同步设备,通过时码同步设备集中接收网络数据,并完成直播内容的同步播放。Step S21, the video recording device sends the network data packet with the NTP time code to the time code synchronization device, wherein the time code synchronization device aligns the live broadcast time starting point of the video recording device based on the NTP time code, and will align the live broadcast time starting point of the live broadcast time. The content is output to the switcher. Through the time code synchronization device, the live broadcast time points in the received network data are aligned, so that during the live broadcast, the playback time of different video recording devices can be synchronized. Reduce playback delay and improve playback effect. For example, according to the NTP time code display, the starting time of the live broadcast of the mobile phone is 102, the starting time of the camera is also 102, and the starting time of the microphone is also 102, then the time starting point of the mobile phone, the camera and the microphone are all aligned to 102 during the live broadcast, from 102 At this point in time, data is transmitted synchronously, thereby ensuring the time synchronization of live broadcast. There will be no picture and voice out of sync. After aligning the starting point of the live broadcast time, output the live broadcast content to the switcher. The switcher is used to play the live content, and it can also be used for the cloud platform where the intermediate transfer is saved. It can be seen that this solution provides a time code synchronization device, which centrally receives network data through the time code synchronization device, and completes the synchronous playback of live content.

参阅图5所示,为了保证NTP时间码能够准确的代表相应的直播内容。在本发明第四实施例的基础上,提出本发明的第五实施例。不同摄录设备获取NTP时间码的步骤之后,包括:Referring to Figure 5, in order to ensure that the NTP time code can accurately represent the corresponding live content. On the basis of the fourth embodiment of the present invention, a fifth embodiment of the present invention is proposed. After the steps of obtaining the NTP time code by different video recording devices, include:

步骤S22,将摄录设备的摄录内容和NTP时间码进行封装;由此NTP时间码就可以代表相应的摄录内容,即代表直播内容。Step S22, encapsulate the recording content of the recording device and the NTP time code; thus, the NTP time code can represent the corresponding recording content, that is, the live broadcast content.

步骤S23,生成网络数据包并保存。以将网络数据包发送给时码同步设备。将摄录内容和NTP时间码封装在一起,形成一个网络数据包。通过网络数据包进行数据传输,同时完成数据传递,由此可以节约数据分开传递的时间。In step S23, a network data packet is generated and saved. to send network packets to the timecode synchronization device. Encapsulate the recorded content and the NTP timecode together to form a network packet. Data transmission is carried out through network data packets, and data transmission is completed at the same time, thereby saving the time for separate transmission of data.

参阅图6所示,为了能够顺利的获取NTP时间码。在本发明第四实施例的基础上,提出本发明的第六实施例。不同摄录设备获取NTP时间码的步骤之前,包括:Referring to Figure 6, in order to obtain the NTP time code smoothly. On the basis of the fourth embodiment of the present invention, a sixth embodiment of the present invention is proposed. Before the steps for different video recording devices to obtain the NTP time code, include:

步骤S24,摄录设备获取运营基站的NTP授时。通过SDK软件工具包获取网络运营基站的NTP授时,通过NTP授时后,摄录设备可以从网络运营基站获取NTP时间码。进一步地,还能够保证时间码来源的一致性,便于时间标准的统一。Step S24, the video recording device obtains the NTP timing of the operating base station. Obtain the NTP time service of the network operation base station through the SDK software toolkit. After the NTP time service is used, the recording device can obtain the NTP time code from the network operation base station. Further, the consistency of time code sources can also be ensured, which facilitates the unification of time standards.

参阅图7所示,本发明还提供一种直播方法的第七实施例。为了使切换台能够同步直播视频内容。直播方法包括:Referring to FIG. 7 , the present invention also provides a seventh embodiment of a live broadcast method. To enable the switcher to synchronize live video content. Live broadcast methods include:

步骤S30,切换台接收时码同步设备发送的直播内容,其中,时码同步设备接收不同摄录设备发送的带有NTP时间码的网络数据包,时码同步设备基于NTP时间码对齐摄录设备的直播时间起点,将对齐直播时间起点的直播内容输出给切换台;通过时码同步设备,将接收到的网络数据中的直播时间点对齐,从而在直播时,不同摄录设备的播放时间可以同步进行。减少播放的延迟产生,提高播放效果。例如,通过NTP时间码显示,手机的直播播放时间起点是102,摄像机的时间起点也是102,麦克风的时间起点也是102,则在直播时手机、摄像机和麦克风的时间起点都对齐至102,从102这个时间点开始同步传输数据,进而保证直播播放的时间同步。不会出现画面和语音不同步的情况。对齐了直播时间起点后,将直播内容输出给切换台。切换台用于将播放直播内容,也可以用于中间转接保存的云平台。由此可知本方案提供了一种时码同步设备,通过时码同步设备集中接收网络数据,并完成直播内容的同步播放。Step S30, the switcher receives the live content sent by the time code synchronization device, wherein the time code synchronization device receives network data packets with NTP time codes sent by different video recording devices, and the time code synchronization device aligns the video recording devices based on the NTP time code The starting point of the live broadcast time, the live broadcast content aligned with the starting point of the live broadcast time is output to the switcher; through the time code synchronization device, the live broadcast time point in the received network data is aligned, so that during the live broadcast, the playback time of different recording devices can be adjusted. Synchronization. Reduce playback delay and improve playback effect. For example, according to the NTP time code display, the starting time of the live broadcast of the mobile phone is 102, the starting time of the camera is also 102, and the starting time of the microphone is also 102, then the time starting point of the mobile phone, the camera and the microphone are all aligned to 102 during the live broadcast, from 102 At this point in time, data is transmitted synchronously, thereby ensuring the time synchronization of live broadcast. There will be no picture and voice out of sync. After aligning the starting point of the live broadcast time, output the live broadcast content to the switcher. The switcher is used to play the live content, and it can also be used for the cloud platform where the intermediate transfer is saved. It can be seen that this solution provides a time code synchronization device, which centrally receives network data through the time code synchronization device, and completes the synchronous playback of live content.

步骤S31,切换台依据直播内容进行直播切换。其中,切换台可以理解为直播内容的中转站,可以理解为直接面向用户的显示终端,例如电脑或是智能手机。Step S31, the switcher performs live switching according to the live content. Among them, the switcher can be understood as a transfer station for live content, and can be understood as a display terminal directly facing the user, such as a computer or a smart phone.

参阅图8所示,本发明还提供一种直播方法的第八实施例。直播方法包括:Referring to FIG. 8 , the present invention also provides an eighth embodiment of a live broadcast method. Live broadcast methods include:

步骤S1,不同摄录设备获取NTP时间码;摄录设备理解为直播工具,例如摄录设备包括手机,平板电脑,摄像机等。在摄录设备中设置SDK(软体开发工具包),通过软件开发工具包来获取NTP时间码。SDK软件开发工具包也可以设置在独立的外接处理装置中,如此,摄录设备直接接收带有NTP时间码的网络数据包。In step S1, different video recording devices obtain the NTP time code; the video recording device is understood as a live broadcast tool, for example, the video recording device includes a mobile phone, a tablet computer, a video camera, and the like. Set the SDK (software development kit) in the recording device, and obtain the NTP time code through the software development kit. The SDK software development kit can also be set in an independent external processing device, so that the video recording device directly receives the network data packets with the NTP time code.

步骤S2,摄录设备将带有NTP时间码的网络数据包发送给时码同步设备;此时可以将摄录内容和NTP时间码封装在一起,形成一个网络数据包。通过网络数据包进行数据传输,同时完成数据传递,由此可以节约数据分开传递的时间。In step S2, the video recording device sends the network data packet with the NTP time code to the time code synchronization device; at this time, the video recording content and the NTP time code can be encapsulated together to form a network data packet. Data transmission is carried out through network data packets, and data transmission is completed at the same time, thereby saving the time for separate transmission of data.

步骤S3,时码同步设备接收不同摄录设备发送的带有NTP时间码的网络数据包;NTP时间码封装在网络数据中。不同的摄录设备都将带有NTP时间码的数据发送给时码同步设备,时码同步设备集中处理接收到的网络数据。时码同步设备将网络数据保存在缓存区。Step S3, the time code synchronization device receives network data packets with NTP time codes sent by different video recording devices; the NTP time codes are encapsulated in the network data. Different video recording devices send data with NTP time code to the time code synchronization device, and the time code synchronization device centrally processes the received network data. The timecode synchronization device saves the network data in the buffer area.

步骤S4,时码同步设备基于NTP时间码对齐摄录设备的直播时间起点;通过时码同步设备,将接收到的网络数据中的直播时间点对齐,从而在直播时,不同摄录设备的播放时间可以同步进行。减少播放的延迟产生,提高播放效果。例如,通过NTP时间码显示,手机的直播播放时间起点是102,摄像机的时间起点也是102,麦克风的时间起点也是102,则在直播时手机、摄像机和麦克风的时间起点都对齐至102,从102这个时间点开始同步传输数据,进而保证直播播放的时间同步。不会出现画面和语音不同步的情况。Step S4, the time code synchronization device aligns the live broadcast time starting point of the video recording device based on the NTP time code; the time code synchronization device aligns the live broadcast time points in the received network data, so that during the live broadcast, different video recording devices play Time can be synchronized. Reduce playback delay and improve playback effect. For example, according to the NTP time code display, the starting time of the live broadcast of the mobile phone is 102, the starting time of the camera is also 102, and the starting time of the microphone is also 102, then the time starting point of the mobile phone, the camera and the microphone are all aligned to 102 during the live broadcast, from 102 At this point in time, data is transmitted synchronously, thereby ensuring the time synchronization of live broadcast. There will be no picture and voice out of sync.

步骤S5,时码同步设备将对齐直播时间起点的直播内容输出给切换台;对齐了直播时间起点后,将直播内容输出给切换台。切换台用于将播放直播内容,也可以用于中间转接保存的云平台。由此可知本方案提供了一种时码同步设备,通过时码同步设备集中接收网络数据,并完成直播内容的同步播放。In step S5, the time code synchronization device outputs the live content aligned with the start point of the live broadcast time to the switcher; after aligning the start point of the live broadcast time, the live broadcast content is output to the switcher. The switcher is used to play the live content, and it can also be used for the cloud platform where the intermediate transfer is saved. It can be seen that this solution provides a time code synchronization device, which centrally receives network data through the time code synchronization device, and completes the synchronous playback of live content.

步骤S6,切换台接收时码同步设备发送的直播内容;其中,切换台可以理解为直播内容的中转站,可以理解为直接面向用户的显示终端,例如电脑或是智能手机。Step S6, the switcher receives the live content sent by the time code synchronization device; wherein the switcher can be understood as a relay station of the live content, and can be understood as a display terminal directly facing the user, such as a computer or a smart phone.

步骤S7,切换台依据直播内容进行直播切换。切换台可以完成直播内容的播放,或者完成直播内容的切换。In step S7, the switcher performs live switching according to the live content. The switcher can complete the playback of live content, or complete the switching of live content.

本发明还提供一种可读存储介质,可读存储介质上存储有直播程序,直播程序被处理器执行时实现如上的直播方法的步骤。处理器调取可读存储介质中的直播程序时,执行以下步骤:The present invention also provides a readable storage medium on which a live broadcast program is stored, and when the live broadcast program is executed by a processor, the steps of the above live broadcast method are implemented. When the processor calls the live broadcast program in the readable storage medium, the following steps are performed:

时码同步设备接收不同摄录设备发送的带有NTP时间码的网络数据包;NTP时间码是一种通过因特网服务于计算机时钟的时间同步协议。NTP提供了一种同步时间机制,能在庞大而复杂多样的因特网中用光速调整时间分配。它使用的是可返回时间设计,分布式子网内的时间服务器,能自我组织操作、分层管理配置,经过有线或无线方式同步子网内的逻辑时钟达到国家标准时间。此外,通过本地路由选择运算法则及时间后台程序,服务器可以重新分配标准时间。NTP时间码封装在直播内容中。不同的摄录设备都将带有NTP时间码的数据发送给时码同步设备,时码同步设备集中处理接收到的网络数据。The time code synchronization device receives network data packets with NTP time code sent by different video recording devices; NTP time code is a time synchronization protocol that serves computer clocks through the Internet. NTP provides a mechanism for synchronizing time, adjusting time distribution at the speed of light in the vast and complex Internet. It uses a returnable time design, a time server in a distributed subnet, which can self-organize operation, manage and configure hierarchically, and synchronize the logical clock in the subnet to reach the national standard time through wired or wireless means. In addition, the server can reallocate standard time through local routing algorithms and time daemons. NTP timecode is encapsulated in live content. Different video recording devices send data with NTP time code to the time code synchronization device, and the time code synchronization device centrally processes the received network data.

时码同步设备基于NTP时间码对齐摄录设备的直播时间起点;通过时码同步设备,将接收到的网络数据中的直播时间点对齐,从而在直播时,不同摄录设备的播放时间可以同步进行。减少播放的延迟产生,提高播放效果。例如,通过NTP时间码显示,手机的直播播放时间起点是102,摄像机的时间起点也是102,麦克风的时间起点也是102,则在直播时手机、摄像机和麦克风的时间起点都对齐至102,从102这个时间点开始同步传输数据,进而保证直播播放的时间同步。不会出现画面和语音不同步的情况。The time code synchronization device aligns the live broadcast time starting point of the video recording device based on the NTP time code; the time code synchronization device aligns the live broadcast time points in the received network data, so that the playback time of different video recording devices can be synchronized during the live broadcast conduct. Reduce playback delay and improve playback effect. For example, according to the NTP time code display, the starting time of the live broadcast of the mobile phone is 102, the starting time of the camera is also 102, and the starting time of the microphone is also 102, then the time starting point of the mobile phone, the camera and the microphone are all aligned to 102 during the live broadcast, from 102 At this point in time, data is transmitted synchronously, thereby ensuring the time synchronization of live broadcast. There will be no picture and voice out of sync.

将对齐直播时间起点的直播内容输出给切换台。对齐了直播时间起点后,将直播内容输出给切换台。切换台用于将播放直播内容,也可以用于中间转接保存的云平台。由此可知本方案提供了一种时码同步设备,通过时码同步设备集中接收网络数据,并完成直播内容的同步播放。Output the live content aligned with the starting point of the live broadcast time to the switcher. After aligning the starting point of the live broadcast time, output the live broadcast content to the switcher. The switcher is used to play the live content, and it can also be used for the cloud platform where the intermediate transfer is saved. It can be seen that this solution provides a time code synchronization device, which centrally receives network data through the time code synchronization device, and completes the synchronous playback of live content.

本发明可读存储介质具体实施方式可以参照上述直播方法其他实施例,在此不再赘述。For the specific implementation manner of the readable storage medium of the present invention, reference may be made to other embodiments of the above-mentioned live broadcast method, and details are not described herein again.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or system comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or system. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article or system that includes the element.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages or disadvantages of the embodiments.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on such understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM) as described above. , magnetic disk, optical disc), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.

以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是在本发明的发明构思下,利用本发明说明书及附图内容所作的等效结构变换,或直接/间接运用在其他相关的技术领域均包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Under the inventive concept of the present invention, the equivalent structure transformation made by the contents of the description and drawings of the present invention, or directly/indirectly applied to other All relevant technical fields are included in the scope of patent protection of the present invention.

Claims (10)

Translated fromChinese
1.一种直播方法,其特征在于,所述直播方法包括:1. a live broadcast method, is characterized in that, described live broadcast method comprises:时码同步设备接收不同摄录设备发送的带有NTP时间码的网络数据包;The time code synchronization device receives network data packets with NTP time codes sent by different video recording devices;所述时码同步设备基于所述NTP时间码对齐所述摄录设备的直播时间起点;The time code synchronization device aligns the live broadcast time starting point of the video recording device based on the NTP time code;将对齐直播时间起点的直播内容输出给切换台。Output the live content aligned with the starting point of the live broadcast time to the switcher.2.如权利要求1所述的直播方法,其特征在于,所述时码同步设备基于所述NTP时间码对齐所述摄录设备的直播时间起点的步骤,包括:2. The live broadcast method according to claim 1, wherein the step of the time code synchronization device aligning the live broadcast time starting point of the video recording device based on the NTP time code comprises:获取网络数据包并保存;Get network data packets and save them;提取所述网络数据包中的NTP时间码,并依据时间顺序对所述NTP时间码持续计数;extracting the NTP time code in the network data packet, and continuously counting the NTP time code according to the time sequence;若不同的所述网络数据包中包括相同的NTP时间码,则从该相同NTP时间码位置对齐直播时间点。If the different network data packets include the same NTP time code, the live broadcast time point is aligned from the position of the same NTP time code.3.如权利要求2所述的直播方法,其特征在于,所述从相同NTP时间码位置对齐直播时间点的步骤中,所述NTP时间码是连续的且连续数量大于等于3。3 . The live broadcast method according to claim 2 , wherein in the step of aligning the live broadcast time points from the same NTP time code position, the NTP time codes are continuous and the number of consecutive times is greater than or equal to 3. 4 .4.如权利要求2或3所述的直播方法,其特征在于,所述将对齐直播时间起点的直播内容输出给切换台的步骤之前,包括:4. The live broadcast method of claim 2 or 3, wherein before the step of outputting the live broadcast content aligned with the live broadcast time starting point to the switcher, the method comprises:释放所述时码同步设备保存的网络数据包。Release the network data packets saved by the time code synchronization device.5.一种直播方法,其特征在于,所述直播方法包括:5. a live broadcast method, it is characterised in that the live broadcast method comprises:不同摄录设备获取NTP时间码;Obtain NTP time code from different video recording devices;所述摄录设备将带有所述NTP时间码的网络数据包发送给时码同步设备,其中,所述时码同步设备基于所述NTP时间码对齐所述摄录设备的直播时间起点,并将对齐直播时间起点的直播内容输出给切换台。The video recording device sends the network data packet with the NTP time code to the time code synchronization device, wherein the time code synchronization device aligns the live broadcast time starting point of the video recording device based on the NTP time code, and Output the live content aligned with the starting point of the live broadcast time to the switcher.6.如权利要求5所述的直播方法,其特征在于,所述不同摄录设备获取NTP时间码的步骤之后,包括:6. The live broadcast method according to claim 5, wherein after the step of acquiring the NTP time code by the different video recording devices, the method comprises:将所述摄录设备的摄录内容和所述NTP时间码进行封装;Encapsulate the recording content of the recording device and the NTP time code;生成网络数据包并保存。Generate network packets and save.7.如权利要求5或6所述的直播方法,其特征在于,所述不同摄录设备获取NTP时间码的步骤之前,包括:7. The live broadcast method according to claim 5 or 6, wherein before the step of acquiring the NTP time code by the different video recording devices, the method comprises:所述摄录设备获取运营基站的NTP授时。The recording device obtains the NTP timing of the operating base station.8.一种直播方法,其特征在于,所述直播方法包括:8. A live broadcast method, characterized in that the live broadcast method comprises:切换台接收时码同步设备发送的直播内容,其中,所述时码同步设备接收不同摄录设备发送的带有NTP时间码的网络数据包,所述时码同步设备基于所述NTP时间码对齐所述摄录设备的直播时间起点,将对齐直播时间起点的直播内容输出给切换台;The switcher receives live content sent by a time code synchronization device, wherein the time code synchronization device receives network data packets with NTP time codes sent by different video recording devices, and the time code synchronization device is aligned based on the NTP time codes The starting point of the live broadcast time of the video recording device, outputting the live broadcast content aligned with the starting point of the live broadcast time to the switcher;所述切换台依据所述直播内容进行直播切换。The switcher performs live switching according to the live content.9.一种直播方法,其特征在于,所述直播方法包括:9. A live broadcast method, characterized in that the live broadcast method comprises:不同摄录设备获取NTP时间码;Obtain NTP time code from different video recording devices;所述摄录设备将所述带有NTP时间码的网络数据包发送给时码同步设备;The video recording device sends the network data packet with the NTP time code to the time code synchronization device;所述时码同步设备接收不同摄录设备发送的带有NTP时间码的网络数据包;The time code synchronization device receives network data packets with NTP time codes sent by different video recording devices;所述时码同步设备基于所述NTP时间码对齐所述摄录设备的直播时间起点;The time code synchronization device aligns the live broadcast time starting point of the video recording device based on the NTP time code;所述时码同步设备将对齐直播时间起点的直播内容输出给切换台;The time code synchronization device outputs the live content aligned with the starting point of the live broadcast time to the switcher;所述切换台接收时码同步设备发送的直播内容;The switcher receives the live content sent by the time code synchronization device;所述切换台依据所述直播内容进行直播切换。The switcher performs live switching according to the live content.10.一种可读存储介质,其特征在于,所述可读存储介质上存储有直播程序,所述直播程序被处理器执行时实现如权利要求1至9中任一项所述的直播方法的步骤。10. A readable storage medium, wherein a live broadcast program is stored on the readable storage medium, and when the live broadcast program is executed by a processor, the live broadcast method according to any one of claims 1 to 9 is realized A step of.
CN202210433609.2A2022-04-242022-04-24Live broadcast method and readable storage mediumActiveCN114554242B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210433609.2ACN114554242B (en)2022-04-242022-04-24Live broadcast method and readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210433609.2ACN114554242B (en)2022-04-242022-04-24Live broadcast method and readable storage medium

Publications (2)

Publication NumberPublication Date
CN114554242Atrue CN114554242A (en)2022-05-27
CN114554242B CN114554242B (en)2022-08-05

Family

ID=81666988

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210433609.2AActiveCN114554242B (en)2022-04-242022-04-24Live broadcast method and readable storage medium

Country Status (1)

CountryLink
CN (1)CN114554242B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2004040579A (en)*2002-07-042004-02-05Mitsubishi Electric Corp Digital broadcast receiving apparatus and digital broadcast synchronous reproduction method
CN101047776A (en)*2006-04-172007-10-03华为技术有限公司Mobile broadcast network system and method for implementing synchronous of the network
CN101193311A (en)*2006-12-212008-06-04腾讯科技(深圳)有限公司Audio and video data synchronization method in P2P system
CN101632263A (en)*2007-01-092010-01-20Tdf公司 Server and client terminal and method for sending/receiving data in real time in packet mode
CN105245977A (en)*2015-10-102016-01-13上海慧体网络科技有限公司Method for synchronous live broadcast through multiple cameras
CN109495760A (en)*2018-12-252019-03-19虎扑(上海)文化传播股份有限公司A kind of method of multiple groups camera live broadcasting
CN110213017A (en)*2019-04-302019-09-06普联技术有限公司A kind of data transmission method, device, system, storage medium and terminal device
CN110896464A (en)*2019-11-192020-03-20北京奇艺世纪科技有限公司Audio data generation method, device and system and controller
CN111343401A (en)*2018-12-182020-06-26华为技术有限公司Frame synchronization method and device
CN112004102A (en)*2020-08-032020-11-27杭州当虹科技股份有限公司Multi-camera picture synchronization method based on IP live stream
CN112114615A (en)*2020-08-312020-12-22济南浪潮高新科技投资发展有限公司 A cross-clock domain data synchronization circuit, method and device
CN112866733A (en)*2021-01-052021-05-28广东中兴新支点技术有限公司Cloud director synchronization system and method of multiple live devices
CN113055193A (en)*2021-03-162021-06-29盛立安元科技(杭州)股份有限公司Data multicast transmission method, device, equipment and storage medium
CN113163222A (en)*2021-03-312021-07-23杭州奥点科技股份有限公司Video frame synchronization method, system, equipment and readable storage medium
CN113453086A (en)*2021-03-292021-09-28北京国际云转播科技有限公司Multi-machine-position synchronous cloud broadcasting guiding method, system, storage medium and video encoder

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2004040579A (en)*2002-07-042004-02-05Mitsubishi Electric Corp Digital broadcast receiving apparatus and digital broadcast synchronous reproduction method
CN101047776A (en)*2006-04-172007-10-03华为技术有限公司Mobile broadcast network system and method for implementing synchronous of the network
CN101193311A (en)*2006-12-212008-06-04腾讯科技(深圳)有限公司Audio and video data synchronization method in P2P system
CN101632263A (en)*2007-01-092010-01-20Tdf公司 Server and client terminal and method for sending/receiving data in real time in packet mode
CN105245977A (en)*2015-10-102016-01-13上海慧体网络科技有限公司Method for synchronous live broadcast through multiple cameras
CN111343401A (en)*2018-12-182020-06-26华为技术有限公司Frame synchronization method and device
CN109495760A (en)*2018-12-252019-03-19虎扑(上海)文化传播股份有限公司A kind of method of multiple groups camera live broadcasting
CN110213017A (en)*2019-04-302019-09-06普联技术有限公司A kind of data transmission method, device, system, storage medium and terminal device
CN110896464A (en)*2019-11-192020-03-20北京奇艺世纪科技有限公司Audio data generation method, device and system and controller
CN112004102A (en)*2020-08-032020-11-27杭州当虹科技股份有限公司Multi-camera picture synchronization method based on IP live stream
CN112114615A (en)*2020-08-312020-12-22济南浪潮高新科技投资发展有限公司 A cross-clock domain data synchronization circuit, method and device
CN112866733A (en)*2021-01-052021-05-28广东中兴新支点技术有限公司Cloud director synchronization system and method of multiple live devices
CN113055193A (en)*2021-03-162021-06-29盛立安元科技(杭州)股份有限公司Data multicast transmission method, device, equipment and storage medium
CN113453086A (en)*2021-03-292021-09-28北京国际云转播科技有限公司Multi-machine-position synchronous cloud broadcasting guiding method, system, storage medium and video encoder
CN113163222A (en)*2021-03-312021-07-23杭州奥点科技股份有限公司Video frame synchronization method, system, equipment and readable storage medium

Also Published As

Publication numberPublication date
CN114554242B (en)2022-08-05

Similar Documents

PublicationPublication DateTitle
CN111147907B (en)Method, device and system for synchronously playing multiple intelligent terminals and intelligent terminal
JP7120997B2 (en) Multi-mode synchronous rendering of audio and video
CN109565466B (en)Lip sound synchronization method and device among multiple devices
TWI501673B (en)Method of synchronized playing video and audio data and system thereof
US11368634B2 (en)Audio stream and video stream synchronous switching method and apparatus
CN109168059B (en) A lip synchronization method for playing audio and video separately on different devices
CN107995503B (en)Audio and video playing method and device
CN101674486A (en)Streaming media audio and video synchronization method and system
CN105791939A (en)Audio and video synchronization method and apparatus
WO2010080441A2 (en)Synchronization of a plurality of data streams
US20240292044A1 (en)Method, apparatus, electronic device and storage medium for audio and video synchronization monitoring
CN106331820B (en)Audio and video synchronization processing method and device
WO2023231478A1 (en)Audio and video sharing method and device, and computer-readable storage medium
CN114979793B (en) Live data transmission method, device, system, equipment and medium
CN110177294A (en)Player audio and video synchronization method and system, storage medium and terminal
CN114554242B (en)Live broadcast method and readable storage medium
CN114189727B (en)Synchronous playing method, device, system, electronic equipment and readable storage medium
CN101512955A (en) Method and device for synchronizing applications of terminals in a communication network
CN112671696B (en)Message transmission method, device, computer equipment and computer storage medium
CN113992639B (en) Audio and video processing method and device
CN115174981B (en)Remote joint singing method, device, equipment and storage medium based on micro-service
CN116455497B (en)Timing synchronization method device for mobile communication network and television broadcast network, electronic equipment and computer readable storage medium
CN118523862A (en)Synchronization method, device and system
WO2024260342A1 (en)Wireless screen mirroring method and apparatus
CN115442786A (en) Bluetooth synchronization method, system, Bluetooth device, and computer-readable storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp