CN105260263A - Dynamic correction method and system for money detection magnetic data - Google Patents

Dynamic correction method and system for money detection magnetic data Download PDF

Info

Publication number
CN105260263A
CN105260263A CN201510591559.0A CN201510591559A CN105260263A CN 105260263 A CN105260263 A CN 105260263A CN 201510591559 A CN201510591559 A CN 201510591559A CN 105260263 A CN105260263 A CN 105260263A
Authority
CN
China
Prior art keywords
magnetic data
currency examine
data
examine magnetic
row
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.)
Granted
Application number
CN201510591559.0A
Other languages
Chinese (zh)
Other versions
CN105260263B (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

Abstract

The invention discloses a dynamic correction method and system for money detection magnetic data. The method comprises: receiving current money detection magnetic data; judging that first n-1 rows of data in the current money detection magnetic data is not correct, wherein n is greater than or equal to 1; and replacing the first n-1 rows of data in the current money detection magnetic data with first n-1 rows of data in reserved correct money detection magnetic data, obtaining the number of paper money from the correct data of the current money detection magnetic data, and replacing the number of paper money in the corresponding positions of the first n-1 rows of data with the number of paper money. According to the dynamic correction method and system, the received money detection magnetic data are dynamically corrected, so that wrong money detection magnetic data can be dynamically corrected, an existing project can be maintained, great modification is avoided, and the convenience is brought for subsequent algorithm and data detection.

Description

A kind of dynamic antidote of currency examine magnetic data and system
Technical field
The present invention relates to data processing field, particularly relate to a kind of dynamic antidote and system of currency examine magnetic data.
Background technology
In currency examine process, FPGA can send magnetic data to DSP end, and DSP end, when reception magnetic data, usually occurs that first and second row of magnetic data is made mistakes.The reason that magnetic data is made mistakes is owing to crashing when DSP self-inspection, shield self-inspection to occur, the problem that DSP crashes cannot be resolved always, and solve quite trouble, DSP, master control, FPGA is needed to solve together with hardware, but DSP end is by shielding self-inspection, and solve the problem that DSP crashes, cost occurs that first and second row of magnetic data is made mistakes exactly.
Make mistakes for magnetic data, DSP before end directly shields data, or all copied to by the magnetic data retained before in the magnetic data that receives.Prior art all copies the data that certain part retains, but does not do dynamic rectification, causes follow-up algorithm and Data Detection to go wrong, it is true that such as banknote enters paper money poor direction, cause algorithm to calculate to make mistakes, or when Data Detection, a certain frame follows former frame to not going up.
Summary of the invention
The invention provides a kind of dynamic antidote and system of currency examine magnetic data, by dynamically correcting the currency examine magnetic data of reception, the currency examine magnetic data of makeing mistakes dynamically is corrected, can safeguard existing engineering, in order to avoid significantly revise, facilitate follow-up algorithm and Data Detection.
For realizing above-mentioned design, the present invention by the following technical solutions:
On the one hand, provide a kind of dynamic antidote of currency examine magnetic data, the method comprises:
Receive current currency examine magnetic data;
Judge that the capable data of front n-1 of described current currency examine magnetic data are incorrect, n is more than or equal to 1;
The capable data of n-1 before the correct currency examine magnetic data retained are substituted the capable data of n-1 before described current currency examine magnetic data, obtain banknote number from the correct data of described current currency examine magnetic data, this banknote number is substituted the banknote number of the capable data relevant position of front n-1.
Preferably, described in judge that the capable data of front n-1 of described current currency examine magnetic data are incorrect, comprising:
A1, makes n=1;
A2, obtains the numerical value of the 1st row of n-th line;
A3, judges whether described numerical value is n, if so, then judges that the capable data of front n-1 are incorrect; If not, n=n+1, returns step a2.
Preferably,
Described n is 2 or 3;
The described correct data from described current currency examine magnetic data obtains banknote number, comprising: from the n-th line data acquisition banknote number of described current currency examine magnetic data.
Preferably,
Described current currency examine magnetic data and correct currency examine magnetic data are 1386 row, and often row 48 arranges, and often row the 1st is classified as line number, and often row the 43rd and 44 is classified as banknote number;
The described correct data from described current currency examine magnetic data obtains banknote number, this banknote number is substituted the banknote number of the capable data relevant position of front n-1, comprise: obtain banknote number from the 43rd or 44 row of the n-th line of current currency examine magnetic data, this banknote number is substituted the banknote number of the 43rd and 44 row of the capable data of front n-1.
Preferably, after the current currency examine magnetic data of described reception, also comprise, judge that the 1st row of current currency examine magnetic data is correct, then retain current currency examine magnetic data, and stop detecting current currency examine magnetic data.
Preferably, before the current currency examine magnetic data of described reception, also comprise, receive the currency examine magnetic data of first banknote, and retain this currency examine magnetic data as correct currency examine magnetic data.
On the other hand, provide a kind of dynamic correction system of currency examine magnetic data, this system comprises:
Receiver module, receives current currency examine magnetic data;
Judge module, judge that the capable data of front n-1 of described current currency examine magnetic data are incorrect, n is more than or equal to 1;
Alternative module, the capable data of n-1 before the correct currency examine magnetic data retained are substituted the capable data of n-1 before described current currency examine magnetic data, obtain banknote number from the correct data of described current currency examine magnetic data, this banknote number is substituted the banknote number of the capable data relevant position of front n-1.
Preferably,
Described n is 2 or 3;
The described correct data from described current currency examine magnetic data obtains banknote number, comprising: from the n-th line data acquisition banknote number of described current currency examine magnetic data.
Preferably, described judge module, also for, judge that the 1st row of current currency examine magnetic data is correct, then retain current currency examine magnetic data, and stop detecting current currency examine magnetic data.
Preferably, also comprise reservation module, receive the currency examine magnetic data of first banknote, and retain this currency examine magnetic data as correct currency examine magnetic data.
Compared with prior art, beneficial effect of the present invention is: receive current currency examine magnetic data; Judge that the capable data of front n-1 of described current currency examine magnetic data are incorrect, n is more than or equal to 1; The capable data of n-1 before the correct currency examine magnetic data retained are substituted the capable data of n-1 before described current currency examine magnetic data, banknote number is obtained from the correct data of described current currency examine magnetic data, this banknote number is substituted the banknote number of the capable data relevant position of front n-1, by dynamically correcting the currency examine magnetic data of reception, the currency examine magnetic data of makeing mistakes dynamically is corrected, can safeguard existing engineering, in order to avoid significantly revise, facilitate follow-up algorithm and Data Detection.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing the embodiment of the present invention is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the content of the embodiment of the present invention and these accompanying drawings.
Fig. 1 is the method flow diagram of the first embodiment of the dynamic antidote of a kind of currency examine magnetic data provided in the specific embodiment of the invention.
Fig. 2 is the method flow diagram of the second embodiment of the dynamic antidote of a kind of currency examine magnetic data provided in the specific embodiment of the invention.
Fig. 3 is the method flow diagram of the 3rd embodiment of the dynamic antidote of a kind of currency examine magnetic data provided in the specific embodiment of the invention.
Fig. 4 is the block diagram of the first embodiment of the dynamic correction system of a kind of currency examine magnetic data provided in the specific embodiment of the invention.
Fig. 5 is the block diagram of the second embodiment of the dynamic correction system of a kind of currency examine magnetic data provided in the specific embodiment of the invention.
Embodiment
The technical matters solved for making the present invention, the technical scheme of employing and the technique effect that reaches are clearly, be described in further detail below in conjunction with the technical scheme of accompanying drawing to the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, it is the method flow diagram of the first embodiment of the dynamic antidote of a kind of currency examine magnetic data provided in the specific embodiment of the invention.As shown in the figure, the dynamic antidote of this currency examine magnetic data, comprising:
Step S101: receive current currency examine magnetic data.
Described currency examine magnetic data is obtained by magnetic data sensor, the currency examine magnetic data of each acquisition has identical size, and agreement regulation, currency examine magnetic data has set form, currency examine magnetic data is made up of banknote number, line number and magnetic data, and often row the 1st is classified as line number.
Step S102: judge that the capable data of front n-1 of described current currency examine magnetic data are incorrect, n is more than or equal to 1.
Work as n=1, then judge that the front 0 row data of described current currency examine magnetic data are incorrect, namely current currency examine magnetic data is correct, does not need to continue to detect.
Preferably, described in judge that the capable data of front n-1 of described current currency examine magnetic data are incorrect, comprising:
A1, makes n=1;
A2, obtains the numerical value of the 1st row of n-th line;
A3, judges whether described numerical value is n, if so, then judges that the capable data of front n-1 are incorrect; If not, n=n+1, returns step a2.
Step S103: the capable data of n-1 before the correct currency examine magnetic data retained are substituted the capable data of n-1 before current currency examine magnetic data, the banknote number that the correct data from current currency examine magnetic data obtains is substituted the banknote number of the capable data relevant position of front n-1.
The capable data of n-1 before the correct currency examine magnetic data retained are substituted the capable data of n-1 before described current currency examine magnetic data, obtain banknote number from the correct data of described current currency examine magnetic data, this banknote number is substituted the banknote number of the capable data relevant position of front n-1.The described correct data from described current currency examine magnetic data obtains banknote number, comprising: from the n-th line data acquisition banknote number of described current currency examine magnetic data.
Preferably, n is 2 or 3, when n is 2, namely judge that the 1st row data of described current currency examine magnetic data are incorrect, then the 1st row data of the correct currency examine magnetic data retained are substituted the 1st row data of described current currency examine magnetic data, from the 2nd row data acquisition banknote number of described current currency examine magnetic data, also banknote number can be obtained from other row data of the correct data part of current currency examine magnetic data, such as, 10th row, 100 row, 1000 row etc., substitute the banknote number of the 1st row data relevant position by this banknote number; When n is 3, namely judge that the front 2 row data of described current currency examine magnetic data are incorrect, then 2 row data before the correct currency examine magnetic data retained are substituted 2 row data before described current currency examine magnetic data, from the 3rd row data acquisition banknote number of described current currency examine magnetic data, also banknote number can be obtained from other row data of the correct data part of current currency examine magnetic data, such as, 10th row, 100 row, 1000 row etc., substitute the banknote number of front 2 row data relevant positions by this banknote number.
The correct currency examine magnetic data retained, as following table:
1 .... .... .... .... .... .... 1 .... ....
2 .... .... .... .... .... .... 1 .... ....
3 .... .... .... .... .... .... 1 .... ....
4 .... .... .... .... .... .... 1 .... ....
The currency examine magnetic data of makeing mistakes, as following table:
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 .... ....
For n for 3, concrete correcting process is as follows:
(1) front 2 row of current currency examine magnetic data are made mistakes:
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 currency examine magnetic data retained are substituted 2 row data before described current currency examine magnetic data:
1 .... .... .... .... .... .... 1 .... ....
2 .... .... .... .... .... .... 1 .... ....
3 .... .... .... .... .... .... Current number .... ....
4 .... .... .... .... .... .... Current number .... ....
(3) the 3rd row data acquisition banknote number of described current currency examine magnetic data, substitutes the banknote number of front 2 row data relevant positions by this banknote number:
1 .... .... .... .... .... .... Current number .... ....
2 .... .... .... .... .... .... Current number .... ....
3 .... .... .... .... .... .... Current number .... ....
4 .... .... .... .... .... .... Current number .... ....
(4) the dynamic rectification of the currency examine magnetic data of makeing mistakes is completed.
The present embodiment, by dynamically correcting the currency examine magnetic data received, is dynamically corrected the currency examine magnetic data of makeing mistakes, can be safeguarded existing engineering, in order to avoid significantly revise, facilitate follow-up algorithm and Data Detection.
Please refer to Fig. 2, it is the method flow diagram of the second embodiment of the dynamic antidote of a kind of currency examine magnetic data provided in the specific embodiment of the invention.As shown in the figure, the dynamic antidote of this currency examine magnetic data, comprising:
Step S201: the currency examine magnetic data receiving first banknote, and retain this currency examine magnetic data as correct currency examine magnetic data.
Currency examine magnetic data is obtained by magnetic sensor, and in currency examine process, the currency examine magnetic data of first banknote is correct, can retain this currency examine magnetic data as correct currency examine magnetic data.The currency examine magnetic data of other banknotes can certainly be retained, as long as this currency examine magnetic data is correct.
Step S202: receive current currency examine magnetic data.
Step S203: judge that the 1st row of current currency examine magnetic data is correct, then retain current currency examine magnetic data, and stop detecting current currency examine magnetic data.
When the 1st row of currency examine magnetic data is correct, then show that this currency examine magnetic data is correct, need not continue to detect this currency examine magnetic data, and retain this currency examine magnetic data.
Step S204: judge that the capable data of front n-1 of described current currency examine magnetic data are incorrect, n is more than or equal to 1.
Work as n=1, then judge that the front 0 row data of described current currency examine magnetic data are incorrect, namely current currency examine magnetic data is correct, does not need to continue to detect.
Preferably, described in judge that the capable data of front n-1 of described current currency examine magnetic data are incorrect, comprising:
A1, makes n=1;
A2, obtains the numerical value of the 1st row of n-th line;
A3, judges whether described numerical value is n, if so, then judges that the capable data of n-1 are incorrect; If not, n=n+1, returns step a2.
Step S205: the capable data of n-1 before the correct currency examine magnetic data retained are substituted the capable data of n-1 before current currency examine magnetic data, the banknote number that the correct data from current currency examine magnetic data obtains is substituted the banknote number of the capable data relevant position of front n-1.Specifically see the step S103 in embodiment one, no longer describe here.
The present embodiment is by dynamically correcting the currency examine magnetic data received, the currency examine magnetic data of makeing mistakes dynamically is corrected, can safeguard existing engineering, in order to avoid significantly revise, facilitate follow-up algorithm and Data Detection, and when the 1st row data of currency examine magnetic data are correct, when namely this currency examine magnetic data is correct, stop continuing to detect, decrease workload, improve work efficiency.
Please refer to Fig. 3, it is the method flow diagram of the 3rd embodiment of the dynamic antidote of a kind of currency examine magnetic data provided in the specific embodiment of the invention.As shown in the figure, the dynamic antidote of this currency examine magnetic data, comprising:
Step S301: the currency examine magnetic data receiving first banknote, and retain this currency examine magnetic data as correct currency examine magnetic data.
Described currency examine magnetic data is obtained by magnetic data sensor, the currency examine magnetic data of each acquisition has identical size, and agreement specifies, currency examine magnetic data has set form, currency examine magnetic data is made up of banknote number, line number and magnetic data, and current currency examine magnetic data and correct currency examine magnetic data are 1386 row, and often row 48 arranges, often row the 1st is classified as line number, and often row the 43rd and 44 is classified as banknote number.
Step S302: receive current currency examine magnetic data.
Step S303: make n=1.
N represents the line number of currency examine magnetic data.
Step S304: the numerical value obtaining the 1st row of n-th line.
As n=1, then obtain the numerical value of the 1st row of the 1st row; As n=2, then obtain the numerical value that the 2nd row the 1st arranges; As n=3, then obtain the numerical value of the 1st row of the 3rd row; The like.
Step S305: judge that described numerical value is n?
Judge whether described numerical value is n, if so, then perform step S307; If not, then perform step S306, after being finished, return step S304.
Step S306:n=n+1.
Step S307: judge that the capable data of front n-1 are incorrect, performs step S308.
Step S308: judge n>1?
Judge whether n is greater than 1, if so, then perform step S310; If not, then step S309 is performed.
Step S309: retain current currency examine magnetic data, and stop detecting current currency examine magnetic data.
N is not more than 1, then show n=1, and the numerical value that the 1st row the 1st of the currency examine magnetic data of acquisition arranges equals 1, illustrates that current currency examine magnetic data is correct, does not need to continue to detect.
Step S310: by retain correct currency examine magnetic data before the capable data of n-1 substitute current currency examine magnetic data before n-1 capable, the 43rd or 44 of the n-th line from current currency examine magnetic data row obtain banknote number substitute the capable data of front n-1 the 43rd and 44 row banknote numbers.
N is greater than 1, then show that current currency examine magnetic data is made mistakes.Preferably, n is 2 or 3, when n is 2,1 row data before the correct currency examine magnetic data retained are substituted 1 row before current currency examine magnetic data, the banknote number that the 43rd or 44 of the 2nd row from current currency examine magnetic data row obtain is substituted the banknote numbers of the 43rd and 44 row of front 1 row data; When n is 3,2 row data before the correct currency examine magnetic data retained are substituted 2 row before current currency examine magnetic data, the banknote number that the 43rd or 44 of the 3rd row from current currency examine magnetic data row obtain is substituted the banknote numbers of the 43rd and 44 row of front 2 row data.
The present embodiment, by dynamically correcting the currency examine magnetic data received, is dynamically corrected the currency examine magnetic data of makeing mistakes, can be safeguarded existing engineering, in order to avoid significantly revise, facilitate follow-up algorithm and Data Detection.No longer will there is the problem that currency examine magnetic data is made mistakes in amended engineering.Detect counterfeit money machine can be made stably to carry out work with the equipment with cash examining function by carrying out the currency examine magnetic data of makeing mistakes dynamically correcting, this greatly reduces otherwise work, such as, will remodify engineering, causes DSP to crash.
Please refer to Fig. 4, it is the block diagram of the first embodiment of the dynamic correction system of a kind of currency examine magnetic data provided in the specific embodiment of the invention.The dynamic correction system of this currency examine magnetic data, comprising:
Receiver module 410, receives current currency examine magnetic data.
Described currency examine magnetic data is obtained by magnetic data sensor, the currency examine magnetic data of each acquisition has identical size, and agreement regulation, currency examine magnetic data has set form, currency examine magnetic data is made up of banknote number, line number and magnetic data, and often row the 1st is classified as line number.
Judge module 420, judge that the capable data of front n-1 of described current currency examine magnetic data are incorrect, n is more than or equal to 1.
Preferably, described in judge that the capable data of front n-1 of described current currency examine magnetic data are incorrect, comprising:
A1, makes n=1;
A2, obtains the numerical value of the 1st row of n-th line;
A3, judges whether described numerical value is n, if so, then judges that the capable data of front n-1 are incorrect; If not, n=n+1, returns step a2.
Preferably, described judge module, also for, judge that the 1st row of current currency examine magnetic data is correct, then retain current currency examine magnetic data, and stop detecting current currency examine magnetic data.
When the 1st row of currency examine magnetic data is correct, then show that this currency examine magnetic data is correct, need not continue to detect this currency examine magnetic data, and retain this currency examine magnetic data.
Alternative module 430, the capable data of n-1 before the correct currency examine magnetic data retained are substituted the capable data of n-1 before described current currency examine magnetic data, obtain banknote number from the correct data of described current currency examine magnetic data, this banknote number is substituted the banknote number of the capable data relevant position of front n-1.
The capable data of n-1 before the correct currency examine magnetic data retained are substituted the capable data of n-1 before described current currency examine magnetic data, obtain banknote number from the correct data of described current currency examine magnetic data, this banknote number is substituted the banknote number of the capable data relevant position of front n-1.The described correct data from described current currency examine magnetic data obtains banknote number, comprising: from the n-th line data acquisition banknote number of described current currency examine magnetic data.
Preferably, n is 2 or 3, when n is 2, namely judge that the 1st row data of described current currency examine magnetic data are incorrect, then the 1st row data of the correct currency examine magnetic data retained are substituted the 1st row data of described current currency examine magnetic data, from the 2nd row data acquisition banknote number of described current currency examine magnetic data, also banknote number can be obtained from other row data of the correct data part of current currency examine magnetic data, such as, 10th row, 100 row, 1000 row etc., substitute the banknote number of the 1st row data relevant position by this banknote number; When n is 3, namely judge that the front 2 row data of described current currency examine magnetic data are incorrect, then 2 row data before the correct currency examine magnetic data retained are substituted 2 row data before described current currency examine magnetic data, from the 3rd row data acquisition banknote number of described current currency examine magnetic data, also banknote number can be obtained from other row data of the correct data part of current currency examine magnetic data, such as, 10th row, 100 row, 1000 row etc., substitute the banknote number of front 2 row data relevant positions by this banknote number.
The dynamic correction system of the currency examine magnetic data that the present embodiment provides is by dynamically correcting the currency examine magnetic data received, the currency examine magnetic data of makeing mistakes dynamically is corrected, can safeguard existing engineering, in order to avoid significantly revise, facilitate follow-up algorithm and Data Detection.This system can be applied to detect counterfeit money machine or have in the equipment of cash examining function.
Please refer to Fig. 5, it is the block diagram of the second embodiment of the dynamic correction system of a kind of currency examine magnetic data provided in the specific embodiment of the invention.The dynamic correction system of this currency examine magnetic data, comprising:
Retain module 510, receive the currency examine magnetic data of first banknote, and retain this currency examine magnetic data as correct currency examine magnetic data.
Described currency examine magnetic data is obtained by magnetic data sensor, the currency examine magnetic data of each acquisition has identical size, and agreement specifies, currency examine magnetic data has set form, currency examine magnetic data is made up of banknote number, line number and magnetic data, and current currency examine magnetic data and correct currency examine magnetic data are 1386 row, and often row 48 arranges, often row the 1st is classified as line number, and often row the 43rd and 44 is classified as banknote number.
Receiver module 520, receives current currency examine magnetic data.
Judge module 530, judge that the capable data of front n-1 of described current currency examine magnetic data are incorrect, n is more than or equal to 1.
Preferably, described in judge that the capable data of front n-1 of described current currency examine magnetic data are incorrect, comprising:
A1, makes n=1;
A2, obtains the numerical value of the 1st row of n-th line;
A3, judges whether described numerical value is n, if so, then judges that the capable data of front n-1 are incorrect; If not, n=n+1, returns step a2.
Preferably, described judge module, also for, judge that the 1st row of current currency examine magnetic data is correct, then retain current currency examine magnetic data, and stop detecting current currency examine magnetic data.
When the 1st row of currency examine magnetic data is correct, then show that this currency examine magnetic data is correct, need not continue to detect this currency examine magnetic data, and retain this currency examine magnetic data.
Alternative module 540, the capable data of n-1 before the correct currency examine magnetic data retained are substituted the capable data of n-1 before described current currency examine magnetic data, obtain banknote number from the correct data of described current currency examine magnetic data, this banknote number is substituted the banknote number of the capable data relevant position of front n-1.
Preferably, n is 2 or 3, when n is 2,1 row data before the correct currency examine magnetic data retained are substituted 1 row before current currency examine magnetic data, the banknote number that the 43rd or 44 of the 2nd row from current currency examine magnetic data row obtain is substituted the banknote numbers of the 43rd and 44 row of front 1 row data; When n is 3,2 row data before the correct currency examine magnetic data retained are substituted 2 row before current currency examine magnetic data, the banknote number that the 43rd or 44 of the 3rd row from current currency examine magnetic data row obtain is substituted the banknote numbers of the 43rd and 44 row of front 2 row data.This system can be applied to detect counterfeit money machine or have in the equipment of cash examining function.
Below know-why of the present invention is described in conjunction with specific embodiments.These describe just in order to explain principle of the present invention, and can not be interpreted as limiting the scope of the invention by any way.Based on explanation herein, those skilled in the art does not need to pay performing creative labour can associate other embodiment of the present invention, and these modes all will fall within protection scope of the present invention.

Claims (10)

1. a dynamic antidote for currency examine magnetic data, it is characterized in that, the method comprises:
Receive current currency examine magnetic data;
Judge that the capable data of front n-1 of described current currency examine magnetic data are incorrect, n is more than or equal to 1;
The capable data of n-1 before the correct currency examine magnetic data retained are substituted the capable data of n-1 before described current currency examine magnetic data, obtain banknote number from the correct data of described current currency examine magnetic data, this banknote number is substituted the banknote number of the capable data relevant position of front n-1.
2. the dynamic antidote of a kind of currency examine magnetic data according to claim 1, is characterized in that, described in judge that the capable data of front n-1 of described current currency examine magnetic data are incorrect, comprising:
A1, makes n=1;
A2, obtains the numerical value of the 1st row of n-th line;
A3, judges whether described numerical value is n, goes out the capable data of n-1 incorrect before if so, then judging; If not, n=n+1, returns step a2.
3. the dynamic antidote of a kind of currency examine magnetic data according to claim 1, is characterized in that,
Described n is 2 or 3;
The described correct data from described current currency examine magnetic data obtains banknote number, comprising: from the n-th line data acquisition banknote number of described current currency examine magnetic data.
4. the dynamic antidote of a kind of currency examine magnetic data according to claim 1, is characterized in that,
Described current currency examine magnetic data and correct currency examine magnetic data are 1386 row, and often row 48 arranges, and often row the 1st is classified as line number, and often row the 43rd and 44 is classified as banknote number;
The described correct data from described current currency examine magnetic data obtains banknote number, this banknote number is substituted the banknote number of the capable data relevant position of front n-1, comprise: obtain banknote number from the 43rd or 44 row of the n-th line of current currency examine magnetic data, this banknote number is substituted the banknote number of the 43rd and 44 row of the capable data of front n-1.
5. the dynamic antidote of a kind of currency examine magnetic data according to claim 1, it is characterized in that, after the current currency examine magnetic data of described reception, also comprise, judge that the 1st row of current currency examine magnetic data is correct, then retain current currency examine magnetic data, and stop detecting current currency examine magnetic data.
6. the dynamic antidote of a kind of currency examine magnetic data according to claim 1, it is characterized in that, before the current currency examine magnetic data of described reception, also comprise, receive the currency examine magnetic data of first banknote, and retain this currency examine magnetic data as correct currency examine magnetic data.
7. a dynamic correction system for currency examine magnetic data, is characterized in that, this system comprises:
Receiver module, receives current currency examine magnetic data;
Judge module, judge that the capable data of front n-1 of described current currency examine magnetic data are incorrect, n is more than or equal to 1;
Alternative module, the capable data of n-1 before the correct currency examine magnetic data retained are substituted the capable data of n-1 before described current currency examine magnetic data, obtain banknote number from the correct data of described current currency examine magnetic data, this banknote number is substituted the banknote number of the capable data relevant position of front n-1.
8. the dynamic correction system of a kind of currency examine magnetic data according to claim 7, is characterized in that,
Described n is 2 or 3;
The described correct data from described current currency examine magnetic data obtains banknote number, comprising: from the n-th line data acquisition banknote number of described current currency examine magnetic data.
9. the dynamic correction system of a kind of currency examine magnetic data according to claim 7, is characterized in that, described judge module, also for, judge that the 1st row of current currency examine magnetic data is correct, then retain current currency examine magnetic data, and stop detecting current currency examine magnetic data.
10. the dynamic correction system of a kind of currency examine magnetic data according to claim 7, is characterized in that, also comprise reservation module, receives the currency examine magnetic data of first banknote, and retains this currency examine magnetic data as correct currency examine 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 true CN105260263A (en) 2016-01-20
CN105260263B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115131908A (en) * 2021-03-25 2022-09-30 深圳怡化电脑股份有限公司 Method and apparatus for magnetic device detection

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080134345A1 (en) * 2004-05-04 2008-06-05 Koninklijke Philips Electronics, N.V. Access Authorization Across Processing Devices
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080134345A1 (en) * 2004-05-04 2008-06-05 Koninklijke Philips Electronics, N.V. Access Authorization Across Processing Devices
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

Cited By (2)

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

Also Published As

Publication number Publication date
CN105260263B (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN106598760A (en) Message queue consumption method and apparatus
CN107872528B (en) Message pushing method and device
WO2020092446A3 (en) Methods and systems for improving machines and systems that automate execution of distributed ledger and other transactions in spot and forward markets for energy, compute, storage and other resources
CN103209153B (en) Message treatment method, Apparatus and system
WO2011127866A3 (en) Data processing method, device and system
CN104794089A (en) Improved UART communication method, device and system suitable for single chip microcomputers
CN105354118A (en) Method, apparatus and system for automatically testing intelligent terminal
NZ629297A (en) Foreign exchange transaction apparatus, foreign exchange transaction system, transmission/reception method and program
CN104700022A (en) Dynamic identifying code generation method and dynamic identifying code generation device
CN105260263A (en) Dynamic correction method and system for money detection magnetic data
CN104484167A (en) Task processing method and device
CN104881888A (en) Picture clipping method and device
CN109995548B (en) Device management method and system, data transmission method and system and terminal device
CN103577318A (en) Code detection method and device
CN103399827B (en) The system and method for memory storage, execution accessing operation
CN104049797A (en) Method for determining range to be scanned and light paths to be scanned in touch area recognition
CN104657267A (en) Elastic source code syntax tree resolving system and method
CN111158995B (en) Method and system for realizing cross-system log tracking query based on skywalk and ELK platform
CN102681936A (en) Verification method and device for test result of financial system
CN105407500B (en) The display methods and device of a kind of intelligent terminal and its satellite signal quality
CN104202249A (en) Method and device of message forwarding
CN105045652A (en) Method for processing multi-parallel-thread program by multi-terminals and processing system
CN101702642B (en) The detection method of SDH frame head
CN101227205A (en) Clock detection method for wireless communication system
CN104933853A (en) Ammeter data acquisition unit with infrared upgrading function and upgrading method thereof

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