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

Media content long-distance dynamic dumping method Download PDF

Info

Publication number
CN1889069A
CN1889069A CN 200510079794 CN200510079794A CN1889069A CN 1889069 A CN1889069 A CN 1889069A CN 200510079794 CN200510079794 CN 200510079794 CN 200510079794 A CN200510079794 A CN 200510079794A CN 1889069 A CN1889069 A CN 1889069A
Authority
CN
China
Prior art keywords
media content
strange land
recording arrangement
dump
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200510079794
Other languages
Chinese (zh)
Other versions
CN100504842C (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB2005100797946A 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
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses the method of the allopatric dynamic dump for the media content. The process A: the recording device transcribes the media content; B: the recording device judges if the memory medium has the enough memory room, if it has, the recording media content is stored in the local memory files, when the memory satisfies the single memory condition, it will return to the process A until it finishes the record; or the process C is operated; C: the local recording device selects the other device as the allopatric dump device in the family net; D: the local recording device dumps the recording media content to the allopatric dump files until the recording finishes, also it sets the index relation between the two memory files and saves it. The method can record the media content in the condition of the memory room shortage of the local recording device.

Description

A kind of method of media content long-distance dynamic dumping
Technical field
The present invention relates to network and media record technical field, relate in particular to a kind of method of media content long-distance dynamic dumping.
Background technology
Current, along with the continuous development of media record technology and becoming increasingly abundant of media content, people have more and more used the media record mode to come the recording medium content, pass through media record, people can get up the program storage of its hobby for watching repeatedly later on, and, can also between in due course, play the media content of being stored, reach the purpose of rearranging the media content reproduction time, thus the feasible restriction that no longer is subjected to the media content side of broadcast reproduction times such as TV station of watching to media content.
In the prior art, recording arrangement stores media content on its local storage medium in the media record process usually, thereby realize this locality storage of media content on recording arrangement, though the prior art can realize media record,, have following shortcoming:
Along with improving constantly of media content sharpness, in the media record process, the shared storage space of media content is also increasing in the unit interval.For instance, when carrying out media content according to the sharpness of DVD (MEPG2) when recording, the media content of whenever recording a hour approximately need take the storage space of 1G, in other words, even adopt the bigger 120G hard disk of storage space, also can only record 120 hours DVD media content at most; Even adopt MEPG4 or H.264 mode the media content of being recorded is compressed, thereby save about 50% storage space, also can only in the hard disk of this 120G, store about 240 hours DVD media content, thereby can carry out media content when recording, the problem of the local memory capacity insufficient space of recording arrangement occur.In addition, continuous development along with the high-resolution media content, the higher media content of sharpness has appearred, what bring is that the shared storage space of media content can be bigger, for example thereupon, current the media content that 1 hour media content need take the more high definition of 6~8G storage space appearred, record for such media content, can make that the use of storage space is nervous more, thus the problem of further aggravating the local memory space inadequate of recording arrangement.Though for example proposed more jumbo hard disk such as blue light in the prior art to solve the problem of above-mentioned memory space inadequate, but, this storage medium stores space must be still limited, further increase or the media content length of desirable recording when longer at the shared storage space of media content, still can cause the problem of the local memory space inadequate of above-mentioned recording arrangement.
Based on local this problem of memory space inadequate of recording arrangement, in the media content recording process, the problem in the following practical application can appear:
In the prior art, in case the situation of the local memory space inadequate of recording arrangement in the media content recording process, occurs, then need to interrupt the current action of recording, adopt the mode of some data on updated stored CD or the deletion hard disk, storage medium comes the storage medium of local recording arrangement is upgraded, so that can provide new storage space to carry out recording of media content.Adopt this kind mode, at first need the operator that recording process is monitored, and when monitoring obtains memory space inadequate, storage medium is upgraded, thereby increased operator's operating process, for the user brings very big inconvenience; Secondly,, also can cause media content to record continuously, record quality thereby influenced because the updated stored medium need interrupt recording process; At last, because the limited storage space of storage medium, therefore, even adopt the mode of updated stored medium can not solve the problem that the local memory space inadequate of recording arrangement is brought fully.
Meanwhile, in home network, can have a plurality of equipment with storage capacity usually, these equipment are distributed in respectively on the diverse location of home network.Because usage frequency and custom is different, for the storage space of these equipment take also usually and unbalanced, for example: near the recording arrangement with storage capacity the playback equipments such as televisor, the utilization rate of its storage space is higher, and the storage space ratio is easier to reach storage limit; And for the equipment with storage capacity in bedroom, because its less storage that is used for media content, therefore, the utilization rate of its storage space is lower, and storage space reaches storage limit not too easily.Based on this, each has the equipment of storage capacity in the home network if can make full use of, in the media record process, carry out the storage and the dump of media content, then can fully solve the above-mentioned variety of problems of bringing owing to local recording arrangement limited storage space, yet, in the prior art, do not provide such method, thereby make that these problems all are difficult to be resolved.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide the method for a kind of media content strange land dynamic memory, by with real-time being dumped on the equipment of strange land of media content, solve the problem of local recording arrangement limited storage space, make the media record process no longer be subjected to the restriction of storage space, make things convenient for user's use, guarantee the quality of media record.
For achieving the above object, the invention provides a kind of method of media content long-distance dynamic dumping, this method comprises:
Steps A: local recording arrangement carries out media content and records;
Step B: local recording arrangement judges whether its storage medium still has enough storage spaces, if, then the media content of recording is stored in the local storage file, after satisfying the single stored condition, storage returns steps A, until recording end; Otherwise, execution in step C;
Step C: local recording arrangement selects to have the miscellaneous equipment of storage capacity as the strange land dump device in home network;
Step D: local recording arrangement is dumped to the media content of being recorded in the strange land dump file of described strange land dump device in real time, record end until media content, local recording arrangement is set up the index relative between local storage file and the strange land dump file and is preserved.
Wherein, after the step D, this method further comprises:
Play the media content of storing in the local storage file, after finishing, according to local storage file of being set up among the step D and the index relative between the dump file of strange land, obtain the strange land dump file in the dump device of strange land and play media content in this document, finish until whole media content.
Wherein, when local recording arrangement was preserved at least two described index relatives, the described media content that obtains the strange land dump file and play in this document comprised:
According to the sequencing that described index relative is set up, carry out the described step of obtaining the strange land dump file and playing the media content in this document successively, until playing whole media content.
Wherein, described index relative is the index relative between the filename of the filename of local storage file and strange land dump file.
Wherein, described index relative is the index relative between the memory address of the filename of local storage file and strange land dump file.
Wherein, among the step B, described local recording arrangement judges whether its storage medium still has enough storage spaces to be:
Local recording arrangement judges that whether the current memory space of its storage medium is smaller or equal to predefined early warning memory capacity, if, judge that then the storage medium that obtains local recording arrangement does not have enough storage spaces, otherwise, judge that then the storage medium that obtains local recording arrangement has enough storage spaces.
Wherein, described single stored condition is the time span that predefined single carries out the media content storage.
Wherein, the described single stored condition size that is the media content of predefined single stored.
Wherein, step C comprises:
Step C1: local recording arrangement each equipment in home network sends the request of application storage space, each equipment that has storage capacity in the home network sends feedback message to local recording arrangement respectively, and local recording arrangement is preserved the information of the equipment of described transmission feedback message;
Step C2: local recording arrangement has the storage capacity equipment from each that sends feedback message, select one not the equipment of selected mistake as strange land to be selected dump device;
Step C3: the self information that is returned according to strange land to be selected dump device, whether the memory capacity of judging this strange land to be selected dump device satisfies predetermined conditions, if then should select as described strange land dump device by strange land to be selected dump device, otherwise, execution in step C4;
Step C4: local recording arrangement judges in each equipment that sends feedback message whether still have the not selected mistake of equipment, if then return step C2; Otherwise local recording arrangement sends the warning of lack of memory capacity, and ends media content recording process, process ends then.
Wherein, judgement further comprises described in the step C3:
Whether the channel width of judging this strange land to be selected dump device satisfies predetermined conditions.
Wherein, between step C1 and the step C2, this method further comprises:
Local recording arrangement judges whether to receive the feedback message that equipment returned with storage capacity, if, then execution in step C2 and subsequent step thereof, otherwise, the warning that local recording arrangement sends lack of memory capacity, and end media content recording process, process ends then.
Wherein, the information that the described local recording arrangement of step C1 is preserved the equipment of described transmission feedback message is: the information that local recording arrangement will send each equipment of feedback message is kept at respectively in each node object of node queue, at least include the pointer address of IP address, memory capacity and the next node of this equipment in the attribute of each node object, wherein, pointer points to first node object of this node queue at first;
Described step C2~step C4 specifically may further comprise the steps:
Step C21: local recording arrangement obtains the node queue of each equipment that sends feedback message;
Step C22: judge whether this node queue is empty, if then local recording arrangement sends the warning of lack of memory capacity, and ends the media content recording process, process ends, otherwise, execution in step C23 and subsequent step thereof;
Step C23: read the storage-size attribute in the current pointer node object pointed, whether the memory capacity of judging the pairing equipment of this node is greater than predefined value, if, execution in step C24 then, otherwise, according to the pointer address attribute of next node in the current pointer node object pointed, with next node of pointed, then, return step C22;
Step C24: read the IP address properties in the current pointer node object pointed, with this pairing choice of equipment in IP address as described strange land dump device.
Wherein, further include the channel width of this equipment in the attribute of each node object, further comprise between step C22 and the step C24:
Read the channel width attribute in the current pointer node object pointed, whether the channel width of judging the pairing equipment of this node is greater than predefined value, if, then continue to carry out subsequent step, otherwise, according to the pointer address attribute of next node in the current pointer node object pointed, with next node of pointed, then, return step C22.
Wherein, step D comprises:
Step D1: local recording arrangement stops the media content to record to its storage medium stores, closes the local storage file of having stored;
Step D2: local recording arrangement is dumped to the current content of recording of recording medium on the dump device of strange land in real time;
Step D3: local recording arrangement judges whether the media content recording process finishes, if, execution in step D4 then, otherwise, return step D2, finish until the media content recording process;
Step D4: local recording arrangement notice strange land dump device is closed the file of current dump, sets up the index relative between the file of the file stored on the local recording arrangement and the dump of strange land dump device institute, and preserves this index relative.
Wherein, step D2 further comprises:
Step D21: described strange land dump device judges whether its storage medium still has enough storage spaces, if then the step of dump described in the execution in step D2 is returned step D21 then, records end until media content; Otherwise, execution in step D22;
Step D22: the strange land dump device is to the alarm information of local recording arrangement transmission lack of memory capacity, and after local recording arrangement was received this message, notice strange land dump device was closed the file of current dump;
Step D23: the strange land dump device is closed the file of current dump, and reports the fileinfo of this dump file to local recording arrangement;
Step D24: local recording arrangement is set up local storage file and the relation of the file index between the above dump file of strange land dump device and the preservation of the media content of preserving on the local recording arrangement according to the fileinfo of the storage file that receives;
Step D25: the communication between local recording arrangement termination and the strange land dump device, finish strange land dump flow process.
Wherein, in step D22, after local recording arrangement was received the lack of memory capacity alarm information of strange land dump device transmission, this method further comprised: return described step C.
As seen, the present invention passes through media content long-distance dynamic dumping, can be when local recording arrangement memory space inadequate, the content that this recording arrangement is recorded is dumped in the miscellaneous equipment that has storage capacity in the home network in real time, thereby has solved because local recording arrangement limited storage space and media content recorded restriction and the influence that is caused.In addition, the present invention also has following beneficial effect:
1, owing to adopt the mode of strange land dump to preserve media content, therefore, can give full play to the storage capacity of each equipment in the home network, thereby make full use of home network resource;
2, in the media content dump procedure, local recording arrangement can be according to certain condition, automatically the miscellaneous equipment in the selection home network is as the strange land dump device, need not the user and carry out any operation, do not increase the Operating Complexity of media content recording process, thereby make this method realize easily;
3, because dynamic dump need not to determine in advance the position of dump, therefore, it is more flexible to make that this method implements, and can not occur owing to certain pre-determines the problem that the device fails that is used for dump causes dump to realize;
4, because after dump finishes, local recording arrangement has been set up the file index between local storage file and the strange land dump file, therefore, when the media content of recording is play, local recording arrangement can directly find the file of being stored on the dump device of strange land according to this index relative, and played in order, make the user feel the media content play all in same file, thereby can not give watching of user and make troubles owing to the strange land dump.
Description of drawings
Fig. 1 is for realizing process flow diagram of the present invention.
Fig. 2 is the process flow diagram of performing step 101 and step 102.
Fig. 3 is the process flow diagram of performing step 103.
Fig. 4 is the synoptic diagram of node object among the present invention.
Fig. 5 is the process flow diagram of performing step 303~step 305.
Fig. 6 is the process flow diagram of performing step 104.
The process flow diagram of the step of required further execution when Fig. 7 is performing step 602.
Embodiment
The present invention is the method for a kind of media content strange land dynamic memory, this method is in the media content recording process, whether the storage space that real-time judge is carried out the local device of media record has reached early warning memory capacity, and when reaching this capacity, inquire about the miscellaneous equipment that obtains having storage capacity from home network, from these equipment, select an equipment as the strange land dump device, and the current media content of recording is dumped on this equipment, thus the strange land dump of realization media content; When recording end, local recording arrangement is set up the file index between local storage file and the strange land dump file, so that carrying out media content when playing, can obtain the media content stored on the dump device of strange land according to this search index, thereby realize the complete broadcast of media content.
Below in conjunction with accompanying drawing, specific implementation of the present invention is illustrated:
Referring to Fig. 1, realize that the present invention needs following steps:
Step 101: local recording arrangement carries out media content and records;
Step 102: local recording arrangement judges whether its storage medium still has enough storage spaces to preserve the media content of recording, if, then the media content of recording is stored in the local storage file of local recording arrangement, after satisfying the single stored condition, storage returns step 101, until recording end; Otherwise, execution in step 103;
Step 103: local recording arrangement selects to have the miscellaneous equipment of storage capacity as the strange land dump device in home network;
Step 104: local recording arrangement is dumped to the media content of being recorded in the strange land dump file of the selected strange land of step 103 dump device in real time, record end until media content, local recording arrangement is set up the index relative between local storage file and the strange land dump file and is preserved.
Below in conjunction with accompanying drawing, the specific implementation to above-mentioned steps is described in detail respectively:
(1) specific implementation of step 101 and step 102:
Referring to Fig. 2, in embodiments of the present invention, the specific implementation of step 101 and step 102 comprises:
Step 201: local recording arrangement starts recording medium, prepares to begin the media content that receives is carried out real-time recording;
Step 202: the current memory space that local recording arrangement is judged its storage medium whether smaller or equal to early warning memory capacity (Min Memory Limit, MML), if, then carry out step 103 shown in Figure 1, otherwise, execution in step 203; Wherein, in embodiments of the present invention, can set the value of MML arbitrarily according to actual needs, not influence realization of the present invention;
Step 203: local recording arrangement utilizes recording medium that the media content that receives is carried out real-time recording, and the media content of recording is stored in the storage medium of this this locality recording arrangement;
Step 204: local recording arrangement judges whether the current storage of carrying out satisfies predefined single stored condition, if, then execution in step 205, otherwise, return step 203, continue to carry out the operation of recording, satisfy the single stored condition until the current storage of carrying out with storing media content; Wherein, in embodiments of the present invention, preestablish single and carry out the time span of media content storage as above-mentioned single stored condition, utilize this condition, can control after the media content storage of carrying out this of length storage time, all to record and whether finish media content, and whether local recording arrangement storage medium still has enough storage spaces to judge, thereby can reach storing media content in batches, and in storing process in batches the purpose of the local recording arrangement storage space of monitoring in real time so that dump method provided by the present invention can be achieved according to the storage space situation that monitors; In other embodiment of the present invention, the media content size that also can adopt single stored is utilized this condition as above-mentioned single stored condition, can realize the storage in batches to media content equally, thereby the dump that guarantees media content can realize; In other embodiment of the present invention, also can adopt and store other relevant condition as the single stored condition, do not influence realization of the present invention;
Step 205: judge that media content is recorded and whether finish, if, then finish media record and storing process, process ends, otherwise, return step 202, to proceed the real-time recording of media content, record end until media content.
(2) specific implementation of step 103:
Referring to Fig. 3, in embodiments of the present invention, performing step 103 needs following steps:
Step 301: local recording arrangement passes through home network, each equipment in home network sends the request of application storage space, each equipment that has storage capacity in the home network sends feedback message to local recording arrangement respectively, and self information is returned to local recording arrangement;
Step 302: local recording arrangement judges whether to receive the feedback message that equipment returned with storage capacity, if, show the miscellaneous equipment that existence has storage capacity in the home network, then execution in step 303 and subsequent step thereof, otherwise, show not have miscellaneous equipment in the home network with storage capacity, can't carry out the dump of media content, then local recording arrangement sends the warning of lack of memory capacity, and ends media content recording process, process ends then;
Step 303: local recording arrangement has the storage capacity equipment from each that sends feedback message, select one not the equipment of selected mistake as strange land to be selected dump device; In the specific embodiment of the invention, can adopt the mode of in each equipment that sends feedback message, selecting successively to carry out above-mentioned selection, in other embodiment of the present invention, also can adopt other selection mode, do not influence realization of the present invention;
Step 304: the self information that is returned according to strange land to be selected dump device, whether memory capacity and the channel width of judging this strange land to be selected dump device satisfy predetermined conditions, if, then should strange land to be selected dump device as the strange land dump device, and carry out step 104 shown in Figure 1, otherwise, show that current strange land to be selected dump device can not satisfy the requirement of strange land dump, execution in step 305;
Wherein, in concrete application of the present invention, in order to guarantee in the media content dump procedure, the strange land dump device can receive media content and the storage that local recording arrangement sends in real time, need the strange land dump device that enough channel widths are provided, therefore, in the specific embodiment of the invention, in the step 304 except the memory capacity of judging strange land to be selected dump device, also further judge the channel width of this equipment, so that the final strange land dump device of selecting to obtain can provide certain channel width, thereby satisfy the needs of real-time dump; In other embodiment of the present invention, if each equipment in the home network all has the channel width that meets the demands, perhaps thereby the transmission speed of the medium of being recorded all can be carried out real-time recording to these medium of recording less than certain value each equipment in the home network that makes, then also can not carry out the judgement of channel width, not influence realization of the present invention;
Step 305: local recording arrangement judges in each equipment that sends feedback message whether still have the not selected mistake of equipment, if, show still to have the equipment that can carry out the strange land dump in the home network, then return step 303, to continue to select to be used for the equipment of strange land dump; Otherwise showing does not have corresponding apparatus can realize the strange land dump in home network, and then local recording arrangement sends the warning of lack of memory capacity, and ends media content recording process, process ends then.
Wherein, in one embodiment of the present invention, the information that local recording arrangement will send each equipment of feedback message is kept in the node queue, comprise a plurality of node objects in this node queue, each node object is corresponding with an equipment that sends feedback information, referring to shown in Figure 4, at least include the pointer address of IP address, memory capacity, channel width and the next node of this equipment in the attribute of each node object, wherein, pointer points to first node object of this node queue at first.Based on this kind storage mode, in the preferred embodiment of the present invention, realize above-mentioned steps 303~step 305 according to step shown in Figure 5:
Step 501: the node queue that obtains each equipment that sends feedback message;
Step 502: judge whether this node queue is empty, if then local recording arrangement sends the warning of lack of memory capacity, and ends the media content recording process, process ends, otherwise, execution in step 503 and subsequent step thereof;
Step 503: read the channel width attribute in the current pointer node object pointed, whether the channel width of judging the pairing equipment of this node is greater than predefined value, if, then execution in step 504, otherwise, according to the pointer address attribute of next node in the current pointer node object pointed, with next node of pointed, then, return step 502, next node is judged beginning;
Step 504: read the storage-size attribute in the current pointer node object pointed, whether the memory capacity of judging the pairing equipment of this node is greater than predefined value, if, then execution in step 505, otherwise, according to the pointer address attribute of next node in the current pointer node object pointed, with next node of pointed, then, return step 502, next node is judged beginning;
Wherein, in other embodiment of the present invention, also can first execution in step 504 and then execution in step 503, do not influence realization of the present invention;
Step 505: read the IP address properties in the current pointer node object pointed, with this pairing choice of equipment in IP address as described strange land dump device.
In other embodiment of the present invention, also can adopt alternate manner to preserve the information of each equipment that has sent feedback message, and adopt corresponding step to realize above-mentioned steps 303~step 305 according to preserving type, do not influence realization of the present invention.
(3) specific implementation of step 104:
Referring to Fig. 6, in embodiments of the present invention, performing step 104 needs following steps:
Step 601: local recording arrangement stops the media content to record to its storage medium stores, closes the local storage file of having stored;
Step 602: local recording arrangement is dumped to the current content of recording of recording medium on the dump device of strange land in real time;
Step 603: local recording arrangement judges whether the media content recording process finishes, if then execution in step 604, otherwise, return step 602, finish until the media content recording process;
Step 604: local recording arrangement notice strange land dump device is closed the file of current dump, set up the index relative between the file of the file stored on the local recording arrangement and the dump of strange land dump device institute, and when preserving the media content that this index relative records for follow-up play, can intactly play the whole file of preserving media content according to this index relative.
Wherein, because in actual applications, the media content of recording might be very big, thereby cause dump device also can't provide enough storage spaces to store this media content, for fear of the situation that causes media content to be lost owing to the lack of memory capacity of strange land dump device own, in one embodiment of the present invention, above-mentioned steps 602 further comprises step shown in Figure 7, specifically comprises:
Step 701: whether described strange land dump device judges its memory capacity less than MML, if, then execution in step 702 and subsequent step thereof, otherwise, this strange land dump device is carried out the step of described strange land dump, returns step 701 then, records end until media content;
Step 702: the strange land dump device is to the alarm information of local recording arrangement transmission lack of memory capacity, and after local recording arrangement was received this message, notice strange land dump device was closed the file of current dump;
Step 703~step 705: the strange land dump device is closed the file of current dump, and is reported the fileinfo of this dump file to local recording arrangement after receiving the notice of local recording arrangement transmission; Wherein, in embodiments of the present invention, this document information is the memory address of this document in the dump device of strange land, and in other embodiment of the present invention, this document information also can be the storage file name of this document in the dump device of strange land;
Step 706: local recording arrangement is set up local storage file and the relation of the file index between the above dump file of strange land dump device and the preservation of the media content of preserving on the local recording arrangement according to the fileinfo of the storage file that receives; Wherein, in the present embodiment, memory address according to the dump file that reports, local recording arrangement is set up the memory address of the local storage file of having preserved the media content of recording and the index relative between the dump file memory address, and preserve this index relative, use when media content is play for carrying out; In other embodiment of the present invention, can also be according to the filename of the dump file that is reported, set up the index relative between the filename of the filename of local storage file and strange land dump file, and preserve this index relative, do not influence realization of the present invention;
Step 707: the communication between local recording arrangement termination and the strange land dump device, finish strange land dump flow process.
By flow process shown in Figure 7, can be when the dump device lack of memory capacity of strange land, in time this situation is reported local recording arrangement, and stop the dump of strange land dump device, thereby the media content of avoiding being recorded is owing to the lack of memory capacity of strange land dump device is lost.In other embodiment of the present invention, in order to guarantee the integrality of media record, in above-mentioned steps 702, after local recording arrangement is received the lack of memory capacity alarm information of strange land dump device transmission, also can further return and carry out step 103 and subsequent step thereof shown in Figure 1, in home network, select new equipment as the strange land dump device with storage capacity, and utilize this equipment to finish the dump of media content, thereby make it possible to recording and storing to what media content was finished.
In the present invention, when needs are play the media content of being recorded, at first play the local storage file of preserving on the local recording arrangement, after local storage file plays, according to the index relative between this this locality storage file and the strange land dump file, from the dump device of strange land, acquire the strange land dump file and the broadcast of its preservation, thereby realize complete broadcast the media content of being recorded.In some embodiments of the invention, if media content has carried out dump on the dump device of a plurality of strange lands, can preserve a plurality of file index relations in the then local recording arrangement, at this moment, after local recording arrangement plays local storage file, according to the time order and function order that the file index relation of being preserved is set up, play the strange land dump file of preserving in each strange land dump device successively, thereby realize complete broadcast the media content of being recorded.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (16)

1, a kind of method of media content long-distance dynamic dumping is characterized in that, this method comprises:
Steps A: local recording arrangement carries out media content and records;
Step B: local recording arrangement judges whether its storage medium still has enough storage spaces, if, then the media content of recording is stored in the local storage file, after satisfying the single stored condition, storage returns steps A, until recording end; Otherwise, execution in step C;
Step C: local recording arrangement selects to have the miscellaneous equipment of storage capacity as the strange land dump device in home network;
Step D: local recording arrangement is dumped to the media content of being recorded in the strange land dump file of described strange land dump device in real time, record end until media content, local recording arrangement is set up the index relative between local storage file and the strange land dump file and is preserved.
2, method according to claim 1 is characterized in that, after the step D, this method further comprises:
Play the media content of storing in the local storage file, after finishing, according to local storage file of being set up among the step D and the index relative between the dump file of strange land, obtain the strange land dump file in the dump device of strange land and play media content in this document, finish until whole media content.
3, method according to claim 2 is characterized in that, when local recording arrangement was preserved at least two described index relatives, the described media content that obtains the strange land dump file and play in this document comprised:
According to the sequencing that described index relative is set up, carry out the described step of obtaining the strange land dump file and playing the media content in this document successively, until playing whole media content.
According to any described method of claim 1~3, it is characterized in that 4, described index relative is the index relative between the filename of the filename of local storage file and strange land dump file.
According to any described method of claim 1~3, it is characterized in that 5, described index relative is the index relative between the memory address of the filename of local storage file and strange land dump file.
6, method according to claim 1 is characterized in that, among the step B, described local recording arrangement judges whether its storage medium still has enough storage spaces to be:
Local recording arrangement judges that whether the current memory space of its storage medium is smaller or equal to predefined early warning memory capacity, if, judge that then the storage medium that obtains local recording arrangement does not have enough storage spaces, otherwise, judge that then the storage medium that obtains local recording arrangement has enough storage spaces.
7, method according to claim 1 is characterized in that, described single stored condition is the time span that predefined single carries out the media content storage.
8, method according to claim 1 is characterized in that, described single stored condition is the size of the media content of predefined single stored.
9, method according to claim 1 is characterized in that, step C comprises:
Step C1: local recording arrangement each equipment in home network sends the request of application storage space, each equipment that has storage capacity in the home network sends feedback message to local recording arrangement respectively, and local recording arrangement is preserved the information of the equipment of described transmission feedback message;
Step C2: local recording arrangement has the storage capacity equipment from each that sends feedback message, select one not the equipment of selected mistake as strange land to be selected dump device;
Step C3: the self information that is returned according to strange land to be selected dump device, whether the memory capacity of judging this strange land to be selected dump device satisfies predetermined conditions, if then should select as described strange land dump device by strange land to be selected dump device, otherwise, execution in step C4;
Step C4: local recording arrangement judges in each equipment that sends feedback message whether still have the not selected mistake of equipment, if then return step C2; Otherwise local recording arrangement sends the warning of lack of memory capacity, and ends media content recording process, process ends then.
10, method according to claim 9 is characterized in that, judges described in the step C3 further to comprise:
Whether the channel width of judging this strange land to be selected dump device satisfies predetermined conditions.
11, method according to claim 9 is characterized in that, between step C1 and the step C2, this method further comprises:
Local recording arrangement judges whether to receive the feedback message that equipment returned with storage capacity, if, then execution in step C2 and subsequent step thereof, otherwise, the warning that local recording arrangement sends lack of memory capacity, and end media content recording process, process ends then.
12, method according to claim 9, it is characterized in that, the information that the described local recording arrangement of step C1 is preserved the equipment of described transmission feedback message is: the information that local recording arrangement will send each equipment of feedback message is kept at respectively in each node object of node queue, at least include the pointer address of IP address, memory capacity and the next node of this equipment in the attribute of each node object, wherein, pointer points to first node object of this node queue at first;
Described step C2~step C4 specifically may further comprise the steps:
Step C21: local recording arrangement obtains the node queue of each equipment that sends feedback message;
Step C22: judge whether this node queue is empty, if then local recording arrangement sends the warning of lack of memory capacity, and ends the media content recording process, process ends, otherwise, execution in step C23 and subsequent step thereof;
Step C23: read the storage-size attribute in the current pointer node object pointed, whether the memory capacity of judging the pairing equipment of this node is greater than predefined value, if, execution in step C24 then, otherwise, according to the pointer address attribute of next node in the current pointer node object pointed, with next node of pointed, then, return step C22;
Step C24: read the IP address properties in the current pointer node object pointed, with this pairing choice of equipment in IP address as described strange land dump device.
13, method according to claim 12 is characterized in that, further includes the channel width of this equipment in the attribute of each node object, further comprises between step C22 and the step C24:
Read the channel width attribute in the current pointer node object pointed, whether the channel width of judging the pairing equipment of this node is greater than predefined value, if, then continue to carry out subsequent step, otherwise, according to the pointer address attribute of next node in the current pointer node object pointed, with next node of pointed, then, return step C22.
14, method according to claim 1 is characterized in that, step D comprises:
Step D1: local recording arrangement stops the media content to record to its storage medium stores, closes the local storage file of having stored;
Step D2: local recording arrangement is dumped to the current content of recording of recording medium on the dump device of strange land in real time;
Step D3: local recording arrangement judges whether the media content recording process finishes, if, execution in step D4 then, otherwise, return step D2, finish until the media content recording process;
Step D4: local recording arrangement notice strange land dump device is closed the file of current dump, sets up the index relative between the file of the file stored on the local recording arrangement and the dump of strange land dump device institute, and preserves this index relative.
15, method according to claim 14 is characterized in that, step D2 further comprises:
Step D21: described strange land dump device judges whether its storage medium still has enough storage spaces, if then the step of dump described in the execution in step D2 is returned step D21 then, records end until media content; Otherwise, execution in step D22;
Step D22: the strange land dump device is to the alarm information of local recording arrangement transmission lack of memory capacity, and after local recording arrangement was received this message, notice strange land dump device was closed the file of current dump;
Step D23: the strange land dump device is closed the file of current dump, and reports the fileinfo of this dump file to local recording arrangement;
Step D24: local recording arrangement is set up local storage file and the relation of the file index between the above dump file of strange land dump device and the preservation of the media content of preserving on the local recording arrangement according to the fileinfo of the storage file that receives;
Step D25: the communication between local recording arrangement termination and the strange land dump device, finish strange land dump flow process.
16, method according to claim 15 is characterized in that, in step D22, after local recording arrangement was received the lack of memory capacity alarm information of strange land dump device transmission, this method further comprised: return described step C.
CNB2005100797946A 2005-06-28 2005-06-28 Media content long-distance dynamic dumping method Active CN100504842C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100797946A 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
CNB2005100797946A CN100504842C (en) 2005-06-28 2005-06-28 Media content long-distance dynamic dumping method

Publications (2)

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

Family

ID=37578348

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100797946A Active 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 (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009046654A1 (en) * 2007-10-08 2009-04-16 Huawei Technologies Co., Ltd. Control method, system and entity of network recording
CN101547216A (en) * 2008-03-27 2009-09-30 新奥特(北京)视频技术有限公司 Safe storage method and system in process of real-time data acquisition
CN101860955A (en) * 2009-04-08 2010-10-13 华为技术有限公司 Method for realizing service registry and method and device for realizing service discovery
CN102075691A (en) * 2009-11-24 2011-05-25 新奥特(北京)视频技术有限公司 Subtitle editing and broadcasting system with log management function
CN101547215B (en) * 2008-03-27 2013-07-03 新奥特(北京)视频技术有限公司 File dumping method and system in process of real-time data acquisition
CN103685426A (en) * 2012-09-25 2014-03-26 联想(北京)有限公司 An information processing method and an information processing apparatus used for an electronic device
CN101489109B (en) * 2009-01-12 2014-10-29 深圳市同洲电子股份有限公司 Network personal video recording method, apparatus and background management system
CN104581356A (en) * 2014-12-24 2015-04-29 深圳市九洲电器有限公司 Program recording method and system
CN105407380A (en) * 2014-09-15 2016-03-16 中兴通讯股份有限公司 Method of allocating record tasks of set top box and related device
CN109548060A (en) * 2018-12-29 2019-03-29 广州敬信药草园信息科技有限公司 Processing method for abnormal disconnection of recorded broadcast network
CN113014654A (en) * 2021-03-04 2021-06-22 阳光电源股份有限公司 Data storage method, charging pile and computer readable storage medium
CN115793967A (en) * 2022-11-04 2023-03-14 拉卡拉支付股份有限公司 Data storage method, data storage device, electronic device, storage medium, and program product

Families Citing this family (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

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009046654A1 (en) * 2007-10-08 2009-04-16 Huawei Technologies Co., Ltd. Control method, system and entity of network recording
CN101547216A (en) * 2008-03-27 2009-09-30 新奥特(北京)视频技术有限公司 Safe storage 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
CN101547215B (en) * 2008-03-27 2013-07-03 新奥特(北京)视频技术有限公司 File dumping 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
CN102075691A (en) * 2009-11-24 2011-05-25 新奥特(北京)视频技术有限公司 Subtitle editing and broadcasting system with log management function
CN103685426A (en) * 2012-09-25 2014-03-26 联想(北京)有限公司 An information processing method and an information processing apparatus used for an electronic device
WO2016041328A1 (en) * 2014-09-15 2016-03-24 中兴通讯股份有限公司 Method for allocating recording tasks to set-top box, and related device
CN105407380A (en) * 2014-09-15 2016-03-16 中兴通讯股份有限公司 Method of allocating record tasks of set top box and related device
CN104581356A (en) * 2014-12-24 2015-04-29 深圳市九洲电器有限公司 Program recording method and system
CN104581356B (en) * 2014-12-24 2019-02-15 深圳市九洲电器有限公司 A kind of method of program recording and system
CN109548060A (en) * 2018-12-29 2019-03-29 广州敬信药草园信息科技有限公司 Processing method for abnormal disconnection of recorded broadcast network
CN113014654A (en) * 2021-03-04 2021-06-22 阳光电源股份有限公司 Data storage method, charging pile and computer readable storage medium
CN113014654B (en) * 2021-03-04 2023-09-29 阳光电源股份有限公司 Data storage method, charging pile and computer readable storage medium
CN115793967A (en) * 2022-11-04 2023-03-14 拉卡拉支付股份有限公司 Data storage method, data storage device, electronic device, storage medium, and program product

Also Published As

Publication number Publication date
CN100504842C (en) 2009-06-24

Similar Documents

Publication Publication Date Title
CN1889069A (en) Media content long-distance dynamic dumping method
CN1220206C (en) Recording medium and recording and/or reproducing method
CN1193370C (en) Method and apparatus for recording data and recording/reproducing data, disc-shape recoding medium
CN1852101A (en) Parallel downloading method and terminal
CN1543211A (en) Video data recording/reproducing apparatus and video data management method for use in the same
CN1741529A (en) Live content management method, source apparatus and receiving system
CN1282194C (en) Recording medium including virtual cancel information and its recording, reproducing method and device
CN1932821A (en) Method and apparatus for managing multimedia content stored in digital multimedia device
CN1142551C (en) Recording device and recording method
CN1392727A (en) Device and method for reproducing data from storage medium containing preloading character
CN1325234A (en) Method and apparatus for decoding video-flow in special-effect mode
CN1275463C (en) Video recording appts. and recording method
CN1949858A (en) Image processing apparatus, image capturing apparatus, and image processing method
CN1960468A (en) Program recording reservation system and remote controller
CN1322103A (en) Data recording system and record object determining device
CN1489385A (en) Content recoding device, content replay device, and its method and recording medium
CN1123886C (en) Information processor, information processing method and information recording medium on which information processing method is recorded
CN1975664A (en) Information processing apparatus, information processing method, recording medium and program
CN1956381A (en) Remote access control method and system, and recording medium for storing computer program
CN1809886A (en) Managing a recording device
CN1313991A (en) Method for addressing a bitstream recording
CN1207689C (en) Coding and decoding processor for animation image
CN1611070A (en) Information processing device, information processing method, recording medium, and program
CN1305308A (en) Data record device, record medium and information packet
CN1879094A (en) Remote control apparatus

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