Surgical instrument data reading method and device, equipment and medium

By reading and verifying surgical instrument data when the surgical instrument is connected to the target platform, and correcting and processing it when necessary, data errors that are prone to occur during the updating and reading of surgical instrument data in the prior art are solved, and data accuracy and safety and stability of surgical instrument operations are achieved.

CN119719686AActive Publication Date: 2025-03-28SUZHOU KANGDUO ROBOT
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510213961.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2025-03-28
Estimated Expiration
2045-02-26

AI Technical Summary

Technical Problem

In the process of updating and reading surgical instrument data, data errors may be caused by sudden pull-out or failure to be updated, and data errors cannot be effectively corrected, resulting in poor data accuracy.

Method used

Upon detection of the connection of the surgical instrument to the target platform, at least one first field in the integrated data stripes in the surgical instrument and at least one second field in each target data stripe in the at least one set of data stripes is read. Verify the second verification code, determine the target verification result, and correct the data if necessary to ensure the correctness of the data.

Benefits of technology

Effectively identify and correct data errors to ensure the correctness of data in surgical instruments, thereby ensuring the accuracy of the platform's reading of surgical instrument data and improving the safety and stability of surgical instrument operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119719686A_ABST
    Figure CN119719686A_ABST
Patent Text Reader

Abstract

The invention discloses a surgical instrument data reading method and device, equipment and a medium. The invention relates to the technical field of surgical instruments. The method comprises the following steps: reading a comprehensive data bar in a surgical instrument and each target data bar in at least one data bar group; verifying the second verification code in each target data bar to obtain a first verification result of each target data bar, and determining a target verification result based on each first verification result, a preset result, a first operand in the comprehensive data bar and a second operand in each target data bar; when the target verification result is inconsistent with the preset result and the first verification result is consistent with the preset result, determining a candidate data bar; and based on the first operand and the second operand in each candidate data bar, performing correction processing on the target data bar. According to the technical scheme, the correctness of the data in the surgical instrument can be ensured, so that the accuracy of reading the surgical instrument data by the surgical platform is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of surgical instruments, and in particular to a method, device, equipment and medium for reading surgical instrument data. Background Art

[0002] At present, when using surgical instruments, it is usually necessary to connect the surgical instruments and the surgical system, and control the surgical instruments to perform corresponding tasks through the surgical system. When the surgical system updates the instrument data in the surgical instrument, the surgical system needs to write the updated data into the surgical instrument. If the instrument is suddenly pulled out, the writing information will be interrupted or interfered, resulting in data errors or incomplete updates. In order to ensure the correctness and stability of system control, it is necessary to correctly update the surgical instrument data and correctly read the surgical instrument data. If the surgical instrument data is not updated correctly, it will cause errors in the next data reading.

[0003] In the prior art, the method of updating and reading surgical instrument data is usually to verify the data and update the data to the surgical system if the verification is passed. If the verification is not passed, the reading fails. If the update is not correct, the parameters such as the life of the instrument may not be updated in time, resulting in instrument parameter recording errors. This method cannot correct the data when it is wrong, or it may cause data errors when the data is not updated in time, resulting in poor data accuracy. Summary of the invention

[0004] The present invention provides a method, device, equipment and medium for reading surgical instrument data, so as to ensure the correctness of the data in the surgical instrument and guarantee the accuracy of the surgical instrument data read by the platform, thereby improving the safety and stability of the platform using the surgical instrument.

[0005] According to one aspect of the present invention, a method for reading surgical instrument data is provided, which is applied to a target platform, and the method comprises:

[0006] When it is detected that the surgical instrument is connected to the target platform, at least one first field in the comprehensive data strip in the surgical instrument and at least one second field in each target data strip in at least one data strip group are read; the first field at least includes a first operand; the second field at least includes a second operand and a second check code; the target data strip includes a main data strip and at least one spare data strip corresponding to the main data strip;

[0007] For each of the data stripe groups, respectively verify the second verification code in each of the target data stripes to obtain a first verification result for each of the target data stripes, and determine a target verification result based on each of the first verification results, a preset result, the first operand, and the second operand in each of the target data stripes;

[0008] When the target verification result is inconsistent with the preset result, and there is a target data strip whose first verification result is consistent with the preset result, determining a candidate data strip based on the target data strip when they are consistent;

[0009] Based on the first operand and the second operand in each of the candidate data strips, correction processing is performed on at least one second field in at least one of the target data strips to update the data strip in the surgical instrument, and the updated data strip in the surgical instrument is read to the target platform.

[0010] According to another aspect of the present invention, a device for reading surgical instrument data is provided, which is configured on a target platform, and includes:

[0011] A data reading module, for reading at least one first field in a comprehensive data strip in the surgical instrument and at least one second field in each target data strip in at least one data strip group when detecting that the surgical instrument is connected to the target platform; the first field at least includes a first operand; the second field at least includes a second operand and a second check code; the target data strip includes a main data strip and at least one spare data strip corresponding to the main data strip;

[0012] a target verification result determination module, configured to verify the second verification code in each target data stripe for each data stripe group, obtain a first verification result for each target data stripe, and determine a target verification result based on each first verification result, a preset result, the first operand, and the second operand in each target data stripe;

[0013] a candidate data strip determining module, configured to determine a candidate data strip based on the target data strip when the target verification result is inconsistent with the preset result and the first verification result of the target data strip is consistent with the preset result;

[0014] A data correction module is used to correct at least one second field in at least one of the target data strips based on the first operand and the second operand in each of the candidate data strips, so as to update the data strip in the surgical instrument, and read the updated data strip in the surgical instrument to the target platform.

[0015] According to another aspect of the present invention, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for reading surgical instrument data described in any embodiment of the present invention.

[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for reading surgical instrument data described in any embodiment of the present invention when executed.

[0017] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the method for reading surgical instrument data as described in any embodiment of the present invention.

[0018] The technical solution of the embodiment of the present invention is to read at least one first field in the comprehensive data strip in the surgical instrument and at least one second field in each target data strip in at least one data strip group when detecting that the surgical instrument is connected to the target platform; the first field includes at least a first operand; the second field includes at least a second operand and a second check code; for each data strip group, the second check code in each target data strip is checked respectively to obtain a first check result for each target data strip, and the target check result is determined based on each first check result, a preset result, a first operand and the second operand in each target data strip; when the target check result is inconsistent with the preset result, and there is a target data strip whose first check result is consistent with the preset result, a candidate data strip is determined based on the target data strip when they are consistent; based on the first operand and the second operand in each candidate data strip, at least one second field in at least one target data strip is corrected to update the data strip in the surgical instrument, and the updated data strip in the surgical instrument is read to the target platform, thereby solving the problems encountered in the prior art. In the present invention, the instrument data that has passed the verification is read into the surgical system by means of data verification, resulting in poor data accuracy and inability to correct the data when it is wrong. When it is detected that the surgical instrument is connected to the target platform, the second verification code in each target data strip in the same data group in the surgical instrument is verified to obtain a first verification result for each target data strip; then, the target verification result is determined by combining the first operand based on each first verification result, the preset result, the comprehensive data strip and the second operand in each target data strip, and when the target verification result is inconsistent with the preset result and there is a target data strip whose first verification result is consistent with the preset result, the candidate data strip is determined based on the target data strip when they are consistent, and the data strips with correct data and data errors are effectively identified. Then, according to the first operand and the second operand in each candidate data strip, at least one target data strip is corrected to ensure the correctness of the data in the surgical instrument, thereby ensuring the accuracy of the platform reading the surgical instrument data, and achieving the technical effect of improving the safety and stability of the platform using surgical instruments.

[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 is a flow chart of a method for reading surgical instrument data provided according to Embodiment 1 of the present invention;

[0022] Figure 2 is a connection architecture diagram for representing a target platform and a surgical instrument provided according to the first embodiment of the present invention;

[0023] Figure 3 is a schematic diagram of a storage architecture for characterizing surgical instruments according to a first embodiment of the present invention;

[0024] Figure 4 is a schematic diagram for characterizing a target data strip according to a first embodiment of the present invention;

[0025] Figure 5 is a schematic diagram for representing a comprehensive data strip according to the first embodiment of the present invention;

[0026] Figure 6 is a flow chart of a method for reading surgical instrument data provided in accordance with Embodiment 1 of the present invention;

[0027] Figure 7 is a flow chart of a method for reading surgical instrument data provided according to Embodiment 2 of the present invention;

[0028] Figure 8 is a schematic diagram of the structure of a surgical instrument data reading device provided according to a third embodiment of the present invention;

[0029] Fig. 9 It is a schematic diagram of the structure of an electronic device for implementing the method for reading surgical instrument data according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] Before introducing the technical solution, an example of the application scenario can be first described. The technical solution can be applied to any scenario where the instrument data in the surgical instrument needs to be read. For example, the data reading scenario can be a surgical system. When the surgical instrument and the surgical system are docked, the surgical instrument data in the memory of the surgical instrument needs to be read into the surgical system so that the surgical system can perform the surgical operation based on the read surgical instrument data, or update the surgical instrument data (such as instrument life, operation number, etc.). The surgical system is the target platform mentioned below.

[0033] Embodiment 1

[0034] Figure 1 This is a flowchart of a method for reading surgical instrument data according to the first embodiment of the present invention. This embodiment is applicable to the case of reading instrument data in a surgical instrument. The method can be executed by a surgical instrument data reading device. The surgical instrument data reading device can be implemented in the form of hardware and / or software. The surgical instrument data reading device can be configured in the target platform. Figure 1 As shown, the method includes:

[0035] S110. When it is detected that the surgical instrument is connected to the target platform, read at least one first field in the comprehensive data strip in the surgical instrument and at least one second field in each target data strip in at least one data strip group; the first field includes at least a first operand; the second field includes at least a second operand and a second check code.

[0036] Among them, the target platform may refer to a surgical platform capable of controlling the operation of surgical instruments. The surgical instrument refers to a medical instrument required for use during the surgical operation, for example, a laparoscopic instrument, a hysteroscopic instrument, etc., and the instrument type is not specifically limited. The target data strip includes a main data strip and at least one spare data strip corresponding to the main data strip, that is, a data strip group may include a main data strip and at least one spare data strip corresponding to the main data strip. The number of spare data strips corresponding to each main data strip may be one or more. The main data strip and the spare data strip store relevant instrument parameters of the surgical instrument. The spare data strip is a data backup of the main data strip, and has the same data structure as the main data strip, that is, the field bits are the same. The first operand may be used to represent the number of normal updates of data in each data strip in the surgical instrument. That is, the first operand does not change when correcting the data in the data strip. The second operand may be used to represent the number of updates of the data in the data strip. The second check code is used to verify the integrity and reliability of the data. The second check code may be determined based on a preset check method, such as a preset check method that may include a cyclic redundancy check method, a parity check method, a Hamming check method, and the like. The data length of the first field and the second field can be one byte or multiple bytes, and the specific data length can be determined based on the minimum continuous read and write unit of the memory in the surgical instrument and the data required to be stored in the field.

[0037] In this embodiment, the target platform can be connected to the bacteria isolation interface board, and the connection method can be an electrical connection or other connection methods. When it is detected that the surgical instrument is connected to the bacteria isolation interface board, it can be considered that the surgical instrument is detected to be connected to the target platform, and at this time, the first field in the comprehensive data strip can be read from the surgical instrument. Then, the main data strip and at least one spare data strip corresponding to the main data strip in the surgical instrument are read to obtain at least one second field in each target data strip in the same data strip group, so as to combine the first field and the second field to determine whether the data in the surgical instrument is available.

[0038] For example, see Figure 2, the electrical connector in the surgical instrument is connected to the electrical connector in the isolation interface board, and the electrical connector in the target platform is connected to the electrical connector in the isolation interface board, so that the surgical instrument can be carried on the target platform for use. When the target platform starts the industrial computer program to run, the hanging inspection device can detect whether the target platform is connected to the isolation interface board. If it is detected that the target platform is connected to the isolation interface board, the instrument will be zeroed and wait for the surgical instrument to be connected. When the surgical instrument is connected to the isolation interface board, the electrical connector connects the power supply and data circuits of the target platform, the isolation interface board, and the surgical instrument. After the hanging inspection device detects that the surgical instrument has been connected to the isolation interface board, the read-write main control module is started. The read-write main control module reads or writes each data strip in the memory of the surgical instrument to process the data in the read data strip, verify the correctness of the data, and correct the data if it is wrong.

[0039] In order to ensure the correctness of the data, when it is detected that the surgical instrument is connected to the target platform, at least one first field in the comprehensive data strip in the surgical instrument and at least one second field in each target data strip in at least one data strip group can be read: when it is detected that the surgical instrument is connected to the target platform, at least two first fields in the comprehensive data strip in the surgical instrument are read; the first field includes a feature code and a first verification code; when the feature code is a preset feature code and the first verification code is verified, for each data strip group, at least one second field in each target data strip in the data strip group is read from the surgical instrument in turn.

[0040] The feature code may be a preset fixed known code used to determine whether the condition for continuing to read and write data is met, such as the feature code is hexadecimal 0xA5. The first check code may be determined based on a preset check method and used to verify the security of the data in the comprehensive data strip.

[0041] Specifically, when it is detected that the surgical instrument is connected to the target platform, the first fields such as the feature code, the first check code and the first operand in the comprehensive data strip of the surgical instrument can be read. Then, the feature code is compared with the preset feature code, and the first check code is checked. If the feature code is the preset feature code and the first check code is checked, then at least one second field in the main data strip and at least one spare data strip corresponding to the main data strip in the current data strip group can be read from the surgical instrument in sequence. Among them, the verification processing of the first check code can include multiple methods. One verification method can be: the first check code can be compared with the preset check code. If they are consistent, the verification result is considered to be verified; or, the first check code can be logically calculated to obtain a value. If the value is within a certain range, the verification result is considered to be verified; or, the data in the comprehensive data strip can be processed using a preset verification method to obtain a check value, and the check value is compared with the first check code. If they are consistent, the verification result is considered to be verified.

[0042] For example, see Figure 3 , assuming that the surgical instrument includes 1 comprehensive data strip, multiple main data strips and 2 spare data strips corresponding to each main data strip; main data strips 1 to main data strip n are stored in the first storage area; the first spare data strip corresponding to each main data strip is stored in the second storage area; the second spare data strip corresponding to each main data strip is stored in the third storage area; the comprehensive data strip is stored in the fourth storage area. A main data strip and its corresponding two spare data strips serve as the target data strips in a data strip group. The target data strip includes the second operand, the instrument life number, the second check code, and the specific instrument data (data 1, data 2, ..., data n) and other second fields. The schematic diagram of the target data strip can be seen in Figure 4 The comprehensive data strip includes the first fields such as the feature code, the first operand, the operation date, and the first check code. The schematic diagram of the comprehensive data strip can be found in Figure 5 . When it is detected that the surgical instrument is connected to the target platform, the first field such as the feature code, the first operand, the operation date, the first check code, etc. in the comprehensive data strip can be read from the fourth storage area. Whether the data is available is confirmed by checking the first check code, and whether the communication is normal is determined by judging whether the feature code is the same as the preset check code. If the feature code is the preset feature code and the first check code is verified, the main data strip 1 in the first storage area is read, and then the backup data strip 1-1 in the second storage area is read, and then the backup data strip 1-2 in the third storage area is read. The read main data strip 1, backup data strip 1-1 and backup data strip 1-2 can be stored in the memory buffer area as the target data strips in a data strip group.

[0043] Continue to see Figure 3In order to further ensure the availability of data, the integrated data strip may include a main integrated data strip and a backup integrated data strip. The backup integrated data strip serves as a data backup of the main integrated data strip. In this way, if the feature code in the main integrated data strip is not a preset feature code or fails to pass the first check code verification, the feature code and the first check code in the backup integrated data strip can be read continuously to determine whether the feature code is a preset feature code, and the first check code will be verified. If the feature code in the backup integrated data strip is a preset feature code and passes the first check code verification, the backup integrated data strip can be used to update the main integrated data strip. If the feature code in the backup integrated data strip is not a preset feature code or fails to pass the first check code verification, the same first field (the first field includes the feature code, the first operand, the operation date, etc.) in the main integrated data strip and the backup integrated data strip can be compared to see which first field is different. If only the feature code is different in the two integrated data strips, the feature code in the integrated data strip can be updated to the preset feature code. If the first operand and the operation date are different, a data error prompt message is generated to give the user an error prompt, and data reading and writing operations on the surgical instrument are prohibited, and the error log is updated.

[0044] S120. For each data stripe group, respectively verify the second verification code in each target data stripe to obtain a first verification result for each target data stripe, and determine the target verification result based on each first verification result, a preset result, a first operand and a second operand in each target data stripe.

[0045] Among them, the preset result is verification passed. It should be noted that when there are multiple main data stripes, there are also multiple data stripe groups. The main data stripe and its corresponding backup data stripe of each data stripe group can be processed separately to analyze the correctness of the data. The processing method for each data stripe group is the same, and the processing of multiple target data stripes in any data stripe group can be used as an example to illustrate.

[0046] Specifically, for each target data strip in a data strip group, the second check code in each target data strip can be checked for correctness to obtain the first check result corresponding to each target data strip. Furthermore, each first check result can be compared with the preset result, and the second operand in each target data strip can be compared with the first operand to obtain a comparison result. The target check result can be determined based on the comparison result, so that when the target check result is consistent with the preset result, the data in all target data strips in the data strip group in the surgical instrument can be read to the surgical platform without correcting the data in the target data strip in this data strip group. It should be noted that the method for checking the second check code is similar to the method for checking the first check code, which will not be repeated here.

[0047] In this embodiment, the method for determining the target verification result may be: when each first verification result is consistent with the preset result, and the second operand in each target data strip is consistent with the first operand, the target verification result is determined to be verified. That is, when each first verification result is the preset result, and the second operand in each target data strip is the first operand, the target verification result is determined to be verified. When the feature code is not the preset feature code, or the first verification code is not verified, the target verification result is determined to be not verified.

[0048] S130: When the target verification result is inconsistent with the preset result, and there is a target data strip whose first verification result is consistent with the preset result, determine the candidate data strip based on the target data strip when they are consistent.

[0049] Specifically, the target verification result can be compared with the preset result. When the target verification result is inconsistent with the preset result, it can be determined whether there is a target data strip whose first verification result is consistent with the preset result among all the target data strips. If so, the consistent target data strip can be determined as a candidate data strip. For example, the first verification result of the main data strip 1 and the backup data strip 2 is verification passed, which is the same as the preset result. At this time, the main data strip 1 and the backup data strip 2 can be used as candidate data strips.

[0050] For example, see Figure 6 , data stripe group 1 includes three target data stripes, namely, a main data stripe and two spare data stripes. The second operands of the three target data stripes in data stripe group 1 can be subtracted from the first operand to obtain the difference. When it is determined that the difference is 0 or 1, it is determined whether the first verification results of the three target data stripes are all verified and whether the second operands of the three target data stripes are the same as the first operand. If the first verification results of the three target data strips are all verified and the second operands of the three target data strips are the same as the first operand, it means that the data is correct and can be used directly without error correction. In the case where there is a first verification result that has not been verified among the first verification results of the three target data strips, or there is a second operand different from the first operand among the three target data strips, it is determined whether the first verification results of two target data strips are verified and passed. If so, these two target data strips are used as candidate data strips. If the first verification results of no two target data strips are verified, it is determined whether the first verification result of one of the three target data strips is verified, and if so, the one target data strip is used as a candidate data strip. If the first verification results of the three target data strips are all not verified, no data can be recovered, a data error prompt message is generated, and an error report is output to prompt the user.

[0051] In this embodiment, a data error prompt message may be generated when the first verification results of all target data strips are inconsistent with the preset results. A data error prompt message may also be generated when the feature code is not a preset feature code or the first verification code fails to pass the verification, so as to prompt the user with the data error prompt message to inform the user that the data reading and writing of the surgical instrument is wrong.

[0052] In this embodiment, when generating data error prompt information, the cumulative number of errors can be adjusted and increased to update the cumulative number of errors; when the updated cumulative number of errors does not reach the preset number, the operations of reading the data strips in the surgical instrument, determining the first verification result of each target data strip, and determining the target verification result are repeated, so that when the target verification result is inconsistent with the preset result and there is a target data strip whose first verification result is consistent with the preset result, the candidate data strip is determined, and at least one second field in at least one target data strip is corrected, and after the updated data strips in the surgical instrument are read to the target platform, the cumulative number of errors is updated to the preset threshold. The preset threshold is 0.

[0053] Specifically, when generating data error prompt information, the cumulative number of errors can be adjusted and increased according to the preset step length. For example, if the preset step length is 1, the cumulative number of errors is increased by one, and the cumulative number of errors after the adjustment is used as the updated cumulative number of errors. Furthermore, the updated cumulative number of errors can be compared with the preset number of errors. If the cumulative number of errors is less than or equal to the preset number of errors, the steps of S110, S120, and S130 are repeated to determine the first verification result of each target data strip and the target verification result. When the target verification result is inconsistent with the preset result, and there is a target data strip whose first verification result is consistent with the preset result, the candidate data strip is determined, and at least one second field in at least one target data strip is corrected according to the first operand and the second operand in each candidate data strip, and after the data strip in the updated surgical instrument is read to the target platform, the cumulative number of errors is updated to the preset threshold. When the data error prompt information is generated again, the updated cumulative number of errors is adjusted and increased.

[0054] For example, when a data error prompt message is generated, it can be determined whether the surgical instrument is connected to the target platform. If connected, the surgical instrument can be re-read up to 3 times (i.e., a preset number of times). If a data error prompt message is still generated, it indicates that the reading is abnormal, an error prompt is given, and the error log is updated. If the surgical instrument is not connected to the target platform, it indicates that it is disconnected, and the reading operation is terminated at this time.

[0055] S140. Based on the first operand and the second operand in each candidate data strip, correct at least one second field in at least one target data strip to update the data strip in the surgical instrument, and read the updated data strip in the surgical instrument to the target platform.

[0056] In this embodiment, the second operand and the first operand in each candidate data strip can be combined to perform correction processing on at least one second field in part or all of the target data strips to obtain a processed target data strip, so that the processed target data strip can be written to the surgical instrument and the data strip in the updated surgical instrument can be read to the target platform.

[0057] The technical solution provided by this embodiment reads at least one first field in the comprehensive data strip in the surgical instrument and at least one second field in each target data strip in at least one data strip group when detecting that the surgical instrument is connected to the target platform; the first field includes at least a first operand; the second field includes at least a second operand and a second check code; for each data strip group, the second check code in each target data strip is checked respectively to obtain a first check result for each target data strip, and the target check result is determined based on each first check result, the preset result, the first operand and the second operand in each target data strip; when the target check result is inconsistent with the preset result, and there is a target data strip whose first check result is consistent with the preset result, a candidate data strip is determined based on the target data strip when they are consistent; based on the first operand and the second operand in each candidate data strip, at least one second field in at least one target data strip is corrected to update the data strip in the surgical instrument, and the updated data strip in the surgical instrument is read to the target platform, thereby solving the problems encountered in the prior art. During the operation, the verified instrument data is read into the system by means of data verification, which leads to poor accuracy of the read data and inability to correct the data errors. The invention realizes that when it is detected that the surgical instrument is connected to the target platform, the second verification code in each target data strip in the same data group in the surgical instrument is verified to obtain the first verification result of each target data strip; then, the target verification result is determined by combining the first operand based on each first verification result, the preset result, the comprehensive data strip and the second operand in each target data strip, and when the target verification result is inconsistent with the preset result, and there is a target data strip whose first verification result is consistent with the preset result, the candidate data strip is determined based on the target data strip when they are consistent, and the data strips with correct data and incorrect data are effectively identified. Then, according to the first operand and the second operand in each candidate data strip, at least one target data strip is corrected to ensure the correctness of the data in the surgical instrument, thereby ensuring the accuracy of the platform reading the surgical instrument data and achieving the technical effect of improving the safety and stability of the platform using surgical instruments.

[0058] Embodiment 2

[0059] Figure 7 This is a flowchart of a method for reading surgical instrument data provided according to the second embodiment of the present invention. On the basis of the above embodiment, the second field also includes the instrument life number, and S140 is further refined. The specific implementation method can refer to the technical solution of this embodiment. Among them, the technical terms that are the same or corresponding to the above embodiment are not repeated here.

[0060] like Figure 7 As shown, the method specifically comprises the following steps:

[0061] S210. When it is detected that the surgical instrument is connected to the target platform, read at least one first field in the comprehensive data strip in the surgical instrument and at least one second field in each target data strip in at least one data strip group; the first field includes at least a first operand; the second field includes at least a second operand and a second check code.

[0062] S220. For each data stripe group, the second verification code in each target data stripe is verified respectively to obtain a first verification result of each target data stripe, and the target verification result is determined based on each first verification result, a preset result, a first operand and a second operand in each target data stripe.

[0063] S230: When the target verification result is inconsistent with the preset result, and there is a target data strip whose first verification result is consistent with the preset result, determine the candidate data strip based on the target data strip when they are consistent.

[0064] S240: When the second operand in the candidate data strip is consistent with the first operand, determine a reference data strip based on the consistent candidate data strip.

[0065] In this embodiment, it can be determined whether there is a candidate data stripe with the same second operand as the first operand among all the candidate data stripes. If there is, the candidate data stripe with the same second operand as the first operand can be determined as the reference data stripe. For example, the second operand of the main data stripe 1 and the backup data stripe 2 is A1, which is the same as the first operand A1. In this case, the main data stripe 1 and the backup data stripe 2 can be used as the reference data stripe.

[0066] For example, see Figure 6When there are two candidate data strips, it is determined whether the second operand of any of the two candidate data strips is the same as the first operand. If so, the same candidate data strip is used as the reference data strip to cover the erroneous data strip (i.e., update another target data strip except the two candidate data strips). When there is one candidate data strip, it is determined whether the second operand of the one candidate data strip is the same as the first operand. If so, the same candidate data strip is used as the reference data strip to cover the erroneous data strip (i.e., update the other two target data strips of the one candidate data strip).

[0067] S250. When the second operand in each candidate data strip is inconsistent with the first operand, the second operand in the candidate data strip is increased, and the instrument life number in the candidate data strip is decreased, the candidate data strip is updated, and the updated candidate data strip is used as the benchmark data strip.

[0068] In this embodiment, it can be determined whether the second operand in each candidate data strip is the same as the first operand. If they are all the same, the candidate data strip with the last position in the read-write order in each candidate data strip can be taken. The second operand in the taken candidate data strip is increased according to the preset step length, and the device life number in the candidate data strip is decreased according to the preset step length to obtain an updated candidate data strip. The updated candidate data strip can be used as a reference data strip, and at this time, the reference data strip is more available than other data strips in the target data strip.

[0069] For example, see Figure 6 , when there are two candidate data strips, if the second operands of the two candidate data strips are different from the first operand, then a candidate data strip in the later partition whose first verification result is the preset result is selected, the second operand of the candidate data strip is increased by 1, the instrument life is decreased by 1, and the revised candidate data strip is used as the reference data strip. When there are one candidate data strip, if the second operand of the candidate data strip is different from the first operand, the second operand of the candidate data strip is increased by 1, the instrument life is decreased by 1, and the other data in the candidate data strip remains unchanged, and the revised candidate data strip is used as the reference data strip, so as to use the reference data strip to update the other two target data strips.

[0070] In this embodiment, the reference data strips may also be stored in a memory buffer area, and the overwriting operation may be completed in the memory buffer area. After the processing is completed, the data of each data strip in the memory buffer area may be written into the surgical instrument.

[0071] It should be noted that the above S240 to S250 can be executed sequentially or in parallel, and the specific execution order is not limited. The above order is only the order for explaining the technical solutions in each step, not the execution order of each step.

[0072] S260: Perform correction processing on at least one second field in other data strips in the target data strip based on the reference data strip.

[0073] The other data strips are data strips in the target data strips that are different from the reference data strips.

[0074] In this embodiment, the data strips in the target data strip in the data strip group that are different from the reference data strips can be used as other data strips. For example, if the reference data strip is the main data strip 1, then the backup data strips 1-1 and 1-2 in the target data strip are other data strips. Other data strips in the target data strip can be overwritten based on the reference data strip, that is, other data strips are updated to the reference data strip, that is, the data strip group in the surgical instrument is updated to ensure that the instrument data is consistent and correct.

[0075] In this embodiment, the first field also includes an operation date. After correcting at least one second field in at least one target data strip, when the operation date is inconsistent with the current date, the instrument life number in each target data strip in the updated surgical instrument can be reduced, and the second operand in each target data strip and the first operand in the comprehensive data strip can be increased to update the operation date in the comprehensive data strip to the current date.

[0076] The operation date can be used to represent the update time of the first operand, and to verify whether the device life needs to be reduced once on that day. For example, the year, month, and day information can be stored in 3 bytes in the comprehensive data strip.

[0077] In this embodiment, the operation date can be compared with the current date. If the operation date is inconsistent with the current date, it means that the instrument life number of the surgical instrument has not been reduced by 1 on that day. At this time, the instrument life number in each target data strip in the updated data strip group can be reduced according to the preset step length. The second operand in each target data strip is increased according to the preset step length, and the first operand in the comprehensive data strip is increased according to the preset step length, and the operation date in the comprehensive data strip is updated to the current date. Accordingly, an updated data strip group and an updated comprehensive data strip are obtained, and then the updated data strip group and the updated comprehensive data strip can be written into the surgical instrument. The data strips in the updated surgical instrument are read into the target platform.

[0078] Exemplarily, it can be determined in combination with the operation date whether the instrument life number of the surgical instrument on that day needs to be subtracted from the service life number again. If the operation date is the same as the current date, the instrument life number is no longer subtracted, and the first operand, the second operand and the operation date do not need to be updated. If they are different, an operation of subtracting the instrument life number is required. At the same time, the first operand and the second operand both need to be added by 1, and the operation date is updated to the current date. At this time, the updated data strip group and the updated comprehensive data strip are stored in the memory buffer area. After checking that the operands in the memory buffer area are the same, the main comprehensive data strip and the spare comprehensive data strip are written into the surgical instrument. Then the main comprehensive data strip and the spare comprehensive data strip are read from the surgical instrument to check whether they have been written correctly. If they have been written correctly, the main data strip and the spare data strip are written into the surgical instrument again. If the main comprehensive data strip and the spare comprehensive data strip are not written correctly, an error prompt message is generated. After the data strip is written into the surgical instrument, the main data strip and the spare data strip in the surgical instrument can also be re-read into the memory buffer area for verification. If the verification passes, the data strip in the surgical instrument is read into the target platform.

[0079] The technical solution of this embodiment is as follows: when there is a second operand in a candidate data strip that is consistent with the first operand, the consistent candidate data strip is determined as the baseline data strip; when the second operand in each candidate data strip is inconsistent with the first operand, the second operand in the candidate data strip is increased, and the instrument life number in the candidate data strip is decreased, and the updated candidate data strip is used as the baseline data strip to ensure the correctness of the data in the baseline data strip, and then the baseline data strip is used to correct other data strips in the target data strip to ensure the correctness of all data in the surgical instrument.

[0080] Embodiment 3

[0081] Figure 8 is a schematic diagram of the structure of a surgical instrument data reading device provided according to the third embodiment of the present invention. The device is configured on a target platform, such as Figure 8 As shown, the device includes: a data reading module 310, a target verification result determination module 320, a candidate data strip determination module 330 and a data correction module 340.

[0082] Among them, the data reading module 310 is used to read at least one first field in the comprehensive data strip in the surgical instrument and at least one second field in each target data strip in at least one data strip group when detecting that the surgical instrument is connected to the target platform; the first field includes at least a first operand; the second field includes at least a second operand and a second check code; the target data strip includes a main data strip and at least one spare data strip corresponding to the main data strip; the target verification result determination module 320 is used to verify the second check code in each target data strip for each data strip group, obtain a first verification result for each target data strip, and based on each of the first verification results , a preset result, the first operand and the second operand in each of the target data strips to determine a target verification result; a candidate data strip determination module 330, used to, when the target verification result is inconsistent with the preset result and there is a target data strip whose first verification result is consistent with the preset result, determine a candidate data strip based on the target data strip when they are consistent; a data correction module 340, used to correct at least one second field in at least one of the target data strips based on the first operand and the second operand in each of the candidate data strips to update the data strip in the surgical instrument, and read the updated data strip in the surgical instrument to the target platform.

[0083] The technical solution of this embodiment is to read at least one first field in the comprehensive data strip in the surgical instrument and at least one second field in each target data strip in at least one data strip group when detecting that the surgical instrument is connected to the target platform; the first field includes at least a first operand; the second field includes at least a second operand and a second check code; for each data strip group, the second check code in each target data strip is checked respectively to obtain a first check result for each target data strip, and the target check result is determined based on each first check result, the preset result, the first operand and the second operand in each target data strip; when the target check result is inconsistent with the preset result, and there is a target data strip whose first check result is consistent with the preset result, a candidate data strip is determined based on the target data strip when they are consistent; based on the first operand and the second operand in each candidate data strip, at least one second field in at least one target data strip is corrected to update the data strip in the surgical instrument, and the updated data strip in the surgical instrument is read to the target platform, thereby solving the problems in the prior art. By means of data verification, the verified instrument data is read into the system, resulting in poor accuracy of the read data and inability to correct the data when it is wrong. When it is detected that the surgical instrument is connected to the target platform, the second verification code in each target data strip in the same data group in the surgical instrument is verified to obtain a first verification result for each target data strip; then, the target verification result is determined in combination with the first operand based on each first verification result, the preset result, the comprehensive data strip, and the second operand in each target data strip, and when the target verification result is inconsistent with the preset result, and there is a target data strip whose first verification result is consistent with the preset result, candidate data strips are determined based on the target data strips when they are consistent, and data strips with correct data and data errors are effectively identified. Then, according to the first operand and the second operand in each candidate data strip, at least one target data strip is corrected to ensure the correctness of the data in the surgical instrument, thereby ensuring the accuracy of the platform reading the surgical instrument data and achieving the technical effect of improving the safety and stability of the platform using surgical instruments.

[0084] Based on the above device, optionally, the data reading module 310 includes:

[0085] A comprehensive data strip reading unit, used for reading at least two first fields in the comprehensive data strip in the surgical instrument when detecting that the surgical instrument is connected to the target platform; the first field includes a feature code and a first check code;

[0086] The target data strip reading unit is used to read at least one second field in each target data strip in the data strip group from the surgical instrument in sequence for each data strip group when the feature code is a preset feature code and the first verification code is verified.

[0087] Based on the above-mentioned device, optionally, a target verification result determination module 320 is used to determine that the target verification result is a verification pass when each of the first verification results is consistent with the preset result and the second operand in each of the target data strips is consistent with the first operand; wherein the preset result is a verification pass.

[0088] Based on the above device, optionally, the second field also includes the life of the device, and the data correction module 340 includes:

[0089] A reference data strip determining unit is used to determine the reference data strip based on the consistent candidate data strips when the second operand in the candidate data strips is consistent with the first operand; or, when the second operand in each candidate data strip is inconsistent with the first operand, to increase the second operand in the candidate data strips and decrease the device lifespan in the candidate data strips, update the candidate data strips, and use the updated candidate data strips as the reference data strips;

[0090] The correction processing unit is used to perform correction processing on at least one second field in other data strips in the target data strip based on the reference data strip; the other data strips are data strips in the target data strip that are different from the reference data strip.

[0091] Based on the above device, optionally, the first field also includes an operation date, and the device also includes: an updating unit, which is used to reduce the instrument life number in each target data strip in the updated surgical instrument when the operation date is inconsistent with the current date, and increase the second operand in each target data strip and the first operand in the comprehensive data strip, so as to update the operation date in the comprehensive data strip to the current date.

[0092] Based on the above-mentioned device, optionally, the device also includes: a data error prompt information determination unit, which is used to generate data error prompt information when the feature code is not a preset feature code, or the first verification code fails to be verified; or, when the first verification results of all the target data strips are inconsistent with the preset results, generate data error prompt information.

[0093] On the basis of the above device, optionally, the device further includes:

[0094] A cumulative error number determination unit, configured to increase the cumulative error number when generating the data error prompt information, so as to update the cumulative error number;

[0095] A repeated execution unit is used to repeatedly execute the operations of reading the data strips in the surgical instrument, determining the first verification result of each of the target data strips, and determining the target verification result when the cumulative number of errors after update is less than or equal to the preset number of times, so as to determine the candidate data strips when the target verification result is inconsistent with the preset result and when the first verification result of the target data strip is consistent with the preset result, perform correction processing on at least one second field in at least one of the target data strips, and update the cumulative number of errors to the preset threshold after reading the updated data strips in the surgical instrument to the target platform.

[0096] The device for reading surgical instrument data provided in the embodiment of the present invention can execute the method for reading surgical instrument data provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0097] Embodiment 4

[0098] Fig. 9 1 is a schematic diagram of the structure of an electronic device that implements the method for reading surgical instrument data of an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0099] like Fig. 9 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.

[0100] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0101] The processor 11 may be a variety of general and / or dedicated processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for reading surgical instrument data.

[0102] In some embodiments, the method for reading surgical instrument data may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for reading surgical instrument data described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the method for reading surgical instrument data in any other appropriate manner (e.g., by means of firmware).

[0103] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0104] The computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other device for reading programmable surgical instrument data, so that when the computer programs are executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0105] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0106] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0107] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0108] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0109] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements a method for reading surgical instrument data as provided in any embodiment of the present invention.

[0110] In the process of implementation, the computer program product can be written in one or more programming languages ​​or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0111] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0112] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for reading surgical instrument data, characterized in that: Applied to the target platform, the method comprises: When it is detected that the surgical instrument is connected to the target platform, at least one first field in the comprehensive data strip in the surgical instrument and at least one second field in each target data strip in at least one data strip group are read; the first field at least includes a first operand; the second field at least includes a second operand and a second check code; the target data strip includes a main data strip and at least one spare data strip corresponding to the main data strip; For each of the data stripe groups, respectively verify the second verification code in each of the target data stripes to obtain a first verification result for each of the target data stripes, and determine a target verification result based on each of the first verification results, a preset result, the first operand, and the second operand in each of the target data stripes; When the target verification result is inconsistent with the preset result, and there is a target data strip whose first verification result is consistent with the preset result, determining a candidate data strip based on the target data strip when they are consistent; Based on the first operand and the second operand in each of the candidate data strips, correction processing is performed on at least one second field in at least one of the target data strips to update the data strip in the surgical instrument, and the updated data strip in the surgical instrument is read to the target platform.

2. The method for reading surgical instrument data according to claim 1, characterized in that: The method of reading at least one first field in a comprehensive data strip in the surgical instrument and at least one second field in each target data strip in at least one data strip group when detecting that the surgical instrument is connected to the target platform comprises: When it is detected that the surgical instrument is connected to the target platform, at least two first fields in the comprehensive data strip in the surgical instrument are read; the first field includes a feature code and a first check code; When the characteristic code is a preset characteristic code and the first verification code is verified, for each data stripe group, at least one second field in each target data stripe in the data stripe group is read from the surgical instrument in sequence.

3. The method for reading surgical instrument data according to claim 1, characterized in that: The determining a target verification result based on each of the first verification results, a preset result, the first operand, and the second operand in each of the target data strips includes: When each of the first verification results is consistent with the preset result, and the second operand in each of the target data strips is consistent with the first operand, the target verification result is determined to be verification passed; wherein the preset result is verification passed.

4. The method for reading surgical instrument data according to claim 1, characterized in that: The second field also includes a device life number. The correcting process of at least one second field in at least one of the target data strips based on the first operand and the second operand in each of the candidate data strips includes: When there is a second operand in the candidate data strip that is consistent with the first operand, determining a reference data strip based on the consistent candidate data strip; or, When the second operand in each of the candidate data strips is inconsistent with the first operand, the second operand in the candidate data strip is increased, and the device life in the candidate data strip is decreased, the candidate data strip is updated, and the updated candidate data strip is used as the reference data strip; Based on the reference data strip, at least one second field in other data strips in the target data strip is corrected; the other data strips are data strips in the target data strip that are different from the reference data strip.

5. The method for reading surgical instrument data according to claim 1, characterized in that: The first field also includes an operation date. After performing correction processing on at least one second field in at least one of the target data strips, the method further includes: When the operation date is inconsistent with the current date, the instrument life number in each target data strip in the updated surgical instrument is reduced, and the second operand in each target data strip and the first operand in the comprehensive data strip are increased, and the operation date in the comprehensive data strip is updated to the current date.

6. The method for reading surgical instrument data according to claim 2, characterized in that: The method further comprises: When the feature code is not a preset feature code, or the first verification code fails to pass verification, a data error prompt message is generated; or, When the first verification results of all the target data strips are inconsistent with the preset results, data error prompt information is generated.

7. The method for reading surgical instrument data according to claim 6, characterized in that: The method further comprises: When generating the data error prompt information, the accumulated number of errors is adjusted upward to update the accumulated number of errors; When the updated cumulative number of errors is less than or equal to the preset number of times, the operations of reading the data strips in the surgical instrument, determining the first verification result of each of the target data strips, and determining the target verification result are repeatedly performed, so that when the target verification result is inconsistent with the preset result and there is a target data strip whose first verification result is consistent with the preset result, the candidate data strips are determined, and correction processing is performed on at least one second field in at least one of the target data strips, and after the updated data strips in the surgical instrument are read to the target platform, the cumulative number of errors is updated to the preset threshold.

8. A device for reading surgical instrument data, characterized in that: Configured on a target platform, the device comprises: A data reading module, for reading at least one first field in a comprehensive data strip in the surgical instrument and at least one second field in each target data strip in at least one data strip group when detecting that the surgical instrument is connected to the target platform; the first field at least includes a first operand; the second field at least includes a second operand and a second check code; the target data strip includes a main data strip and at least one spare data strip corresponding to the main data strip; a target verification result determination module, configured to verify the second verification code in each target data stripe for each data stripe group, obtain a first verification result for each target data stripe, and determine a target verification result based on each first verification result, a preset result, the first operand, and the second operand in each target data stripe; a candidate data strip determining module, configured to determine a candidate data strip based on the target data strip when the target verification result is inconsistent with the preset result and the first verification result of the target data strip is consistent with the preset result; A data correction module is used to correct at least one second field in at least one of the target data strips based on the first operand and the second operand in each of the candidate data strips, so as to update the data strip in the surgical instrument, and read the updated data strip in the surgical instrument to the target platform.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory in communication with the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for reading surgical instrument data according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for reading surgical instrument data according to any one of claims 1 to 7 when executed.

Citation Information

Patent Citations

  • Surgical instrument identification method, device and equipment and storage medium

    CN115831337A

  • Database consistency verification method and device, electronic equipment and storage medium

    CN116680748A

  • Information management method of surgical instrument and medical system

    CN116721750A

  • Data synchronization method and device, electronic equipment and storage medium

    CN117520456A

  • Data reinforcement method and device for nonvolatile memory, equipment and medium

    CN119440420A