CN100504842C - Media content long-distance dynamic dumping method - Google Patents

Media content long-distance dynamic dumping method Download PDF

Info

Publication number
CN100504842C
CN100504842C CN 200510079794 CN200510079794A CN100504842C CN 100504842 C CN100504842 C CN 100504842C CN 200510079794 CN200510079794 CN 200510079794 CN 200510079794 A CN200510079794 A CN 200510079794A CN 100504842 C CN100504842 C CN 100504842C
Authority
CN
China
Prior art keywords
step
dump
device
local
media content
Prior art date
Application number
CN 200510079794
Other languages
Chinese (zh)
Other versions
CN1889069A (en
Inventor
珊 姜
Original Assignee
联想(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 联想(北京)有限公司 filed Critical 联想(北京)有限公司
Priority to CN 200510079794 priority Critical patent/CN100504842C/en
Publication of CN1889069A publication Critical patent/CN1889069A/en
Application granted granted Critical
Publication of CN100504842C publication Critical patent/CN100504842C/en

Links

Abstract

本发明公开了一种媒体内容异地动态转储的方法,包括:步骤A:本地录制设备进行媒体内容录制;步骤B:本地录制设备判断其存储介质是否仍有足够的存储空间,如果是,则将录制的媒体内容存储到本地存储文件中,在存储满足单次存储条件后返回步骤A,直至录制结束;否则,执行步骤C;步骤C:本地录制设备在家庭网络中选择具有存储能力的其它设备作为异地转储设备;步骤D:本地录制设备将当前所录制的媒体内容实时转储到所述异地转储设备的异地转储文件中,直至媒体内容录制结束,建立本地存储文件与异地转储文件之间的索引关系并保存。 The present invention discloses a method of remote media content dynamic dumps, comprising: Step A: local recording device to record the media content; Step B: local storage medium of the recording device which determines whether there is enough storage space, if so, the recorded media content stored in a local storage file and returns after a single storage conditions of storage to meet the step a, until the end of the recording; otherwise, step C; step C: local recording device to select other with storage capacity in the home network device as a remote dump device; step D: local recording device recorded media content currently live dump dump file to the remote device remote dump, until the end of recording of media content, to establish local storage and remote file transfer the relationship between the index file storage and preservation. 该方法能够在本地录制设备存储空间不足时,解决由于本地录制设备存储空间有限而对媒体内容录制所造成的限制。 This method can be insufficient local recording equipment storage space and resolve the local recording device storage space is limited and restrictions on the media content recording caused.

Description

一种媒体内容异地动态转储的方法 A method for dynamic media content off-site dump

技术领域 FIELD

本发明涉及网络和媒体录制技术领域,尤其涉及一种媒体内容异地动态转储的方法。 The present invention relates to network media and recording technology, and in particular, to a method for remote dynamic media content dump.

背景技术 Background technique

当前,随着媒体录制技术的不断发展以及媒体内容的日益丰富,人们已 At present, with the continuous development of media recording technology and the increasingly rich media content, it has been

经越来越多的使用媒体录制方式来录制媒体内容,通过媒体录制,人们可以将其喜好的节目存储起来以供以后反复观看,并且,还可以通过在适当时间 By the increasing use of media recording mode to record media content, recorded by the media, people can store their favorite programs for later viewing up repeatedly, and can also at the right time

播放所存储的媒体内容,达到重新安排媒体内容播放时间的目的,从而使得对媒体内容的观看不再受到电视台等媒体内容播放方播放时间的限制。 Play stored media content to achieve the purpose of re-arrange the playing time of media content, so that the viewing of media content is no longer restricted television and other media content playback side of the playing time.

在现有技术中,录制设备在媒体录制过程中,通常将媒体内容存储到其本地的存储介质上,从而实现媒体内容在录制设备上的本地存储,该现有技 In the prior art, in the recording device during recording media, typically media content stored on its local storage medium, thereby realizing the media content stored locally on the recording device, the prior art

术虽然能够实现媒体录制,但是,具有以下缺点: Although surgery can achieve recording media, however, it has the following disadvantages:

随着媒体内容清晰度的不断提高,在媒体录制过程中,单位时间内媒体内容所占用的存储空间也越来越大。 With the increasing clarity of media content in the media during recording, the unit of time occupied by media content storage space is also growing. 举例来说,当按照DVD (MEPG2)的 For example, when in accordance with the DVD (MEPG2) of

清晰度进行媒体内容录制时,每录制一小时的媒体内容大约需要占用1G的存储空间,换句话说,即使采用存储空间较大的120G硬盘,最多也只能录制120小时的DVD媒体内容;即使采用MEPG4或者H.264方式对所录制的媒体内容进行压缩,从而节省大约50%的存储空间,也只能在该120G的硬盘中存储大约240小时的DVD媒体内容,从而会在进行媒体内容录制时, 出现录制设备本地存储容量空间不足的问题。 When definition media content recording, each recorded media content about an hour take up 1G of storage space, in other words, even with the large storage space 120G hard drive, the most they can record 120 hours of DVD media content; even MEPG4 or using H.264 way to the recorded media content compression, which saves about 50% of storage space, and can only store about 240 hours of DVD media content in the 120G hard disk, thereby making media content will be recorded when, under-recording device local storage space problems. 另外,随着高清晰媒体内容的不断发展,出现了清晰度更高的媒体内容,随之带来的是,媒体内容所占用的存储空间会更大,例如,当前已经出现了1个小时的媒体内容需要占用 In addition, with the development of high-definition media content, there has been a higher definition media content, and brought that media content will be greater storage space occupied by, for example, currently there have been one hour of media content need to take

66〜8G存储空间的更高清晰度的媒体内容,对于这样的媒体内容进行录制, 会使得存储空间的使用更加紧张,从而进一步加剧录制设备本地存储空间不足的问题。 Higher resolution 66~8G storage media content, such as media content for recording, storage space will make use of more intense, thus further increasing lack of recording device local storage problem. 虽然在现有技术中已经提出了例如蓝光等更大容量的硬盘以解决上述存储空间不足的问题,但是,该存储介质存储空间必定仍然有限,在媒体内容所占用的存储空间进一步增大或者所需录制的媒体内容长度较长时, 仍然会导致上述录制设备本地存储空间不足的问题。 Although the prior art has been proposed, for example, higher-capacity Blu-ray and other hard to solve the problem of the storage space problem, however, the storage medium must still limited storage space, further increases in media content or storage space occupied by the media content to be recorded when the length is longer, it will still result in an insufficient recording device above local storage space.

基于录制设备本地存储空间不足这一问题,在媒体内容录制过程中,会出现以下实际应用上的问题: Based on lack of local storage device to record the issue in the media content recording process, there will be problems on the practical application of the following:

在现有技术中, 一旦在媒体内容录制过程中出现录制设备本地存储空间不足的情况,则需要中断当前的录制动作,采用更新存储光盘或者删除硬盘上的一些数据的方式,来对本地录制设备的存储介质进行更新,以使得存储介质能够提供新的存储空间来进行媒体内容的录制。 In the prior art, once the lack of recording equipment in the event of local storage media content recording, you need to interrupt the current recording operation, the use of updated CD-ROM or delete some way to store data on the hard disk to the device for local recording the storage medium is updated, so that the storage medium to provide new storage space for recording media content. 采用该种方式,首先需要操作者对录制过程进行监控,并在监控得到存储空间不足时对存储介质进行更新,从而增加了操作者的操作过程,为使用者带来很大不便;其次,由于更新存储介质需要中断录制过程,也会导致媒体内容无法连续录制,从而影响了录制质量;最后,由于存储介质的存储空间有限,因此,即使釆用更新存储介质的方式也不能完全解决录制设备本地存储空间不足所带来的问题。 With this way, you first need to record the operator to monitor the process and get updates on the storage media is insufficient storage space, thereby increasing the operation of the operator, the user great inconvenience monitoring; secondly, because the update the storage media need to interrupt the recording process, can lead to media content can not be recorded continuously, thus affecting the quality of the recording; and finally, due to limited storage space on the media, so even preclude the use of storage media to update the way the recording device can not be completely solved locally storage space shortage problem brought.

与此同时,在家庭网络中,通常会存在多个具有存储能力的设备,这些设备分别分布在家庭网络的不同位置上。 At the same time, in the home network, there are often a plurality of devices with storage capabilities, such devices are distributed over different locations on the home network. 由于使用频度和习惯的不同,对于这些设备的存储空间的占用也通常并不均衡,例如:对于电视机等播放设备附近的具有存储能力的录制设备,其存储空间的使用率较高,存储空间比较容易达到存储极限;而对于卧室的具有存储能力的设备,由于其较少用于媒体内容的存储,因此,其存储空间的使用率较低,存储空间不太容易达到存储极限。 Due to the use of different frequency and habits, for the storage space occupied by these devices are also usually not balanced, for example: For the recording device with storage capabilities in the vicinity of television sets, play equipment, high utilization of its storage space, storage space is easier to achieve a storage limit; device having a storage capacity for the bedroom, due to its low for storing media content, and therefore, low usage of the storage space, storage space is not easy to achieve storage limit. 基于此,如果能够充分利用家庭网络中各个具有存储能力的设备, 在媒体录制过程中进行媒体内容的存储和转储,则可充分解决由于本地录制设备存储空间有限而带来的上述种种问题,然而,在现有技术中,并未提供这样的方法,从而使得这些问题均难以得到解决。 Based on this, if we can make full use of various devices in the home network with storage capacity, storage and dump media content in the media during recording, you can fully solve the above problems due to limited storage space for local recording device brought, However, the prior art does not provide such a method, so that these problems are difficult to resolve. 发明内容 SUMMARY

有鉴于此,本发明的主要目的在于提供一种媒体内容异地动态存储的方法,通过将媒体内容实时的转储到异地设备上,解决本地录制设备存储空间有限的问题,使得媒体录制过程不再受到存储空间的限制,方便使用者的使用,保证媒体录制的质量。 In view of this, the main object of the present invention is to provide a dynamic memory media content offsite process, to the remote device, the local recording device to address the limited storage space problem of real-time media content via a dump, so that no recording medium limited storage space, easy to use user and ensure the quality of the recording media.

为实现上迷目的,本发明提供了一种媒体内容异地动态转储的方法,该 In order to achieve the above-object, the present invention provides a method of remote media content dynamic dump, the

方法包4舌: Method tongue package 4:

步骤A:本地录制设备进行媒体内容录制; Step A: local recording device to record the media content;

步骤B:本地录制设备判断其存储介质是否仍有足够的存储空间,如果是, 则将录制的媒体内容存储到本地存储文件中,在存储满足单次存储条件后返回步骤A,直至录制结束;否则,执行步骤C; Step B: local recording device which determines whether the storage medium has enough storage space, if so, the recorded media content stored in a local storage file, returns to step A after a single memory storage condition satisfied until the end of recording; otherwise, step C;

步骤C:本地录制设备在家庭网络中选择具有存储能力的其它设备作为异地转储设备; Step C: local recording device selects other devices with storage capacity as a remote dump device in the home network;

步骤D:本地录制设备将当前所录制的媒体内容实时转储到所述异地转储设备的异地转储文件中,直至媒体内容录制结束,本地录制设备建立本地存储文件与异地转储文件之间的索引关系并保存。 Step D: local recording device recorded media content currently live dump dump file to the remote device remote dump, until the end of recording of media content, is established between the local and remote file storage dump file on the local recording device the relationship between the index and save.

其中,步骤D之后,该方法进一步包括: Wherein, following procedure D, the method further comprising:

播放本地存储文件中存储的媒体内容,播放完毕后,根据步骤D中所建立的本地存储文件和异地转储文件之间的索引关系,获取异地转储设备中的异地转储文件并播放该文件中的媒体内容,直至整个媒体内容播放完毕。 Playing locally stored media content stored in file, after play is complete, the relationship between the index created in step D local and remote file storage dump file dump file obtaining remote device remote dump file and play the media content until the entire media content has finished playing.

其中,本地录制设备保存有至少两个所述索引关系时,所述获取异地转储文件并播放该文件中的媒体内容包括: Wherein, local recording equipment to save at least two of the index relations, the obtaining remote dump file and play the file in the media include:

根据所述索引关系建立的先后顺序,依次执行所述获取异地转储文件并播放该文件中的媒体内容的步骤,直至播放完整个媒体内容。 According to the established order in relation to the index, follow the steps in obtaining the remote dump file and play the file of media content, until the complete media content playback. 间的索引关系。 The relationship between the index.

其中,所迷索引关系为本地存储文件的文件名与异地转储文件的存储地址之间的索引关系。 Among them, the relationship between the relational index indexes stored off-site with the address of the file name for the dump file to store files locally fans.

其中,步骤B中,所述本地录制设备判断其存储介质是否仍有足够的存储 Wherein, in step B, the local recording device which determines whether there is still sufficient storage medium storing

空间为: Space:

本地录制设备判断其存储介质的当前存储空间是否小于等于预先设定的预警存储容量,如果是,则判断得到本地录制设备的存储介质不具有足够的存储空间,否则,则判断得到本地录制设备的存储介质具有足够的存储空间。 Local recording device which determines whether the current storage medium is less than the storage capacity is equal to the preset memory warning, if it is, it is determined to obtain a local storage medium of the recording device does not have sufficient storage space, otherwise, it is determined to obtain the local recording device storage medium has sufficient storage space.

其中,所述单次存储条件为预先设定的单次存储的々某体内容的大小。 Wherein the storage conditions for a single body of single contents stored in the preset 々 size. 其中,步骤C包括: Wherein step C comprises:

步骤C1:本地录制设备向家庭网络中的各个设备发送申请存储空间请求, 家庭网络中具有存储能力的各个设备分别向本地录制设备发送反馈消息,本地录制设备保存所述发送反馈消息的设备的信息; Step C1: local recording device in the home network of the respective application storage device sends a request, each home network device having a storage capacity of each local feedback messages are sent to the recording device, the local recording device stores device information transmitting feedback messages ;

步骤C2:本地录制设备从发送反馈消息的各个具有存储能力设备中,选择一个未被选择过的设备作为待选异地转储设备; Step C2: local recording device having a storage capacity of the respective device from transmitting the feedback message, select a device by selecting not to be selected as the remote dump device;

步骤C3:根据待选异地转储设备所返回的自身信息,判断该待选异地转储设备的存储容量是否满足预先设定的条件,如果是,则将该待选异地转储设备选择作为所述异地转储设备,否则,执行步骤C4; Step C3: The information to be selected from their remote dump devices returned, it is determined whether or not the predetermined condition to be selected from the remote device storage capacity to meet the dump, if so, to be selected from the remote device is selected as the dump said remote dump device, otherwise, step C4;

步骤C4:本地录制设备判断发送反馈消息的各个设备中是否仍有设备未被选择过,如杲是,则返回步骤C2;否则,本地录制设备发出存储容量不足的警告,并中止媒体内容录制过程,然后结束媒体内容异地动态转储的流程。 Step C4: recording device determines the respective local device sends a feedback message if there has not been selected through the device, such as Gao, the process returns to step C2; otherwise, the local recording device warning of insufficient storage capacity, and recording the media content abort and then the end of the off-site dynamic media content dump process.

其中,步骤C3中所述判断进一步包括: Wherein said determining step C3 further comprising:

判断该待逸异地转储设备的信道宽度是否满足预先设定的条件。 Determining whether the predetermined condition to be remote dump device Yi channel bandwidth to meet. 其中,步骤C1和步骤C2之间,该方法进一步包括: 本地录制设备判断是否收到具有存储能力的设备所返回的反馈消息,如果是,则执行步骤C2及其后续步骤,否则,本地录制设备发出存储容量不足的警告,并中止媒体内容录制过程,然后结束媒体内容异地动态转储的流程。 Wherein the step between steps C1 and C2, the method further comprising: determining whether a local recording device receives a feedback device having a storage capability message returned, if yes, step C2 and subsequent steps is performed, otherwise, the local recording device It warns of insufficient storage capacity, and suspend media content recording process, and then ends the process off-site dynamic media content dump.

其中,步骤Cl所述本地录制设备保存所述发送反馈消息的设备的信息为: 本地录制设备将发送反馈消息的各个设备的信息分别保存在节点队列的各个节点对象中,每个节点对象的属性中至少包括有该设备的IP地址、存储容量以及下一节点对象的指针地址,其中,指针最初指向该节点队列的第一个节点对象; 所述步骤C2〜步骤C4具体包括以下步骤: The information device wherein said step of locally stored Cl recording apparatus transmitting the feedback message to: local recording device information of each device sends feedback messages are stored in target node queues each node, the attribute of each node object includes at least the IP address of the device, storage capacity, and a next pointer address node object, wherein the pointer points to the first node of the first node object queue; C2~ step C4 said step includes the following steps:

步骤C21:本地录制设备获取发送反馈消息的各个设备的节点队列; Step C21: local recording device obtains the respective transmitting apparatus feedback message queue node;

步骤C22:判断该节点队列是否为空,如果是,则本地录制设备发出存储容量不足的警告,并中止媒体内容录制过程,结束媒体内容异地动态转储的流程,否则,执行步骤C23及其后续步骤; Step C22: The node determines whether the queue is empty, and if so, local recording equipment to warn of insufficient storage capacity, and suspend media content recording process, the end of the process media content off-site dynamic dump, otherwise, step C23 and its follow-up step;

步骤C23:读取当前指针所指向的节点对象中的存储容量属性,判断该节点对象所对应的设备的存储容量是否大于预先设定的值,如果是,则执行步骤C24,否则,根据当前指针所指向的节点对象中的下一节点对象的指针地址属性,将指针指向下一节点对象,然后,返回步骤C22; Step C23: reading the memory capacity attribute node object pointer points to the current, determines whether the node corresponding to the object is larger than the storage capacity of the device a preset value, if yes, step C24 is performed, otherwise, the current pointer next node address pointer property object node object pointed to by the node pointer to the next object, and then returns to step to C22;

步骤C24:读取当前指针所指向的节点对象中的IP地址属性,将该IP地址所对应的设备选择作为所述的异地转储设备。 Step C24: read IP address attribute object pointer points to the node in the current, the IP address corresponding to the remote device selected as said dump device.

其中,每个节点对象的属性中进一步包括有该设备的信道宽度,步骤C22 和步骤C24之间进一步包括: Wherein each node object attribute further comprising a channel width of the device, between the steps C22 and C24 further comprising the step of:

读取当前指针所指向的节点对象中的信道宽度属性,判断该节点对象所对应的设备的信道宽度是否大于预先设定的值,如果是,则继续执行后续步骤, 否则,根据当前指针所指向的节点对象中的下一节点对象的指针地址属性,将指针指向下一节点对象,然后,返回步骤C22。 Whether the read channel width property node object pointer points to the current, determining whether the node object corresponding to the device channel width larger than a preset value, if yes, proceed to the subsequent steps, otherwise, according to the current pointer address of the next node pointer property object node object, a pointer to the next node object, and then returns to step C22.

其中,步骤D包括: Wherein step D comprises:

步骤D1:本地录制设备停止向其存储介质存储所录制的媒体内容,关闭已经存储的本地存储文件; Step D1: local recording apparatus stops its media content recorded in the storage medium stores, closing the local storage file already stored;

步骤D2:本地录制设备将录制媒体当前所录制的内容实时转储到异地转储设备上;歩骤D3:本地录制设备判断媒体内容录制过程是否结東,如果是,则执行 Step D2: local recording device recording media currently recorded live dump dump to the remote device; ho step D3: local recording device determines whether the recording of media content junction east, if yes, performing

步骤D4,否则,返回步骤D2,直至媒体内容录制过程结束; Step D4, returning to step D2, media content until the end of the recording process;

步骤D4:本地录制设备通知异地转储设备关闭当前转储的异地转储文件, Step D4: local recording device notifies the remote device to close the current dump dump dump files off-site,

建立本地录制设备上所存储的本地存储文件与异地转储设备所转储的异地转储 The establishment of local storage files stored on a local recording device and remote device dump dump dump places

文件之间的索引关系,并保存该索引关系。 The relationship between the index file, index and save the relationship. 其中,步骤D2进一步包括: Wherein the step D2 further comprises:

步骤D21:所述异地转储设备判断其存储介质是否仍有足够的存储空间, 如果是,则"t丸行步骤D2中所述转储的步骤,然后返回步骤D21,直至4某体内容录制结束;否则,执行步骤D22及其后续步骤; Step D21: dump the remote device determines whether the storage medium which still have enough storage space, and if yes, "t pellet row in step D2 said dump step, then returns to step D21, a body 4 until the content recording end; otherwise, step D22 and its subsequent steps;

步骤D22:异地转储设备向本地录制设备发送存储容量不足的告警消息, 本地录制设备收到该消息后,通知异地转储设备关闭当前转储的异地转储文件; Step D22: dump device after remote, local recording device receives the message to the insufficient capacity of the local recording device sends an alarm message memory, dump device notifies remote places off current dump dump file;

步骤D23:异地转储设备关闭当前转储的异地转储文件,并向本地录制设备上报该异地转储文件的文件信息; Step D23: remote dump device is turned off remote dump files in the current dump, and report the information to the remote file dump file of the local recording device;

步骤D24:本地录制设备根据接收到的异地转储文件的文件信息,建立本 Step D24: local recording apparatus according to the file information received remote dump file, this establishment

文件之间的文件索引关系并保存; The relationship between the index file and save the file;

步骤D25:本地录制设备终止与异地转储设备之间的通讯,结束异地转储流程。 Step D25: communication between local and remote recording device terminates the dump device, the end of the off-site dump process.

其中,在步骤D22中,本地录制设备收到异地转储设备发送的存储容量不足告警消息后,该方法进一步包括:返回所述步骤C。 After which, in step D22, the storage capacity of the local recording device receives the remote device to send a dump of low warning message, the method further comprising: returning to the step C.

可见,本发明通过媒体内容异地动态转储,能够在本地录制设备存储空间不足时,将该录制设备所录制的内容实时转储到家庭网络中具有存储能力的其它设备中,从而解决了由于本地录制设备存储空间有限而对媒体内容录制所造成的限制和影响。 Be seen, the present invention is by remote dynamic media content dump, it is possible to record insufficient local storage device, the content recording device recorded the live dump home network to other devices with storage capability, thereby solving a local recording device storage space is limited and restrictions on the media and the impact caused by recorded content. 除此之外,本发明还具有如下有益效果: In addition, the present invention has the following advantages:

1、 由于采用异地转储的方式保存媒体内容,因此,可以充分发挥家庭网络中的各个设备的存储能力,从而充分利用家庭网络资源; 1, the use of off-site dump way to save media content, therefore, can give full play to the home network storage capabilities of each device, so as to make full use of home network resources;

2、 在媒体内容转储过程中,本地录制设备能够根据一定的条件,自动 2, the dump process in the media content, according to a local recording device capable of certain conditions, automatically

11选择家庭网络中的其它设备作为异地转储设备,无需使用者进行任何操作, 并未增加媒体内容录制过程的操作复杂性,从而使得该方法容易实现; 11 select the other devices in the home network as a remote dump device without any user operation, the operation does not increase the complexity of the content recording medium, so that the method is easy to implement;

3、 由于动态转储无需事先确定转储的位置,因此,使得该方法实现起来更加灵活,不会出现由于某个预先确定用于转储的设备发生故障而导致转储无法实现的问题; 3, due to the dynamic dump dump without a predetermined position, thus making the process more flexible to implement, does not occur due to a pre-determined for crash dumps occur and cause problems dump device can not be achieved;

4、 由于在转储结束后,本地录制设备建立了本地存储文件与异地转储文件之间的文件索引,因此,在对录制的媒体内容进行播放时,本地录制设备能够根据该索引关系直接找到异地转储设备上所存储的文件,并顺序播放,使得用户感觉所播放的媒体内容均在同一个文件中,从而不会由于异地转储而给用户的观看带来不便。 4, due at the end of the dump, the establishment of a local recording device file indexing files between local and remote memory dump file, and therefore, when the recorded media content playback, local recording device directly to the index to find the relationship between the storage device on a remote dump file, and the order of play, making the user feel the media content being played are in the same file, so as not to inconvenience due to off-site and dump the user's viewing.

附图说明 BRIEF DESCRIPTION

图1为实现本发明的流程图。 1 is a flow chart for implementing the present invention.

图2为实现步骤101和步骤102的流程图。 2 is implemented steps 101 and 102 of the flowchart of FIG.

图3为实现步骤103的流程图。 FIG 3 is a flowchart 103 of the steps to achieve.

图4为本发明中节点对象的示意图。 4 is a schematic view of the invention in FIG node object.

图5为实现步躁303~步骤305的流程图。 5 is implemented through step 303 impatient step 305 of the flowchart.

图6为实现步骤104的流程图。 FIG 6 is a flowchart 104 of the steps implemented.

图7为实现步骤602时所需要进一步执行的步骤的流程图。 7 is a flowchart of steps to achieve the required further step executed 602 in FIG. 具体实施方式 Detailed ways

本发明为一种媒体内容异地动态存储的方法,该方法在媒体内容录制过程中,实时判断进行媒体录制的本地设备的存储空间是否已经达到预警存储容量,并在达到该容量时,从家庭网络上查询得到具有存储能力的其它设备, 从这些设备中选择一个设备作为异地转储设备,并将当前录制的媒体内容转储到该设备上,从而实现媒体内容的异地转储;在录制结束时,本地录制设备建立本地存储文件与异地转储文件之间的文件索引,以使得在进行媒体内容播放时,能够根据该索引查询得到异地转储设备上所存储的媒体内容,从而实现媒体内容的完整播放。 The method of the present invention is a dynamic media content stored off-site, in which during recording the media content, real-time recording medium is determined whether the local storage space has reached the warning device storage capacity, and this capacity is reached, from the home network the query to obtain other devices with storage capabilities, selecting a device from the remote devices as a dump device, and dumps the current recording media content to the device, enabling remote dump media content; recording end time , to establish local recording device file index files between local and remote memory dump file, so that during playback of media content, media content can be a query to obtain the off-site storage dump device according to the index, enabling the media content complete player.

下面结合附图,对本发明的具体实现加以说明: 参见图1,实现本发明需要以下步骤: 步骤101:本地录制设备进行媒体内容录制; DRAWINGS, next to the specific implementation of the invention: Referring to Figure 1, to achieve the present invention requires the following steps: Step 101: the local recording device for recording the media content;

步骤102:本地录制设备判断其存储介质是否仍有足够的存储空间保存录制的媒体内容,如果是,则将录制的媒体内容存储到本地录制设备的本地存储文件中,在存储满足羊次存储条件后返回步骤101,直至录制结束;否则,执行步骤103; Step 102: the local storage medium of the recording device which determines whether there is still enough memory space to save the recorded media content, if yes, the recorded media content stored in the local storage file on the local recording device, the secondary storage conditions satisfying the sheep after returning to step 101, until the end of the recording; otherwise, step 103;

步骤103:本地录制设备在家庭网络中选择具有存储能力的其它设备作为异地转储设备; Step 103: Select a local recording device other devices with storage capacity as a remote dump device in the home network;

步骤104:本地录制设备将所录制的媒体内容实时转储到步骤103所选择的异地转储设备的异地转储文件中,直至媒体内容录制结束,本地录制设备建立本地存储文件与异地转储文件之间的索引关系并保存。 Step 104: The local recording device to record the real-time media content to the remote dump dump dump file remote device selected in step 103, the media content until the end of recording, the recording device establishing a local local and remote memory dump file the relationship between the index and save.

下面结合附图,分别对上述步骤的具体实现加以详细说明: ( 一)步骤101和步骤102的具体实现: DRAWINGS respectively be described in detail a specific implementation of the above steps: An embodiment (a) of steps 101 and 102:

参见图2,在本发明实施例中,步骤101和步骤102的具体实现包括: 步骤201:本地录制设备启动录制媒体,准备开始对接收到的媒体内容进行实时录制; Referring to Figure 2, in the embodiment of the invention, the specific implementation of steps 101 and 102 includes: Step 201: the local recording device starts recording media, ready to begin the received real-time recording of media content;

步骤202:本地录制设备判断其存储介质的当前存储空间是否小于等于预警存储容量(Min Memory Limit, MML ),如果是,则执行图1所示的步骤103,否则,执行步骤203;其中,在本发明实施例中,可以根据实际使用需要,任意设定MML的值,并不影响本发明的实现; Step 202: the local storage medium of the recording device determines its current storage capacity of the memory is less than equal to the warning (Min Memory Limit, MML), if yes, step 103 shown in FIG. 1, otherwise, perform step 203; wherein embodiment of the present invention, according to the actual needs can be arbitrarily set value of MML, did not affect the implementation of the invention;

步骤203:本地录制设备利用录制媒体对接收到的媒体内容进行实时录制,并将录制的媒体内容存储到该本地录制设备的存储介质中; Step 203: the local recording device using the recording media received real-time recording of media content, and stores recorded media content to the local storage medium in the recording apparatus;

步骤204:本地录制设备判断当前所进行的存储是否满足预先设定的单次存储条件,如果是,则执行步骤205,否则,返回步骤203,继续执行录制和存储媒体内容的操作,直至当前所进行的存储满足单次存储条件;其中, 在本发明实施例中,预先设定单次进行媒体内容存储的时间长度作为上述的单次存储条件,利用该条件,可以控制每当进行该存储时间长度的媒体内容存储之后,均要对媒体内容录制是否结束、以及本地录制设备存储介质是否仍有足够的存储空间进行判断,从而能够达到分批存储媒体内容,并在分批存储过程中实时监测本地录制设备存储空间的目的,以使得本发明所提供的转储方法能够根据监测到的存储空间情况得以实现;在本发明其它实施例中,也可以采用单次存储的媒体内容大小作为上述单次存储条件,利用该条件,同样可以实现对 Step 204: the local recording device determines whether to store the current conducted by a single storage condition satisfies a predetermined, if yes, perform step 205, otherwise, returns to step 203, operation continues to record and store media content, until the current satisfying the conditions of a single memory; wherein, in the embodiment of the invention, the predetermined length of time a single media content stored as the single storage conditions, using the conditions can be controlled every time the storage time after media content storage length, you have to end if the media content recording, the recording device and whether local storage media still have enough storage space to judge, so as to achieve a batch storage media content, real-time monitoring and stored in a batch process local recording device object storage space, so that the dump process of the present invention, provided can be realized in accordance with the monitored storage case; in other embodiments of the present invention, the size of the media content may be used as a single storage of the single secondary storage conditions, use conditions, may also be achieved 体内容的分批存储,从而保证媒体内容的转储能够实现;在本发明其它实施例中,也可采用与存储相关的其它条件作为单次存储条件,并不影响本发明的实现; Batch of bank contents, thereby ensuring that the media content can be achieved dump; in other embodiments of the present invention may also be employed in other conditions related to the storage as a single storage conditions, does not affect the implementation of the invention;

步骤205:判断媒体内容录制是否结束,如果是,则结束媒体录制及存储过程,结束本流程,否则,返回步骤202,以继续进行媒体内容的实时录制,直至媒体内容录制结束。 Step 205: determine whether the end of the recording media content, and if so, the end of the media recording and storage process, the end of the process, otherwise, returns to step 202 to continue recording in real-time media content, media content until the end of the recording.

(二)步骤103的具体实现: (Ii) step 103 is a specific implementation:

参见图3,在本发明实施例中,实现步骤103需要以下步骤: 步骤301:本地录制设备通过家庭网络,向家庭网络中的各个设备发送申请存储空间请求,家庭网络中具有存储能力的各个设备分别向本地录制设备发送反馈消息,并将自身信息返回给本地录制设备; Referring to Figure 3, in the embodiment of the present invention, to achieve 103 requires the following steps: Step 301: the local recording device through the home network to the home network, various devices Send Request storage request, the home network with individual devices storage capability feedback message are transmitted to the local recording device, and returns the information to the local recording device itself;

步骤302:本地录制设备判断是否收到具有存储能力的设备所返回的反馈消息,如果是,表明家庭网络中存在具有存储能力的其它设备,则执行步骤303及其后续步骤,否则,表明家庭网络中并不存在具有存储能力的其它设备,无法进行媒体内容的转储,则本地录制设备发出存储容量不足的警告, 并中止媒体内容录制过程,然后结束本流程; Step 302: the local recording device determines whether or not a feedback device having a storage capability message returned, and if so, indicates that other devices with storage capacity exists in the home network, step 303 and subsequent steps is performed, otherwise, show a home network does not exist in other devices with storage capabilities, media content can not be dumped, the local recording equipment to warn of insufficient storage capacity, and suspend media content recording process, and then the end of the process;

步骤303:本地录制设备从发送反馈消息的各个具有存储能力设备中, 选择一个未被选择过的设备作为待选异地转储设备;在本发明具体实施例中,可以釆用在发送反馈消息的各个设备中依次选择的方式来进行上述选择,在本发明其它实施例中,也可采用其它选择方式,并不影响本发明的实 Step 303: the recording apparatus from the respective local storage capable device sends a feedback message, select a device by selecting as not to be selected from the remote dump devices; in particular embodiments of the present invention, may preclude the use of feedback messages sent sequentially selecting each device to perform the selected manner, in other embodiments of the present invention may also be employed to select other embodiment, the present invention does not affect the real

现; Now;

步骤304:根据待选异地转储设备所返回的自身信息,判断该待选异地转储设备的存储容量以及信道宽度是否满足预先设定的条件,如果是,则将该待选异地转储设备作为异地转储设备,并执行图1所示的步骤104,否则, 表明当前的待选异地转储设备不能满足异地转储的要求,执行步骤305; Step 304: according to its own information to be selected from the remote device to return the dump, it is determined whether or not the predetermined condition to be selected from the remote device dump storage capacity and a channel width satisfied, if so, the dump to be selected from the remote device as a remote dump device, and performs step 1104 shown in FIG. otherwise, remote dump devices indicate the current candidate remote dump not meet the requirements, step 305 is executed;

其中,在本发明的具体应用中,为了保证媒体内容转储过程中,异地转储设备能够实时接收本地录制设备发送过来的媒体内容并存储,需要异地转储设备提供足够的信道宽度,因此,在本发明具体实施例中,步骤304中除了判断待选异地转储设备的存储容量之外,还进一步判断该设备的信道宽度,以使得最终选择得到的异地转储设备能够提供一定的信道宽度,从而满 Wherein, in the particular application of the present invention, in order to ensure media content during the dump, the dump remote recording device capable of receiving a local real-time media content sent from the device and stored offsite dump device needs to provide sufficient channel width, therefore, in a particular embodiment of the present invention, the step 304 is determined to be selected in addition to the storage capacity of the remote device than the dump, further determines the channel width of the device, so that the remote dump device obtained finally selected to provide constant channel width so full

足实时转储的需要;在本发明其它实施例中,如果家庭网络中的各个设备均具有满足要求的信道宽度,或者所录制的媒体的传输速度小于一定的值从而使得家庭网络中的各个设备均可对该录制的媒体进行实时录制,则也可不进 Requires sufficient real dump; in other embodiments of the present invention, the channel width, if the home network of the respective devices have to meet the requirements, or the transmission speed of the recording medium is less than a certain value so that the various devices in the home network the media can be recorded in real-time recording, it may not enter

行信道宽度的判断,并不影响本发明的实现; Determining downlink channel width, it does not affect the implementation of the invention;

步骤305:本地录制设备判断发送反馈消息的各个设备中是否仍有设备未被选择过,如果是,表明家庭网络中仍然可能存在可以进行异地转储的设备,则返回步骤303,以继续选择用于异地转储的i殳备;否则,表明在家庭网络中没有相应的设备能够实现异地转储,则本地录制设备发出存储容量不足的警告,并中止媒体内容录制过程,然后结束本流程。 Step 305: a local recording device each device to send feedback to determine whether the message is still the device had not been selected, and if so, indicates that there may still be a home network can be remote dump device returns to step 303 to continue selection i Shu prepared to dump off-site; otherwise, show no corresponding device enables remote dump in the home network, the local recording equipment to warn of insufficient storage capacity, and suspend media content recording process, and then the end of the process.

其中,在本发明一优选实施例中,本地录制设备将发送了反馈消息的各个设备的信息保存在一节点队列中,该节点队列中包括多个节点对象,每个节点对象与一个发送反馈信息的设备相对应,参见图4所示,每个节点对象的属性中至少包括有该设备的IP地址、存储容量、信道宽度、以及下一节 Wherein, for example, the local recording device sends a feedback message information of each device is stored in a queue node in a preferred embodiment of the present invention, the node comprises a plurality of nodes in the queue objects, and each object is a node transmit the feedback information corresponding to the device, see FIG. 4, each node attribute object includes at least the IP address of the device, storage capacity, the channel width, and the next section

点的指针地址,其中,指针最初指向该节点队列的第一个节点对象。 Pointer address points, wherein a pointer to the first node of the first node pointing to the object queue. 基于此种存储方式,在本发明优选实施例中,按照图5所示的步骤实现上述步骤303〜步骤305:步骤501:获取发送反馈消息的各个设备的节点队列; Based on this storage, in a preferred embodiment of the present invention, to achieve the above Step 303~ Step 305 according to the procedure shown in FIG. 5: Step 501: acquiring the respective transmitting apparatus feedback message queue node;

步骤502:判断该节点队列是否为空,如果是,则本地录制设备发出存储容量不足的警告,并中止媒体内容录制过程,结束本流程,否则,执行步骤503及其后续步骤; Step 502: The node determines whether the queue is empty, if yes, then the local recording device warning of insufficient storage capacity, and recording the media content aborted, the process ends, otherwise, step 503 and subsequent steps;

步骤503:读取当前指针所指向的节点对象中的信道宽度属性,判断该节点所对应的设备的信道宽度是否大于预先设定的值,如果是,则执行步骤504,否则,根据当前指针所指向的节点对象中的下一结点的指针地址属性, 将指针指向下一结点,然后,返回步骤502,以开始对下一个节点进行判断; Step 503: whether the read channel width property node object pointer points to the current, determines the node device corresponding to a channel width larger than a preset value, if yes, perform step 504, otherwise, the current pointer next node pointer address attribute node object pointed to by the pointer to the next node, and then returns to step 502 to begin the determination of the next node;

步骤504:读取当前指针所指向的节点对象中的存储容量属性,判断该节点所对应的设备的存储容量是否大于预先设定的值,如果是,则执行步骤505,否则,根据当前指针所指向的节点对象中的下一结点的指针地址属性, 将指针指向下一结点,然后,返回步骤502,以开始对下一个节点进行判断; Step 504: reading the memory capacity attribute node object pointer points to the current, determines whether the node corresponding to the storage capacity of the device is greater than a preset value, if yes, perform step 505, otherwise, the current pointer next node pointer address attribute node object pointed to by the pointer to the next node, and then returns to step 502 to begin the determination of the next node;

其中,在本发明其它实施例中,也可以先执行步骤504然后再执行步骤503,并不影响本发明的实现; Wherein, in other embodiments of the present invention, may be performed before step 504 and then step 503 is performed, it does not affect the implementation of the invention;

步骤505:读取当前指针所指向的节点对象中的IP地址属性,将该IP 地址所对应的设备选择作为所述的异地转储设备。 Step 505: reading the IP address of the object property of the node pointed to by the current, the IP address corresponding to the remote device selected as said dump device.

在本发明其它实施例中,还可采用其它方式保存发送了反馈消息的各个设备的信息,并根据保存方式采用相应的步骤实现上述步骤303~步骤305, 并不影响本发明的实现。 In other embodiments of the present invention, other means may be employed to save the information of each apparatus transmits feedback message, and using appropriate steps to achieve the above Step 303 to Step 305 according to the stored mode, it does not affect the implementation of the invention.

(三)步骤104的具体实现: Specific implementation (iii) of step 104:

参见图6,在本发明实施例中,实现步骤104需要以下步骤: 步骤601:本地录制设备停止向其存储介质存储所录制的媒体内容,关 Referring to Figure 6, in the embodiment of the invention, the implement step 104 requires the following steps: Step 601: the local apparatus stops recording the media content to which a storage medium storing the recorded, off

闭已经存储的本地存储文件; Closed locally stored files have been stored;

步骤602:本地录制设备将录制媒体当前所录制的内容实时转储到异地 Step 602: The local media recording device will record the currently recorded content in real time to a remote dump

转储设备上; Dump devices;

步骤603:本地录制设备判断媒体内容录制过程是否结束,如果是,则执行步骤604,否则,返回步骤602,直至媒体内容录制过程结束; Step 603: the local recording device determines whether the end of recording of media content, if yes, perform step 604, otherwise, it returns to step 602 until the end of recording of media content;

16步骤604:本地录制设备通知异地转储设备关闭当前转储的文件,建立本地录制设备上所存储的文件与异地转储设备所转储的文件之间的索引关系,并保存该索引关系以供后续播放所录制的媒体内容时,能够根据该索引关系完整地播放保存有媒体内容的整个文件。 16. Step 604: a local recording device notifies remote dump device to close the current dump files, indexing the relationship between the recording device on the local and remote file storage device dump dump file, and save the relationship to the index when media content for subsequent playback the recorded, according to the index relationship can fully play to save the entire file has media content.

其中,由于在实际应用中,录制的媒体内容有可能很大,从而导致转储设备也无法提供足够的存储空间存储该媒体内容,为了避免由于异地转储设备本身存储容量不足而导致媒体内容丢失的情况,在本发明一优选实施例中,上述步骤602进一步包括图7所示的步骤,具体包括: However, since in practical applications, recorded media content there may be large, leading to a dump device can not provide enough storage space to store the media content, in order to avoid remote dump device itself due to insufficient storage capacity which led to the loss of media content case, in a preferred embodiment of the invention, the step 602 further comprises the step shown in FIG. 7, specifically comprising:

步骤701:所述异地转储设备判断其存储容量是否小于MML,如果是, 则执行步骤702及其后续步骤,否则,该异地转储设备执行所述异地转储的步骤,然后返回步骤701,直至媒体内容录制结束; Step 701: the remote device determines that the dump is less than the storage capacity of the MML, if so, step 702 and subsequent steps is performed, otherwise, the apparatus places the remote dump dump step, then returns to step 701, until the end of the recording media content;

步骤702:异地转储设备向本地录制设备发送存储容量不足的告警消息, 本地录制设备收到该消息后,通知异地转储设备关闭当前转储的文件; Step 702: the remote dump device, local recording device receives the message to the insufficient capacity of the local recording device sends an alarm message storage, a notification remote dump dump device closes the current file;

步骤703〜步骤705:异地转储设备收到本地录制设备发送的通知后,关闭当前转储的文件,并向本地录制设备上报该转储文件的文件信息;其中, 在本发明实施例中,该文件信息为该文件在异地转储设备中的存储地址,在本发明其它实施例中,该文件信息也可为该文件在异地转储设备中的存储文件名; Step 703~ Step 705: after receiving the notification remote dump device transmitting the local recording device, closes the current dump file, the file and reports the information of the local dump file recording apparatus; wherein, in the embodiment of the present invention, the file information for files stored in the remote address dump devices, in other embodiments of the present invention, the file information for the file may be a file name stored in the remote dump devices;

步骤706:本地录制设备根据接收到的存储文件的文件信息,建立本地 Step 706: the local recording device according to the received file information file is stored, establishing a local

件之间的文件索引关系并保存;其中,在本实施例中,根据上报的转储文件的存储地址,本地录制设备建立保存了录制的媒体内容的本地存储文件的存储地址与转储文件存储地址之间的索引关系,并保存该索引关系,以供进行媒体内容播放时使用;在本发明其它实施例中,还可以根据所上报的转储文 The relationship between the index file and save member; wherein, in the present embodiment, the memory address stored with the dump file stored locally stored files recorded media content according to the storage address reported by the establishment of a dump file, the local recording device index relationship between the address and the stored index relationship, for use for playing the media content; in other embodiments of the present invention, it is also reported dump file in accordance with the

件的文件名,建立本地存储文件的文件名与异地转储文件的文件名之间的索引关系,并保存该索引关系,并不影响本发明的实现; Pieces of the file name, file name index to establish the relationship between the local storage and remote file name of the dump file, and save the index relations, does not affect the implementation of the invention;

步骤707:本地录制设备终止与异地转储设备之间的通讯,结束异地转储流程。 Step 707: Communication between the local and remote recording device terminates the dump device, the end of the off-site dump process.

通过图7所示的流程,能够在异地转储设备存储容量不足时,及时将该情况上报给本地录制设备,并终止异地转储设备的转储,从而避免所录制的媒体内容由于异地转储设备的存储容量不足而丢失。 By the flow shown in FIG. 7, it is possible dump device remote insufficient storage capacity, the situation promptly reported to the local recording device, and terminating remote dump dump devices, so as to avoid the media content recorded in different places due to dump insufficient storage capacity of the device is lost. 在本发明其它实施例 In other embodiments of the present invention

中,为了能够保证媒体录制的完整性,在上述步骤702中,本地录制设备收到异地转储设备发送的存储容量不足告警消息后,还可进一步返回执行图1 所示的步骤103及其后续步骤,在家庭网络中选择新的具有存储能力的设备作为异地转储设备,并利用该设备完成媒体内容的转储,从而使得能够对媒体内容进行完成的录制和存储。 After the step, in order to ensure the integrity of the recording medium, in step 702, the storage capacity of the local recording device receives the remote device to send a dump of low warning message may further return execution 103 shown in FIG. 1 and subsequent step of selecting a new device with storage capacity in the home network as a remote dump device, and using the device to complete the dump media content, recorded and stored such that the media content can be accomplished.

在本发明中,当需要播放所录制的媒体内容时,首先播放本地录制设备上保存的本地存储文件,在本地存储文件播放完之后,根据该本地存储文件 In the present invention, when the recorded media content to be played, first playing locally stored files stored on local recording device, after the local storage file finishes playing, according to the local storage file

与异地转储文件之间的索引关系,从异地转储设备中获取得到其保存的异地转储文件并播放,从而实现对所录制的媒体内容的完整播放。 The relationship between the index and the remote dump file from the remote dump devices get get save dump file and play in different places, in order to achieve the full play of the recorded media content. 在本发明一些实施例,如果媒体内容在多个异地转储设备上进行了转储,则本地录制设备中会保存多个文件索引关系,此时,本地录制设备播放完本地存储文件后, 根据所保存的文件索引关系建立的时间先后顺序,依次播放各个异地转储设备中保存的异地转储文件,从而实现对所录制的媒体内容的完整播放。 In some embodiments of the present invention, if the media content on the plurality of remote dump dump device, the recording device will be saved in a local file index relationship plurality In this case, after the recording device finishes playing local files stored locally, according to the saved file chronological index established relationship that plays saved each remote device remote dump dump files, enabling full play to the recorded media content.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本 The preferred embodiment of the above embodiments of the present invention only but are not intended to limit the present invention, where the present

发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Within the spirit and principle of the invention, any modification, equivalent replacement, or improvement, it should be included within the scope of the present invention.

18 18

Claims (16)

1、一种媒体内容异地动态转储的方法,其特征在于,该方法包括:步骤A:本地录制设备进行媒体内容录制;步骤B:本地录制设备判断其存储介质是否仍有足够的存储空间,如果是,则将录制的媒体内容存储到本地存储文件中,在存储满足单次存储条件后返回步骤A,直至录制结束;否则,执行步骤C;步骤C:本地录制设备在家庭网络中选择具有存储能力的其它设备作为异地转储设备;步骤D:本地录制设备将当前所录制的媒体内容实时转储到所述异地转储设备的异地转储文件中,直至媒体内容录制结束,本地录制设备建立本地存储文件与异地转储文件之间的索引关系并保存。 A dynamic remote dump media content, characterized in that, the method comprising: Step A: local recording device to record the media content; Step B: local storage medium of the recording device which determines whether there is enough storage space, If so, then the recorded media content stored in a local storage file, return to step a after a single memory storage conditions are met, until the end of the recording; otherwise, step C; step C: choose a local recording device in a home network other devices as remote storage capacity dump device; step D: local recording device recorded media content currently live dump dump file to the remote device remote dump, until the end of recording of media content, local recording device indexed files between local and remote memory dump file and save it.
2、 根据权利要求1所述的方法,其特征在于,步骤D之后,该方法进一步包括:播放本地存储文件中存储的媒体内容,播放完毕后,根据步骤D中所建立的本地存储文件和异地转储文件之间的索引关系,获取异地转储设备中的异地转储文件并播放该文件中的媒体内容,直至整个媒体内容播放完毕。 2. The method according to claim 1, characterized in that, after step D, the method further comprising: playing media content stored in the local storage file, play after, the local storage file created in the steps D and remote the relationship between the index of the dump file, the dump file to obtain off-site remote dump devices and play media content in the file until the entire media content has finished playing.
3、 根据权利要求2所述的方法,其特征在于,本地录制设备保存有至少两个所述索引关系时,所述获取异地转储文件并播放该文件中的媒体内容包括:根据所述索引关系建立的先后顺序,依次执行所述获取异地转储文件并播放该文件中的媒体内容的步骤,直至播放完整个媒体内容。 3, the method according to claim 2, characterized in that the local recording device has at least two of said stored index relationship, the remote dump file acquiring and playing the media content file comprises: according to the index establish relations order, follow the steps in obtaining the remote dump file and play the file of media content, until the complete media content playback.
4、 根据权利要求1〜3任意一项所述的方法,其特征在于,所述索引关系为 4. A method according to any one of claims 1~3 claim, wherein the index relationship
5、 根据权利要求1〜3任意一项所述的方法,其特征在于,所述索引关系为 5. A method according to any one of claims 1~3 claim, wherein the index relationship
6、根据权利要求1所述的方法,其特征在于,步骤B中,所述本地录制设备判断其存储介质是否仍有足够的存储空间为:本地录制设备判断其存储介质的当前存储空间是否小于等于预先设定的预警存储容量,如果是,则判断得到本地录制设备的存储介质不具有足够的存储空间,否则,则判断得到本地录制设备的存储介质具有足够的存储空间。 6. The method of claim 1, wherein, in step B, the local recording device which determines whether the storage medium has enough storage space: the recording device determines whether the local storage medium which is less than the current storage it is equal to a predetermined storage capacity warning, if so, determines the recording device to obtain a local storage medium does not have sufficient storage space, otherwise, it is determined to obtain a local storage medium of the recording device has sufficient storage space.
7、 根据权利要求1所述的方法,其特征在于,所述单次存储条件为预先设定的单次进行媒体内容存储的时间长度。 7. The method of claim 1, wherein said single storage conditions for a length of time of media content stored to the single set in advance.
8、 根据权利要求1所述的方法,其特征在于,所述单次存储条件为预先设定的单次存储的媒体内容的大小。 8. The method of claim 1, wherein said single storage conditions for a single size of the media content stored in the preset.
9、 根据权利要求1所述的方法,其特征在于,步骤C包括:步骤Cl:本地录制设备向家庭网络中的各个设备发送申请存储空间请求, 家庭网络中具有存储能力的各个设备分别向本地录制设备发送反馈消息,本地录制设备保存所述发送反馈消息的设备的信息;步骤C2:本地录制设备从发送反馈消息的各个具有存储能力设备中,选择一个未被选择过的设备作为待选异地转储设备;步骤C3:根据待选异地转储设备所返回的自身信息,判断该待选异地转储设备的存储容量是否满足预先设定的条件,如果是,则将该待选异地转储设备选捧作为所述异地转储设备,否则,执行步骤C4;步骤C4:本地录制设备判断发送反馈消息的各个设备中是否仍有设备未被选择过,如果是,则返回步骤C2;否则,本地录制设备发出存储容量不足的警告,并中止媒体内容录制过程,然后结束媒 9. The method according to claim 1, wherein step C comprises the steps of: Cl: local recording device requests to each device in the home network transmits application storage space having a respective home network device to the local storage capacity, respectively the information recording device to send feedback message, saving the local recording device transmitting the feedback message; step C2: from each of the local recording device to be selected as a storage capacity device, a selecting device selecting the non-feedback messages are sent offsite dump device; step C3: according to its own information to be selected from the remote device to return the dump, it is determined whether or not the predetermined condition to be selected from the remote device storage capacity to meet the dump, if so, the candidate remote dump the holding apparatus is selected as a remote dump device, otherwise, step C4; step C4: each of the local recording device transmitting the feedback device determines whether the message still has not been selected through the device, and if so, returns to step C2; otherwise, local recording equipment to warn of insufficient storage capacity, and suspend media content recording process and then end media 内容异地动态转储的流程。 Process content off-site dynamic dump.
10、 根据权利要求9所述的方法,其特征在于,步骤C3中所述判断进一步包括:判断该待选异地转储设备的信道宽度是否满足预先设定的条件。 10. The method of claim 9, wherein, in said determination step C3 further comprising: determining whether a predetermined condition of the dump to be selected from the remote device to meet the channel width.
11、 根据权利要求9所述的方法,其特征在于,步骤C1和步骤C2之间, 该方法进一步包括:本地录制设备判断是否收到具有存储能力的设备所返回的反馈消息,如果是,则执行步骤C2及其后续步骤,否则,本地录制设备发出存储容量不足的警告,并中止媒体内容录制过程,然后结束媒体内容异地动态转储的流程。 11. The method according to claim 9, wherein the step between steps C1 and C2, the method further comprising: determining whether a local recording device receives a feedback device having a storage capability message returned, if so, C2 perform step and subsequent steps, otherwise, local recording equipment to warn of insufficient storage capacity, and suspend media content recording process, and then ends the process off-site dynamic media content dump.
12、 根据权利要求9所述的方法,其特征在于,步骤C1所述本地录制设备保存所述发送反馈消息的设备的信息为:本地录制设备将发送反馈消息的各个设备的信息分别保存在节点队列的各个节点对象中,每个节点对象的属性中至少包括有该设备的IP地址、存储容量以及下一节点对象的指针地址,其中,指针最初指向该节点队列的第一个节点对象;所述步骤C2〜步骤C4具体包括以下步骤:步骤C21:本地录制设备获取发送反馈消息的各个设备的节点队列;步骤C22:判断该节点队列是否为空,如果是,则本地录制设备发出存储容量不足的警告,并中止媒体内容录制过程,结束媒体内容异地动态转储的流程,否则,执行步骤C23及其后续步骤;步骤C23:读取当前指针所指向的节点对象中的存储容量属性,判断该节点对象所对应的设备的存储容量是否大于预先设定的值 12. The method of claim 9, wherein the step of storing the recording apparatus C1 local device information transmitting feedback messages to: local recording device information of each device sends feedback messages are stored in the node queue of each node, a node attribute of each object includes at least the IP address of the address pointer, and a next node object storage capacity of the apparatus, wherein the pointer points to the first node of the first queue node object; the step C4 C2~ said step includes the following steps: step C21: local recording device obtains each queue node device transmits feedback message; step C22: the node determines whether the queue is empty, if yes, then the local recording device issues a storage capacity shortage warnings, and aborts recording of media content, media content ends remote dynamic dump process, otherwise, perform step and subsequent steps C23; C23 step of: reading the memory capacity attribute object pointer points to the node in the current, which is determined whether the node corresponding to the object is larger than the storage capacity of the device value set in advance 如果是,则执行步骤C24,否则,根据当前指针所指向的节点对象中的下一节点对象的指针地址属性,-将指针指向下一节点对象,然后,返回步骤C22;步骤C24:读取当前指针所指向的节点对象中的IP地址属性,将该IP地址所对应的设备选择作为所述的异地转储设备。 If yes, the step C24 is executed, otherwise, the current pointer address of the next node object property object pointer points to the node in, - the pointer to the next node object, and then returns to step to C22; Step C24: reading the current IP address attribute object pointer points to the node in the IP address in the selected remote device corresponding to the device as the dump.
13、 根据权利要求12所述的方法,其特征在于,每个节点对象的属性中进一步包括有该设备的信道宽度,步骤C22和步骤C24之间进一步包括:读取当前指针所指向的节点对象中的信道宽度属性,判断该节点对象所对应的设备的信道宽度是否大于预先设定的值,如果是,则继续执行后续步骤, 否则,根据当前指针所指向的节点对象中的下一节点对象的指针地址属性,将指针指向下一节点对象,然后,返回步骤C22。 13. The method of claim 12, characterized in that the object properties of each node further comprises a channel width of the device, between the steps C22 and C24 further comprising the step of: reading the current node object pointer points if the channel width of the property, determining whether the node object corresponding to the device channel width larger than a preset value, if yes, proceed to the subsequent steps, otherwise, according to the current next node the target node object pointer points to the the pointer address attribute, an object pointer to the next node, and then returns to step C22.
14、 根据权利要求1所述的方法,其特征在于,步骤D包括:步骤D1:本地录制设备停止向其存储介质存储所录制的媒体内容,关闭已经存储的本地存储文件;步骤D2:本地录制设备将录制媒体当前所录制的内容实时转储到异地转储设备上;步骤D3:本地录制设备判断媒体内容录制过程是否结束,如果是,则执行步骤D4,否则,返回步骤D2,直至媒体内容录制过程结束;步骤D4:本地录制设备通知异地转储设备关闭当前转储的异地转储文件,文件之间的索引关系,并保存该索引关系。 14. The method according to claim 1, wherein the step D comprises: Step D1: local recording apparatus stops its media content recorded in the storage medium stores, closing the local storage file already stored; Step D2: local recording the device is currently recording media recorded live dump to dump on the remote device; step D3: local media content recording device determines whether the end of the recording process, and if so, proceed to step D4, returning to step D2, until the media content the recording process ends; step D4: local recording device notifies the remote device to close the current dump dump dump files off-site, the relationship between the index file, index and save the relationship.
15、 根据权利要求14所述的方法,其特征在于,步骤D2进一步包括: 步骤D21:所述异地转储设备判断其存储介质是否仍有足够的存储空间,如果是,则执行步骤D2中所述转储的步骤,然后返回步骤D21,直至媒体内容录制结束;否则,执行步骤D22及其后续步骤;步骤D22:异地转储设备向本地录制设备发送存储容量不足的告警消息, 本地录制设备收到该消息后,通知异地转储设备关闭当前转储的异地转储文件;步骤D23:异地转储设备关闭当前转储的异地转储文件,并向本地录制设备上报该异地转储文件的文件信息;步骤D24:本地录制设备根据接收到的异地转储文件的文件信息,建立本地录制设备上保存的媒体内容的本地存储文件与异地转储设备上所述异地转储文件之间的文件索引关系并保存;步骤D25:本地录制设备终止与异地转储设备之间的通讯,结束异地转 15. The method of claim 14, wherein the step D2 further comprises the steps of: D21: dump the remote device determines whether the storage medium which still have enough storage space, if yes, executing step D2 as said step dump, then returns to step D21, the contents until the end of the recording media; otherwise, step and subsequent steps D22; D22 steps: remote dump device to less than the storage capacity of the local recording device transmits an alarm message, received local recording device the message to notify the remote device to close the current dump dump dump files off-site; step D23: remote dump device to close the current dump dump files off-site, off-site and reports the files in the local dump file recording device information; step D24: index of files on a local file on the local storage file recording apparatus according to the information received remote dump file, establishing a local recording device stored on the remote media content between the remote device dump dump file relations and saved; step D25: communication between local and remote recording device terminates the dump device, the end of the off-site transfer 储流程。 Storage process.
16、 根据权利要求15所述的方法,其特征在于,在步骤D22中,本地录制设备收到异地转储设备发送的存储容量不足告警消息后,该方法进一步包括: 返回所述步骤C。 After 16, The method of claim 15, wherein, in step D22, the storage capacity of the local recording device receives the remote device to send a dump of low warning message, the method further comprising: returning to the step C.
CN 200510079794 2005-06-28 2005-06-28 Media content long-distance dynamic dumping method CN100504842C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510079794 CN100504842C (en) 2005-06-28 2005-06-28 Media content long-distance dynamic dumping method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510079794 CN100504842C (en) 2005-06-28 2005-06-28 Media content long-distance dynamic dumping method

Publications (2)

Publication Number Publication Date
CN1889069A CN1889069A (en) 2007-01-03
CN100504842C true CN100504842C (en) 2009-06-24

Family

ID=37578348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510079794 CN100504842C (en) 2005-06-28 2005-06-28 Media content long-distance dynamic dumping method

Country Status (1)

Country Link
CN (1) CN100504842C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506612A (en) * 2016-10-31 2017-03-15 中山大学 A kind of data storage shared system and method for being applied to community's wired home

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409659A (en) * 2007-10-08 2009-04-15 华为技术有限公司 Control method, system and entity for network REC
CN101547215B (en) * 2008-03-27 2013-07-03 新奥特(北京)视频技术有限公司 File dumping method and system in process of real-time data acquisition
CN101547216B (en) * 2008-03-27 2013-03-06 新奥特(北京)视频技术有限公司 Safe storage method and system in process of real-time data acquisition
CN101489109B (en) * 2009-01-12 2014-10-29 深圳市同洲电子股份有限公司 Network personal video recording method, apparatus and background management system
CN101860955A (en) * 2009-04-08 2010-10-13 华为技术有限公司;东南大学 Method for realizing service registry and method and device for realizing service discovery
CN102075691B (en) * 2009-11-24 2015-06-17 新奥特(北京)视频技术有限公司 Subtitle editing and broadcasting system with log management function
CN103685426B (en) * 2012-09-25 2017-11-03 联想(北京)有限公司 Message processing device and information processing method
CN105407380A (en) * 2014-09-15 2016-03-16 中兴通讯股份有限公司 Method of allocating record tasks of set top box and related device
CN104581356B (en) * 2014-12-24 2019-02-15 深圳市九洲电器有限公司 A kind of method of program recording and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1339760A (en) 2000-08-21 2002-03-13 索尼公司 Information recording device and method, information processing terminal, method and equipment and recording medium
CN1434386A (en) 2003-01-25 2003-08-06 华中科技大学 Division distributed storage method of program source based on cluster video server
CN1463548A (en) 2001-05-29 2003-12-24 皇家菲利浦电子有限公司 Video playback device capable of sharing resources and method of operation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1339760A (en) 2000-08-21 2002-03-13 索尼公司 Information recording device and method, information processing terminal, method and equipment and recording medium
CN1463548A (en) 2001-05-29 2003-12-24 皇家菲利浦电子有限公司 Video playback device capable of sharing resources and method of operation
CN1434386A (en) 2003-01-25 2003-08-06 华中科技大学 Division distributed storage method of program source based on cluster video server

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506612A (en) * 2016-10-31 2017-03-15 中山大学 A kind of data storage shared system and method for being applied to community's wired home

Also Published As

Publication number Publication date
CN1889069A (en) 2007-01-03

Similar Documents

Publication Publication Date Title
EP1665769B1 (en) Method and system for controlling recording and playback of interactive applications
US8928819B2 (en) Method and apparatus for selecting among multiple tuners
US6247069B1 (en) Automatically configuring storage array including a plurality of media storage devices for storing and providing data within a network of devices
CN1284367C (en) Video data recording/reproducing apparatus and video data management method for use in the same
US20160112333A1 (en) Content reproduction system, content reproduction apparatus, program, content reproduction method, and providing content server
US7260312B2 (en) Method and apparatus for storing content
JP5282447B2 (en) Information processing apparatus, information processing method, program, and information processing system
US7720985B2 (en) Content receiving apparatus and content receiving method
CN1270537C (en) Video playback device capable of sharing resources and method of operation
DE602006000171T2 (en) A method for assigning a priority to a data transmission in a network and network node using the method
US20080270610A1 (en) System and metehod for highly scalable real-time and time-based data delivery using server clusters
KR101376826B1 (en) Real-time hd tv/video ip streaming to a game console
US20040223722A1 (en) Method for improving bandwidth efficiency
US8705944B2 (en) System and method of recording media content
US20050228858A1 (en) Content utilization management method corresponding to network transfer, program, and content transfer system
US8832724B2 (en) Remote storage digital video recorder that supports shared and per-subscriber content rights
US20050027673A1 (en) Method and apparatus for handling digital content in a network
JP2008533566A (en) System and method for providing a universal "follow-me" function in a UPnPAV network
US20110055881A1 (en) Media file on-demand method, system and appartus
CN100435573C (en) Video contents recording apparatus and method of managing data storage medium included therein
JP4772375B2 (en) Electronic device and content management method
US8010985B2 (en) Method and system for resource management in a video on-demand server
EP1505796A1 (en) Method for controlling services
US20060195545A1 (en) Information processing apparatus and content information processing method
CN101202900B (en) Method for switching living broadcast and playback of digital television and video server

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted