CN100338600C - Method for reading sensor - Google Patents

Method for reading sensor Download PDF

Info

Publication number
CN100338600C
CN100338600C CNB031002234A CN03100223A CN100338600C CN 100338600 C CN100338600 C CN 100338600C CN B031002234 A CNB031002234 A CN B031002234A CN 03100223 A CN03100223 A CN 03100223A CN 100338600 C CN100338600 C CN 100338600C
Authority
CN
China
Prior art keywords
storage unit
linear transducer
parameter
linear
read
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.)
Expired - Fee Related
Application number
CNB031002234A
Other languages
Chinese (zh)
Other versions
CN1516058A (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.)
Transpacific IP Pte Ltd.
Original Assignee
TRANSPACIFIC IP Pte 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 TRANSPACIFIC IP Pte Ltd filed Critical TRANSPACIFIC IP Pte Ltd
Priority to CNB031002234A priority Critical patent/CN100338600C/en
Publication of CN1516058A publication Critical patent/CN1516058A/en
Application granted granted Critical
Publication of CN100338600C publication Critical patent/CN100338600C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention relates to a method for reading a sensor. The present invention is suitable for reading the sensor which stores sensed data in a plurality of mutual independent storage units. Before the reading of any linear sensor (no matter a unidimensional linear sensor or a two-dimensional sensor composed of a plurality of linear sensors), first, a parameter (positive integer N) is received, then, at the time of reading, an opening part of the storage units is ignored and is not read, and the reading is started from the Nth storage unit.

Description

The method of read sensor
Technical field
The present invention relates to a kind of method of read sensor, particularly read the method for data storing in the sensor of a plurality of separate storage unit.
Background technology
Sensor miscellaneous is used in modern industry and the various modern product widely, for example image sensor, alcohol sensor, optoelectronic switch and specific use sensor or the like.Generally speaking, except just wanting sensed object existence or non-existent sensor, every sensor of the content of sensed object of wanting all has in order to a plurality of sensing cells of sensing and in order to store a plurality of storage unit of sensing gained data.Certainly, sensing cell and storage unit can be separated from each other; Also can be to allow a sensing cell and the synthetic elementary cell of storage unit earlier, a plurality of elementary cells of recombinant become whole sensor,
In the prior art, because sensing gained data storing in all storage unit, so when read sensor, begin from first storage unit, reads the content of all storage unit in regular turn one by one.As shown in Figure 1A, at first prepare sensor 10 with M storage unit 11; Use sensor 10 sensing objects then and make each storage unit 11 all store data (data 1, data 2..., data M); Then read in regular turn again by data 1, data 2 ... to the data 12 that dataM formed.For instance, for using the image sensor of Charged Coupled Device (chargercoupled device), utilize displacement recorder (shift register) record electric charge moving between each elementary cell, begin to read one by one the stored data of each elementary cell from first elementary cell.
Yet, some application for sensor, because when the content of sensing object, often have only storage unit partly can store non-zero (non-zero) signal, also only need (or saying interesting) sensing content partly because the user may not need complete sensing content, therefore above-mentioned prior art is inefficient often.
For instance, shown in Figure 1B and Fig. 1 C, for the photoelectric sensor 15 of the scanner head 14 of scanner, the object to be scanned 16 that is positioned on the transparent platform 13 may be less than photoelectric sensor 15 length in the length of directional light electric inductor 15 directions; And the user may not need the image of whole object to be scanned (171,172,173) and only partly the image of object to be scanned (as 172) is interesting to certain.Therefore, in the prior art, the user must read the data of all unit on the overall optical electric inductor 15 earlier, then could obtain and handle needed part data, obviously is the efficient inadequately scanner method that reads.
Therefore, be necessary to develop new read sensor method, with allow the user more efficiently the autobiography sensor read needed data.
Summary of the invention
Fundamental purpose of the present invention is to solve above-mentioned prior art common deletion, the method that proposition can more efficient read sensor.
Another object of the present invention is under the prerequisite that is not changing existing sensor specification, can not must the start anew method of the data of all unit in the read sensor in regular turn of proposition.
Another purpose of the present invention is to put before the form that does not change each stored data in unit in the sensor, can not must the start anew method of the data of all unit in the read sensor in regular turn of proposition.
The present invention can have one or number person of following several principal characters at least:
(1) is applicable to that each elementary cell (each storage unit at least) is separate sensor.
(2) before reading, receive earlier a parameter (positive integer) and with these unit according to the bark mark that puts in order, skip over numbering some unit then less than parameter, directly begin to read other all unit from the unit that numbering equals parameter.
(3) before reading, except that receiving a parameter, also receive an additional parameter, equal the unit of additional parameter reading numbering then, just stop reading (that is only reading the part unit of numbering between parameter and additional parameter) to sensor.
(4) appointment of parameter and additional parameter can be set by the user, parameter or sensor that can sensor determine according to stored content in detection process automatically.
(5) before reading, can receive a plurality of parameters, when read sensor, only read the part unit that some discrete cell indicated that is corresponded to these parameters then.At this, refer to only read certain two discrete cell and therebetween part unit, and from first unit with these discrete cells in pairs.
Description of drawings
Figure 1A to Fig. 1 C is the basic procedure synoptic diagram and the common deletion source synoptic diagram of prior art;
Fig. 2 A to Fig. 2 C is the synoptic diagram of three kinds of possibility basic procedures of a preferred embodiment of the present invention;
Fig. 3 A to Fig. 3 B is the synoptic diagram of two kinds of possibility basic procedures of another preferred embodiment of the present invention;
Fig. 4 is the basic procedure synoptic diagram of the another preferred embodiment of the present invention.
Main symbol description among the figure
10 sensors
11 storage unit
12 data
13 transparent platforms
14 scanner heads
15 photoelectric sensors
16 objects to be scanned
171 objects to be scanned
172 objects to be scanned
173 objects to be scanned
20 sensors
21 prepare square
22 select the initial square that reads
The 23 actual squares that read
24 storage unit
15 data
31 prepare square
311 revise the preparation square
32 handle square piecemeal
Square is handled in 321 corrections piecemeal
33 prepare to read square
The 34 actual squares that read
41 linear transducers
42 particular memory location
43 memory cell region
44 data
Embodiment
Describe the specific embodiment of the present invention in detail below in conjunction with drawings and Examples.
A preferred embodiment of the present invention is a kind of method of read sensor, shown in Fig. 2 A, comprises following basic step at least:
As prepare shown in the square 21, connect linear transducer and receive parameter.Linear transducer has being aligned and puts in order and separate a plurality of storage unit, and this parameter N is a positive integer.And, these storage unit are separate and can read respectively, cmos memory cell for example, as select initial reading shown in the square 22, first storage unit from linear transducer begins to count these storage unit one by one according to the linear array order, till calculating N storage unit.
Read shown in the square 23 as actual, begin, read the content of each storage unit that is not counted as yet according to the linear array order one by one from N storage unit.
Present embodiment also can be described with Fig. 2 B, at first prepares the sensor 20 with M storage unit 24; Use sensor 20 sensing objects then and make each storage unit 24 all store data (data 1, data 2..., data M); Then accept parameter N earlier, read in regular turn again by data N, data N+1 ..., the actual needs data 25 formed of data M.
Apparently, an essential characteristic of present embodiment just is to receive earlier parameter N, is begun by the storage unit that corresponds to N again, read one by one numbering be not less than each storage unit of N stored data N, data N+1 ..., data M.Compared with prior art, present embodiment can't read and be numbered 1 data to each storage unit of (N-1), numbering 1 the stored data of each storage unit to (N-1) be zero or be not to use the person required in (for example situation shown in Figure 1B and Fig. 1 C), present embodiment obviously can dispense and read the time that storage does not need the storage unit of data, the efficient in the time of can promoting read sensor.And the number that stores the storage unit that does not need data is many more, and the time that present embodiment can be saved is just many more with the efficient that can promote.
Certainly, in the present embodiment, parameter N is not a fixing number usually, but can change.For example, want before the read sensor at every turn, just can produce a new N again.Generally speaking, parameter can be by user's setting of importing in the time will reading this linear transducer; Parameter also can be that linear transducer institute produces automatically, is for example produced according to pre-defined rule and detection process gained data by internal software; Parameter also can be linear transducer when the sensing object, first that noted stores a certain particular memory location shared cis-position in these storage unit of linear transducer of non-zero signal.
Further, situation shown in Fig. 1 C, since sometimes not only in these storage unit some storage unit of beginning can't store significant (or saying what the user wanted) data, terminal storage unit can not store significant (or saying that the user wants) data yet, and certain section storage unit can store significant (or saying that the user wants) data just.Therefore, present embodiment only reads the storage unit that corresponds to parameter and the feature of each storage unit subsequently; Can also further expand to and not only read the storage unit that corresponds to certain parameter and each storage unit subsequently, also only read the storage unit that corresponds to another parameter and the feature of each storage unit before simultaneously.
Also promptly, shown in Fig. 2 C, present embodiment can be modified to the sensor 20 that preparation earlier has M storage unit 24; Use sensor 20 sensing objects then and make each storage unit 24 all store data (data 1, data 2..., data M); Then accept parameter N and L earlier, read in regular turn again by data N, data N+1 ..., the actual needs data 25 formed of data L.
In other words, present embodiment still can receive additional parameter L in the lump when receiving parameter N, at this L is positive integer greater than N, with when reading the content of these storage unit that are not counted as yet one by one according to the linear array order, after the data of L the storage unit that reads linear transducer, just no longer read each storage unit that other does not read as yet.At this, generally speaking, additional parameter can be by user's setting of importing in the time will reading linear transducer; Additional parameter also can be that linear transducer institute produces automatically, is for example produced according to pre-defined rule and detection process gained data by internal software; Additional parameter also can be linear transducer when the sensing object, last that noted stores a certain particular memory location shared cis-position in each storage unit of linear transducer of non-zero signal.
Further, because present embodiment only must have certain arrangement sequence relevant with each storage unit of sensor basically, and must each storage unit can independently read relevantly, present embodiment is irrelevant to the details (for example details of each storage unit and relative position) of sensor.Therefore, as described below, present embodiment still can expand to the two-dimensional linear sensor from the one-dimensional linear sensor.
Another preferred embodiment of the present invention still is a kind of method of read sensor, as shown in Figure 3A, comprises following basic step at least:
As prepare shown in the square 31, connect dimension sensor and receive the individual parameter of a given number (X).At this, dimension sensor is formed by the individual linear transducer of given number (X), and any linear transducer has a plurality of linear a plurality of storage unit that put in order each other, and any parameter is all a positive integer and corresponds to a certain linear transducer.
As handling piecemeal shown in the square 32, begin from first linear transducers of these linear transducers, one by one each linear transducer is carried out the following action of reading in regular turn.
Read shown in the square 33 as preparing, when handling K linear transducer, first storage unit from K linear transducer begins to count each storage unit one by one according to the linear array order, till calculating N storage unit, be the parameter that corresponds to K linear transducer at this N.
Read shown in the square 34 as actual, begin, read the content of each storage unit that is not counted as yet according to the linear array order one by one from N storage unit.
Apparently, because dimension sensor can be considered as the combination of a plurality of one dimension sensors basically, therefore present embodiment is to repeat repeatedly last embodiment basically, is that last embodiment only accepts a parameter, and present embodiment is to receive a plurality of parameters.Certainly, if just some linear transducer has stored significant (or saying that the user needs) data from first storage unit, the parameter that corresponds to these linear transducers is zero.Certainly, the form of actual each parameter of input has many variations, can be linear transducer numbering with the staggered form of parameter, also can be only to list numbering and the parameter that does not partly need the linear transducer that starts anew to read, present embodiment does not limit these details.
Certainly, because a big emphasis of present embodiment is before each linear transducer is read, all wants first and will begin to read from that storage unit according to corresponding parameter correction, be just received before how long unimportant as for corresponding parameter.Therefore, although Fig. 3 A shows that receiving all parameters earlier handles each linear transducer more one by one, but present embodiment also can be just to receive corresponding parameter before will handling certain linear transducer, shown in Fig. 3 B (just will prepare square 31 with handle piecemeal the correction of square 32 usefulness prepare square 311 and correction handle piecemeal square 321 replacement).
Because other details of present embodiment is identical with last embodiment, for example be used for ending the corresponding additional parameter that reads to certain linear transducer, therefore will no longer repeat to tire out to state these details.
Again further, " only reading the data that numbering is not less than some storage unit of parameter " of previous two embodiment and two features of " only reading the data that numbering is not more than some storage unit of additional parameter " can also expand to the data that only read some storage unit that is identified by some parameter again.
As shown in Figure 4, another preferred embodiment of the present invention is a kind of method of read sensor, before will reading a certain linear transducer 41 of this sensor, receive a plurality of parameter (N1 earlier, N2...Nn), find out then and in this linear transducer 41, number n the particular memory location 42 that corresponds to these parameters, begin from first particular memory location 42 at this, these particular memory location 42 in pairs in regular turn, and each just indicates a particular memory location zone 43 to particular memory location 42, reads out stored data 44 in each memory cell region 43 at last again.
Certainly, in the shown situation of Fig. 4, be the situation of just importing the even number parameter.Consider that present embodiment is to utilize a plurality of parameters to indicate some particular memory location zone to be read, consider that again certain particular memory location zone can be last storage unit that first storage unit of this linear response device just begins or end at this linear response device, present embodiment also can receive the odd number parameter.About these details, present embodiment does not impose any restrictions.
Because other details of present embodiment is identical with the first two embodiment,, therefore will no longer repeat tired these details of stating for example all applicable to one dimension sensor or dimension sensor.
The above is preferred embodiment of the present invention only, is not in order to limit protection scope of the present invention; All other do not break away from the equivalence of being finished under the disclosed spirit and changes or modification, all should be included in the scope of claims.

Claims (12)

1. the method for a read sensor is characterized in that, comprises:
Connect a linear transducer and receive a parameter N, this linear transducer has being aligned and puts in order and separate a plurality of storage unit, and this parameter N is a positive integer, it is when this linear transducer sensing one object, a certain particular memory location that first that noted stores non-zero signal shared cis-position in this linear transducer;
First storage unit from this linear transducer begins to count those storage unit one by one according to this linear array order, till calculating N-1 storage unit; And
Begin from this N storage unit, read the content of the storage unit that is not counted as yet according to this linear array order one by one.
2. the method for read sensor as claimed in claim 1 is characterized in that, described a plurality of storage unit are separate and can read respectively.
3. the method that reads linear transducer as claimed in claim 1, it is characterized in that, still can when receiving this parameter N, receive an additional parameter L in the lump, at this L is positive integer greater than N, with when reading the content of the storage unit that is not counted as yet one by one according to this linear array order, after the data of L the storage unit that reads this linear transducer, just no longer read the storage unit that other does not read as yet.
4. the method for read sensor as claimed in claim 3, it is characterized in that, this additional parameter is when this linear transducer sensing one object, a certain particular memory location that last that noted stores non-zero signal shared cis-position in this linear transducer.
5. the method for a read sensor is characterized in that, comprises:
Connect a dimension sensor and receive a given number parameter, this dimension sensor is formed by this given number linear transducer, have a plurality of storage unit that a plurality of mutual being aligneds put in order at this any linear transducer, and any parameter is all a positive integer and corresponds to some linear transducers, described parameter is when described linear transducer sensing one object, a certain particular memory location that first that noted stores non-zero signal shared cis-position in this linear transducer; And
First linear transducer from those linear transducers begins, and one by one those linear transducers is carried out the following action of reading in regular turn:
First storage unit from this linear transducer begins to count those storage unit one by one according to this linear array order, till calculating N-1 storage unit, is a parameter that corresponds to this linear transducer at this N; And
Begin from this N storage unit, read the content of the storage unit that is not counted as yet according to this linear array order one by one.
6. the method for read sensor as claimed in claim 5 is characterized in that, described a plurality of storage unit are separate and can read respectively.
7. the method that reads linear transducer as claimed in claim 6, it is characterized in that, still can when receiving those parameters, receive a plurality of additional parameters in the lump, all correspond to a parameter at this any additional parameter, and it be the positive integer greater than corresponding parameter.
8. the method that reads linear transducer as claimed in claim 7 is characterized in that, arbitrary linear transducer all necessarily has corresponding parameter, but corresponding additional parameter is not necessarily arranged.
9. the method that reads linear transducer as claimed in claim 8, it is characterized in that, correspond to a certain specific linear transducer of a certain specific additional parameter, when reading the content of the storage unit that is not counted as yet one by one according to the linear array order, after the data of K the storage unit that reads this linear transducer, just no longer read the storage unit that other does not read as yet, be this specific additional parameter at this K.
10. the method for read sensor as claimed in claim 7, it is characterized in that, arbitrary additional parameter is when corresponding with it linear transducer sensing one object, a certain particular memory location that last that noted stores non-zero signal shared cis-position in this linear transducer.
11. the method for a read sensor is characterized in that, comprises:
Connect a linear transducer and receive a plurality of parameters, this linear transducer has being aligned and puts in order and separate a plurality of storage unit, and arbitrary parameter is a positive integer, these a plurality of parameters are when this linear transducer sensing one object, the some particular memory location of some first storage non-zero signal that occur in succession of being noted and a certain particular memory location of last storage non-zero signal shared cis-position in this linear transducer;
First storage unit from this linear transducer begins to count those storage unit one by one according to this linear array order, to find out a plurality of particular memory location that numbering equals a described parameter, begin from first particular memory location at this, described particular memory location in pairs in regular turn, and each just indicates a particular memory location zone to particular memory location; And
According to this linear array order, read those memory cell region one by one.
12. the method for read sensor as claimed in claim 11 is characterized in that, when the number of described parameter is odd number, decides described particular memory location zone with one of following method:
Allow first of first particular memory location and described storage unit form a particular memory location zone, other particular memory location more in pairs; Perhaps
Allow last of last particular memory location and described storage unit form a particular memory location zone, other particular memory location more in pairs.
CNB031002234A 2003-01-03 2003-01-03 Method for reading sensor Expired - Fee Related CN100338600C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031002234A CN100338600C (en) 2003-01-03 2003-01-03 Method for reading sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031002234A CN100338600C (en) 2003-01-03 2003-01-03 Method for reading sensor

Publications (2)

Publication Number Publication Date
CN1516058A CN1516058A (en) 2004-07-28
CN100338600C true CN100338600C (en) 2007-09-19

Family

ID=34238939

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031002234A Expired - Fee Related CN100338600C (en) 2003-01-03 2003-01-03 Method for reading sensor

Country Status (1)

Country Link
CN (1) CN100338600C (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1099899A (en) * 1993-06-18 1995-03-08 国际商业机器公司 Magnetic disk and magnetic disk drive system
CN1138803A (en) * 1994-11-30 1996-12-25 大宇电子株式会社 Run-lenth decoding apparatus for use in video signal decoding system
CN1146248A (en) * 1994-04-19 1997-03-26 艾利森电话股份有限公司 Method and device to control memory
CN1146249A (en) * 1994-04-13 1997-03-26 艾利森公司 Efficient addressing of large memories
CN1298154A (en) * 1999-11-29 2001-06-06 三菱电机株式会社 Memory reference system for stored data in selective reference to storage
JP2002123522A (en) * 2001-09-28 2002-04-26 Arc Corporation System and program for sharing information
JP2002232639A (en) * 2001-02-06 2002-08-16 Minolta Co Ltd Device, method and program for reading image and computer readable recording medium with image reading program recorded thereon
CN1369803A (en) * 2001-02-12 2002-09-18 英业达股份有限公司 Method for directly accessing mass storage inprotection mode

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1099899A (en) * 1993-06-18 1995-03-08 国际商业机器公司 Magnetic disk and magnetic disk drive system
CN1146249A (en) * 1994-04-13 1997-03-26 艾利森公司 Efficient addressing of large memories
CN1146248A (en) * 1994-04-19 1997-03-26 艾利森电话股份有限公司 Method and device to control memory
CN1138803A (en) * 1994-11-30 1996-12-25 大宇电子株式会社 Run-lenth decoding apparatus for use in video signal decoding system
CN1298154A (en) * 1999-11-29 2001-06-06 三菱电机株式会社 Memory reference system for stored data in selective reference to storage
JP2002232639A (en) * 2001-02-06 2002-08-16 Minolta Co Ltd Device, method and program for reading image and computer readable recording medium with image reading program recorded thereon
CN1369803A (en) * 2001-02-12 2002-09-18 英业达股份有限公司 Method for directly accessing mass storage inprotection mode
JP2002123522A (en) * 2001-09-28 2002-04-26 Arc Corporation System and program for sharing information

Also Published As

Publication number Publication date
CN1516058A (en) 2004-07-28

Similar Documents

Publication Publication Date Title
CN1169068C (en) Data storage apparatus and data retrieval method in said apparatus
CN1141666C (en) Online character recognition system for recognizing input characters using standard strokes
CN1333627A (en) Embedded method for electronic information and embedding probability analysis method thereof
CN1717016A (en) Imaging device and control method thereof and cmos image sensor
CN1655577A (en) Method and apparatus for reduced size image
CN1908955A (en) Trilateral poly-dimensional bar code easy for omnibearing recognition and reading method thereof
CN1531329A (en) Image reader
CN1215698C (en) Image read device and method
CN1149857C (en) Image pickup element
CN100338600C (en) Method for reading sensor
CN101042734A (en) Method for rapid making image connection element
CN86106162A (en) The decoding device of image code
CN1126375C (en) Quantizer for video signal encoding system
CN1851701A (en) Binary data access method
CN1637843A (en) Gradation image forming apparatus and gradation image forming method
CN1955933A (en) Data processing apparatus and method
CN1650611A (en) Image processing device and image processing method
CN1223940C (en) Image processing apparatus and image processing method
CN116921260A (en) Light-emitting chip sorting method and device
CN100340971C (en) Arithmetic device
CN1340273A (en) Color image segmentation method
CN1822669A (en) Image processing method and image processing apparatus
CN1951108A (en) Imaging device, method, and program
CN1873655A (en) Image input apparatus
CN1466374A (en) Image input device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: YUDONG TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: LIJIE COMPUTER CO., LTD.

Effective date: 20060331

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20060331

Address after: Taipei city of Taiwan Province

Applicant after: Transpacific IP Pte Ltd.

Address before: No. two, No. 1-1, R & D Park, Hsinchu Science Park, Taiwan

Applicant before: Lijie Computer Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: YUXI SCIENCE CO., LTD.

Free format text: FORMER OWNER: YUDONG TECHNOLOGY CO., LTD.

Effective date: 20090814

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20090814

Address after: Delaware

Patentee after: Transpacific IP Pte Ltd.

Address before: Taiwan City, Taipei

Patentee before: Transpacific IP Pte Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070919

Termination date: 20130103

CF01 Termination of patent right due to non-payment of annual fee