CONTROL SYSTEM ENABLING COMPARISON BETWEEN TWO CHARACTER STRINGS AND METHOD OF INSTALLING A NEW CONFIGURATION IN AN AIRCRAFT
20170242676 · 2017-08-24
Inventors
Cpc classification
B64F5/40
PERFORMING OPERATIONS; TRANSPORTING
International classification
B64F5/40
PERFORMING OPERATIONS; TRANSPORTING
Abstract
A control system and method enabling comparison of first and second character strings, the control system comprising a first source of information supplying the first string and a second source of information embedded in an aircraft and supplying the second string. A first processing module can model the first character string, each first character string character divided into a given number H×W of standardized elements comprising sign elements and background elements. The first processing module can transform each character into a standardized image. A second processing module can model the second character string, each character divided into H×W standardized elements comprising sign elements and background elements, and can transform each character into a standardized image in which each standardized element is associated with a comparison code. A comparison module can load the first string into the first module and load the second string into the second module for processing.
Claims
1. A control system enabling a comparison of a first character string and of a second character string, the control system comprising a first source of information supplying the first character string and a second source of information embedded in an aircraft and supplying the second character string, the control system comprising: a first processing module configured to model the first character string on a pre-established formal scheme, each character of the first character string then being divided into a given number H×W of standardized elements comprising sign elements and background elements, the first processing module being also configured to transform each character of the first character string into a standardized image in which each standardized element is associated with a comparison code which is either a display color, or a bit value, all the sign elements being associated with a same first comparison code, all the background elements being associated with a same second comparison code which is opposite to the first comparison code; a second processing module configured to model the second character string on the same pre-established formal scheme, each character of the second character string then being divided into H×W standardized elements comprising sign elements and background elements, the second processing module being also configured to transform each character of the second character string into a standardized image in which each standardized element is associated with a comparison code which is either a display color, or a bit value, all the sign elements being associated with a same third comparison code, all the background elements being associated with a same fourth comparison code which is opposite to the third comparison code; a comparison module configured to, in response to an action to start a comparison operation by an operator: load the first character string into the first processing module and load the second character string into the second processing module for them to be processed; and for each pair of characters to be compared formed by a first character belonging to the first character string and a second character belonging to the second character string, perform a superposition of standardized images of the characters, element by element, each element of the standardized image of the first character being superposed on a corresponding element of the standardized image of the second character, the superposition of two elements giving rise to an operation on their comparison code.
2. The control system according to claim 1, comprising: a display screen that is a multilayer screen comprising at least one first logic layer and one second logic layer; wherein the comparison codes are display colors, two different colors defining opposite comparison codes; wherein the first and second processing modules are configured to construct reversed standardized images, such that a first color A is assigned to all the sign elements of the first character and to all the background elements of the second character, and such that a second color B, different from the first color A, is assigned to all the background elements of the first character and to all the sign elements of the second character; and the superposition operation comprises displaying a resultant image from a reference point in a check zone of the multilayer screen, the resultant image corresponding to the superposition of the first and second character strings processed, an element of the resultant image which results from the superposition of an element of color A and of an element of color B being displayed using a pixel of a third color A+B, an element of the resultant image which results from the superposition of two elements of color A being displayed using a pixel of color A, an element of the resultant image which results from the superposition of two elements of color B being displayed using a pixel of color B.
3. The control system according to claim 2, comprising a portable electronic maintenance tool and wherein the multilayer display screen is incorporated in the portable electronic maintenance tool.
4. The control system according to claim 2, comprising an embedded control terminal in the aircraft and wherein the multilayer screen is incorporated in the embedded control terminal.
5. The control system according to claim 2, comprising a test module which: when activated by the operator, triggers the display on all of the multilayer screen of an entirely white page to detect any dead or damaged pixels which will then appear black on the white page; and which enables the operator, if the operator detects a black pixel in the check zone, to change the reference point so as to move the check zone into a zone of the screen without any dead or damaged pixel.
6. The control system according to claim 1, wherein: the comparison codes are bit values, such that the enriched standardized images of the characters are binary matrix images, the value 0 and the value 1 constituting opposite comparison codes; the superposition operation comprises, for each pair of characters to be compared, constructing a check matrix in which the matrix elements are the resultant of a logical operation performed term-by-term on the binary matrix image of the first character and on the binary matrix image of the second character.
7. The control system according to claim 6, wherein the logical operation is chosen from a logical OR operation and a logical AND operation, the logical OR operation being defined by the rules: 0 OR 0=0, 0 OR 1=1, 1 OR 0=1, 1 OR 1=0, the logical AND operation being defined by the rules: 0 AND 0=1, 0 AND 1=0, 1 AND 0=0, 1 AND 1=1.
8. The control system according to claim 6, wherein the comparison module is configured to, in addition: for each pair of characters to be compared, perform an intermediate sum of the elements of the check matrix; and perform a final sum of all the intermediate sums, display the final sum as well as a reference value to which the final sum must be compared by an operator.
9. The control system according to claim 7, wherein: the binary matrix images of the characters of the first character string and of the characters of the second character string are constructed in an inverted manner, such that the first and third comparison codes are opposite; and the logical operation used is the OR operation and the reference value is the product Nb×H×W, in which Nb denotes the number of characters of the first and second strings to be compared.
10. The control system according to claim 7, wherein: the binary matrix images of the characters of the first character string and of the characters of the second character string are constructed in an inverted manner, which means that the first and third character codes are opposite; and the logical operation used is the AND operation and the reference value is 0 (zero).
11. The control system according to claim 7, wherein: the binary matrix images of the characters of the first character string and of the characters of the second character string are constructed identically, which means that the first and third comparison codes are equal; and the logical operation used is the OR operation and the reference value is 0 (zero).
12. The control system according to claim 7, wherein: the binary matrix images of the characters of the first character string and of the characters of the second character string are constructed identically, which means that the first and third comparison codes are equal; and the logical operation used is the AND operation and the reference value is the product Nb×H×W, in which Nb denotes the number of characters of the first and second strings to be compared.
13. The control system according to claim 1, further comprising a validation module making it possible, upon input by the operator of a response to a validation request aiming to confirm or deny that the two character strings are identical, to terminate a comparison operation.
14. The control system according to claim 1, comprising a portable maintenance tool and/or an embedded control terminal, wherein the first processing module is incorporated in the portable maintenance tool and/or in the embedded control terminal, and wherein the second processing module is incorporated in the embedded control terminal or in each equipment item of the aircraft, and in that the comparison module is incorporated in the portable maintenance tool and/or in the embedded control terminal.
15. The control system according to claim 1, wherein the action to start a comparison operation is chosen from the group consisting of: input in an embedded control terminal of the aircraft or in a portable maintenance tool, of a response to a request in starting a comparison operation; selection of the first character string on an electronic job card; the scanning of a code representing the first character string on a paper job card; and selection of an equipment item or group of equipment items represented by the second character string in an embedded control terminal.
16. A computer program comprising program code instructions stored on a computer-readable medium, enabling a comparison of a first character string and of a second character string, comprising: a first processing module comprising computer-readable programming means for, when the program is run on a computer, modeling the first character string on a pre-established formal scheme, each character of the first character string then being divided into a given number H×W of standardized elements comprising sign elements and background elements, the first processing module also comprising computer-readable programming for, when the program is run on a computer, transforming each character of the first character string into a standardized image in which each standardized element is associated with a comparison code which is either a display color, or a bit value, all the sign elements being associated with a same first comparison code, all the background elements being associated with a same second comparison code which is opposite to the first comparison code; a second processing module which comprises computer-readable programming for, when the program is run on a computer, modeling the second character string on the same pre-established formal scheme, each character of the second character string then being divided into H×W standardized elements comprising sign elements and background elements, the second processing module also comprising computer-readable programming for, when the program is run on a computer, transforming each character of the second character string into a standardized image in which each standardized (sign or background) element is associated with a comparison code which is either a display color, or a bit value, all the sign elements being associated with a same third comparison code, all the background elements being associated with a same fourth comparison code which is opposite to the third comparison code, a comparison module which comprises computer-readable programming for, when the program is run on a computer, in response to an action to start a comparison operation by an operator, load the first character string into the first processing module and load the second character string into the second processing module for them to be processed, for each pair of characters to be compared formed by a first character belonging to the first character string and a second character belonging to the second character string, to perform a superposition of the standardized images of the characters, element by element, each element of the standardized image of the first character being superposed on a corresponding element of the standardized image of the second character, the superposition of two elements giving rise to an operation on their comparison code.
17. A method for installing a new configuration in an aircraft, in which a job card listing updates to be performed is supplied to an operator, and in which, for each of the updates listed in the job card, comprising: an operator selecting an embedded equipment item in the aircraft or a group of embedded equipment items via an embedded control terminal; performing a comparison operation between a first character string supplied by the job card and identifying the update, and a second character string supplied by the equipment item or group of equipment items selected and identifying the equipment item or group of equipment items selected; the operator triggering installation of a software update in the equipment item or group of equipment items selected by validating the comparison when the first and second character strings are identical; and the operator using a control system to perform each of the comparison operations, the control system enabling a comparison of a first character string and of a second character string, the control system comprising a first source of information supplying the first character string and a second source of information embedded in an aircraft and supplying the second character string, the control system comprising: a first processing module configured to model the first character string on a pre-established formal scheme, each character of the first character string then being divided into a given number H×W of standardized elements comprising sign elements and background elements, the first processing module being also configured to transform each character of the first character string into a standardized image in which each standardized element is associated with a comparison code which is either a display color, or a bit value, all the sign elements being associated with a same first comparison code, all the background elements being associated with a same second comparison code which is opposite to the first comparison code; a second processing module configured to model the second character string on the same pre-established formal scheme, each character of the second character string then being divided into H×W standardized elements comprising sign elements and background elements, the second processing module being also configured to transform each character of the second character string into a standardized image in which each standardized element is associated with a comparison code which is either a display color, or a bit value, all the sign elements being associated with a same third comparison code, all the background elements being associated with a same fourth comparison code which is opposite to the third comparison code; a comparison module configured to, in response to an action to start a comparison operation by an operator: load the first character string into the first processing module and load the second character string into the second processing module for them to be processed; and for each pair of characters to be compared formed by a first character belonging to the first character string and a second character belonging to the second character string, perform a superposition of standardized images of the characters, element by element, each element of the standardized image of the first character being superposed on a corresponding element of the standardized image of the second character, the superposition of two elements giving rise to an operation on their comparison code.
18. The method according to claim 17, wherein the operator uses a the control system and validates the comparison when the check zone of the multilayer screen uniformly displays one and the same color (A+B), and in that the operator does not validate the comparison when at least one pixel of the check zone does not display the same color as other pixels of the check zone.
19. The method according to claim 17, wherein the operator uses a comparison system wherein: the comparison codes are bit values, such that the enriched standardized images of the characters are binary matrix images, the value 0 and the value 1 constituting opposite comparison codes; the superposition operation comprises, for each pair of characters to be compared, constructing a check matrix in which the matrix elements are the resultant of a logical operation performed term-by-term on the binary matrix image of the first character and on the binary matrix image of the second character; and wherein the operator validates the comparison when the final sum is equal to the reference value, and in that the operator does not validate the comparison when the final sum is not equal to the reference value.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0072] Other details and advantages of the present disclosure will become apparent on reading the following description, which refers to the attached schematic drawings and relates to preferential embodiments, provided as nonlimiting examples. In these drawings:
[0073]
[0074]
[0075]
[0076]
[0077]
[0078]
[0079]
[0080]
[0081]
DETAILED DESCRIPTION
[0082] The table illustrated in
[0083] In the context of a method for installing a new configuration in an aircraft, a maintenance operator must install updates of software used by various embedded equipment items in the aircraft. These updates are stored on a software medium handed over to the operator with a job card indicating the equipment items concerned in the form of a list of identifiers (FIN+PNR) representing the updates. In the example described below and which uses a control system as illustrated in
[0084] Moreover, the embedded control terminal 4 comprises a screen 6. The screen 6 is qualified as multilayer because it comprises at least one first logic layer 7, one second logic layer 8 and possibly a background layer 9 (see
[0085] When an update is downloaded into the embedded control terminal 4 and then is installed in an equipment item or group of equipment items, the operator must ensure that the update does indeed have the same software and hardware identifiers as the equipment item selected. To this end, according to the disclosure herein, the maintenance operator has a control system and a control application incorporated at least partly in the control terminal 4, and which comprise a first processing module 10, a second processing module 11 and a comparison module 12.
[0086] A first window of the control application presents a widget 19 called “source” (see top of
[0087] In the first version of the disclosure herein, the first processing module 10 then models the first identifier according to a pre-established formal scheme and defines each sign element of the first identifier as being a transparent element and each background element of the first identifier as being a white element. This processing amounts to “virtually displaying” the duly processed first identifier on the first logic layer 7 of the screen with transparent signs on white background, which means that each sign element of the characters of this first identifier will have no impact in determining the color and the intensity of the corresponding pixel in the final display (the contribution of this sign element to the RGB percentages of the corresponding pixel of the screen is zero; everything happens as if this sign element were transparent in the superposition of the images associated with the various logic layers). It should be noted that the transparent elements (the signs in this case) appear in black in
[0088] A second press (see bottom part of
[0089] A third press on the source widget 19 triggers the loading of the first and second identifiers as previously processed into the comparison module 12, which provokes the display on the screen 6 of the two identifiers superposed, that is to say the display of the image resulting from the superposition of the images “virtually displayed” on the logic layers 7 and 8 (and 9 if necessary) in a check zone 20. The resultant image therefore corresponds to the superposition of the first identifier, with transparent/black signs on a white background, and of the second identifier, with white signs on a transparent/black background. This third press on the “source” widget also provokes the display of a “validate” widget and of a “do not validate” widget, linked to a validation module 21.
[0090] If the two identifiers are identical, the resultant image is white as illustrated in
[0091] It can be deduced therefrom that:
[0092] The presence of a black pixel in the check zone 20 reflects the fact that the identifiers are different, provided that it is not a dead or damaged pixel, which can be checked using a test module 22. If necessary, the position of the black pixels in the check zone 20 enables the operator to determine the characters which differ from one identifier to the other.
[0093] In the absence of a black pixel, that is to say if the check zone 20 is entirely white (
[0094] In the second version of the disclosure herein, a first press on the widget 19 also triggers the downloading of the first identifier into the first processing module 10. Here again, the first processing module 10 models the first identifier according to a pre-established formal scheme. Next, the two versions of the disclosure herein differ. In the second version, instead of assigning a display color to each standardized element 1 of the first character string, the first processing module 10 assigns a bit value to the elements. In other words, the first processing module 10 transforms each character of the first identifier into a binary matrix image 23 as illustrated in
[0095] A second press on the source widget 19 triggers the downloading of the second identifier into the second processing module 11, the modeling thereof according to the pre-established formal scheme and the transformation of each of the characters into a binary matrix image 24, of the same dimensions (7 columns and 6 rows in the example illustrated) as the binary matrix images 23 created for the first identifier.
[0096] A number of embodiments are possible, four have been described above, just one will be detailed hereinbelow by way of example (that which corresponds to the second embodiment above).
[0097] Each character of the second identifier is therefore transformed into a 6×7 binary matrix image in which the value 1 is assigned to each sign element whereas the value 0 is assigned to each background element of the character. The matrix images of the first and second identifiers are therefore constructed in reverse in this example.
[0098] A third press on the source widget 19 triggers the loading of the first and second identifiers as previously processed, into the comparison module 12, which then computes a check matrix 25 for each pair of characters to be compared, by using the AND logical operation.
[0099] When two characters to be compared are identical, each sign element of the first character, represented by the value 0, corresponds to a sign element of the second character, of value 1. Each element of the check matrix corresponding to a sign element of the first character therefore has the value 0 AND 1=0. Similarly, each background element of the first character, represented by the value 1, corresponds to a background element of the second character, of value 0, and the corresponding element of the check matrix has the value 1 AND 0=0. In conclusion, when two characters to be compared are identical, all the elements of their check matrix 25 have the value 0. This particular case can be observed in
[0100] The comparison module also computes the intermediate sum of each check matrix, which is zero if the check matrix has only elements that are of value 0, then the final sum of all the intermediate sums, which final sum is then displayed on the screen 6. As previously explained for the first version of the disclosure herein, also displayed are a “validate” widget and a “do not validate” widget, linked to the validation module 21.
[0101] If the first and second identifiers are identical, the final sum is zero. The reverse is also true: if the final sum is zero, the two identifiers are identical. The operator must in this case press on the “validate” widget to terminate the comparison and signal to the system that the update performed is valid, this information being then stored, via the validation module 12, in a memory of the control terminal 4 for example.
[0102] If the final sum is non-zero, it can be deduced therefrom that the two identifiers are not identical. This particular case can be observed in
[0103] It should be noted that the control system according to the disclosure herein can be configured to conduct two complementary comparisons for each update, one according to the first version of the disclosure herein, the other according to the second version, in order to limit even further any risk of error.
[0104] The disclosure herein can be the subject of numerous variants in relation to the embodiments described above and illustrated, provided that they remain within the context defined by the attached claims.
[0105] As an example, the second processing module 11 can be incorporated in the maintenance tool 5.
[0106] The subject matter disclosed herein can be implemented in software in combination with hardware and/or firmware. For example, the subject matter described herein can be implemented in software executed by a processor or processing unit. In one exemplary implementation, the subject matter described herein can be implemented using a computer readable medium having stored thereon computer executable instructions that when executed by a processor of a computer control the computer to perform steps. Exemplary computer readable mediums suitable for implementing the subject matter described herein include non-transitory devices, such as disk memory devices, chip memory devices, programmable logic devices, and application specific integrated circuits. In addition, a computer readable medium that implements the subject matter described herein can be located on a single device or computing platform or can be distributed across multiple devices or computing platforms.
[0107] While at least one exemplary embodiment of the present invention(s) is disclosed herein, it should be understood that modifications, substitutions and alternatives may be apparent to one of ordinary skill in the art and can be made without departing from the scope of this disclosure. This disclosure is intended to cover any adaptations or variations of the exemplary embodiment(s). In addition, in this disclosure, the terms “comprise” or “comprising” do not exclude other elements or steps, the terms “a”, “an” or “one” do not exclude a plural number, and the term “or” means either or both. Furthermore, characteristics or steps which have been described may also be used in combination with other characteristics or steps and in any order unless the disclosure or context suggests otherwise. This disclosure hereby incorporates by reference the complete disclosure of any patent or application from which it claims benefit or priority.