Local graphics updating device, medical system and computer readable storage medium

Through the local graphics updating device, only the range to be updated in the electroencephalogram spectrogram is updated, which solves the calculation and memory consumption problems caused by graphics refreshing in the prior art, and improves user experience and efficiency.

CN115063505BActive Publication Date: 2024-09-24SCENERAY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210656280.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-10
Publication Date
2024-09-24
Estimated Expiration
2042-06-10

AI Technical Summary

Technical Problem

When the existing technology refreshes the EEG spectrogram, the entire graph is refreshed, resulting in unnecessary calculations and memory consumption, causing lags and delays, and poor user experience.

Method used

A local graphics updating device is used to generate initial graphics and background graphics, only update the foreground graphics in the range to be updated, and use the display device to perform local updating, thereby reducing data processing and memory consumption.

Benefits of technology

It is realized that only partial graphics are updated during the graphics update process, which reduces the amount of data processed, saves equipment overhead, reduces screen freezes and delays, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115063505B
    Figure CN115063505B
Patent Text Reader

Abstract

The present application provides a local graphics update device, a medical system and a computer-readable storage medium, wherein the local graphics update device includes a processor, and the processor is configured to perform the following steps: S1: based on the data to be drawn with a first parameter in a preset range, an initial graphics is generated, so as to display the initial graphics using a display device; S2: the preset range corresponding to the first parameter is divided; S3: based on the data to be drawn with the first parameter in a non-updated range, a background graphics with the first parameter as the horizontal axis and the second parameter as the vertical axis is generated; S4: based on the data to be drawn with the first parameter in the range to be updated again, a foreground graphics with the first parameter as the horizontal axis and the second parameter as the vertical axis is generated; S5: synthesizing to obtain a local updated graphics; S6: using the display device to display the local updated graphics, and re-executing S4. Only the local graphics are updated, the amount of data in the graphics update process is reduced, and the consumption of memory is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of medical devices and bioelectric monitoring, and in particular to a local graphics updating device, a medical system and a computer-readable storage medium. Background Art

[0002] With the development of science and technology and social progress, patients are eager to improve their quality of life through various treatment methods. Among them, medical devices, especially implantable devices, have very broad application prospects. Implantable devices refer to medical devices that are fully or partially inserted into the human body or cavity (orifice) with the help of surgery, or are used to replace the human epithelial surface or eye surface, and remain in the human body for 30 days (inclusive) or more after the operation, or are absorbed by the human body. A stimulator is a type of implantable device. The stimulator usually includes an IPG, an extension lead, and an electrode lead. It can provide patients with refined electrical stimulation therapy with controllable parameters and is popular among many consumers in the market.

[0003] At present, the existing technology can use sensing equipment to sense the patient's bioelectric signals, and use signal processing equipment to process the sensed bioelectric signals to generate graphics, such as electrocardiograms, electroencephalograms, electrooculograms, etc., through graphical representation, to help doctors intuitively understand the frequency, voltage amplitude, etc. of the patient's bioelectric signals, thereby assisting doctors in making a correct diagnosis of the patient's current condition. However, when the existing technology refreshes a graph such as an EEG spectrum graph, the entire graph is refreshed, such as the 0-1000 Hz range shown in the figure below, but in fact the user will only focus on data within a very small range, such as only focusing on the delta wave (0.5-4Hz), so refreshing the entire range will cause unnecessary calculations and memory consumption, which will cause freezes, delays, etc., and the user experience is not good.

[0004] Patent CN113840174A discloses an image display method, system and storage medium, the method comprising: obtaining 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 difference data according to each serial peripheral interface SPI partition according to the difference data and the additional address information, respectively obtaining the change data of each SPI partition; for each SPI partition, sending the change data of the SPI partition to the SPI partition in the display, so that the display refreshes the display change data in each SPI partition in a local refresh manner based on the display of the previous image frame. For each SPI partition, sending the change data of the SPI partition to the SPI partition in the display can reduce the amount of image data received by the display, thereby reducing the image freeze and delay of the display using the SPI communication method. The method first obtains the complete image of the target image frame, then detects what changes have occurred relative to the previous frame image, obtains the total difference data, and then divides the difference data according to the SPI partition, thereby obtaining the change data corresponding to each SPI partition, which is used to achieve local refresh. That is, the method is a local refresh based on the hardware (i.e., each SPI partition) (dividing the area that needs to be refreshed and the area that does not need to be refreshed). However, in the process of acquiring the target image frame, the amount of calculation data cannot be reduced.

[0005] Based on this, the present application provides a local graphics update device, a medical system and a computer-readable storage medium to solve the problems existing in the above-mentioned prior art. Summary of the invention

[0006] The purpose of this application is to provide a local graphics update device, a medical system and a computer-readable storage medium. In the process of updating the graphics, only the local graphics are updated without updating the entire graphics, thereby reducing the amount of data processed during the graphics update process and reducing memory consumption.

[0007] The purpose of this application is achieved by the following technical solutions:

[0008] In a first aspect, the present application provides a local graphics updating device for drawing graphics based on data to be drawn, wherein the data to be drawn is obtained by processing bioelectric signals of a patient;

[0009] The data to be drawn includes a plurality of data pairs, each data pair includes a parameter value of a first parameter and a parameter value of a second parameter, and the first parameter is time or frequency;

[0010] The local graphics updating device comprises a processor, and the processor is configured to perform the following steps:

[0011] S1: generating an initial graphic based on the data to be drawn whose first parameter is within a preset range, so as to display the initial graphic using a display device;

[0012] S2: Divide the preset range corresponding to the first parameter to obtain a to-be-updated range and a non-updated range;

[0013] S3: generating a background graphic with the first parameter as the horizontal axis and the second parameter as the vertical axis based on the to-be-drawn data whose first parameter is in a non-updated range;

[0014] S4: generating a foreground graphic with the first parameter as the horizontal axis and the second parameter as the vertical axis based on the re-acquired data to be drawn whose first parameter is within the range to be updated;

[0015] S5: using the background graphic as the background and the foreground graphic as the foreground, aligning the horizontal axis of the foreground graphic with the to-be-updated range of the horizontal axis of the background graphic, and aligning the vertical axis of the foreground graphic with the vertical axis of the background graphic, to synthesize and obtain a partially updated graphic;

[0016] S6: Display the local updated graph using the display device, and re-execute S4.

[0017] The beneficial effect of this technical solution is that in the process of updating the graphics (i.e. obtaining the local updated graphics), only the local graphics (i.e. the foreground graphics, which only corresponds to a part of the local updated graphics) are updated, without updating the entire graphics (i.e. the background graphics in the local updated graphics do not need to be updated), thereby reducing the amount of data processed during the graphics update process and reducing memory consumption. The local graphics update device provided by this application solves the problem that the current drawing control cannot be locally updated; greatly reduces unnecessary calculations, saves equipment expenses; reduces screen freezes and delays; in addition, the solution can be made into a custom library for developers to directly import and use.

[0018] When the first parameter is time, the drawn graph (initial graph, local updated graph) can represent the time domain characteristics of the second parameter; when the second parameter is frequency, the drawn graph (initial graph, local updated graph) can represent the frequency domain characteristics of the second parameter.

[0019] First, an initial graphic is generated and displayed; and a preset range is divided to obtain a range to be updated and a range not to be updated, so as to perform a partial update on the range to be updated later; the data to be drawn corresponding to the range not to be updated does not need to be updated, so there is no need to reacquire this part of the data to be drawn, and the background graphic can be generated with the existing data to be drawn; the data to be drawn corresponding to the range to be updated needs to be updated, so it is necessary to reacquire this part of the data to be drawn and generate a foreground graphic; the background graphic and the foreground graphic are used as the background and foreground respectively, and the scales of the foreground graphic and the background graphic are aligned, specifically, the horizontal axes are aligned with the horizontal axes, and the vertical axes are aligned with the vertical axes, but since the value range of the horizontal axis of the foreground graphic (i.e. the range to be updated) is only the value range of the background graphic The horizontal axis is a part of the value range of the horizontal axis (i.e., the preset range, including the range to be updated and the range not to be updated). Therefore, the horizontal axes of the foreground graphic and the background graphic are aligned with each other, or more appropriately, "the horizontal axis of the foreground graphic" is aligned with "a part of the horizontal axis of the background graphic". Here, "a part of the horizontal axis of the background graphic" refers to "the range to be updated of the horizontal axis of the background graphic". After aligning the horizontal axis and the vertical axis respectively, a local updated graphic is synthesized; the local updated graphic is displayed by a display device, and the foreground graphic generation step (i.e., S4) is re-executed to generate a new foreground graphic, thereby synthesizing a new local updated graphic, and the new local updated graphic is displayed by a display device to realize continuous updating of the graphic to meet the needs of doctors for real-time monitoring of patients' bioelectric signals.

[0020] The data to be drawn is obtained by processing the bioelectric signals. If a certain range of data to be drawn is needed, the bioelectric signals of the corresponding range need to be processed; conversely, if a certain range of data to be drawn is not needed, the bioelectric signals of the corresponding range do not need to be processed. During the above-mentioned graphics update process, there is no need to re-acquire the data to be drawn corresponding to the non-updated range, that is, there is no need to process the bioelectric signals corresponding to the non-updated range, 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.

[0021] In some possible implementations, the second parameter is the voltage amplitude of the bioelectric signal.

[0022] The beneficial effect of the technical solution is that the second parameter is the voltage amplitude of the bioelectric signal, and the bioelectric signal can be, for example, an electroencephalogram signal, an electrocardiogram signal, an electromyogram signal, an electrooculogram signal, etc. The magnitude of the voltage amplitude can often characterize the strength of the bioelectric activity and is an important indicator of concern to doctors. The local graphic update device of the present application is used to characterize the time domain characteristics or frequency domain characteristics of the voltage amplitude, which can better assist doctors in diagnosing the patient's condition from a technical perspective. In particular, when the local graphic update device is applied to remote program control, the doctor is in the hospital and the patient is at home, and the data transmission process is more susceptible to factors such as equipment limitations, operator bandwidth limitations, and network speed limitations. The present application can reduce the amount of data in the data processing process and improve the efficiency of graphic updates as a whole. Whether the local graphic update device is set at the doctor's end, the patient's end, or the cloud, it helps to improve the patient experience in the diagnosis process, program control process, or other treatment processes. Among them, the method of setting it at the doctor's end is, for example, integrated into the program control device or display device used by the doctor, the method of setting it at the patient's end is, for example, integrated into the program control device and sensing device used by the patient, and the method of setting it at the cloud is, for example, set it at the cloud server.

[0023] In some possible implementations, the first parameter is frequency;

[0024] The preset range is 0 to 1000 Hz;

[0025] The range to be updated is 0.1 to 30 Hz.

[0026] The beneficial effects of this technical solution are as follows: the preset range cannot be too large. If it is too large, the data volume of the corresponding initial graphics and local updated graphics will be too large, and a single screen (i.e., within one screen) may not be fully displayed, and a progress bar may need to be dragged, affecting the doctor's viewing experience; the preset range cannot be too small. In order to ensure the display effect of the range to be updated, generally only the non-updated range can be reduced, which results in too little data in the non-updated range, which is insufficient to provide sufficient reference for doctors. The range to be updated can be set intelligently or manually to define the horizontal axis range that the doctor is concerned about (or interested in). The range to be updated can be set according to specific needs in actual applications. For example, if a doctor wants to see the delta wave in the EEG signal, the range to be updated can be set to the frequency range corresponding to the delta wave.

[0027] In some possible implementations, the scale on the horizontal axis of the background graphic is evenly set or unevenly set.

[0028] The beneficial effect of this technical solution is that the uniform setting method is in line with people's traditional reading habits. The advantage of the non-uniform setting method is that the scale range that the doctor is concerned about may have both small value intervals and large value intervals. If all uniformly set scales are used, the scale will be too large, which will make the small value interval difficult to observe with the naked eye, and the scale will be too small, which will make the entire preset range unable to be displayed on a single screen. In other words, the non-uniform setting method of the horizontal axis scale makes it easier for doctors to view one or more scale ranges of concern in a targeted manner on a single screen.

[0029] In some possible implementations, the horizontal axis of the background graphic is provided with a first scale to an Nth scale from small to large, the difference between the Kth scale and the K-1th scale is smaller than the difference between the K+1th scale and the Kth scale, N is an integer greater than 2, and K is any integer greater than 1 and less than N.

[0030] The beneficial effect of this technical solution is that the horizontal axis scale can be arranged in an uneven manner, first dense and then sparse. That is, between any three adjacent scales, the difference between the two smaller scales (the Kth scale and the K-1th scale) is smaller than the difference between the two larger scales (the K+1th scale and the Kth scale). The advantage of this is that it meets the doctor's needs for the commonly used observation range.

[0031] In some possible implementations, the processor is further configured to perform the following steps before executing S1:

[0032] sensing the bioelectrical signals of the patient using a sensing device;

[0033] Processing the bioelectric signal whose first parameter is within the preset range to obtain the data to be drawn whose first parameter is within the preset range;

[0034] The processor is further configured to perform the following steps before executing S4:

[0035] Re-sensing the bioelectrical signal of the patient using the sensing device;

[0036] The bioelectric signal whose first parameter is within the range to be updated is processed to reacquire the to-be-drawn data whose first parameter is within the range to be updated.

[0037] The beneficial effect of this technical solution is that the bioelectric signals of the patient are sensed by the sensing device, and then the bioelectric signals are processed to obtain the data to be drawn. In actual applications, the specifications of the sensing device may be diverse, for example, it may include a stimulator, an in vitro collector, an electrode cap, a smart bracelet, a smart watch, etc. The above products use electrode sheets or electrode contacts to sense the bioelectric signals inside or outside the patient's body. In other words, the patient's bioelectric signals can be sensed in real time by the sensing device and processed. The obtained data to be drawn is used to draw the initial graphics and locally update the graphics, which is convenient for patients to choose one or more suitable sensing devices based on their own performance requirements and cost requirements to complete the collection of bioelectric signals.

[0038] In some possible implementations, the processor is further configured to execute S2 in the following manner:

[0039] Determine the scope to be updated;

[0040] The portion of the preset range that does not belong to the to-be-updated range is used as the non-updated range.

[0041] The beneficial effect of this technical solution is that: first determine the range to be updated, and then remove the range to be updated from the preset range to obtain the non-updated range. The range to be updated may include one or more numerical intervals, and the non-updated range may also include one or more numerical intervals. The advantage of this is that after the range to be updated is obtained by using intelligent settings or manual settings, the non-updated range can be automatically obtained, reducing the number of operating steps and having a high degree of intelligence.

[0042] In some possible implementations, the processor is further configured to determine the to-be-updated range in the following manner:

[0043] receiving an input operation using an interactive device, and determining the to-be-updated range in response to the input operation; or,

[0044] A sliding window of a preset length is used for sliding to obtain the range to be updated.

[0045] The beneficial effect of this technical solution is that the range to be updated is determined by an intelligent setting method or a manual setting method. When the manual setting method is adopted, the personnel can receive input operations through the interactive device, such as numerical input operations or operations of dragging a progress bar, and the personnel can also slide using a sliding window of a preset length. When the intelligent setting method is adopted, a default value can be set to implement the range setting; or, when the first parameter is frequency, a correspondence between each waveform and the frequency range can be established in advance. When the doctor selects one of the waveforms, the frequency range corresponding to the waveform is obtained based on the corresponding relationship query as the range to be updated.

[0046] In some possible implementations, the processor is further configured to perform the following steps before executing S3:

[0047] The data to be drawn whose first parameter is in the to-be-updated range is removed from the data to be drawn whose first parameter is in the preset range to obtain the data to be drawn whose first parameter is in the non-updated range.

[0048] The beneficial effect of this technical solution is that the part of the to-be-updated range can be directly removed from the to-be-drawn data in the preset range to obtain the to-be-drawn data in the non-updated range, the calculation process is simple, the calculation time is short, the calculation efficiency is high, and the consumption of calculation resources is small.

[0049] In some possible implementations, the processor is further configured to perform the following steps before executing S3:

[0050] Setting all parameter values ​​of the second parameters in the to-be-drawn data whose first parameters are within the to-be-updated range to 0 to obtain the placeholder data whose first parameters are within the to-be-updated range;

[0051] The processor is further configured to execute S3 in the following manner:

[0052] The background graphic is generated based on the to-be-drawn data whose first parameter is in a non-updated range and the placeholder data whose first parameter is in a to-be-updated range.

[0053] The beneficial effect of this technical solution is that placeholder data corresponding to the range to be updated can be set in the background graphic, so that the vertical coordinate corresponding to the range to be updated in the generated background graphic is 0, so that no ghosting or noise interference will be generated when synthesizing the local update graphic.

[0054] In some possible implementations, the background graphic displays a horizontal axis and a vertical axis; and / or,

[0055] The foreground graph displays a horizontal axis and a vertical axis.

[0056] The beneficial effect of this technical solution is that coordinate axes, i.e., horizontal and vertical axes, can be displayed in the background graphics and / or foreground graphics, and the scales of the horizontal and vertical axes can also be displayed to help doctors intuitively understand the numerical range corresponding to the graphics and their horizontal and vertical axes, thereby further assisting doctors in making decisions.

[0057] In some possible implementations, the background graphic displays the horizontal axis and the vertical axis; the foreground graphic displays the horizontal axis and the vertical axis in a transparent color or a preset color.

[0058] The beneficial effect of this technical solution is that both the background graphic and the foreground graphic display the horizontal axis and the vertical axis. However, in order to avoid ghosting and other situations that affect the viewing effect at the coordinate axes, the horizontal axis and the vertical axis of the foreground graphic can be set to transparent colors, which will not affect the display of the horizontal axis and the vertical axis in the background graphic; or the horizontal axis and the vertical axis of the foreground graphic can be set to preset colors, such as 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 horizontal axis and the vertical axis of the background graphic respectively and have the same color.

[0059] In a second aspect, the present application provides a local graphics update method for drawing graphics based on data to be drawn, wherein the data to be drawn is obtained by processing bioelectric signals of a patient;

[0060] The data to be drawn includes a plurality of data pairs, each data pair includes a parameter value of a first parameter and a parameter value of a second parameter, and the first parameter is time or frequency;

[0061] The method comprises:

[0062] S1: generating an initial graphic based on the data to be drawn whose first parameter is within a preset range, so as to display the initial graphic using a display device;

[0063] S2: Divide the preset range corresponding to the first parameter to obtain a to-be-updated range and a non-updated range;

[0064] S3: generating a background graphic with the first parameter as the horizontal axis and the second parameter as the vertical axis based on the to-be-drawn data whose first parameter is in a non-updated range;

[0065] S4: generating a foreground graphic with the first parameter as the horizontal axis and the second parameter as the vertical axis based on the re-acquired data to be drawn whose first parameter is within the range to be updated;

[0066] S5: using the background graphic as the background and the foreground graphic as the foreground, aligning the horizontal axis of the foreground graphic with the to-be-updated range of the horizontal axis of the background graphic, and aligning the vertical axis of the foreground graphic with the vertical axis of the background graphic, to synthesize and obtain a partially updated graphic;

[0067] S6: Display the local updated graph using the display device, and re-execute S4.

[0068] In some possible implementations, the second parameter is the voltage amplitude of the bioelectric signal.

[0069] In some possible implementations, the first parameter is frequency;

[0070] The preset range is 0 to 1000 Hz;

[0071] The range to be updated is 0.1 to 30 Hz.

[0072] In some possible implementations, the horizontal axis of the background graphic is provided with a first scale to an Nth scale from small to large, the difference between the Kth scale and the K-1th scale is smaller than the difference between the K+1th scale and the Kth scale, N is an integer greater than 2, and K is any integer greater than 1 and less than N.

[0073] In some possible implementations, before S1, the method further includes:

[0074] sensing the bioelectrical signals of the patient using a sensing device;

[0075] Processing the bioelectric signal whose first parameter is within the preset range to obtain the data to be drawn whose first parameter is within the preset range;

[0076] Before S4, the method further includes:

[0077] Re-sensing the bioelectrical signal of the patient using the sensing device;

[0078] The bioelectric signal whose first parameter is within the range to be updated is processed to reacquire the to-be-drawn data whose first parameter is within the range to be updated.

[0079] In some possible implementations, dividing the preset range corresponding to the first parameter to obtain a to-be-updated range and a non-updated range includes:

[0080] Determine the scope to be updated;

[0081] The portion of the preset range that does not belong to the to-be-updated range is used as the non-updated range.

[0082] In some possible implementations, determining the to-be-updated range includes:

[0083] receiving an input operation using an interactive device, and determining the to-be-updated range in response to the input operation; or,

[0084] A sliding window of a preset length is used for sliding to obtain the range to be updated.

[0085] In some possible implementations, before S3, the method further includes:

[0086] The data to be drawn whose first parameter is in the to-be-updated range is removed from the data to be drawn whose first parameter is in the preset range to obtain the data to be drawn whose first parameter is in the non-updated range.

[0087] In some possible implementations, before S3, the method further includes:

[0088] Setting all parameter values ​​of the second parameters in the to-be-drawn data whose first parameters are within the to-be-updated range to 0 to obtain the placeholder data whose first parameters are within the to-be-updated range;

[0089] The method of generating a background graphic with the first parameter as the horizontal axis and the second parameter as the vertical axis based on the data to be drawn whose first parameter is in a non-updated range comprises:

[0090] The background graphic is generated based on the to-be-drawn data whose first parameter is in a non-updated range and the placeholder data whose first parameter is in a to-be-updated range.

[0091] In some possible implementations, the background graphic displays a horizontal axis and a vertical axis; and / or,

[0092] The foreground graph displays a horizontal axis and a vertical axis.

[0093] In some possible implementations, the background graphic displays the horizontal axis and the vertical axis; the foreground graphic displays the horizontal axis and the vertical axis in a transparent color or a preset color.

[0094] In a third aspect, the present application provides a medical system, the medical system comprising:

[0095] Any of the above local graphics updating devices, the local graphics updating device is used to draw graphics based on data to be drawn, the data to be drawn is obtained by processing the bioelectric signal of the patient; the data to be drawn includes a plurality of data pairs, each data pair includes a parameter value of a first parameter and a parameter value of a second parameter, the first parameter is time or frequency;

[0096] A sensing device is used to sense the bioelectric signals of the patient.

[0097] In some possible implementations, the sensing device is a stimulator, and the stimulator is implanted in the patient.

[0098] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the function of any of the above-mentioned devices or the steps of any of the above-mentioned methods are implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0099] The present application is further described below in conjunction with the accompanying drawings and implementation methods.

[0100] Figure 1 A structural block diagram of a medical system provided by the present application is shown.

[0101] Figure 2A schematic flow chart of a local graphics updating method provided by the present application is shown.

[0102] Figure 3 A schematic flow chart of another local graphics updating method provided by the present application is shown.

[0103] Figure 4 A schematic diagram of a user attention range provided by the present application is shown.

[0104] Figure 5 A structural block diagram of a local graphics updating device provided by the present application is shown.

[0105] Figure 6 A schematic diagram of the structure of a program product provided by the present application is shown. DETAILED DESCRIPTION

[0106] The technical solution in the present application will be described below in conjunction with the drawings and specific implementation methods of the specification of the present application. It should be noted that, under the premise of no conflict, the various implementation methods or technical features described below can be arbitrarily combined to form a new implementation method.

[0107] In the present application, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, a and b, a and c, b and c, a and b and c, where a, b and c can be single or multiple. It is worth noting that "at least one" can also be interpreted as "one or more items".

[0108] It should also be noted that in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any implementation or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other implementations or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0109] Below, one of the application fields of the present application (i.e., implantable devices) is first briefly described.

[0110] The implantable neurostimulation system mainly includes a stimulator implanted in the patient's body and a programmable device set outside the patient's body. The existing neuromodulation technology mainly implants electrodes in specific structures (i.e., targets) in the body through stereotactic surgery, and the stimulator implanted in the patient's body emits discharge pulses to the target through the electrodes to regulate the electrical activity and function of the corresponding neural structures and networks, thereby improving symptoms and relieving pain. Among them, the stimulator can be any one of an implantable neural electrical stimulation device, an implantable cardiac electrical stimulation system (also known as a pacemaker), an implantable drug delivery system (Implantable Drug Delivery System, referred to as IDDS) and a lead switching device. Implantable neural stimulation devices include, for example, the Deep Brain Stimulation (DBS) system, the Cortical Nerve Stimulation (CNS) system, the Spinal Cord Stimulation (SCS) system, the Sacral Nerve Stimulation (SNS) system, the Vagus Nerve Stimulation (VNS) system, etc.

[0111] The stimulator may include an IPG, an extension lead and an electrode lead. The IPG (implantable pulse generator) is arranged in the patient's body, and relies on a sealed battery and a circuit to provide controllable electrical stimulation energy to the tissue in the body. Through the implanted extension lead and the electrode lead, one or two controllable specific electrical stimulations are delivered to specific areas of the tissue in the body. The extension lead is used in conjunction with the IPG as a transmission medium for the electrical stimulation signal, and transmits the electrical stimulation signal generated by the IPG to the electrode lead. The electrode lead delivers electrical stimulation to specific areas of the tissue in the body through multiple electrode contacts. The stimulator is provided with one or more electrode leads on one side or both sides, and multiple electrode contacts are arranged on the electrode lead. The electrode contacts can be arranged uniformly or non-uniformly on the circumference of the electrode lead. As an example, the electrode contacts can be arranged in an array of 4 rows and 3 columns (a total of 12 electrode contacts) on the circumference of the electrode lead. The electrode contacts can include stimulation electrode contacts and / or sensing electrode contacts. The electrode contacts can be in the shape of sheets, rings, dots, etc.

[0112] In some possible implementations, the stimulated body tissue may be the patient's brain tissue, and the stimulated site may be a specific site of the brain tissue. When the patient's disease type is different, the stimulated site is generally different, and the number of stimulation contacts (single source or multiple sources) used, the use of one or more (single channel or multiple channels) of specific electrical stimulation signals, and the stimulation parameter data are also different. The present application does not limit the applicable disease types, which may be deep brain stimulation (DBS), spinal cord stimulation (SCS), pelvic stimulation, gastric stimulation, peripheral nerve stimulation, and functional electrical stimulation. Applicable disease types. Among them, DBS can be used to treat or manage diseases including, but not limited to: spastic disorders (e.g., epilepsy), pain, migraine, mental illness (e.g., major depressive disorder (MDD)), bipolar disorder, 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 impairments. When DBS is used to treat drug addiction patients, it can help drug addicts quit drugs and improve their sense of well-being and quality of life.

[0113] In the present application, when the programmable device and the stimulator establish a programmable connection, the programmable device can be used to adjust the stimulation parameters of the stimulator (different stimulation parameters correspond to different electrical stimulation signals), or the stimulator can be used to sense the bioelectric activity deep in the patient's brain, and the stimulation parameters of the stimulator's electrical stimulation signal can be further adjusted based on the sensed bioelectric activity.

[0114] The program-controlled device may be a doctor's program-controlled device (i.e., a program-controlled device used by a doctor) or a patient's program-controlled device (i.e., a program-controlled device used by a patient). The program-controlled device may be, for example, a tablet computer, a laptop computer, a desktop computer, a mobile phone, or other intelligent terminal device.

[0115] This application does not restrict the data interaction between the doctor programmer and the stimulator. When the doctor performs remote programming, the doctor programmer can interact with the stimulator through the server and the patient programmer. When the doctor performs offline programming with the patient face to face, the doctor programmer can interact with the stimulator through the patient programmer, and the doctor programmer can also interact with the stimulator directly.

[0116] The patient programmer may include a host (communicating with a server) and a slave (communicating with a stimulator), and the host and the slave are communicably connected. The doctor programmer may exchange data with the server through a 3G / 4G / 5G network, the server may exchange data with the host through a 3G / 4G / 5G network, the host may exchange data with the slave through a Bluetooth protocol / WIFI protocol / USB protocol, the slave may exchange data with the stimulator through a 401MHz-406MHz operating frequency band / 2.4GHz-2.48GHz operating frequency band, and the doctor programmer may directly exchange data with the stimulator through a 401MHz-406MHz operating frequency band / 2.4GHz-2.48GHz operating frequency band.

[0117] In addition to the application fields of the above-mentioned implantable devices, the present application can also be applied to other technical fields of medical devices and even non-medical devices. The present application is not limited to this and can be applied to any occasion involving frequent refreshing of graphics.

[0118]

System implementation method

[0119] See also Figure 1 , Figure 1 A structural block diagram of a medical system provided by the present application is shown.

[0120] The present application provides a medical system, the medical system comprising:

[0121] Any of the above-mentioned local graphics updating devices 10, the local graphics updating device is used to draw graphics based on data to be drawn, the data to be drawn is obtained by processing the bioelectric signal of the patient; the data to be drawn includes a plurality of data pairs, each data pair includes a parameter value of a first parameter and a parameter value of a second parameter, the first parameter is time or frequency;

[0122] A sensing device 20 is used to sense the bioelectrical signals of the patient.

[0123] The present application does not limit the sensing device 20, which may include, for example, one or more of a stimulator, an in vitro collector, an electrode cap, a smart bracelet, and a smart watch.

[0124] The above-mentioned products use electrode sheets or electrode contacts to sense bioelectric signals inside or outside the patient's body. That is to say, the patient's bioelectric signals can be sensed in real time and processed by the sensing device. The obtained data to be drawn is used to draw the initial graphics and locally update the graphics, which is convenient for patients to choose one or more suitable sensing devices based on their own performance requirements and cost requirements to complete the collection of bioelectric signals.

[0125] In some possible implementations, the sensing device is a stimulator, and the stimulator is implanted in the patient.

[0126] In the present application, the local graphics updating device 10 may be configured to implement the steps of the local graphics updating method. The local graphics updating method will be described first, and then the local graphics updating device 10 will be described.

[0127]

Method implementation

[0128] See also Figure 2 , Figure 2 A schematic flow chart of a local graphics updating method provided by the present application is shown.

[0129] The present application provides a local graphics update method for drawing graphics based on data to be drawn, wherein the data to be drawn is obtained by processing a patient's bioelectric signal;

[0130] The data to be drawn includes a plurality of data pairs, each data pair includes a parameter value of a first parameter and a parameter value of a second parameter, and the first parameter is time or frequency;

[0131] The method comprises:

[0132] S1: generating an initial graphic based on the data to be drawn whose first parameter is within a preset range, so as to display the initial graphic using a display device;

[0133] S2: Divide the preset range corresponding to the first parameter to obtain a to-be-updated range and a non-updated range;

[0134] S3: generating a background graphic with the first parameter as the horizontal axis and the second parameter as the vertical axis based on the to-be-drawn data whose first parameter is in a non-updated range;

[0135] S4: generating a foreground graphic with the first parameter as the horizontal axis and the second parameter as the vertical axis based on the re-acquired data to be drawn whose first parameter is within the range to be updated;

[0136] S5: using the background graphic as the background and the foreground graphic as the foreground, aligning the horizontal axis of the foreground graphic with the to-be-updated range of the horizontal axis of the background graphic, and aligning the vertical axis of the foreground graphic with the vertical axis of the background graphic, to synthesize and obtain a partially updated graphic;

[0137] S6: Display the local updated graph using the display device, and re-execute S4.

[0138] Therefore, in the process of updating the graphics (i.e. obtaining the partially updated graphics), only the partial graphics (i.e. the foreground graphics, which only corresponds to a part of the partially updated graphics) are updated, without updating the entire graphics (i.e. the background graphics in the partially updated graphics do not need to be updated), thereby reducing the amount of data processed during the graphics update process and reducing memory consumption. This application solves the problem that the current drawing control cannot be partially updated; greatly reduces unnecessary calculations, saves equipment costs; reduces screen freezes and delays; in addition, the solution can be made into a custom library for developers to directly import and use.

[0139] When the first parameter is time, the drawn graph (initial graph, local updated graph) can represent the time domain characteristics of the second parameter; when the second parameter is frequency, the drawn graph (initial graph, local updated graph) can represent the frequency domain characteristics of the second parameter.

[0140] First, an initial graphic is generated and displayed; and a preset range is divided to obtain a range to be updated and a range not to be updated, so that only the range to be updated is partially updated later; the data to be drawn corresponding to the range not to be updated does not need to be updated, so there is no need to re-acquire this part of the data to be drawn, and the background graphic can be generated with the existing data to be drawn; the data to be drawn corresponding to the range to be updated needs to be updated, so it is necessary to re-acquire this part of the data to be drawn and generate a foreground graphic; the background graphic and the foreground graphic are used as the background and foreground respectively, and the scales of the foreground graphic and the background graphic are aligned (that is, the scales of the same value are aligned), specifically, the horizontal axes of the two are aligned with the horizontal axes, and the vertical axes are aligned with the vertical axes, but due to the value range of the horizontal axis of the foreground graphic (that is, the range to be updated) It is only a part of the value range of the horizontal axis of the background graphic (i.e., the preset range, including the range to be updated and the range not to be updated). Therefore, the horizontal axes of the foreground graphic and the background graphic are aligned, or more appropriately, "the horizontal axis of the foreground graphic" is aligned with "a part of the horizontal axis of the background graphic". Here, "a part of the horizontal axis of the background graphic" refers to "the range to be updated of the horizontal axis of the background graphic". After aligning the horizontal axis and the vertical axis respectively, a local updated graphic is synthesized; the local updated graphic is displayed using a display device, and the foreground graphic generation step (i.e., S4) is re-executed to generate a new foreground graphic, thereby synthesizing a new local updated graphic, and the new local updated graphic is displayed using a display device to realize continuous updating of the graphic to meet the doctor's needs for real-time monitoring of the patient's bioelectric signals.

[0141] The data to be drawn are obtained by processing the bioelectric signals. If a certain range of data to be drawn is required, the bioelectric signals in the corresponding range need to be processed; conversely, if a certain range of data to be drawn is not required, the bioelectric signals in the corresponding range do not need to be processed.

[0142] Since in the above-mentioned graphics update process, it is not necessary to reacquire the to-be-drawn data corresponding to the non-updated range, that is, it is not necessary to process the bioelectric signals corresponding to the non-updated range, but only the bioelectric signals of the to-be-updated range need to be processed. This greatly reduces the amount of data processed in the graphics update process.

[0143] In the present application, both the foreground graphic and the background graphic use a two-dimensional coordinate system, each having a horizontal axis and a vertical axis, and using the same scaling scale, so that when the foreground graphic and the background graphic are aligned using the above alignment method, the positions of the corresponding scales can overlap. For example, when the range to be updated includes two scales of 1Hz and 10Hz, the position of the scale 1Hz of the horizontal axis of the foreground graphic overlaps with the position of the scale 1Hz of the horizontal axis of the background graphic, and the position of the scale 10Hz of the horizontal axis of the foreground graphic overlaps with the position of the scale 10Hz of the horizontal axis of the background graphic.

[0144] The present application does not limit the number of data pairs in the data to be drawn, which may be, for example, 10, 100, 1000, 10000, 100000, 1000000, etc.

[0145] The present application does not limit the unit and value of the first parameter (time or frequency). The unit of time can be, for example, milliseconds, seconds, minutes, hours, days, weeks, months, years, etc., and the unit of frequency can be, for example, Hz, kHz, etc.

[0146] The present application does not limit the unit and value of the second parameter. When the second parameter is a voltage amplitude, its unit may be, for example, μV (microvolt), V, etc.

[0147] 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 which range the endpoint data of the interval is divided into, and it can be divided into a range to be updated or a range not to be updated.

[0148] In the present application, the display device of step S6 can display a background color when displaying the initial graphics and the partially updated graphics, and the background color is, for example, black, blue or white. Accordingly, the color of the display content in the initial graphics and the partially updated graphics can be a color that is significantly different from the background color (or has a greater contrast).

[0149] The display content in the initial graph and the partially updated graph refers to the points, lines, surfaces, horizontal axis, vertical axis, scale, unit, graph title, etc. corresponding to the data to be drawn.

[0150] In some possible implementations, the second parameter is the voltage amplitude of the bioelectric signal.

[0151] Therefore, the second parameter is the voltage amplitude of the bioelectric signal, and the bioelectric signal may be, for example, an electroencephalogram signal, an electrocardiogram signal, an electromyogram signal, an electrooculogram signal, or the like.

[0152] The magnitude of the voltage amplitude can often represent the strength of bioelectric activity and is an important indicator that doctors pay attention to.

[0153] When the second parameter of the present application is the voltage amplitude, it can characterize the time domain characteristics or frequency domain characteristics of the voltage amplitude, and can better assist doctors in diagnosing the patient's condition from a technical perspective.

[0154] In particular, when the present application is applied to remote programming, the doctor is in the hospital and the patient is at home, and the data transmission process is more easily affected by factors such as equipment limitations, operator bandwidth limitations, and network speed limitations. The present application can reduce the amount of data in the data processing process and improve the overall efficiency of graphics updates. Regardless of whether the local graphics update device provided by the present application is set on the doctor's side, the patient's side, or the cloud, it will help improve the patient experience during the diagnosis process, programming process, or other treatment processes.

[0155] Among them, the local graphics update device provided in the present application is set on the doctor's side in a way that, for example, it is integrated into a programmable device or a display device used by the doctor; the local graphics update device is set on the patient's side in a way that, for example, it is integrated into a programmable device or a sensing device used by the patient; the local graphics update device is set on the cloud in a way that, for example, it is set on a cloud server.

[0156] In some possible implementations, the first parameter is frequency;

[0157] The preset range is 0 to 1000 Hz;

[0158] The range to be updated is 0.1 to 30 Hz.

[0159] Therefore, the preset range cannot be too large. If it is too large, the corresponding initial graphics and partially updated graphics will have too much data, and a single screen (i.e., one screen) may not display completely and a progress bar may need to be dragged, affecting the doctor's viewing experience. The preset range cannot be too small either. In order to ensure the display effect of the range to be updated, it is generally only possible to reduce the non-updated range. This results in too little data in the non-updated range, which is insufficient to provide sufficient reference for doctors.

[0160] The range to be updated can be set intelligently or manually to define the horizontal axis range that the doctor is concerned about (or interested in). The range to be updated can be set according to specific needs in actual applications. For example, if a doctor wants to see the delta wave in the EEG signal, the range to be updated can be set to the frequency range corresponding to the delta wave.

[0161] In the above implementation, the non-updating range includes two intervals, namely 0 to 0.1 Hz and 30 to 1000 Hz.

[0162] In some other possible implementations, the first parameter is frequency;

[0163] The preset range is 3000-10000 Hz;

[0164] The range to be updated is 5000-6000 Hz.

[0165] In the above implementation, the non-updating range includes two intervals, namely 3000-5000 Hz and 6000-10000 Hz.

[0166] In some further possible implementations, the first parameter is time;

[0167] The preset range is 0 to 10 minutes;

[0168] The range to be updated is 3 to 5 minutes and 7 to 8 minutes.

[0169] In the above implementation, the range to be updated includes two intervals, and the range not to be updated includes three intervals, namely, 0 to 3 minutes, 5 to 7 minutes, and 8 to 10 minutes.

[0170] In some possible implementations, the scale on the horizontal axis of the background graphic may be evenly set or unevenly set.

[0171] Therefore, the uniform setting method is in line with people's traditional reading habits.

[0172] Using uneven settings (such as Figure 4 As shown), the advantage is that the scale range that the doctor is concerned about may include both small intervals and large intervals. If all the scales are evenly set, a scale that is too large will make the small intervals difficult to observe with the naked eye, and a scale that is too small will make the entire preset range unable to be displayed on a single screen. In other words, the uneven setting of the horizontal axis scale makes it easier for the doctor to view one or more scale ranges of concern in a targeted manner on a single screen.

[0173] In some possible implementations, the horizontal axis of the background graphic can be set with a first scale to an Nth scale from small to large, the difference between the Kth scale and the K-1th scale is smaller than the difference between the K+1th scale and the Kth scale, N is an integer greater than 2, and K is any integer greater than 1 and less than N.

[0174] Therefore, the horizontal axis scale can be set in a dense and sparse manner (e.g. Figure 4That is to say, between any three adjacent scales, the difference between the two smaller scales (the Kth scale and the K-1th scale) is smaller than the difference between the two larger scales (the K+1th scale and the Kth scale). The advantage of this is that it meets the doctor's needs for the commonly used observation range.

[0175] In some possible implementations, before S1, the method may further include:

[0176] sensing the bioelectrical signals of the patient using a sensing device;

[0177] Processing the bioelectric signal whose first parameter is within the preset range to obtain the data to be drawn whose first parameter is within the preset range;

[0178] Before S4, the method further includes:

[0179] Re-sensing the bioelectrical signal of the patient using the sensing device;

[0180] The bioelectric signal whose first parameter is within the range to be updated is processed to reacquire the to-be-drawn data whose first parameter is within the range to be updated.

[0181] Therefore, the patient's bioelectric signals are sensed by a sensing device, and then the bioelectric signals are processed to obtain the data to be drawn. In actual applications, the specifications of the sensing device may be diverse, and may include, for example, stimulators, in vitro collectors, electrode caps, smart bracelets, smart watches, etc. The above products use electrode sheets or electrode contacts to sense the patient's bioelectric signals inside or outside the body. In other words, the patient's bioelectric signals can be sensed in real time by the sensing device and processed. The obtained data to be drawn is used to draw the initial graphics and locally update the graphics, which is convenient for patients to choose one or more suitable sensing devices based on their own performance requirements and cost requirements to complete the collection of bioelectric signals.

[0182] In some possible implementations, dividing the preset range corresponding to the first parameter to obtain a to-be-updated range and a non-updated range (ie, S2) may include:

[0183] Determine the scope to be updated;

[0184] The portion of the preset range that does not belong to the to-be-updated range is used as the non-updated range.

[0185] Therefore, first determine the range to be updated, and then remove the range to be updated from the preset range to obtain the range not to be updated. The range to be updated may include one or more numerical intervals, and the range not to be updated may also include one or more numerical intervals. The advantage of this is that after the range to be updated is obtained by using intelligent settings or manual settings, the range not to be updated can be automatically obtained, reducing the number of operating steps and having a high degree of intelligence.

[0186] In some other possible implementations, dividing the preset range corresponding to the first parameter to obtain a to-be-updated range and a non-updated range (ie, S2) may include:

[0187] receiving, by means of an interactive device, a first setting operation for setting a range to be updated, and determining the range to be updated in response to the first setting operation;

[0188] A second setting operation for setting a non-update range is received by using an interactive device, and the non-update range is determined in response to the second setting operation.

[0189] In some possible implementations, determining the to-be-updated range may include:

[0190] receiving an input operation using an interactive device, and determining the to-be-updated range in response to the input operation; or,

[0191] A sliding window of a preset length is used for sliding to obtain the range to be updated.

[0192] Therefore, the range to be updated is determined by an intelligent setting method or a manual setting method.

[0193] When the manual setting method is adopted, the personnel can receive input operations through the interactive device, such as numerical input operations or operations of dragging a progress bar, etc. The personnel can also slide a sliding window of a preset length.

[0194] When the intelligent setting method is adopted, a default value can be set to implement the range setting; or, when the first parameter is frequency, a correspondence between each waveform and the frequency range can be established in advance. When the doctor selects one of the waveforms, the frequency range corresponding to the waveform is obtained based on the correspondence query as the range to be updated.

[0195] The present application does not limit the interactive device, which may be, for example, a smart terminal device such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, a smart wearable device, or the interactive device may be a workstation or a console.

[0196] The present application does not limit the manner of receiving various (manual) operations using the interactive device. The operations may be divided according to the input method, for example, text input operation, audio input operation, video input operation, key input operation, drag progress bar operation, etc. These operations may include, for example, the above-mentioned input operation and the first setting operation, the second setting operation, etc.

[0197] In some possible implementations, before S3, the method further includes:

[0198] The data to be drawn whose first parameter is in the to-be-updated range is removed from the data to be drawn whose first parameter is in the preset range to obtain the data to be drawn whose first parameter is in the non-updated range.

[0199] Thus, the part of the to-be-updated range can be directly removed from the to-be-drawn data in the preset range to obtain the to-be-drawn data in the non-updated range, with a simple calculation process, short calculation time, high calculation efficiency and less consumption of calculation resources.

[0200] In some possible implementations, before S3, the method further includes:

[0201] Setting all parameter values ​​of the second parameters in the to-be-drawn data whose first parameters are within the to-be-updated range to 0 to obtain the placeholder data whose first parameters are within the to-be-updated range;

[0202] The method of generating a background graphic with the first parameter as the horizontal axis and the second parameter as the vertical axis based on the data to be drawn whose first parameter is in a non-updated range comprises:

[0203] The background graphic is generated based on the to-be-drawn data whose first parameter is in a non-updated range and the placeholder data whose first parameter is in a to-be-updated range.

[0204] Therefore, placeholder data corresponding to the to-be-updated range may be set in the background graphic, so that the ordinate corresponding to the to-be-updated range in the generated background graphic is 0, thereby preventing ghosting or noise interference from being generated when synthesizing the local update graphic.

[0205] In some possible implementations, the background graphic displays a horizontal axis and a vertical axis; and / or,

[0206] The foreground graph displays a horizontal axis and a vertical axis.

[0207] Therefore, coordinate axes, i.e., horizontal and vertical axes, can be displayed in the background graphics and / or foreground graphics, and the scales of the horizontal and vertical axes can also be displayed to help doctors intuitively understand the numerical range corresponding to the graphics and their horizontal and vertical axes, thereby further assisting doctors in making decisions.

[0208] In some possible implementations, the background graphic displays the horizontal axis and the vertical axis; the foreground graphic displays the horizontal axis and the vertical axis in a transparent color or a preset color.

[0209] Therefore, both the background graphic and the foreground graphic display the horizontal and vertical axes. However, in order to avoid ghosting and other situations that affect the viewing effect at the coordinate axes, the horizontal and vertical axes of the foreground graphic can be set to transparent colors, which will not affect the display of the horizontal and vertical axes in the background graphic; or the horizontal and vertical axes of the foreground graphic can be set to preset colors, such as the colors of the horizontal and vertical axes of the background graphic, so that the horizontal and vertical axes of the foreground graphic coincide with the horizontal and vertical axes in the background graphic and have the same color.

[0210] See also Figure 3 and Figure 4 , Figure 3 FIG. 4 is a flow chart showing another local graphics updating method provided by the present application. Figure 4 A schematic diagram of a user attention range provided by the present application is shown.

[0211] The local graphics updating method comprises:

[0212] R1: The first complete calculation displays the entire spectrum (0 to 1000 Hz), which is the preset range;

[0213] R2: Record the current complete spectrum data X (0~1000Hz);

[0214] R3: Calculate the data for drawing the graph corresponding to the selected frequency range (0.5-4 Hz) (i.e., the range to be updated, or the range of user attention);

[0215] R4: Remove the data in the selected frequency range to obtain data X'. The frequency range of data X' is (0-0.5)∪(4-1000), that is, the range is not updated; (∪ means taking the union)

[0216] R5: Draw a graph for the above data X' and set the voltage amplitude corresponding to the selected frequency range to 0. A virtual brush can be used (to show non-important graphics);

[0217] R6: Adjust another coordinate system Y pre-set on this coordinate system (the horizontal and vertical axis lines of this coordinate system are set to be transparent or the same background color as the background graphic), set the coordinate range to the selected frequency range (0.5~4Hz), and adjust the coordinate system position so that it can completely overlap with the bottom layer coordinates in this range;

[0218] R7: Next, only the data in the selected frequency range (0.5 to 4 Hz) is calculated;

[0219] R8: Redraw the coordinate system Y at each update to complete the local update of the spectrum graph.

[0220]

Device implementation method

[0221] The present application also provides a local graphics update device, the specific implementation method of which is consistent with the implementation method and the technical effect achieved in the above-mentioned method implementation method, and some contents will not be repeated here.

[0222] The local graphics updating device is used to draw graphics based on the data to be drawn, and the data to be drawn is obtained by processing the bioelectric signal of the patient;

[0223] The data to be drawn includes a plurality of data pairs, each data pair includes a parameter value of a first parameter and a parameter value of a second parameter, and the first parameter is time or frequency;

[0224] The local graphics updating device comprises a processor, and the processor is configured to perform the following steps:

[0225] S1: generating an initial graphic based on the data to be drawn whose first parameter is within a preset range, so as to display the initial graphic using a display device;

[0226] S2: Divide the preset range corresponding to the first parameter to obtain a to-be-updated range and a non-updated range;

[0227] S3: generating a background graphic with the first parameter as the horizontal axis and the second parameter as the vertical axis based on the to-be-drawn data whose first parameter is in a non-updated range;

[0228] S4: generating a foreground graphic with the first parameter as the horizontal axis and the second parameter as the vertical axis based on the re-acquired data to be drawn whose first parameter is within the range to be updated;

[0229] S5: using the background graphic as the background and the foreground graphic as the foreground, aligning the horizontal axis of the foreground graphic with the to-be-updated range of the horizontal axis of the background graphic, and aligning the vertical axis of the foreground graphic with the vertical axis of the background graphic, to synthesize and obtain a partially updated graphic;

[0230] S6: Display the local updated graph using the display device, and re-execute S4.

[0231] In some possible implementations, the second parameter is the voltage amplitude of the bioelectric signal.

[0232] In some possible implementations, the first parameter is frequency;

[0233] The preset range is 0 to 1000 Hz;

[0234] The range to be updated is 0.1 to 30 Hz.

[0235] In some possible implementations, the scale on the horizontal axis of the background graphic is evenly set or unevenly set.

[0236] In some possible implementations, the horizontal axis of the background graphic is provided with a first scale to an Nth scale from small to large, the difference between the Kth scale and the K-1th scale is smaller than the difference between the K+1th scale and the Kth scale, N is an integer greater than 2, and K is any integer greater than 1 and less than N.

[0237] In some possible implementations, the processor is further configured to perform the following steps before executing S1:

[0238] sensing the bioelectrical signals of the patient using a sensing device;

[0239] Processing the bioelectric signal whose first parameter is within the preset range to obtain the data to be drawn whose first parameter is within the preset range;

[0240] The processor is further configured to perform the following steps before executing S4:

[0241] Re-sensing the bioelectrical signal of the patient using the sensing device;

[0242] The bioelectric signal whose first parameter is within the range to be updated is processed to reacquire the to-be-drawn data whose first parameter is within the range to be updated.

[0243] In some possible implementations, the processor is further configured to execute S2 in the following manner:

[0244] Determine the scope to be updated;

[0245] The portion of the preset range that does not belong to the to-be-updated range is used as the non-updated range.

[0246] In some possible implementations, the processor is further configured to determine the to-be-updated range in the following manner:

[0247] receiving an input operation using an interactive device, and determining the to-be-updated range in response to the input operation; or,

[0248] A sliding window of a preset length is used for sliding to obtain the range to be updated.

[0249] In some possible implementations, the processor is further configured to perform the following steps before executing S3:

[0250] The data to be drawn whose first parameter is in the to-be-updated range is removed from the data to be drawn whose first parameter is in the preset range to obtain the data to be drawn whose first parameter is in the non-updated range.

[0251] In some possible implementations, the processor is further configured to perform the following steps before executing S3:

[0252] Setting all parameter values ​​of the second parameters in the to-be-drawn data whose first parameters are within the to-be-updated range to 0 to obtain the placeholder data whose first parameters are within the to-be-updated range;

[0253] The processor is further configured to execute S3 in the following manner:

[0254] The background graphic is generated based on the to-be-drawn data whose first parameter is in a non-updated range and the placeholder data whose first parameter is in a to-be-updated range.

[0255] In some possible implementations, the background graphic displays a horizontal axis and a vertical axis; and / or,

[0256] The foreground graph displays a horizontal axis and a vertical axis.

[0257] In some possible implementations, the background graphic displays the horizontal axis and the vertical axis; the foreground graphic displays the horizontal axis and the vertical axis in a transparent color or a preset color.

[0258] See also Figure 5 , Figure 5 A structural block diagram of a local graphics updating device 200 provided in the present application is shown.

[0259] The local graphics updating device 200 may include, for example, at least one memory 210, at least one processor 220, and a bus 230 connecting different platform systems.

[0260] The memory 210 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 211 and / or a cache memory 212 , and may further include a read only memory (ROM) 213 .

[0261] Among them, the memory 210 also stores a computer program, which can be executed by the processor 220, so that the processor 220 implements the functions of any of the above-mentioned local graphics update devices. Its specific implementation method is consistent with the implementation method and the technical effect achieved in the above-mentioned method implementation method, and some contents will not be repeated here.

[0262] The memory 210 may also include a utility 214 having at least one program module 215, such program module 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 may include an implementation of a network environment.

[0263] Accordingly, the processor 220 may execute the above-mentioned computer program and may execute the utility 214 .

[0264] The processor 220 may be implemented by 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.

[0265] Bus 230 may be a bus representing one or more of several types of bus structures, including a memory bus or a memory local graphics update device, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.

[0266] The local graphics update device 200 may also communicate with one or more external devices 240, such as keyboards, pointing devices, Bluetooth devices, etc., and may also communicate with one or more devices that can interact with the local graphics update device 200, and / or communicate with any device that enables the local graphics update device 200 to communicate with one or more other computing devices (such as routers, modems, etc.). Such communication may be performed through the input and output interface 250. In addition, the local graphics update device 200 may also communicate with one or more networks (such as local area networks (LANs), wide area networks (WANs) and / or public networks, such as the Internet) through a network adapter 260. The network adapter 260 may communicate with other modules of the local graphics update device 200 through the bus 230. It should be understood that although not shown in the figure, other hardware and / or software modules may be used in conjunction with the local graphics update device 200, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms.

[0267]

Medium Implementation Method

[0268] The present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the functions of any of the above-mentioned devices or the steps of any of the above-mentioned methods. Its specific implementation method is consistent with the implementation method and the technical effect achieved in the implementation method of the above-mentioned method, and some contents are not repeated here.

[0269] See also Figure 6 , Figure 6 A schematic diagram of the structure of a program product provided by the present application is shown.

[0270] The program product may adopt a portable compact disk 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 thereto, and in the present application, a readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. The program product may adopt any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0271] Computer-readable storage media may include data signals propagated in baseband or as part of a carrier wave, wherein readable program codes are carried. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable storage medium may also be any readable medium, which may send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or for use in combination with the program. The program code contained on the readable storage medium may be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above. The program code for performing the operation of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and also conventional procedural programming languages ​​such as C language or similar programming languages. The program code may be executed entirely on a user computing device, partially on a user device, as an independent software package, partially on a user computing device, partially on a remote computing device, or entirely on a remote computing device or server. Where a remote computing device is involved, the remote computing device may be connected to the user computing device through any type 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).

[0272] This application is explained from the perspectives of purpose of use, effectiveness, progress and novelty, and has met the functional enhancement and usage requirements emphasized by the Patent Law. The above description and drawings of this application are only the preferred embodiments of this application, and are not intended to limit this application. Therefore, all structures, devices, features, etc. that are similar or identical to this application, that is, all equivalent replacements or modifications made in accordance with the scope of the patent application of this application, should fall within the scope of protection of the patent application of this application.

Claims

1. A local graphics updating device, characterized in that: Used to draw a graph based on the data to be drawn, where the data to be drawn is obtained by processing the bioelectric signal of the patient; The data to be drawn includes a plurality of data pairs, each data pair includes 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 updating device comprises a processor, and the processor is configured to perform the following steps: S1: generating an initial graphic based on the data to be drawn whose first parameter is within a preset range, so as to display the initial graphic using a display device; S2: Divide the preset range corresponding to the first parameter to obtain a to-be-updated range and a non-updated range; S3: generating a background graphic with the first parameter as the horizontal axis and the second parameter as the vertical axis based on the to-be-drawn data whose first parameter is in a non-updated range; S4: generating a foreground graphic with the first parameter as the horizontal axis and the second parameter as the vertical axis based on the re-acquired data to be drawn whose first parameter is within the range to be updated; S5: using the background graphic as the background and the foreground graphic as the foreground, aligning the horizontal axis of the foreground graphic with the to-be-updated range of the horizontal axis of the background graphic, and aligning the vertical axis of the foreground graphic with the vertical axis of the background graphic, to synthesize and obtain a partially updated graphic; S6: Display the local updated graph using the display device, and re-execute S4.

2. The local graphics updating device according to claim 1, characterized in that: The second parameter is the voltage amplitude of the bioelectric signal.

3. The local graphics updating device according to claim 2, characterized in that: The first parameter is frequency; The preset range is 0 to 1000 Hz; The range to be updated is 0.1 to 30 Hz.

4. The local graphics updating device according to any one of claims 1 to 3, characterized in that: The horizontal axis of the background graphic is provided with a first scale to an Nth scale from small to large, the difference between the Kth scale and the K-1th scale is smaller than the difference between the K+1th scale and the Kth scale, N is an integer greater than 2, and K is any integer greater than 1 and less than N.

5. The local graphics updating device according to claim 1, characterized in that: The processor is further configured to perform the following steps before executing S1: sensing the bioelectrical signals of the patient using a sensing device; Processing the bioelectric signal whose first parameter is within the preset range to obtain the data to be drawn whose first parameter is within the preset range; The processor is further configured to perform the following steps before executing S4: Re-sensing the bioelectrical signal of the patient using the sensing device; The bioelectric signal whose first parameter is within the range to be updated is processed to reacquire the to-be-drawn data whose first parameter is within the range to be updated.

6. The local graphics updating device according to claim 1, characterized in that: The processor is further configured to execute S2 in the following manner: Determine the scope to be updated; The portion of the preset range that does not belong to the to-be-updated range is used as the non-updated range.

7. The local graphics updating device according to claim 6, characterized in that: The processor is further configured to determine the to-be-updated range in the following manner: receiving an input operation using an interactive device, and determining the to-be-updated range in response to the input operation; or, A sliding window of a preset length is used for sliding to obtain the range to be updated.

8. The local graphics updating device according to claim 1, characterized in that: The processor is further configured to perform the following steps before executing S3: The data to be drawn whose first parameter is in the to-be-updated range is removed from the data to be drawn whose first parameter is in the preset range to obtain the data to be drawn whose first parameter is in the non-updated range.

9. The local graphics updating device according to claim 1, characterized in that: The processor is further configured to perform the following steps before executing S3: Setting all parameter values ​​of the second parameters in the to-be-drawn data whose first parameters are within the to-be-updated range to 0 to obtain the placeholder data whose first parameters are within the to-be-updated range; The processor is further configured to execute S3 in the following manner: The background graphic is generated based on the to-be-drawn data whose first parameter is in a non-updated range and the placeholder data whose first parameter is in a to-be-updated range.

10. The local graphics updating device according to claim 1, characterized in that: The background graphic displays a horizontal axis and a vertical axis; and / or, The foreground graph displays a horizontal axis and a vertical axis.

11. The local graphics updating device according to claim 10, characterized in that: The background graphic displays the horizontal axis and the vertical axis; the foreground graphic displays the horizontal axis and the vertical axis in a transparent color or a preset color.

12. A medical system, characterized in that: The medical system includes: The local graphics updating device according to any one of claims 1 to 11, wherein the local graphics updating device is used to draw graphics based on data to be drawn, wherein the data to be drawn is obtained by processing the bioelectric signal of the patient; the data to be drawn includes a plurality of data pairs, each data pair includes 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 is used to sense the bioelectric signals of the patient.

13. The medical system according to claim 12, characterized in that The sensing device is a stimulator, which is implanted in the patient.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the function of the device according to any one of claims 1 to 11 is realized.