PROCEDE D'ORGANISATION ET DE LECTURE D'UN SUPPORT MAGNETIQUE ET SUPPORT EN FAISANT APPLICATION METHOD FOR ORGANIZING AND READING A MAGNETIC MEDIUM AND MEDIUM USING THE SAME
La présente invention relève du domaine technique général des périphériques informatiques appelés lecteurs-enregistreurs connectés, habituellement, à un ordinateur et conçus pour assurer la lecture et l'écriture d'informations .ou de données codées sur un support magnétique à pistes.The present invention relates to the general technical field of computer peripherals called reader-recorders connected, usually, to a computer and designed to ensure the reading and writing of information or of coded data on a magnetic track medium.
L'invention concerne, plus précisément, les lecteurs- enregistreurs aptes à lire des supports portables, tels que les cartes à pistes magnétiques et elle vise, particulièrement, les méthodes ou les procédés de lecture des informations enregistrées sur la carte.The invention relates, more precisely, to the reader-recorders capable of reading portable media, such as magnetic stripe cards, and it relates, in particular, to the methods or methods for reading the information recorded on the card.
Les supports portables d'enregistrement d'informations ont fait l'objet, récemment, d'importants développements techniques, en raison de la possibilité qu'ils offrent de véhiculer des informations sous forme réduite et réutilisable. La mise au point de tels supports a permis d'envisager la possibilité de constituer de véritables dossiers portables, destinés à contenir des informations, de même nature ou non, en relation avec les applications choisies. A titre d'exemple, ces supports peuvent contenir, exclusivement ou non, des informations à caractère médical ou des données relatives à la mise en oeuvre, à la maintenance et/ou au passé de machines, d'appareils ou de véhi cules. L'art antérieur propose, principalement, trois types de supports portables formant une carte.Portable information recording media have recently been the subject of significant technical developments, due to the possibility that they offer of conveying information in a reduced and reusable form. The development of such media made it possible to envisage the possibility of constituting real portable files, intended to contain information, of the same nature or not, in relation to the chosen applications. For example, these media may contain, exclusively or not, information of a medical nature or data relating to the use, maintenance and / or past of machines, devices or vehicles. The prior art mainly offers three types of portable media forming a card.
Le premier type de support est constitué par les cartes à mémoires ou à micro-circuits comportant une mémoire interne et un circuit de contrôle de ses entrées-sorties. Ces cartes à mémoires possèdent, généralement, une capacité mémoire individuelle de l'ordre de 64 kilobits. Il apparaît, en pratique, que la capacité mémoire de ces cartes est trop faible pour permettre son utilisation dans les principales applications de dossiers portables. Le second type constitue la carte optique qui possède, généralement, une capacité mémoire de l'ordre de 64 Mégabits. Si la
capacité mémoire des cartes optiques semble suffisante pour un grand nombre d'utilisations, il apparaît que ce type de carte présente encore des difficultés de mise au point ne permettant pas leur mise en oeuvre avec une fiabilité maximale. Le troisième type de support portable est constitué par les cartes à pistes magnétiques possédant une capacité mémoire en relation avec le nombre de pistes portées par la carte. Ce type de cartes permet donc d'obtenir une capacité mémoire choisie et déterminée en relation avec le nombre de pistes enregistrées. Cependant, la capacité mémoire nécessaire à l'enregistrement des informations pour constituer des dossiers portables impose la mise en oeuvre d'un nombre élevé de pistes, de telle sorte que le temps de lecture des pistes qui en découle devient prohibitif. A titre d'exemple, la lecture d'une carte, comportant 150 pistes et correspondant à une capacité mémoire de 1 Mégabits, ne peut être obtenue qu'au terme d'un délai supérieur à 2 minutes.The first type of support is made up of memory or micro-circuit cards with an internal memory and an input-output control circuit. These memory cards generally have an individual memory capacity of the order of 64 kilobits. It appears, in practice, that the memory capacity of these cards is too low to allow its use in the main portable folder applications. The second type constitutes the optical card which generally has a memory capacity of the order of 64 megabits. If the memory capacity of the optical cards seems sufficient for a large number of uses, it appears that this type of card still presents development difficulties which do not allow their implementation with maximum reliability. The third type of portable medium consists of magnetic stripe cards having a memory capacity in relation to the number of tracks carried by the card. This type of card therefore makes it possible to obtain a chosen and determined memory capacity in relation to the number of tracks recorded. However, the memory capacity necessary for recording information to constitute portable files requires the implementation of a high number of tracks, so that the reading time of the tracks which results therefrom becomes prohibitive. For example, the reading of a card, comprising 150 tracks and corresponding to a memory capacity of 1 Megabits, can only be obtained after a delay of more than 2 minutes.
La présente invention vise donc à remédier aux inconvénients énoncés ci-dessus en proposant un procédé apte à organiser, selon un ordre de priorité déterminé, la lecture des informations enregistrées sur une carte à pistes magnétiques permettant de réduire le temps d'accès de l'ordinateur aux informations enregistrées.The present invention therefore aims to remedy the drawbacks stated above by proposing a method capable of organizing, according to a determined order of priority, the reading of the information recorded on a magnetic stripe card making it possible to reduce the access time of the computer with the recorded information.
L'invention vise, aussi, à offrir un procédé de lecture d'une carte, conçu pour lire automatiquement les pistes selon un ordre de priorité déterminé et donner une priorité à l'exécution des ordres de commande émis par L'ordinateur.The invention also aims to provide a method of reading a card, designed to automatically read the tracks in a given order of priority and give priority to the execution of control orders issued by the computer.
Pour atteindre les objectifs précités, le procédé selon l'invention, d'organisation prioritaire d'informations enregistrées sur un support/: notamment une carte magnétique comportant n pistes ou secteurs dont au moins une est réservée et identifiée pour constituer une piste de première lecture obligatoire, est caractérisé en ce qu'il consiste :To achieve the above-mentioned objectives, the method according to the invention, for priority organization of information recorded on a medium / : in particular a magnetic card comprising n tracks or sectors of which at least one is reserved and identified to constitute a track for first reading mandatory, is characterized in that it consists:
- à choisir au moins une piste prioritaire parmi les pistes d'enregistrement des informations, - et à enregistrer, sur la piste de première
lecture, l'identification de la ou des pistes prioritaires pour constituer une piste de stratégie de lecture de la carte selon un ordre de priorité déterminé. L'invention a aussi pour objet une carte portable à pistes comportant au moins une piste de stratégie de lecture.- to choose at least one priority track from the information recording tracks, - and to record, on the first track reading, the identification of the priority track or tracks to constitute a strategy reading track of the card according to a determined order of priority. The invention also relates to a portable track card comprising at least one reading strategy track.
L'invention a encore pour objet un procédé de lecture d'une carte portable, par un lecteur connecté à un ordinateur, consistant : - après l'introduction de la carte dans le lecteur, à lire automatiquement et complètement une piste de stratégie de lecture,Another subject of the invention is a method for reading a portable card, by a reader connected to a computer, consisting of: - after the card has been inserted into the reader, automatically and completely reading a reading strategy track ,
- à transférer dans une mémoire interne le contenu de la piste de stratégie lue, - à. procéder à la lecture complète d'une piste prioritaire selon l'ordre de priorité défini dans la piste stratégie,- to transfer the content of the strategy track read to an internal memory, - to. read a priority track in full according to the priority order defined in the strategy track,
- à transférer dans une mémoire interne le contenu de la piste prioritaire lue, - et à poursuivre successivement la lecture et le transfert de chacune des pistes prioritaires selon l'ordre de priorité, tant que l'ordinateur n'émet pas un ordre de commande. Diverses autres caractéristiques ressortent de la description faite ci-dessous en référence aux dessins annexés qui montrent, à titre d'exemples non limitatifs, des formes de réalisation de l'objet de l'invention.- to transfer to an internal memory the content of the priority track read, - and to successively continue the reading and the transfer of each of the priority tracks according to the order of priority, as long as the computer does not issue a command order . Various other characteristics will emerge from the description given below with reference to the appended drawings which show, by way of nonlimiting examples, embodiments of the subject of the invention.
La fig. 1 est un schéma-bloc simplifié illustrant un système informatique, connu en soi, apte à assurer la mise en oeuvre de l'invention.Fig. 1 is a simplified block diagram illustrating a computer system, known per se, capable of ensuring the implementation of the invention.
Les fig. 2 et 3 sont des organigrammes explicitant le procédé selon l'invention.Figs. 2 and 3 are flowcharts explaining the method according to the invention.
La fig. 1 illustre un système informatique simplifié, connu en soi, et décrit pour permettre une meilleure compréhension de l'invention. Le système informatique qui assure la mise en
oeuvre du procédé selon L'invention, comporte un ordinateur ou une unité centrale 1 dialoguant, d'une part, avec des terminaux, tels qu'un clavier 2 et un écran 3 et, d'autre part, avec un lecteur- enregistreur 4 adapté pour écrire sur et lire un support magnétique 5 comportant n pistes d'enregistrement P à P . DeFig. 1 illustrates a simplified computer system, known per se, and described to allow a better understanding of the invention. The computer system that ensures the implementation work of the method according to the invention, comprises a computer or a central unit 1 dialoguing, on the one hand, with terminals, such as a keyboard 2 and a screen 3 and, on the other hand, with a reader-recorder 4 suitable for writing on and reading a magnetic medium 5 comprising n recording tracks P to P. Of
— o n préférence, le support 5 se présente sous la forme d'une carte portable à pistes magnétiques.- o n preferably, the support 5 is in the form of a portable card with magnetic strips.
L'ordinateur 1 comporte un circuit interface 6 assurant la liaison entre le lecteur 4 et l'ordinateur 1, par l'intermédiaire d'un bus d'échange 7. Le lecteur 4 est composé, dans l'exemple illustré, d'un système 8 de lecture-écriture et d'un contrôleur 9 pilotant le système 8.The computer 1 includes an interface circuit 6 ensuring the connection between the reader 4 and the computer 1, via an exchange bus 7. The reader 4 is composed, in the example illustrated, of a 8 read-write system and a controller 9 controlling the system 8.
Le contrôleur 9 comporte un circuit d'interface 11 relié au bus d'échange 7 et assurant la gestion des données circulant entre le contrôleur 9 et l'ordinateur 1. Le circuit d'interface 11 est connecté' à un bus interne 12 reliant entre eux un microprocesseur 13, une mémoire morte programmable 14, une mémoire vive interne 15, un circuit 16 de contrôle des données, un étage 17 d'entrées-sorties et un bloc 18 de contrôle d'état. Le circuit 16, l'étage 17 et le bloc 18 dialoguent avec un circuit 19 assurant l'interface entre le système 8 de lecture-écriture et le contrôleur 9.The controller 9 includes an interface circuit 11 connected to the bus 7 and exchange that manages data traveling between the controller 9 and the PC 1. The interface circuit 11 is connected 'to an internal bus 12 connecting between them a microprocessor 13, a programmable read-only memory 14, an internal random access memory 15, a circuit 16 for controlling the data, a stage 17 of inputs-outputs and a block 18 for controlling the state. The circuit 16, the stage 17 and the block 18 interact with a circuit 19 providing the interface between the read-write system 8 and the controller 9.
Le système 8 comporte un processeur maître 21 relié au circuit interface 19 par une Liaison d'échange 22. Le processeur maître 21 assure, par l'intermédiaire de circuits de gestion 23, 24, le pilotage, d'une part, d'une tête magnétique 25 de Lecture-écriture apte à être déplacée transversalement au-dessus des pistes et, d'autre part, d'un dispositif électromécanique 26 destiné à entraîner La carte 5 en déplacement Linéaire alternatif suivant La direction formée par Les pistes.The system 8 comprises a master processor 21 connected to the interface circuit 19 by an exchange link 22. The master processor 21 ensures, via management circuits 23, 24, the control, on the one hand, of a magnetic head 25 for read-write capable of being moved transversely above the tracks and, on the other hand, of an electromechanical device 26 intended to drive the card 5 in alternating linear movement along the direction formed by the tracks.
Le système informatique décrit ci-dessus assure La mise en oeuvre du procédé selon L'invention, destiné à permettre L'organisation de la lecture, des informations portées par la carte, selon un ordre choisi, de manière à anticiper la demande de Lecture par l'ordinateur.
Pour assumer une telle fonction, la carte 5 est aménagée pour comporter au moins une piste P réservée et identifiée, afin de constituer une piste de première lecture obligatoire. Après l'enregistrement des informations sur des pistes de la carte, des pistes prioritaires sont choisies parmi les pistes contenant les informations. Ces pistes prioritaires sont destinées à contenir des informations devant être lues en priorité, en raison, par exemple, de leur caractère d'importance. L'identification de l'ordre de priorité ou de séquence de lecture des pistes prioritaires est alors enregistrée sur la piste de première lecture P pour o constituer ainsi une piste de stratégie de lecture de la carte.The computer system described above ensures the implementation of the method according to the invention, intended to allow the organization of the reading of the information carried by the card, in a chosen order, so as to anticipate the request for reading by the computer. To assume such a function, the card 5 is arranged to include at least one reserved and identified track P, in order to constitute a compulsory first reading track. After recording information on tracks on the map, priority tracks are chosen from the tracks containing the information. These priority tracks are intended to contain information which must be read in priority, due, for example, to their importance. The identification of the order of priority or sequence of reading of the priority tracks is then recorded on the track of first reading P to o thus constitute a track of strategy for reading the card.
A titre d'exemple, la fig. 1 illustre une carte 5 pour laquelle la piste P de stratégie indique l" idendification par un codage connu, de cinq pistes prioritaires devant être lues selon un ordre de priorité, à savoir : ?_. , P-,, •?, , P<-, Pg.As an example, fig. 1 illustrates a map 5 for which the strategy track P indicates the identification, by known coding, of five priority tracks to be read in order of priority, namely:? _., P- ,, • ?,, P < -, P g .
De préférence, la piste de stratégie P est copiée sur une seconde piste, par exemple
pour constituer une piste de sauvegarde de la piste P . De préférence, la piste de sauvegarde est placée sur la carte à distance de la première piste P . La fig. 2 décrit, sous la forme d'un organigramme, le procédé de Lecture d'une telle carte 5.Preferably, the strategy track P is copied to a second track, for example to constitute a backup track of track P. Preferably, the backup track is placed on the card at a distance from the first track P. Fig. 2 describes, in the form of a flowchart, the process for reading such a card 5.
Si le contrôleur 9 est prêt à lire une carte 5 introduite dans le lecteur par un utilisateur (étape 30) et détecte la présence de la carte (étape 31), le Lecteur lit une piste de référence physique portée par la carte (étape 32). Dans le cas où le contrôleur 9 n'est pas apte à lire une carte, cette dernière est refusée (étape 33). Suite à l'apprentissage de la piste de référence. Le contrôleur 9, après sa sélection (étape 34), assure le pilotage et la commande du système 8 de lecture-écriture (étape 35).If the controller 9 is ready to read a card 5 inserted into the reader by a user (step 30) and detects the presence of the card (step 31), the reader reads a physical reference track carried by the card (step 32) . In the case where the controller 9 is not able to read a card, the latter is refused (step 33). After learning the reference track. The controller 9, after its selection ( step 34), controls and controls the read-write system 8 (step 35).
Le contrôleur 9 procède alors automatiquement à la Lecture complète de la piste P de stratégie de lecture (étape 36). Il doit être considéré que la lecture d'une piste consiste à lire, par la tête magnétique, les informations contenues sur la piste et à transférer les informations, contenues sur cette piste, dans La
mémoi re interne 15 du contrôleur.The controller 9 then automatically performs the complete reading of the reading strategy track P (step 36). It should be considered that the reading of a track consists in reading, by the magnetic head, the information contained on the track and in transferring the information, contained on this track, in the internal memory 15 of the controller.
Après vérification de La lecture correcte de La pi ste P oAfter checking the correct reading of La pi ste P o
(étape 37), La stratégie de Lecture choisie est appliquée ( step 37), The chosen Reading strategy is applied
(étape 38). Si La Lecture de La piste de stratégie P n'est pas o correcte, Le contrôleur 9 assure la Lecture de la seconde piste ( step 38). If the reading of the strategy track P is not o correct, the controller 9 ensures the reading of the second track
P-.,ç de stratégie (étape 39). Après, la vérification du succès de La lecture de La seconde piste (étape 40), La stratégie de lecture est appliquée. Dans Le cas où La Lecture de la seconde piste n'a pas été correcte. Le contrôleur 9 envoie un message d'information à l'ordinateur 1 qui peut avertir l'utilisateur de la lecture impossible de la carte introduite (étape 41).P -., Ç of strategy ( step 39). After verifying the success of the reading of the second track ( step 40 ) , the reading strategy is applied. In case the playback of the second track was not correct. The controller 9 sends an information message to the computer 1 which can warn the user of the impossible reading of the card inserted (step 41).
Lorsque Le transfert des données de la piste de stratégie, vers la mémoire interne 15 du contrôleur, a été correctement exécuté. Le contrôleur procède à la lecture de la première piste prioritaire choisie, à savoir la piste P-, dans l'exemple illustré (étape 42). Le contrôleur 9 examine alors si L'ordinateur 1 n'a pas émis un ordre de commande particulier (étape 43). Si aucun ordre de commande n'a été émis, le contrôleur 9 assure, selon L'ordre de priorité choisi, la lecture de la piste prioritaire suivante enregistrée sur la piste de stratégieWhen the transfer of data from the strategy track to the internal memory 15 of the controller has been correctly executed. The controller reads the first priority track chosen, namely track P-, in the example illustrated (step 42). The controller 9 then examines whether the computer 1 has not issued a particular command order (step 43). If no command order has been issued, the controller 9 ensures, according to the chosen order of priority, the reading of the next priority track recorded on the strategy track
(étape 44) et procède ainsi de suite jusqu'à La dernière piste prioritaire choisie. Dans L'exemple illustré, le contrôleur 9 assure donc la lecture successive des pistes dans l'ordre suivant : P-j, P^, P^, Pj, Pg. Dans le cas où l'ordinateur 1 a émis un ordre de commande particulier, le contrôleur 9 interrompt la stratégie de lecture après La fin de La Lecture d'une piste prioritaire et procède à L'exécution de l'ordre de commande (étape 45). Lorsque l'ordre de commande a été exécuté. Le contrôleur poursuit la lecture des pistes prioritaires selon L'ordre de priorité choisi, jusqu'à ce qu'un nouvel ordre de commande intervienne ou que la dernière piste prioritaire soit Lue.(step 44) and so on until the last priority track chosen. In the example illustrated, the controller 9 therefore ensures the successive reading of the tracks in the following order: P- j , P ^, P ^, P j , P g . In the case where the computer 1 has issued a particular command order, the controller 9 interrupts the reading strategy after the end of the reading of a priority track and proceeds to the execution of the command command (step 45 ). When the order order has been executed. The controller continues to read the priority tracks in the order of priority chosen, until a new command order occurs or the last priority track is played.
La fig. 3 décrit, plus précisément. L'étape 45 d'exécution d'un ordre de commande issu de l'ordinateur 1. Chaque ordre de commande est examiné pour déterminer s'il s'agit d'un
ordre d'écriture ou de lecture (étape 450).Fig. 3 describes, more precisely. Step 45 of execution of a control order from the computer 1. Each control order is examined to determine whether it is a write or read order (step 450).
Dans le cas d'un ordre d'écriture, Les informations devant être enregistrées sur la carte 5 sont d'abord transférées de la mémoire de l'ordinateur 1 dans la mémoire interne 15 du contrôleur (étape 451) puis, ensuite, enregistrées sur la carte 5 (étape 452) à partir de cette mémoire interne.In the case of a write order, the information to be recorded on the card 5 is first transferred from the memory of the computer 1 to the internal memory 15 of the controller ( step 451) then, then, recorded on card 5 (step 452) from this internal memory.
Dans le cas d'un ordre de lecture, cet ordre est examiné (étape 453) pour rechercher si Les informations demandées par l'ordinateur ne sont pas contenues dans la mémoire interne 15 du contrôleur, à la suite d'une Lecture préalable de ces informations, notamment lors de L'exécution de la stratégie de lecture. Si les informations demandées ne sont pas contenues dans la mémoire interne 15, le contrôleur 9 procède à la lecture des informations demandées sur la carte (étape 454). Lorsque les informations demandées par l'ordinateur sont contenues dans la mémoire interne 15, ces informations sont transférées dans la mémoire de l'ordinateur 1 (étape 455).In the case of a read order, this order is examined (step 453) to find out whether the information requested by the computer is not contained in the internal memory 15 of the controller, following a prior reading of these information, especially when executing the read strategy. If the requested information is not contained in the internal memory 15, the controller 9 reads the requested information on the card (step 454). When the information requested by the computer is contained in the internal memory 15, this information is transferred to the memory of the computer 1 (step 455).
Le procédé selon l'invention assure ainsi la lecture automatique de pistes prioritaires selon un ordre de priorité choisi permettant d'anticiper les lectures susceptibles d'intervenir ultérieurement. En effet, cette méthode de lecture offre L'avantage de transférer automatiquement dans une mémoire vive, à savoir La mémoire interne 15 du contrôleur, les informations contenues sur la carte, qui présentent une forte probabilité à être consultées ultérieurement par l'utilisateur. De ce fait, le temps d'accès aux informations ne correspond plus à la durée relativement élevée nécessaire à la lecture des informations par la tête magnétique, mais à celle nécessaire pour lire Les informations dans La mémoire. De ce fait, le temps d'accès aux informations est réduit.The method according to the invention thus ensures the automatic reading of priority tracks according to a chosen order of priority making it possible to anticipate the readings likely to occur later. Indeed, this reading method offers the advantage of automatically transferring into a random access memory, namely the internal memory 15 of the controller, the information contained on the card, which has a high probability of being consulted later by the user. As a result, the access time to the information no longer corresponds to the relatively high duration necessary for the reading of the information by the magnetic head, but to that necessary to read the information in the memory. As a result, the access time to information is reduced.
Il est évident pour l'homme de l'art qu'à La place d'une piste ayant un secteur unique on peut utiliser une piste présentant plusieurs secteurs et que le terme "piste" utilisé dans la présente demande ainsi que dans les revendications peut avoir la signification de secteur.
IL est bien évident, aussi, que Le procédé suivant L'invention a été décrit avec une carte magnétique mais que Le procédé peut être utilisé avec une disquette dont un secteur comprendrait la stratégie de lecture ou même avec des cartes dont le matériau est enregistrable avec dès moyens optiques et qui sont bien connues dans La technique.*It is obvious to those skilled in the art that instead of a track having a single sector, a track having several sectors can be used and that the term "track" used in the present application as in the claims can have the sector meaning. It is also obvious that the method according to the invention has been described with a magnetic card but that the method can be used with a floppy disk whose sector would include the reading strategy or even with cards whose material is recordable with from optical means and which are well known in the art. *
Par ailleurs, il est à noter que le procédé selon l'invention Laisse La priorité aux ordres de commande émis par l'ordinateur, en relation avec le choix de l'utilisateur. L'invention n'est pas limitée aux exemples décrits et représentés, car diverses modifications peuvent y être apportées sans sortir de son cadre.
Furthermore, it should be noted that the method according to the invention gives priority to control orders issued by the computer, in relation to the choice of the user. The invention is not limited to the examples described and shown, since various modifications can be made thereto without departing from its scope.