Method for processing data from one- or two-dimensional code, and corresponding devices and program

EP4453779A1Pending Publication Date: 2024-10-30OXYLEDGER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
EP2022836292
Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-12-21
Filing Date
2022-12-21
Publication Date
2024-10-30

Smart Images

  • Figure 1.1
    Figure 1.1
Patent Text Reader

Abstract

The invention relates to a data processing method implemented within a data processing device (TERM). The method comprises at least one iteration of the following steps: - obtaining (S02) a string of characters (READ_STR); - storing (S04) the string of characters in a buffer memory (DB) that is accessible to a processing application (APP) run by a browser (WB) within the electronic device (TERM); - syntactically analysing (S06), by means of the application, the string of characters, the syntactic analysis (S06) continuously determining (S60) the presence of a prefix (PREFIX) having a predetermined form at the beginning of the string of characters stored in the buffer memory (DB); and - extracting (S62) a sub-string of characters (AIM_ID, P_STR) from the string of characters using the prefix (PREFIX) if the prefix (PREFIX) is present, otherwise dumping (S64) the buffer memory (DB); - transmitting (S08) the extracted sub-string of characters (AIM_ID, P_STR) to a server application (SERV).
Need to check novelty before this filing date? Find Prior Art

Description

[0001] DESCRIPTION

[0002] TITLE: Method for processing data from one- or two-dimensional code, devices and corresponding program.

[0003] 1. Field of the invention

[0004] The invention relates to the field of processing medical data, and more particularly to the processing of technical data produced in the context of an implantation of an implantable medical device (or DMI) or a medical device (DM) used for the implementation of an implantable medical device.

[0005] The term implantable medical device may refer to a medical device intended to be totally or partially introduced, by surgery or medical means, into the human body, or by medical intervention in a natural orifice, and which is intended to remain there after the intervention.

[0006] 2. Prior art

[0007] The traceability of DMIs and MDs is imperative and is strictly regulated. Each DMI must be traceable anywhere and at all times, from its manufacture until the end of its life cycle, including and especially during its implementation - this being the most critical stage of this life cycle. This requires that each DMI be uniquely identified using a DMI identifier. Good traceability at the time of installation then makes it possible to manage batch recalls (implanted or not).

[0008] Furthermore, DMIs are becoming more complex every year, due to their increasing connectivity, their custom manufacturing, increasingly technical and biocompatible materials, and their design, which integrates ever more sensors. This increasing complexity, as well as the extremely strict regulations accompanying it, requires rich and precise monitoring of each implanted DMI. DMI manufacturers must identify, trace and assess the conformity (in particular in PMS for "Post Market Surveillance") of the DMIs produced. In particular, the collection of data in PMS is an essential procedure in the context of the production of a given DMI, in order to assess the benefit-risk ratio of this DMI, essential for maintaining the certification authorizing the marketing of this DMI.This data collection and traceability are also an essential element in building and maintaining trust between patients, medical authorities and EMR manufacturers.

[0009] However, to date, there is a significant lack of organizations and IT resources to achieve satisfactory traceability of EMRs. The IT resources - both hardware and software - implemented within healthcare establishments are incomplete and disparate. This concerns the effective acquisition of data (particularly at the time of implantation), their collection, centralization and processing, these different stages serving to establish the health traceability of implanted EMRs throughout their life cycle.

[0010] The current way of entering data relating to an EMR is also not very ergonomic, as it is completely unsuitable for entry during an implantation, particularly in an operating room. Data relating to an EMR being implanted is generally entered by hand. This can be done, for example, in an operating book, in which the EMR identifiers are copied, and alongside these identifiers, additional information is written by hand. This additional information may relate to a given EMR or its implantation - typically in the event of a problem during the EMR implantation or if it fails. Thus, entering this data (EMR identifiers and additional information) is cumbersome and prone to errors.

[0011] Collecting and processing this data once entered, while essential, is also extremely cumbersome and error-prone. All data entered must be collected manually and recorded in a suitable database.

[0012] The consequence of these deficiencies in EMR data management, both in terms of data entry and processing, is that only a minority of patients are able to retrieve their EMR implant data, and this retrieval is not tracked in the majority of cases. Furthermore, the reporting of this data is generally partial, with disparate data entry and a large number of errors. This causes recurring disputes between patients and hospital departments. Resolving these disputes requires lengthy manual interventions - particularly the search for manually entered raw data, when it exists. This phenomenon is increasing with the increase in the number of EMR implants. There is therefore a need for more automated data entry, adapted to the specific constraints of medical interventions.

[0013] A first approach could be the use of barcodes to identify EMRs, which is less error-prone than handwritten entry. Such barcodes are read using a barcode reader commonly called a "barcode scanner". For example, patent FR 3053811 describes a method for identifying medical devices using a barcode. This makes it possible to identify a medical device, and in particular an EMR. The method, however, is essentially only usable for managing EMR stocks within a healthcare facility. Furthermore, the method described in FR 3053811 does not allow for the automated entry of data other than medical device identifiers. This method is also not suitable for use in an operating room during an implantation, particularly when additional information relating to the EMR and its implantation must be entered.Thus, during an implantation, the nursing staff can certainly enter identifiers more reliably by scanning them, but on the other hand, the additional information necessary for the proper traceability of the DMI always remains entered manually.

[0014] In practice, this means simply pasting the barcode identifying the DMI to be implanted into an operating room notebook. The additional information accompanying this identifier is then entered by hand. The problem of entering and processing this data therefore remains.

[0015] In other cases, the barcode is read by a barcode scanner (and therefore read indirectly by a computer), but the additional information is still entered manually, using a keyboard and mouse. This certainly streamlines the data processing part, since the data is recorded directly into a computer, but the data entry (particularly the additional information) itself remains cumbersome for users, and a source of all kinds of errors. Here again, the obstacles to good traceability of DMIs remain.

[0016] Furthermore, entering additional information, whether using a keyboard and mouse or a pen, poses major hygiene concerns within the operating room. It is necessary to disinfect the keyboard and / or mouse to be used in addition to the handheld scanner, and then protect these three peripherals with plastic film. This complicates the preparation of the operating room. Unfortunately, the process of patent FR 3053811 also relies essentially on manual entry of information into a database, in particular the manufacturer code of the DMI which identifies the manufacturer of the DMI. Thus, this process remains very incomplete in terms of data entry, and also requires knowing the codes that actually relate to the manufacturer, which is not necessarily the case given the multiplicity of 1D or 2D codes present on an DMI box, or even on the DMI itself.

[0017] In fact, the process of patent FR 3053811 only marginally simplifies data entry (essentially the entry of medical device identifiers), which is very unsatisfactory.

[0018] 3. Statement of the invention

[0019] The invention was designed to overcome at least some of the drawbacks of the prior art.

[0020] The invention proposes a method, implemented within an electronic data processing device, comprising at least one iteration of the following steps:

[0021] - obtaining an input character string (“string” in English) resulting from the reading of at least one barcode by an optical device;

[0022] - storing the input character string in a buffer accessible to a processing application running within a browser;

[0023] - parsing the input character string by the application, the parsing including a continuous determination of the presence of a prefix of predetermined form at the beginning of the input character string stored in the buffer, and

[0024] - Extracting a substring from the input string using the prefix if the prefix is ​​present, otherwise flushing the buffer;

[0025] - transmitting the extracted character substring to a server application.

[0026] Thus, this process makes it possible to fully automate the entry of information relating to an implantation, in particular by improving the interfacing of the data transmitted to the application, without limiting the responsiveness of this application, in particular when keystrokes are made on the keyboard of the electronic device. This process is all the more advantageous since it is based on reading character strings resulting from the reading of different barcodes. In other words, the entire manual part of the entry can be carried out using a single device (the barcode reader), the subsequent steps (formatting, processing, analysis, etc.) being automated by the "frontend" application and the server application. This saves time for users - both when preparing an implantation and when entering it.

[0027] In addition, this process allows a wide variety of barcodes to be entered, particularly barcodes relating to additional information to be entered, and associate them with an EMR. This automates the entire data entry process, saving time and reducing errors.

[0028] Finally, this process is executed within a browser. This allows this process to be implemented on a wide variety of computer terminals and operating systems, considerably reducing compatibility problems between the different types of computer terminals used: personal computer, tablet, smartphone, etc. The transmission of data to a server application also simplifies the collection of data and their centralization, for processing and traceability purposes. The optimized management of the buffer memory according to the invention streamlines communication between the computer terminal and the server and also makes it possible to distinguish between manual and automatic entries.

[0029] According to a particular feature, extracting the substring comprises when the prefix is ​​present in the input string determining the presence of a predetermined suffix in the input string, and determining the substring using the prefix and the suffix.

[0030] The combined use of the already identified prefix and the suffix allows the substring of characters to be extracted quickly, the ease of the operation streamlining the entire process.

[0031] According to a particular feature obtaining the input string includes:

[0032] - a step of acquiring a raw character string resulting from the reading of the barcode by the optical device,

[0033] - a step of identifying, within the raw character string, the presence of control characters belonging to a predetermined group of control characters,

[0034] - a step of replacing within the raw character string, each of the control characters identified by a respective predetermined substitution character string, delivering a processed character string,

[0035] - a step of restoring the input character string from the processed character string.

[0036] Replacing control characters with carefully chosen substitution character strings prevents these control characters from interfering with the transmission during transmission from the optical reader to the application. For example, this prevents the case where part of the input character string containing one of these control characters is interpreted by one of the elements of the transmission stack (operating system, driver, browser, etc.) as an instruction and not as keyboard input. This also prevents encoding problems during transmission.

[0037] According to a particular characteristic, the substitution character string of a control character comprises the concatenation, in order, of a control character prefix, a character string representative of the control character and a control character suffix, the control character prefix and the control character suffix being common to the control characters.

[0038] This implementation example has the advantage of having substitution strings of similar sizes, standardizing and simplifying their processing. The size of these substitution strings can be reduced, which reduces the time between entering data and displaying this entered data for a user. In addition, this type of substitution string makes it possible to avoid almost any collision with one of the pre-existing barcode standards.

[0039] According to a particular characteristic, the restitution of the input character string includes:

[0040] - obtaining a symbology character string representative of the symbology of the barcode from which the raw character string originates; - restoring, as an input character string, the concatenation, in order, of the prefix, the symbology character string, the processed character string and the suffix.

[0041] Parsing of the resulting input string is thus facilitated, given the explicit indication of the symbology of the payload carried by the input string.

[0042] According to a particular characteristic the storage of the input character string in the buffer memory comprises, for each character read from the input character string

[0043] - emulation of a keyboard stroke representative of the said character read, and

[0044] - writes the character read from the emulated keyboard stroke to the buffer.

[0045] Using a keystroke emulation, such as the KeyboardEvent type for the Mozilla Firefox browser, allows the input string to be transmitted to the application character by character. It is also possible to optimize this transmission by analyzing the characters one by one, as will be seen below.

[0046] According to a particular feature, the registration of the read character is ignored if the keystroke belongs to a predetermined group of events.

[0047] This group of events, which may include, for example, the Alt, CapsLock, Control, Fn, NumLock, Process, Shift keys, etc., may interfere with the application, as it is executed by a given browser within a given operating system. This prevents input incidents, for example, losing focus on the browser, or a tab in that browser, running the application, or closing one of the elements in the transmission stack, etc.

[0048] According to a particular characteristic, the writing of the read character in the buffer memory includes the emptying of the buffer memory before the actual writing of the read character if the duration between the keystroke and a previous keystroke exceeds a predetermined threshold.

[0049] This additional condition allows us to distinguish between manual keyboard input and keystroke emulation induced by obtaining the read data, as manual input is typically much slower than keystroke emulation. We can also consider an adaptive threshold to distinguish between manual input, which has a jerky rhythm, and the result of keystroke emulation, which is much more regular.

[0050] In an exemplary embodiment, the predetermined threshold is approximately 500 ms. This threshold value is a compromise between a threshold that is too low - the slightest slowdown of the reader / application transmission stack causing an undue flushing of the buffer memory - and a threshold that is too high - this criterion no longer satisfactorily discriminates between manual entries and keyboard emulation.

[0051] According to a particular feature, the various character strings (PREFIX, SUFFIX, C_PREFIX, C_SUFFIX, AIMJD, SUB_STR) added during the process include characters included in the non-extended ASCII table. Thus, the input character string from the various steps of the process is encoded in a non-extended ASCII format, thus guaranteeing compatibility with a very large number of operating systems and browsers.

[0052] According to a particular characteristic, the prefix begins with the character string "{@}". This particular character string has several advantages. The opening brace character "{" (like the closing brace) usually requires two keys to be pressed simultaneously on a keyboard (for example, AltGr and the 4 key in QWERTY layout), which makes it unlikely that manual input including this character would be possible while respecting the criterion of a reduced delay between two keystrokes. Using this bracket character before the at character @ prevents the entry of an email address from interfering with the emulation of keystrokes, unless this email address includes an opening brace just before the at character.This choice of prefix start also has the advantage of being able to enter email addresses (with an at sign) without interception by the method of the invention (in other words, without cancellation of the propagation of the keyboard event linked to the typing of the @ key, since it is never preceded by the opening brace "{"). If ever a user were to wish to enter an opening brace, the user would simply have to hit the key twice (the first keystroke would have its propagation canceled by the method, but not the second). This counterpart concerning the opening bracket key (rarely entered) allows the transparent integration of the method in a computer and within a browser. Similar characteristics can be transcribed for any type of keyboard layout (QWERTY for example) with different characters.

[0053] According to a particular characteristic, the transmission of the character substring to the server application includes:

[0054] - a step of determining the presence, within the character substring, of a character string of symbology representative of the symbology of the barcode from which the character substring is taken;

[0055] - a step of extracting useful data from the substring of characters and the symbology character string when present.

[0056] It is thus possible, during the processing of a character string, to identify the type of information transported. This makes it possible in particular to identify the format of the character substring, typically when the barcode from which the character string is derived is of a standard type.

[0057] According to a particular characteristic the transmission of a current character substring includes, if the current character substring is devoid of a symbology character string,

[0058] - obtaining a previous substring of characters, passed to the previous iteration, and

[0059] - if said preceding character substring includes a symbology character string relating to a barcode format of the type identifying a given device, association of the current character substring with the preceding character substring.

[0060] Thus, it is possible to use specific barcodes that differ from standardized barcodes because they lack a symbology character string. These process-specific barcodes allow specific actions to be performed within the application. The absence of symbology makes these specific barcodes lighter to transmit, without compromising the acquisition and processing of standard barcodes. The association of a specific barcode scanned following a standard barcode (identifying a given device) allows an action to be performed within the application on the given device. For example, additional information can be entered for a device scanned via the optical reader.

[0061] According to a particular characteristic, the determination of the presence of the symbology character string and the extraction of the useful data are carried out from the server. The maintenance of the computer terminals present in the implementation is reduced to a minimum. Any update of the processing rules (for example in the event of the introduction or modification of a new barcode standard) is then mainly carried out at the level of the server application, which can be remote or dynamically loaded onto the computer terminal. This centralization also guarantees a high level of consistency in the processing of data from medical devices.

[0062] The invention further provides an electronic data processing device (TERM), characterized in that it comprises:

[0063] - means for receiving an input character string;

[0064] - means for storing said input character string in a buffer memory accessible to a processing application executed by a browser within the electronic device;

[0065] - means for syntactic analysis by applying the input character string comprising means for continuously determining the presence of a prefix of predetermined form at the start of the input character string stored in the buffer memory;

[0066] - means for extracting a substring of characters from the input character string using the prefix if said prefix is ​​present, and means for emptying the buffer memory otherwise; and

[0067] - means of transmitting the extracted character substring to a server application.

[0068] According to a preferred implementation, the different steps of the methods according to the present disclosure are implemented by one or more software or computer programs, comprising software instructions intended to be executed by a data processor of an execution terminal according to the present technique and being designed to control the execution of the different steps of the methods, implemented at the level of a communication terminal, a remote server and / or a blockchain, within the framework of a distribution of the processing operations to be carried out and determined by a scripted source code or a compiled code.

[0069] Accordingly, the present technique also relates to programs, capable of being executed by a computer or by a data processor, these programs comprising instructions for controlling the execution of the steps of the methods as mentioned above.

[0070] A program may use any programming language, and may be in the form of source code, object code, or code intermediate between source code and object code, such as in a partially compiled form, or in any other desirable form.

[0071] The present technique also aims at an information medium readable by a data processor, and comprising instructions of a program as mentioned above.

[0072] The information carrier may be any entity or terminal capable of storing the program. For example, the carrier may include a storage medium, such as a ROM, for example a CD ROM or a microelectronic circuit ROM, or a magnetic recording medium, for example a mobile medium (memory card) or a hard disk or an SSD.

[0073] Furthermore, the information carrier may be a transmissible medium such as an electrical or optical signal, which may be conveyed via an electrical or optical cable, by radio or by other means. The program according to the present technique may in particular be downloaded over a network such as the Internet.

[0074] Alternatively, the information carrier may be an integrated circuit in which the program is incorporated, the circuit being adapted to perform or to be used in the performance of the method in question.

[0075] According to one embodiment, the present technique is implemented by means of software and / or hardware components. In this regard, the term "module" may correspond in this document to a software component, a hardware component or a set of hardware and software components.

[0076] A software component corresponds to one or more computer programs, one or more sub-programs of a program, or more generally to any element of a program or software capable of implementing a function or a set of functions, as described below for the module concerned. Such a software component is executed by a data processor of a physical entity (terminal, server, gateway, set-top-box, router, etc.) and is likely to access the hardware resources of this physical entity (memories, recording media, communication buses, electronic input / output cards, user interfaces, etc.).

[0077] Similarly, a hardware component is any element of a hardware assembly capable of implementing a function or set of functions, as described below for the module concerned. It may be a programmable hardware component or one with an integrated processor for running software, for example an integrated circuit, a smart card, a memory card, an electronic card for running firmware, etc.

[0078] Each component of the system described above of course implements its own software modules.

[0079] The different embodiments mentioned above can be combined with each other for the implementation of the present technique.

[0080] 4. List of figures

[0081] Other characteristics and advantages of the invention will appear more clearly on reading the following description of a particular exemplary embodiment, given as a simple illustrative and non-limiting example, and the appended drawings, among which:

[0082] - [Fig. 1] represents a device implementing the method of the invention;

[0083] - [Fig. 2] represents the method according to the invention;

[0084] - [Fig. 3] represents an example of obtaining an input character string from the method of Figure 2;

[0085] - [Fig- 4] represents an example of storage of input character string of the method of figure 2;

[0086] - [Fig. 5] represents an example of continuous determination of the presence of the prefix of the process of Figure 2; and

[0087] - [Fig. 6] represents an example of a simplified structure of the device of Figure 1. 5. Description of embodiments of the invention

[0088] 5.1 General principle

[0089] With reference to Figure 1, an electronic data processing device according to the invention is described, comprising an optical reader BCS, in communication with a computer terminal TERM. The computer terminal TERM executes an application APP in a browser WB. The application APP communicates with a server SERV, for example remote from the computer terminal TERM.

[0090] The BCS optical reader is typically a barcode scanner, for example of the "barcode scanner" type. Depending on the operational implementation conditions, the optical reader and the computer terminal may constitute a single device. The BCS optical reader is configured to read a barcode and extract a character string READ_STR from it. The BCS optical reader can read barcodes in one dimension (for example of the GS1-128, EAN-13, Code 39, Code 93, Codabar, etc. type) or in two dimensions (for example of the QRCode, GS1-Matrix, Datamatrix, etc. type).

[0091] In some cases, a barcode to be scanned may be very close to another barcode. In addition, some barcodes used in the EMR field, particularly those printed directly on an EMR, may be very small. To overcome these reading difficulties (to ensure that the correct barcode is scanned, regardless of the dimensions), the BCS optical reader can project a luminous target, for example in the form of a cross, intended to facilitate aiming at the barcode to be scanned.

[0092] The BCS optical reader is connected to the TERM computer terminal. The TERM computer terminal is typically a personal computer, but could alternatively be a tablet, a smartphone, or any other device suitable for receiving reading data. For example, it is possible to envisage integrating the method according to the invention into a smartphone, the smartphone camera and the smartphone software being able to decipher barcodes, in particular of the QRCode type.

[0093] The TERM terminal runs an APP application within a WB browser. The browser is a common software, such as Mozilla Firefox, Microsoft Edge, Safari or Google Chrome. Running the APP application within the WB browser offers a very universal framework that a native application would not offer - because the latter would depend too much on the specificities of the TERM terminal, and in particular on its operating system. Conversely, the browser can be seen as a generic framework for running the APP application, which can therefore be used independently of the TERM terminal's operating system. The APP application is typically an application running with the browser's resources, and it is presented in the form of an application written in a scripting language, for example, javascript.

[0094] However, using a WB browser to run the APP application raises technical obstacles because the transmission stack from the BCS optical reader to the application comprises many elements, each of which is in practice capable of interfering with the data resulting from the reading of a barcode on the one hand and capable of interfering with the element to which it transmits the data it processes on the other hand.

[0095] In relation to Figure 2, a method for processing data originating for example from an optical reader is described. Such a method comprises a step S02 of obtaining the input character string STR_READ originating for example from reading a barcode BC, a step S04 of storing the input character string STR_READ, a step 06 of syntactic analysis of the input character string STR_READ and a step S08 of transmitting the result of the syntactic analysis S06.

[0096] The input character string READ_STR is for example derived from the reading of at least one BC barcode by the BCS optical device, as described above. The input character string READ_STR is transmitted from the BCS barcode reader to the APP application. The APP application stores the input character string READ_STR thus received in a DB buffer to which the application has access, before processing.

[0097] At the time of the syntactic analysis S06, the APP application determines in a determination step S60 the presence of a prefix PREFIX at the start of the input character string READ_STR. The prefix is ​​a predetermined character string, known to the APP application. If this prefix PREFIX is present, that is to say that it forms the start of the input character string READ_STR, then the APP application performs, in a step S62, the extraction of the "useful" data included in the input character string READ_STR. If the prefix PREFIX does not form the start of the input character string READ_STR, then the application empties the DB buffer memory in a dump step S64.

[0098] The determination S60 is performed continuously, that is, at the moment when the application APP realizes the absence of the prefix at the beginning of the character string, the application APP immediately empties the buffer DB in step S64. This limits the amount of data that is actually processed during the determination S60 of the presence of the prefix PREFIX, which speeds up this step.

[0099] The purpose of S62 extraction is to extract a substring from the READ_STR input string, this substring including, among other things, a payload. S62 extraction is performed using the prefix whose presence has been detected, the substring being located after the prefix.

[0100] Once the extraction S62 of the character substring has been carried out, the application APP communicates this character substring to the server application SERV in a transmission step S08, which can carry out additional processing on this character substring.

[0101] 5.2 Processing of control characters

[0102] In an exemplary embodiment, represented in figure 3, the obtaining S02 of the input character string comprises the acquisition S20 of a raw character string RAW_STR resulting from the reading of the barcode BC by the optical device BCS, a processing S24 of this raw character string RAW_STR producing a processed character string P_STR and the restitution S28, as input character string READ_STR of the concatenation of the prefix PREFIX and the processed character string P_STR.

[0103] This S24 processing is intended in particular to avoid interference between the content of the raw character string RAW_STR and the hardware and software elements that form the transmission stack of this raw character string RAW_STR from the optical reader to the APP application running within the browser. This interference may for example come from the presence, within the raw character string RAW_STR, of control characters or special characters. These control characters may correspond to the hexadecimal values ​​0x00 to 0x31 of the ASCII table: NULL, SOH, STX... US. This S24 processing may comprise a step of identifying the control characters present in the raw character string RAW_STR, and replacing each of these control characters with a respective substitution character string that does not interfere with the transmission stack.Thus, a particular character, which for example takes a given value for one element of the transmission stack and another value for another element of the transmission stack will not be misinterpreted and / or will not be a source of error throughout the transmission between the different elements of the transmission stack.

[0104] A control character can, for example, be replaced by a character string comprising, in order, a control prefix, a character string representing the control character, and a control suffix. The control prefix and the control suffix are common to all control characters. The character string representing the control character can, for example, be in the form of two to three characters designating the control character. For example, for the control character NUL, the resulting substitution string can be of the form OXYS NUL OXYE , where OXYS is the control prefix, NUL the character string representing the control character NUL, and OXYE the control suffix. This choice of substitution character string has several advantages:

[0105] - the substitution string is very quick to construct, since it is a concatenation of strings,

[0106] - the substitution strings for the control characters are roughly the same size (in the example described, 18 to 19 characters)

[0107] - the general form of these substitution strings is specific enough that the probability of encountering one in a raw RAW_STR string is negligible in practice. Thus, not only do substitution strings not interfere with the elements of the transmission stack, but they also do not interfere with the contents of the input string.

[0108] For the form of the substitution string described above, this corresponds to a substitution string with a maximum length of 152 bits (18 to 19 bytes). For a connection between the optical reader and the computer terminal having, for example, a baud rate of 9600 baud (bits per second), the transmission of a substitution string takes 16 ms. If, for example, a barcode includes three substitution characters, this amounts to lengthening the transmission of the input string (compared to the raw string RAW_STR) by 52 ms. The inventors have determined in practice that this constraint added by the processing method is acceptable to a user, in exchange for the guarantee for the user and for the APP application of not having interference between the input string and the elements of the transmission stack (or payload).

[0109] 5.3 Processing Barcode Symbology

[0110] In another exemplary embodiment, compatible with the special character processing described above, the input character string READ_STR is terminated by a predetermined suffix SUFFIX, typically analogous in form to the prefix.

[0111] S06 extraction of the substring from the input string then includes, when the prefix is ​​present, the identification of the suffix. The substring is then extracted using the prefix and the suffix. The substring can typically be the string between the prefix and the suffix. This simultaneous identification of the prefix and the suffix speeds up the extraction of the substring, while improving its reliability.

[0112] In an exemplary embodiment, the method comprises, upon obtaining S02 the input character string READ_STR, identifying the symbology SYM of the barcode from which the raw (or read) character string originates. Based on this identification, a character string of symbology AIMJD is obtained, and concatenated to the processed character string P_STR. Following this concatenation, the prefix, the processed character string P_STR and the suffix are concatenated in order. In summary, this gives an input character string READ_STR of the form<PREFIXxAII\ / l_ID><P_STR> <suffix>. We can reverse the position of the symbology string<AIM_ID> and payload<P_STR> .

[0113] Alternatively, this incorporation of the symbology string could be carried out directly in the raw string RAW_STR, for example without the processing relating to control characters. Alternatively, one can dispense with the identification of the symbology, and only return the concatenation of the prefix PREFIX, the processed string P_STR and the suffix SUFFIX.

[0114] Adding, in addition to the prefix and suffix, symbology (in the form of the symbology string) improves the processing of strings passed to the server application.

[0115] The symbology is typically representative of a pre-existing barcode standard. Examples include GS1-128, EAN-13, Code 39, Code 93, or Codabar (for 1D barcodes) or QRCode, GS1-Matrix, or Datamatrix (for 2D barcodes).

[0116] In an exemplary embodiment, reading certain barcodes of an application-specific type does not result in the addition of a symbology string. In other words, when the processed character string P_STR is of this type of barcode, the symbology string is empty. This makes it possible to reduce the size of a character string resulting from reading an application-specific barcode, and therefore to reduce the latency between reading such a barcode and processing the resulting character string, without having to sacrifice information carried by the input character string.

[0117] 5.4 Passing the input string to the application

[0118] In an exemplary embodiment, shown in Figure 4, the transmission of the input character string to the application, in particular its storage S04 in the buffer memory DB, is carried out using a keystroke emulation. More precisely, the storage S04 comprises, for each character read from the input character string, the emulation S40 of a keystroke representative of said character read, and the writing S42 in the buffer memory DB of said character read from the emulated keystroke.

[0119] The keyboard emulation can be for example of the KeyboardEvent type when the application is run in the Mozilla Firefox browser.

[0120] This emulation allows the input character string to be transmitted to the application, character by character. This allows for a number of optimizations and processing operations on this character string as it is transmitted. For example, in a first step S44, we can determine whether the keystroke of a read character belongs to a predetermined event group IGN_EVENT. If this is the case, this character is ignored in a second step S46.

[0121] The group of events to ignore can typically include: Alt, AltGraph, CapsLock, Control, Dead, Fn, FnLock, Hyper, Meta, NumLock, Process, ScrollLock, Shift, Super, Symbol, SymbolLock. These events can indeed interfere with the proper functioning of the application, in particular causing the computer terminal to lose focus on the application (in a browser tab), on the browser itself, or even close the browser or the tab running the application.

[0122] As mentioned above, character-by-character keystroke emulation allows for several processes to be performed on the character string. This allows, for example, a character string resulting from manual entry on the computer terminal keyboard to be clearly distinguished from the input character string resulting from barcode reading.

[0123] In an exemplary embodiment, for each character produced by a keyboard stroke (emulated or not), the application measures in a third step S48 the duration separating the writing of this character from the writing of the last character having been written in the DB buffer memory. If this duration is greater than a certain threshold (in other words if too much time has elapsed between two keyboard strokes, emulated or not), the DB buffer memory is emptied in a fourth step S50. In other words, the application then considers that it is a manual stroke (performed at a rate necessarily slower than that of an automated keyboard stroke emulation) and stops taking into account the data previously acquired for the syntactic analysis.

[0124] The predetermined threshold can for example be set at approximately 500 ms. This is a good compromise between a threshold that is too low - the slightest slowdown of the reader / application transmission stack then leading to an undue emptying of the buffer memory - and a threshold that is too high - this criterion no longer satisfactorily discriminates between manual entries and keyboard emulation. According to the invention, the buffer memory is emptied and the characters present in the buffer memory are released: they are normally transmitted to the browser for processing by the latter. Thus, little time elapses between a manual entry, made on the keyboard of the computing device, and the actions resulting from this entry being taken into account by the browser when the application determines that the characters it receives do not come from a bar code.

[0125] The condition of maximum duration between two keystrokes (characteristic of a sequence of keystrokes resulting from a barcode reading) can be replaced or supplemented by a condition relating to the regularity of the keystrokes in the sequence. This makes it possible to discriminate between manual and automatic keystrokes, since the keystrokes produced by the emulation are considerably more regular than their manual equivalent.

[0126] In an exemplary embodiment, the various character strings implemented in the invention (PREFIX, SUFFIX, C_PREFIX, C_SUFFIX, AIMJD, SUB_STR) and incorporated into the raw character string RAW_STR comprise characters included in the non-extended ASCII table. In a preferred exemplary embodiment, these various character strings are exclusively made up of characters included in the non-extended ASCII table. This choice of encoding in non-extended ASCII avoids most of the interference caused by other types of encoding. This guarantees compatibility with a wide variety of operating systems and browsers, and more generally of hardware and software bricks implementing the device. In a preferred exemplary embodiment, the prefix begins with the character string “{@}”. This specific choice of character string has several advantages.

[0127] The opening brace character "{" usually requires two keys to be pressed simultaneously on a keyboard (for example, AltGr and the 4 key in QWERTY). Impromptu manual entry of this entire sequence is therefore unlikely, especially when respecting the delay condition between two keystrokes. Indeed, entering a brace character (opening or closing) together with an at sign is highly unlikely, as the at sign is primarily used to enter email addresses.

[0128] Thus, discriminating the presence of a prefix beginning with this character string "{@}" allows, by analyzing only three characters, to immediately determine whether we are in the presence of a sequence of keyboard strokes originating from an input character string or not.

[0129] In an exemplary embodiment, transmitting the substring to the server application includes determining the presence of the AIMJD symbology string in the transmitted substring. The remainder of the substring then forms a payload, and includes the processed string P_STR.

[0130] When a current substring does not include the AIMJD symbology string, this may mean that the barcode from which the current substring originates is related to one of the specific actions to be performed by the application. In this case, during transmission, we check whether the previous transmitted substring includes an AIMJD symbology string. If this is the case, and if its symbology is related to the identification of a DMI, we associate the current substring with said DMI identifier. This allows, via a simple reading of an application-specific barcode, to perform an action on a DMI whose identification barcode has been read.

[0131] The application-specific action may be the addition of additional information related to the EMR. For example, the additional information may concern the addition of an EMR to a database, feedback on the EMR implementation (successful, with error, or failure of implementation), or the recording of an adverse event related to the EMR (e.g., “broken screw,” “damaged device,” “non-compliant device,” etc.) during its lifecycle.

[0132] The absence of application-specific barcode symbology makes these barcodes lighter to transmit. This specificity is transparent to standard barcodes and their processing. The association of a specific barcode scanned following a standard barcode (identifying a given device) allows an action to be carried out within the application on the given device without having to use an additional peripheral (keyboard, mouse, touch screen), which is a particular advantage in certain situations, such as when avoiding contamination on these devices (for example in an operating room).

[0133] In an exemplary embodiment, the determination of the presence of the symbology character string and the extraction of the useful data are carried out within the server application. This centralization of the detection of the symbology within the character substring, and therefore of the various processing operations carried out on it, guarantees the consistency of the processing of data from the DMIs via the application, particularly in the event of an update.

[0134] 5.4 Continuous determination In an exemplary embodiment, shown in Figure 5, the continuous determination S60 of the presence of the prefix PREFIX within the input character string READ_STR is carried out as follows: for each character written in the DB buffer memory:

[0135] 1. obtaining the current character string CUR_STR written in the DB buffer;

[0136] 2. determination S600 of whether the size L(CUR_STR) of the current character string CUR_STR is less than the size L(PREFIX) of the prefix PREFIX,

[0137] 2a. then check S602 whether the current character string CUR_STR constitutes the start of the prefix PREFIX,

[0138] 2b. otherwise check S604 whether the prefix PREFIX constitutes the start of the current character string CUR_STR.

[0139] A negative return from one of these two steps 2a or 2b causes the DB buffer memory to be flushed S64 and the analysis of the input character string READ_STR to be stopped S606.

[0140] A positive return from one of these two steps 2a or 2b results in the cancellation S608 of the propagation of the event (CANCEL_PROP). In other words, the current keystroke is not treated as a manual keystroke (for example, entering a character in a field) but as a keystroke resulting from the reading of a barcode. The rest of the analysis, including the extraction S62, can then be carried out.

[0141] 5.5 Devices

[0142] We describe, in relation to figure 6, the different means implemented in the processing of character strings from bar codes.

[0143] The application APP comprises means APP1 for receiving the input character string from the optical reader, means AAP2 for storing said input character string in the buffer memory DB, means APP3 for syntactic analysis of said input character string and means APP4 for transmitting the character string thus analyzed to the server SERV.

[0144] The analysis means APP3 comprise determination means APP30, extraction means APP31 and flushing means APP32. The determination means APP30 are arranged to continuously determine the presence of the prefix of predetermined form at the beginning of the input character string stored in the buffer memory. The extraction means APP31 are arranged to extract a sub-string of characters from the input character string stored in the buffer memory using the prefix when the input character string starts with said prefix. The flushing means APP32 are arranged to clean (or flush) the buffer memory in the absence of the prefix at the beginning of the input character string stored in said buffer memory. The transmission means are arranged to transmit the extracted sub-string of characters to a server remote from the computer terminal.

[0145] The means previously described may be in the form of a particular processor implemented within a terminal, such as a personal computer, a tablet, a smartphone, or a module directly integrated within an optical reader. According to a particular exemplary embodiment, the computer terminal TERM implements all of the means described above. For example, the computer terminal TERM comprises a memory M, comprising a buffer memory DB, a general processing processor P, equipped for example with a microprocessor, and controlled by a computer program Pg, and / or a secure memory, these computer elements implementing data processing methods such as described previously to process the data resulting from the reading of a barcode.

[0146] In order to communicate with the remote server, the computer terminal comprises, in addition to the memory, communication means, such as network communication modules, data transmission means and data transmission circuits between the computer terminal and the server, and between the computer terminal and the barcode reader.

[0147] According to an exemplary embodiment, the BCS optical reader implements the steps of processing the raw character string, in particular the steps of processing the control characters. This allows the optical reader to directly deliver to the computer terminal character strings free from interference linked to the presence of control characters.< / suffix>

Claims

DEMANDS 1. A data processing method, implemented within an electronic data processing device (EDPD), characterized in that the method comprises at least one iteration of the following steps: - obtaining (S02) an input character string (READ_STR) by concatenating, in order, a prefix (PREFIX) of predetermined form and a character string (P_STR) from the reading of at least one barcode by an optical device; - storage (S04) of the input character string (READ_STR) in a buffer memory (DB) accessible to a processing application (APP) executed by a browser (WB) within the electronic device (TERM), said storage comprising, for each character read (READ_CHAR) of the input character string (READ_STR): -> emulation of a keyboard keystroke (KeyboardEvent) representative of the character read (READ_CHAR); and -> writing the read character (READ_CHAR) from the emulated keyboard input (KeyboardEvent) into the buffer (DB); - Syntax analysis (S06) of the input character string (READ_STR) by the application (APP), the syntax analysis (S06) including a continuous determination (S60) of the presence of said prefix (PREFIX) at the beginning of the input character string (READ_STR) stored in the buffer (DB); and - extraction (S62) of a substring (AIMJD, P_STR) from the input string (READ_STR) using the prefix (PREFIX) if said prefix (PREFIX) is present, otherwise flushing (S64) the buffer (DB); - transmission (S08) of the extracted character substring (AIMJD, P_STR) to a server application from a server (SERV).

2. A method according to claim 1, wherein the extraction (S62) of the character substring (AIMJD, P_STR) comprises, when the prefix (PREFIX) is present in the input character string (READ_STR): - determining the presence of a predetermined suffix (SUFFIX) in the input string (READ_STR); and - the determination of the character substring (AIMJD, P_STR) using the prefix (PREFIX) and the suffix (SUFFIX).

3. A method according to claim 1 or 2, wherein obtaining (S02) the input character string (READ_STR) comprises: - the acquisition (S20) of a raw character string (RAW_STR) resulting from the reading of the barcode (BC) by the optical device (BCR), - the identification (S22), within the raw character string (RAW_STR), of the presence of control characters (C_CHAR) belonging to a predetermined group of control characters, - the replacement (S24), within the raw character string (RAW_STR), of each of the control characters (C_CHAR) identified by a respective predetermined substitution character string (SUB_STR), delivering a processed character string (P_STR), - the output (S28) of the input character string (READ_STR) from the processed character string (P_STR).

4. A method according to claim 3, wherein the substitution character string (SUB_STR) of a control character (C_CHAR) comprises the concatenation, in order, of a control character prefix (C_PREFIX), a character string (C_STR) representative of the control character (C_CHAR) and a control character suffix (C_SUFFIX), the control character prefix (C_PREFIX) and the control character suffix (C_SUFFIX) being common to the control characters (C_CHAR).

5. A method according to claim 3 or 4, wherein the output of the input string (READ_STR) comprises: - Obtaining (026) a symbology character string (AIMJD) representative of the symbology (SYM) of the barcode (BC) from which the raw character string (RAW_STR) is derived; - The output (028), as an input string (READ_STR), of the concatenation, in order, of the prefix (PREFIX), the symbology string (AIMJD), the processed string (P_STR) and the suffix (SUFFIX).

6. A method according to any one of the preceding claims, wherein.

7. Method according to claim 6, wherein the reading character (READ_CHAR) is ignored if the keyboard input (KeyboardEvent) belongs to a predetermined event group.

8. Method according to claim 6 or 7, wherein the writing of the read character (READ_CHAR) into the buffer memory (DB) includes flushing the buffer memory (DB) before the actual writing of the read character (READ_CHAR) if the time between the keyboard keystroke (KeyboardEvent) and a previous keyboard keystroke exceeds a predetermined threshold.

9. Method according to claim 8, wherein the predetermined threshold is equal to approximately 500 ms.

10. A method according to any one of the preceding claims, wherein the transmission (S08) of the character substring (AIMJD, P_STR) to the server application (SERV) comprises: 19 - determining the presence, within the character substring (AIMJD, P_STR), of a character string with symbology (AIMJD) representative of the symbology of the barcode (BC) from which the character substring (AIMJD) is derived, - Extracting a useful character string (P_STR) from the character substring (AIMJD, P_STR) and the symbology character string (AIMJD) when present.

11. A method according to claim 10, wherein the transmission (S08) of a current character substring comprises, if the current character substring (AIMJD, P_STR) is devoid of a character string of symbology (AIMJD): - obtaining a previous substring of characters, passed to the previous iteration, and - if said preceding substring contains a string of characters with symbology relating to a barcode format of the type identifying a given device, association of the current substring with the preceding substring.

12. A method according to any one of claims 10 or 11, wherein the determination of the presence of the symbology character string (AIMJD) and the extraction of the useful character string (P_STR) are carried out within the server (SERV).

13. Electronic data processing device (EDPD), characterized in that it comprises: - means to obtain an input character string (READ_STR) by concatenating, in order, a prefix (PREFIX) of predetermined form and a character string (P_STR) resulting from the reading of at least one barcode by an optical device; - means for storing said input character string (READ_STR) in a buffer memory (DB) accessible to a processing application (APP) executed by a browser (WB) within the electronic device (TERM), the means for storing being configured for, for each character read (READ_CHAR) of the input character string (READ_STR): -> emulate a keyboard keystroke (KeyboardEvent) representative of the character read (READ_CHAR); and -> write the character read (READ_CHAR) from the emulated keyboard input (KeyboardEvent) into the buffer (DB); - means of syntactic analysis by application (APP) of the input character string (READ_STR) including means of continuously determining the presence of a prefix (PREFIX) of predetermined form at the beginning of the input character string (READ_STR) stored in the buffer (DB); - means of extracting a substring (AIMJD, P_STR) from the input string (READ_STR) using the prefix (PREFIX) if said prefix (PREFIX) is present, and means of flushing the buffer (DB) otherwise; and - means of transmitting the extracted character substring (AIMJD, P_STR) to a server application (SERV). 20 14. Product computer program comprising program code instructions for the implementation of a communication method according to any one of claims 1 to 12, when executed by a processor.