CN105744104B - Image data scanning processing method and image data scaning treatment device - Google Patents

Image data scanning processing method and image data scaning treatment device Download PDF

Info

Publication number
CN105744104B
CN105744104B CN201510724328.2A CN201510724328A CN105744104B CN 105744104 B CN105744104 B CN 105744104B CN 201510724328 A CN201510724328 A CN 201510724328A CN 105744104 B CN105744104 B CN 105744104B
Authority
CN
China
Prior art keywords
image data
synchronous code
image
host side
scanning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510724328.2A
Other languages
Chinese (zh)
Other versions
CN105744104A (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.)
Shenzhen Chipsailing Technology Co Ltd
Original Assignee
Shenzhen Chipsailing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Chipsailing Technology Co Ltd filed Critical Shenzhen Chipsailing Technology Co Ltd
Priority to CN201510724328.2A priority Critical patent/CN105744104B/en
Publication of CN105744104A publication Critical patent/CN105744104A/en
Application granted granted Critical
Publication of CN105744104B publication Critical patent/CN105744104B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32144Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title embedded in the image data, i.e. enclosed or integrated in the image, e.g. watermark, super-imposed logo or stamp
    • H04N1/32149Methods relating to embedding, encoding, decoding, detection or retrieval operations
    • H04N1/32267Methods relating to embedding, encoding, decoding, detection or retrieval operations combined with processing of the image
    • H04N1/32272Encryption or ciphering

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Facsimile Transmission Control (AREA)

Abstract

The invention discloses a kind of image data scanning processing method and image data scaning treatment devices, wherein above-mentioned image data scanning processing method includes: to receive the synchronous code from host side;According to preset synchronous code-image scanning sequence correspondence relationship information, each pixel on imaging sensor is scanned according to image scanning sequence corresponding with the synchronous code received, wherein described image sensor and the host side are electrically connected;The image data that scanning obtains is transferred to the host side, image scanning sequence corresponding with the synchronous code is based on by the host side, correspondingly reduction treatment is carried out to described image data.Technical solution provided by the invention can effectively improve the transmission security of image data.

Description

Image data scanning processing method and image data scaning treatment device
Technical field
The present invention relates to image sensor technologies fields, and in particular to a kind of image data scanning processing method and picture number According to scaning treatment device.
Background technique
In image sensor application, imaging sensor is after completing Image Acquisition, it is necessary to upload acquired image It is handled to host side (such as main control chip of host), and is passing through interface for the mistake of the image transmitting of acquisition to host side Cheng Zhong.
Currently, the image real time transfer mode in imaging sensor be after scanning obtains image procossing, it is straight to host side It connects and reports RAW (i.e. undressed) image data.Since RAW image data are clear data, clear data is directly transmitted It is easy to that image data is caused to be revealed to host side, not can guarantee the transmission security of image data.
Summary of the invention
The present invention provides a kind of image data scanning processing method and image data scaning treatment device, for improving image The transmission security of data.
First aspect present invention provides a kind of image data scanning processing method, comprising:
Receive the synchronous code from host side;
According to preset synchronous code-image scanning sequence correspondence relationship information, according to corresponding with the synchronous code received Image scanning sequence is scanned each pixel on imaging sensor, wherein above-mentioned imaging sensor and above-mentioned host side Electrical connection;
The image data that scanning obtains is transferred to above-mentioned host side, is based on by above-mentioned host side corresponding with above-mentioned synchronous code Image scanning sequence to above-mentioned image data carry out correspondingly reduction treatment.
Second aspect of the present invention provides a kind of image data scaning treatment device, comprising:
Receiving unit, for receiving the synchronous code from host side;
Scanning element, for according to preset synchronous code-image scanning sequence correspondence relationship information, according to receive The corresponding image scanning sequence of synchronous code is scanned each pixel on imaging sensor, wherein above-mentioned imaging sensor It is electrically connected with above-mentioned host side;
Transmission unit, the image data for scanning above-mentioned scanning element is transferred to above-mentioned host side, by above-mentioned Host side is based on image scanning sequence corresponding with above-mentioned synchronous code and carries out correspondingly reduction treatment to above-mentioned image data.
Therefore pre-determined synchronization code-image scanning sequence correspondence relationship information in the present invention, on to imaging sensor Each pixel when being scanned, image scanning sequence corresponding to the synchronous code sent according to host side is scanned, due to The synchronous code is sent by host side, can be based on the synchronous code to the figure transmitted therefore for host side As data progress correspondingly reduction treatment, and for other data theft persons, since they are difficult to know used in scanning together Code is walked, therefore increases the difficulty for the image data that stealer's reduction is stolen to a certain extent, relative to traditional image Data processing scheme improves the transmission security of image data.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1-a is image data scanning processing method one embodiment flow diagram provided by the invention;
Fig. 1-b is the image sensor scan area schematic under a kind of application scenarios provided by the invention;
Fig. 2 is another embodiment flow diagram of image data scanning processing method provided by the invention;
Fig. 3 is image data scaning treatment device one embodiment structural schematic diagram provided by the invention;
Fig. 4 is another example structure schematic diagram of image data scaning treatment device provided by the invention.
Specific embodiment
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality Applying example is only a part of the embodiment of the present invention, and not all embodiments.Based on the embodiments of the present invention, the common skill in this field Art personnel every other embodiment obtained without making creative work belongs to the model that the present invention protects It encloses.
The embodiment of the present invention provides a kind of image data scanning processing method, including receiving the synchronous code from host side; According to preset synchronous code-image scanning sequence correspondence relationship information, according to image scanning corresponding with the synchronous code received Sequence is scanned each pixel on imaging sensor, wherein above-mentioned imaging sensor and above-mentioned host side are electrically connected; The image data that scanning obtains is transferred to above-mentioned host side, image corresponding with above-mentioned synchronous code is based on by above-mentioned host side and is swept It retouches sequence and correspondingly reduction treatment is carried out to above-mentioned image data.The embodiment of the present invention is also provided at corresponding image data scanning Device is managed, is described in detail separately below.
A kind of image data scanning processing method provided in an embodiment of the present invention is described below, please refers to Fig. 1-a, Image data scanning processing method in the embodiment of the present invention includes:
101, the synchronous code from host side is received;
In the embodiment of the present invention, host side namely configure imaging sensor host main control unit (such as master control core Piece), host side and the imaging sensor are electrically connected.When needing each pixel to above-mentioned imaging sensor to be scanned, Host side generates synchronous code, and the image data scaning treatment device being handed down in the embodiment of the present invention, is scanned by image data Processing unit receives the synchronous code, to execute subsequent step according to the synchronous code.
Optionally, above-mentioned synchronous code is N bit codes, and the value of N can be set according to actual needs, and generally be recognized Bigger for the digit of N, safety is higher, and certainly, above-mentioned synchronous code can also be made of other character strings.
In the embodiment of the present invention, the mode that host side generates synchronous code can generate to be random, alternatively, host side can also be with Synchronous code is generated according to preset a certain rule, is not construed as limiting herein.
102, according to preset synchronous code-image scanning sequence correspondence relationship information, according to the synchronous code pair that receives The image scanning sequence answered is scanned each pixel on imaging sensor;
In the embodiment of the present invention, synchronous code-image scanning sequence correspondence relationship information, the synchronous code-image are preset Scanning sequency correspondence relationship information indicates the sequence of image scanning corresponding to synchronous code that each is likely to occur, works as image data After scaning treatment device receives the synchronous code from host side, according to preset synchronous code-image scanning sequence corresponding relationship Information can determine that image scanning sequence corresponding with the synchronous code received, later according to corresponding with the synchronous code received Image scanning sequence each pixel on imaging sensor is scanned.
It is illustrated by taking the imaging sensor of 32*32 definition pixel as an example, if synchronous code is 2 bit codes, then exists Four kinds of synchronous codes, respectively 00,01,10 and 11.As shown in Fig. 1-b, imaging sensor is divided into four regions, and respectively 0 Area, 1st area, 2nd area and 3rd area preset synchronous code-image scanning sequence correspondence relationship information, so that sweeping in the synchronous code-image It retouches each synchronous code in sequence correspondence relationship information and uniquely corresponds to a kind of image scanning sequence.A kind of synchronous code-as shown in Table 1 Image scanning sequence correspondence relationship information, the corresponding image scanning sequence of synchronous code 00 are followed successively by 0th area, 1st area, 2nd area, 3rd area, i.e., first Pixel in 0th area of scanning image sensor, the again pixel in 1st area of scanning image sensor, and so on, finally sweep Retouch the pixel in 3rd area of imaging sensor.Other synchronous codes correspond to other image scanning sequences.
Table 1
Synchronous code Image scanning sequence
00 0th area, 1st area, 2nd area, 3rd area
01 1st area, 2nd area, 3rd area, 0th area
10 2nd area, 3rd area, 0th area, 1st area
11 3rd area, 0th area, 1st area, 2nd area
It should be understood that the mapping mode of synchronous code shown in table 1 and image scanning sequence is only a kind of example, actually answering With in scene, the mapping mode of synchronous code and image scanning sequence can be designed to different modes, be not construed as limiting herein.
103, the image data that scanning obtains is transferred to above-mentioned host side, is based on and above-mentioned synchronous code by above-mentioned host side Corresponding image scanning sequence carries out correspondingly reduction treatment to above-mentioned image data;
In the embodiment of the present invention, since synchronous code is issued by host side, image data scan process is triggered every time When device is scanned each pixel on imaging sensor, host side passes through the synchronous code and preset synchronization issued Code-image scanning sequence correspondence relationship information can know that image data scaning treatment device works as secondary image scanning sequence, After receiving the image data that image data scaning treatment device reports, above-mentioned host side can be based on being handed down to figure when secondary The sequence of the image scanning as corresponding to the synchronous code of data scanning processing unit carries out correspondingly also the image data received Original place reason.
Optionally, when carrying out image scanning by imaging sensor every time, the synchronous code from host side is all received, That is, synchronous code can be all handed down to image data scan process by host side when carrying out image scanning by imaging sensor every time Device, then image data scaning treatment device is according to preset synchronous code-image scanning sequence correspondence relationship information, according to this The secondary corresponding image scanning sequence of synchronous code received is scanned each pixel on imaging sensor.In this mechanism Under, the synchronous code that host side can be made to issue every time is all different from the preceding synchronous code once issued, so that image data Image scanning sequence when scaning treatment device is every time scanned each pixel on imaging sensor all with it is preceding primary right Image scanning sequence when each pixel spot scan on imaging sensor is different, and then increases the difficulty that image data is cracked Degree, improves the transmission security of image data.
Specifically, imaging sensor as mentioned in the embodiments of the present invention is fingerprint sensor, then correspondingly, the present invention is implemented The image data referred in example is fingerprint image data.Certainly, imaging sensor as mentioned in the embodiments of the present invention may be Other types of imaging sensor, is not construed as limiting herein.
It should be noted that the image data scaning treatment device in the embodiment of the present invention can specifically be integrated in above-mentioned image In sensor.
Therefore pre-determined synchronization code-image scanning sequence correspondence relationship information in the present invention, on to imaging sensor Each pixel when being scanned, image scanning sequence corresponding to the synchronous code sent according to host side is scanned, due to The synchronous code is sent by host side, can be based on the synchronous code to the figure transmitted therefore for host side As data progress correspondingly reduction treatment, and for other data theft persons, since they are difficult to know used in scanning together Code is walked, therefore increases the difficulty for the image data that stealer's reduction is stolen to a certain extent, relative to traditional image Data processing scheme improves the transmission security of image data.
In Fig. 1-a illustrated embodiment, image scanning sequency is controlled by synchronous code to realize the to image data One level scrambling, in order to further increase the transmission security of image data, in Fig. 1-a illustrated embodiment in the embodiment of the present invention On the basis of carried out the second level scrambling, as shown in Fig. 2, the image data scanning processing method in the embodiment of the present invention includes:
201, the synchronous code from host side is received;
In the embodiment of the present invention, host side namely configure imaging sensor host main control unit (such as master control core Piece), host side and the imaging sensor are electrically connected.When needing each pixel to above-mentioned imaging sensor to be scanned, Host side generates synchronous code, and the image data scaning treatment device being handed down in the embodiment of the present invention, is scanned by image data Processing unit receives the synchronous code, to execute subsequent step according to the synchronous code.
Optionally, above-mentioned synchronous code is N bit codes, and the value of N can be set according to actual needs, and generally be recognized Bigger for the digit of N, safety is higher, and certainly, above-mentioned synchronous code can also be made of other character strings.
In the embodiment of the present invention, the mode that host side generates synchronous code can generate to be random, alternatively, host side can also be with Synchronous code is generated according to preset a certain rule, is not construed as limiting herein.
202, according to preset synchronous code-image scanning sequence correspondence relationship information, according to the synchronous code pair that receives The image scanning sequence answered is scanned each pixel on imaging sensor;
In the embodiment of the present invention, synchronous code-image scanning sequence correspondence relationship information, the synchronous code-image are preset Scanning sequency correspondence relationship information indicates the sequence of image scanning corresponding to synchronous code that each is likely to occur, works as image data After scaning treatment device receives the synchronous code from host side, according to preset synchronous code-image scanning sequence corresponding relationship Information can determine that image scanning sequence corresponding with the synchronous code received, later according to corresponding with the synchronous code received Image scanning sequence each pixel on imaging sensor is scanned.
Step 202 is specifically referred to the description in Fig. 1-a illustrated embodiment in step 102, and details are not described herein again.
203, as being scrambled to the obtained image data of scanning, the diagram data after being scrambled;
Wherein, scrambled code used in above-mentioned scrambling processes is known to above-mentioned host side.
In the embodiment of the present invention, it is right with a pseudo-random code sequence (scrambled code i.e. in the embodiment of the present invention) that scrambling refers to Data to be scrambled are multiplied, to treat the process that scrambled data is encrypted, specifically, by scrambled code to image data into Row scrambling, image data scaning treatment device carry out scrambled process to the image data that scanning obtains and are referred to existing add Technology realization is disturbed, details are not described herein again.
In embodiments of the present invention, in order to enable scrambled code used in above-mentioned scrambling processes be above-mentioned host side Know, the embodiment of the present invention provides the following two kinds implementation:
In one implementation, the figure that image data scaning treatment device obtains above-mentioned scanning using above-mentioned synchronous code As data are scrambled, that is, the synchronous code that image data scaning treatment device is directly received using step 201 is to step 202 Obtained image data is scanned to be scrambled, since synchronous code is issued by host side, as long as agreement image data scanning The synchronous code that processing unit is issued using host side scrambles the image data scanned, and host side is apparent from step 203 and adds Disturb scrambled code used in process.
In another implementation, host side counts above-mentioned synchronous code by preset first data mapping algorithm According to mapping, scrambled code (for convenient for distinguishing, the scrambled code generated by host side is described as scrambled code A) is obtained, in step 203 In, image data scaning treatment device first passes through preset second data mapping algorithm and carries out data mapping to above-mentioned synchronous code, Obtain scrambled code (for convenient for distinguishing, the scrambled code generated by image data scaning treatment device is described as scrambled code B), then benefit It is scrambled with the image data that scrambled code B obtains scanning, the image data after being scrambled.Wherein, above-mentioned second data Mapping algorithm is identical as above-mentioned first mapping algorithm or there are mapping relations, so that stating the first data mapping algorithm pair by S2 S2 state synchronous code carry out the scrambled code (i.e. scrambled code A) that maps of data with by above-mentioned second data mapping algorithm to above-mentioned It is consistent that synchronous code carries out the scrambled code (i.e. scrambled code B) that data map.Due to ensure that scrambled code A by the mechanism and adding Therefore the consistency of scrambling code B is equivalent to scrambled code used in 203 scrambling processes of host side known steps.
204, the image data after above-mentioned scrambling is transferred to above-mentioned host side, by above-mentioned host side to above-mentioned scrambling after Image data is correspondingly descrambled and reduction treatment;
From the foregoing it will be appreciated that in embodiments of the present invention, for controlling the synchronous code of image scanning sequency and for scanning Obtained image data scrambled used in scrambled code be host side it is known that therefore, when image data scan process fills Set after the image data after above-mentioned scrambling is transferred to above-mentioned host side, above-mentioned host side can based on known scrambled code and Synchronous code is correspondingly descrambled to the image data received and reduction treatment.
Optionally, when carrying out image scanning by imaging sensor every time, the synchronous code from host side is all received, That is, synchronous code can be all handed down to image data scan process by host side when carrying out image scanning by imaging sensor every time Device, then image data scaning treatment device is according to preset synchronous code-image scanning sequence correspondence relationship information, according to this The secondary corresponding image scanning sequence of synchronous code received is scanned each pixel on imaging sensor.In this mechanism Under, the synchronous code that host side can be made to issue every time is all different from the preceding synchronous code once issued, so that image data Image scanning sequence when scaning treatment device is every time scanned each pixel on imaging sensor all with it is preceding primary right Image scanning sequence when each pixel spot scan on imaging sensor is different, and then increases the difficulty that image data is cracked Degree, improves the transmission security of image data.Correspondingly, host side can be every time under image data scaning treatment device While sending out synchronous code, data mapping is carried out to above-mentioned synchronous code by above-mentioned first data mapping algorithm, obtains scrambled code.When So, host side can also be reflected by above-mentioned first data mapping algorithm to when the secondary synchronous code used carries out data on other opportunitys Penetrate, the process only need to image data after to when the scrambling time received descramble before complete.
Specifically, imaging sensor as mentioned in the embodiments of the present invention is fingerprint sensor, then correspondingly, the present invention is implemented The image data referred in example is fingerprint image data.Certainly, imaging sensor as mentioned in the embodiments of the present invention may be Other types of imaging sensor, is not construed as limiting herein.
It should be noted that the image data scaning treatment device in the embodiment of the present invention can specifically be integrated in above-mentioned image In sensor.
Therefore pre-determined synchronization code-image scanning sequence correspondence relationship information in the present invention, on to imaging sensor Each pixel when being scanned, image scanning sequence corresponding to the synchronous code sent according to host side is scanned, realizes First level scrambling of image data further carries out the image data that scanning obtains by scrambled code known to host side Scrambling, realizes the second level scrambling to image data, since the synchronous code and scrambled code are host side it is known that therefore, leading Generator terminal can be based on the scrambled code and synchronous code is correspondingly descrambled to the image data transmitted and reduction treatment, and right In other data theft persons, used scrambled code when being difficult to know synchronous code used in scanning and scrambling due to them, Therefore the difficulty for increasing the image data that stealer's reduction is stolen to a certain extent, at traditional image data Reason scheme improves the transmission security of image data.
A kind of image data scaning treatment device is described with another embodiment below, referring to Fig. 3, the present invention is real The image data scaning treatment device 300 applied in example includes:
Receiving unit 301, for receiving the synchronous code from host side;
Scanning element 302, for according to preset synchronous code-image scanning sequence correspondence relationship information, according to reception To synchronous code corresponding image scanning sequence each pixel on imaging sensor is scanned, wherein above-mentioned image passes Sensor and above-mentioned host side are electrically connected;
Transmission unit 303 is transferred to above-mentioned host side for scanning element 302 to be scanned obtained image data, by upper It states host side and is based on image scanning sequence corresponding with above-mentioned synchronous code to above-mentioned image data progress correspondingly reduction treatment.
Optionally, receiving unit 301 is specifically used for: when carrying out image scanning by imaging sensor every time, receiving and From the synchronous code of host side;Scanning element 302 is specifically used for: being believed according to preset synchronous code-image scanning sequence corresponding relationship Breath sweeps each pixel on imaging sensor according to image scanning sequence corresponding with the synchronous code that this is received It retouches.
Optionally, on the basis of embodiment shown in Fig. 3, as shown in figure 4, image data scaning treatment device 400 also wraps It includes:
Scrambling unit 304 is scrambled for scanning obtained image data to scanning element 302, after being scrambled Image data, wherein scrambled code used in above-mentioned scrambling processes is known to above-mentioned host side;
Transmission unit 303 is specifically used for: the image data after scrambling unit 304 is scrambled is transferred to above-mentioned host side, by Above-mentioned host side is based on above-mentioned scrambled code and image scanning corresponding with above-mentioned synchronous code sequence, to the picture number after above-mentioned scrambling According to correspondingly being descrambled and reduction treatment.
Optionally, scrambling unit 304 is specifically used for: scanning obtained image to scanning element 302 using above-mentioned synchronous code Data are scrambled.
Optionally, during above-mentioned descrambling using to scrambled code reflected by above-mentioned host side by preset first data It penetrates algorithm above-mentioned synchronous code progress data are mapped to obtain;Image data scaning treatment device in the embodiment of the present invention also wraps Include: data mapping unit is added for carrying out data mapping to above-mentioned synchronous code by preset second data mapping algorithm Scrambling code, wherein above-mentioned second data mapping algorithm is identical as above-mentioned first mapping algorithm or there are mapping relations, so that passing through Above-mentioned first data mapping algorithm carries out the scrambled code that data map to above-mentioned synchronous code and reflects with by above-mentioned second data It is consistent to penetrate the scrambled code that algorithm maps above-mentioned synchronous code progress data;Scrambling unit 304 is specifically used for: utilizing above-mentioned number The image data that the scrambled code mapped according to map unit scans above-mentioned scanning element scrambles.
Specifically, imaging sensor as mentioned in the embodiments of the present invention is fingerprint sensor, then correspondingly, the present invention is implemented The image data referred in example is fingerprint image data.Certainly, imaging sensor as mentioned in the embodiments of the present invention may be Other types of imaging sensor, is not construed as limiting herein.
It should be noted that the image data scaning treatment device in the embodiment of the present invention can specifically be integrated in above-mentioned image In sensor.
It should be understood that the image data scaning treatment device in the embodiment of the present invention can be as referred in above method embodiment Image data scaning treatment device, can be used to implement all the technical solutions in the foregoing method embodiment, each function The function of module can be implemented according to the method in above method embodiment, and specific implementation process can refer to above-mentioned implementation Associated description in example, details are not described herein again.
Therefore pre-determined synchronization code-image scanning sequence correspondence relationship information in the present invention, on to imaging sensor Each pixel when being scanned, image scanning sequence corresponding to the synchronous code sent according to host side is scanned, due to The synchronous code is sent by host side, can be based on the synchronous code to the figure transmitted therefore for host side As data progress correspondingly reduction treatment, and for other data theft persons, since they are difficult to know used in scanning together Code is walked, therefore increases the difficulty for the image data that stealer's reduction is stolen to a certain extent, relative to traditional image Data processing scheme improves the transmission security of image data.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of said units, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this hair Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
The above are to a kind of image data scanning processing method provided by the present invention and image data scaning treatment device Description, for those of ordinary skill in the art, thought according to an embodiment of the present invention in specific embodiment and applies model Place that there will be changes, to sum up, the contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. a kind of image data scanning processing method characterized by comprising
Receive the synchronous code from host side;
According to preset synchronous code-image scanning sequence correspondence relationship information, according to image corresponding with the synchronous code received Scanning sequency is scanned each pixel on imaging sensor, wherein described image sensor and the host side are electrical Connection;
The image data that scanning obtains is transferred to the host side, figure corresponding with the synchronous code is based on by the host side As scanning sequency carries out correspondingly reduction treatment to described image data.
2. the method according to claim 1, wherein
The synchronous code of the reception from host side specifically: when carrying out image scanning by imaging sensor every time, receive Synchronous code from host side;
It is described according to preset synchronous code-image scanning sequence correspondence relationship information, according to corresponding with the synchronous code received Image scanning sequence is scanned each pixel on imaging sensor, specifically:
According to preset synchronous code-image scanning sequence correspondence relationship information, according to corresponding with the synchronous code that this is received Image scanning sequence is scanned each pixel on imaging sensor.
3. method according to claim 1 or 2, which is characterized in that described according to preset synchronous code-image scanning sequence Correspondence relationship information, according to image scanning sequence corresponding with the synchronous code that this is received to each in described image sensor Pixel is scanned, later further include:
The image data obtained to scanning scrambles, the image data after being scrambled, wherein made in the scrambling processes Scrambled code is known to the host side;
The image data that scanning is obtained is transferred to the host side, is based on by the host side corresponding with the synchronous code Image scanning sequence to described image data carry out correspondingly reduction treatment, specifically:
Image data after the scrambling is transferred to the host side, by the host side be based on the scrambled code and with it is described Synchronous code corresponding image scanning sequence, correspondingly descrambles the image data after the scrambling and reduction treatment.
4. according to the method described in claim 3, having it is characterized in that, described pair scans obtained image data and scramble Body are as follows:
The obtained image data that scans is scrambled using the synchronous code.
5. according to the method described in claim 3, it is characterized in that, the scrambled code used during the descrambling is by described Host side carries out data to the synchronous code by preset first data mapping algorithm and maps to obtain;
Described pair scans obtained image data and scrambles, and includes: before
Data mapping is carried out to the synchronous code by preset second data mapping algorithm, obtains scrambled code, wherein described the Two data mapping algorithms are identical as the first data mapping algorithm or there are mapping relations, so that passing through first data Mapping algorithm to the synchronous code carry out the scrambled code that maps of data with by the second data mapping algorithm to described It is consistent that synchronous code carries out the scrambled code that data map;
Described pair scans obtained image data and scrambles, specifically:
It is scrambled using the image data that the scrambled code obtains scanning.
6. a kind of image data scaning treatment device characterized by comprising
Receiving unit, for receiving the synchronous code from host side;
Scanning element is used for according to preset synchronous code-image scanning sequence correspondence relationship information, according to synchronous with what is received The corresponding image scanning sequence of code is scanned each pixel on imaging sensor, wherein described image sensor and institute State host side electrical connection;
Transmission unit, the image data for scanning the scanning element are transferred to the host side, by the host End group carries out correspondingly reduction treatment to described image data in image scanning sequence corresponding with the synchronous code.
7. image data scaning treatment device according to claim 6, which is characterized in that the receiving unit is specifically used In: when carrying out image scanning by imaging sensor every time, receive the synchronous code from host side;
The scanning element is specifically used for: according to preset synchronous code-image scanning sequence correspondence relationship information, according to this The corresponding image scanning sequence of the synchronous code received is scanned each pixel on imaging sensor.
8. image data scaning treatment device according to claim 6 or 7, which is characterized in that described image data scanning Processing unit further include:
Scrambling unit, the image data for scanning to the scanning element scramble, the picture number after being scrambled According to, wherein scrambled code used in the scrambling processes is known to the host side;
The transmission unit, is specifically used for: the image data after scrambling unit scrambling being transferred to the host side, by institute It states host side and is based on the scrambled code and image scanning corresponding with synchronous code sequence, to the image data after the scrambling Correspondingly descrambled and reduction treatment.
9. image data scaning treatment device according to claim 8, which is characterized in that the scrambling unit is specifically used In: it is scrambled using the image data that the synchronous code scans the scanning element.
10. image data scaning treatment device according to claim 8, which is characterized in that make during the descrambling The scrambled code used carries out data to the synchronous code by preset first data mapping algorithm by the host side and maps It arrives;
Described image data scanning processing unit further include: data mapping unit is calculated for being mapped by preset second data Method carries out data mapping to the synchronous code, obtains scrambled code, wherein the second data mapping algorithm and first data Mapping algorithm is identical or there are mapping relations, so that carrying out data to the synchronous code by the first data mapping algorithm It maps obtained scrambled code and the scrambling that data map is carried out to the synchronous code with by the second data mapping algorithm Code is consistent;
The scrambling unit is specifically used for: the scrambled code mapped using the data mapping unit sweeps the scanning element The image data retouched is scrambled.
CN201510724328.2A 2015-10-29 2015-10-29 Image data scanning processing method and image data scaning treatment device Active CN105744104B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510724328.2A CN105744104B (en) 2015-10-29 2015-10-29 Image data scanning processing method and image data scaning treatment device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510724328.2A CN105744104B (en) 2015-10-29 2015-10-29 Image data scanning processing method and image data scaning treatment device

Publications (2)

Publication Number Publication Date
CN105744104A CN105744104A (en) 2016-07-06
CN105744104B true CN105744104B (en) 2019-01-18

Family

ID=56295975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510724328.2A Active CN105744104B (en) 2015-10-29 2015-10-29 Image data scanning processing method and image data scaning treatment device

Country Status (1)

Country Link
CN (1) CN105744104B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110086958A (en) * 2019-04-23 2019-08-02 北京恒冠网络数据处理有限公司 A kind of big data image procossing scan method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1949863A (en) * 2006-11-21 2007-04-18 北京中星微电子有限公司 Video monitoring system and method for implementing signal encription
WO2007063472A2 (en) * 2005-11-30 2007-06-07 Koninklijke Philips Electronics N.V. Encoding method and apparatus applying coefficient reordering
CN102164319A (en) * 2011-04-08 2011-08-24 北京数字太和科技有限责任公司 Method and device for safely transmitting transport stream (TS)
CN202206456U (en) * 2010-07-26 2012-04-25 精工爱普生株式会社 Optical reading device and image acquisition device
CN102983972A (en) * 2012-10-18 2013-03-20 郎六琪 Dynamic encryption and decryption method based on stream cipher

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5559539A (en) * 1978-10-30 1980-05-06 Hitachi Ltd Communication control unit
JPH096901A (en) * 1995-06-22 1997-01-10 Oki Electric Ind Co Ltd Document reader
JP3547867B2 (en) * 1995-10-26 2004-07-28 富士通株式会社 Imaging device and image information correction device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007063472A2 (en) * 2005-11-30 2007-06-07 Koninklijke Philips Electronics N.V. Encoding method and apparatus applying coefficient reordering
CN1949863A (en) * 2006-11-21 2007-04-18 北京中星微电子有限公司 Video monitoring system and method for implementing signal encription
CN202206456U (en) * 2010-07-26 2012-04-25 精工爱普生株式会社 Optical reading device and image acquisition device
CN102164319A (en) * 2011-04-08 2011-08-24 北京数字太和科技有限责任公司 Method and device for safely transmitting transport stream (TS)
CN102983972A (en) * 2012-10-18 2013-03-20 郎六琪 Dynamic encryption and decryption method based on stream cipher

Also Published As

Publication number Publication date
CN105744104A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
DE112009000416B4 (en) Two-way authentication between two communication endpoints using a one-way out-of-band (OOB) channel
CN105208028B (en) Data transmission method and related device and equipment
CN102136079B (en) Dynamic authentication method between reader and tag card and implementing device thereof
CN103701927B (en) A kind of image sharing method of terminal room, terminal device and communication system
EP3425847B1 (en) Captcha-based authentication processing method and device
CN111738238A (en) Face recognition method and device
CN103825744A (en) Off-site personal digital certificate application method and system
CN104735065A (en) Data processing method, electronic device and server
CN110198296A (en) Method for authenticating and device, storage medium and electronic device
CN108665964A (en) A kind of medical image wavelet field real-time encryption and decryption algorithm based on multi-chaos system
US20180288818A1 (en) Method for connecting a household appliance to a wireless home network
CN105744104B (en) Image data scanning processing method and image data scaning treatment device
CN110458507B (en) Authorization method and device for public number business hosting
CN105808998A (en) Fingerprint identification device
CN108961140A (en) Image guard method and device, image restoring method and device
CN108650219A (en) A kind of method for identifying ID, relevant apparatus, equipment and system
CN105827396B (en) A kind of car antenna and set top box communication encryption method
CN105718849B (en) Pixel scan method and device applied to fingerprint sensor
CN106642568B (en) Internet-of-things electric appliance baud rate adjusting method and device and air conditioner
CN105550879A (en) Encryption method and apparatus
CN104615992A (en) Long-distance fingerprint dynamic authentication method
US20240106629A1 (en) Privacy-safe-cloud-based computer vision
CN104349115B (en) Video Conference System and the method and apparatus that virtual environment is set wherein
CN115225266A (en) Multi-party threshold privacy set intersection method and system based on cloud server assistance
CN114845302A (en) Near field encryption communication method and system based on Internet of things

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant