CN117349357A - Medical system data debugging method and device - Google Patents

Medical system data debugging method and device Download PDF

Info

Publication number
CN117349357A
CN117349357A CN202311404911.6A CN202311404911A CN117349357A CN 117349357 A CN117349357 A CN 117349357A CN 202311404911 A CN202311404911 A CN 202311404911A CN 117349357 A CN117349357 A CN 117349357A
Authority
CN
China
Prior art keywords
debugging
debug
medical
data
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311404911.6A
Other languages
Chinese (zh)
Inventor
秦松鄂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kangjian Information Technology Shenzhen Co Ltd
Original Assignee
Kangjian Information Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kangjian Information Technology Shenzhen Co Ltd filed Critical Kangjian Information Technology Shenzhen Co Ltd
Priority to CN202311404911.6A priority Critical patent/CN117349357A/en
Publication of CN117349357A publication Critical patent/CN117349357A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method and a device for debugging medical system data, relates to the technical field of data processing, is suitable for the field of medical health, and mainly aims to solve the problem that the existing medical system data is poor in debugging effectiveness. Comprising the following steps: when detecting that the medical digital system sends a debugging instruction to an associated data real-time processing system, analyzing an operation task requested to be debugged by the debugging instruction based on a debugging interface, and analyzing a debugging object carried by the debugging instruction; the target debugging thread is called to debug the debugging object according to the operation task, and the obtained debugging result is stored in a configured storage receiving pool; and outputting and displaying the debugging result and the metadata of the debugging object in the storage receiving pool.

Description

Medical system data debugging method and device
Technical Field
The invention relates to the technical field of data processing, is suitable for the field of medical health, and particularly relates to a method and a device for debugging medical system data.
Background
With the rapid development of digital medical technology, there is a need to provide efficient and stable technical support for large data processing requirements in digital medical platforms through real-time processing engines. When performing processing operations such as data access, data development, data operation and maintenance, and data management based on a real-time processing engine, debugging of an developed program has been a major problem that plagues developers.
Currently, the existing debugging of a real-time processing engine of a digital medical platform generally samples data to be debugged in real time so as to call a debugging task to debug the sampled data. However, since the sampled data cannot cover all the content of the development program, and if the system load is greatly increased for all the data, the system cannot be debugged in the process of sampling and debugging, and the debugging effectiveness of the medical system data is greatly reduced.
Disclosure of Invention
In view of the above, the present invention provides a method and apparatus for debugging medical system data, which mainly aims to solve the problem of poor debugging effectiveness of the existing medical system data.
According to one aspect of the present invention, there is provided a method for debugging medical system data, comprising:
when detecting that the medical digital system sends a debugging instruction to an associated data real-time processing system, analyzing an operation task requested to be debugged by the debugging instruction based on a debugging interface, and analyzing a debugging object carried by the debugging instruction;
the target debugging thread is called to debug the debugging object according to the operation task, and the obtained debugging result is stored in a configured storage receiving pool;
and outputting and displaying the debugging result and the metadata of the debugging object in the storage receiving pool.
Further, the parsing the operation task of the debug requested by the debug instruction based on the debug interface includes:
if the debugging interface is a structured query language development interface, analyzing the debugging object based on structured language logic, and screening out an operation task matched with the debugging object; and/or the number of the groups of groups,
if the debugging interface is a data stream development interface, determining an operation task based on the debugging identification of the debugging object mark;
the operation task is the task content of the medical operation executed by the debugging object in the medical digital system.
Further, the step of the target debug thread to debug the debug object according to the operation task includes:
a first target debugging thread corresponding to the structured query language development interface is called, and a streaming tabular text is generated;
and debugging the debugging object in the first target debugging thread according to the operation task, and recording debugging process data through a streaming tabular text to obtain the textual debugging result.
Further, the step of the target debug thread to debug the debug object according to the operation task includes:
a second target debugging thread corresponding to the dataflow development interface is called, and a streaming tabular text is generated;
invoking a service verification data stream corresponding to the debug identifier to verify the debug object;
and if the debug object passes the verification, debugging the debug object in the second target debug thread according to the operation task, and recording the debug process data through the flow table text to obtain the text debug result.
Further, before the operation task of the debug requested by the debug instruction is resolved based on the debug interface and the debug object carried by the debug instruction is resolved, the method further includes:
configuring a storage receiving pool to store the debugging result into the storage receiving pool; and/or the number of the groups of groups,
and configuring an interception node through a system core file of the real-time processing engine so as to intercept system release of the debugging task after receiving the debugging instruction.
Further, the outputting and displaying the debug result and the metadata of the debug object in the storage receiving pool includes:
performing data backtracking on the debugging object through the real-time processing engine, determining metadata of the debugging object, and storing the metadata into the storage receiving pool;
if the debug object is sampling data, respectively displaying the debug result, the metadata and the debug object on an output interface;
and if the debug object is non-sampling data, displaying the debug result and the debug data in an output interface.
Further, the method further comprises:
if a debugging normal feedback instruction of the debugging result is received, determining medical service operation logic matched with the debugging object;
and sending the medical service operation logic to a release end of the medical digital system, so that the release end releases the debugging task which passes the debugging according to the medical service operation logic when starting the medical service operation.
According to another aspect of the present invention, there is provided a medical system data debugging apparatus comprising:
the analysis module is used for analyzing an operation task requested to be debugged by the debugging instruction based on a debugging interface when detecting that the medical digital system sends the debugging instruction to the associated data real-time processing system, and analyzing a debugging object carried by the debugging instruction;
the calling module is used for calling a target debugging thread to debug the debugging object according to the operation task, and storing the obtained debugging result into a configured storage receiving pool;
and the display module is used for outputting and displaying the debugging result and the metadata of the debugging object in the storage receiving pool.
Further, the parsing module is specifically configured to parse the debug object based on structured language logic if the debug interface is a structured query language development interface, and screen out an operation task matching the debug object; and/or if the debug interface is a data stream development interface, determining an operation task based on the debug identifier of the debug object marker; the operation task is the task content of the medical operation executed by the debugging object in the medical digital system.
Further, the calling module is specifically configured to call a first target debugging thread corresponding to the structured query language development interface, and generate a streaming tabular text; and debugging the debugging object in the first target debugging thread according to the operation task, and recording debugging process data through a streaming tabular text to obtain the textual debugging result.
Further, the invoking module is specifically further configured to invoke a second target debug thread corresponding to the dataflow class development interface, and generate a streaming tabular text; invoking a service verification data stream corresponding to the debug identifier to verify the debug object; and if the debug object passes the verification, debugging the debug object in the second target debug thread according to the operation task, and recording the debug process data through the flow table text to obtain the text debug result.
Further, the apparatus further comprises:
the configuration module is used for configuring a storage receiving pool so as to store the debugging result into the storage receiving pool; and/or the number of the groups of groups,
and the interception module is used for configuring interception nodes through the system core file of the real-time processing engine so as to intercept system release of the debugging task after receiving the debugging instruction.
Further, the display module is specifically configured to perform data backtracking on the debug object through the real-time processing engine, determine metadata of the debug object, and store the metadata into the storage receiving pool; if the debug object is sampling data, respectively displaying the debug result, the metadata and the debug object on an output interface; and if the debug object is non-sampling data, displaying the debug result and the debug data in an output interface.
Further, the apparatus further comprises:
the determining module is used for determining medical service operation logic matched with the debugging object if a debugging normal feedback instruction of the debugging result is received;
and the sending module is used for sending the medical service operation logic to a release end of the medical digital system so that the release end can release the debugged task according to the medical service operation logic when starting the medical service operation.
According to still another aspect of the present invention, there is provided a storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the method of debugging medical system data as described above.
According to still another aspect of the present invention, there is provided a computer apparatus including: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the debugging method of the medical system data.
By means of the technical scheme, the technical scheme provided by the embodiment of the invention has at least the following advantages:
compared with the prior art, the embodiment of the invention analyzes an operation task requested to be debugged by the debugging instruction based on a debugging interface and analyzes a debugging object carried by the debugging instruction when detecting that the medical digital system sends the debugging instruction to an associated data real-time processing system; the target debugging thread is called to debug the debugging object according to the operation task, and the obtained debugging result is stored in a configured storage receiving pool; and outputting and displaying the debugging result and the metadata of the debugging object in the storage receiving pool, so that the system pressure of medical system data debugging is greatly reduced, the full coverage requirement of the debugging is met, the debugging visualization is realized, and the debugging efficiency of the medical system data is improved.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 shows a flowchart of a method for debugging medical system data according to an embodiment of the present invention;
FIG. 2 shows a block diagram of a medical system data debugging device according to an embodiment of the present invention;
fig. 3 shows a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Artificial intelligence infrastructure technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and other directions.
In view of this, in an embodiment, a method for debugging medical system data is provided in the present invention, and the method is described as applied to a computer device such as a server, where the server may be an independent server, or may be a cloud server that provides cloud services, a cloud database, cloud computing, a cloud function, cloud storage, network services, cloud communication, middleware services, domain name services, security services, a content delivery network (Content Delivery Network, CDN), and basic cloud computing services such as a big data and an artificial intelligent platform, such as an intelligent medical system, a digital medical platform, and the like.
The embodiment of the invention provides a method for debugging medical system data, as shown in fig. 1, which comprises the following steps:
101. when detecting that the medical digital system sends a debugging instruction to the associated data real-time processing system, analyzing an operation task of debugging requested by the debugging instruction based on a debugging interface, and analyzing a debugging object carried by the debugging instruction.
In the embodiment of the invention, the current execution terminal is an execution terminal or an execution service terminal of the digital medical platform, and provides digital medical services for doctor users, patient users or enterprise users, including but not limited to physical examination items, disease examination, registration, drug delivery and other services. Before issuing a medical project, a developer develops and debugs medical system data through a digital medical platform, namely the current execution end detects a medical digital system and an associated data real-time processing system with a debugging function in real time and sends a debugging instruction, so that when the debugging instruction is detected, an operation task requesting debugging is analyzed based on a debugging interface. The data real-time processing system is a link system, the medical digital system can send medical system data to be issued to the data real-time processing system for debugging, at this time, the medical system data can be a system program, a script code and the like to be debugged, and the embodiment of the invention is not particularly limited.
It should be noted that, the debug interface is an interface for sending medical system data to the data real-time processing system, including but not limited to, a Flink Sql and a Flink DataStream, and further, an operation task for analyzing a debug instruction to request for debugging, that is, for the Flink Sql and the Flink DataStream, the corresponding operation task can be respectively analyzed, and the operation task is a task content of a medical operation executed by a debug object in the medical digital system, such as a debug task of a registration operation and a debug task of a drug purchasing operation, which is not particularly limited in the embodiment of the present invention. In addition, the debug object is used for representing a specific parameter for debugging in the operation task, and can be carried by a debug instruction, and a plurality of debug objects can be carried in one debug instruction, so that the purpose of debugging is realized. At this time, the debug object may be extracted from a large number of debug objects, or may be a combination of a plurality of debug objects, which is not particularly limited in the embodiment of the present invention.
102. And the target debugging thread is called to debug the debugging object according to the operation task, and the obtained debugging result is stored in a configured storage receiving pool.
In the embodiment of the invention, after the current execution end analyzes the debug object, the target debug thread is called to debug the operation object according to the operation task, at this time, the target debug thread is a thread which is independently called by the current execution end to execute the debug task, and is preferably an idle system thread. In addition, in the current execution end, a storage receiving pool, such as a Redis storage pool, is created in advance, so that the debugging result is stored in the storage receiving pool, and the embodiment of the invention is not limited in detail.
103. And outputting and displaying the debugging result and the metadata of the debugging object in the storage receiving pool.
In the embodiment of the invention, in order to realize the visualization of the debugging result, the current execution end outputs and displays the debugging result stored in the storage receiving pool and the metadata of the debugging object, and at this time, the metadata are all basic data stored in the storage receiving pool.
Compared with the prior art, the embodiment of the invention analyzes an operation task requested to be debugged by the debugging instruction based on a debugging interface and analyzes a debugging object carried by the debugging instruction when detecting that the medical digital system sends the debugging instruction to an associated data real-time processing system; the target debugging thread is called to debug the debugging object according to the operation task, and the obtained debugging result is stored in a configured storage receiving pool; and outputting and displaying the debugging result and the metadata of the debugging object in the storage receiving pool, so that the system pressure of medical system data debugging is greatly reduced, the full coverage requirement of the debugging is met, the debugging visualization is realized, and the debugging efficiency of the medical system data is improved.
In another embodiment of the present invention, for further definition and explanation, the step of parsing the operation tasks of the debug requested by the debug instruction based on the debug interface includes:
if the debugging interface is a structured query language development interface, analyzing the debugging object based on structured language logic, and screening out an operation task matched with the debugging object; and/or the number of the groups of groups,
and if the debugging interface is a data stream development interface, determining an operation task based on the debugging identification of the debugging object mark.
In order to respectively identify corresponding operation tasks based on the debug interfaces, when the operation tasks are analyzed, the current execution end classifies the debug interfaces into a structured query language type development interface Flink Sql and a data tear development interface Flink DataStream, and respectively analyzes the corresponding operation tasks according to the debug interfaces of different classifications. In a specific implementation scenario, if the debug interface is a structured query language development interface Flink Sql, the debug object is parsed based on the structured language logic, and at this time, the debug object can be found based on the determined structured language logic by using the character string with the special identifier as the recognition basis for the structured language logic, so as to screen the operation task of the debug object. The structured language logic is a program or script logic representing structured language coding for executing medical operation, including but not limited to logical AND, OR, NOT, etc., and further can be determined to be an operation task based on the content corresponding to the structured language logic, and the embodiment of the invention is not limited specifically. In a specific another implementation scenario, if the debug interface is a data stream development interface, the operation task is determined based on the debug identifier of the debug object tag, and at this time, when the developer writes the medical system data, the developer will perform the debug tag, such as the comment tag and the special character string, to be used as an index of the operation task, so when the current execution end identifies the data stream development interface, the current execution end only needs to perform the determination operation task based on the debug identifier.
In another embodiment of the present invention, for further definition and explanation, the step of invoking the target debug thread to debug the debug object according to the operation task includes:
a first target debugging thread corresponding to the structured query language development interface is called, and a streaming tabular text is generated;
and debugging the debugging object in the first target debugging thread according to the operation task, and recording debugging process data through a streaming tabular text to obtain the textual debugging result.
In order to improve efficient execution of a debugging task by a digital medical system and reduce system pressure in a debugging process, in a process of debugging a target debugging thread, in a specific implementation scene, a current execution end firstly invokes a first target debugging thread corresponding to a structured query language development interface Flink Sql, and at this time, the current execution end is pre-configured with different debugging threads for different debugging interfaces in advance. When the first target debugging thread is called, queuing distribution can be performed based on all idle threads matched with the debugging interface, and the idle threads can be sequentially called based on a time sequence to serve as the first target debugging thread, so that the debugging object is debugged in the first target debugging thread according to the debugging task. For example, the debug task is a registration operation debug task, the debug object is a number of times parameter registered by the user, so that whether the user registers 1000 times for abnormality occurs is debugged by the registration operation debug task.
It should be noted that, because the storage medium used by the current execution end to store the debug result and metadata is a storage receiving pool, such as a Redis Sink, the current execution end may be implemented through an interface Sink function, and in this case, in order to store the debug result in the storage receiving pool, the current execution end records the debug process data through a streaming table text, thereby obtaining a textual debug result. The flow table text records the generated debugging process data in the form of a debugging flow in sequence according to the order of each table in the table, and each table can contain a debugging result, so that the text debugging result of the table is obtained.
In another embodiment of the present invention, for further definition and explanation, the step of invoking the target debug thread to debug the debug object according to the operation task includes:
a second target debugging thread corresponding to the dataflow development interface is called, and a streaming tabular text is generated;
invoking a service verification data stream corresponding to the debug identifier to verify the debug object;
and if the debug object passes the verification, debugging the debug object in the second target debug thread according to the operation task, and recording the debug process data through the flow table text to obtain the text debug result.
In order to improve efficient execution of a debugging task by a digital medical system and reduce system pressure in a debugging process, in a process of debugging a target debugging thread, in a specific implementation scene, a current execution end firstly invokes a second target debugging thread corresponding to a data stream development interface Flink DataStream, and at this time, the current execution end is pre-configured with different debugging threads for different debugging interfaces in advance. When the second target debugging thread is called, queuing distribution can be performed based on all idle threads matched with the debugging interface, and the idle threads can be sequentially called based on a time sequence to serve as the second target debugging thread, so that the debugging object is debugged in the second target debugging thread according to the debugging task. In addition, after the current execution end invokes the second target debug thread, the current execution end generates stream tabular respectively, such as stream graph text, and the embodiment of the invention is not limited in detail. In addition, in order to locally perform the debugging in the digital medical system, the system pressure is reduced, and the current execution end invokes a service verification data stream matched with the debugging identification so as to verify the debugging object based on the service verification data stream. The service verification data stream may be debug data of medical services obtained by a developer based on an internal test environment in advance, including but not limited to black and white data lists generated in a medical service process, so that the debug object is abnormal based on comparison between the service verification data stream and the debug object, if the service verification data stream is matched with the black data list, the debug object is normal, and if the service verification data stream is matched with the white data list, the step of debugging the debug object according to an operation task in a second target debug thread can be executed through verification. It should be noted that, in the second target debug thread, the process of debugging the debug object according to the operation task, and the process data recorded by the streaming table text are the same as those in the foregoing method, and will not be described herein again.
In another embodiment of the present invention, for further defining and describing, before the step of parsing the operation task of the debug requested by the debug instruction based on the debug interface and parsing the debug object carried by the debug instruction, the method further includes:
configuring a storage receiving pool to store the debugging result into the storage receiving pool; and/or the number of the groups of groups,
and configuring an interception node through a system core file of the real-time processing engine so as to intercept system release of the debugging task after receiving the debugging instruction.
In order to realize the visualization of the debugging result and the debugging process, the current execution end is pre-configured with a storage receiving pool redissink so as to store the debugging result in the storage receiving pool, and the debugging result and metadata in the storage receiving pool are displayed by being called. Meanwhile, in order to determine the execution effectiveness of debugging, the current execution end configures the interception node through a system core file of the real-time processing engine in advance so as to intercept the system release of the debugging task after receiving the debugging instruction until the release of the debugging task is restarted after the completion of the debugging task.
It should be noted that, the configured interception node may be configured based on a preset designated file, or may be configured based on a system core file selected by a user, by generating a system core file selection list in advance as a user operation interface, and recording a designated system core file to be intercepted, and finally configuring the interception node through a real-time processing engine, such as a link engine, where the embodiment of the present invention is not limited specifically.
In another embodiment of the present invention, for further defining and describing, the step of outputting and displaying the debug result and the metadata of the debug object in the storage receiving pool includes:
performing data backtracking on the debugging object through the real-time processing engine, determining metadata of the debugging object, and storing the metadata into the storage receiving pool;
if the debug object is sampling data, respectively displaying the debug result, the metadata and the debug object on an output interface;
and if the debug object is non-sampling data, displaying the debug result and the debug data in an output interface.
In order to display the debugging result and the visual of the debugging object, when the debugging result and the metadata are displayed and output, specifically, the current execution end firstly performs data backtracking on the debugging object through the real-time processing engine, and determines the metadata of the debugging object so as to store the metadata in the storage receiving pool. The data backtracking is to determine each debug object obtaining a debug result in a reverse direction in sequence, at this time, if the debug objects are extracted from all metadata, the number of the debug objects is necessarily smaller than the number of the metadata, and if the debug objects are all metadata, the number of the debug objects is equal to the number of the metadata. In a specific implementation scenario, if the debug object is sample data, it is indicated that the debug object is extracted from all metadata, and when the debug object is shown, all the debug result, metadata and all the debug object are output in a debug interface for showing. In another specific implementation scenario, if the debug object is non-sampling data, which indicates that the debug object is all metadata, then when the debug object is displayed, the debug result and the debug data are displayed in the output interface, and the embodiment of the invention is not limited specifically.
In another embodiment of the present invention, for further defining and describing, the steps further include:
if a debugging normal feedback instruction of the debugging result is received, determining medical service operation logic matched with the debugging object;
and sending the medical service operation logic to a release end of the medical digital system, so that the release end releases the debugging task which passes the debugging according to the medical service operation logic when starting the medical service operation.
In order to meet different debugging requirements, so that the issuing accuracy of the debugging task is effectively achieved, after the current execution end outputs the display debugging result, a developer can determine whether the debugging task corresponding to the debugging result is correct or not in a manual detection mode, at the moment, after the fact that the debugging task is correct is determined, a normal debugging feedback instruction can be input, and therefore after the current execution end receives the normal debugging feedback instruction, medical service operation logic corresponding to the debugging object is determined. The medical service operation logic is used for representing logic content of the digital medical system operation medical service, including but not limited to registration payment service, check admission service and the like, and can be determined based on a pre-bound service relationship, and the embodiment of the invention is not particularly limited.
It should be noted that, the current execution end sends the medical service operation logic to the issuing end of the medical digital system, such as a mobile phone terminal used by a user, so that the issuing end issues the debug task which has passed the debug according to the medical service operation logic when starting the medical service operation, thereby improving the debug effect of the medical system data.
Compared with the prior art, the embodiment of the invention analyzes an operation task requested to be debugged by the debugging instruction based on a debugging interface and analyzes a debugging object carried by the debugging instruction when detecting that the medical digital system sends the debugging instruction to an associated data real-time processing system; the target debugging thread is called to debug the debugging object according to the operation task, and the obtained debugging result is stored in a configured storage receiving pool; and outputting and displaying the debugging result and the metadata of the debugging object in the storage receiving pool, so that the system pressure of medical system data debugging is greatly reduced, the full coverage requirement of the debugging is met, the debugging visualization is realized, and the debugging efficiency of the medical system data is improved.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention provides a device for debugging medical system data, as shown in fig. 2, where the device includes:
the analysis module 21 is configured to, when detecting that the medical digital system sends a debug instruction to the associated data real-time processing system, analyze an operation task requested to be debugged by the debug instruction based on a debug interface, and analyze a debug object carried by the debug instruction;
the invoking module 22 is configured to invoke a target debug thread to debug the debug object according to the operation task, and store the obtained debug result into a configured storage receiving pool;
and the display module 23 is configured to output and display the debug result and the metadata of the debug object in the storage receiving pool.
Further, the parsing module is specifically configured to parse the debug object based on structured language logic if the debug interface is a structured query language development interface, and screen out an operation task matching the debug object; and/or if the debug interface is a data stream development interface, determining an operation task based on the debug identifier of the debug object marker; the operation task is the task content of the medical operation executed by the debugging object in the medical digital system.
Further, the calling module is specifically configured to call a first target debugging thread corresponding to the structured query language development interface, and generate a streaming tabular text; and debugging the debugging object in the first target debugging thread according to the operation task, and recording debugging process data through a streaming tabular text to obtain the textual debugging result.
Further, the invoking module is specifically further configured to invoke a second target debug thread corresponding to the dataflow class development interface, and generate a streaming tabular text; invoking a service verification data stream corresponding to the debug identifier to verify the debug object; and if the debug object passes the verification, debugging the debug object in the second target debug thread according to the operation task, and recording the debug process data through the flow table text to obtain the text debug result.
Further, the apparatus further comprises:
the configuration module is used for configuring a storage receiving pool so as to store the debugging result into the storage receiving pool; and/or the number of the groups of groups,
and the interception module is used for configuring interception nodes through the system core file of the real-time processing engine so as to intercept system release of the debugging task after receiving the debugging instruction.
Further, the display module is specifically configured to perform data backtracking on the debug object through the real-time processing engine, determine metadata of the debug object, and store the metadata into the storage receiving pool; if the debug object is sampling data, respectively displaying the debug result, the metadata and the debug object on an output interface; and if the debug object is non-sampling data, displaying the debug result and the debug data in an output interface.
Further, the apparatus further comprises:
the determining module is used for determining medical service operation logic matched with the debugging object if a debugging normal feedback instruction of the debugging result is received;
and the sending module is used for sending the medical service operation logic to a release end of the medical digital system so that the release end can release the debugged task according to the medical service operation logic when starting the medical service operation.
Compared with the prior art, the embodiment of the invention analyzes an operation task requested to be debugged by the debugging instruction based on a debugging interface and analyzes a debugging object carried by the debugging instruction when detecting that the medical digital system sends the debugging instruction to an associated data real-time processing system; the target debugging thread is called to debug the debugging object according to the operation task, and the obtained debugging result is stored in a configured storage receiving pool; and outputting and displaying the debugging result and the metadata of the debugging object in the storage receiving pool, so that the system pressure of medical system data debugging is greatly reduced, the full coverage requirement of the debugging is met, the debugging visualization is realized, and the debugging efficiency of the medical system data is improved.
According to one embodiment of the present invention, there is provided a storage medium storing at least one executable instruction for performing the method for debugging medical system data in any of the method embodiments described above.
Fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present invention, and the specific embodiment of the present invention is not limited to the specific implementation of the computer device.
As shown in fig. 3, the computer device may include: a processor (processor) 302, a communication interface (Communications Interface) 304, a memory (memory) 306, and a communication bus 308.
Wherein: processor 302, communication interface 304, and memory 306 perform communication with each other via communication bus 308.
A communication interface 304 for communicating with network elements of other devices, such as clients or other servers.
Processor 302 is configured to execute program 310, and may specifically perform relevant steps in the above-described embodiments of a method for debugging medical system data.
In particular, program 310 may include program code including computer-operating instructions.
The processor 302 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included in the computer device may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
Memory 306 for storing programs 310. Memory 306 may comprise high-speed RAM memory or may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
Program 310 may be specifically operable to cause processor 302 to:
when detecting that the medical digital system sends a debugging instruction to an associated data real-time processing system, analyzing an operation task requested to be debugged by the debugging instruction based on a debugging interface, and analyzing a debugging object carried by the debugging instruction;
the target debugging thread is called to debug the debugging object according to the operation task, and the obtained debugging result is stored in a configured storage receiving pool;
and outputting and displaying the debugging result and the metadata of the debugging object in the storage receiving pool.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of debugging medical system data, comprising:
when detecting that the medical digital system sends a debugging instruction to an associated data real-time processing system, analyzing an operation task requested to be debugged by the debugging instruction based on a debugging interface, and analyzing a debugging object carried by the debugging instruction;
the target debugging thread is called to debug the debugging object according to the operation task, and the obtained debugging result is stored in a configured storage receiving pool;
and outputting and displaying the debugging result and the metadata of the debugging object in the storage receiving pool.
2. The method of claim 1, wherein parsing the operational tasks of the debug requested by the debug instruction based on a debug interface comprises:
if the debugging interface is a structured query language development interface, analyzing the debugging object based on structured language logic, and screening out an operation task matched with the debugging object; and/or the number of the groups of groups,
if the debugging interface is a data stream development interface, determining an operation task based on the debugging identification of the debugging object mark;
the operation task is the task content of the medical operation executed by the debugging object in the medical digital system.
3. The method of claim 2, wherein the invoking the target debug thread to debug the debug object in accordance with the operational task comprises:
a first target debugging thread corresponding to the structured query language development interface is called, and a streaming tabular text is generated;
and debugging the debugging object in the first target debugging thread according to the operation task, and recording debugging process data through a streaming tabular text to obtain the textual debugging result.
4. The method of claim 2, wherein the invoking the target debug thread to debug the debug object in accordance with the operational task comprises:
a second target debugging thread corresponding to the dataflow development interface is called, and a streaming tabular text is generated;
invoking a service verification data stream corresponding to the debug identifier to verify the debug object;
and if the debug object passes the verification, debugging the debug object in the second target debug thread according to the operation task, and recording the debug process data through the flow table text to obtain the text debug result.
5. The method of claim 1, wherein before parsing the operation task of the debug requested by the debug instruction based on the debug interface and parsing the debug object carried by the debug instruction, the method further comprises:
configuring a storage receiving pool to store the debugging result into the storage receiving pool; and/or the number of the groups of groups,
and configuring an interception node through a system core file of the real-time processing engine so as to intercept system release of the debugging task after receiving the debugging instruction.
6. The method of claim 1, wherein the outputting the debug results in the storage receive pool and metadata of the debug object comprises:
performing data backtracking on the debugging object through the real-time processing engine, determining metadata of the debugging object, and storing the metadata into the storage receiving pool;
if the debug object is sampling data, respectively displaying the debug result, the metadata and the debug object on an output interface;
and if the debug object is non-sampling data, displaying the debug result and the debug data in an output interface.
7. The method according to any one of claims 1-6, further comprising:
if a debugging normal feedback instruction of the debugging result is received, determining medical service operation logic matched with the debugging object;
and sending the medical service operation logic to a release end of the medical digital system, so that the release end releases the debugging task which passes the debugging according to the medical service operation logic when starting the medical service operation.
8. A medical system data debugging device, comprising:
the analysis module is used for analyzing an operation task requested to be debugged by the debugging instruction based on a debugging interface when detecting that the medical digital system sends the debugging instruction to the associated data real-time processing system, and analyzing a debugging object carried by the debugging instruction;
the calling module is used for calling a target debugging thread to debug the debugging object according to the operation task, and storing the obtained debugging result into a configured storage receiving pool;
and the display module is used for outputting and displaying the debugging result and the metadata of the debugging object in the storage receiving pool.
9. A storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the method of debugging medical system data according to any one of claims 1-7.
10. A computer device, comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to perform operations corresponding to the method for debugging medical system data according to any one of claims 1-7.
CN202311404911.6A 2023-10-26 2023-10-26 Medical system data debugging method and device Pending CN117349357A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311404911.6A CN117349357A (en) 2023-10-26 2023-10-26 Medical system data debugging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311404911.6A CN117349357A (en) 2023-10-26 2023-10-26 Medical system data debugging method and device

Publications (1)

Publication Number Publication Date
CN117349357A true CN117349357A (en) 2024-01-05

Family

ID=89364769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311404911.6A Pending CN117349357A (en) 2023-10-26 2023-10-26 Medical system data debugging method and device

Country Status (1)

Country Link
CN (1) CN117349357A (en)

Similar Documents

Publication Publication Date Title
US10642913B2 (en) Intent and bot based query guidance
US9442822B2 (en) Providing a visual representation of a sub-set of a visual program
CN108628748B (en) Automatic test management method and automatic test management system
CN110750458A (en) Big data platform testing method and device, readable storage medium and electronic equipment
US7913233B2 (en) Performance analyzer
US10509719B2 (en) Automatic regression identification
US10528456B2 (en) Determining idle testing periods
US10534700B2 (en) Separating test verifications from test executions
US11436133B2 (en) Comparable user interface object identifications
CN113032244A (en) Interface testing method, device, computer system and computer readable storage medium
CN111597120A (en) Interface test apparatus, method, electronic device, and computer-readable storage medium
WO2023082654A1 (en) Method, apparatus and device for generating service interaction diagram, and storage medium
CN115186274A (en) IAST-based security test method and device
CN107493299A (en) A kind of user behavior source tracing method based on three-tier architecture
CN113360377B (en) Test method and device
CN113962597A (en) Data analysis method and device, electronic equipment and storage medium
US11119899B2 (en) Determining potential test actions
CN113254350A (en) Flink operation testing method, device, equipment and storage medium
TW201629768A (en) Infrastructure rule generation
US8607201B2 (en) Augmenting visualization of a call stack
CN117349357A (en) Medical system data debugging method and device
CN114116509A (en) Program analysis method, program analysis device, electronic device, and storage medium
CN112181816A (en) Interface testing method and device based on scene, computer equipment and medium
CN113360365A (en) Flow testing method and flow testing system
CN110069400A (en) Loophole test report generation method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination