The content of the invention
The present invention is based on the problems referred to above, it is proposed that a kind of image transmission technology, can transmit image by kilomega network
Data, and view data can be merged process, data syn-chronization and Coutinuous store are realized, hardware configuration is simplified.
In view of this, the present invention proposes a kind of image acquisition, transmission and storage system, including:Image acquisition units, use
The view data of each passage in the multiple passages of Real-time Collection;Structure definition unit, it is for according to kilomega network data character, fixed
The structure of the view data of each passage described in adopted, and the structure of transmitting procedure data;Data transmission unit, for passing through thousand
The view data of each passage described in million net transmission;Integrity verifying unit, for each leads to according to preset structure file verification
The integrity of the view data in road;Consistency checking unit, for the view data of each passage according to identifying code checking
Concordance;Image composing unit, for when the view data of each passage is consistent with the identifying code, will be described many
The view data of individual passage synthesizes packet;Memory element, for passing through asynchronous device I/O and kernel simultaneous techniquess, continuously
Ground, store the packet in real time.
In the technical scheme, the view data of each passage is transmitted by kilomega network, improve transmission reliability and
Distance, and the view data of multiple passages can be merged, such that it is able to complete(The back side, front, perspective)Mode
Continuous real-time storage view data.The requirement of specimen page study and off-line simulation detection can be met, and also figure can be provided for new technology
As initial data.
Meanwhile, define by with reference to kilomega network data transfer feature and concrete application comprising raw image data, process
The structure of the data such as data, due to kilomega network bandwidth it is very high, it is ensured that initial data is undistorted and view data can be complete, and energy
The transmission of data full frame is reached, network transmission efficiency is improve.
And the integrity of the view data of each passage can be verified according to the file header in preset structure file, it is right
In the view data for having passed through integrity verification, then by the concordance of identifying code authentication image data content(Relatedness), with
Guarantee that the data content of each passage is consistent, so as to, in storing process, the data consistent for content complete continuous, high
Speed, store in real time, and pass through asynchronous device I/O and kernel simultaneous techniquess, it is possible to achieve the real-time continuous storage of mass data.
In above-mentioned technical proposal, it is preferable that described image collecting unit passes through Y types binode by each passage
View data is exported to the data transmission unit.
In the technical scheme, in the view data that output is collected, two nodes backup each other and supplement, work as network
When there is fluctuation, have not enough time to the image that sends and processing result image can be cached in outfan hardware, keep away
Exempt from error of transmission occur.
In above-mentioned technical proposal, it is preferable that the data transmission unit already present TCP/IP connection on the basis of,
The view data of each passage is transmitted using point-to-point direct-connected mode.
In the technical scheme, network intercepting collision can be reduced, the network delay of pilot process is eliminated, and according to concrete
Ancillary equipment characteristic, defines data packet length, improves network transfer speeds.
In above-mentioned technical proposal, it is preferable that described image collecting unit is additionally operable to by in-line coding mechanism, to leading to more
The view data in road carries out the checking of Boundary Recognition and content synchronization.
In any of the above-described technical scheme, it is preferable that described image collecting unit is used to set up circulating memory, and passes through
The view data of multichannel, each passage described in multithreading Real-time Collection.
The invention allows for a kind of image acquisition and transmission method, including:Step 202, in the multiple passages of Real-time Collection
The view data of each passage, according to kilomega network data character, the structure of the view data of each passage, Yi Jichuan described in definition
The structure of defeated process data, and by the view data of each passage described in kilomega network transmission;Step 204, according to preset structure
The integrity of the view data of file verification each passage, according to identifying code checking, the view data of each passage is consistent
Property, if the view data of each passage is consistent with the identifying code, the view data of the plurality of passage is synthesized
Packet;Step 206, by asynchronous device I/O and kernel simultaneous techniquess, stores the packet continuously, in real time.
In the technical scheme, the view data of each passage is transmitted by kilomega network, improve transmission reliability and
Distance, and the view data of multiple passages can be merged, such that it is able to complete(The back side, front, perspective)Mode
Continuous real-time storage view data.The requirement of specimen page study and off-line simulation detection can be met, and also figure can be provided for new technology
As initial data.
Meanwhile, define by with reference to kilomega network data transfer feature and concrete application comprising raw image data, process
The structure of the data such as data, due to kilomega network bandwidth it is very high, it is ensured that initial data is undistorted and view data can be complete, and energy
The transmission of data full frame is reached, network transmission efficiency is improve.
And the integrity of the view data of each passage can be verified according to the file header in preset structure file, it is right
In the view data for having passed through integrity verification, then by the concordance of identifying code authentication image data content(Relatedness), with
Guarantee that the data content of each passage is consistent, so as to, in storing process, the data consistent for content complete continuous, high
Speed, store in real time, and pass through asynchronous device I/O and kernel simultaneous techniquess, it is possible to achieve the real-time continuous storage of mass data.
In above-mentioned technical proposal, it is preferable that the step 202 also includes:By Y types binode by described each passage
View data export to kilomega network.
In the technical scheme, in the view data that output is collected, two nodes backup each other and supplement, work as network
When there is fluctuation, have not enough time to the image that sends and processing result image can be cached in outfan hardware, keep away
Exempt from error of transmission occur.
In above-mentioned technical proposal, it is preferable that the step 202 also includes:By each passage described in kilomega network transmission
View data when, already present TCP/IP connection on the basis of, be transmitted using point-to-point direct-connected mode.
In the technical scheme, network intercepting collision can be reduced, the network delay of pilot process is eliminated, and according to concrete
Ancillary equipment characteristic, defines data packet length, improves network transfer speeds.
In above-mentioned technical proposal, it is preferable that the step 202 also includes:Using in-line coding mechanism, to multichannel
View data carries out the checking of Boundary Recognition and content synchronization.
In any of the above-described technical scheme, it is preferable that the step 202 also includes:Circulating memory is set up, and by leading to more
The view data in road, each passage described in multithreading Real-time Collection.
By above technical scheme, view data can be transmitted by kilomega network, and view data can be merged place
Reason, realizes data syn-chronization and Coutinuous store, simplifies hardware configuration.
Specific embodiment
It is in order to be more clearly understood that the above objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and concrete real
Apply mode to be further described in detail the present invention.It should be noted that in the case where not conflicting, the enforcement of the application
Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description in order to fully understand the present invention, but, the present invention may be used also
Implemented with being different from other modes described here using other, therefore, protection scope of the present invention is not by described below
Specific embodiment restriction.
Fig. 3 shows the block diagram of image acquisition, transmission and storage system according to an embodiment of the invention.
As shown in figure 3, image acquisition, transmission and storage system 100 include according to an embodiment of the invention:Image acquisition
Unit 102, for the view data of each passage in the multiple passages of Real-time Collection;Structure definition unit 104, for according to gigabit
Network data property, defines the structure of the view data of each passage, and the structure of transmitting procedure data;Data transmission unit
106, for the view data of each passage is transmitted by kilomega network;Integrity verifying unit 114, for according to preset structure text
Part verifies the integrity of the view data of each passage;Consistency checking unit 108, for verifying each passage according to identifying code
View data concordance;Image composing unit 110, for being consistent with the identifying code in the view data of each passage
When, the view data of multiple passages is synthesized into packet;Memory element 112, for by asynchronous device I/O and kernel synchronization
Technology, continuously, data storage bag in real time.
The view data of each passage is transmitted by kilomega network, the reliability and distance of transmission is improve, and can be by
The view data of multiple passages is merged, such that it is able to complete(The back side, front, perspective)The continuous real-time storage image of mode
Data.The requirement of specimen page study and off-line simulation detection can be met, and also original image data can be provided for new technology.
Meanwhile, define by with reference to kilomega network data transfer feature and concrete application comprising raw image data, process
The structure of the data such as data, due to kilomega network bandwidth it is very high, it is ensured that initial data is undistorted and view data can be complete, and energy
The transmission of data full frame is reached, network transmission efficiency is improve.
And the integrity of the view data of each passage can be verified according to the file header in preset structure file, it is right
In the view data for having passed through integrity verification, then by the concordance of identifying code authentication image data content(Relatedness), with
Guarantee that the data content of each passage is consistent, so as to, in storing process, the data consistent for content complete continuous, high
Speed, store in real time, and pass through asynchronous device I/O and kernel simultaneous techniquess, it is possible to achieve the real-time continuous storage of mass data.
Preferably, image acquisition units 102 are exported the view data of each passage to data transfer by Y types binode
Unit 106.
In the view data that output is collected, two nodes backup each other and supplement, when fluctuating occurs in network, future
The image and processing result image for obtaining and sending can be cached in outfan hardware, it is to avoid error of transmission occur.
Preferably, data transmission unit 106 already present TCP/IP connection on the basis of, using point-to-point direct-connected mode
Transmit the view data of each passage.
Network intercepting collision can be reduced, the network delay of pilot process is eliminated, and according to concrete ancillary equipment characteristic, it is fixed
Adopted data packet length, improves network transfer speeds.
Preferably, image acquisition units 102 are additionally operable to by in-line coding mechanism, carry out side to multichannel view data
Boundary recognizes the checking with content synchronization.
Preferably, image acquisition units 102 are used to set up circulating memory, and are adopted by multichannel, multithreading in real time
Collect the view data of each passage.
The flow chart that Fig. 4 shows image acquisition, transmission and storage method according to an embodiment of the invention.
As shown in figure 4, image acquisition, transmission and storage method include according to an embodiment of the invention:Step 202, it is real
When gather the view data of each passage in multiple passages, according to kilomega network data character, define the view data of each passage
Structure, and the structure of transmitting procedure data, and the view data of each passage is transmitted by kilomega network;Step 204, according to
The integrity of the view data of preset structure file verification each passage, verifies the view data of each passage according to identifying code
The view data of multiple passages, if the view data of each passage is consistent with the identifying code, is synthesized data by concordance
Bag;Step 206, by asynchronous device I/O and kernel simultaneous techniquess, continuously, data storage bag in real time.
The view data of each passage is transmitted by kilomega network, the reliability and distance of transmission is improve, and can be by
The view data of multiple passages is merged, such that it is able to complete(The back side, front, perspective)The continuous real-time storage image of mode
Data.The requirement of specimen page study and off-line simulation detection can be met, and also original image data can be provided for new technology.
Meanwhile, define by with reference to kilomega network data transfer feature and concrete application comprising raw image data, process
The structure of the data such as data, due to kilomega network bandwidth it is very high, it is ensured that initial data is undistorted and view data can be complete, and energy
The transmission of data full frame is reached, network transmission efficiency is improve.
And the integrity of the view data of each passage can be verified according to the file header in preset structure file, it is right
In the view data for having passed through integrity verification, then by the concordance of identifying code authentication image data content(Relatedness), with
Guarantee that the data content of each passage is consistent, so as to, in storing process, the data consistent for content complete continuous, high
Speed, store in real time, and pass through asynchronous device I/O and kernel simultaneous techniquess, it is possible to achieve the real-time continuous storage of mass data.
Preferably, step 202 also includes:The view data of each passage is exported to kilomega network by Y types binode.
In the view data that output is collected, two nodes backup each other and supplement, when fluctuating occurs in network, future
The image and processing result image for obtaining and sending can be cached in outfan hardware, it is to avoid error of transmission occur.
Preferably, step 202 also includes:When the view data of each passage is transmitted by kilomega network, already present
On the basis of TCP/IP connections, it is transmitted using point-to-point direct-connected mode.
Network intercepting collision can be reduced, the network delay of pilot process is eliminated, and according to concrete ancillary equipment characteristic, it is fixed
Adopted data packet length, improves network transfer speeds.
Preferably, step 202 also includes:Using in-line coding mechanism, Boundary Recognition is carried out to multichannel view data
With the checking of content synchronization.
Preferably, step 202 also includes:Set up circulating memory, and by multichannel, multithreading Real-time Collection each
The view data of passage.
Fig. 5 shows that image acquisition, transmission and storage system transmit showing for view data according to an embodiment of the invention
It is intended to.
As shown in figure 5, passing through sensor first(Such as camera)The view data of multiple passages is gathered, can be included:Just
Face image, back side image and fluoroscopy images.
Then the image for collecting is exported by sensor, is transmitted to image processing system 502, image procossing by kilomega network
The view data of multiple passages is synthesized packet by system 502, finally packet is stored into internal memory 504, wherein each
The encoded checking of view data in packet, content are consistent, can store continuously, at a high speed, in real time in storing process.
The view data parsed from internal memory 504, is displayed for, and can also store, and supports data Coutinuous store.
Further pass through asynchronous device I/O and kernel simultaneous techniquess, it is possible to achieve mass image data is with complete(The back of the body, just, thoroughly)Side
The continuous real-time storage of formula, can meet the requirement of specimen page study and off-line simulation detection, also can provide image for new technology original
Data.
Wherein, before transmission view data, definition data structure first.
With reference to kilomega network data transfer feature and concrete application, definition includes raw image data, process data, Blob numbers
According to this and Air conduct measurement conclusion is in interior data structure.The structure both can guarantee that initial data was undistorted, and detection process can be reappeared,
View data can be complete, can reach the transmission of data full frame again, improve network transmission efficiency;Meanwhile, complete data length is system
The integral multiple of internal memory granularity and hard disk sector size, realizes high speed storing.
View data is transmitted by kilomega network and can adopt point-to-point direct coupled structure.
To improve data transmission efficiency, the performance of sensor and image real-time acquisition and storage system is improved, it is ensured that data
Do not lose, on the basis of TCP/IP connections are set up, using point-to-point direct-connected mode, network intercepting collision can be substantially reduced,
Eliminate the network delay of pilot process.
By multithreading Real-time Collection and force synchronization.
One product back of the body, corresponding view data is not to reach collection terminal in the same time just, thoroughly, meanwhile, on single channel
There is shake in network transmission.Using technologies such as multithreading, multichannel and circulating memories, it is possible to achieve the Real-time Collection of data, tool
The multithreading of body is as shown in table 1:
Table 1
Weak force synchronization technology is adopted simultaneously, realizes complete collection, complete storage and the complete forwarding of view data;Using
In-line coding mechanism, carries out the checking of Boundary Recognition and content synchronization to multichannel view data.
Technical scheme is described in detail above in association with accompanying drawing, it is contemplated that in correlation technique, import cleaning-sorting machine without
Method carries out data Coutinuous store and also cannot continuously deposit figure, and domestic choose residual machine and cannot synthesize the image of multiple passages.By this
The technical scheme of invention, can transmit view data by kilomega network, and view data can be merged process, and realize
Data syn-chronization and Coutinuous store, simplify hardware configuration.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area
For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair
Change, equivalent, improvement etc., should be included within the scope of the present invention.