CZ117795A3 - Value card with binary value units and procedure of shifting the value represented by the binary value units disposed on the value card - Google Patents

Value card with binary value units and procedure of shifting the value represented by the binary value units disposed on the value card Download PDF

Info

Publication number
CZ117795A3
CZ117795A3 CZ951177A CZ117795A CZ117795A3 CZ 117795 A3 CZ117795 A3 CZ 117795A3 CZ 951177 A CZ951177 A CZ 951177A CZ 117795 A CZ117795 A CZ 117795A CZ 117795 A3 CZ117795 A3 CZ 117795A3
Authority
CZ
Czechia
Prior art keywords
value
register
value register
binary
marker
Prior art date
Application number
CZ951177A
Other languages
Czech (cs)
Other versions
CZ286328B6 (en
Inventor
Youssef Cammoun
Etienne Cambois
Original Assignee
Landis & Gyr Tech Innovat
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 Landis & Gyr Tech Innovat filed Critical Landis & Gyr Tech Innovat
Publication of CZ117795A3 publication Critical patent/CZ117795A3/en
Publication of CZ286328B6 publication Critical patent/CZ286328B6/en

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F7/00Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
    • G07F7/08Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
    • G07F7/0866Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means by active credit-cards adapted therefor

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Credit Cards Or The Like (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Recording Measured Values (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
  • Image Processing (AREA)
  • Dc Digital Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Magnetic Ceramics (AREA)

Abstract

A storage module (1) and an access module (2) are interconnected by data and control signal lines (3). The register block (6) of the storage module comprises N value registers (W1-WN) each contg. n binary storage cells (E1-En). These are nonvolatile and any failure or removal of the power supply results in no loss of data from either the register block cells or those (M2-MN) of the mark register (7). Data can be shifted to the next higher register (e.g. W2) where the state of a particular cell and the associated bit of the mark register are inverted in uninterruptable execution steps. <IMAGE>

Description

Hodnotová karta s binárními hodnotovými jednotkami a postup pro přesunutí veličiny, představované binárními hodnotovými jednotkami, na hodnotové kartě-, ’ f 5Value card with binary value units and the procedure for moving a value represented by binary value units to a value card - 'f 5

Oblast technikvTechnical field

o S tn tT σS S tn tT σ

__ o <£ a ω__ o <£ and ω

i, oi, o

Vynález se tyká hodnotové karty s binárními hodnotovými jednotkami a postupu pro přesunutí veličiny, představované binárními hodnotovými jednotkami, na hodnotové kartě.The invention relates to a value card with binary value units and to a method for moving a value represented by binary value units on a value card.

Dosavadní stav technikvBACKGROUND OF THE INVENTION

Takové hodnotové karty se s výhodou používají v automatech pro nej různější služby - například v telefonních automatech, přičemž hodnotové karty odpovídají například normě ISO 7816.Such value cards are preferably used in vending machines for a wide variety of services - for example, in payphones, where the value cards comply, for example, with ISO 7816.

Hodnotová karta tohoto druhuje známá z EP 0 519 847 Al a má binární hodnotové jednotky uloženy v počtu p do uspořádaných registrů. Jeden registr má určitý počet n stejných hodnotových jednotek, jejichž kvalita je závislá na třídě registru. Celková hodnota jednoho registru je stejně velká, jako jednotlivá hodnotová jednotka nějakého registru, který je tomuto registru bezprostředně nadřazený. Při přenosu celkové hodnoty nějakého registru na hodnotovou jednotku registru bezprostředně nadřazeného tomuto registruje při známých technikách ukládání do paměti nutné provést více postupných kroků, které se musí dokonale provést, aby stálost hodnoty hodnotové karty zůstala zachována. Aby mohl být nedokonalý přenos rozeznán, má známá hodnotová karta navíc p -1 značkovacích registrů, každý s kapacitou n bitů, přičemž každému bitu nadřazeného registru je přiřazen jeden bit značkovacího registru. Přenos celkové hodnoty nějakého registru na hodnotovou jednotku nějakého registru, který je tomuto registru nadřazený, se označí v bitu přiřazeném hodnotové jednotce nadřazeného registru pro trvání sekvence přenosu. Má-li hodnotová karta k zobrazení své hodnoty p*n bitů, tak jsou nutné přídavné (p-l)*n bity ke značkování.A value card of this kind is known from EP 0 519 847 A1 and has binary value units stored in a number p in arranged registers. One register has a certain number of n equal value units whose quality depends on the class of the register. The total value of one register is as large as the individual value unit of a register that is immediately superior to that register. When transferring the total value of a register to the value unit of the register immediately superior to that register, it is necessary to perform several successive steps in the known storage techniques, which must be performed perfectly in order to maintain the value card value stability. In order to be able to recognize imperfect transmission, the known value card additionally has p -1 marker registers, each with a capacity of n bits, each bit of the parent register being assigned one bit of the marker register. The transmission of the total value of a register to the value unit of a register that is superior to that register is marked in the bit assigned to the value unit of the parent register for the duration of the transmission sequence. If the value card has p * n bits to display its value, additional (p-1) * n bits are required to mark.

Cílem vynálezu je navrhnout hodnotovou kartu, jejíž hodnota je spolehlivě proměnitelná, a zároveň stanovit takový postup, aby se z místa, které je k dispozici na hodnotové kartě, spotřebovalo jen málo paměťového místa pro prostředek k dosažení požadované spolehlivosti při změně hodnoty.It is an object of the present invention to provide a value card whose value is reliably changeable, and at the same time to provide a procedure so that little space is consumed from the space available on the value card to achieve the desired reliability in value change.

Podstata vynálezuSUMMARY OF THE INVENTION

Uvedeného cíle je dosaženo hodnotovou kartou s binárními hodnotovými jednotkami, která má první počet uspořádaných hodnotových registrů, přičemž hodnotový registr má druhý počet paměťových buněk, z nichž každá je pro jednu binární neztratitelnou hodnotovou jednotku a n paměťových buněk hodnotového registru je možné , nastavit společně minimálně na jednu první hodnotu, podle vynálezu, jehož podstata spočívá v tom, že hodnotová karta má dále značkovací registr, že značkovací registr má třetí počet paměťových buněk pro binární neztratitelné hodnoty, že třetí počet je o jednu menší, než první počet, že hodnotovému registru, který je nadřazený dalšímu hodnotovému registru, je přiřazena paměťová buňka značkovacího registru, že paměťovou buňku značkovacího registru, přiřazenou hodnotovému registru společně s paměťovou buňkou hodnotového registru je možné nastavit na druhou hodnotu a že paměťovou buňku značkovacího registru, přiřazenou hodnotovému registru, společně s paměťovými buňkami hodnotového registruje možné nastavit na první hodnotu.Said object is achieved by a value card with binary value units having a first number of ordered value registers, the value register having a second number of memory cells, each of which can be set together for at least one binary lost value unit and the value register memory cells. one first value according to the invention, characterized in that the value card further has a marker register, that the marker register has a third number of memory cells for binary lost values, that the third number is one less than the first number that the value register, which is superior to the other value register, the marker register memory cell is assigned that the marker register memory cell associated with the value register together with the value register memory cell can be set to a second value, and e memory cell marking registry of values assigned to the register memory cells together with the register value can be set to the first value.

Postup pro přesunutí veličiny, představované binárními hodnotovými jednotkami, na hodnotové kartě z prvního hodnotového registru do druhého hodnotového registru, který je bezprostředně nadřazený prvnímu hodnotovému registru, přičemž hodnotový registr má počet n paměťových buněk, z nichž každá je pro jednu binární neztratitelnou hodnotovou jednotku, přičemž maximálně uložitelná veličina v prvním hodnotovém registru je stejně velká, jako jednotlivá hodnotová jednotka druhého hodnotového registru, veličina, kterou je třeba přesunout, je stejná, jako maximálně uložitelná veličina v prvním hodnotovém registru, veličina, kterou je třeba přesunout, je uložená v prvním hodnotovém registru, ve druhém hodnotovém registru je možné uložit ještě alespoň jednu hodnotovou jednotku a veličinu, kterou je třeba přesunout, je možné přesunout z prvního hodnotového registru do druhého hodnotového registru, podle vynálezu, jehož podstata spočívá v tom, že se druhému- hodnotovému registru přiřadí přesně jeden bit značkovacího registru, že se invertuje binární stav určité paměťové buňky druhého hodnotového registru a bitu značkovacího registru, který je přiřazen druhému hodnotovému registru, v jednom nepřerušitelném .prováděcím-Aroku-a-že-se-invertuj-í—binární—stavy—paměťovýeh-buněk prvního hodnotového registru a bitu značkovacího registru, přiřazeného druhému hodnotovému registru, v dalším nepřerušitelném prováděcím kroku.A method for moving a value represented by binary value units on a value card from a first value register to a second value register that is immediately superior to the first value register, the value register having a number of n memory cells, each of which is for one binary lost value unit, wherein the maximum storable quantity in the first value register is as large as the individual value unit of the second value register, the quantity to be moved is the same as the maximum storable quantity in the first value register, the quantity to be moved is stored in the first value register, at least one value unit can be stored in the second value register and the quantity to be moved can be moved from the first value register to the second value register according to the invention characterized in that exactly one bit of the marker register is assigned to the second value register, that the binary state of a particular memory cell of the second value register is inverted and the marker register bit assigned to the second value register in one uninterruptible execution register; The binary states of the memory cells of the first value register and the marker register bit associated with the second value register are inverted in a further uninterruptible execution step.

Přehled obrázků na výkreseOverview of the drawings

Příklady provedení vynálezu budou dále vysvětleny na podkladě výkresů, na nichž jednotlivé obrázky znázorňují:Examples of embodiments of the invention will be explained below with reference to the drawings, in which the figures show:

Obr. 1: blokové schéma zapojení části hodnotové karty,Giant. 1: block diagram of part of the value card,

Obr.2: registrační blok a značkovací registr paměťového modulu hodnotové karty,Fig. 2: registration block and tag register of the value card memory module,

Obr.3: registrační blok a značkovací registr před a po korekčním cyklu,Fig. 3: Registration block and marker register before and after the correction cycle

Obr.4: varianta použití registračního bloku aFig. 4: variant of using the registration block a

Obr.5: varianta použití před a po korekčním cyklu.Fig.5: variant of application before and after the correction cycle.

Příkladv provedení vynálezuDETAILED DESCRIPTION OF THE INVENTION

Hodnotová karta (obr. 1) má paměťový modul i a přístupový modul 2, který je spojený signálním vedením 3 s paměťovým modulem L Signální vedení 3 zahrnují datová a řídicí vedení, kterými je možné z přístupového modulu 2 přečíst a/nebo změnit informaci uloženou v paměťovém modulu L Přístupový modul má výhodně jeden vstup 4 a jeden výstup 5, přičemž vstup 4 společně s výstupem 5 jsou proveditelné také jako obousměrný datový kanál. Přístupovým modul 2 je s výhodou opatřen mikroprocesorem.The value card (Fig. 1) has a memory module 1 and an access module 2, which is connected by the signal line 3 to the memory module L The signal lines 3 comprise data and control lines through which the information stored in the memory module can be read and / or changed. The access module preferably has one input 4 and one output 5, wherein the input 4 together with the output 5 can also be implemented as a bi-directional data channel. The access module 2 is preferably provided with a microprocessor.

Paměťový modul i zahrnuje registrační blok 6 a značkovací registr 7. Registrační blok 6 má první počet N hodnotových registrů Wj až Wpp z nichž každý obsahuje druhý počet n paměťových buněk Ej až En, každá pro jednu binární neztratitelnou hodnotovou jednotku. Ve znázorněném příkladu je první počet N rovný třem a druhý počet n rovný osmi. První počet N a druhý počet n jsou zásadně přirozená čísla, která jsou přizpůsobitelná účelu hodnotové karty. Obecně je druhý počet n pro hodnotový registr Wj popř. Wg popř. Wpj volně volitelný, přičemž ve znázorněném příkladě je druhý počet n pro každý hodnotový registr Wj až Wpj registračního bloku 6 stejně velký.The memory module 1 comprises a registration block 6 and a markup register 7. The registration block 6 has a first number of N value registers Wj to Wpp each containing a second number n of memory cells Ej to E n , each for one binary lost value unit. In the example shown, the first number N is equal to three and the second number n is equal to eight. The first number N and the second number n are essentially natural numbers which are adaptable to the purpose of the value card. In general, the second number n for the value register Wj and / or the value register W1, respectively. Wg resp. Wpj is freely selectable, wherein in the example shown, the second number n for each value register Wj to Wpj of registration block 6 is equally large.

Veličina uložitelná v jedné paměťové buňce i-tého hodnotového registru Wj je závislá na platné hodnotové jednotce paměťové buňky Ej^ a na binární hodnotě popř. logickém stavu paměťové buňky Ε}ς. S výhodou je hodnotová jednotka paměťové buňky E^ hodnotového registru Wj závislá na stupni hodnotového registru Wj v platném řazení registračního bloku 6. Ve výhodně dimenzovaném registračním bloku 6 jsou hodnotové registry Wj až Wfq řazeny takovým způsobem, že pro index i od 2 do N je hodnotový registr W; nadřazený hodnotovému registru Wj_i, nebo jinak vyjádřeno, že pro index i od 2 do N je hodnotový registr W{.i podřízený hodnotovému registru Wj.The quantity stored in one memory cell of the i-th value register Wj is dependent on the valid value unit of the memory cell Ej and the binary value or value. the logical state of the memory cell. Preferably, the value unit of the memory cell E1 of the value register Wj is dependent on the degree of the value register Wj in the valid order of the registration block 6. In the preferably dimensioned registration block 6, the value registers Wj to Wfq are ordered in such a way value register W; or else expressed that for index i from 2 to N, the value register W1i is subordinate to the value register Wj.

Veličina zde zahrnuje binární hodnotu a hodnotovou jednotku, přičemž hodnotová jednotka má číselnou hodnotu, vyjadřující jednotku míry nebo má význam přiřazený této číselné hodnotě. Jako příklady pro hodnotové jednotky, lze uvést 8 kWh, 16 taximpulsů, 10 franků a 64 m.The quantity herein includes a binary value and a value unit, wherein the value unit has a numerical value expressing the unit of measure or has a meaning assigned to that numerical value. Examples of value units include 8 kWh, 16 tax pulses, 10 francs and 64 m.

S výhodou je maximálně uložitelná veličina v jednom hodotovém registru Wj-i stejně velká, jako hodnotová jednotka jednotlivé paměťové buňky E^ hodnotového registru Wj bezprostředně nadřazenému hodnotovému registru Wj_i·Preferably, the maximum storable variable in one value register Wj-i is as large as the value unit of a single memory cell Ej of the value register Wj of the immediately superior value register Wj-i.

Ciní-li hodnotová jednotka paměťové buňky E^ hodnotového registru Wj v jednom příkladě osm sazbových impulsů a platí-li n=8, potom je, když paměťová buňka má logický stav 1, veličina uložená v paměťové buňce E^ interpretovatelná jako 8 sazbových impulsů a, když má paměťová buňka logický stav 0, veličina uložená v paměťové buňce Ek je interpretovatelná jako nula sazbových impulsů. Dále je například maximálně uložitelná veličina v hodnotovém registru Wj.j výhodně stanovena na 8 sazbových impulsů, zatímco maximálně uložitelná veličina v hodnotovém registru Wj činí s výhodou 64 sazbových impulsů.If, in one example, the value unit of the memory cell E W of the value register Wj is eight rate pulses, and if n = 8, then when the memory cell has a logical state of 1, the quantity stored in the memory cell E ^ is interpreted as 8 rate pulses. when the memory cell has a logical state of 0, the quantity stored in the memory cell Ek is interpretable as zero rate pulses. Further, for example, the maximum storage quantity in the value register Wj is preferably set at 8 rate pulses, while the maximum storage quantity in the value register Wj is preferably 64 rate pulses.

Paměťová technologie paměťového modulu i je zvolena tak, aby se neztratil aktuální stav nebo binární hodnota paměťové buňky Ej popř. E2 popř. En registračního bloku 6 při výpadku nebo odpojení napájení paměťového modulu I a také aby se neztratil aktuální stav nebo binární hodnota paměťových buněk M2 popř. M]\f značkovacího registru při výpadku nebo odpojení napájení paměťového modulu I. Paměťový modul i je například—EERR-OM— (eleetr-ieal-l-y— erasahle—programmable read—only—memory)-nebo' EAPROM (electrically alterable programmable read only memory).The memory technology of the memory module i is selected so as not to lose the current state or the binary value of the memory cell Ej, respectively. E2 resp. E n of the registration block 6 in the event of a power failure or disconnection of the memory module I as well as to not lose the current state or the binary value of the memory cells M2 or the memory cells. M] \ f markup registry failure or disconnection of the power supply I. Memory Module The memory module as well-EERR-OM (eleetr-ieal capable of associating erasahle-programmable-read-only-memory) - or 'EAPROM (Electrically Programmable Read alterable only memory).

Během postupu načítání hodnotových jednotek na hodnotové kartě je třeba nucené přenést maximálně uložitelnou veličinu v paměťovém registru do jednoho bitu hodnotového registru Wf+j, který je bezprostředně nadřazen hodnotovému registru Wj, když je nutno maximálně uložitelnou veličinu v hodnotovém registru Wj překročit.During the process of reading the value units on the value card, it is necessary to transfer the maximum storable quantity in the memory register to one bit of the value register Wf + j, which is immediately superior to the value register Wj when the maximum storable quantity in the value register Wj has to be exceeded.

Na obr. 2a je ve druhém hodnotovém registru Wg uložena veličina G, která je znázorněna n paměťovými buňkami Ej až^En, nastavenými na logickou 1,In Fig. 2a, in the second value register Wg is stored the quantity G, which is represented by n memory cells Ej to ^ E n , set to logic 1,

V dalším bude popsán postup, kterým se veličina G přesune výhodným způsobem ve dvou činnostech, které je třeba provést po sobě, do hodnotového registru Wjg, bezprostředně nadřazenému druhému hodnotovému registru Wg, přičemž se vychází z toho, že před přesunem mají minimálně jedna z paměťových buněk Ej až En nadřazeného hodnotového registru Wjg a dále také paměťová buňka značkovacího registru, přiřazená nadřazenému hodnotovému registru logickou hodnotu 0.Hereinafter, the procedure by which the variable G is moved in a favorable manner in two actions to be performed in succession to the value register Wjg, immediately superior to the second value register Wg, will be described, assuming that they have at least one of cells Ej to E n of the parent value register Wjg, and also a marker register memory cell assigned to the parent value register a logical value of 0.

Při první činnosti se převrátí binární stav paměťové buňky E4 nadřazeného hodnotového registru Wyj, která vykazuje logickou hodnotu 0, a přemění se bit Mjg značkovacího registru 7, přiřazený nadřazenému hodnotovému registru v jednom nepřerušitelném prováděcím kroku, popřípadě se v nich nasadí logická 1. Obr. 2b ukazuje registrační blok 6 a značkovací registr 7 po ukončení první činnosti, přičemž paměťové buňky, změněné při první činnosti, jsou znázorněny šrafovaně.In the first operation, the binary state of the memory cell E4 of the parent value register Wyj, which has a logical value of 0, is inverted and the bit Mjg of the marker register 7 assigned to the parent value register is transformed in one uninterruptible execution step. 2b shows the registration block 6 and the marker register 7 after the first operation, wherein the memory cells changed during the first operation are shaded.

Při druhé činnosti se přemění binární stavy paměťových buněk E{ až En hodnotového registru Wg, které vykazují veličinu G, a změní se bit značkovacího registru 7, který je přiřazen hodnotovému registru W^, nadřazenému hodnotovému registru Wp, v dalším nepřerušitelném prováděcím kroku, popřípadě se nasadí logické 0.. Obr. 2c ukazuje registrační blok 6 a značkovací registr 7 po ukončení druhé činnosti, přičemž paměťové buňky, změněné při druhé činnosti, jsou znázorněny šrafovaně.In the second operation, the binary states of the memory cells E {to E n of the value register Wg, which exhibit the quantity G, are transformed and the bit of the marker register 7 assigned to the value register W 6, the parent value register Wp, is changed in another uninterruptible execution step. optionally logic 0 is used. 2c shows the registration block 6 and the marker register 7 after the second operation, wherein the memory cells changed during the second operation are shown shaded.

Popsaný postup je použitelný k přesunu další veličiny G z prvního hodnotového registru Wj do hodnotového registru W2, který je nadřazený hodnotovému registru Wj, přičemž při první činnosti se invertuje binární stav paměťové buňky Ej nadřazeného hodnotového registru W2, která vykazuje logickou hodnotu 0, a změní se bit M2 značkovacího registru 7, který je přiřazen nadřazenému hodnotovému registru W2, v jednom nepřerušitelném prováděcím kroku, popřípadě se u obou nasadí logické 1 a ve druhé činnosti se obrátí binární stavy paměťových buněk Ej až En hodnotového registru Wj. vykazující veličinu G, a přemění se bit M2 značkovacího registru ]_, který je přiřazen hodnotovému registru W2, nadřazenému hodnotovému registru Wj, v dalším nepřerušitelném prováděcím kroku, popřípadě se nasadí logické 0. Obr. 2d ukazuje registrační blok 6 a značkovací registr 7 po ukončení první činnosti k přesunu veličiny G, zatímco obr. 2e ukazuje registrační blok 6 a značkovací registr 7 po ukončení druhé činnosti, přičemž paměťové buňky, změněné při obou činnostech, jsou znázorněny šrafovaně.The described procedure is applicable to transfer another quantity G from the first value register Wj to the value register W2, which is superior to the value register Wj, the first operation inverting the binary state of the memory cell Ej of the higher value register W2, which has a logical value 0, the bit M2 of the marker register 7, which is assigned to the parent value register W2, in one uninterruptible execution step, or both logic 1 are deployed and the binary states of the memory cells Ej to E n of the value register Wj are reversed in the second operation. having the value G, and the bit M2 of the marker register 10, which is assigned to the value register W2, the parent value register W1, is converted in a further uninterruptible execution step, or logic 0 is applied. 2d shows the registration block 6 and the marker register 7 after the first operation to move the variable G, while FIG. 2e shows the registration block 6 and the marker register 7 after the second operation, the memory cells changed in both operations are shown in shaded.

Paměťový modul i a přístupový modul 2 jsou uspořádány tak, že hodnotovému registru Wj přiřazená paměťová buňka Mj značkovacího registru 7 společně s paměťovou buňkou E^ hodnotového registru Wj jsou nastavitelné na první binární hodnotu a že registru Wj přiřazená paměťová buňka Mj značkovacího registru 7 společně sn paměťovými buňkami Ej až En hodnotového registru Wj.j, podřízeného hodnotovému registru Wj, jsou nastavitelné na hodnotu inverzní k první binární hodnotě.The memory module i and the access module 2 are arranged such that the value register Wj associated with the memory cell Mj of the register register 7 together with the memory cell Ej of the value register Wj are adjustable to the first binary value and cells Ej to E n of the value register Wj, subordinate to the value register Wj, are adjustable to a value inverse to the first binary value.

Přeruší-li se záměrně nebo poruchou postup k přesunu veličiny G popř. G’ na hodnotové kartě mezi první a druhou činností, tak je později neúplný přesun rozeznatelný vyhodnocením značkovacího registru 7 a tímto také korigovatelný, čímž lze přesun uskutečnit naprosto spolehlivě.If the procedure to move the variable G or the input is deliberately interrupted. G 'on the value card between the first and the second activity, the incomplete transfer is later recognizable by the evaluation of the marker register 7 and thus also correctable, which makes the transfer absolutely reliable.

Obr. 3a ukazuje paměťový modul 1 ve stavu, ve kterém N-tý bit Mjq značkovacího registru 7 vykazuje logickou hodnotu 1, čímž bit v tomto případě udává, že přesun byl proveden neúplně. Tento stav může napříkad vzniknout, když hodnotová karta, která má paměťový modul i, je ať už záměrně nebo neúmyslně vytažena ze čtečky právě v okamžiku, když se má přesunout veličina G. Přesun je v tomto stavu ukončitelný pomocí korekčního_cyklu,—který—-je—třeba—provésU-Korekění—eykluš—zahrnuje invertování-rr paměťových buněk Ej až En hodnotového registru Wyj.j přiřazeného n-tému bitu Myj značkovacího registru 7, přičemž se současně také n-tý bit Myj značkovacího registru zpětně nastaví na logickou 0. Na obr. 3b je znázorněný stav paměťového modulu I po korekčním cyklu.Giant. 3a shows the memory module 1 in a state in which the Nth bit Mjq of the marker register 7 shows a logical value of 1, whereby the bit in this case indicates that the transfer was incomplete. For example, this state can occur when a value card that has a memory module i is deliberately or unintentionally pulled out of the reader at the moment when the quantity G is to be moved. —You — doU-Correction — eyklus — involves inverting-rr memory cells Ej to En The value register W1 is assigned to the nth bit Myj of the marker register 7, and at the same time the nth bit of the My marker marker is reset to logic 0. FIG. 3b shows the state of the memory module I after the correction cycle.

Zkušební sekvenci pro rozeznání neúplného přesunu s podmíněně provedeným korekčním cyklem na hodnotové kartě je možné popsat v pseudokódu podobném programovacímu jazyku Pascal následujícím způsobem:The test sequence for recognizing an incomplete move with a conditional correction cycle on a value card can be described in a pseudocode similar to the Pascal programming language as follows:

for i = 2 to N do begin if M[i] - 1 thenfor i = 2 to N to begin if M [1] - 1 then

W[i-1 ] = 0 {vymaže registr Wj.j} endW [i-1] = 0 {clear registry Wj.j} end

Zkušební sekvence se s výhodou provádí po zasunutí hodnotové karty do čtečky, s výhodou se zkušební sekvence provádí procesorem hodnotové karty.The test sequence is preferably performed after inserting the value card into the reader, preferably the test sequence is performed by the value card processor.

Protože hodnotová karta má značkovací registr 7, který činí neúplně provedený přesun hodnot G popř. G’ ve zkušební sekvenci rozeznatelný a korigovatelný, je možné vypustit z čtečky strojní dopravovací zařízení a drahé uzamykací systémy, protože vytažením hodnotové karty v provozním stavu nejsou pro uživatele ohledně hodnoty hodnotové karty dosažitelné ani výhody, ani nevýhody.Since the value card has a marker register 7, which makes the transfer of the G or the values of the G-value incomplete. G 'recognizable and correctable in the test sequence, it is possible to omit machinery and expensive locking systems from the reader because pulling a value card in operating condition does not give the user any advantages or disadvantages regarding the value of the value card.

Paměťový modul i je výhodně programovatelný přes vstup 4, to znamená, že hodnotu uloženou na hodnotové kartě je možné změnit přes vstup 4, přičemž je s výhodou k dispozici minimálně jedna stavová informace karty na výstupu 5 - například prázdná popř. neprázdná.The memory module 1 is preferably programmable via input 4, i.e. the value stored on the value card can be changed via input 4, preferably at least one card status information at output 5 being provided, e.g. non-empty.

Uvedený postup k přesunu veličiny znázorněné binární hodnotovou jednotkou je výhodně použitelný ve spolehlivých metodách sčítání nebo načítání hodnotových jednotek na hodnotové kartě. Postup je jednoduše přenositelný na odpovídající varianty v negativní logice a/nebo k vymazání hodnotových jednotek na hodnotové kartě. Rozumí se samo sebou, že neúplně provedený přesun v registračním bloku 6 je označitelný v jednom bitu značkovacího registru 7 buď, jak je uvedeno na obr.2 popř. 3, logickou 1 nebo potom logickou 0.Said process for moving a quantity represented by a binary value unit is preferably applicable in reliable methods of adding or reading value units on a value card. The procedure is simply transferable to the corresponding variants in the negative logic and / or to delete the value units on the value card. It goes without saying that an incomplete transfer in the registration block 6 can be marked in one bit of the marker register 7 either as shown in FIG. 3, logical 1 or then logical 0.

Během postupu k vymazání hodnotových jednotek hodnotové karty je třeba nucené přenést veličiny, které je možné uložit v„jednom bitu. hodnotového registru Wj, do hodnotového registru Wy_y bezprostředně podřízeného hodnotovému registru Wj, když je podřízený hodnotový registr Wy_y prázdný.During the process of deleting the value units of a value card, it is necessary to transfer quantities that can be stored in a "one bit". the value register Wj, to the value register Wy_y immediately subordinate to the value register Wj when the sub-value register Wy_y is empty.

V jedné variantě použití paměťového modulu i, znázorněné na obr. 4, se neúplně provedený přenos v registračním bloku 6 označí ve značkovacím registru 7 logickou 0. Stav značkovacího registru 7, znázorněný na obr. 4a, ve kterém jsou všechny bity nastaveny na logickou 1, neudává tedy žádný neúplně provedený přesun v registračním bloku 6. V jednom bitu N-tého hodnotového registru Wy^y je možné uložit určitou veličinu G.In one variation of the use of the memory module 1 shown in Fig. 4, the incomplete transmission in the registration block 6 is marked in logic 7 in the register register 7. The state of the register 7 shown in Fig. 4a in which all bits are set to logical 1. therefore, there is no incomplete move in register block 6. In one bit of the Nth value register Wy ^ y it is possible to store a certain quantity G.

V dalším bude popsán postup, kterým se přesune výhodným způsobem veličina G ve dvou po sobě prováděných činnostech do hodnotového registru Wyj.y, který je bezprostředně prodřízený N-tému hodnotovému registru Wyý, přičemž se vychází z toho, že před přesunem mají paměťové buňky Ey až En podřízeného hodnotového registru Wy\[-1 hodnotu logické 0.Hereinafter, the procedure for transferring the value G in two successive operations to the value register Wyj.y, which is immediately subordinate to the Nth value register Wyy, will be described, assuming that the memory cells have Ey before the move to E n child value register Wy \ [- 1 logical value 0.

Při první činnosti se invertuje binární stav paměťové buňky E4 N-tého hodnotového registru Wy-j, která má hodnotu logické 1, a bit Myj značkovacího registru 7, přiřazený hodnotovému registru Wyq, v jednom nepřerušíte lném prováděcím kroku, popřípadě se nastaví logická 0. Obr. 4b ukazuje registrační blok 6 a značkovací registr 7 po. ukončení první činnosti, přičemž paměťové buňky, které se při první činnosti změnily, jsou znázorněny šrafovaně.In the first operation, the binary state of the memory cell E4 of the Nth value register Wy-j having a value of logic 1 is inverted and the bit Myj of the register register 7 associated with the value register Wyq is inverted in one continuous execution step. Giant. 4b shows the registration block 6 and the marking register 7 after. terminating the first operation, wherein the memory cells that have changed during the first operation are shown in shaded form.

Při druhé činnosti se přemění paměťové buňky Ey až En hodnotového registru Wyý_i a bit My\y značkovacího registru 7, přiřazený hodnotovému registru Wy\y nadřazenému hodnotovému registru Wyj.y, v dalším nepřeruší telném prováděcím kroku, popřípadě se nastaví logické 1. Obr. 4c ukazuje registrační blok 6 a značkovací registr 7 po-ukoněení-druhé-činnosti,-přičemžpaměťové-buňky7změněné při druhé činnosti, jsou znázorněny šrafovaně.In the second operation, the memory cells Ey to E n of the value register Wyy_i and the bit My \ y of the marker register 7 associated with the value register Wy \ y to the value register Wyj.y are transformed into a further uninterruptible execution step or logic 1 is set. . 4c shows the registration block 6 and the mark-up register 7 after the second operation has been completed, with the memory cells changed during the second operation being shown in shaded form.

Obr. 5a ukazuje paměťový modul J ve stavu, ve kterém má N-tý bit Mjg značkovacího registru 7 hodnotu logické 0, čímž bit v tomto případě udává, že se provedl neúplný přesun. Tento stav může například vzniknout, když se hodnotová karta, která má paměťový modul 1_, ať už záměrně nebo neúmyslně vytáhne ze čtečky právě v okamžiku, kdy se má přesunout veličina G. Přesunutí je možné v tomto stavu ukončit pomocí korekčního cyklu. Korekční cyklus zahrnuje invertování n paměťových buněk E| až En hodnotového registru W^_|, který je bezprostředně podřízený hodnotovému registru Wj<f, který je přiřazen N-tému bitu značkovacího registru 7. Současně s invertováním n paměťových buněk E} až En hodnotového registru W^_| je také N-tý bit značkovacího registru nasazen zpět na logickou 1. Na obr. 3b je znázorněn stav paměťového modulu i po korekčním cyklu.Giant. 5a shows the memory module J in a state in which the Nth bit Mjg of the marker register 7 has a logical value of 0, whereby the bit in this case indicates that an incomplete transfer has taken place. This state can occur, for example, when a value card having a memory module 7, whether intentionally or unintentionally, is pulled out of the reader just when the quantity G is to be moved. The move can be terminated in this state by means of a correction cycle. The correction cycle involves inverting n memory cells E1 to E n of the value register W ^ _ |, which is immediately subordinate to the value register Wj <f, which is assigned to the Nth bit of the marker register 7. Simultaneously with inverting n memory cells E} to E n of the value register W ^ _ | also, the Nth bit of the marker register is put back on the logic 1. FIG. 3b shows the state of the memory module even after the correction cycle.

Má-li hodnotová karta pro znázornění své hodnoty N*n paměťových buněk, tak jsou tedy pro označení přesunu nutné přídavné paměťové buňky v počtu N - 1.If a value card has N * n memory cells to represent its value, then additional memory cells of N - 1 are required to indicate the move.

Tím, že značkovací registr 7 má pro každý hodnotový registr W2 až Wjg, nadřazený jinému hodnotovému registru Wj až W]g_j, pouze jediný bit, je možné výhodným postupem proti dosavadnímu stavu techniky dosáhnout poměrně velkou úsporu E paměťových buněk, kterou lze s prvním počtem N a druhým počtem n spočítat pomocí vzorce:Since the marker register 7 has only one bit for each value register W2-Wjg, which is superior to another value register W1-W1g, it is possible to achieve a relatively large saving of E memory cells, which can be achieved with the first N and the second number n can be calculated using the formula:

Ε = η * (N - 1) - (N - 1) = (N - 1) * (η - 1) [Fl]Ε = η * (N-1) - (N-1) = (N-1) * (η-1) [Fl]

Ve vzorci Fl je jasně patrné, že úspora E je největší pro N = n. Úsporou E je paměťové místo, nutné pro spolehlivou změnu hodnoty, uložené na hodnotové kartě, poměrně malé vzhledem k paměťovému místu, které je k dispozici v registračním bloku 6 pro ukládání hodnot.It can be clearly seen in formula F1 that the saving E is greatest for N = n. The saving E is the memory space necessary for a reliable change of the value stored on the value card relatively small relative to the memory space available in the registration block 6 for storing values.

Claims (3)

1. Hodnotová karta s binárními hodnotovými jednotkami, která má první počet (N) uspořádaných hodnotových registrů (Wj, W2> W^), přičemž hodnotový registr (Wj; Wg; Wpj) má druhý počet (n) paměťových buněk (Ej, Eg,En), z nichž každá je pro jednu binární neztratitelnou hodnotovou jednotku a (n) paměťových buněk (E j, Eg,A value card with binary value units having a first number (N) of ordered value registers (Wj, W2> W ^), the value register (Wj; Wg; Wpj) having a second number (n) of memory cells (Ej, Eg) , E n ), each of which is for one binary lost value unit and (n) memory cells (E j, Eg, En) hodnotového registru (Wj; Wg; Wpp) je možné nastavit společně minimálně na jednu první hodnotu, vyznačující se tím, že hodnotová karta má dále značkovací registr (7), že značkovací registr (7) má třetí počet (M) paměťových buněk (M2, Mp>j) pro binární neztratitelné hodnoty, že třetí počet (M) je o jednu menší, než první počet (N), že hodnotovému registru (Wj), který je nadřazený dalšímu hodnotovému registru (Wj_i), je přiřazena paměťová buňka (Mj) značkovacího registru (7), že paměťovou buňku (Mj) značkovacího registru (7), přiřazenou hodnotovému registru (Wj) společně s paměťovou buňkou (Ep) hodnotového registru (Wj) je možné nastavit na druhou hodnotu a že paměťovou buňku (Mi) značkovacího registru (7), přiřazenou hodnotovému registru (Wj), společně s (n) paměťovými buňkami (Ej, Eg, En) hodnotového registru (Wj), je možné nastavit na první hodnotu.E n ) the value register (Wj; Wg; Wpp) can be set together to at least one first value, characterized in that the value card further has a marker register (7), the marker register (7) has a third number (M) of memory cells (M2, Mp> j) for binary lost values that the third count (M) is one less than the first count (N) that the value register (Wj), which is superior to the next value register (Wj_i), is assigned a memory cell (Mj) of the marker register (7), that the memory cell (Mj) of the marker register (7) associated with the value register (Wj) together with the memory cell (Ep) of the value register (Wj) can be set to a second value; the marker register cell (Mi) associated with the value register (Wj), together with the (n) memory cells (Ej, Eg, E n ) of the value register (Wj), can be set to the first value. 2. Postup pro přesunutí veličiny (G; G’), představované binárními hodnotovými jednotkami, na hodnotové kartě z prvního hodnotového registru (Wj) do druhého hodnotového registru (Wj+j), který je bezprostředně nadřazený prvnímu hodnotovému registru (Wj), přičemž hodnotový registr (Wj; Wj+j) má počet (n) paměťových buněk (Ej, Eg, ..., En), z nichž každá je pro jednu binární neztratitelnou hodnotovou jednotku, přičemž maximálně uložitelná veličina v prvním hodnotovém registru (Wj) je stejně velká, jako jednotlivá hodnotová jednotka druhého hodnotového registru (Wj+j), veličina (G; G’), kterou je třeba přesunout, je stejná, jako maximálně uložitelná veličina v prvním hodnotovém registru (Wj), veličina (G; G’), kterou je třeba přesunout, je uložená v prvním hodnotovém registru (Wj), ve druhém hodnotovém registru (Wj+j) je možné uložit ještě alespoň jednu hodnotovou jednotku a veličinu (G; G’), kterou je třeba přesunout, je možné přesunout z prvníhoA method for moving a value (G; G ') represented by binary value units on a value card from a first value register (Wj) to a second value register (Wj + j) that is immediately superior to the first value register (Wj), the value register (Wj; Wj + j) has a number (n) of memory cells (Ej, Eg, ..., E n ), each of which is for one binary lost value unit, the maximum storable quantity in the first value register (Wj) ) is as large as the individual value unit of the second value register (Wj + j), the quantity (G; G ') to be shifted is the same as the maximum storable quantity in the first value register (Wj), the quantity (G; G ') to be moved is stored in the first value register (Wj), in the second value register (Wj + j) it is possible to store at least one value unit and the quantity (G; G') move, it is possible to move from the first -hodnotového-registru-(Wjj-do-druhého'hoďnOťového^řegištru_(Wp)rj)7Tvž«ača/7éz'5E tím, ze se druhému hodnotovému registru (Wj+j) přiřadí přesně jeden bit (Mj+j) značkovacího registru (7), že se invertuje binární stav určité paměťové buňky (E0 druhého hodnotového registru (Wj+j) a bitu (Mj+j) značkovacího registru (7), který je přiřazen druhému hodnotovému registru (Wj+j), v jednom nepřerušitelném prováděcím kroku a že se invertují binární stavy (n) paměťových buněk (Ej, Ey, ·. En) prvního hodnotového registru (Wj) a bitu (Mj+j) značkovacího registru (7), přiřazeného druhému hodnotovému registru (Wj+j), v dalším nepřerušitelném prováděcím kroku.-hodnotového-registru- (Wjj-to-registry druhého'hoďnOťového ^ _ (Wp) rj) 7Tvž «ACA / 7éz'5E that the second register of values (Wj + j) is assigned exactly one bit (Mi + j) marking a register (7) that inverts the binary state of a particular memory cell (E0 of the second value register (Wj + j) and a bit (Mj + j) of the marker register (7) that is assigned to the second value register (Wj + j) in one and that the binary states (n) of the memory cells (Ej, Ey, · E n ) of the first value register (Wj) and the bit (Mj + j) of the marker register (7) associated with the second value register (Wj +) are inverted. j), in a further uninterruptible implementation step. 3. Postup pro přesunutí veličiny (G), představované binárními hodnotovými jednotkami, na hodnotové kartě z prvního hodnotového registru (Wj) do druhého hodnotového registru (Wj.j), který je prvnímu hodnotovému registru (Wj) bezprostředně podřízený, přičemž hodnotový registr (Wj; Wj.j) má počet (n) paměťových buněk (Ej, Ey, ···, En), z nichž každá je určena pro jednu neztratitelnou hodnotovou jednotku, maximálně uložitelná veličina ve druhém hodnotovém registru je stejně velká, jako jednotlivá hodnotová jednotka prvního hodnotového registru (Wj), veličina (G), kterou je třeba přesunout, je stejná jako maximálně uložitelná veličina ve druhém hodnotovém registru (Wj.j), veličina (G), kterou je třeba přesunout, je uložena v jednom bitu prvního hodnotového registru (Wj), druhý hodnotový registr (Wj.j) je prázdný a veličinu (G), kterou je třeba přesunout, je možné přesunout z prvního hodnotového registru (Wj) do druhého hodnotového registru (Wj.j), vyznačující se tím, že se prvnímu hodnotovému registru (Wj) přiřadí přesně jeden bit (Mj) značkovacího registru (7), že se přemění binární stav určité paměťové buňky (E0 prvního hodnotového registru (Wj) a bit (Mj) značkovacího registru (7), přiřazený prvnímu hodnotovému registru (Wj), v jednom nepřerušitelném prováděcím kroku a že se přemění binární stavy (n) paměťových buněk (Ej, Ey, ··., En) druhého hodnotového registru (Wj.j) a bit (Mj) značkovacího registru (7), přiřazený prvnímu hodnotovému registru (Wj) v dalším nepřerušitelném prováděcím kroku.A method for moving a value (G) represented by binary value units on a value card from a first value register (Wj) to a second value register (Wj.j) that is immediately subordinate to the first value register (Wj), wherein the value register ( Wj; Wj.j) has a number (n) of memory cells (Ej, Ey, ···, E n ), each of which is intended for one lost value unit, the maximum storable quantity in the second value register is as large as the individual the value unit of the first value register (Wj), the quantity (G) to be moved is the same as the maximum storable quantity in the second value register (Wj.j), the quantity (G) to be moved is stored in one bit the first value register (Wj), the second value register (Wj.j) is empty and the quantity (G) to be moved can be moved from the first value register (Wj) to the second value register (Wj), characterized in that the first value register (Wj) is assigned exactly one bit (Mj) of the marker register (7), such that the binary state of a particular memory cell (E0) of the first value register (Wj) ) and bit (Mj) of the marker register (7) associated with the first value register (Wj) in one uninterruptible execution step and that the binary states (n) of the memory cells (Ej, Ey, ··., E n ) of the second value a register (Wj) and a bit (Mj) of the marker register (7) associated with the first value register (Wj) in the next uninterruptible execution step.
CZ19951177A 1994-05-06 1995-05-05 Value card with binary value units CZ286328B6 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CH142594 1994-05-06
CH305294 1994-10-11

Publications (2)

Publication Number Publication Date
CZ117795A3 true CZ117795A3 (en) 1996-02-14
CZ286328B6 CZ286328B6 (en) 2000-03-15

Family

ID=25687619

Family Applications (1)

Application Number Title Priority Date Filing Date
CZ19951177A CZ286328B6 (en) 1994-05-06 1995-05-05 Value card with binary value units

Country Status (7)

Country Link
EP (1) EP0681274B1 (en)
AT (1) ATE297577T1 (en)
CZ (1) CZ286328B6 (en)
DE (1) DE59511003D1 (en)
FI (1) FI952166A (en)
NO (1) NO307633B1 (en)
PT (1) PT681274E (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0321727B1 (en) * 1987-12-17 1992-03-18 Siemens Aktiengesellschaft Method and circuit to protect eeprom memories against devaluation manipulation
FR2678094B1 (en) * 1991-06-20 1993-10-08 France Telecom DATA COUNTING MEMORY CARD AND READING APPARATUS.
FR2698468B1 (en) * 1992-11-20 1995-03-10 Monetel Method of managing Boullier type memory cards.

Also Published As

Publication number Publication date
PT681274E (en) 2005-10-31
CZ286328B6 (en) 2000-03-15
ATE297577T1 (en) 2005-06-15
FI952166A (en) 1995-11-07
EP0681274A2 (en) 1995-11-08
NO951777L (en) 1995-11-07
DE59511003D1 (en) 2005-07-14
EP0681274B1 (en) 2005-06-08
EP0681274A3 (en) 1998-06-03
FI952166A0 (en) 1995-05-05
NO307633B1 (en) 2000-05-02
NO951777D0 (en) 1995-05-05

Similar Documents

Publication Publication Date Title
CN100437827C (en) Using multiple status bits per cell for handling power failures during write operations
US5611067A (en) Nonvolatile semiconductor memory device having means for selective transfer of memory block contents and for chaining together unused memory blocks
EP0646892A2 (en) Memory card
EP0783741B1 (en) Data transfer system comprising a terminal and a portable data carrier and method of recharging the portable data carrier by means of the terminal
CN107358974A (en) Multiple independent serial link memories
AU2006253347A1 (en) Semiconductor storage apparatus
CN101625898A (en) Method for programming of non volatile memory device
EP1901306A1 (en) Nonvolatile memory performing verify processing in sequential write
CN1046363C (en) Semiconductor memory device
US20170004071A1 (en) Bidirectional counter in a flash memory
CN107807886B (en) Index management in flash memory
CN107657982A (en) The method and storage arrangement being programmed to multi-stage non-volatile memory unit
CN107402717B (en) Flash memory storage management
CN102800365A (en) Method and system for testing and calibrating nonvolatile memory
CA2017298C (en) Electronic odometer
CZ117795A3 (en) Value card with binary value units and procedure of shifting the value represented by the binary value units disposed on the value card
WO1995034054A1 (en) Process for verifying the authenticity of a data carrier
CN100375029C (en) Memory disposition methods and systems
US20060031644A1 (en) Storage device flow control
US3399383A (en) Sorting system for multiple bit binary records
US10223195B2 (en) Counter in a flash memory
JPH03244059A (en) Dma controller
US20140244895A1 (en) Robust Sector ID Scheme for Tracking Dead Sectors to Automate Search and Copydown
CN108073709A (en) A kind of operating method of data record, device, equipment and storage medium
CN102314581B (en) Use the RFID access method of indirect memory pointer

Legal Events

Date Code Title Description
IF00 In force as of 2000-06-30 in czech republic
MM4A Patent lapsed due to non-payment of fee

Effective date: 20100505