CN105260263B - A kind of the dynamic antidote and system of money-checking magnetic data - Google Patents

A kind of the dynamic antidote and system of money-checking magnetic data Download PDF

Info

Publication number
CN105260263B
CN105260263B CN201510591559.0A CN201510591559A CN105260263B CN 105260263 B CN105260263 B CN 105260263B CN 201510591559 A CN201510591559 A CN 201510591559A CN 105260263 B CN105260263 B CN 105260263B
Authority
CN
China
Prior art keywords
money
magnetic data
data
checking magnetic
checking
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
CN201510591559.0A
Other languages
Chinese (zh)
Other versions
CN105260263A (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 Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Original Assignee
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
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 Yihua Computer Co Ltd, Shenzhen Yihua Time Technology Co Ltd, Shenzhen Yihua Financial Intelligent Research Institute filed Critical Shenzhen Yihua Computer Co Ltd
Priority to CN201510591559.0A priority Critical patent/CN105260263B/en
Publication of CN105260263A publication Critical patent/CN105260263A/en
Application granted granted Critical
Publication of CN105260263B publication Critical patent/CN105260263B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Inspection Of Paper Currency And Valuable Securities (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a kind of dynamic antidotes of money-checking magnetic data, this method comprises: receiving current money-checking magnetic data;Judge that the preceding n-1 row data of the current money-checking magnetic data are incorrect, n is more than or equal to 1;The preceding n-1 row data of the correct money-checking magnetic data of reservation are substituted to the preceding n-1 row data of the current money-checking magnetic data, banknote number is obtained from the correct data of the current money-checking magnetic data, the banknote number of n-1 row data corresponding position before which is substituted.The present invention corrects received money-checking magnetic data by dynamic, carries out dynamic correction to the money-checking magnetic data of error, can safeguard to existing engineering, in order to avoid substantially being modified, facilitate subsequent algorithm and Data Detection.

Description

A kind of the dynamic antidote and system of money-checking magnetic data
Technical field
The present invention relates to data processing field more particularly to the dynamic antidotes and system of a kind of money-checking magnetic data.
Background technique
During money-checking, FPGA can send magnetic data to the end DSP, and the end DSP is when receiving magnetic data, usually There is the first and second row error of magnetic data.Crash when the reason of magnetic data malfunctions is due to DSP self-test, shields Self-test and occur, DSP crash the problem of cannot be resolved always, and solve get up it is fairly cumbersome, need DSP, master control, FPGA and hardware solve together, but the end DSP solves the problems, such as DSP crash by shielding self-test, and cost is exactly magnetism occur The error of the first and second row of data.
It malfunctions for magnetic data, the end DSP before is directly shielded to data, or the magnetic data that will retain before All copy in the magnetic data received.The data that the prior art retains certain part are all copied next, but do not have It does dynamic to correct, subsequent algorithm and data is caused to detect that existing problem, such as banknote lead to algorithm meter into paper money poor direction When calculating wrong or Data Detection, a certain frame is with former frame on not.
Summary of the invention
The present invention provides a kind of dynamic antidote of money-checking magnetic data and systems, by dynamically correcting received test Paper money magnetic data carries out dynamic correction to the money-checking magnetic data of error, can safeguard to existing engineering, in order to avoid carry out It substantially modifies, facilitates subsequent algorithm and Data Detection.
To realize above-mentioned design, the invention adopts the following technical scheme:
On the one hand, a kind of dynamic antidote of money-checking magnetic data is provided, this method comprises:
Receive current money-checking magnetic data;
Judge that the preceding n-1 row data of the current money-checking magnetic data are incorrect, n is more than or equal to 1;
The preceding n-1 row data of the correct money-checking magnetic data of reservation are substituted to the preceding n-1 of the current money-checking magnetic data Row data obtain banknote number from the correct data of the current money-checking magnetic data, n-1 line number before which is substituted According to the banknote number of corresponding position.
Preferably, the preceding n-1 row data for judging the current money-checking magnetic data are incorrect, comprising:
A1 enables n=1;
A2 obtains the numerical value of the 1st column of line n;
A3 judges whether the numerical value is n, if so, n-1 row data are incorrect before judging;If it is not, n=n+1, is returned Return step a2.
Preferably,
The n is 2 or 3;
It is described to obtain banknote number from the correct data of the current money-checking magnetic data, comprising: from the current money-checking The line n data acquisition banknote number of magnetic data.
Preferably,
The current money-checking magnetic data and correct money-checking magnetic data are 1386 rows, and every row 48 arranges, and every row the 1st is classified as Line number, every row the 43rd and 44 are classified as banknote number;
It is described to obtain banknote number from the correct data of the current money-checking magnetic data, n- before which is substituted The banknote number of 1 row data corresponding position, comprising: obtain banknote from the 43rd or 44 column of the line n of current money-checking magnetic data Number, the banknote number of the 43rd and 44 column of n-1 row data before which is substituted.
Preferably, it is described receive current money-checking magnetic data after, further include judge current money-checking magnetic data the 1 row is correct, then retains current money-checking magnetic data, and stops detecting current money-checking magnetic data.
It preferably, further include the money-checking magnetic number for receiving first banknote before the current money-checking magnetic data of reception According to, and retain the money-checking magnetic data as correct money-checking magnetic data.
On the other hand, a kind of dynamic correction system of money-checking magnetic data is provided, which includes:
Receiving module receives current money-checking magnetic data;
Judgment module judges that the preceding n-1 row data of the current money-checking magnetic data are incorrect, and n is more than or equal to 1;
The preceding n-1 row data of the correct money-checking magnetic data of reservation are substituted the current money-checking magnetic number by alternative module According to preceding n-1 row data, from the correct data of the current money-checking magnetic data obtain banknote number, by the banknote number substitute The banknote number of preceding n-1 row data corresponding position.
Preferably,
The n is 2 or 3;
It is described to obtain banknote number from the correct data of the current money-checking magnetic data, comprising: from the current money-checking The line n data acquisition banknote number of magnetic data.
Preferably, the judgment module, is also used to, and judges that the 1st row of current money-checking magnetic data is correct, then retains and work as Preceding money-checking magnetic data, and stop detecting current money-checking magnetic data.
Preferably, further include reservation module, receive the money-checking magnetic data of first banknote, and retain the money-checking magnetic number According to as correct money-checking magnetic data.
Compared with prior art, the invention has the benefit that receiving current money-checking magnetic data;Judge described current The preceding n-1 row data of money-checking magnetic data are incorrect, and n is more than or equal to 1;By the preceding n-1 row of the correct money-checking magnetic data of reservation Data substitute the preceding n-1 row data of the current money-checking magnetic data, obtain from the correct data of the current money-checking magnetic data Banknote number is taken, the banknote number of n-1 row data corresponding position before which is substituted, by dynamically correcting received test Paper money magnetic data carries out dynamic correction to the money-checking magnetic data of error, can safeguard to existing engineering, in order to avoid carry out It substantially modifies, facilitates subsequent algorithm and Data Detection.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, institute in being described below to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also implement according to the present invention The content of example and these attached drawings obtain other attached drawings.
Fig. 1 is a kind of the first reality of the dynamic antidote of the money-checking magnetic data provided in the specific embodiment of the invention Apply the method flow diagram of example.
Fig. 2 is a kind of the second reality of the dynamic antidote of the money-checking magnetic data provided in the specific embodiment of the invention Apply the method flow diagram of example.
Fig. 3 is that a kind of third of the dynamic antidote of the money-checking magnetic data provided in the specific embodiment of the invention is real Apply the method flow diagram of example.
Fig. 4 is a kind of the first reality of the dynamic correction system of the money-checking magnetic data provided in the specific embodiment of the invention Apply the structural block diagram of example.
Fig. 5 is a kind of the second reality of the dynamic correction system of the money-checking magnetic data provided in the specific embodiment of the invention Apply the structural block diagram of example.
Specific embodiment
To keep the technical problems solved, the adopted technical scheme and the technical effect achieved by the invention clearer, below It will the technical scheme of the embodiment of the invention will be described in further detail in conjunction with attached drawing, it is clear that described embodiment is only It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those skilled in the art exist Every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
Referring to FIG. 1, it is a kind of dynamic correction side of the money-checking magnetic data provided in the specific embodiment of the invention The method flow diagram of the first embodiment of method.As shown, the dynamic antidote of the money-checking magnetic data, comprising:
Step S101: current money-checking magnetic data is received.
The money-checking magnetic data is obtained by magnetic data sensor, and the money-checking magnetic data obtained every time has phase With size, and agreement provides, money-checking magnetic data has a fixed format, money-checking magnetic data by banknote number, line number and Magnetic data composition, every row the 1st are classified as line number.
Step S102: judging that the preceding n-1 row data of the current money-checking magnetic data are incorrect, and n is more than or equal to 1.
Work as n=1, then judges that the preceding 0 row data of the current money-checking magnetic data are incorrect, i.e., current money-checking magnetic number According to correct, need not continue to detect.
Preferably, the preceding n-1 row data for judging the current money-checking magnetic data are incorrect, comprising:
A1 enables n=1;
A2 obtains the numerical value of the 1st column of line n;
A3 judges whether the numerical value is n, if so, n-1 row data are incorrect before judging;If it is not, n=n+1, is returned Return step a2.
Step S103: the preceding n-1 row data of the correct money-checking magnetic data of reservation are substituted into current money-checking magnetic data Preceding n-1 row data, n-1 row data corresponding positions before the banknote number obtained from the correct data of current money-checking magnetic data is substituted The banknote number set.
The preceding n-1 row data of the correct money-checking magnetic data of reservation are substituted to the preceding n-1 of the current money-checking magnetic data Row data obtain banknote number from the correct data of the current money-checking magnetic data, n-1 line number before which is substituted According to the banknote number of corresponding position.It is described to obtain banknote number from the correct data of the current money-checking magnetic data, comprising: from The line n data acquisition banknote number of the current money-checking magnetic data.
Preferably, n is 2 or 3, when n is 2, that is, judges that the 1st row data of the current money-checking magnetic data are incorrect, The 1st row data that 1st row data of the correct money-checking magnetic data of reservation are then substituted to the current money-checking magnetic data, from institute The 2nd row data acquisition banknote number of current money-checking magnetic data is stated, it can also be from the correct data of current money-checking magnetic data Banknote number is obtained in other partial row data, for example, the 10th row, 100 rows, 1000 rows etc., substitute the 1st for the banknote number The banknote number of row data corresponding position;When n is 3, that is, judge the preceding 2 row data of the current money-checking magnetic data not just Really, then 2 row data before the correct money-checking magnetic data of reservation are substituted into 2 row data before the current money-checking magnetic data, It, can also be from the correct of current money-checking magnetic data from the 3rd row data acquisition banknote number of the current money-checking magnetic data Banknote number is obtained in other row data of data portion, for example, the 10th row, 100 rows, 1000 rows etc., which is replaced For the banknote number of preceding 2 row data corresponding position.
The correct money-checking magnetic data retained, is as follows:
1 .... .... .... .... .... .... 1 .... ....
2 .... .... .... .... .... .... 1 .... ....
3 .... .... .... .... .... .... 1 .... ....
4 .... .... .... .... .... .... 1 .... ....
The money-checking magnetic data of error, is as follows:
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
3 .... .... .... .... .... .... Current number .... ....
4 .... .... .... .... .... .... Current number .... ....
By taking n is 3 as an example, specific correcting process is as follows:
(1) the preceding 2 row error of current money-checking magnetic data:
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
3 .... .... .... .... .... .... Current number .... ....
4 .... .... .... .... .... .... Current number .... ....
(2) 2 row data before the correct money-checking magnetic data of reservation are substituted into 2 rows before the current money-checking magnetic data Data:
1 .... .... .... .... .... .... 1 .... ....
2 .... .... .... .... .... .... 1 .... ....
3 .... .... .... .... .... .... Current number .... ....
4 .... .... .... .... .... .... Current number .... ....
(3) the banknote number is substituted preceding 2 row by the 3rd row data acquisition banknote number of the current money-checking magnetic data The banknote number of data corresponding position:
1 .... .... .... .... .... .... Current number .... ....
2 .... .... .... .... .... .... Current number .... ....
3 .... .... .... .... .... .... Current number .... ....
4 .... .... .... .... .... .... Current number .... ....
(4) the dynamic correction of the money-checking magnetic data of error is completed.
The present embodiment corrects received money-checking magnetic data by dynamic, carries out dynamic to the money-checking magnetic data of error and rectifys Just, existing engineering can be safeguarded, in order to avoid substantially being modified, facilitates subsequent algorithm and Data Detection.
Referring to FIG. 2, it is a kind of dynamic correction side of the money-checking magnetic data provided in the specific embodiment of the invention The method flow diagram of the second embodiment of method.As shown, the dynamic antidote of the money-checking magnetic data, comprising:
Step S201: receiving the money-checking magnetic data of first banknote, and retains money-checking magnetic data conduct and correctly test Paper money magnetic data.
Money-checking magnetic data is obtained by magnetic sensor, and during money-checking, the money-checking magnetic data of first banknote is Correctly, the money-checking magnetic data can be retained as correct money-checking magnetic data.Other banknotes can certainly be retained Money-checking magnetic data, as long as the money-checking magnetic data is correct.
Step S202: current money-checking magnetic data is received.
Step S203: judging that the 1st row of current money-checking magnetic data is correct, then retains current money-checking magnetic data, and Stop detecting current money-checking magnetic data.
When the 1st row of money-checking magnetic data is correct, then show that the money-checking magnetic data is correct, without continuing to test the money-checking Magnetic data, and retain the money-checking magnetic data.
Step S204: judging that the preceding n-1 row data of the current money-checking magnetic data are incorrect, and n is more than or equal to 1.
Work as n=1, then judges that the preceding 0 row data of the current money-checking magnetic data are incorrect, i.e., current money-checking magnetic number According to correct, need not continue to detect.
Preferably, the preceding n-1 row data for judging the current money-checking magnetic data are incorrect, comprising:
A1 enables n=1;
A2 obtains the numerical value of the 1st column of line n;
A3 judges whether the numerical value is n, if so, judging that n-1 row data are incorrect;If it is not, n=n+1, returns Step a2.
Step S205: the preceding n-1 row data of the correct money-checking magnetic data of reservation are substituted into current money-checking magnetic data Preceding n-1 row data, n-1 row data corresponding positions before the banknote number obtained from the correct data of current money-checking magnetic data is substituted The banknote number set.Referring specifically to the step S103 in embodiment one, it is not discussed herein.
The present embodiment corrects received money-checking magnetic data by dynamic, carries out dynamic to the money-checking magnetic data of error and rectifys Just, existing engineering can be safeguarded, in order to avoid substantially being modified, facilitates subsequent algorithm and Data Detection, and work as and test When 1st row data of paper money magnetic data are correct, i.e., when the money-checking magnetic data is correct, stop continuing to test, reduce workload, It improves work efficiency.
Referring to FIG. 3, it is a kind of dynamic correction side of the money-checking magnetic data provided in the specific embodiment of the invention The method flow diagram of the 3rd embodiment of method.As shown, the dynamic antidote of the money-checking magnetic data, comprising:
Step S301: receiving the money-checking magnetic data of first banknote, and retains money-checking magnetic data conduct and correctly test Paper money magnetic data.
The money-checking magnetic data is obtained by magnetic data sensor, and the money-checking magnetic data obtained every time has phase With size, and agreement provides, money-checking magnetic data has a fixed format, money-checking magnetic data have banknote number, line number and Magnetic data composition, current money-checking magnetic data and correct money-checking magnetic data are 1386 rows, and every row 48 arranges, and every row the 1st arranges For line number, every row the 43rd and 44 is classified as banknote number.
Step S302: current money-checking magnetic data is received.
Step S303: n=1 is enabled.
N represents the line number of money-checking magnetic data.
Step S304: the numerical value of the 1st column of line n is obtained.
As n=1, then the numerical value of the 1st column of the 1st row is obtained;As n=2, then the numerical value of the 2nd row the 1st column is obtained;Work as n When=3, then the numerical value of the 1st column of the 3rd row is obtained;And so on.
Step S305: do you judge that the numerical value is n?
Judge whether the numerical value is n, if so, thening follow the steps S307;If it is not, thening follow the steps S306, it is finished Return step S304 afterwards.
Step S306:n=n+1.
Step S307: n-1 row data are incorrect before judging, execute step S308.
Step S308: do you judge n > 1?
Judge whether n is greater than 1, if so, thening follow the steps S310;If it is not, thening follow the steps S309.
Step S309: retaining current money-checking magnetic data, and stops detecting current money-checking magnetic data.
N is not more than 1, then shows that n=1, the numerical value of the 1st row the 1st column of the money-checking magnetic data of acquisition are equal to 1, explanation is worked as Preceding money-checking magnetic data is correct, needs not continue to detect.
Step S310: the preceding n-1 row data of the correct money-checking magnetic data of reservation are substituted into current money-checking magnetic data Preceding n-1 row, n-1 row data before the banknote number that the 43rd or 44 column of the line n from current money-checking magnetic data obtain is substituted The 43rd and 44 column banknote numbers.
N is greater than 1, then shows current money-checking magnetic data error.Preferably, n is 2 or 3, when n is 2, just by reservation The preceding 1 row data of true money-checking magnetic data substitute preceding 1 row of current money-checking magnetic data, from the of current money-checking magnetic data The banknote number that 43rd or 44 column of 2 rows obtain substitutes the banknote number of the 43rd and 44 column of preceding 1 row data;It, will when n is 3 The preceding 2 row data of the correct money-checking magnetic data retained substitute preceding 2 row of current money-checking magnetic data, magnetic from current money-checking The banknote number that 43rd or 44 column of the 3rd row of data obtain substitutes the banknote number of the 43rd and 44 column of preceding 2 row data.
The present embodiment corrects received money-checking magnetic data by dynamic, carries out dynamic to the money-checking magnetic data of error and rectifys Just, existing engineering can be safeguarded, in order to avoid substantially being modified, facilitates subsequent algorithm and Data Detection.After modification Engineering will no longer occur money-checking magnetic data error the problem of.It can by carrying out dynamic correction to the money-checking magnetic data of error So that currency examination device and the equipment with cash examining function steadily work, this greatly reduces otherwise work, such as wants Engineering is remodified, DSP crash etc. is caused.
Referring to FIG. 4, it is a kind of dynamic correction system of the money-checking magnetic data provided in the specific embodiment of the invention The structural block diagram of the first embodiment of system.The dynamic correction system of the money-checking magnetic data, comprising:
Receiving module 410 receives current money-checking magnetic data.
The money-checking magnetic data is obtained by magnetic data sensor, and the money-checking magnetic data obtained every time has phase With size, and agreement provides, money-checking magnetic data has a fixed format, money-checking magnetic data by banknote number, line number and Magnetic data composition, every row the 1st are classified as line number.
Judgment module 420 judges that the preceding n-1 row data of the current money-checking magnetic data are incorrect, and n is more than or equal to 1.
Preferably, the preceding n-1 row data for judging the current money-checking magnetic data are incorrect, comprising:
A1 enables n=1;
A2 obtains the numerical value of the 1st column of line n;
A3 judges whether the numerical value is n, if so, n-1 row data are incorrect before judging;If it is not, n=n+1, is returned Return step a2.
Preferably, the judgment module, is also used to, and judges that the 1st row of current money-checking magnetic data is correct, then retains and work as Preceding money-checking magnetic data, and stop detecting current money-checking magnetic data.
When the 1st row of money-checking magnetic data is correct, then show that the money-checking magnetic data is correct, without continuing to test the money-checking Magnetic data, and retain the money-checking magnetic data.
Alternative module 430, the preceding n-1 row data substitution current money-checking of the correct money-checking magnetic data of reservation is magnetic The preceding n-1 row data of data obtain banknote number from the correct data of the current money-checking magnetic data, which are replaced For the banknote number of preceding n-1 row data corresponding position.
The preceding n-1 row data of the correct money-checking magnetic data of reservation are substituted to the preceding n-1 of the current money-checking magnetic data Row data obtain banknote number from the correct data of the current money-checking magnetic data, n-1 line number before which is substituted According to the banknote number of corresponding position.It is described to obtain banknote number from the correct data of the current money-checking magnetic data, comprising: from The line n data acquisition banknote number of the current money-checking magnetic data.
Preferably, n is 2 or 3, when n is 2, that is, judges that the 1st row data of the current money-checking magnetic data are incorrect, The 1st row data that 1st row data of the correct money-checking magnetic data of reservation are then substituted to the current money-checking magnetic data, from institute The 2nd row data acquisition banknote number of current money-checking magnetic data is stated, it can also be from the correct data of current money-checking magnetic data Banknote number is obtained in other partial row data, for example, the 10th row, 100 rows, 1000 rows etc., substitute the 1st for the banknote number The banknote number of row data corresponding position;When n is 3, that is, judge the preceding 2 row data of the current money-checking magnetic data not just Really, then 2 row data before the correct money-checking magnetic data of reservation are substituted into 2 row data before the current money-checking magnetic data, It, can also be from the correct of current money-checking magnetic data from the 3rd row data acquisition banknote number of the current money-checking magnetic data Banknote number is obtained in other row data of data portion, for example, the 10th row, 100 rows, 1000 rows etc., which is replaced For the banknote number of preceding 2 row data corresponding position.
The dynamic correction system of money-checking magnetic data provided in this embodiment corrects received money-checking magnetic number by dynamic According to, dynamic correction is carried out to the money-checking magnetic data of error, existing engineering can be safeguarded, in order to avoid substantially repaired Change, facilitates subsequent algorithm and Data Detection.The system can be applied in currency examination device or equipment with cash examining function.
Referring to FIG. 5, it is a kind of dynamic correction system of the money-checking magnetic data provided in the specific embodiment of the invention The structural block diagram of the second embodiment of system.The dynamic correction system of the money-checking magnetic data, comprising:
Reservation module 510, receives the money-checking magnetic data of first banknote, and retains the money-checking magnetic data as correct Money-checking magnetic data.
The money-checking magnetic data is obtained by magnetic data sensor, and the money-checking magnetic data obtained every time has phase With size, and agreement provides, money-checking magnetic data has a fixed format, money-checking magnetic data by banknote number, line number and Magnetic data composition, current money-checking magnetic data and correct money-checking magnetic data are 1386 rows, and every row 48 arranges, and every row the 1st arranges For line number, every row the 43rd and 44 is classified as banknote number.
Receiving module 520 receives current money-checking magnetic data.
Judgment module 530 judges that the preceding n-1 row data of the current money-checking magnetic data are incorrect, and n is more than or equal to 1.
Preferably, the preceding n-1 row data for judging the current money-checking magnetic data are incorrect, comprising:
A1 enables n=1;
A2 obtains the numerical value of the 1st column of line n;
A3 judges whether the numerical value is n, if so, n-1 row data are incorrect before judging;If it is not, n=n+1, is returned Return step a2.
Preferably, the judgment module, is also used to, and judges that the 1st row of current money-checking magnetic data is correct, then retains and work as Preceding money-checking magnetic data, and stop detecting current money-checking magnetic data.
When the 1st row of money-checking magnetic data is correct, then show that the money-checking magnetic data is correct, without continuing to test the money-checking Magnetic data, and retain the money-checking magnetic data.
Alternative module 540, the preceding n-1 row data substitution current money-checking of the correct money-checking magnetic data of reservation is magnetic The preceding n-1 row data of data obtain banknote number from the correct data of the current money-checking magnetic data, which are replaced For the banknote number of preceding n-1 row data corresponding position.
Preferably, n is 2 or 3, and when n is 2,1 row data substitution before the correct money-checking magnetic data of reservation is currently tested Preceding 1 row of paper money magnetic data, before the banknote number that the 43rd or 44 column of the 2nd row from current money-checking magnetic data obtain is substituted The banknote number of 43rd and 44 column of 1 row data;When n is 3,2 row data before the correct money-checking magnetic data of reservation are replaced For preceding 2 row of current money-checking magnetic data, the banknote that the 43rd or 44 column of the 3rd row from current money-checking magnetic data are obtained Number substitutes the banknote number of the 43rd and 44 column of preceding 2 row data.The system can be applied to currency examination device or with cash examining function In equipment.
The technical principle of the invention is described above in combination with a specific embodiment.These descriptions are intended merely to explain of the invention Principle, and shall not be construed in any way as a limitation of the scope of protection of the invention.Based on the explanation herein, the technology of this field Personnel can associate with other specific embodiments of the invention without creative labor, these modes are fallen within Within protection scope of the present invention.

Claims (10)

1. a kind of dynamic antidote of money-checking magnetic data, which is characterized in that this method comprises:
Receive current money-checking magnetic data, wherein the money-checking magnetic data is made of banknote number, line number and magnetic data;
Judge that the preceding n-1 row data of the current money-checking magnetic data are incorrect, n is more than or equal to 1;
The preceding n-1 row data of the correct money-checking magnetic data of reservation are substituted to the preceding n-1 line number of the current money-checking magnetic data According to, from the correct data of current money-checking magnetic data acquisition banknote number, n-1 row data phase before which is substituted Answer the banknote number of position.
2. a kind of dynamic antidote of money-checking magnetic data according to claim 1, which is characterized in that described to judge The preceding n-1 row data of the current money-checking magnetic data are incorrect, comprising:
A1 enables n=1;
A2 obtains the numerical value of the 1st column of line n;
A3 judges whether the numerical value is n, if so, it is incorrect to go out n-1 row data before judgement;If it is not, n=n+1, returns to step Rapid a2.
3. a kind of dynamic antidote of money-checking magnetic data according to claim 1, which is characterized in that
The n is 2 or 3;
It is described to obtain banknote number from the correct data of the current money-checking magnetic data, comprising: magnetic from the current money-checking The line n data acquisition banknote number of data.
4. a kind of dynamic antidote of money-checking magnetic data according to claim 1, which is characterized in that
The current money-checking magnetic data and correct money-checking magnetic data are 1386 rows, and every row 48 arranges, and every row the 1st is classified as row Number, every row the 43rd and 44 are classified as banknote number;
It is described to obtain banknote number from the correct data of the current money-checking magnetic data, n-1 row before which is substituted The banknote number of data corresponding position, comprising: obtain banknote from the 43rd or 44 column of the line n of current money-checking magnetic data Number, the banknote number of the 43rd and 44 column of n-1 row data before which is substituted.
5. a kind of dynamic antidote of money-checking magnetic data according to claim 1, which is characterized in that the reception is worked as After preceding money-checking magnetic data, further includes judging that the 1st row of current money-checking magnetic data is correct, then retain current money-checking magnetic Property data, and stop detecting current money-checking magnetic data.
6. a kind of dynamic antidote of money-checking magnetic data according to claim 1, which is characterized in that the reception is worked as It further include receiving the money-checking magnetic data of first banknote, and retain money-checking magnetic data work before preceding money-checking magnetic data For correct money-checking magnetic data.
7. a kind of dynamic correction system of money-checking magnetic data, which is characterized in that the system includes:
Receiving module receives current money-checking magnetic data, wherein the money-checking magnetic data is by banknote number, line number and magnetism Data composition;
Judgment module judges that the preceding n-1 row data of the current money-checking magnetic data are incorrect, and n is more than or equal to 1;
The preceding n-1 row data of the correct money-checking magnetic data of reservation are substituted the current money-checking magnetic data by alternative module Preceding n-1 row data obtain banknote number from the correct data of the current money-checking magnetic data, n- before which is substituted The banknote number of 1 row data corresponding position.
8. a kind of dynamic correction system of money-checking magnetic data according to claim 7, which is characterized in that
The n is 2 or 3;
It is described to obtain banknote number from the correct data of the current money-checking magnetic data, comprising: magnetic from the current money-checking The line n data acquisition banknote number of data.
9. a kind of dynamic correction system of money-checking magnetic data according to claim 7, which is characterized in that the judgement mould Block is also used to, and is judged that the 1st row of current money-checking magnetic data is correct, is then retained current money-checking magnetic data, and stop detecting Current money-checking magnetic data.
10. a kind of dynamic correction system of money-checking magnetic data according to claim 7, which is characterized in that further include protecting Module is stayed, the money-checking magnetic data of first banknote is received, and retains the money-checking magnetic data as correct money-checking magnetic data.
CN201510591559.0A 2015-09-16 2015-09-16 A kind of the dynamic antidote and system of money-checking magnetic data Expired - Fee Related CN105260263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510591559.0A CN105260263B (en) 2015-09-16 2015-09-16 A kind of the dynamic antidote and system of money-checking magnetic data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510591559.0A CN105260263B (en) 2015-09-16 2015-09-16 A kind of the dynamic antidote and system of money-checking magnetic data

Publications (2)

Publication Number Publication Date
CN105260263A CN105260263A (en) 2016-01-20
CN105260263B true CN105260263B (en) 2019-01-11

Family

ID=55099963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510591559.0A Expired - Fee Related CN105260263B (en) 2015-09-16 2015-09-16 A kind of the dynamic antidote and system of money-checking magnetic data

Country Status (1)

Country Link
CN (1) CN105260263B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115131908B (en) * 2021-03-25 2023-12-22 深圳怡化电脑股份有限公司 Method and device for detecting magnetic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101551764A (en) * 2009-02-27 2009-10-07 北京时代民芯科技有限公司 An anti-SEE system and method based on synchronizing redundant threads and coding technique
CN102222384A (en) * 2011-05-27 2011-10-19 尤新革 Analysis method of multispectral image of note
CN103019873A (en) * 2012-12-03 2013-04-03 华为技术有限公司 Replacing method and device for storage fault unit and data storage system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4734324B2 (en) * 2004-05-04 2011-07-27 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Access authorization across multiple devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101551764A (en) * 2009-02-27 2009-10-07 北京时代民芯科技有限公司 An anti-SEE system and method based on synchronizing redundant threads and coding technique
CN102222384A (en) * 2011-05-27 2011-10-19 尤新革 Analysis method of multispectral image of note
CN103019873A (en) * 2012-12-03 2013-04-03 华为技术有限公司 Replacing method and device for storage fault unit and data storage system

Also Published As

Publication number Publication date
CN105260263A (en) 2016-01-20

Similar Documents

Publication Publication Date Title
WO2011127866A3 (en) Data processing method, device and system
CN109190776B (en) Method and device for rechecking automobile fault, terminal equipment and storage medium
CN104580104A (en) Method, device and system for identity verification
CN104133768A (en) Program code review method and program code review device
CN105354118A (en) Method, apparatus and system for automatically testing intelligent terminal
CN105260263B (en) A kind of the dynamic antidote and system of money-checking magnetic data
US11347676B2 (en) Methods for managing communications involving a lockstep processing system
CN104598381A (en) Positioning method for failure test instance in metamorphic testing
CN102681936A (en) Verification method and device for test result of financial system
CN103440197B (en) A kind of method automatically generating difference test report based on contrast test
CN106202110A (en) The method and apparatus of data quality checking
CN103902445B (en) A kind of regression test object determines method and device
CN107463371A (en) Code management and control method and system
CN106845244A (en) A kind of detection method and device
CN115660540B (en) Cargo tracking method, cargo tracking device, computer equipment and storage medium
CN104376578A (en) Moving object detection processing method and device applied to direct recording and broadcasting system
CN101227205B (en) Clock detection method for wireless communication system
CN111192358A (en) Pipeline crack detection method, device, equipment and storage medium based on three dimensions
CN103745003A (en) HTML fragment detection method
CN104052638B (en) Intermodule collision detection method, device and server
CN101881800B (en) Method for detecting electromagnetic interference based on electromagnetic positioning system
CN105337943A (en) IOT authentication method and IOT system
CN106709315B (en) Login information verification method and device of application system
CN110365763B (en) Data synchronization method, device, equipment and storage medium
CN104598384A (en) Code detection method and 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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190111

Termination date: 20210916