CN102200978A - Data real-time storage method, data real-time storage device and data real-time storage system in data transmission - Google Patents
Data real-time storage method, data real-time storage device and data real-time storage system in data transmission Download PDFInfo
- Publication number
- CN102200978A CN102200978A CN2010101325426A CN201010132542A CN102200978A CN 102200978 A CN102200978 A CN 102200978A CN 2010101325426 A CN2010101325426 A CN 2010101325426A CN 201010132542 A CN201010132542 A CN 201010132542A CN 102200978 A CN102200978 A CN 102200978A
- Authority
- CN
- China
- Prior art keywords
- data
- real time
- storage
- disk
- file
- 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.)
- Pending
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a data real-time storage method, a data real-time storage device and a data real-time storage system in data transmission. The data real-time storage method comprises the following step of: receiving a storage instruction for storing real-time data in a specified file; judging whether the size of the stored data in the specified file reaches a preset limit value; if the size reaches the preset limit value, generating a new file and continuously storing the real-time data; and if the size does not reach the preset limit value, storing the real-time data in the specified file according to the storage instruction. The invention also discloses the data real-time storage device and the data real-time storage system in the data transmission. By the method, the device and the system, the support of a storage server to storage capacity can be increased, the self-adaptability of the storage server is improved, the problem of low self-management capability of the storage server is solved, high-efficiency intelligent storage is realized, and manual intervention processing is reduced.
Description
Technical field
The present invention relates to data processing field, relate to a kind of data in real time storage means, Apparatus and system that is used for data transmission system in particular.
Background technology
Fig. 1 is the process flow diagram of the data in real time storage means that is used for image data transmission system of prior art.As shown in Figure 1, traditional date storage method can be realized the real-time storage of data simply, be applied on the data transmission system, when system need store data, center management server will be sent instruction to stores service, storage server responds this instruction at once, enter the duty S1 for preparing storage, equipment from the data acquisition end arrives storage server with image data transmission simultaneously, storage server checks whether current real time data needs to store S2, if being this real time data, the result who judges belongs to the data that needs are stored, then trigger storage condition, storage server can be opened the file S3 of prior appointment according to predefined disk path, writes real time data S4.So circulation is until end.
But in actual use, because the size of storage file is subjected to the constraint of conditions such as operating system, single file can not go down in continual storage, all records under the full situation at disk space in addition, storage server can only quit work, and waits for the human intervention processing.
Summary of the invention
Defective at above-mentioned prior art exists the object of the present invention is to provide data in real time storage means, Apparatus and system in a kind of data transmission, and its efficient, intelligence that can realize real time data is stored and reduced human intervention and handle.
To achieve these goals, the invention provides data in real time storage means in a kind of data transmission, it is characterized in that, comprising: the storage instruction that receives storage real time data in specified file; Judge whether stored size of data in the described specified file reaches preset limit, if generate new file and continue the described real time data of storage; If not, in described specified file, store real time data according to described storage instruction.
Preferably, described judge whether stored size of data in the described specified file reaches preset limit before, also comprise: judge whether described specified file place disk space is filled with, if, the selected described real time data of new disk storage; If not, then carry out and judge and stored the step whether size of data reaches preset limit in the described specified file.
Preferably, the described selected described real time data of new disk storage comprises: judge whether all disk spaces are filled with, if generated new file at this disk behind the previous existing file on removing or one of them disk of unloading and continue the described real time data of storage; If not, the selected described real time data of new disk storage.
Preferably, the previous existing file of described unloading is specially: previous existing file is dumped in the exterior storage medium.The previous existing file of described unloading is realized by the FTP mode.Described previous existing file is specially the Time Created of existing file the earliest.Described exterior storage medium is disk array or tape library.
Preferably, described judge whether described specified file place disk space has been filled with before, also comprise: judge described real time data whether need the storage, if then carry out the described step of judging whether described specified file place disk space has been filled with.
Preferably, described data are view data and/or voice data.
In addition, for the above-mentioned purpose that realizes, the present invention also provides data in real time memory storage in a kind of data transmission, it is characterized in that, comprising: data channel module is used to receive the real time data that sends from front end data acquisition equipment; Main control module is used for receiving the storage instruction to specified file storage real time data; The disk management module is used for judging that described specified file stored size of data and whether reached preset limit, if generate new file and continue the described real time data of storage; If not, in described specified file, store real time data according to described storage instruction.
Preferably, also comprise: system management module, be used to control described disk management module, the storage data are allocated; The dispatch server module is used for the storage instruction that central server issues is sent to described main control module.
Preferably, described disk management module is used to also judge whether described specified file place disk space is filled with, if, the selected described real time data of new disk storage.
Preferably, described disk management module is used to also judge whether all disk spaces are filled with, if generated new file at this disk behind the previous existing file on removing or one of them disk of unloading and continue the described real time data of storage; If not, the selected described real time data of new disk storage.
Preferably, described disk management module is used to also judge whether described real time data needs storage, if then carry out the described step of judging whether described specified file place disk space has been filled with.
In order to realize above-mentioned purpose of the present invention, the present invention also provides data in real time storage system in a kind of data transmission, it is characterized in that, comprising: center management server is used to send the storage instruction of storing real time data; Data acquisition equipment is used for gathering and sending real time data; And data in real time memory storage in the above-mentioned data transmission.
The embodiment of the invention has following beneficial effect: adopt method for storing real-time data of the present invention, device and system, can strengthen the support of storage server to memory capacity, improve the self-adaptation ability of storage server, solve the ability of self-management problem of storage server, thereby realize the high efficiency smart storage, reduce manual intervention and handle.
Description of drawings
Fig. 1 is the schematic flow diagram of the data in real time storage means that is used for image data transmission system of prior art.
Fig. 2 is the schematic block diagram of the data in real time memory storage in the data in real time storage system in the data transmission of the present invention.
Fig. 3 is the schematic flow diagram of the data in real time storage means in the data transmission of the embodiment of the invention one.
Fig. 4 is the schematic flow diagram of the data in real time storage means in the data transmission of the embodiment of the invention two.
Embodiment
Describe embodiments of the invention in detail below in conjunction with accompanying drawing.In each embodiment, be that example describes with the view data real-time Transmission, the principle when voice data and voice data transmit simultaneously with view data is identical.
At first, the data in real time storage system in the data transmission provided by the invention, it generally comprises: the center management server that is used to send the stores service instruction; Be used to gather and send the data acquisition equipment of real time data; Be used for responsing center's management server instruction operation, receive and storage from the data in real time memory storage of the real time data of data acquisition equipment.
As shown in Figure 2, the data in real time memory storage in the data in real time storage system in the data transmission of the present invention generally includes as lower module: data channel module 11,12, main control module 3 and disk management module 5.
Wherein, data channel module 11,12 is used to receive the real time data from front end data acquisition equipment (not shown).
In addition, in the present embodiment, can also comprise as lower module: dispatch server module 2 and system management module 4 according to the data in real time memory storage in the data in real time storage system in the data transmission of the present invention.
In addition, according to the disk management module 5 in the data in real time memory storage in the data in real time storage system in the data transmission of the present invention, can also be used to judge whether described specified file place disk space is filled with, if, the selected described real time data of new disk storage.
In addition, according to the disk management module 5 in the data in real time memory storage in the data in real time storage system in the data transmission of the present invention, can also be used to judge whether all disk spaces are filled with, if generated new file at this disk behind the previous existing file on removing or one of them disk of unloading and continued the described real time data of storage; If not, the selected described real time data of new disk storage.
In addition, according to the disk management module 5 in the data in real time memory storage in the data in real time storage system in the data transmission of the present invention, can also be used to judge whether described real time data needs storage, if then carry out the described step of judging whether described specified file place disk space has been filled with.
Fig. 3 shows the process flow diagram of the data in real time storage means in the data transmission according to an embodiment of the invention.As shown in the figure, when system need store real time data, center management server can bring into operation by notification data real-time storage device, the data in real time memory storage enters duty D1, the data in real time memory storage receives the storage instruction of storage real time data in specified file, judge whether stored size of data in the specified file reaches preset limit D3,, then generate new file and continue storage real time data D7 by storage server if the result who judges is that size has exceeded restriction; If the result who judges is that size does not exceed restriction, then opens specified file and write data into D5 in this file by the data in real time memory storage.
In addition, in actual use, except the impossible problem of ceaselessly storing continuously of above-mentioned single file occurring, it is full current disk space also may to occur, thereby makes the situation that storage server can't be worked.Therefore, in second embodiment of the present invention, as improvement to first embodiment, in the date storage method that is used for data transmission system of the present invention, can also increase step: described judge whether stored size of data in the described specified file reaches preset limit D3 before, also comprise: judge whether described specified file place disk space has been filled with D4, if, the selected described real time data D6 of new disk storage; If not, then carry out and judge and stored the step whether size of data reaches preset limit D3 in the described specified file.
In the storage system in modern times, disk is supported the hot plug function usually, the keeper can take off the full disk of record at any time, also can new jumbo blank disc be connected, when being access in such server, goes by new disk, system can identify at once and generate the storage file name of supporting this disk automatically, real time data can be saved in this disk go, and so server just can be supported magnanimity and stores service Intelligent Recognition.
Especially, reach when system after the ultimate value of memory capacity, it is full all disk spaces also may to occur, makes the situation that real time data can't be stored.Therefore, as further improvement, the operation D6 of the selected described real time data of new disk storage can also comprise: judge whether all disk spaces have been filled with D8, if generated new file at this disk behind the previous existing file on removing or one of them disk of unloading and continued the described real time data D9 of storage; If not, the selected described real time data D6 of new disk storage.
In addition, wherein the previous existing file of unloading is specially previous existing file is dumped in the exterior storage medium.The previous existing file of described unloading realizes by the FTP mode, certainly, also can take other suitable modes to realize unloading to corresponding document.Described previous existing file can be the Time Created of an existing file the earliest, also can be other existing files of subscribing condition.Described exterior storage medium can be disk array or tape library, and other suitable storage mediums.
In addition, before according to described storage instruction storage real time data, also comprise: judge whether described real time data needs to store D2, if then open specified file and write real time data D5 according to described storage instruction.
That is to say,, solved the problem that single file can not ceaselessly be stored continuously simultaneously, and disk space is full, thereby has made the problem that storage server can't be worked by adopting this method of the present invention.Thereby strengthened the support of storage server, improved the self-adaptation ability of storage server, solved the ability of self-management problem of storage server, realized the high efficiency smart storage, and reduced the manual intervention processing simultaneously memory capacity.
Certainly, the above is a preferred implementation of the present invention, should be understood that; for those skilled in the art; under the prerequisite that does not break away from the principle of the invention, can also make some improvements and modifications, these improvements and modifications also are considered as protection scope of the present invention.
Claims (15)
1. data in real time storage means in the data transmission is characterized in that, comprising:
The storage instruction of real time data is stored in reception in specified file;
Judge whether stored size of data in the described specified file reaches preset limit, if generate new file and continue the described real time data of storage;
If not, in described specified file, store real time data according to described storage instruction.
2. data in real time storage means in the data transmission according to claim 1 is characterized in that, described judge whether stored size of data in the described specified file reaches preset limit before, also comprise:
Judge whether described specified file place disk space is filled with, if, the selected described real time data of new disk storage;
If not, then carry out and judge and stored the step whether size of data reaches preset limit in the described specified file.
3. data in real time storage means in the data transmission according to claim 2 is characterized in that, the described selected described real time data of new disk storage comprises:
Judge whether all disk spaces are filled with, if generated new file at this disk behind the previous existing file on removing or one of them disk of unloading and continue the described real time data of storage; If not, the selected described real time data of new disk storage.
4. data in real time storage means in the data transmission according to claim 3 is characterized in that, the previous existing file of described unloading is specially:
Previous existing file is dumped in the exterior storage medium.
5. according to data in real time storage means in claim 3 or the 4 described data transmission, it is characterized in that the previous existing file of described unloading is realized by the FTP mode.
6. according to data in real time storage means in claim 3 or the 4 described data transmission, it is characterized in that described previous existing file is specially the Time Created of existing file the earliest.
7. data in real time storage means in the data transmission according to claim 4 is characterized in that, described exterior storage medium is disk array or tape library.
8. according to data in real time storage means in claim 3 or the 4 described data transmission, it is characterized in that, described judge whether described specified file place disk space has been filled with before, also comprise: judge whether described real time data needs storage, if then carry out the described step of judging whether described specified file place disk space has been filled with.
9. data in real time storage means in the data transmission according to claim 1 is characterized in that, described data are view data and/or voice data.
10. data in real time memory storage in the data transmission is characterized in that, comprising:
Data channel module is used to receive the real time data that sends from front end data acquisition equipment;
Main control module is used for receiving the storage instruction to specified file storage real time data;
The disk management module is used for judging that described specified file stored size of data and whether reached preset limit, if generate new file and continue the described real time data of storage;
If not, in described specified file, store real time data according to described storage instruction.
11. the data in real time memory storage is characterized in that in the data transmission according to claim 10, also comprises:
System management module is used to control described disk management module, and the storage data are allocated;
The dispatch server module is used for the storage instruction that central server issues is sent to described main control module.
12. according to data in real time memory storage in claim 10 or the 11 described data transmission, it is characterized in that described disk management module is used to also judge whether described specified file place disk space is filled with, if, the selected described real time data of new disk storage.
13. according to data in real time memory storage in claim 10 or the 11 described data transmission, it is characterized in that, described disk management module, be used to also judge whether all disk spaces are filled with, if generated new file at this disk behind the previous existing file on removing or one of them disk of unloading and continued the described real time data of storage; If not, the selected described real time data of new disk storage.
14. according to data in real time memory storage in claim 10 or the 11 described data transmission, it is characterized in that described disk management module is used to also judge whether described real time data needs storage, if judge then whether described specified file place disk space is filled with.
15. data in real time storage system in the data transmission is characterized in that, comprising:
Center management server is used to send the storage instruction of storing real time data;
Data acquisition equipment is used for gathering and sending real time data;
And data in real time memory storage in the described data transmission of one of claim 10 to 14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101325426A CN102200978A (en) | 2010-03-26 | 2010-03-26 | Data real-time storage method, data real-time storage device and data real-time storage system in data transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101325426A CN102200978A (en) | 2010-03-26 | 2010-03-26 | Data real-time storage method, data real-time storage device and data real-time storage system in data transmission |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102200978A true CN102200978A (en) | 2011-09-28 |
Family
ID=44661662
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101325426A Pending CN102200978A (en) | 2010-03-26 | 2010-03-26 | Data real-time storage method, data real-time storage device and data real-time storage system in data transmission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102200978A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103079048A (en) * | 2013-01-11 | 2013-05-01 | 北京佳讯飞鸿电气股份有限公司 | Implementation method of sound recording or video recording and video-on-demand during call hold of multimedia commanding and dispatching system |
CN103179435A (en) * | 2013-02-27 | 2013-06-26 | 北京视博数字电视科技有限公司 | Multi-channel video data multiplexing method and device |
CN108255989A (en) * | 2017-12-28 | 2018-07-06 | 深圳英飞拓科技股份有限公司 | Picture storage method, device, terminal device and computer storage media |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1527597A (en) * | 2003-03-04 | 2004-09-08 | ������������ʽ���� | Imaging equipment |
CN1555532A (en) * | 2000-08-30 | 2004-12-15 | �Ҵ���˾ | Temporary directory management |
CN1901653A (en) * | 2005-12-20 | 2007-01-24 | 南京Lg同创彩色显示系统有限责任公司 | Image device with function of managing a file folder for programs recorded through repeated appointment and control method thereof |
CN101116254A (en) * | 2004-12-06 | 2008-01-30 | Ktft科技有限公司 | Mobile terminal having function of managing file and folder |
CN101217591A (en) * | 2008-01-18 | 2008-07-09 | 中兴通讯股份有限公司 | A method and system realizing snooping data storage |
-
2010
- 2010-03-26 CN CN2010101325426A patent/CN102200978A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1555532A (en) * | 2000-08-30 | 2004-12-15 | �Ҵ���˾ | Temporary directory management |
CN1527597A (en) * | 2003-03-04 | 2004-09-08 | ������������ʽ���� | Imaging equipment |
CN101116254A (en) * | 2004-12-06 | 2008-01-30 | Ktft科技有限公司 | Mobile terminal having function of managing file and folder |
CN1901653A (en) * | 2005-12-20 | 2007-01-24 | 南京Lg同创彩色显示系统有限责任公司 | Image device with function of managing a file folder for programs recorded through repeated appointment and control method thereof |
CN101217591A (en) * | 2008-01-18 | 2008-07-09 | 中兴通讯股份有限公司 | A method and system realizing snooping data storage |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103079048A (en) * | 2013-01-11 | 2013-05-01 | 北京佳讯飞鸿电气股份有限公司 | Implementation method of sound recording or video recording and video-on-demand during call hold of multimedia commanding and dispatching system |
CN103079048B (en) * | 2013-01-11 | 2015-10-28 | 北京佳讯飞鸿电气股份有限公司 | Video and audio recording and program request implementation method when the call of multimedia command dispatching system keeps |
CN103179435A (en) * | 2013-02-27 | 2013-06-26 | 北京视博数字电视科技有限公司 | Multi-channel video data multiplexing method and device |
CN103179435B (en) * | 2013-02-27 | 2016-09-28 | 北京视博数字电视科技有限公司 | A kind of multi-path video data multiplexing method and device |
CN108255989A (en) * | 2017-12-28 | 2018-07-06 | 深圳英飞拓科技股份有限公司 | Picture storage method, device, terminal device and computer storage media |
CN108255989B (en) * | 2017-12-28 | 2021-05-14 | 深圳英飞拓科技股份有限公司 | Picture storage method and device, terminal equipment and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105138276B (en) | Data storage method and data storage system | |
CN103955205B (en) | The remote debugging system and method for a kind of electric life controller | |
CN105676023A (en) | Recording method and system of fault recording data | |
CN103699954A (en) | Forensics information management system | |
CN103617007A (en) | Method and system for achieving multilevel intelligent storage | |
CN102200978A (en) | Data real-time storage method, data real-time storage device and data real-time storage system in data transmission | |
CN103715736A (en) | Charging device and charging system | |
CN103455391B (en) | A kind of apparatus and method of data protection of dynamic conditioning | |
CN103065096B (en) | A kind of data guard method, Apparatus and system | |
CN103399758A (en) | Hardware accelerating method, device and system | |
CN103119567A (en) | Systems and methods for managing a virtual tape library domain | |
CN106356853A (en) | Domestic energy source router and operation method thereof | |
CN103368968A (en) | Data transmission method and system | |
CN105335441B (en) | Distributed file system based on local area network | |
CN103558995A (en) | Memory control chip and disk message transmission method | |
CN103379545B (en) | A kind of load-balancing method and device | |
CN103942125A (en) | Automatic backup method and system | |
CN105872425A (en) | Storing method and device for video file | |
TWI513208B (en) | Wireless Infrared Control Converter | |
CN105812203A (en) | Request message processing method and apparatus | |
CN204291129U (en) | A kind of networking telephone recorder | |
CN106331036B (en) | Server control method and device | |
CN103365994A (en) | Data storage method and device based on flexible testing technology | |
CN107153538A (en) | Seat in the plane management method, Jian Kaoji, examinee's machine and seat in the plane management system | |
CN204496489U (en) | A kind of multichannel usb data high speed acquisition workstation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110928 |