[go: up one dir, main page]

CN100568958C - Program remote editing method based on network - Google Patents

Program remote editing method based on network Download PDF

Info

Publication number
CN100568958C
CN100568958C CN 200710063947 CN200710063947A CN100568958C CN 100568958 C CN100568958 C CN 100568958C CN 200710063947 CN200710063947 CN 200710063947 CN 200710063947 A CN200710063947 A CN 200710063947A CN 100568958 C CN100568958 C CN 100568958C
Authority
CN
China
Prior art keywords
frame
data
client computer
program
server
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
CN 200710063947
Other languages
Chinese (zh)
Other versions
CN101014118A (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.)
Chengdu Sobey Digital Technology Co Ltd
Original Assignee
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 Chengdu Sobey Digital Technology Co Ltd filed Critical Chengdu Sobey Digital Technology Co Ltd
Priority to CN 200710063947 priority Critical patent/CN100568958C/en
Publication of CN101014118A publication Critical patent/CN101014118A/en
Priority to PCT/CN2007/002925 priority patent/WO2008098441A1/en
Application granted granted Critical
Publication of CN100568958C publication Critical patent/CN100568958C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/034Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a remote editing method of data, in particular to a program remote editing method based on a network. Transmitting the mirror image program data information of the pre-made low-data-volume program file to be edited to a client computer from a server through a remote network; when the client computer browses or edits a certain frame through the mirror image program data information, the server transmits the current frame data to the client computer in real time; the client computer edits and dots the program and records the frame sequence number corresponding to the start point and the stop point; the client computer generates the recorded information into editing control information and transmits the editing control information to the server; and the server extracts corresponding program frame data from the associated high-bit-rate program file according to the editing control information to form a program editing file. The invention realizes the smooth playing and the accurate editing of the frame of the remote program file under the condition of a complex high-delay network.

Description

一种基于网络的节目远程编辑方法 A Method for Remote Editing of Programs Based on Network

技术领域 technical field

本发明一种基于网络的节目远程编辑方法,涉及一种数据的远程编辑方法,尤其是一种基于网络的节目远程编辑方法。The invention relates to a method for remotely editing programs based on a network, and relates to a method for remotely editing data, in particular to a method for remotely editing programs based on a network.

背景技术 Background technique

电视台为便于对媒体节目素材的数字化管理和编辑,都采用将媒体节目素材分别存储为用于编辑的低码率(码率,BitRate)节目文件和符合播放的高清晰度的高码率节目文件,高低码率的节目文件仅仅是在分辨率,即码率上存在差异。编辑时,通过对低码率节目文件进行编辑,确定需要选取的节目帧起点和终点,然后由计算机系统根据设定的低码率节目文件和高码率节目文件之间的关联关系或设定的指向高码率节目文件的路径自动从对应的高码率节目文件中取出与之编辑选取的节目帧数据,生成编辑后的满足播放条件的媒体节目进行存储或直接播放。节目的编辑工作通常都是在制作单位内部完成。在下面叙述中将低码率节目文件称为“源节目文件”。In order to facilitate the digital management and editing of media program materials, TV stations store media program materials as low-bit-rate (bitrate) program files for editing and high-definition high-bit-rate program files for playback. , Program files with high and low bit rates are only different in resolution, that is, in bit rate. When editing, by editing the low-bit-rate program file, determine the starting point and end point of the program frame to be selected, and then the computer system will use the set relationship or setting between the low-bit-rate program file and the high-bit-rate program file The path pointing to the high-bit-rate program file automatically extracts the edited and selected program frame data from the corresponding high-bit-rate program file, and generates an edited media program that meets the playback conditions for storage or direct playback. Program editing is usually done in-house. In the following description, the low bit rate program file is called "source program file".

随着数字技术和网络技术的发展,为节目的远程编辑生产提供了可能,媒体的内容制作和数据共享,将并不仅仅局限于传统的制作单位内部,节目的制作范围将逐步扩大到电视台以外的任何一个有IP网络支持的地点,媒体节目在全球范围的共享制作播出技术已经逐步开始。但是由于网络拥塞、传输路径过长导致访问延迟过大等问题一直困扰着用户,特别是在超远程的网络环境下(例如6000公里以上),由于网络中继环节过多,即使是租用带宽足够大的专用线路,也存在着距离越远网络延时就越长的现象,甚至达到600ms以上。在这种情况下,就连最基本的视音频节目素材的远程播放都会非常困难,出现断断续续的卡、顿等现象,更难以实现对节目素材进行精确的远程节目编辑,而网络延时的问题受网络设备本身的性能和技术限制,从硬件方面是难以解决的。With the development of digital technology and network technology, it is possible to edit and produce programs remotely. Media content production and data sharing will not be limited to traditional production units, and the scope of program production will gradually expand beyond TV stations. In any location with IP network support, the shared production and broadcast technology of media programs on a global scale has gradually begun. However, users have been plagued by problems such as network congestion and long transmission paths leading to excessive access delays, especially in ultra-remote network environments (for example, more than 6,000 kilometers). Due to too many network relay links, even if the leased bandwidth is sufficient For large dedicated lines, the longer the distance, the longer the network delay, even reaching more than 600ms. In this case, even the remote playback of the most basic video and audio program materials will be very difficult, and there will be intermittent stuttering and stuttering, and it is even more difficult to realize accurate remote program editing of program materials, and the problem of network delay Limited by the performance and technology of the network equipment itself, it is difficult to solve it from the aspect of hardware.

目前,国内外实现节目远程编辑的普遍做法是首先通过标准流媒体协议,如微软的WMS协议或REAL NETWORK的RA协议,进行远程预览,待选中符合要求的节目后,将其低码率素材从服务器端通过FTP传输协议下载到客户端本地后再进行编辑,然后再将编辑结果打包后回传到高码率节目文件所在地,进行节目转码合成,生成编辑后的视音频文件。但这种方法有以下不足之处:At present, the common way to realize remote editing of programs at home and abroad is to firstly perform remote preview through standard streaming media protocols, such as Microsoft's WMS protocol or REAL NETWORK's RA protocol. The server side downloads it to the local client side through the FTP transfer protocol and then edits it. Then, the edited results are packaged and sent back to the location of the high-bit rate program file, and the program is transcoded and synthesized to generate the edited video and audio files. But this method has the following disadvantages:

(1)为实现远程预览,每一素材除具有节目编辑所需要的高低码率节目素材外,还需要另外生成一定格式的流媒体文件,不但占用大量的磁盘空间,而且需要支出额外的转码时间;(1) In order to realize remote preview, in addition to the high and low bit rate program materials required for program editing, each material also needs to generate a certain format of streaming media files, which not only takes up a lot of disk space, but also requires additional transcoding time;

(2)利用流媒体技术进行远程预览时,受流媒体技术本身的限制,只能实现顺序播放,不能随意搜寻、查找、拖拽,更不能实现帧精确的远程编辑;(2) When using streaming media technology for remote preview, due to the limitation of streaming media technology itself, it can only realize sequential playback, and cannot search, search, drag and drop at will, let alone realize frame-accurate remote editing;

(3)低码率节目需要下载后再进行本地编辑,由于网络的高延时特性,将会需要较长的网络下载时间,时效性较差;(3) Low bit rate programs need to be downloaded and then edited locally. Due to the high delay characteristics of the network, it will take a long time to download from the network, and the timeliness is poor;

(4)编辑过程中传输的时拟编辑节目的所有节目帧数据,数据量大,网络传输负担重,不利于有限的网络资源的充分利用。(4) All the program frame data of the program to be edited are transmitted during the editing process, the data volume is large, and the network transmission burden is heavy, which is not conducive to the full utilization of limited network resources.

发明内容 Contents of the invention

本发明所解决的技术问题在于提供一种基于网络的节目远程编辑方法,以能在高延时的超远程网络环境,无需将拟编辑素材的节目数据下载到本地网络的前提下,对节目数据的实时远程平滑浏览编辑。The technical problem to be solved by the present invention is to provide a network-based remote program editing method, so that in the high-delay ultra-remote network environment, without downloading the program data of the material to be edited to the local network, the real-time editing of the program data can be performed. Remote smooth browsing editor.

为了实现上述目的,本发明提供了一种基于网络的节目远程编辑方法,应用于现有的服务器、客户端计算机以及网络设备组成的网络中,其特征在于,包括以下步骤:In order to achieve the above object, the present invention provides a network-based program remote editing method, which is applied to a network composed of existing servers, client computers and network devices, and is characterized in that it includes the following steps:

(1)服务器CPU从所述服务器的媒体素材库中取出源节目文件数据,并从该文件数据中提取信息和帧数据建立与源节目文件数据关联的镜像节目数据信息,并保存到所述服务器的媒体素材库中,其中,所述提取的信息包括:帧数据的起点、偏移量;(1) The server CPU takes out the source program file data from the media material library of the server, and extracts information and frame data from the file data to establish mirror image program data information associated with the source program file data, and saves it to the server In the media material library, wherein, the information extracted includes: the starting point and the offset of the frame data;

(2)服务器根据所述客户端计算机发出的请求,将客户端计算机选中的镜像节目数据信息通过网络设备传到客户端计算机上;(2) The server transmits the mirrored program data information selected by the client computer to the client computer through the network equipment according to the request sent by the client computer;

(3)所述客户端CPU将该镜像节目数据信息解析,并在所述客户端计算机的显示设备上显示;(3) the client CPU parses the mirrored program data information, and displays it on the display device of the client computer;

(4)当所述客户端计算机中的输入设备接收到用户的控制信息时,客户端CPU根据输入设备的控制信息,从解析后的镜像节目数据信息中取出当前帧数据的起点和偏移量,并向服务器发出传输请求,服务器从其媒体素材库中取出当前帧数据并通过网络设备传送到客户端计算机,经客户端计算机解析还原后在其显示设备上显示;(4) When the input device in the client computer receives the user's control information, the client CPU takes out the starting point and offset of the current frame data from the analyzed mirror image program data information according to the control information of the input device , and send a transmission request to the server, the server takes out the current frame data from its media material library and transmits it to the client computer through the network device, and displays it on the display device after the client computer parses and restores it;

(5)当客户端CPU根据输入设备采集到选中当前帧的控制信息,取出当前帧的帧序数作为编辑段落的起点或终点,存入客户端计算机中的缓存器中;返回步骤(4)重复执行,直到所述编辑段落的起点和终点分别对应的帧序数都存入客户端计算机中的缓存器;(5) When the client CPU collects the control information of selecting the current frame according to the input device, take out the frame sequence number of the current frame as the starting point or end point of the edited paragraph, and store it in the buffer memory in the client computer; return to step (4) and repeat Execute until the frame numbers corresponding to the start point and the end point of the editing paragraph are all stored in the buffer in the client computer;

(6)所述客户端CPU从所述缓存器中取出步骤(3)中从所述镜像节目数据信息中解析出的关联信息和步骤(5)记录的编辑段落的起点和终点分别对应的帧序数,生成编辑控制信息,存储在客户端计算机的存储设备中,和/或通过网络发送到服务器上。(6) The client CPU fetches from the cache memory the associated information parsed from the mirror image program data information in step (3) and the frames corresponding to the start and end points of the edited paragraph recorded in step (5) ordinal, generate edit control information, store it in a storage device on the client computer, and/or send it over a network to a server.

本发明所述的节目远程编辑方法,其中,进一步包括:The program remote editing method described in the present invention further includes:

(7)所述服务器CPU根据编辑控制信息,从关联的高码率节目数据中取出对应的节目帧数据,生成节目编辑数据,并通过网络保存到节目播放设备存储器,和/或节目播放设备缓存器中、和/或客户端计算机的存储设备中。(7) The server CPU extracts the corresponding program frame data from the associated high-bit-rate program data according to the editing control information, generates program editing data, and saves the program data to the memory of the program playback device through the network, and/or the cache of the program playback device server, and/or storage device on the client computer.

本发明所述的节目远程编辑方法,其中,所述步骤(1)包括:The program remote editing method according to the present invention, wherein the step (1) includes:

服务器CPU从所述服务器的媒体素材库中取出源节目文件数据并打开,依次提取元数据信息,索引信息中的帧序列、每帧数据的起点及偏移量、以及必要帧数据,在媒体素材库中建立与源节目文件数据关联的镜像节目数据信息,所述镜像节目数据信息中依次写入关联该源节目文件及对应的高码率节目文件的路径信息、提取的元数据信息、帧序列、每帧数据的起点及偏移量、以及必要帧数据,并存储;其中,所述元数据信息包括:编码格式、总帧数、关键帧间距;所述必要帧数据为首帧数据、其他关键帧数据和/或尾帧数据。The server CPU takes out the source program file data from the media material storehouse of the server and opens it, and extracts the metadata information, the frame sequence in the index information, the starting point and offset of each frame data, and the necessary frame data in the media material. The image program data information associated with the source program file data is established in the library, and the path information associated with the source program file and the corresponding high bit rate program file, the extracted metadata information, and the frame sequence are sequentially written in the image program data information. , the starting point and offset of each frame data, and necessary frame data, and store them; wherein, the metadata information includes: encoding format, total frame number, key frame interval; the necessary frame data is the first frame data, other key frame data and/or tail frame data.

上面所述的节目远程编辑方法,其中,所述步骤(3)包括:The program remote editing method described above, wherein, the step (3) includes:

所述客户端CPU从客户端计算机的存储设备中取出镜像节目数据信息打开并解析,在客户端计算机的显示设备上显示编辑桌面,并根据编码格式,启动客户端计算机的解码器解码还原必要帧图像在所述编辑桌面的浏览窗口显示;并在该编辑桌面上显示帧坐标轴、描述坐标轴坐标点与源节目文件中对应的帧数据起点和偏移量建立的关联,以及显示图像与帧坐标轴上的滑块位置对应关系;The client CPU takes out the mirrored program data information from the storage device of the client computer and analyzes it, displays the editing desktop on the display device of the client computer, and starts the decoder of the client computer to decode and restore the necessary frames according to the encoding format The image is displayed in the browsing window of the editing desktop; and the frame coordinate axis is displayed on the editing desktop, the relationship between the coordinate point of the coordinate axis and the corresponding starting point and offset of the frame data in the source program file is displayed, and the image and the frame are displayed The corresponding relationship between the position of the slider on the coordinate axis;

其中,所述步骤(4)包括:Wherein, described step (4) comprises:

(41)当用户通过所述客户端计算机的输入设备去控制显示设备上显示编辑桌面中的滑块在坐标轴上滑动到某一坐标点时,所述客户端CPU获得该滑块所指定的帧,并根据元数据信息提供的关键帧间距,对其进行关键帧判断,如果该帧为关键帧则转入步骤(44),如果为非关键帧则转入步骤(42);(41) When the user uses the input device of the client computer to control the slider displayed on the display device to slide to a certain coordinate point on the coordinate axis, the client CPU obtains the slider specified by the slider. Frame, and according to the key frame distance that metadata information provides, carry out key frame judgment to it, if this frame is key frame then go to step (44), if then go to step (42) for non-key frame;

(42)所述客户端CPU通过关键帧间距和该滑块所指定的帧,根据编码格式计算前一关键帧帧序数;(42) The client CPU calculates the frame number of the previous key frame according to the encoding format through the frame specified by the key frame interval and the slider;

(43)所述客户端CPU根据当前帧帧序数和步骤(42)确定的前一关键帧帧序数,通过坐标点与帧数据起点和偏移量建立的关联确定并取出选中帧和关键帧的数据起点和偏移量存入客户端计算机中的缓存器,转入步骤(45);(43) The client CPU determines and takes out the selected frame and the key frame according to the frame number of the previous key frame determined by the current frame number and the frame number of the step (42), through the association between the coordinate point and the starting point of the frame data and the offset. The data starting point and the offset are stored in the buffer in the client computer, and turn to step (45);

(44)所述客户端CPU根据帧坐标点与帧数据起点和偏移量建立的关联确定并取出选中帧的数据起点和偏移量存入客户端计算机中的缓存器,转入步骤(45);(44) the client CPU determines and takes out the data starting point and the offset of the selected frame according to the association established between the frame coordinate point and the frame data starting point and the offset and stores them in the buffer memory in the client computer, and then proceeds to step (45) );

(45)所述客户端CPU通过网络,向服务器发出数据传输请求,并从客户端计算机的缓存器中取出数据起点和偏移量及源节目文件路径送到服务器上;(45) The client CPU sends a data transmission request to the server through the network, and takes out the starting point and offset of the data and the path of the source program file from the buffer of the client computer and sends them to the server;

(46)所述服务器CPU根据收到的上述数据传输请求及数据信息从服务器的媒体素材库中取出符合要求的数据;(46) The server CPU retrieves the required data from the media material library of the server according to the received data transmission request and data information;

(47)所述服务器CPU将取出符合要求的数据通过网络设备送到客户端计算机;(47) The server CPU will take out the data that meets the requirements and send it to the client computer through the network equipment;

(48)所述客户端计算机收到上述数据,通过启动客户端计算机的解码器将数据解码还原为图像在显示设备中显示,并返回步骤(41)继续执行;(48) The client computer receives the above-mentioned data, decodes the data and restores the image to display in the display device by starting the decoder of the client computer, and returns to step (41) to continue execution;

其中,所述步骤(41)进一步包括:Wherein, the step (41) further includes:

当在指向帧序数步骤中,编辑桌面上的滑块在单位时间内在帧坐标轴上快速移动通过的帧数超过指定的数据时,客户端CPU只确定并指向滑块在帧坐标轴上的暂停或停止点对应的帧。When in the step of pointing to the frame number, the number of frames that the slider on the editing desktop moves quickly on the frame coordinate axis per unit time exceeds the specified data, the client CPU only determines and points to the pause of the slider on the frame coordinate axis or the frame corresponding to the stopping point.

前面所述的节目远程编辑方法,其中,所述步骤(5)中进一步包括:The aforementioned program remote editing method, wherein the step (5) further includes:

用户通过客户端计算机中的输入设备控制编辑桌面的打点操作,客户端CPU记录下即时滑块所在帧坐标轴上对应的帧序数,并存入客户端计算机中的缓存器,然后返回步骤(4)继续执行,直到编辑打点结束;The user controls the dot operation of the editing desktop through the input device in the client computer, and the client CPU records the corresponding frame number on the frame coordinate axis where the instant slider is located, and stores it in the buffer in the client computer, and then returns to step (4 ) continue to execute until the end of editing;

上面所述的节目远程编辑方法,其中,所述步骤(5)中进一步包括:The program remote editing method described above, wherein, the step (5) further includes:

所述客户端CPU将记录下的帧序数存入客户端计算机缓存器时,检测该缓存器是否存在一个帧序数,如果有则比较所述记录下的帧序数和所述缓存器中存在的帧序数,以二者在帧坐标轴上的顺序依次确认为本编辑段落的起点和终点存入该缓存器中;如果没有则默认为本编辑段落的起点,并存入该缓存器中。When the client CPU stores the recorded frame number into the client computer buffer, it detects whether there is a frame number in the buffer, and if so, compares the recorded frame number with the frame existing in the buffer The ordinal number is confirmed in turn as the starting point and end point of the edited paragraph and stored in the buffer according to the order of the two on the frame coordinate axis; if not, it is defaulted as the starting point of the edited paragraph and stored in the buffer.

本发明所述的节目远程编辑方法,其中,所述步骤(4)进一步包括:The program remote editing method according to the present invention, wherein the step (4) further includes:

所述客户端计算机的客户端CPU执行用户通过输入设备增加一个段落标记,并通过显示设备显示;The client CPU of the client computer executes the user to add a paragraph mark through the input device, and displays it through the display device;

所述步骤(5)进一步包括:Described step (5) further comprises:

客户端计算机的客户端CPU执行用户通过输入设备调整各个段落的顺序,并重新存入客户端计算机的缓存器中;The client CPU of the client computer executes the user to adjust the order of each paragraph through the input device, and re-stores it in the buffer memory of the client computer;

客户端计算机的客户端CPU执行用户通过输入设备删除当前选中的段落,并从客户端计算机的缓存器中清除对应的数据;并确定是否执行添加段落标记。The client CPU of the client computer executes the user to delete the currently selected paragraph through the input device, and clears the corresponding data from the buffer memory of the client computer; and determines whether to execute adding a paragraph mark.

本发明所述的节目远程编辑方法,其中,所述服务器,包括:与客户端计算机处于同一局域网或城域网的边缘服务器,用于提供源节目文件和镜像节目数据信息;The program remote editing method according to the present invention, wherein, the server includes: an edge server in the same local area network or metropolitan area network as the client computer, which is used to provide source program files and mirror image program data information;

所述步骤(2)中进一步包括:In described step (2), further comprise:

所述客户端计算机首先向边缘服务器发出请求,查找所述边缘服务器的媒体素材库中是否存在需要的镜像节目数据信息,如果存在,则客户端计算机从边缘服务器直接获得需要的镜像节目数据信息;如果不存在,则客户端计算机再向除所述边缘服务器之外的服务器发出请求,所述服务器将客户端计算机选中的镜像节目数据信息通过网络设备传到客户端计算机上,并存储到与该客户端计算机处于同一局域网或城域网的边缘服务器上。The client computer first sends a request to the edge server to find out whether there is required mirror image program data information in the media material library of the edge server, and if it exists, the client computer directly obtains the required mirror image program data information from the edge server; If it does not exist, then the client computer sends a request to a server other than the edge server, and the server transmits the mirrored program data information selected by the client computer to the client computer through the network equipment, and stores it in the same location as the edge server. The client computer is on the edge server on the same LAN or MAN.

本发明所述的节目远程编辑方法实现了在复杂高延时网络条件下,远程节目文件的流畅播放和帧的精确编辑,有效的解决了以往在这种网络条件下,只能通过流媒体技术进行播放而无法实现帧精确编辑的难题。本发明可直接应用于远程节目协同制作网络、远程节目片段快速回传等应用。The program remote editing method described in the present invention realizes the smooth playback of remote program files and the precise editing of frames under complex and high-delay network conditions, and effectively solves the problem that in the past under such network conditions, it can only be played by streaming media technology However, the problem of frame-accurate editing cannot be achieved. The present invention can be directly applied to remote program cooperative production network, fast return of remote program fragments and other applications.

附图说明 Description of drawings

图1为本发明所述实施例的基于网络的节目远程编辑方法的系统结构框图;Fig. 1 is the system structural block diagram of the program remote editing method based on the network of the embodiment of the present invention;

图2为本发明所述实施例的基于网络的节目远程编辑方法的数据传输框图;Fig. 2 is a data transmission block diagram of the network-based program remote editing method according to the embodiment of the present invention;

图3为本发明所述实施例的基于网络的节目远程编辑方法中的源节目文件数据结构图;3 is a data structure diagram of source program files in the network-based program remote editing method according to the embodiment of the present invention;

图4为本发明所述实施例的基于网络的节目远程编辑方法中的镜像节目数据信息数据结构图;4 is a data structure diagram of mirror image program data information in the network-based program remote editing method according to the embodiment of the present invention;

图5为本发明所述实施例的基于网络的节目远程编辑方法中的编辑控制信息数据结构图;5 is a data structure diagram of editing control information in the network-based remote program editing method according to the embodiment of the present invention;

图6为本发明所述实施例的基于网络的节目远程编辑方法中的客户端计算机的显示设备上显示的编辑桌面示意图;6 is a schematic diagram of the editing desktop displayed on the display device of the client computer in the network-based program remote editing method according to the embodiment of the present invention;

图7为本发明所述实施例的一种基于网络的节目远程编辑方法的主流程图;FIG. 7 is a main flow chart of a network-based program remote editing method according to the embodiment of the present invention;

图8为图7中步骤B1建立镜像节目信息的流程图;Fig. 8 is the flow chart that step B1 among Fig. 7 establishes mirror image program information;

图9为图7中步骤B4打开镜像节目信息的流程图;Fig. 9 is the flow chart that step B4 opens mirror image program information among Fig. 7;

图10为图7中步骤B6浏览的流程图。FIG. 10 is a flow chart of step B6 browsing in FIG. 7 .

具体实施方式 Detailed ways

本发明基于网络的节目远程编辑方法采用的基本技术思路是在编辑过程中只传输低数据量的必要数据信息,采用自定义的帧模式媒体传输协议进行传输;通过远程网络服务器向客户端传输低数据量的镜像节目数据信息,在预览和编辑时实时传输需要的节目帧数据,编辑打点完成后,向服务器回传编辑控制信息。The basic technical idea adopted by the network-based program remote editing method of the present invention is to transmit only necessary data information with a low amount of data in the editing process, and use a self-defined frame mode media transmission protocol for transmission; Mirroring the program data information of the data volume, the required program frame data is transmitted in real time during preview and editing, and the editing control information is sent back to the server after the editing is completed.

为便于对本发明所述方法的进一步理解,下面结合附图和实施例对本发明进行详细说明:In order to facilitate a further understanding of the method of the present invention, the present invention will be described in detail below in conjunction with the accompanying drawings and embodiments:

如图1所示,提供了实现本发明所述实施例的基于网络的节目远程编辑方法的系统结构框图;其中,服务器S101、客户端计算机S110分别通过网路设备S107、S109与网络S108连接,实现服务器S101和客户端计算机S110的远程访问和数据传输;用于提供源节目文件和生成镜像节目数据信息的服务器S101,其中包括:含有源节目文件和镜像节目数据信息的媒体素材库S102、处理数据和执行指令的服务器CPUS104、用于存储数据的数据存储设备S103等;节目播放设备S106用于实现对已编辑节目的播放,节目播放设备缓存器S105用于节目播放过程中对节目数据的暂时性存储。As shown in Figure 1, a system structure diagram of the network-based program remote editing method for realizing the embodiment of the present invention is provided; wherein, the server S101 and the client computer S110 are respectively connected to the network S108 through network devices S107 and S109, Realize the remote access and data transmission of the server S101 and the client computer S110; the server S101 used to provide source program files and generate mirror image program data information, including: media material library S102 containing source program files and mirror image program data information, processing The server CPUS104 for data and execution instructions, the data storage device S103 for storing data, etc.; the program playback device S106 is used to realize the playback of edited programs, and the program playback device buffer S105 is used for temporary storage of program data during program playback. sexual storage.

为了进一步提高节目的远程编辑的效率,减轻远程网络和服务器的负荷,上述系统可以进一步包括:设置在与客户端计算机S110处于同一局域网或城域网的用于提供源节目文件和镜像节目数据信息的边缘服务器S116,其包括:媒体素材库S118用于存储有服务器S101已经向客户端计算机S110传送的源节目文件和镜像节目数据信息,服务器CPUS117用于处理数据和执行指令,数据存储设备S119用于存储数据。In order to further improve the efficiency of remote editing of programs and reduce the load on the remote network and server, the above-mentioned system may further include: a network for providing source program files and mirrored program data information set on the same local area network or metropolitan area network as the client computer S110 The edge server S116 includes: the media material library S118 is used to store the source program files and mirror image program data information that the server S101 has transmitted to the client computer S110, the server CPUS117 is used to process data and execute instructions, and the data storage device S119 is used to for storing data.

如图2所示,提供了本发明实现的远程编辑方法通过网络传输的数据框图;其中,As shown in Figure 2, the remote editing method realized by the present invention is provided with a data frame diagram transmitted through the network; wherein,

步骤S201,在编辑前由服务器通过网络向客户端计算机传输的是镜像节目数据信息;Step S201, before editing, what the server transmits to the client computer through the network is mirror image program data information;

步骤S202,编辑过程中,服务器通过网络接收客户端计算机的节目帧数据偏移量及传输请求;Step S202, during the editing process, the server receives the program frame data offset and transmission request of the client computer through the network;

步骤S203,服务器将上述步骤S202指定的源节目帧数据通过网络传送到客户端计算机,这里所述源节目帧数据是低码率的帧数据;Step S203, the server transmits the source program frame data specified in the above step S202 to the client computer through the network, where the source program frame data is low bit rate frame data;

步骤S204,客户端计算机编辑完成后,服务器通过网络接收客户端计算机的编辑控制信息;Step S204, after the editing of the client computer is completed, the server receives the editing control information of the client computer through the network;

步骤S205,当然客户端计算机所需要的数据如果在边缘服务器中已经存在,即只需从边缘服务器获得而不用再次通过远程网络从服务器中传输;如果客户端计算机所需要的数据如果在服务器,服务器再根据所述编辑控制信息中指定的高码率节目帧数据送到客户端计算机上。Step S205, of course, if the data required by the client computer already exists in the edge server, that is, it only needs to be obtained from the edge server without being transmitted from the server through the remote network again; if the data required by the client computer is in the server, the server Then send it to the client computer according to the high bit rate program frame data specified in the editing control information.

根据图3所示,实施例的基于网络的节目远程编辑方法中的提供的源节目文件数据结构图,无论采用何种编码格式编码压缩的数字媒体节目,其节目文件的数据结构都包括三个基本组成部分:元数据信息S301处于文件头部,描述该文件的表征信息,其包括:本节目文件采用的编码格式、总帧数、关键帧间距、分辨率等;紧接着是索引信息S302,描述的内容包括:本节目文件的帧序列、每帧数据的起点和偏移量、对应的关键帧及与关键帧间的关系等,用于播放节目时读取相应帧的数据;其后的帧数据S303,是节目文件的数据主体,系根据前面的元数据信息S301、索引信息S302所确定的信息,予以编码存储的每一帧的具体数据信息。According to the source program file data structure diagram provided in the network-based program remote editing method of the embodiment shown in Figure 3, no matter what encoding format is used to encode and compress the digital media program, the data structure of its program file includes three Basic components: Metadata information S301 is at the head of the file, describing the characterization information of the file, which includes: the encoding format adopted by the program file, the total number of frames, key frame spacing, resolution, etc.; followed by index information S302, The content of the description includes: the frame sequence of the program file, the starting point and offset of each frame data, the corresponding key frame and the relationship with the key frame, etc., which are used to read the data of the corresponding frame when playing the program; The frame data S303 is the data body of the program file, which is the specific data information of each frame encoded and stored according to the information determined by the preceding metadata information S301 and index information S302.

下面参照图1、图7所示,对本发明实施例所述的流程进行详细说明:Referring to Figure 1 and Figure 7 below, the process described in the embodiment of the present invention will be described in detail:

如图7所示,步骤B1,建立镜像节目信息,由图1中的服务器S101完成,再结合如图4所示的镜像节目数据信息的数据结构图和图8所示的建立镜像节目信息的步骤流程图,这里服务器S101依次执行:As shown in Figure 7, step B1, set up mirror image program information, complete by server S101 among Fig. Step flow chart, where the server S101 executes in sequence:

图8所示,步骤B101,打开源节目文件;服务器CPUS104从其媒体素材库S102中取出源节目文件并打开,并根据协议在媒体素材库S102中建立对应镜像节目数据信息数据起点,写入本源节目文件及对应的高码率节目文件的路径信息S401中,形成与源节目文件的关联;As shown in Fig. 8, step B101, open source program file; Server CPUS104 takes out source program file from its media material storehouse S102 and opens, and establishes corresponding mirror image program data information data starting point in media material storehouse S102 according to agreement, writes this source In the path information S401 of the program file and the corresponding high-bit-rate program file, an association with the source program file is formed;

步骤B102,提取元数据信息;根据图3所示的源节目文件数据结构,服务器CPUS104从源节目文件中头部提取元数据信息S301,并依次写入步骤B101中建立的镜像节目数据信息中,形成元数据信息S402;其中所述元数据信息包括:编码格式、总帧数、关键帧间距等;Step B102, extracting metadata information; according to the source program file data structure shown in Figure 3, server CPUS104 extracts metadata information S301 from the head of the source program file, and writes in the mirror image program data information set up in step B101 successively, Forming metadata information S402; wherein the metadata information includes: encoding format, total number of frames, key frame interval, etc.;

步骤B103,提取索引信息;服务器CPUS104从源节目文件中提取索引信息S302,从中取出帧序列、每帧数据的起点及偏移量,并依次写入上述镜像节目数据信息中,形成帧数据描述S403;Step B103, extracting index information; the server CPUS104 extracts index information S302 from the source program file, takes out the frame sequence, the starting point and offset of each frame data, and writes them in the above-mentioned mirror image program data information in order to form frame data description S403 ;

步骤B104,提取节目首帧数据;服务器CPUS104根据源节目文件中元数据信息S301和索引信息S302从帧数据S303中提取首帧数据,存入上述镜像节目数据信息中,形成必要帧数据S404;Step B104, extracting the first frame data of the program; the server CPUS104 extracts the first frame data from the frame data S303 according to the metadata information S301 and the index information S302 in the source program file, and stores them in the above-mentioned mirror image program data information to form the necessary frame data S404;

步骤B105,提取节目其他必要帧数据;根据需要可以指定服务器CPUS104根据源节目文件中元数据信息S301和索引信息S302从帧数据S303中提取其他帧数据,如尾帧、中间的某一关键帧等,存入上述镜像节目数据信息中;Step B105, extracting other necessary frame data of the program; as required, the server CPUS104 can be designated to extract other frame data from the frame data S303 according to the metadata information S301 and index information S302 in the source program file, such as the end frame, a certain key frame in the middle, etc. , stored in the above mirror image program data information;

步骤B106,生成镜像文件并存储;服务器CPUS104为上述镜像节目数据信息建立文件终点,生成文件并存储。Step B106, generate and store a mirror image file; the server CPUS104 establishes a file end point for the above mirror image program data information, generates a file and stores it.

如图7所示,步骤B2,查找镜像节目信息;客户端计算机S110通过网络S108与服务器S101连接,客户端CPUS113向服务器S101发出请求,服务器S101从媒体素材库S102中查找需要的镜像节目数据信息,这种查找可以根据需要采用精确或模糊查找方式,列入可以通过包括素材路径、素材名、时间、关键字、分类名直接查找,或者用建立查询数据库并与指导向镜像节目数据信息实现查找;As shown in Figure 7, step B2, search mirror image program information; Client computer S110 is connected with server S101 by network S108, and client CPUS113 sends request to server S101, and server S101 searches needed mirror image program data information from media material storehouse S102 , this kind of search can use precise or fuzzy search methods according to needs, and the inclusion can be directly searched by including material path, material name, time, keywords, and category name, or can be searched by establishing a query database and coordinating with the guide to mirror program data information ;

步骤B3,传输镜像节目信息;服务器CPUS101根据客户端CPUS113发出的请求,将客户端计算机S110选中的镜像节目数据信息通过网络S108传到客户端计算机S110,并保存到客户端计算机存储设备S115或其缓存器S112中;也可以同时由边缘服务器S116的服务器CPUS117将该文件保存其媒体素材库S118中,以备客户端计算机S110再次使用该数据;Step B3, transmit mirror image program information; Server CPUS101 transmits the mirror image program data information selected by client computer S110 to client computer S110 through network S108 according to the request sent by client CPUS113, and saves to client computer storage device S115 or its In cache memory S112; Also can save this file in its media material storehouse S118 by the server CPUS117 of edge server S116 at the same time, in case client computer S110 uses this data again;

步骤B4,打开镜像节目信息;结合图9所示的步骤流程图、图6所示的编辑桌面图以及图4所示,在客户端计算机依次执行:Step B4, open the mirrored program information; combined with the flow chart of steps shown in Figure 9, the editing desktop picture shown in Figure 6, and Figure 4, execute in sequence on the client computer:

如图9所示,步骤B401,解析镜像节目数据信息;客户端CPUS113从其存储设备S115或缓存器S112中取出镜像节目数据信息并打开,根据协议进行解析,将取出的节目路径S401存入缓存器S112,在其显示设备S111上显示编辑桌面,并在编辑桌面的编辑信息序列S609中默认显示段落标记1;As shown in Figure 9, step B401 is to analyze the mirror image program data information; the client CPUS113 takes out the mirror image program data information from its storage device S115 or buffer S112 and opens it, analyzes according to the protocol, and stores the program path S401 taken out into the cache device S112, displaying the editing desktop on its display device S111, and displaying paragraph mark 1 by default in the editing information sequence S609 of the editing desktop;

步骤B402,读取节目数据编码格式;客户端CPUS113从上述解析的镜像节目数据信息的元数据信息S401中读取元数据信息S402放入缓存器S112,取出该节目数据的编码格式;Step B402, read the encoding format of the program data; the client CPUS113 reads the metadata information S402 from the metadata information S401 of the above-mentioned analyzed mirror image program data information and puts it into the buffer S112, and takes out the encoding format of the program data;

步骤B403,显示该编码格式;客户端CPUS113将取出的编码格式在编辑桌面上显示;Step B403, displaying the encoding format; the encoding format taken out by the client CPUS113 is displayed on the editing desktop;

步骤B404,取出首帧数据并解码显示;客户端CPUS113根据编码格式在客户端计算机S110中找到解码器并启动,从上述镜像节目数据信息的必要帧数据S404中取出首帧数据,通过编码器解码还原,在编辑桌面浏览窗口S601上显示该帧图像,如果必要帧数据S404中的数据是其他关键帧数据或尾帧数据,则解码相应的数据,显示相应图像;Step B404, take out the first frame data and decode and display; the client CPUS113 finds and starts the decoder in the client computer S110 according to the encoding format, takes out the first frame data from the necessary frame data S404 of the above-mentioned mirror image program data information, and decodes it through the encoder Restore, display the frame image on the editing desktop browsing window S601, if the data in the necessary frame data S404 is other key frame data or tail frame data, then decode the corresponding data and display the corresponding image;

在上述步骤B401解析后,客户端CPUS113同时还执行:After the analysis in the above step B401, the client CPUS113 also executes:

步骤B405,读取元数据信息和帧数据描述;客户端CPUS113从缓存器S112中读取元数据信息,并从上述解析的镜像节目数据信息中读取帧数据描述存入缓存器S112;Step B405, read the metadata information and frame data description; the client CPUS113 reads the metadata information from the buffer S112, and reads the frame data description from the above-mentioned analyzed image program data information and stores it in the buffer S112;

步骤B406,显示总帧数;客户端CPUS113从元数据信息中取出总帧数,并在编辑桌面上显示,该显示也可以转换显示为源节目文件的播放时长,其转换方式为根据总帧数除以每秒播放的帧数(例如:25)即可得到以秒为单位的时长;Step B406, displaying the total number of frames; the client CPUS113 takes out the total number of frames from the metadata information, and displays it on the editing desktop. This display can also be converted and displayed as the playing time of the source program file. Divide by the number of frames played per second (for example: 25) to get the duration in seconds;

步骤B407,建立帧坐标;客户端CPUS113从缓存器S112中取出元数据信息S402、帧数据描述S403,生成帧坐标,在编辑桌面上显示为帧坐标轴S602、描述坐标轴S602坐标点的帧序数S603,S603也可以是以播放源节目文件对应帧的时间点显示为时刻,同时,滑块S608处于浏览窗口S601显示的图像对应的帧在坐标轴S602上的位置,如果显示为首帧图像,滑块S608处于首帧坐标轴S602上位置,如果显示为其他帧图像,滑块S608处于其对应的坐标轴S602上的位置;Step B407, establish frame coordinates; client CPUS113 fetches metadata information S402, frame data description S403 from buffer S112, generates frame coordinates, displays on the editing desktop as frame coordinate axis S602, frame sequence number of coordinate point of description coordinate axis S602 S603, S603 can also be the time point display of the corresponding frame of the source program file as the time. At the same time, the slider S608 is at the position of the frame corresponding to the image displayed in the browsing window S601 on the coordinate axis S602. If it is displayed as the first frame image, slide The block S608 is at the position on the coordinate axis S602 of the first frame, and if it is displayed as other frame images, the slider S608 is at the position on the corresponding coordinate axis S602;

步骤B408,建立帧坐标与帧数据偏移量信息的关联;客户端CPUS113根据帧数据描述和该节目的路径信息S401,将每一坐标点与源节目文件中对应的帧数据偏移量建立关联,例如:第100帧的坐标点关联的是源节目文件中第100帧数据起点和偏移量;当滑块S608处于某一帧坐标点时,客户端CPUS113即可以直接取出该点对应帧数据的数据起点和偏移量。Step B408, establish the association between the frame coordinates and the frame data offset information; the client CPUS113 associates each coordinate point with the corresponding frame data offset in the source program file according to the frame data description and the program path information S401 , for example: the coordinate point of the 100th frame is associated with the starting point and offset of the 100th frame data in the source program file; when the slider S608 is at a certain frame coordinate point, the client CPUS113 can directly take out the frame data corresponding to this point The starting point and offset of the data.

如图7所示,步骤B5,添加编辑信息序列;本步骤的执行是通过客户端计算机S110的输入设备S114来控制,由于图9所示的步骤B401执行时只在图6的编辑信息序列S609中默认为1,即只从源节目文件中编辑选取1个节目段落,如果需要选取多个节目段落时则需要添加,其实现方式为输入设备S114控制编辑桌面上的添加按钮S607,则在编辑信息序列S609中增加一个段落标记,如2、3、4等;As shown in Figure 7, step B5, add editing information sequence; The execution of this step is controlled by the input device S114 of client computer S110, because when step B401 shown in Figure 9 is executed, only in the editing information sequence S609 of Figure 6 The default value is 1, that is, only one segment of the program is selected for editing from the source program file. If multiple program segments need to be selected, it needs to be added. Add a paragraph mark in the information sequence S609, such as 2, 3, 4, etc.;

步骤B6,进行浏览;本步骤实现通过图6中滑块S608在帧坐标轴S602的位置来控制浏览窗口S601显示对应帧的图像,并结合图10,依次执行:Step B6, browse; this step realizes controlling the browsing window S601 to display the image of the corresponding frame through the position of the slider S608 in the frame coordinate axis S602 in Figure 6, and in combination with Figure 10, execute in sequence:

步骤B601,指向帧序数;客户端计算机S110的输入设备S114控制滑块S608在坐标轴S602上滑动到某一坐标点,客户端CPUS113获得滑块所指定的帧,并根据元数据信息提供的关键帧间距,对其进行关键帧判断,如果该帧为关键帧则转入步骤B604,如果为非关键帧则转入步骤B602;Step B601, pointing to the frame number; the input device S114 of the client computer S110 controls the slider S608 to slide to a certain coordinate point on the coordinate axis S602, and the client CPUS113 obtains the frame specified by the slider, and according to the key provided by the metadata information Frame spacing, key frame judgment is carried out on it, if the frame is a key frame then go to step B604, if it is a non-key frame then go to step B602;

步骤B602,计算前一关键帧位置;客户端CPUS113通过关键帧间距和滑块S608指定的帧,计算前一关键帧所在的位置,如在第50帧;Step B602, calculate the position of the previous key frame; the client CPUS113 calculates the position of the previous key frame through the key frame interval and the frame specified by the slider S608, such as the 50th frame;

步骤B603,取出对应帧及其关键帧数据偏移量;客户端CPUS113根据帧坐标点与帧数据偏移量建立的关联确定并取出选中帧和关键帧的数据起点和偏移量存入缓存器S112中;Step B603, taking out the corresponding frame and its key frame data offset; the client CPUS113 determines and takes out the data starting point and offset of the selected frame and key frame according to the association established between the frame coordinate point and the frame data offset and stores them in the buffer S112;

步骤B604,取出对应帧的数据偏移量;客户端CPUS113根据帧坐标点与帧数据偏移量建立的关联确定并取出选中帧的数据起点和偏移量存入缓存器S112中;Step B604, taking out the data offset of the corresponding frame; the client CPUS113 determines and takes out the data starting point and offset of the selected frame according to the association established between the frame coordinate point and the frame data offset and stores them in the buffer S112;

步骤B605,传输请求;客户端CPUS113通过网络设备和网络S108,向服务器S101发出数据传输请求,并从缓存器S112中取出数据偏移量及源节目文件路径送到服务器S101;Step B605, transmission request; the client CPUS113 sends a data transmission request to the server S101 through the network equipment and the network S108, and takes out the data offset and the source program file path from the buffer S112 and sends them to the server S101;

步骤B606,取出节目帧数据:服务器S101收到上述数据传输请求及数据信息,服务器CPUS104根据该数据信息从媒体素材库S102中取出符合要求的数据;Step B606, taking out the program frame data: the server S101 receives the above-mentioned data transmission request and data information, and the server CPUS104 takes out the required data from the media material library S102 according to the data information;

步骤B607,传输节目帧数据:服务器CPUS104将取出符合要求的数据通过网络设备和网络S108送到客户端计算机S110;Step B607, transmit program frame data: the server CPUS104 will take out the data that meets the requirements and send it to the client computer S110 through the network equipment and the network S108;

步骤B608,解码显示:客户端计算机S110收到上述数据,通过启动的解码器将数据解码还原为图像在浏览窗口S601中显示;并返回步骤B601反复执行。Step B608, decoding and displaying: the client computer S110 receives the above data, decodes and restores the data to an image through the activated decoder and displays it in the browsing window S601; and returns to step B601 for repeated execution.

在该浏览过程中,可以在浏览同时边缘服务器CPUS117根据源节目文件的编码格式把浏览的帧数据依次生成源节目文件存储到边缘服务器S116的媒体素材库S118中;如果浏览过程中没有全部传输该源节目文件的所有数据,则在浏览完成后把剩余数据继续传送生成为完整的、与服务器媒体素材库S102中该源节目文件一样的文件,以备客户端计算机S110再次使用。In this browsing process, the edge server CPUS117 can generate the source program files sequentially according to the encoding format of the source program files according to the encoding format of the source program files and store them in the media material storehouse S118 of the edge server S116; For all the data of the source program file, after the browsing is completed, the remaining data will continue to be transmitted to generate a complete file that is the same as the source program file in the server media material library S102, so that the client computer S110 can use it again.

如果该浏览过程中输入设备S114过快拖动滑块S608,客户端计算机S110连续执行上述步骤B601~B608,在客户端显示设备S111的浏览窗口S601中会顺序显示滑块S608通过帧坐标轴S602上的坐标点所指向的帧图像;但是如果客户端CPUS113则跳过中间滑过的帧坐标轴S602上的坐标点对应的关联数据,直接确认滑块S608当前所在的帧坐标点,取出对应的帧数据起点及偏移量,向服务器S101发出传输请求,以避免传输不需要的帧数据,该快速拖动的数值通过人为设定,如可以设定当在1秒内拖动了50帧的数据时执行滑块S608停止点的数据传输。If the input device S114 drags the slider S608 too quickly during the browsing process, the client computer S110 continuously executes the above steps B601 to B608, and the slider S608 will be sequentially displayed in the browsing window S601 of the client display device S111 through the frame coordinate axis S602 However, if the client CPUS113 skips the associated data corresponding to the coordinate point on the frame coordinate axis S602 that slides in the middle, directly confirm the frame coordinate point where the slider S608 is currently located, and take out the corresponding The starting point and offset of the frame data, send a transmission request to the server S101 to avoid the transmission of unnecessary frame data, the value of the fast drag is manually set, for example, it can be set when dragging 50 frames within 1 second When data is executed, data transmission at the stop point of slider S608 is performed.

如图7所示,步骤B7,编辑打点;当浏览到需要的图像时,通过输入设备S114控制编辑桌面的打点按钮S604,客户端CPUS113记录下即时滑块S608所在帧坐标轴S602上对应的帧序数,如第109帧,并存入缓存器S112,如果缓存器S112中已经存在本段落的一个帧序数,则与之进行比较,以其在帧坐标轴S602上的顺序分别确认为本段落起点和终点,如果其中没有则默认为本段落的起点;As shown in Figure 7, step B7, editing and dotting; when browsing to the desired image, control the dot button S604 on the editing desktop through the input device S114, and the client CPUS113 records the corresponding frame on the frame coordinate axis S602 where the instant slider S608 is located Ordinal number, such as the 109th frame, is stored in buffer S112, if there is a frame ordinal number of this paragraph in buffer S112, then compare with it, confirm respectively as this paragraph starting point with its order on frame coordinate axis S602 and the end point, if there is none, it defaults to the start point of this paragraph;

返回步骤B6继续执行,直到在编辑信息序列S609中选定的段落起点和终点打点完毕。Return to step B6 and continue to execute until the start point and end point of the paragraph selected in the edit information sequence S609 are marked.

步骤B8,调整/删除编辑信息序列;根据编辑的需要,客户端CPUS113通过输入设备S114控制编辑信息序列S609中各个段落的顺序,并重新存入缓存器S112,如果要删除编辑信息序列S609中的段落,通过输入设备S114控制删除按钮S606删除当前选中的段落,并从缓存器S112中清除对应的数据,如果需要添加段落则返回步骤B5顺序执行;Step B8, adjust/delete the editing information sequence; according to the needs of editing, the client CPUS113 controls the order of each paragraph in the editing information sequence S609 through the input device S114, and re-stores it in the buffer S112. Paragraph, delete the currently selected paragraph by controlling the delete button S606 through the input device S114, and remove the corresponding data from the cache memory S112, if you need to add a paragraph, then return to step B5 and execute in sequence;

步骤B9,传输编辑控制信息;再结合图5所示,客户端CPUS113从缓存器S112中取出高码率节目路径信息生成编辑控制信息的节目路径信息S501,依次取出根据编辑信息序列S609中段落顺序记录的所有编辑打点的帧起点、终点数据,生成编辑控制信息的帧序数起止序列S502,并通过网络S108将编辑控制信息传送到服务器;和/或在客户端计算机S110的存储设备S115中存储为编辑控制信息;Step B9, transmit the editing control information; combined with that shown in Figure 5, the client CPUS113 takes out the high bit rate program path information from the buffer S112 to generate the program path information S501 of the editing control information, and sequentially takes out the sequence of paragraphs according to the editing information sequence S609 The frame start point and end point data of all the edited dots recorded generate the frame number start and end sequence S502 of the edit control information, and the edit control information is transmitted to the server through the network S108; and/or stored in the storage device S115 of the client computer S110 as edit control information;

步骤B10,生成节目编辑数据;服务器CPUS104根据编辑控制信息中的节目路径信息S501,指向高码率节目文件,从编辑控制信息中取出帧序数起止序列S502,根据该信息记录的每个段落的帧起点、终点,从高码率节目文件数据中取出对应的高码率节目帧数据,依次连续保存到节目播放设备缓存器S105中用于播放;还可以,依次连续存储生成节目编辑文件在节目播放设备的存储器中存储,和/或将节目编辑文件通过网络传到客户端计算机S110,并保存到其存储设备S115中。Step B10, generate program editing data; server CPUS104 points to the high bit rate program file according to the program path information S501 in the editing control information, takes out the frame number start and end sequence S502 from the editing control information, and records the frame of each paragraph according to the information Start point, end point, take out the corresponding high bit rate program frame data from the high bit rate program file data, successively save in the buffer memory S105 of the program playback device for playing; also can, successively store and generate the program editing file in the program playing Store in the memory of the device, and/or transmit the program editing file to the client computer S110 through the network, and save it in its storage device S115.

为了降低对远程网络S108和服务器S101的负荷,提高远程编辑的效率,在执行上述远程编辑过程中,客户端计算机S110访问并传输镜像节目数据信息文件和浏览的源节目文件已经同时保存到边缘服务器S116的媒体素材库S118中,客户端计算机S110在执行步骤B2查找镜像节目信息时,首先向在本地的边缘服务器S116发出请求,如果边缘服务器媒体素材库S118中存在所需文件,则按上述编辑步骤从边缘服务器S116中取数据进行编辑。如果边缘服务器S116中不存在所需数据再向服务器S101发出请求执行上述步骤。In order to reduce the load on the remote network S108 and the server S101, and improve the efficiency of remote editing, during the above-mentioned remote editing process, the client computer S110 accesses and transmits the mirrored program data information files and the browsed source program files have been saved to the edge server at the same time In the media material storehouse S118 of S116, client computer S110 at first sends a request to the local edge server S116 when executing step B2 to search for the mirror image program information, if there is required file in the edge server media material storehouse S118, then edit as above The step is to fetch data from the edge server S116 for editing. If the required data does not exist in the edge server S116, send a request to the server S101 to perform the above steps.

本发明实施例所述内容在编辑前传输的镜像节目数据信息只包含数据量很小的镜像节目数据信息,传输速度快,无需等待即可开始浏览编辑;浏览时采用帧模式媒体传输协议,只传输指定的源节目文件中的节目帧数据,即时传输数据量小,无需数据缓冲、等待,客户端即使采用常规的ADSL互联网接入都能实现(700K的带宽即可满足);同时,可以实现对编辑节目的跳跃式片段浏览编辑,无需连续传输跳过的数据;编辑时只记录帧序数起止序列,即对应的帧序数及其排列顺序等信息,对客户端计算机的资源占用少;回传到服务器的编辑控制信息也只包括高码率节目文件的路径和帧序数起止序列,不含节目帧数据,回传的数据小,传输速度快;即使要实现在客户端对节目的直接发布,服务器也只需将收到的编辑控制信息中指定的高码率节目文件中的节目帧数据传输到客户端,无其他多余数据,使有限的网络资源得到有效利用。The mirrored program data information transmitted before editing the content described in the embodiments of the present invention only contains mirrored program data information with a small amount of data, and the transmission speed is fast, and browsing and editing can be started without waiting; the frame mode media transmission protocol is used when browsing, only Transmit the program frame data in the specified source program file, the amount of real-time transmission data is small, without data buffering and waiting, even if the client uses conventional ADSL Internet access, it can be realized (700K bandwidth is enough); at the same time, it can realize For the skipped segment browsing and editing of the edited program, there is no need to continuously transmit the skipped data; when editing, only the start and end sequence of the frame number is recorded, that is, the corresponding frame number and its arrangement order, etc., which occupy less resources on the client computer; The editing control information to the server only includes the path of the high-bit-rate program file and the start and end sequence of the frame number, without program frame data, the returned data is small, and the transmission speed is fast; even if the program is to be released directly on the client, The server also only needs to transmit the program frame data in the high-bit-rate program file specified in the received edit control information to the client, without other redundant data, so that the limited network resources can be effectively utilized.

上述发明的节目远程编辑方法实现了在复杂高延时网络条件下,远程节目文件的流畅播放和帧精确编辑,有效的解决了以往在这种网络条件下,只能通过流媒体技术进行播放而无法实现帧精确编辑的难题。本发明可直接应用于远程节目协同制作网络、远程节目片段快速回传等应用。The remote program editing method of the above invention realizes the smooth playback and frame-accurate editing of remote program files under complex and high-delay network conditions, and effectively solves the problem that in the past, under such network conditions, it could only be played through streaming media technology and could not be realized. The puzzle of frame-accurate editing. The present invention can be directly applied to remote program collaborative production network, fast return of remote program fragments and other applications.

当然,本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员可根据本发明做出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。Certainly, the present invention can also have other various embodiments, without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding changes and deformations according to the present invention, but these corresponding Changes and deformations should belong to the scope of protection of the appended claims of the present invention.

Claims (10)

1. A program remote editing method based on network is applied to the network composed of the existing server, client computer and network equipment, and is characterized by comprising the following steps:
(1) the method comprises the following steps that a server CPU (central processing unit) takes source program file data from a media material library of the server, extracts information and frame data from the file data to establish mirror image program data information related to the source program file data, and stores the mirror image program data information into the media material library of the server, wherein the extracted information comprises: starting point and offset of frame data;
(2) the server transmits the mirror image program data information selected by the client computer to the client computer through the network equipment according to the request sent by the client computer;
(3) the client CPU analyzes the mirror image program data information and displays the mirror image program data information on the display equipment of the client computer;
(4) when the input equipment in the client computer receives the control information of a user, the CPU of the client takes out the starting point and the offset of the current frame data from the analyzed mirror image program data information according to the control information of the input equipment and sends out a transmission request to the server, and the server takes out the current frame data from the media material library of the server and transmits the current frame data to the client computer through the network equipment, and the current frame data is displayed on the display equipment of the client computer after being analyzed and restored by the client computer;
(5) when the CPU of the client acquires the control information of the selected current frame according to the input equipment, the frame sequence number of the current frame is taken out as the starting point or the end point of the editing paragraph and is stored in a buffer in the computer of the client; returning to the step (4) to execute repeatedly until the frame sequence numbers respectively corresponding to the starting point and the end point of the edited paragraph are stored in a buffer in the client computer;
(6) and (3) the client CPU takes out the association information analyzed from the mirror image program data information in the step (3) and the frame sequence numbers respectively corresponding to the starting point and the ending point of the editing paragraph recorded in the step (5) from the buffer to generate editing control information, and the editing control information is stored in a storage device of a client computer and/or is sent to a server through a network.
2. The program remote editing method according to claim 1, further comprising:
(7) and the server CPU takes out corresponding program frame data from the associated high-bit-rate program data according to the editing control information to generate program editing data, and stores the program editing data in a program playing equipment memory,/or a program playing equipment buffer and/or a storage device of a client computer through a network.
3. The program remote editing method according to claim 1, wherein said step (1) comprises:
the method comprises the steps that a server CPU (central processing unit) takes source program file data out of a media material library of the server and opens the source program file data, sequentially extracts metadata information, a frame sequence in index information, a starting point and an offset of each frame of data and necessary frame data, establishes mirror image program data information related to the source program file data in the media material library, sequentially writes path information, the extracted metadata information, the frame sequence, the starting point and the offset of each frame of data and the necessary frame data related to the source program file and a corresponding high-code-rate program file in the mirror image program data information, and stores the path information, the extracted metadata information, the frame sequence, the starting point and; wherein the metadata information includes: coding format, total frame number and key frame interval; the necessary frame data is first frame data, other key frame data and/or tail frame data.
4. A program remote editing method according to claim 3, wherein said step (3) comprises:
the client CPU takes out the image program data information from the storage device of the client computer, opens and analyzes the image program data information, displays an editing desktop on the display device of the client computer, and starts a decoder of the client computer to decode and restore necessary frame images to display on a browsing window of the editing desktop according to the coding format; and displaying a frame coordinate axis on the editing desktop, describing the association established by the coordinate axis coordinate point and the corresponding frame data starting point and offset in the source program file, and displaying the corresponding relation between the image and the slide block position on the frame coordinate axis.
5. The program remote editing method according to claim 4, wherein said step (4) comprises:
(41) when a user controls a slide block in a display device to slide to a certain coordinate point on a coordinate axis through an input device of the client computer, the client CPU obtains a frame appointed by the slide block, carries out key frame judgment on the frame according to a key frame interval provided by metadata information, and goes to a step (44) if the frame is a key frame or goes to a step (42) if the frame is a non-key frame;
(42) the client CPU calculates the frame sequence number of the previous key frame according to the coding format through the key frame interval and the frame appointed by the slider;
(43) the client CPU determines and takes out the data starting point and the offset of the selected frame and the key frame and stores the data starting point and the offset into a buffer in a client computer according to the frame sequence of the current frame and the frame sequence number of the previous key frame determined in the step (42) and the association established by the coordinate point and the starting point and the offset of the frame data, and then the step (45) is carried out;
(44) the client CPU determines and takes out the data starting point and the offset of the selected frame and stores the data starting point and the offset into a buffer in a client computer according to the association established by the frame coordinate point and the frame data starting point and the offset, and then the step (45) is carried out;
(45) the client CPU sends a data transmission request to the server through the network, and takes out a data starting point and offset and a source program file path from a buffer of the client computer and sends the data starting point and offset and the source program file path to the server;
(46) the server CPU takes out data meeting the requirements from a media material library of the server according to the received data transmission request and the data information;
(47) the server CPU sends the data meeting the requirements to a client computer through network equipment;
(48) and the client computer receives the data, decodes and restores the data into an image by starting a decoder of the client computer, displays the image in the display device, and returns to the step (41) to continue execution.
6. The program remote editing method according to claim 5, wherein said step (41) further comprises:
when the number of frames that the slider on the editing desktop rapidly moves through on the frame coordinate axis in unit time exceeds the specified data in the step of pointing to the frame ordinal number, the client CPU only determines and points to the frames corresponding to the pause or stop points of the slider on the frame coordinate axis.
7. The program remote editing method according to claim 4, wherein the step (5) further comprises:
and (4) controlling the dotting operation of the editing desktop through an input device in the client computer by a user, recording the frame sequence number corresponding to the frame coordinate axis of the instant slider by the client CPU, storing the frame sequence number in a buffer memory in the client computer, and returning to the step (4) to continue executing until the end of the dotting operation.
8. The program remote editing method according to claim 7, wherein the step (5) further comprises:
when the client CPU stores the recorded frame ordinal number into a buffer of a client computer, detecting whether the buffer has a frame ordinal number, if so, comparing the recorded frame ordinal number with the frame ordinal number in the buffer, and sequentially determining the start point and the end point of the editing paragraph as the sequence of the recorded frame ordinal number and the frame ordinal number on a frame coordinate axis to store into the buffer; if not, the default is the start of the present editing paragraph and stored in the buffer.
9. The program remote editing method according to claim 1, wherein said step (4) further comprises:
a client CPU of the client computer executes that a user adds a paragraph mark through an input device and displays the paragraph mark through a display device;
the step (5) further comprises:
the CPU at the client end of the client computer executes the sequence of each paragraph adjusted by the user through the input device and stores the sequence into the buffer of the client computer again;
a client CPU of the client computer executes that a user deletes the currently selected paragraph through input equipment and clears corresponding data from a buffer of the client computer; and determines whether to perform add paragraph marking.
10. The program remote editing method according to claim 1, wherein said server comprises: the edge server is positioned in the same local area network or metropolitan area network with the client computer and is used for providing source program files and mirror image program data information;
the step (2) further comprises:
the client computer firstly sends a request to an edge server, searches whether the media material library of the edge server has the needed mirror image program data information, and if so, the client computer directly obtains the needed mirror image program data information from the edge server; if the mirror image program data information does not exist, the client computer sends a request to a server except the edge server, and the server transmits the mirror image program data information selected by the client computer to the client computer through network equipment and stores the mirror image program data information on the edge server of the same local area network or metropolitan area network with the client computer.
CN 200710063947 2007-02-14 2007-02-14 Program remote editing method based on network Active CN100568958C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 200710063947 CN100568958C (en) 2007-02-14 2007-02-14 Program remote editing method based on network
PCT/CN2007/002925 WO2008098441A1 (en) 2007-02-14 2007-10-11 Network-based program remote editing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710063947 CN100568958C (en) 2007-02-14 2007-02-14 Program remote editing method based on network

Publications (2)

Publication Number Publication Date
CN101014118A CN101014118A (en) 2007-08-08
CN100568958C true CN100568958C (en) 2009-12-09

Family

ID=38701371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710063947 Active CN100568958C (en) 2007-02-14 2007-02-14 Program remote editing method based on network

Country Status (2)

Country Link
CN (1) CN100568958C (en)
WO (1) WO2008098441A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100568958C (en) * 2007-02-14 2009-12-09 成都索贝数码科技股份有限公司 Program remote editing method based on network
CN101472189B (en) * 2007-12-24 2012-11-14 新奥特(北京)视频技术有限公司 Acceptance system capable of cutting file during acceptance process
US8316396B2 (en) * 2009-05-13 2012-11-20 Tivo Inc. Correlation of media metadata gathered from diverse sources
CN102723053A (en) * 2011-03-30 2012-10-10 新奥特(北京)视频技术有限公司 Material management method and system in remote broadcasting system
CN104168509B (en) * 2014-08-14 2017-05-17 成都索贝数码科技股份有限公司 Program editing method applicable to environment with various material sources
CN104994435A (en) * 2015-07-06 2015-10-21 无锡天脉聚源传媒科技有限公司 Method and device for accurately dotting video resources
CN109660740A (en) * 2018-12-25 2019-04-19 成都索贝数码科技股份有限公司 A kind of video editing method based on three code rates
CN110944033B (en) * 2019-10-14 2021-01-08 珠海格力电器股份有限公司 Equipment control method, device, edge layer server, system and storage medium
CN114095755A (en) * 2021-11-19 2022-02-25 上海众源网络有限公司 A video processing method, device, system, electronic device and storage medium
CN114500565B (en) * 2021-12-28 2024-06-21 奇安盘古(上海)信息技术有限公司 Method and device for manufacturing remote server disk mirror image

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100355382B1 (en) * 2001-01-20 2002-10-12 삼성전자 주식회사 Apparatus and method for generating object label images in video sequence
US7032177B2 (en) * 2001-12-27 2006-04-18 Digeo, Inc. Method and system for distributing personalized editions of media programs using bookmarks
EP1493274A4 (en) * 2002-04-05 2006-04-12 Matsushita Electric Industrial Co Ltd CREATING SYSTEM AND METHOD FOR SUPPLYING MEDIA CONTENT WITH TAGS TO PORTABLE DEVICES RECEIVING MULTIPLE SEPARATE SOURCES
JP2006262320A (en) * 2005-03-18 2006-09-28 Toshiba Corp Video material transfer method, video material transfer sending device, and video material transfer receiving device
CN100568958C (en) * 2007-02-14 2009-12-09 成都索贝数码科技股份有限公司 Program remote editing method based on network

Also Published As

Publication number Publication date
CN101014118A (en) 2007-08-08
WO2008098441A1 (en) 2008-08-21

Similar Documents

Publication Publication Date Title
CN100568958C (en) Program remote editing method based on network
US12058355B2 (en) Low latency and low defect media file transcoding using optimized storage, retrieval, partitioning, and delivery techniques
CN112291627B (en) Video editing method and device, mobile terminal and storage medium
CN102158553B (en) Method and device for playing multi-media files for remote desktop
JP5112287B2 (en) Method and system for providing distributed editing and storage of digital media over a network
JP5596808B2 (en) Multi-user remote video editing
CN103348690B (en) A kind of method and device of Video processing
US8265457B2 (en) Proxy editing and rendering for various delivery outlets
US20110060998A1 (en) System and method for managing internet media content
US20080271095A1 (en) Method and system for previewing media over a network
US20080022204A1 (en) Method, system, and article of manufacture for integrating streaming content and a real time interactive dynamic user interface over a network
US20090193345A1 (en) Collaborative interface
CN104506937A (en) Method and system for sharing processing of audios and videos
US20150071614A1 (en) Creating, Editing, and Publishing a Video Using a Mobile Device
MXPA04006412A (en) Sparse caching for streaming media.
CN109348251A (en) For the method, apparatus of video playing, computer-readable medium and electronic equipment
CN1596403A (en) Replay operations for HTTP streaming content objects
CN104424242B (en) Multimedia file processing method and system
US20190199763A1 (en) Systems and methods for previewing content
CN115243074A (en) Video stream processing method and device, storage medium, and electronic device
JP2005277847A (en) Image reproduction system, image transmission device, image reception device, image reproduction method, image reproduction program, and recording medium
JP7684446B2 (en) VIDEO GENERATION METHOD, APPARATUS, STORAGE MEDIUM AND PROGRAM PRODUCT
US8127036B2 (en) Remote session media data flow and playback
JP4165134B2 (en) Information reproducing apparatus, information reproducing method, and information reproducing system
KR102201021B1 (en) A method and system for generating and providing a preview video of a video content

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C53 Correction of patent for invention or patent application
CB03 Change of inventor or designer information

Inventor after: Ding Wenhua

Inventor after: Ouyang Ruizhang

Inventor after: Yu Jun

Inventor after: Wu Wenjie

Inventor after: Wang Wei

Inventor before: Ouyang Ruizhang

Inventor before: Yu Jun

Inventor before: Wu Wenjie

Inventor before: Wang Wei

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: OUYANG RUIZHANG YU JUN WU WENJIE WANG WEI TO: DING WENHUA OUYANG RUIZHANG YU JUN WU WENJIE WANG WEI