Operation log data processing method and device, electronic equipment and storage medium

By preprocessing and failure analysis of surgical robot log data, and cleaning up the data before and after the failure, the problem of excessive data storage of surgical robot log data is solved, the intelligence of cleaning strategies and data reliability are improved, and the loss is reduced risk.

CN118939618APending Publication Date: 2024-11-12HARBIN SIZHERUI INTELLIGENT MEDICAL EQUIP CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202410927135.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

Excessive storage of surgical robot log data leads to system performance and security threats, and the existing cleaning strategies are low in intelligence, increasing the risk of log data loss.

Method used

By preprocessing, annotating and classifying the log data of the surgical robot, performing fault analysis, integrating and comparing the data before and after the failure occurs, generating a line chart, identifying the fault type, cleaning up based on the results of the fault analysis, retaining relevant data, and cleaning is irrelevant. data.

Benefits of technology

It improves the intelligence of log data cleaning strategies, reduces the risk of log data loss, reduces the impact of noise and outliers, obtains higher data reliability and fault analysis accuracy, and reduces the memory pressure of surgical robots.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939618A_ABST
    Figure CN118939618A_ABST
Patent Text Reader

Abstract

The invention provides a surgical log data processing method and device, electronic equipment and a storage medium, and relates to the technical field of medical instruments.The method comprises the steps that log data is preprocessed, and to-be-analyzed data is obtained; performing fault analysis based on the to-be-analyzed data to obtain a fault analysis result; and clearing the log data according to a fault analysis result. The method has the beneficial effects that firstly, the log data is cleaned, and the to-be-analyzed data with higher reliability is obtained; fault analysis is carried out based on all the to-be-analyzed data, log data before and after the fault is taken as analysis data, relevance of operations before and after fault analysis is provided for fault analysis, and a fault analysis result with higher accuracy is obtained. And the log data is cleaned according to the fault analysis result, so that the memory pressure of the surgical robot is reduced, the data required by subsequent robot update and maintenance is reserved, the log data loss risk is reduced, and the intelligence of the surgical log data cleaning strategy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical devices, and in particular to a method, device, electronic device and storage medium for processing surgical log data. Background Art

[0002] During the operation, surgical robots generate a large amount of data, which will be stored in the form of logs or manual records to generate surgical log data for subsequent use. However, with the popularization of surgical robot applications and the increase in data collection, a large amount of log data is generated and stored, which may lead to excessive data storage, thus posing a threat to system performance and security. Too much log data will not only take up valuable storage resources, but also make data analysis and backtracking difficult, and even affect the real-time response capabilities of surgical robots, increasing surgical risks.

[0003] In order to solve the problem of excessive log data storage of surgical robots, the existing technology uses log data cleaning to reduce the log data storage pressure of surgical robots. For example, regular cleaning of log data, that is, by regularly cleaning out outdated log data, can effectively reduce the storage space occupied and improve the efficiency and performance of data storage. However, the cleaning strategy is less intelligent, which increases the risk of log data loss and affects subsequent log data analysis or surgical robot update processing. Summary of the invention

[0004] The problem solved by the present invention is how to improve the intelligence of cleaning strategies and reduce the risk of log data loss.

[0005] In order to solve the above problems, the present invention provides a method, device, electronic device and storage medium for processing surgical log data.

[0006] In a first aspect, the present invention provides a method for processing surgical log data, comprising:

[0007] Preprocessing the acquired log data of the surgical robot to obtain data to be analyzed;

[0008] Performing fault analysis based on the data to be analyzed to obtain a fault analysis result;

[0009] The log data is cleaned up according to the fault analysis result.

[0010] Optionally, the preprocessing of the acquired log data of the surgical robot to obtain the data to be analyzed includes:

[0011] Marking the log data, and classifying the marked log data to obtain byte stream data and / or table data;

[0012] The byte stream data is processed according to a preset segmentation character stream size to obtain the data to be analyzed, and / or the table data is extracted according to a preset fixed position to obtain the data to be analyzed.

[0013] Optionally, the data to be analyzed includes motor running data and operation data of the surgical robot; and performing fault analysis based on the data to be analyzed to obtain a fault analysis result includes:

[0014] Integrate the retrieved motor operation data and operation data when the fault occurs, and the motor operation data and operation data in a preset time period before and after the fault occurs, and compare the integrated motor operation data with the integrated operation data;

[0015] If the integrated motor running data and the integrated operation data do not correspond, determining that the motor is faulty;

[0016] If the integrated motor running data and the integrated operation data correspond to each other, it is determined that the fault is not a motor fault.

[0017] Optionally, integrating the retrieved motor operation data and operation data when the fault occurs, and the motor operation data and operation data in a preset time period before and after the fault occurs, and comparing the integrated motor operation data with the integrated operation data comprises:

[0018] Generate a first broken line by using the motor operation data when the fault occurs and the changes in the motor operation data in a preset time period before and after the fault occurs in chronological order;

[0019] Generate a second broken line by using the operation data when the fault occurs and the change of the operation data in a preset time period before and after the fault occurs in chronological order;

[0020] A line graph is generated according to the first fold line and the second fold line, and the first fold line and the second fold line are compared.

[0021] Optionally, the data to be analyzed includes system data of the surgical robot; after determining that it is not a motor fault if the integrated motor operation data corresponds to the integrated operation data, the method further includes:

[0022] Fault analysis is performed based on the acquired system data.

[0023] Optionally, performing fault analysis based on the data to be analyzed to obtain a fault analysis result further includes:

[0024] Traversing and counting the data to be analyzed according to preset fault types to obtain the number of occurrences of each fault type in the data to be analyzed;

[0025] All the data to be analyzed corresponding to the fault type with the highest number of occurrences are retrieved to perform fault analysis and obtain a fault analysis result.

[0026] Optionally, the marking the log data includes:

[0027] Marking the log data to obtain fault data and non-fault data to be processed;

[0028] The fault data to be processed is labeled according to the fault type to obtain the fault data.

[0029] In a second aspect, the present invention provides a surgical log data processing device, comprising:

[0030] A preprocessing unit, used for preprocessing the acquired log data of the surgical robot to obtain data to be analyzed;

[0031] An analysis unit, used to perform fault analysis based on the data to be analyzed to obtain a fault analysis result;

[0032] A cleaning unit is used to clean up the log data according to the fault analysis result.

[0033] In a third aspect, the present invention provides an electronic device, including a memory and a processor;

[0034] The memory is used to store computer programs;

[0035] The processor is used to implement the surgical log data processing method as described in the first aspect when executing the computer program.

[0036] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the surgical log data processing method as described in the first aspect is implemented.

[0037] The beneficial effects of the present invention are as follows: first, the log data is cleaned to avoid the influence of noise, abnormal values, etc. in the data on the subsequent fault analysis, so as to obtain data to be analyzed with higher reliability. Fault analysis is performed based on all the data to be analyzed, that is, during fault analysis, the log data before and after the fault occurs are also used as analysis data, so as to provide the correlation between the previous and next operations for the fault analysis, and obtain a fault analysis result with higher accuracy. The log data is further cleaned according to the fault analysis results, that is, the log data related to the fault analysis results are retained and stored, and the data unrelated to the fault analysis results are cleaned, while reducing the memory pressure of the surgical robot, the data required for subsequent robot updates and maintenance are retained, the risk of log data loss is reduced, the intelligence of the surgical log data cleaning strategy is improved, and the use and processing efficiency of surgical log data is increased. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 Schematic diagram of the process of the surgical log data processing method according to an embodiment of the present invention;

[0039] Figure 2 Schematic diagram of the byte stream data processing process according to an embodiment of the present invention Figure 1 ;

[0040] Figure 3 Schematic diagram of the byte stream data processing process according to an embodiment of the present invention Figure 2 ;

[0041] Figure 4 A schematic diagram of a process flow of table data processing according to an embodiment of the present invention;

[0042] Figure 5 A line chart comparing data to be processed according to an embodiment of the present invention;

[0043] Figure 6 A statistical diagram of the number of fault types in an embodiment of the present invention;

[0044] Figure 7 It is a structural schematic diagram of a surgical log data processing device according to an embodiment of the present invention;

[0045] Figure 8 Schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0046] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.

[0047] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0048] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to"; the term "based on" means "based at least in part on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0049] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0050] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.

[0051] In view of the problems existing in the above-mentioned related technologies, this embodiment provides a method, device, electronic device and storage medium for processing surgical log data.

[0052] During the operation, the operation of the surgical robot and the manual operation of the surgical robot are recorded to obtain the log data during the operation. When the surgical robot is subsequently adjusted or the operation record is called, the log data of the corresponding time can be retrieved for reference. However, simple data record storage is not helpful for future improvements of surgical robots. The storage of all log data or some specified log data (such as when a failure occurs) may cause the surgical robot's memory to run out, thereby affecting the operation of the surgical robot.

[0053] like Figure 1 As shown, an embodiment of the present invention provides a method for processing surgical log data, comprising:

[0054] Step S1: pre-process the acquired log data of the surgical robot to obtain data to be analyzed.

[0055] Specifically, since the log data includes the operation data of the surgical robot and the human operation data of the surgical robot, which are of many types and different, if you want to analyze and process the data, you should first normalize the log data. In the process of generating log data, there may be problems such as noise, missing values, outliers, and repeated data. At this time, you need to process the log data, such as data cleaning, noise removal, and duplicate data removal, to obtain the data to be analyzed, so as to improve the quality of log data, reduce errors and interference in problem data, and improve data reliability.

[0056] Step S2: performing fault analysis based on the data to be analyzed to obtain a fault analysis result.

[0057] Specifically, in surgeries involving surgical robots, common types of failures include sensor failures, mechanical failures, failures caused by environmental factors, motor failures, and failures caused by human operations, etc. Correspondingly, the data to be analyzed include sensor data, control data, motor operation data, human operation data, etc. The surgical robot is subjected to fault analysis based on the data to be analyzed. For example, the motor operation data of the same operation in the same surgery is retrieved and compared with the motor operation data of the same operation this time. If there is a large change, it means that the surgical robot has a motor failure. Alternatively, a pre-trained neural network model is used to perform fault analysis on the motor operation data to determine the motor failure. Failures caused by human operations are determined based on human operation data, and sensor failures are determined based on sensor data... The determination method is the same as the motor failure determination method, which will not be repeated here.

[0058] It should be noted that the fault analysis in this embodiment is to conduct a comprehensive analysis of all log data. The analysis results include not only the fault type, but also the cause of the triggering fault, rather than directly retrieving the log data when the fault alarm occurs to classify the fault. The correlation between the log data before and after the fault and the fault data is taken into account to improve the accuracy of fault analysis.

[0059] Step S3: clearing the log data according to the fault analysis result.

[0060] Specifically, in the subsequent adjustment, maintenance and surgical operation summary of the surgical robot, the log data of the fault in the historical log must be referred to. Therefore, when cleaning the log data, based on the above fault analysis results, the non-fault log data is cleaned and the log data of the fault is retained. In the surgical operation, the fault does not necessarily occur suddenly, and it may have generated a fault warning some time before the occurrence. Therefore, in this embodiment, the log data of the preset time before and after the fault is also retained to facilitate the subsequent analysis and summary of the cause of the fault.

[0061] In this embodiment, the log data is first cleaned to avoid the influence of noise, abnormal values, etc. in the data on the subsequent fault analysis, so as to obtain data to be analyzed with higher reliability. Fault analysis is performed based on all the data to be analyzed, that is, during fault analysis, the log data before and after the fault occurs are also used as analysis data, so as to provide the correlation between the previous and next operations for the fault analysis, and obtain a more accurate fault analysis result. The log data is further cleaned according to the fault analysis results, that is, the log data related to the fault analysis results are retained and stored, and the data unrelated to the fault analysis results are cleaned, so as to reduce the memory pressure of the surgical robot while retaining the data required for subsequent robot updates and maintenance, reduce the risk of log data loss, improve the intelligence of the surgical log data cleaning strategy, and increase the efficiency of surgical log data use and processing.

[0062] Optionally, the preprocessing of the acquired log data of the surgical robot to obtain the data to be analyzed includes:

[0063] The log data is marked, and the marked log data is classified to obtain byte stream data and / or table data.

[0064] Specifically, when data is transmitted to the log during the operation, due to the large amount of data and complex information, most of the log data is usually transmitted in a byte stream sequence during the transmission process, and this type of data is byte stream data. Some log data is stored in a table format, and this type of data is table data.

[0065] The byte stream data is processed according to a preset segmentation character stream size to obtain the data to be analyzed, and / or the table data is extracted according to a preset fixed position to obtain the data to be analyzed.

[0066] Specifically, when the log data is byte stream data, firstly, the preset segmentation character stream size is set according to the characteristics and data structure of the known fault data in the surgical log data to better identify each data segment and extract the required information. Then, each annotated byte stream data is segmented using the preset segmentation character stream size, and the data to be analyzed obtained after the segmentation process is saved, such as Figure 2 As shown in FIG. 1 , it is a process of using a preset segmentation character stream size to segment non-fault byte stream data, where 1100 represents the surgical information of the surgical robot, 101 represents whether the signal light is displayed, and the header and tail of the packet are ignorable information. When the byte stream data is log data when a fault occurs, after the byte stream data is segmented using the preset segmentation character stream size, the segmented data segments are used to identify the part containing the fault data according to the predetermined characteristics, types and definitions of the fault data, and the obtained fault type and fault location are saved as data to be analyzed. The specific process is as follows: Figure 3 As shown, the semicolon indicates the segmentation position, ABAB, CCCE, ASDV, WWWW indicate the fault type, and CCDE, QEAF, NNNN, ZZZZ indicate the location where the fault occurs. When the log data is tabular data, first determine the fixed positions of various types of data according to the type of table, that is, you can confirm these positions by checking the structure and format of the file, as well as the characteristics of the known fault data, and set the preset fixed positions according to the log data that needs to be retrieved. Then, according to the determined preset fixed positions, such as specified rows, specified columns, or specified cells, extract the data from all the tabular data, and splice them to generate the data to be analyzed in the form of an array or dictionary, to ensure that the stored data format can retain the integrity and structure of the fault data. When the tabular data is log data when a fault occurs, after extracting the data at the preset fixed position, splice the data to obtain the corresponding fault data to be analyzed. The specific process is as follows: Figure 4 shown.

[0067] Optionally, the data to be analyzed includes motor running data and operation data of the surgical robot; and performing fault analysis based on the data to be analyzed to obtain a fault analysis result includes:

[0068] The retrieved motor running data and operation data when the fault occurs, as well as the motor running data and operation data in a preset time period before and after the fault occurs are integrated, and the integrated motor running data and the integrated operation data are compared.

[0069] If the integrated motor running data and the integrated operation data do not correspond, it is determined that the motor is faulty.

[0070] If the integrated motor running data and the integrated operation data correspond to each other, it is determined that the fault is not a motor fault.

[0071] Specifically, when the surgical robot is running, there are many types of faults, such as sensor faults, environmental faults, motor faults, and operation faults. Common faults can be summarized as motor faults and non-motor faults, and non-motor data is usually caused by human operations during surgery. Therefore, this embodiment uses motor operation data and operation data to determine motor faults and non-motor faults. The motor operation data and operation data when the fault occurs are obtained for comparison. At the same time, in order to improve the accuracy of fault analysis, the motor operation data and operation data before and after the fault are also used as analysis conditions, that is, the motor operation data is integrated according to time, the operation data is integrated according to time, and the integrated motor operation data and operation data are compared. It should be noted that after the operation is performed, the motor operation may undergo certain changes. When the operation is performed, the motor operation undergoes corresponding changes, that is, the motor operation data corresponds to the operation data. After the operation is performed, the motor operation undergoes opposite changes or remains unchanged, that is, the motor operation data does not correspond to the operation data. If the motor operation data does not correspond to the operation data, it means that the motor operation has not changed according to the operation, which means that there is a problem with the motor. Therefore, it is judged as a motor failure. If the motor operation data corresponds to the operation data, it means that the motor operation has changed according to the operation, but the surgical robot still reports a fault at this time, it is considered that the operation or other non-motor failures have occurred. Therefore, it is judged as a non-motor failure.

[0072] Optionally, integrating the retrieved motor operation data and operation data when the fault occurs, and the motor operation data and operation data in a preset time period before and after the fault occurs, and comparing the integrated motor operation data with the integrated operation data comprises:

[0073] The motor operation data when the fault occurs and the change of the motor operation data in a preset time period before and after the fault occur are used to generate a first broken line in chronological order.

[0074] The operation data when the fault occurs and the change of the operation data in a preset time period before and after the fault occurs are used to generate a second broken line in chronological order.

[0075] A line graph is generated according to the first fold line and the second fold line, and the first fold line and the second fold line are compared.

[0076] Specifically, in order to achieve a more intuitive and faster comparison between the motor running data and the operation data, the motor running data and the operation data are converted into a line graph, wherein the x-axis of the line graph represents time and the y-axis represents the degree of data change. Figure 5 As shown, Figure 5 The middle figure (a) shows the situation where the motor running data and the operation data correspond to each other, that is, the first broken line ① and the second broken line ② are the same. Figure 5The middle figure (b) shows the situation where the motor running data and the operation data do not correspond, that is, the first broken line ① and the second broken line ② are different.

[0077] Optionally, the data to be analyzed includes system data of the surgical robot; after determining that it is not a motor fault if the integrated motor operation data corresponds to the integrated operation data, the method further includes:

[0078] Fault analysis is performed based on the acquired system data.

[0079] Specifically, non-motor failures may also include sensor failures, failures caused by environmental factors, communication failures, control failures, etc. If the specific cause is to be determined, it is still necessary to further determine it based on the system data. The specific judgment method can be the same as the above-mentioned motor failure and non-motor failure judgment method, and the judgment method can also be adjusted according to actual conditions. There is no specific limitation. System data may include sensor data, control data, communication data, environmental data, etc. Sensor data includes recording the output data of various sensors of the surgical robot, such as position sensors, force sensors, visual sensors, etc., which are used to monitor the status and environmental information of the robot. The sensor data can be used to determine whether the surgical robot has a sensor failure; control data records the control instructions and feedback data of the surgical robot, including the input and output of the control system, which is used to monitor the movement and behavior of the robot. The control data can be used to determine whether the surgical robot has a control failure; communication data records the communication data between the surgical robot and external devices or systems, including network communication data, sensor data transmission, etc., which is used to monitor communication status and problems. The passage data can be used to determine whether the surgical robot has a passage failure; by recording environmental data, such as temperature, humidity, etc., it can be detected whether environmental factors affect the normal operation of the surgical robot, such as high temperature causing poor heat dissipation and other problems. The environmental data can be used to determine whether the surgical robot has an environmental failure.

[0080] Optionally, performing fault analysis based on the data to be analyzed to obtain a fault analysis result further includes:

[0081] The data to be analyzed is traversed and counted according to preset fault types to obtain the number of occurrences of each fault type in the data to be analyzed.

[0082] All the data to be analyzed corresponding to the fault type with the highest number of occurrences are retrieved to perform fault analysis and obtain a fault analysis result.

[0083] Specifically, when analyzing faults, it is not necessary to analyze all faults that occur, and the fault type to be analyzed can be adjusted according to the actual situation. Usually, the most common fault type needs to be analyzed and adjusted in detail. Therefore, this embodiment traverses and counts the data to be analyzed using, for example, the fault type initially determined by the surgical robot or the fault type subsequently marked, and generates a statistical graph ( Figure 6 It is a form of statistical chart, such as Figure 6 As shown in the figure, the x-axis of the statistical graph represents the type of fault, and the y-axis represents the number of occurrences), so as to more intuitively reflect the fault type and the corresponding number of occurrences, and retrieve the data corresponding to the fault type with the highest number of occurrences for fault analysis.

[0084] Optionally, the marking the log data includes:

[0085] Marking the log data to obtain fault data and non-fault data to be processed;

[0086] The fault data to be processed is labeled according to the fault type to obtain the fault data.

[0087] Specifically, before processing the log data, a simple mark should be made on the pre-acquired log data to determine whether it is faulty and the type of fault to increase the efficiency of subsequent fault analysis. For example, a surgical robot can usually automatically mark fault data during operation. During the operation, if the surgical robot fails, the surgical robot will pause or issue an alarm, and the log data at this time will be marked as fault data, and other log data will be marked as non-fault data; or if necessary, when the log data is reviewed after the operation is completed, the staff can also manually mark the log data according to preset fault standards or fault types.

[0088] like Figure 7 As shown, an operation log data processing device 700 provided by an embodiment of the present invention includes:

[0089] A preprocessing unit 710 is used to preprocess the acquired log data of the surgical robot to obtain data to be analyzed;

[0090] An analysis unit 720 is used to perform fault analysis based on the data to be analyzed to obtain a fault analysis result;

[0091] The cleaning unit 730 is used to clean up the log data according to the fault analysis result.

[0092] like Figure 8As shown, an electronic device 800 provided by an embodiment of the present invention includes a memory 810 and a processor 820; the memory 810 is used to store a computer program; the processor 820 is used to implement the surgical log data processing method as described above when executing the computer program.

[0093] In other words, an electronic device 800 includes a memory 810 and a processor 820 coupled to the memory 810; the memory 810 is configured to store a computer program; and the processor 820 is configured to perform the following operations when executing the computer program:

[0094] Preprocessing the acquired log data of the surgical robot to obtain data to be analyzed;

[0095] Performing fault analysis based on the data to be analyzed to obtain a fault analysis result;

[0096] The log data is cleaned up according to the fault analysis result.

[0097] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the surgical log data processing method as described above is implemented.

[0098] In other words, a non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor performs the following operations:

[0099] Preprocessing the acquired log data of the surgical robot to obtain data to be analyzed;

[0100] Performing fault analysis based on the data to be analyzed to obtain a fault analysis result;

[0101] The log data is cleaned up according to the fault analysis result.

[0102] An electronic device 800 that can be used as a server or client of the present invention will now be described, which is an example of a hardware device that can be applied to various aspects of the present invention. The electronic device 800 is intended to represent various forms of digital electronic computer equipment, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 800 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, 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 herein and / or required.

[0103] The electronic device 800 includes a computing unit, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The computing unit, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.

[0104] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. In the present application, the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present invention. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0105] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.

Claims

1. A method for processing surgical log data, characterized in that: include: Preprocessing the acquired log data of the surgical robot to obtain data to be analyzed; Performing fault analysis based on the data to be analyzed to obtain a fault analysis result; The log data is cleaned up according to the fault analysis result.

2. The method for processing surgical log data according to claim 1, characterized in that: The acquired log data of the surgical robot is preprocessed to obtain the data to be analyzed, including: Marking the log data, and classifying the marked log data to obtain byte stream data and / or table data; The byte stream data is processed according to a preset segmentation character stream size to obtain the data to be analyzed, and / or the table data is extracted according to a preset fixed position to obtain the data to be analyzed.

3. The method for processing surgical log data according to claim 1, characterized in that: The data to be analyzed include motor running data and operation data of the surgical robot; The performing fault analysis based on the data to be analyzed to obtain the fault analysis result comprises: Integrate the retrieved motor operation data and operation data when the fault occurs, and the motor operation data and operation data in a preset time period before and after the fault occurs, and compare the integrated motor operation data with the integrated operation data; If the integrated motor running data and the integrated operation data do not correspond, determining that the motor is faulty; If the integrated motor running data and the integrated operation data correspond to each other, it is determined that the fault is not a motor fault.

4. The method for processing surgical log data according to claim 3, characterized in that: The step of integrating the retrieved motor operation data and operation data when the fault occurs, and the motor operation data and operation data in a preset time period before and after the fault occurs, and comparing the integrated motor operation data with the integrated operation data comprises: Generate a first broken line by using the motor operation data when the fault occurs and the changes in the motor operation data in a preset time period before and after the fault occurs in chronological order; Generate a second broken line by using the operation data when the fault occurs and the change of the operation data in a preset time period before and after the fault occurs in chronological order; A line graph is generated according to the first fold line and the second fold line, and the first fold line and the second fold line are compared.

5. The method for processing surgical log data according to claim 3, characterized in that: The data to be analyzed includes system data of the surgical robot; after determining that it is not a motor fault if the integrated motor operation data corresponds to the integrated operation data, the method further includes: Fault analysis is performed based on the acquired system data.

6. The method for processing surgical log data according to claim 1, characterized in that: The performing fault analysis based on the data to be analyzed to obtain a fault analysis result also includes: Traversing and counting the data to be analyzed according to preset fault types to obtain the number of occurrences of each fault type in the data to be analyzed; All the data to be analyzed corresponding to the fault type with the highest number of occurrences are retrieved to perform fault analysis and obtain a fault analysis result.

7. The method for processing surgical log data according to claim 2, characterized in that: The marking of the log data comprises: Marking the log data to obtain fault data and non-fault data to be processed; The fault data to be processed is labeled according to the fault type to obtain the fault data.

8. A surgical log data processing device, characterized in that: include: A preprocessing unit, used for preprocessing the acquired log data of the surgical robot to obtain data to be analyzed; An analysis unit, used to perform fault analysis based on the data to be analyzed to obtain a fault analysis result; A cleaning unit is used to clean up the log data according to the fault analysis result.

9. An electronic device, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is used to implement the surgical log data processing method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the surgical log data processing method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Television set, television fault location method and computer readable storage medium

    CN109120925A

  • Fault diagnosis method of rotating machine, storage medium and electronic equipment

    CN113125135A

  • Fault processing method and device of log collector, medium and log collector

    CN114356741A

  • Fault analysis method and device based on graph model

    CN114629776A

  • Power transmission line fault on-line positioning and monitoring system and method

    CN114689994A