CN115063505A - Local graph updating apparatus, medical system, and computer-readable storage medium - Google Patents

Local graph updating apparatus, medical system, and computer-readable storage medium Download PDF

Info

Publication number
CN115063505A
CN115063505A CN202210656280.6A CN202210656280A CN115063505A CN 115063505 A CN115063505 A CN 115063505A CN 202210656280 A CN202210656280 A CN 202210656280A CN 115063505 A CN115063505 A CN 115063505A
Authority
CN
China
Prior art keywords
parameter
range
graph
data
updated
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
CN202210656280.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.)
Sceneray Co Ltd
Original Assignee
Sceneray 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 Sceneray Co Ltd filed Critical Sceneray Co Ltd
Priority to CN202210656280.6A priority Critical patent/CN115063505A/en
Publication of CN115063505A publication Critical patent/CN115063505A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/318Heart-related electrical modalities, e.g. electrocardiography [ECG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/369Electroencephalography [EEG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/389Electromyography [EMG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/398Electrooculography [EOG], e.g. detecting nystagmus; Electroretinography [ERG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/194Segmentation; Edge detection involving foreground-background segmentation

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Animal Behavior & Ethology (AREA)
  • Veterinary Medicine (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Psychiatry (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Ophthalmology & Optometry (AREA)
  • Artificial Intelligence (AREA)
  • Physiology (AREA)
  • Signal Processing (AREA)
  • Psychology (AREA)
  • Cardiology (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a partial graph updating apparatus, a medical system and a computer-readable storage medium, wherein the partial graph updating apparatus comprises a processor configured to execute the following steps: s1: generating an initial graph based on the data to be drawn with the first parameter in the preset range, and displaying the initial graph by using display equipment; s2: dividing a preset range corresponding to the first parameter; s3: generating a background graph with the first parameter as a horizontal axis and the second parameter as a vertical axis based on the data to be drawn with the first parameter in the non-updating range; s4: based on the data to be drawn with the re-acquired first parameter in the range to be updated, generating a foreground graph with the first parameter as a horizontal axis and the second parameter as a vertical axis; s5: synthesizing to obtain a local updating graph; s6: and displaying the local update graph by using the display device, and re-executing the step S4. Only the local graph is updated, the data volume in the graph updating process is reduced, and the consumption of the memory is reduced.

Description

Local graph updating apparatus, medical system, and computer-readable storage medium
Technical Field
The present application relates to the technical field of medical devices and bioelectricity monitoring, and in particular, to a local pattern updating apparatus, a medical system, and a computer-readable storage medium.
Background
With the development of science and technology and the progress of society, patients desire to improve the quality of life through various treatment means, wherein the application prospect of medical devices, especially implantable devices, is very wide. An implantable device refers to a medical device that enters the human body or into a cavity (mouth) completely or partially by means of an operation, or is used for replacing the epithelial surface or ocular surface of the human body, and is left in the human body for more than 30 days (inclusive) or is absorbed by the human body after the operation process is finished. A stimulator, which is one type of implantable device, generally includes an IPG, an extension lead, and an electrode lead, and is capable of providing a patient with a parametrically controlled refined electrical stimulation therapy, and is popular with many consumers in the market.
At present, the prior art can use a sensing device to sense a bioelectric signal of a patient, use a signal processing device to process the sensed bioelectric signal to generate a graph, such as an electrocardiogram, an electroencephalogram, an electrooculogram, etc., and use a graphical representation to help a doctor to intuitively know the frequency, voltage amplitude, etc. of the bioelectric signal in the patient, thereby assisting the doctor to make a correct diagnosis of the current condition of the patient. However, in the prior art, when a graph such as an electroencephalogram is refreshed, the whole graph is refreshed completely, such as in a range of 0 to 1000Hz as shown in the following figure, and in reality, a user only pays attention to data in a certain very small range, such as only paying attention to a delta wave (0.5 to 4Hz), so that unnecessary calculation and memory consumption are caused by refreshing in the whole range, and the user experience is not good.
Patent CN113840174A discloses an image display method, system and storage medium, the method comprising: acquiring a target image frame to be displayed; comparing the target image frame with the previous image frame of the target image frame to obtain difference data and additional address information of the difference data; dividing the differential data according to the SPI subareas of the serial peripheral interfaces according to the differential data and the additional address information to respectively obtain the change data of the SPI subareas; and sending the change data of the SPI subarea to the SPI subarea in the display aiming at each SPI subarea, so that the display refreshes the display change data in each SPI subarea in a local refreshing mode on the basis of displaying the previous frame of image frame. For each SPI subarea, the change data of the SPI subarea is sent to the SPI subarea in the display, so that the data volume of image data received by the display can be reduced, and the situations of picture pause and time delay of the display adopting an SPI communication mode are reduced. The method comprises the steps of firstly obtaining a complete image of a target image frame, then detecting changes of the complete image relative to a previous image frame to obtain total difference data, and then dividing the difference data according to SPI partitions, thereby obtaining change data corresponding to each SPI partition for realizing local refreshing. That is, this method is a partial refresh on a hardware (i.e., each SPI partition) divided basis (dividing an area requiring refresh and an area not requiring refresh). However, in acquiring the target image frame, reduction in the amount of calculation data cannot be achieved.
Based on this, the present application provides a partial graphic updating apparatus, a medical system, and a computer-readable storage medium to solve the above-mentioned problems in the prior art.
Disclosure of Invention
The purpose of the present application is to provide a local graph updating device, a medical system, and a computer-readable storage medium, which only updates a local graph without updating the entire graph in the process of updating the graph, thereby reducing the data amount of data processing in the graph updating process and reducing the consumption of a memory.
The purpose of the application is realized by adopting the following technical scheme:
in a first aspect, the present application provides a local graph updating apparatus for drawing a graph based on data to be drawn, the data to be drawn being obtained by processing a bioelectric signal of a patient;
the data to be drawn comprises a plurality of data pairs, each data pair comprises a parameter value of a first parameter and a parameter value of a second parameter, and the first parameter is time or frequency;
the local graphics update apparatus comprises a processor configured to perform the steps of:
s1: generating an initial graph based on the data to be drawn with the first parameter in the preset range, and displaying the initial graph by using display equipment;
s2: dividing a preset range corresponding to the first parameter to obtain a range to be updated and a range not to be updated;
s3: generating a background graph with the first parameter as a horizontal axis and the second parameter as a vertical axis based on the data to be drawn with the first parameter in the non-updating range;
s4: based on the data to be drawn with the re-acquired first parameter in the range to be updated, generating a foreground graph with the first parameter as a horizontal axis and the second parameter as a vertical axis;
s5: taking the background graph as a background, taking the foreground graph as a foreground, carrying out scale alignment on a range to be updated of a transverse axis of the foreground graph and a transverse axis of the background graph, carrying out scale alignment on a longitudinal axis of the foreground graph and a longitudinal axis of the background graph, and synthesizing to obtain a local updated graph;
s6: and displaying the local update graph by using the display device, and re-executing the step S4.
The technical scheme has the beneficial effects that: in the process of updating the graph (i.e. acquiring a local update graph), only the local graph (i.e. the foreground graph, relative to the local update graph, the foreground graph corresponds to only one part of the local update graph) is updated, and the whole graph does not need to be updated (i.e. the background graph in the local update graph does not need to be updated), so that the data processing data amount in the graph updating process is reduced, and the consumption of a memory is reduced. By adopting the local graph updating device provided by the application, the problem that the current drawing control cannot be updated locally is solved; unnecessary operation is greatly reduced, and equipment overhead is saved; the picture pause and the time delay are reduced; in addition, the scheme can be made into a custom library for direct introduction and use by developers.
The plotted graph (initial graph, locally updated graph) is capable of characterizing a time domain characteristic of the second parameter when the first parameter is time and is capable of characterizing a frequency domain characteristic of the second parameter when the second parameter is frequency.
Firstly, generating an initial graph and displaying the initial graph; dividing a preset range to obtain a range to be updated and a range not to be updated, and performing local updating only on the range to be updated subsequently; the data to be drawn corresponding to the non-updating range does not need to be updated, so that the data to be drawn does not need to be acquired again, and only the existing data to be drawn is used for generating a background graph; the data to be drawn corresponding to the range to be updated needs to be updated, so that the part of the data to be drawn needs to be acquired again, and a foreground graph is generated; taking the background graph and the foreground graph as a background and a foreground respectively, and performing scale alignment on the foreground graph and the background graph, specifically, aligning a horizontal axis and a horizontal axis of the background graph and aligning a vertical axis and a vertical axis of the foreground graph and the background graph, wherein a value range of the horizontal axis of the foreground graph (namely, a range to be updated) is only a part of a value range of the horizontal axis of the background graph (namely, a preset range, including a range to be updated and a range not to be updated), so that the horizontal axis and the horizontal axis of the foreground graph and the background graph are aligned, more specifically, the horizontal axis of the foreground graph is aligned with a part of the horizontal axis of the background graph, and the part of the horizontal axis of the background graph refers to the range to be updated of the horizontal axis of the background graph and is synthesized to obtain a local updated graph after the horizontal axis and the vertical axis are aligned respectively; and displaying the local updated graph by using the display equipment, and re-executing the foreground graph generation step (namely S4) to generate a new foreground graph so as to synthesize and obtain a new local updated graph, displaying the new local updated graph by using the display equipment, realizing the continuous updating of the graph and meeting the requirement of monitoring the bioelectricity signals of the patient in real time by a doctor.
The data to be drawn is obtained by processing the bioelectricity signals, and the bioelectricity signals in the corresponding range need to be processed when the data to be drawn in the corresponding range is needed; on the contrary, the bioelectric signals of the corresponding range do not need to be processed without the data to be drawn of any range. In the graph updating process, the data to be drawn corresponding to the non-updating range does not need to be obtained again, that is, the bioelectrical signals corresponding to the non-updating range do not need to be processed, but only the bioelectrical signals of the range to be updated need to be processed. This greatly reduces the amount of data processed during the graphics update process.
In some possible implementations, the second parameter is a voltage amplitude of the bioelectrical signal.
The technical scheme has the beneficial effects that: the second parameter is the voltage amplitude of the bioelectric signal, which may be, for example, an electroencephalogram signal, an electrocardiograph signal, an electromyogram signal, an electrooculogram signal, or the like. The magnitude of the voltage amplitude can often represent the strength of bioelectrical activity, and is an important index concerned by doctors. By adopting the local graph updating device, the time domain characteristic or the frequency domain characteristic of the voltage amplitude is represented, and a doctor can be better assisted in diagnosing the illness state of a patient from the technical means. Especially, when this local figure updating device is applied to long-range programme-controlled, the doctor is in the hospital, and the patient is at home, and data transmission process receives the influence of factors such as equipment restriction, operator bandwidth restriction, net speed restriction more easily, and this application can reduce the data bulk of data processing process, has promoted figure updating efficiency on the whole, no matter this local figure updating device sets up in doctor's end, patient's end or high in the clouds, all helps improving the patient experience in diagnostic process, programme-controlled process or other treatment processes. The medical end is arranged in a manner of integrating with a program control device or a display device used by a doctor, the patient end is arranged in a manner of integrating with a program control device or a sensing device used by a patient, and the cloud end is arranged in a manner of integrating with a cloud server.
In some possible implementations, the first parameter is frequency;
the preset range is 0-1000 Hz;
the range to be updated is 0.1-30 Hz.
The technical scheme has the beneficial effects that: the preset range cannot be too large, if the preset range is too large, the data volume of the corresponding initial graph and the local updated graph is too large, and the situations that the single-screen display is incomplete (namely in one screen) and the progress bar needs to be pulled may occur, so that the watching experience of a doctor is influenced; the preset range cannot be too small, and in order to ensure the display effect of the range to be updated, the non-updating range can be reduced, so that the data volume of the non-updating range is too small, and the data volume is not enough to provide a sufficient reference function for a doctor. The range to be updated may be set intelligently or manually, and is used to define a range of a horizontal axis concerned (or interested) by a doctor, and the range to be updated may be set according to specific requirements in practical applications, for example, if the doctor wants to see a delta wave in the electroencephalogram signal, the range to be updated may be set as a frequency range corresponding to the delta wave.
In some possible implementations, the scales on the horizontal axis of the background graphics are uniformly or non-uniformly arranged.
The technical scheme has the beneficial effects that: the mode of uniform arrangement is adopted, and the traditional reading habit of people is met. Adopt the mode of inhomogeneous setting, its benefit lies in: the scale range concerned by the doctor has an interval with a small numerical value and an interval with a large numerical value, if the scales which are uniformly arranged are adopted, the interval with the small numerical value is difficult to observe by naked eyes due to overlarge scales, and the whole preset range cannot be displayed in a single screen due to undersize scales, namely, the scale of the transverse shaft is unevenly arranged, so that the doctor can pertinently view one or more scale ranges concerned in the single screen.
In some possible implementation manners, a horizontal axis of the background graph is provided with a first scale to an nth scale from small to large, a difference value between the kth scale and the K-1 th scale is smaller than a difference value between the K +1 th scale and the K-1 th scale, N is an integer greater than 2, and K is any integer greater than 1 and smaller than N.
The technical scheme has the beneficial effects that: the scales on the cross shaft can be arranged in a dense-first-sparse-second-uneven mode, namely, between any three adjacent scales, the difference value between two smaller scales (the Kth scale and the Kth-1 th scale) is smaller than the difference value between two larger scales (the Kth +1 th scale and the Kth scale), and the scale on the cross shaft has the advantage of meeting the requirement of a doctor on a common observation range.
In some possible implementations, the processor is further configured to perform the following steps before performing S1:
sensing a bioelectrical signal of the patient with a sensing device;
processing the bioelectrical signal with the first parameter in a preset range to obtain data to be drawn with the first parameter in the preset range;
the processor is further configured to perform the following steps before performing S4:
re-sensing the patient's bioelectric signals with the sensing device;
and processing the bioelectrical signal of which the first parameter is in the range to be updated so as to obtain the data to be drawn of which the first parameter is in the range to be updated again.
The technical scheme has the beneficial effects that: utilize sensing equipment sensing patient's bioelectricity signal, handle the bioelectricity signal again, in order to obtain the data of waiting to draw, in practical application, sensing equipment's specification may be various, for example can include stimulator, external collection appearance, the electrode cap, intelligent bracelet, intelligent wrist-watch etc., above-mentioned product uses electrode slice or electrode contact sensing patient internal or external bioelectricity signal, that is to say, can be through sensing equipment real-time sensing patient's bioelectricity signal, and handle, the data of waiting to draw that obtain is used for drawing initial figure and local renewal figure, make things convenient for the patient to select suitable one or more sensing equipment based on self performance demand and cost demand, in order to accomplish the collection of bioelectricity signal.
In some possible implementations, the processor is further configured to perform S2 by:
determining the range to be updated;
and taking the part which does not belong to the range to be updated in the preset range as the non-updating range.
The technical scheme has the beneficial effects that: the method has the advantages that after the range to be updated is set in an intelligent setting or manual setting mode, the range not to be updated can be automatically obtained, operation steps are reduced, and the intelligent degree is high.
In some possible implementations, the processor is further configured to determine the range to be updated by:
receiving an input operation by utilizing an interactive device, and determining the range to be updated in response to the input operation; alternatively, the first and second electrodes may be,
and sliding by adopting a sliding window with a preset length to obtain the range to be updated.
The technical scheme has the beneficial effects that: and determining the range to be updated by adopting an intelligent setting mode or a manual setting mode. When a manual setting mode is adopted, a person can receive input operation through the interactive device, for example, numerical value input operation or operation of dragging a progress bar, and the person can slide by adopting a sliding window with a preset length. When an intelligent setting mode is adopted, a default numerical value can be set for realizing range setting; or, when the first parameter is frequency, the corresponding relation between each waveform and the frequency range may be established in advance, and when a doctor selects one of the waveforms, the frequency range corresponding to the waveform is obtained by querying based on the corresponding relation and is used as the range to be updated.
In some possible implementations, the processor is further configured to perform the following steps before performing S3:
and removing the data to be drawn with the first parameter in the range to be updated from the data to be drawn with the first parameter in the preset range to obtain the data to be drawn with the first parameter in the range not to be updated.
The technical scheme has the beneficial effects that: the method has the advantages that the part of the range to be updated can be directly removed from the data to be drawn in the preset range, the data to be drawn in the non-updating range can be obtained, the calculation process is simple, the calculation time is short, the calculation efficiency is high, and the consumed calculation resources are few.
In some possible implementations, the processor is further configured to perform the following steps before performing S3:
setting all parameter values of second parameters in the data to be drawn, of which the first parameters are in the range to be updated, to be 0 so as to obtain the position occupying data of which the first parameters are in the range to be updated;
the processor is further configured to perform S3 in the following manner:
and generating the background graph based on the data to be drawn with the first parameter in the non-updating range and the position occupying data with the first parameter in the updating range.
The technical scheme has the beneficial effects that: the occupancy data corresponding to the range to be updated can be set in the background graph, so that the vertical coordinate corresponding to the range to be updated in the generated background graph is 0, and therefore ghost images or noise interference cannot be generated when the local updated graph is synthesized.
In some possible implementations, a horizontal axis and a vertical axis are displayed in the background graphic; and/or the presence of a gas in the gas,
the foreground graphic displays a horizontal axis and a vertical axis.
The technical scheme has the beneficial effects that: coordinate axes, namely a horizontal axis and a vertical axis, can be displayed in the background graph and/or the foreground graph, and scales of the horizontal axis and the vertical axis can also be displayed, so that a doctor can be helped to intuitively know the graph and the numerical value ranges corresponding to the horizontal axis and the vertical axis, and the decision of the doctor is further assisted.
In some possible implementations, a horizontal axis and a vertical axis are displayed in the background graphic; and the foreground graph displays a horizontal axis and a vertical axis in transparent color or preset color.
The technical scheme has the beneficial effects that: the background graph and the foreground graph both display a horizontal axis and a vertical axis, however, in order to avoid the situation that the viewing effect is influenced by ghost images and the like at the coordinate axes, the horizontal axis and the vertical axis of the foreground graph can be set to be transparent, so that the display of the horizontal axis and the vertical axis in the background graph is not influenced; or the horizontal axis and the vertical axis of the foreground graphic may be set to preset colors, for example, the colors of the horizontal axis and the vertical axis of the background graphic, so that the horizontal axis and the vertical axis of the foreground graphic coincide with the positions of the horizontal axis and the vertical axis in the background graphic, respectively, and the colors are consistent.
In a second aspect, the present application provides a local graph updating method for drawing a graph based on data to be drawn, the data to be drawn being obtained by processing a bioelectrical signal of a patient;
the data to be drawn comprises a plurality of data pairs, each data pair comprises a parameter value of a first parameter and a parameter value of a second parameter, and the first parameter is time or frequency;
the method comprises the following steps:
s1: generating an initial graph based on the data to be drawn with the first parameter in the preset range, and displaying the initial graph by using display equipment;
s2: dividing a preset range corresponding to the first parameter to obtain a range to be updated and a range not to be updated;
s3: generating a background graph with the first parameter as a horizontal axis and the second parameter as a vertical axis based on the data to be drawn with the first parameter in the non-updating range;
s4: based on the data to be drawn with the re-acquired first parameter in the range to be updated, generating a foreground graph with the first parameter as a horizontal axis and the second parameter as a vertical axis;
s5: taking the background graph as a background and the foreground graph as a foreground, carrying out scale alignment on the range to be updated of the transverse axis of the foreground graph and the transverse axis of the background graph, carrying out scale alignment on the longitudinal axis of the foreground graph and the longitudinal axis of the background graph, and synthesizing to obtain a local updated graph;
s6: and displaying the local update graph by using the display device, and re-executing the step S4.
In some possible implementations, the second parameter is a voltage amplitude of the bioelectrical signal.
In some possible implementations, the first parameter is frequency;
the preset range is 0-1000 Hz;
the range to be updated is 0.1-30 Hz.
In some possible implementation manners, a horizontal axis of the background graph is provided with a first scale to an nth scale from small to large, a difference value between the kth scale and the K-1 th scale is smaller than a difference value between the K +1 th scale and the kth scale, N is an integer larger than 2, and K is any integer larger than 1 and smaller than N.
In some possible implementations, before S1, the method further includes:
sensing a bioelectrical signal of the patient with a sensing device;
processing the bioelectrical signal of which the first parameter is in a preset range to acquire data to be drawn of which the first parameter is in the preset range;
prior to S4, the method further comprises:
re-sensing the patient's bioelectric signals with the sensing device;
and processing the bioelectrical signal of which the first parameter is in the range to be updated so as to obtain the data to be drawn of which the first parameter is in the range to be updated again.
In some possible implementation manners, the dividing the preset range corresponding to the first parameter to obtain a range to be updated and a range not to be updated includes:
determining the range to be updated;
and taking the part which does not belong to the range to be updated in the preset range as the non-updating range.
In some possible implementations, the determining the range to be updated includes:
receiving an input operation by utilizing an interactive device, and determining the range to be updated in response to the input operation; alternatively, the first and second electrodes may be,
and sliding by adopting a sliding window with a preset length to obtain the range to be updated.
In some possible implementations, before S3, the method further includes:
and removing the data to be drawn with the first parameter in the range to be updated from the data to be drawn with the first parameter in the preset range to obtain the data to be drawn with the first parameter in the range not to be updated.
In some possible implementations, before S3, the method further includes:
setting all parameter values of second parameters in the data to be drawn, of which the first parameters are in the range to be updated, to be 0 so as to obtain the position occupying data of which the first parameters are in the range to be updated;
the generating of the background graph with the first parameter as a horizontal axis and the second parameter as a vertical axis based on the data to be drawn with the first parameter in the non-updating range includes:
and generating the background graph based on the data to be drawn with the first parameter in the non-updating range and the position occupying data with the first parameter in the updating range.
In some possible implementations, a horizontal axis and a vertical axis are displayed in the background graphic; and/or the presence of a gas in the gas,
the foreground graphic displays a horizontal axis and a vertical axis.
In some possible implementations, a horizontal axis and a vertical axis are displayed in the background graphic; and the foreground graph displays a horizontal axis and a vertical axis in transparent color or preset color.
In a third aspect, the present application provides a medical system comprising:
any one of the above local graph updating devices, the local graph updating device is configured to draw a graph based on data to be drawn, where the data to be drawn is obtained by processing a bioelectrical signal of a patient; the data to be drawn comprises a plurality of data pairs, each data pair comprises a parameter value of a first parameter and a parameter value of a second parameter, and the first parameter is time or frequency;
a sensing device for sensing a bioelectrical signal of the patient.
In some possible implementations, the sensing device is a stimulator that is implanted in the patient.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the functionality of any of the apparatus described above or implements the steps of any of the method described above.
Drawings
The present application is further described below with reference to the accompanying drawings and embodiments.
Fig. 1 shows a block diagram of a medical system provided in the present application.
Fig. 2 shows a flowchart of a local graph updating method provided by the present application.
Fig. 3 is a flowchart illustrating another partial graph updating method provided in the present application.
Fig. 4 is a schematic diagram illustrating a user attention range provided by the present application.
Fig. 5 shows a block diagram of a partial graphics update apparatus provided in the present application.
Fig. 6 shows a schematic structural diagram of a program product provided in the present application.
Detailed Description
The technical solutions in the present application will be described below with reference to the drawings and the detailed description of the present application, and it should be noted that, in the present application, new embodiments can be formed by any combination of the following described embodiments or technical features without conflict.
In this application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a and b, a and c, b and c, a and b and c, wherein a, b and c can be single or multiple. It is to be noted that "at least one item" may also be interpreted as "one or more item(s)".
It is also noted that the terms "exemplary" or "such as" and the like are used herein to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the following, a brief description of one of the application areas of the present application, i.e. an implantable device, is first given.
The implantable neurostimulation system mainly comprises a stimulator implanted in a patient body and a program control device arranged outside the patient body. The existing nerve regulation and control technology is mainly characterized in that an electrode is implanted in a specific structure (namely a target spot) in a body through a three-dimensional operation, and a stimulator implanted in the body of a patient sends electric pulses to the target spot through the electrode to regulate and control the electric activity and the function of a corresponding nerve structure and network, so that symptoms are improved, and pain is relieved. The stimulator may be any one of an Implantable nerve electrical stimulation device, an Implantable cardiac electrical stimulation System (also called a cardiac pacemaker), an Implantable Drug Delivery System (I DDS for short), and a lead switching device. Examples of the implantable neural electrical Stimulation device include Deep Brain Stimulation (DBS), Cortical Brain Stimulation (CNS), Spinal Cord Stimulation (SCS), Sacral Nerve Stimulation (SNS), and Vagal Nerve Stimulation (VNS).
The stimulator may include an IPG (implantable pulse generator) disposed in the patient's body, an extension lead and an electrode lead, and supplies controllable electrical stimulation energy to the body tissue by means of a sealed battery and circuit, and delivers one or two controllable specific electrical stimulations to specific regions of the body tissue through the implanted extension lead and electrode lead. The extension lead is used in cooperation with the IPG and is used as a transmission medium of the electrical stimulation signal to transmit the electrical stimulation signal generated by the IPG to the electrode lead. The electrode leads deliver electrical stimulation to specific areas of tissue within the body through a plurality of electrode contacts. The stimulator is provided with one or more paths of electrode leads on one side or two sides, a plurality of electrode contacts are arranged on the electrode leads, and the electrode contacts can be uniformly arranged or non-uniformly arranged on the circumference of the electrode leads. As an example, the electrode contacts may be arranged in an array of 4 rows and 3 columns (12 electrode contacts in total) in the circumferential direction of the electrode lead. The electrode contacts may include stimulation electrode contacts and/or sensing electrode contacts. The electrode contact may have a sheet-like shape, an annular shape, a dot-like shape, or the like.
In some possible implementations, the stimulated in vivo tissue may be brain tissue of the patient, and the stimulated site may be a specific site of the brain tissue. The sites stimulated are generally different when the patient's disease type is different, as are the number of stimulation contacts (single or multiple) used, the application of one or more (single or multiple) specific electrical stimulation signals, and stimulation parameter data. The type of disease to which the present application is applicable is not limited, and may be the type of disease to which Deep Brain Stimulation (DBS), Spinal Cord Stimulation (SCS), pelvic stimulation, gastric stimulation, peripheral nerve stimulation, functional electrical stimulation are applicable. Among the types of diseases that DBS may be used for treatment or management include, but are not limited to: convulsive diseases (e.g., epilepsy), pain, migraine, psychiatric diseases (e.g., Major Depressive Disorder (MDD)), manic depression, anxiety, post-traumatic stress disorder, depression, Obsessive Compulsive Disorder (OCD), behavioral disorders, mood disorders, memory disorders, mental state disorders, movement disorders (e.g., essential tremor or parkinson's disease), huntington's disease, alzheimer's disease, drug addiction, autism, or other neurological or psychiatric diseases and injuries. When the DBS is used for treating the drug addiction patient, the DBS can help the drug addict to give up drugs and improve the happiness and the life quality of the drug addict.
In the application, when the program control device is connected with the stimulator in a program control manner, the program control device can be used for adjusting stimulation parameters of the stimulator (different electrical stimulation signals corresponding to different stimulation parameters are different), the stimulator can sense bioelectrical activity in the deep part of the brain of a patient, and the stimulation parameters of the electrical stimulation signals of the stimulator can be continuously adjusted through the sensed bioelectrical activity.
The programming device may be a physician programmer (i.e., a programming device used by a physician) or a patient programmer (i.e., a programming device used by a patient). The program-controlled device can be, for example, a tablet computer, a notebook computer, a desktop computer, a mobile phone and other intelligent terminal devices.
The data interaction of this application to doctor's program controller and stimulator does not restrict each other, and when doctor long-range programme-controlled, doctor's program controller can carry out data interaction through server, patient's program controller and stimulator. When the doctor is off-line and the patient is in face-to-face program control, the doctor program controller can perform data interaction with the stimulator through the patient program controller, and the doctor program controller can also perform data interaction with the stimulator directly.
The patient programmer may include a master (in communication with the server) and a slave (in communication with the stimulator), with the master and slave being communicatively coupled. The doctor program controller can perform data interaction with the server through a 3G/4G/5G network, the server can perform data interaction with the host through the 3G/4G/5G network, the host can perform data interaction with the submachine through a Bluetooth protocol/WIFI protocol/USB protocol, the submachine can perform data interaction with the stimulator through a 401MHz-406MHz working frequency band/2.4 GHz-2.48GHz working frequency band, and the doctor program controller can perform data interaction with the stimulator directly through the 401MHz-406MHz working frequency band/2.4 GHz-2.48GHz working frequency band.
Besides the application field of the implanted device, the application can also be applied to the technical field of other medical devices and even non-medical devices, and the application is not limited to the application and can be applied to occasions where the graphs are frequently refreshed.
[ SYSTEM IMPLEMENTATION ]
Referring to fig. 1, fig. 1 shows a block diagram of a medical system provided in the present application.
The present application provides a medical system comprising:
any one of the above local figure updating apparatuses 10, configured to draw a figure based on data to be drawn, where the data to be drawn is obtained by processing a bioelectric signal of a patient; the data to be drawn comprises a plurality of data pairs, each data pair comprises a parameter value of a first parameter and a parameter value of a second parameter, and the first parameter is time or frequency;
a sensing device 20 for sensing a bioelectrical signal of the patient.
The sensing device 20 is not limited in this application and may include, for example, one or more of a stimulator, an in vitro acquisition instrument, an electrode cap, a smart bracelet, and a smart watch.
The product uses the electrode slice or the electrode contact to sense the bioelectric signals in or out of the body of the patient, namely, the bioelectric signals of the patient can be sensed in real time through the sensing equipment and processed, the obtained data to be drawn is used for drawing an initial graph and a local updated graph, and the patient can conveniently select one or more sensing equipment suitable for the performance requirement and the cost requirement of the patient to finish the acquisition of the bioelectric signals.
In some possible implementations, the sensing device is a stimulator that is implanted in the patient.
In the present application, the local graph updating apparatus 10 may be configured to implement the steps of the local graph updating method, and the local graph updating method will be described first, and then the local graph updating apparatus 10 will be described.
[ METHOD IMPLEMENTATION ]
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a local graph updating method provided in the present application.
The application provides a local graph updating method, which is used for drawing a graph based on data to be drawn, wherein the data to be drawn is obtained by processing bioelectricity signals of a patient;
the data to be drawn comprises a plurality of data pairs, each data pair comprises a parameter value of a first parameter and a parameter value of a second parameter, and the first parameter is time or frequency;
the method comprises the following steps:
s1: generating an initial graph based on the data to be drawn with the first parameter in the preset range, and displaying the initial graph by using display equipment;
s2: dividing a preset range corresponding to the first parameter to obtain a range to be updated and a range not to be updated;
s3: generating a background graph with the first parameter as a horizontal axis and the second parameter as a vertical axis based on the data to be drawn with the first parameter in the non-updating range;
s4: based on the data to be drawn with the re-acquired first parameter in the range to be updated, generating a foreground graph with the first parameter as a horizontal axis and the second parameter as a vertical axis;
s5: taking the background graph as a background, taking the foreground graph as a foreground, carrying out scale alignment on a range to be updated of a transverse axis of the foreground graph and a transverse axis of the background graph, carrying out scale alignment on a longitudinal axis of the foreground graph and a longitudinal axis of the background graph, and synthesizing to obtain a local updated graph;
s6: and displaying the local update graph by using the display device, and re-executing the step S4.
Therefore, in the process of updating the graph (namely acquiring the local updated graph), only the local graph (namely the foreground graph, compared with the local updated graph, the foreground graph only corresponds to one part of the local updated graph) is updated, and the whole graph does not need to be updated (namely the background graph in the local updated graph does not need to be updated), so that the data processing data amount in the graph updating process is reduced, and the consumption of the memory is reduced. The method and the device solve the problem that the current drawing control cannot be updated locally; unnecessary operation is greatly reduced, and equipment overhead is saved; the picture pause and the time delay are reduced; in addition, the scheme can be made into a custom library for direct introduction and use by developers.
The plotted graph (initial graph, locally updated graph) is capable of characterizing a time domain characteristic of the second parameter when the first parameter is time and is capable of characterizing a frequency domain characteristic of the second parameter when the second parameter is frequency.
Firstly, generating an initial graph and displaying the initial graph; dividing a preset range to obtain a range to be updated and a range not to be updated, and performing local updating only on the range to be updated subsequently; the data to be drawn corresponding to the non-updating range does not need to be updated, so that the data to be drawn does not need to be acquired again, and only the existing data to be drawn is used for generating a background graph; the data to be drawn corresponding to the range to be updated needs to be updated, so that the part of the data to be drawn needs to be obtained again, and a foreground graph is generated; taking the background graph and the foreground graph as a background and a foreground respectively, and performing scale alignment on the foreground graph and the background graph (namely, scale alignment of the same numerical value), specifically, aligning a horizontal axis and a horizontal axis of the background graph and aligning a vertical axis and a vertical axis of the foreground graph and the background graph, but because a value range of the horizontal axis of the foreground graph (namely, a value range to be updated) is only a part of a value range of the horizontal axis of the background graph (namely, a preset range, including a range to be updated and a range not to be updated), the horizontal axis and the horizontal axis of the foreground graph and the background graph are aligned, more specifically, the horizontal axis of the foreground graph is aligned with a part of the horizontal axis of the background graph, and the part of the horizontal axis of the background graph refers to the range to be updated of the horizontal axis of the background graph and is synthesized after being aligned with the horizontal axis and the vertical axis respectively to obtain a local updated graph; and displaying the local updated graph by using the display equipment, and re-executing the foreground graph generation step (namely S4) to generate a new foreground graph so as to synthesize and obtain a new local updated graph, displaying the new local updated graph by using the display equipment, realizing the continuous updating of the graph and meeting the requirement of monitoring the bioelectricity signals of the patient in real time by a doctor.
The data to be drawn is obtained by processing the bioelectricity signals, and the bioelectricity signals in the corresponding range need to be processed when the data to be drawn in the corresponding range is needed; on the contrary, the bioelectric signals of the corresponding range do not need to be processed without the data to be drawn of any range.
In the graph updating process, the data to be drawn corresponding to the non-updating range does not need to be obtained again, that is, the bioelectric signals corresponding to the non-updating range do not need to be processed, but only the bioelectric signals of the range to be updated need to be processed. This greatly reduces the amount of data processed during the graphics update process.
In the application, the foreground graph and the background graph both adopt a two-dimensional coordinate system, the foreground graph and the background graph respectively have a transverse axis and a longitudinal axis, and the adopted scaling scales are consistent, so that when the foreground graph and the background graph are aligned by adopting the alignment mode, the positions of corresponding scales can be overlapped. For example, when the range to be updated includes two scales of 1Hz and 10Hz, the scale 1Hz position of the horizontal axis of the foreground graphic coincides with the scale 1Hz position of the horizontal axis of the background graphic, and the scale 10Hz position of the horizontal axis of the foreground graphic coincides with the scale 10Hz position of the horizontal axis of the background graphic.
The number of data pairs in the data to be plotted is not limited in the present application, and may be, for example, 10, 100, 1000, 10000, 100000, 1000000, or the like.
The unit and value of the first parameter (time or frequency) are not limited in this application, and the unit of time may be, for example, milliseconds, seconds, minutes, hours, days, weeks, months, years, etc., and the unit of frequency may be, for example, Hz, kHz, etc.
The unit and the value of the second parameter are not limited in the present application, and when the second parameter is the voltage amplitude, the unit may be μ V (microvolt), V, or the like, for example.
In the present application, the range to be updated may include one or more intervals, and the range not to be updated may include one or more intervals. The present application does not limit to which range the endpoint data of the section is divided, and the endpoint data of the section may be divided into a range to be updated or a range not to be updated.
In this application, the display device of step S6 may display the background color, for example, black, blue or white, simultaneously when displaying the initial graphic and the local update graphic. Accordingly, the colors of the display contents in the initial graphic and the local update graphic may be colors that are different from (or have a high contrast with) the background color.
The display contents in the initial graph and the local updating graph refer to a point-line plane, a horizontal axis, a vertical axis, scales, units, a graph title and the like corresponding to the data to be drawn.
In some possible implementations, the second parameter is a voltage amplitude of the bioelectrical signal.
Thus, the second parameter is the voltage amplitude of the bioelectric signal, which may be, for example, an electroencephalogram signal, an electrocardiograph signal, an electromyography signal, an electrooculogram signal, or the like.
The magnitude of the voltage amplitude can often represent the strength of bioelectrical activity, and is an important index concerned by doctors.
When the second parameter of this application is voltage amplitude, can characterize the time domain characteristic or the frequency domain characteristic of voltage amplitude, can assist the doctor to diagnose the state of an illness of patient better from technical means.
Especially, when this application is applied to long-range programme-controlled, the doctor is in the hospital, and the patient is at home, and data transmission process receives the influence of factors such as equipment restriction, operator bandwidth restriction, net speed restriction more easily, and this application can reduce data size of data processing process, has promoted figure update efficiency on the whole, no matter the local figure updating device that this application provided sets up in doctor's end, patient's end or high in the clouds, all helps improving the patient experience in diagnostic process, programme-controlled process or other treatment processes.
The local graph updating device provided by the present application is disposed at the doctor end, for example, in a manner integrated with a program control device or a display device used by a doctor, the local graph updating device is disposed at the patient end, for example, in a manner integrated with a program control device or a sensing device used by a patient, and the local graph updating device is disposed at the cloud end, for example, in a manner integrated with a cloud server.
In some possible implementations, the first parameter is frequency;
the preset range is 0-1000 Hz;
the range to be updated is 0.1-30 Hz.
Therefore, the preset range cannot be too large, if the preset range is too large, the data volume of the corresponding initial graph and the local updated graph is too large, and the situations that the single-screen display is incomplete (namely in one screen) and the progress bar needs to be pulled can occur, so that the watching experience of a doctor is influenced; the preset range cannot be too small, and in order to ensure the display effect of the range to be updated, the non-updating range can be reduced, so that the data volume of the non-updating range is too small, and the sufficient reference function is not provided for a doctor.
The range to be updated may be set intelligently or manually, and is used to define a range of a horizontal axis concerned (or interested) by a doctor, and the range to be updated may be set according to specific requirements in practical applications, for example, if the doctor wants to see a delta wave in the electroencephalogram signal, the range to be updated may be set as a frequency range corresponding to the delta wave.
In the above implementation manner, the non-updating range includes two intervals, i.e., 0 to 0.1Hz and 30 to 1000 Hz.
In other possible implementations, the first parameter is frequency;
the preset range is 3000-10000 Hz;
the range to be updated is 5000-6000 Hz.
In the above implementation manner, the non-updating range includes two intervals, namely 3000 to 5000Hz and 6000 to 10000 Hz.
In yet other possible implementations, the first parameter is time;
the preset range is 0-10 minutes;
the range to be renewed is 3-5 minutes and 7-8 minutes.
In the above implementation manner, the range to be updated includes two intervals, and the range not to be updated includes three intervals, i.e., 0-3 minutes, 5-7 minutes, and 8-10 minutes.
In some possible implementations, the scales on the horizontal axis of the background graphics may be uniformly arranged or non-uniformly arranged.
Therefore, the mode of uniform arrangement is adopted, and the traditional reading habit of people is met.
The non-uniform arrangement (as shown in fig. 4) has the following advantages: the scale range concerned by the doctor has an interval with a small numerical value and an interval with a large numerical value, if the scales which are uniformly arranged are adopted, the interval with the small numerical value is difficult to observe by naked eyes due to overlarge scales, and the whole preset range cannot be displayed in a single screen due to undersize scales, namely, the scale of the transverse shaft is unevenly arranged, so that the doctor can pertinently view one or more scale ranges concerned in the single screen.
In some possible implementations, the horizontal axis of the background graph may be provided with first to nth scales from small to large, a difference between the kth scale and the K-1 th scale is smaller than a difference between the K +1 th scale and the kth scale, N is an integer greater than 2, and K is any integer greater than 1 and smaller than N.
Therefore, the scales of the transverse shaft can be arranged in a non-uniform mode (as shown in fig. 4) after being dense, namely, the difference between two smaller scales (the Kth scale and the Kth-1 scale) between any three adjacent scales is smaller than the difference between two larger scales (the Kth +1 scale and the Kth scale), so that the scale has the advantage of meeting the requirements of doctors on the common observation range.
In some possible implementations, before S1, the method may further include:
sensing a bioelectrical signal of the patient with a sensing device;
processing the bioelectrical signal of which the first parameter is in a preset range to acquire data to be drawn of which the first parameter is in the preset range;
prior to S4, the method further comprises:
re-sensing the patient's bioelectric signals with the sensing device;
and processing the bioelectrical signal of which the first parameter is in the range to be updated so as to obtain the data to be drawn of which the first parameter is in the range to be updated again.
Therefore, the bioelectric signals of the patient are sensed by the sensing equipment and then processed to obtain data to be drawn, in practical application, the specification of the sensing equipment can be various, for example, the sensing equipment can comprise a stimulator, an in-vitro acquisition instrument, an electrode cap, an intelligent bracelet, an intelligent watch and the like, the product senses the bioelectric signals in or out of the patient by using electrode plates or electrode contacts, namely, the bioelectric signals of the patient can be sensed in real time by the sensing equipment and processed, the obtained data to be drawn is used for drawing an initial graph and a local updated graph, and the patient can conveniently select one or more sensing equipment suitable for the performance requirements and the cost requirements of the patient to finish the acquisition of the bioelectric signals.
In some possible implementation manners, the dividing the preset range corresponding to the first parameter to obtain a range to be updated and a range not to be updated (i.e., S2), may include:
determining the range to be updated;
and taking the part which does not belong to the range to be updated in the preset range as the non-updating range.
Therefore, the range to be updated is determined firstly, the range to be updated is removed from the preset range, the range not to be updated can be obtained, the range to be updated can comprise one or more value intervals, and the range not to be updated can also comprise one or more value intervals.
In other possible implementation manners, the dividing the preset range corresponding to the first parameter to obtain the range to be updated and the range not to be updated (i.e., S2) may include:
receiving a first setting operation for setting a range to be updated by utilizing interactive equipment, and determining the range to be updated in response to the first setting operation;
receiving a second setting operation for setting a non-updating range by using the interactive device, and determining the non-updating range in response to the second setting operation.
In some possible implementations, the determining the range to be updated may include:
receiving an input operation by utilizing an interactive device, and determining the range to be updated in response to the input operation; alternatively, the first and second liquid crystal display panels may be,
and sliding by adopting a sliding window with a preset length to obtain the range to be updated.
Therefore, the range to be updated is determined in an intelligent setting mode or a manual setting mode.
When a manual setting mode is adopted, a person can receive input operations through the interactive device, for example, numerical value input operations or operations of dragging a progress bar and the like, and the person can slide by adopting a sliding window with a preset length.
When an intelligent setting mode is adopted, a default numerical value can be set for realizing range setting; or, when the first parameter is frequency, the corresponding relation between each waveform and the frequency range may be established in advance, and when a doctor selects one of the waveforms, the frequency range corresponding to the waveform is obtained by querying based on the corresponding relation and is used as the range to be updated.
The application does not limit the interactive device, and the interactive device may be, for example, an intelligent terminal device such as a mobile phone, a tablet computer, a notebook computer, a desktop computer, and an intelligent wearable device, or the interactive device may be a workstation or a console.
The manner in which the various (manual) operations are received by the interactive device is not limited in this application. The operation is divided by the input manner, and may include, for example, a text input operation, an audio input operation, a video input operation, a key input operation, an operation of dragging a progress bar, and the like. These operations may include, for example, the above-described input operation, and the above-described first setting operation, second setting operation, and the like.
In some possible implementations, before S3, the method further includes:
and removing the data to be drawn with the first parameter in the range to be updated from the data to be drawn with the first parameter in the preset range to obtain the data to be drawn with the first parameter in the range not to be updated.
Therefore, the part of the range to be updated can be directly removed from the data to be drawn in the preset range, the data to be drawn in the non-updating range can be obtained, the calculation process is simple, the calculation time is short, the calculation efficiency is high, and the consumed calculation resources are few.
In some possible implementations, before S3, the method further includes:
setting all parameter values of second parameters in the data to be drawn, of which the first parameters are in the range to be updated, to be 0 so as to obtain the position occupying data of which the first parameters are in the range to be updated;
the generating of the background graph with the first parameter as a horizontal axis and the second parameter as a vertical axis based on the data to be drawn with the first parameter in the non-updating range includes:
and generating the background graph based on the data to be drawn with the first parameter in the non-updating range and the position occupying data with the first parameter in the updating range.
Therefore, the occupancy data corresponding to the range to be updated can be set in the background graph, so that the vertical coordinate corresponding to the range to be updated in the generated background graph is 0, and therefore ghost images or noise interference cannot be generated when the local update graph is synthesized.
In some possible implementations, a horizontal axis and a vertical axis are displayed in the background graphic; and/or the presence of a gas in the gas,
the foreground graphic displays a horizontal axis and a vertical axis.
Therefore, the background graph and/or the foreground graph can display coordinate axes, namely a horizontal axis and a vertical axis, and scales of the horizontal axis and the vertical axis, so that a doctor can intuitively know the graph and the numerical value range corresponding to the horizontal axis and the vertical axis, and the decision of the doctor is further assisted.
In some possible implementations, a horizontal axis and a vertical axis are displayed in the background graphic; and the foreground graph displays a horizontal axis and a vertical axis in transparent color or preset color.
Therefore, the background graph and the foreground graph both display a horizontal axis and a vertical axis, but in order to avoid the situation that the viewing effect is influenced by ghost images and the like at the coordinate axes, the horizontal axis and the vertical axis of the foreground graph can be set to be transparent, so that the display of the horizontal axis and the vertical axis in the background graph is not influenced; or the horizontal axis and the vertical axis of the foreground graphic may be set to preset colors, for example, the colors of the horizontal axis and the vertical axis of the background graphic, so that the horizontal axis and the vertical axis of the foreground graphic coincide with the positions of the horizontal axis and the vertical axis in the background graphic, respectively, and the colors are consistent.
Referring to fig. 3 and 4, fig. 3 shows a schematic flow chart of another partial graph updating method provided by the present application, and fig. 4 shows a schematic view of a user attention range provided by the present application.
The local graph updating method comprises the following steps:
r1: performing complete calculation for the first time, and displaying the whole frequency spectrum (0-1000 Hz), namely a preset range;
r2: recording current complete frequency spectrum data X (0-1000 Hz);
r3: calculating data for drawing a graph corresponding to a selection frequency range (0.5-4Hz) (namely a range to be updated or a user attention range);
r4: removing data in the selected frequency range to obtain data X ', wherein the frequency range of the data X ' is (0-0.5) U (4-1000), namely, the data X ' is not updated; ("U" means a union)
R5: drawing the data X', setting the voltage amplitude corresponding to the selected frequency range as 0, and adopting a virtual painting brush (to show a non-key graph);
r6: adjusting another coordinate system Y (the horizontal and vertical axis lines of the coordinate system are all set to be transparent or have the same ground color as the background graph) preset on the coordinate system, setting the coordinate range as a selection frequency range (0.5-4Hz), and adjusting the position of the coordinate system to ensure that the coordinate system can be completely superposed with the coordinates of the ground layer in the interval;
r7: then, only data in a selected frequency range (0.5-4Hz) are calculated;
r8: and redrawing the coordinate system Y during each updating to finish the local updating of the spectrogram.
[ MEANS FOR IMPLEMENTATION ]
The application also provides a local graph updating device, the specific implementation mode of the local graph updating device is consistent with the implementation mode recorded in the implementation mode of the method and the achieved technical effect, and part of contents are not repeated.
The local graph updating device is used for drawing a graph based on data to be drawn, and the data to be drawn is obtained by processing a bioelectricity signal of a patient;
the data to be drawn comprises a plurality of data pairs, each data pair comprises a parameter value of a first parameter and a parameter value of a second parameter, and the first parameter is time or frequency;
the local graphics update apparatus comprises a processor configured to perform the steps of:
s1: generating an initial graph based on the data to be drawn with the first parameter in the preset range, and displaying the initial graph by using display equipment;
s2: dividing a preset range corresponding to the first parameter to obtain a range to be updated and a range not to be updated;
s3: generating a background graph with the first parameter as a horizontal axis and the second parameter as a vertical axis based on the data to be drawn with the first parameter in the non-updating range;
s4: based on the data to be drawn with the re-acquired first parameter in the range to be updated, generating a foreground graph with the first parameter as a horizontal axis and the second parameter as a vertical axis;
s5: taking the background graph as a background, taking the foreground graph as a foreground, carrying out scale alignment on a range to be updated of a transverse axis of the foreground graph and a transverse axis of the background graph, carrying out scale alignment on a longitudinal axis of the foreground graph and a longitudinal axis of the background graph, and synthesizing to obtain a local updated graph;
s6: and displaying the local updating graph by using the display device, and re-executing the S4.
In some possible implementations, the second parameter is a voltage amplitude of the bioelectrical signal.
In some possible implementations, the first parameter is frequency;
the preset range is 0-1000 Hz;
the range to be updated is 0.1-30 Hz.
In some possible implementations, the scales on the horizontal axis of the background graphics are uniformly or non-uniformly arranged.
In some possible implementation manners, a horizontal axis of the background graph is provided with a first scale to an nth scale from small to large, a difference value between the kth scale and the K-1 th scale is smaller than a difference value between the K +1 th scale and the kth scale, N is an integer larger than 2, and K is any integer larger than 1 and smaller than N.
In some possible implementations, the processor is further configured to perform the following steps before performing S1:
sensing a bioelectrical signal of the patient with a sensing device;
processing the bioelectrical signal of which the first parameter is in a preset range to acquire data to be drawn of which the first parameter is in the preset range;
the processor is further configured to perform the following steps before performing S4:
re-sensing the patient's bioelectric signals with the sensing device;
and processing the bioelectrical signal of which the first parameter is in the range to be updated so as to obtain the data to be drawn of which the first parameter is in the range to be updated again.
In some possible implementations, the processor is further configured to perform S2 in the following manner:
determining the range to be updated;
and taking the part which does not belong to the range to be updated in the preset range as the non-updating range.
In some possible implementations, the processor is further configured to determine the range to be updated by:
receiving an input operation by utilizing an interactive device, and determining the range to be updated in response to the input operation; alternatively, the first and second electrodes may be,
and sliding by adopting a sliding window with a preset length to obtain the range to be updated.
In some possible implementations, the processor is further configured to perform the following steps before performing S3:
and removing the data to be drawn with the first parameter in the range to be updated from the data to be drawn with the first parameter in the preset range to obtain the data to be drawn with the first parameter in the range not to be updated.
In some possible implementations, the processor is further configured to perform the following steps before performing S3:
setting all parameter values of second parameters in the data to be drawn, of which the first parameters are in the range to be updated, to be 0 so as to obtain occupied data of which the first parameters are in the range to be updated;
the processor is further configured to perform S3 in the following manner:
and generating the background graph based on the data to be drawn with the first parameter in the non-updating range and the occupancy data with the first parameter in the updating range.
In some possible implementations, a horizontal axis and a vertical axis are displayed in the background graphic; and/or the presence of a gas in the atmosphere,
the foreground graphic displays a horizontal axis and a vertical axis.
In some possible implementations, a horizontal axis and a vertical axis are displayed in the background graphic; and the foreground graph displays a horizontal axis and a vertical axis in transparent color or preset color.
Referring to fig. 5, fig. 5 is a block diagram illustrating a partial graphic update apparatus 200 according to the present application.
The local graphics update apparatus 200 may include, for example, at least one memory 210, at least one processor 220, and a bus 230 connecting different platform systems.
The memory 210 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)211 and/or cache memory 212, and may further include Read Only Memory (ROM) 213.
The memory 210 further stores a computer program, and the computer program can be executed by the processor 220, so that the processor 220 implements the functions of any one of the local graph updating apparatuses, and the specific implementation manner thereof is consistent with the implementation manner and the achieved technical effect described in the method implementation manner, and some contents are not described again.
Memory 210 may also include a utility 214 having at least one program module 215, such program modules 215 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Accordingly, the processor 220 may execute the computer programs described above, and may execute the utility 214.
The processor 220 may employ one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components.
Bus 230 may be one or more local buses representing several types of bus structures, including a memory bus or memory local graphics update, a peripheral bus, an accelerated graphics port, a processor, or any bus structure using a variety of bus architectures.
The local graphic update apparatus 200 may also communicate with one or more external devices 240, such as a keyboard, pointing device, Bluetooth device, etc., and may also communicate with one or more devices capable of interacting with the local graphic update apparatus 200, and/or with any device (e.g., router, modem, etc.) that enables the local graphic update apparatus 200 to communicate with one or more other computing devices. Such communication may be through input-output interface 250. Also, the local graphic update apparatus 200 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 260. The network adapter 260 may communicate with other modules of the local graphics update apparatus 200 via the bus 230. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the local graphics update apparatus 200, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, to name a few.
[ MEDIUM IMPLEMENTATION ]
The present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the functions of any one of the apparatuses or implements the steps of any one of the methods, where a specific implementation manner of the computer program is consistent with an implementation manner and achieved technical effects recorded in the implementation manner of the methods, and some details are not repeated.
Referring to fig. 6, fig. 6 shows a schematic structural diagram of a program product provided in the present application.
The program product may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this respect, as the readable storage medium can be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that can communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the C language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
While the present application is described in terms of various aspects, including exemplary embodiments, the principles of the invention should not be limited to the disclosed embodiments, but are also intended to cover various modifications, equivalents, and alternatives falling within the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A partial graph updating device is characterized by being used for drawing a graph based on data to be drawn, wherein the data to be drawn is obtained by processing bioelectrical signals of a patient;
the data to be drawn comprises a plurality of data pairs, each data pair comprises a parameter value of a first parameter and a parameter value of a second parameter, and the first parameter is time or frequency;
the local graphics update apparatus comprises a processor configured to perform the steps of:
s1: generating an initial graph based on the data to be drawn with the first parameter in the preset range, and displaying the initial graph by using display equipment;
s2: dividing a preset range corresponding to the first parameter to obtain a range to be updated and a range not to be updated;
s3: generating a background graph with the first parameter as a horizontal axis and the second parameter as a vertical axis based on the data to be drawn with the first parameter in the non-updating range;
s4: based on the data to be drawn with the re-acquired first parameter in the range to be updated, generating a foreground graph with the first parameter as a horizontal axis and the second parameter as a vertical axis;
s5: taking the background graph as a background, taking the foreground graph as a foreground, carrying out scale alignment on a range to be updated of a transverse axis of the foreground graph and a transverse axis of the background graph, carrying out scale alignment on a longitudinal axis of the foreground graph and a longitudinal axis of the background graph, and synthesizing to obtain a local updated graph;
s6: and displaying the local update graph by using the display device, and re-executing the step S4.
2. The local pattern update apparatus according to claim 1, wherein the second parameter is a voltage amplitude of the bioelectrical signal.
3. The partial graphic updating apparatus according to claim 2, wherein the first parameter is a frequency;
the preset range is 0-1000 Hz;
the range to be updated is 0.1-30 Hz.
4. The partial graphic updating apparatus according to any one of claims 1 to 3, wherein the horizontal axis of the background graphic is provided with a first scale to an Nth scale from small to large, a difference between the Kth scale and the Kth-1 scale is smaller than a difference between the Kth +1 scale and the Kth scale, N is an integer greater than 2, and K is any integer greater than 1 and smaller than N.
5. The local graphics updating apparatus according to claim 1, wherein the processor is further configured to perform the following steps before executing S1:
sensing a bioelectrical signal of the patient with a sensing device;
processing the bioelectrical signal of which the first parameter is in a preset range to acquire data to be drawn of which the first parameter is in the preset range;
the processor is further configured to perform the following steps before performing S4:
re-sensing the patient's bioelectric signals with the sensing device;
and processing the bioelectrical signal of which the first parameter is in the range to be updated so as to obtain the data to be drawn of which the first parameter is in the range to be updated again.
6. The local graphics updating apparatus according to claim 1, wherein the processor is further configured to execute S2 by:
determining the range to be updated;
and taking the part which does not belong to the range to be updated in the preset range as the non-updating range.
7. The local graph update apparatus of claim 6, wherein the processor is further configured to determine the range to be updated by:
receiving an input operation by utilizing an interactive device, and determining the range to be updated in response to the input operation; alternatively, the first and second electrodes may be,
and sliding by adopting a sliding window with a preset length to obtain the range to be updated.
8. The local graphics updating apparatus according to claim 1, wherein the processor is further configured to perform the following steps before executing S3:
and removing the data to be drawn with the first parameter in the range to be updated from the data to be drawn with the first parameter in the preset range to obtain the data to be drawn with the first parameter in the range not to be updated.
9. The local graphics updating apparatus according to claim 1, wherein the processor is further configured to perform the following steps before executing S3:
setting all parameter values of second parameters in the data to be drawn, of which the first parameters are in the range to be updated, to be 0 so as to obtain occupied data of which the first parameters are in the range to be updated;
the processor is further configured to perform S3 in the following manner:
and generating the background graph based on the data to be drawn with the first parameter in the non-updating range and the position occupying data with the first parameter in the updating range.
10. The partial graphic updating apparatus according to claim 1, wherein a horizontal axis and a vertical axis are displayed in the background graphic; and/or the presence of a gas in the gas,
the foreground graphic displays a horizontal axis and a vertical axis.
11. The partial graphic updating apparatus according to claim 10, wherein a horizontal axis and a vertical axis are displayed in the background graphic; and the foreground graph displays a horizontal axis and a vertical axis in transparent color or preset color.
12. A medical system, characterized in that the medical system comprises:
the local figure updating apparatus as claimed in any one of claims 1 to 11, which is configured to render a figure based on data to be rendered, the data to be rendered being obtained by processing bioelectric signals of a patient; the data to be drawn comprises a plurality of data pairs, each data pair comprises a parameter value of a first parameter and a parameter value of a second parameter, and the first parameter is time or frequency;
a sensing device for sensing a bioelectrical signal of the patient.
13. The medical system of claim 12, wherein the sensing device is a stimulator implanted in the patient.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the functionality of the apparatus of any one of claims 1-11.
CN202210656280.6A 2022-06-10 2022-06-10 Local graph updating apparatus, medical system, and computer-readable storage medium Pending CN115063505A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210656280.6A CN115063505A (en) 2022-06-10 2022-06-10 Local graph updating apparatus, medical system, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210656280.6A CN115063505A (en) 2022-06-10 2022-06-10 Local graph updating apparatus, medical system, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN115063505A true CN115063505A (en) 2022-09-16

Family

ID=83201131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210656280.6A Pending CN115063505A (en) 2022-06-10 2022-06-10 Local graph updating apparatus, medical system, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN115063505A (en)

Similar Documents

Publication Publication Date Title
CA3071714C (en) Visualization system for deep brain stimulation
Kalantari et al. Comparing physiological responses during cognitive tests in virtual environments vs. in identical real-world environments
US8761890B2 (en) Electrical stimulation programming
CN114842956B (en) Control device, medical system, and computer-readable storage medium
WO2023005353A1 (en) Configuration information acquisition apparatus based on multi-modal data, and related device
WO2024067449A1 (en) Parameter adjusting apparatus and method therefor, program-controlled device, medical system, and storage medium
WO2023000788A1 (en) Parameter comparison method and apparatus, electronic device, and computer readable storage medium
Grappe et al. An intracerebral exploration of functional connectivity during word production
Redlinger et al. Impact of screen size on cognitive training task performance: An HMD study
Vaughan et al. P revious chapters in this book have discussed the techni
Chang et al. Alternative motor task-based pattern training with a digital mirror therapy system enhances sensorimotor signal rhythms post-stroke
WO2024001695A1 (en) Data acquisition method, apparatus and system, and computer-readable storage medium
WO2023226636A1 (en) Controller, implantable nerve stimulation system and computer readable storage medium
WO2023185410A1 (en) Imaging identification method for stimulation electrode wire, and related apparatus
CN115063505A (en) Local graph updating apparatus, medical system, and computer-readable storage medium
Chick et al. My body, your emotions: Viscerosomatic modulation of facial expression discrimination
WO2023024881A1 (en) Video tracing method for patient with chronic disease and related apparatus
Bi et al. A SSVEP brain-computer interface with the hybrid stimuli of SSVEP and P300
CN115019948B (en) Control device, remote consultation system, and computer-readable storage medium
Taberna et al. Large-scale analysis of neural activity and connectivity from high-density electroencephalographic data
Bronte-Stewart et al. Hope vs. Hype: Closed loop technology will provide more meaningful improvement vs. directional leads in deep brain stimulation
CN118001588A (en) Visual program control adjusting method, program control equipment and medical system
Maoz Memory and spatial representations in the human medial temporal lobe: insights from intracranial electrophysiology during virtual reality and real-world ambulation
CN117577293A (en) Remote program control device, method, medical system and readable storage medium
CN117275637A (en) Evaluation device, medical system, and computer-readable 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
CB02 Change of applicant information

Address after: 215000 building C16, bio nano Park, 218 Xinghu street, Suzhou Industrial Park, Jiangsu Province

Applicant after: Jingyu Medical Technology (Suzhou) Co.,Ltd.

Address before: 215000 building C16, bio nano Park, 218 Xinghu street, Suzhou Industrial Park, Jiangsu Province

Applicant before: SCENERAY Co.,Ltd.

CB02 Change of applicant information