FR2817633A1 - Method for determining if two otherwise identical files have the same updating date, comprises preparation of third file which bears the date of creation, modification or copying of second file - Google Patents

Method for determining if two otherwise identical files have the same updating date, comprises preparation of third file which bears the date of creation, modification or copying of second file Download PDF

Info

Publication number
FR2817633A1
FR2817633A1 FR0015637A FR0015637A FR2817633A1 FR 2817633 A1 FR2817633 A1 FR 2817633A1 FR 0015637 A FR0015637 A FR 0015637A FR 0015637 A FR0015637 A FR 0015637A FR 2817633 A1 FR2817633 A1 FR 2817633A1
Authority
FR
France
Prior art keywords
file
date
files
copying
creation
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
FR0015637A
Other languages
French (fr)
Other versions
FR2817633B1 (en
Inventor
Alain Nicolas Marie Ber Piaton
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to FR0015637A priority Critical patent/FR2817633B1/en
Publication of FR2817633A1 publication Critical patent/FR2817633A1/en
Application granted granted Critical
Publication of FR2817633B1 publication Critical patent/FR2817633B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers

Abstract

When a file (F1) in directory (D1) and volume (V1) of machine (M1) is to be compared to a second file named (F1) in directory (D2) and volume (V2) of a second machine (M2) it is necessary to check also the updating dates. If the second file has no date or it is inaccurate, comparison is frustrated but the problem may be overcome by entering file names and dates in a third file (DTM2V2D2) at creation, modification or copying

Description

<Desc/Clms Page number 1> <Desc / Clms Page number 1>

METHODE DE COMPARAISON DE
FICHIERS D'ORDINATEUR DOMAINE DE L'INVENTION Les fichiers d'un ordinateur comportent en plus de leur contenu, des éléments d'identification tel que le nom, l'emplacement du fichier dans l'arborescence des fichiers, la longueur, la date et l'heure de création, la date et l'heure de la dernière mise à jour, etc.
COMPARISON METHOD OF
COMPUTER FILES FIELD OF THE INVENTION In addition to their content, the files on a computer include elements of identification such as the name, the location of the file in the file tree, the length, the date and creation time, date and time of the last update, etc.

En général, ces éléments d'identification sont stockés sur le même disque que les contenus. In general, these identifying elements are stored on the same disk as the contents.

Dans ce qui suit, on appellera date, l'ensemble date+heure, tels que définis ci-dessus et comme on peut les voir affichés dans les différents logiciels qui manipulent les fichiers. In what follows, we will call date, the whole date + time, as defined above and as we can see them displayed in the various software which manipulate the files.

Dans un certain nombre de cas, par exemple pour synchroniser les répertoires de documents d'un ordinateur portable et d'un ordinateur fixe, on peut être amené à comparer les fichiers de même nom pour déterminer si la date de la dernière mise à jour du fichier sur telle machine est plus récente que la date de la dernière mise à jour du même fichier sur l'autre machine. In a certain number of cases, for example to synchronize the document directories of a laptop and a desktop computer, it may be necessary to compare the files of the same name to determine whether the date of the last update of the file on such machine is more recent than the date of the last update of the same file on the other machine.

Pour cela, il est nécessaire que les dates des différents fichiers soient exprimées en Coordinated Universal Time (UTC) ; en effet, si la date d'un des 2 fichiers est exprimée en heure locale, ou bien est incomplète (par exemple ne comporte pas les heures ou les minutes), on ne peut pas affirmer que telle version est plus récente qu'une autre. For this, it is necessary that the dates of the different files are expressed in Coordinated Universal Time (UTC); indeed, if the date of one of the 2 files is expressed in local time, or is incomplete (for example does not include the hours or the minutes), one cannot affirm that such version is more recent than another .

PRESENTATION DE L'INVENTION Pour remédier à cet inconvénient, l'invention propose un procédé de comparaison de 2 fichiers utilisant à la fois, d'une part les éléments d'identification de chacun des 2 fichiers tels que le nom, la longueur, la date de mise à jour, et d'autre part, des éléments d'identification qui sont lus dans un troisième fichier, éléments PRESENTATION OF THE INVENTION To remedy this drawback, the invention proposes a method of comparing 2 files using both, on the one hand, the identification elements of each of the 2 files such as the name, the length, the date of update, and secondly, identification elements which are read in a third file, elements

<Desc/Clms Page number 2><Desc / Clms Page number 2>

d'identification ayant été mémorisés au cours d'une précédente opération sur ce fichier, telle que création de fichier, modification de fichier ou recopie à partir d'un autre fichier.  identification having been memorized during a previous operation on this file, such as creation of file, modification of file or copying from another file.

DESCRIPTION DU SCHEMA EXPLICATIF La figure 1 est une description des éléments d'identification de 2 fichiers à comparer, et du contenu du troisième fichier supplémentaire généré selon l'invention. DESCRIPTION OF THE EXPLANATORY DIAGRAM FIG. 1 is a description of the identification elements of 2 files to be compared, and of the content of the third additional file generated according to the invention.

DESCRIPTION DE LA MISE EN OEUVRE DU PROCEDE SELON L'INVENTION Chaque fois que l'on copie un fichier Fichierl qui comporte le nom FI d'un répertoire Dl d'un volume VI d'une machine Ml dans lequel la date de mise à jour Tl est exprimée en UTC, vers un répertoire D2 d'un volume V2 d'une machine M2 dans lequel la date n'est pas exprimée en UTC, on va mémoriser dans un fichier supplémentaire appelé DT~M2V2D2 le répertoire D2 du volume V2 de la machine M2, une rubrique comportant d'une part le nom FI du fichier copié, d'autre part la date de mise à jour Tl, exprimée en UTC du fichier copié Fichierl. DESCRIPTION OF THE IMPLEMENTATION OF THE PROCESS ACCORDING TO THE INVENTION Each time that a file Filel which contains the name FI of a directory Dl of a volume VI of a machine Ml is copied in which the date of update Tl is expressed in UTC, to a directory D2 of a volume V2 of a machine M2 in which the date is not expressed in UTC, we will store in an additional file called DT ~ M2V2D2 the directory D2 of volume V2 of machine M2, a heading comprising on the one hand the name FI of the copied file, on the other hand the date of update T1, expressed in UTC of the copied file Filel.

La façon de mémoriser cette information peut être faite de différentes manières. There are several ways to store this information.

Soit on peut avoir un seul fichier DTM2V2D2 par répertoire D2, et ce fichier comporte autant de rubriques qu'il y a de fichiers dans le répertoire D2. Either we can have only one DTM2V2D2 file per D2 directory, and this file includes as many items as there are files in the D2 directory.

Dans un autre mode de réalisation on peut utiliser un fichier unique pour l'ensemble du volume V2 de la machine M2, stocké par exemple dans la racine du volume V2 de la machine M2, ou bien encore sur un autre volume d'une autre machine. In another embodiment, a single file can be used for the entire volume V2 of the machine M2, stored for example in the root of the volume V2 of the machine M2, or else on another volume of another machine .

Dans cet autre mode de réalisation, il est nécessaire de stocker également, en plus du nom In this other embodiment, it is necessary to store also, in addition to the name

<Desc/Clms Page number 3><Desc / Clms Page number 3>

du fichier, le chemin qui permet d'identifier le fichier Fl sans risque d'erreur.  of the file, the path which makes it possible to identify the Fl file without risk of error.

Le nom et l'extension de ce fichier DT M2V2D2 seront choisis en sorte que le logiciel qui devra effectuer la comparaison identifie ce type fichier par son seul nom. The name and extension of this DT M2V2D2 file will be chosen so that the software which will perform the comparison identifies this type of file by its only name.

Par la suite, si l'on veut comparer les dates de dernière mise à jour des 2 fichiers Fichierl et Fichier2 de même nom Fl, respectivement sur les 2 répertoires Dl et D2 des 2 volumes VI et V2 des 2 machines Ml et M2, d'une part, grâce aux routines système, on récupérera la date Tl exprimée en UTC dans le répertoire Dl du volume Vl de la machine Ml, d'autre part, on ira lire le fichier DTM2V2D2 du répertoire D2, et en explorant les différentes rubriques de ce fichier, on récupérera le date Tl'correspondant au fichier Fl telle qu'elle avait été mémorisée au moment de la recopie initiale. Subsequently, if we want to compare the dates of the last update of the 2 files Filel and File2 of the same name Fl, respectively on the 2 directories Dl and D2 of the 2 volumes VI and V2 of the 2 machines Ml and M2, d on the one hand, thanks to the system routines, we will retrieve the date Tl expressed in UTC in the directory Dl of the volume Vl of the machine Ml, on the other hand, we will read the file DTM2V2D2 from the directory D2, and by exploring the different sections from this file, the date Tl will correspond to the file F1 as it had been memorized at the time of the initial copying.

La comparaison des 2 dates Tl et Tl', exprimées en UTC permettra de déterminer avec certitude si une date est plus récente que l'autre. The comparison of the 2 dates T1 and T1, expressed in UTC will make it possible to determine with certainty if one date is more recent than the other.

Bien évidemment, pour que le procédé fonctionne correctement, il est indispensable que toutes les opérations qui modifient les fichiers sur la machine M2 gèrent correctement ce fichier supplémentaire DTM2V2D2. Obviously, for the process to work correctly, it is essential that all the operations which modify the files on the M2 machine correctly manage this additional file DTM2V2D2.

Si l'on part d'un disque D2 vierge de toute information, et si tous les fichiers sur le volume V2 sont créés ou modifiés en respectant le procédé, on obtiendra les mêmes avantages que si tous les fichiers utilisaient les dates UTC. If we start from a D2 disk devoid of any information, and if all the files on volume V2 are created or modified by respecting the process, we will obtain the same advantages as if all the files used the UTC dates.

L'utilisation de ce fichier supplémentaire peut être utile pour mémoriser puis comparer des informations d'une autre nature, comme des attributs de fichier, des notions de sécurité, ou tout autre type d'information incorrectement ou non géré par la machine M2.The use of this additional file can be useful for memorizing and then comparing information of another nature, such as file attributes, security concepts, or any other type of information incorrectly or not managed by the M2 machine.

Claims (2)

REVENDICATIONS : 1-Procédé de comparaison de 2 fichiers par leurs éléments d'identification, comportant au moins le nom du fichier et la date et l'heure de la dernière mise à jour du fichier, caractérisé en ce que au moins un des éléments d'identification utilisé au cours de la comparaison, d'au moins un des 2 fichiers, ~ est lu dans un troisième fichier qui comporte au moins le nom du fichier à comparer et ledit élément d'identification, ledit élément d'identification ayant été mémorisé au cours d'une précédente opération sur ce fichier, telle que création de fichier, modification de fichier ou recopie à partir d'un autre fichier. CLAIMS: 1-Method for comparing 2 files by their identification elements, comprising at least the name of the file and the date and time of the last update of the file, characterized in that at least one of the elements d identification used during the comparison of at least one of the 2 files, ~ is read in a third file which includes at least the name of the file to be compared and said identification element, said identification element having been stored during a previous operation on this file, such as creating a file, modifying a file or copying from another file. 2-procédé de comparaison selon la revendication 1 caractérisé en ce que ce troisième fichier contenant les éléments d'identification se trouve placé dans le même répertoire que les fichiers dont il contient les éléments d'identification.2-comparison method according to claim 1 characterized in that this third file containing the identification elements is placed in the same directory as the files of which it contains the identification elements.
FR0015637A 2000-12-04 2000-12-04 COMPARISON METHOD OF COMPUTER FILES Expired - Fee Related FR2817633B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
FR0015637A FR2817633B1 (en) 2000-12-04 2000-12-04 COMPARISON METHOD OF COMPUTER FILES

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
FR0015637A FR2817633B1 (en) 2000-12-04 2000-12-04 COMPARISON METHOD OF COMPUTER FILES

Publications (2)

Publication Number Publication Date
FR2817633A1 true FR2817633A1 (en) 2002-06-07
FR2817633B1 FR2817633B1 (en) 2003-02-28

Family

ID=8857173

Family Applications (1)

Application Number Title Priority Date Filing Date
FR0015637A Expired - Fee Related FR2817633B1 (en) 2000-12-04 2000-12-04 COMPARISON METHOD OF COMPUTER FILES

Country Status (1)

Country Link
FR (1) FR2817633B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5473772A (en) * 1991-04-02 1995-12-05 International Business Machines Corporation Automatic update of static and dynamic files at a remote network node in response to calls issued by or for application programs
US5727202A (en) * 1995-10-18 1998-03-10 Palm Computing, Inc. Method and apparatus for synchronizing information on two different computer systems
US5832511A (en) * 1992-06-11 1998-11-03 Beck Systems, Inc. Workgroup network manager for controlling the operation of workstations within the computer network
US5928329A (en) * 1992-12-02 1999-07-27 Compaq Computer Corporation System for automatic synchronization of common file between portable computer and host computer via communication channel selected from a plurality of usable channels therebetween

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5473772A (en) * 1991-04-02 1995-12-05 International Business Machines Corporation Automatic update of static and dynamic files at a remote network node in response to calls issued by or for application programs
US5832511A (en) * 1992-06-11 1998-11-03 Beck Systems, Inc. Workgroup network manager for controlling the operation of workstations within the computer network
US5928329A (en) * 1992-12-02 1999-07-27 Compaq Computer Corporation System for automatic synchronization of common file between portable computer and host computer via communication channel selected from a plurality of usable channels therebetween
US5727202A (en) * 1995-10-18 1998-03-10 Palm Computing, Inc. Method and apparatus for synchronizing information on two different computer systems

Also Published As

Publication number Publication date
FR2817633B1 (en) 2003-02-28

Similar Documents

Publication Publication Date Title
US8635191B2 (en) Content manager
US7672962B2 (en) Methods and systems for managing data
US9213708B2 (en) Methods and systems for managing data
US8150837B2 (en) Methods and systems for managing data
US8548965B2 (en) Changed files list with time buckets for efficient storage management
US8793232B2 (en) Methods and systems for managing data
US20080040388A1 (en) Methods and systems for tracking document lineage
US20090113282A1 (en) Automatic Linking of Documents
US20030055828A1 (en) Methods for synchronizing on-line and off-line transcript projects
FR2817633A1 (en) Method for determining if two otherwise identical files have the same updating date, comprises preparation of third file which bears the date of creation, modification or copying of second file
US6330571B1 (en) Method and computer program product for implementing datalink path protection
Muendler et al. Transforming EconLit downloads to BibTeX archives with elit2bib
Mendelsohn The Internet in otolaryngology practice
FR2834092A1 (en) Method for updating data from a HTML code fragment, uses a model of the HTML page held as a tree structure by the searching robot to avoid failure to read caused by minor changes to page

Legal Events

Date Code Title Description
ST Notification of lapse