Time calibration method, device, equipment and system of implantable equipment and medium

By detecting the temperature and time change information generated by the charging operation of the implanted device, and using the preset relationship to calibrate the time of the implanted device, the problem of insufficient timing accuracy of the implanted device is solved, and high-precision time calibration in different usage scenarios is achieved.

CN120342537APending Publication Date: 2025-07-18SCENERAY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510581970.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-07
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

When the implanted device is not connected to the program control device, the accumulated time deviation cannot be eliminated, resulting in poor timing accuracy and cannot meet the needs of different usage scenarios.

Method used

By detecting the temperature and time change information generated by the charging operation, the target time deviation value is determined by using the association relationship between the preset calibration time deviation value and the calibration change information of the implanted device, and the local time is updated to achieve time calibration.

Benefits of technology

Without the need to connect to the program control device, the accumulation of time deviations is reduced, the timing accuracy of implantable devices is improved, and the usage needs in different usage scenarios are met.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120342537A_ABST
    Figure CN120342537A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a time calibration method, a time calibration device, time calibration equipment, a time calibration system and a medium for implantable equipment. The method comprises the steps of determining target change information generated when the implantable device executes a charging operation under the condition of detecting that the implantable device executes the charging operation; wherein the target change information comprises first temperature change information and / or first time change information generated when the implantable device executes the charging operation; the first time change information is determined based on the local offline time of the implantable device; determining a target time deviation value which is generated by the implantable device and corresponds to the target change information based on an association relationship between a preset calibration time deviation value and the calibration change information of the implantable device and the target change information; wherein the calibration change information is change information generated in the calibration charging process of the implantable device; and updating the local time of the implantable device based on the target time deviation value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the technical field of medical devices, and in particular, to a time calibration method, device, equipment, system and medium for an implantable device. Background Art

[0002] With the development of technology and the progress of equipment, the application prospects of implantable devices are becoming more and more extensive. Implantable devices can adjust configuration parameters regularly to meet the usage requirements of implantable devices in different usage scenarios. Therefore, the time accuracy of implantable devices is very important.

[0003] In the prior art, usually when an external programming device is connected to an implantable device, the standard network time is obtained by connecting to the network with the help of the external programming device; the current offline time of the implantable device is updated based on the standard network time. However, in the process of implementing the present invention, it is found that the prior art has at least the following technical problems: The implantable device is limited by power factors and cannot be connected to the programming device throughout the working process. When the implantable device is not connected to the programming device, the accumulated time deviation cannot be eliminated, resulting in poor timing accuracy of the implantable device and the inability of the implantable device to meet the usage requirements in different usage scenarios. Summary of the Invention

[0004] Embodiments of the present invention provide a time calibration method, device, equipment, system and medium for an implantable device to achieve the purpose of reducing the accumulation of time deviation and improving the timing accuracy of the implantable device.

[0005] According to one aspect of the present invention, there is provided a time calibration method for an implantable device, including:

[0006] When it is detected that the implantable device performs a charging operation, determining target change information generated by the implantable device when performing the charging operation; wherein, the target change information includes first temperature change information and / or first time change information generated by the implantable device when performing the charging operation; the first time change information is determined based on the local offline time of the implantable device;

[0007] Based on the association relationship between a preset calibrated time deviation value and the calibrated change information of the implantable device and the target change information, determining a target time deviation value corresponding to the target change information generated by the implantable device; wherein, the calibrated change information is the change information generated by the implantable device during the calibrated charging process;

[0008] Updating the local time of the implantable device based on the target time deviation value.

[0009] According to another aspect of the present invention, there is provided a time calibration device for an implantable device, comprising:

[0010] An information determination module, configured to determine target change information generated by the implantable device when detecting that the implantable device performs a charging operation; wherein, the target change information includes first temperature change information and / or first time change information generated by the implantable device when performing the charging operation; the first time change information is determined based on the local offline time of the implantable device;

[0011] A deviation value determination module, configured to determine a target time deviation value corresponding to the target change information generated by the implantable device based on the association relationship between a preset calibration time deviation value and the calibration change information of the implantable device and the target change information; wherein, the calibration change information is the change information generated by the implantable device during the calibration charging process;

[0012] A time update module, configured to update the local time of the implantable device based on the target time deviation value.

[0013] According to another aspect of the present invention, there is provided a programming device, the programming device comprising:

[0014] At least one processor; and

[0015] A memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can, after receiving a time acquisition request, acquire network time and send the network time to the time calibration device of the implantable device.

[0017] According to another aspect of the present invention, there is provided a medical system, the medical system comprising:

[0018] An implantable device implanted in a user's body;

[0019] A time calibration device for the implantable device, and the time calibration device for the implantable device realizes time calibration of the implantable device by the method according to any embodiment of the present invention;

[0020] A programming device for programming the implantable device.

[0021] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the time calibration method of the implantable device according to any embodiment of the present invention when executed.

[0022] In the technical solution of the embodiment of the present invention, when it is detected that the implantable device performs a charging operation, the target change information generated by the implantable device during the charging operation is determined; wherein the target change information includes the first temperature change information and / or the first time change information generated by the implantable device during the charging operation; since the first time change information is determined based on the local offline time of the implantable device, there is no need to connect to the network, and thus there is no need to maintain a connection with the programming device; and, based on the correlation between the preset calibration time deviation value and the calibration change information of the implantable device and the target change information, the target time deviation value corresponding to the target change information generated by the implantable device is determined; wherein the calibration change information is the change information generated by the implantable device during the calibration charging process; based on the target time deviation value, the local time of the implantable device is updated to calibrate the local time of the implantable device. The technical solution of this embodiment calibrates the time deviation generated by each charging operation without connecting to the programming device, reduces the accumulation of time deviation, is beneficial to improving the timing accuracy of the implantable device, and thus meets the usage requirements of the implantable device in different usage scenarios.

[0023] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. Brief Description of the Drawings

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0025] Figure 1 is a flowchart of a time calibration method for an implantable device according to an embodiment of the present invention;

[0026] Figure 2 is a flowchart of another time calibration method for an implantable device according to an embodiment of the present invention;

[0027] Figure 3 is a flowchart of the automatic time calibration process according to an embodiment of the present invention;

[0028] Figure 4 It is a schematic structural diagram of a time calibration device for an implantable device according to an embodiment of the present invention;

[0029] Figure 5 It is a schematic structural diagram of a medical system for implementing the time calibration method of the implantable device according to an embodiment of the present invention. Detailed implementation manners

[0030] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

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

[0032] It should be noted that in the technical solutions of the present disclosure, in terms of the collection, gathering, update, analysis, processing, use, transmission, storage, etc. of the user's personal information, they all comply with the provisions of relevant laws and regulations, are used for legal purposes, and do not violate public order and good customs. Necessary measures are taken for the user's personal information to prevent illegal access to the user's personal information data and maintain the security of the user's personal information and network security.

[0033] The technical field and related terms of the embodiments of the present disclosure will be briefly described below.

[0034] An implantable medical system consists of an implantable device and a programming device. The implantable medical system includes an implantable nerve electrical stimulation system, an implantable cardiac electrical stimulation system (also known as a cardiac pacemaker), an implantable drug delivery system (Implantable Drug Delivery System, abbreviated as IDDS), and a lead transfer system, etc. The implantable nerve electrical stimulation system is, for example, a deep brain stimulation system (Deep Brain Stimulation, abbreviated as DBS), an implantable cortical nerve stimulation system (Cortical Nerve Stimulation, abbreviated as CNS), an implantable spinal cord electrical stimulation system (Spinal Cord Stimulation, abbreviated as SCS), an implantable sacral nerve electrical stimulation system (Sacral Nerve Stimulation, abbreviated as SNS), an implantable vagus nerve electrical stimulation system (Vagus Nerve Stimulation, abbreviated as VNS), etc.

[0035] The implantable nerve electrical stimulation system includes a stimulator implanted in the patient's body (i.e., an implantable nerve stimulator) and a programming device set outside the patient's body. That is to say, the stimulator is a medical device, or rather, the medical device includes the stimulator. The related nerve regulation technology mainly implants electrodes (the electrodes are in the form of electrode leads, for example) at specific sites (i.e., target points) of the tissues of the organism through stereotactic surgery, and sends electrical pulses to the target points through the electrodes to regulate the electrical activities and functions of the corresponding nerve structures and networks, thereby improving symptoms and relieving pain.

[0036] As an example, DBS includes an IPG (Implantable Pulse Generator, implantable pulse generator), an extension lead, and an electrode lead. The IPG is connected to the electrode lead through the extension lead. The IPG is implanted in the patient's body, for example, implanted in front of the patient's chest or other internal body parts.

[0037] As another example, DBS includes an IPG and an electrode lead, and the IPG is directly connected to the electrode lead. The IPG is implanted in the patient's head. For example, a slot is cut in the patient's skull, and then the IPG is installed in the slot of the skull. In this case, the IPG may not protrude from the outer surface of the skull, or may partially protrude from the outer surface of the skull.

[0038] Among them, the IPG responds to the programming instructions sent by the programming device and provides controllable electrical stimulation treatment (or electrical stimulation energy) to the internal tissues by relying on a sealed battery and a circuit. The IPG delivers one or more channels of controllable specific electrical stimulation to a specific area of the internal tissues through the electrode lead.

[0039] In some embodiments, the extension lead is used in conjunction with the IPG as a transmission medium for electrical stimulation to transmit the electrical stimulation generated by the IPG to the electrode lead.

[0040] In some embodiments, electrical stimulation can be delivered in the form of a pulsed signal or in the form of a non-pulsed signal. For example, electrical stimulation can be delivered as a signal with various waveform shapes, frequencies, and amplitudes. Thus, electrical stimulation in the form of a non-pulsed signal can be a continuous signal, which can have a sinusoidal waveform or other continuous waveforms.

[0041] After receiving the electrical stimulation transmitted by the IPG or the extension lead, the electrode lead delivers the electrical stimulation to a specific area of the body tissue through multiple electrode contacts. The stimulator is provided with, for example, one or more electrode leads on one or both sides. Multiple electrode contacts are provided on the electrode lead, and the electrode contacts can be arranged uniformly or non-uniformly in the circumferential direction of the electrode lead. As an example, the electrode contacts can be arranged in a 4-row and 3-column array (a total of 12 electrode contacts) in the circumferential direction of the electrode lead. The electrode contacts can include stimulating electrode contacts and / or acquisition electrode contacts. The electrode contacts can be in the shape of, for example, a sheet, a ring, a dot, etc.

[0042] In some embodiments, the body tissue to be stimulated can be the patient's brain tissue, and the area to be stimulated can be a specific area of the brain tissue. When the disease types of the patients are different, generally, the areas to be stimulated are different, and the number of stimulating contacts (single-source or multi-source), the application of one or more (single-channel or multi-channel) specific electrical stimulations, and the stimulation parameters (values) are also different.

[0043] The embodiments of the present disclosure do not limit the applicable disease types, which can be the disease types applicable to deep brain stimulation (DBS), spinal cord stimulation (SCS), sacral nerve stimulation, gastric stimulation, peripheral nerve stimulation, and functional electrical stimulation. Among them, the disease types that DBS can be used to treat or manage include, but are not limited to: spastic diseases (such as epilepsy), pain, migraine, mental diseases (such as major depressive disorder (MDD)), bipolar disorder, anxiety disorder, post-traumatic stress disorder, dysthymia, obsessive-compulsive disorder (OCD), behavioral disorders, mood disorders, memory disorders, mental state disorders, movement disorders (such as essential tremor or Parkinson's disease), Huntington's disease, Alzheimer's disease, drug addiction, autism, or other neurological or psychiatric diseases and impairments.

[0044] In the embodiments of the present disclosure, when a programmed device and a stimulator establish a programmed connection, one or more stimulation parameters of the stimulator can be adjusted by using the programmed device (or one or more stimulation parameters of the pulse generator, and different stimulation parameters correspond to different electrical stimulations). The electrical physiological activities of the patient can also be sensed by the stimulator to obtain electrical physiological signals, and the stimulation parameters of the stimulator can be further adjusted based on the collected electrical physiological signals to achieve closed-loop control (or adaptive adjustment) of the stimulation parameters.

[0045] The stimulation parameters may include at least one of the following: the electrode contact identification for delivering electrical stimulation (such as electrode contact 2# and electrode contact 3#), frequency (such as the number of electrical stimulation pulse signals within a unit time of 1 s, with the unit of Hz), pulse width (the duration of each pulse, with the unit of μs), amplitude (generally expressed in voltage, that is, the intensity of each pulse, with the unit of V), timing (such as continuous or burst, and burst refers to a discontinuous timing behavior composed of multiple processes), stimulation mode (including one or more of current mode, voltage mode, timed stimulation mode, and cyclic stimulation mode), doctor control upper and lower limits (the adjustable range by the doctor), and patient control upper and lower limits (the adjustable range by the patient).

[0046] In some embodiments, the stimulation parameters of the stimulator can be adjusted in the current mode or the voltage mode.

[0047] The programmed device may include a doctor programmed device (i.e., the programmed device used by the doctor) and / or a patient programmed device (i.e., the programmed device used by the patient). The doctor programmed device is, for example, an intelligent terminal device such as a tablet computer, a notebook computer, a desktop computer, or a mobile phone equipped with programmed software. The patient programmed device is, for example, an intelligent terminal device such as a tablet computer, a notebook computer, a desktop computer, or a mobile phone equipped with programmed software. The patient programmed device may also be other electronic devices with programmed functions (such as a charger with programmed functions, an electrophysiological acquisition device, etc.).

[0048] Before introducing the technical solution, an exemplary description of the application scenario can be given first. This technical solution can be applied to the scenario of calibrating the local offline time of an implantable device during operation. It should be noted that the offline time of the implantable device is determined by a time control device in the implantable device. The time control device includes a crystal oscillator and related matching capacitors. Through the crystal oscillator and related matching capacitors, an increment time with a fixed time interval can be generated to determine the offline time of the implantable device. However, for a rechargeable implantable device, the charging process will inevitably cause the temperature of the device to rise. The temperature rise affects the increment time generated by the crystal oscillator, and thus affects the time accuracy of the implantable device. Moreover, multiple chargings cause the time deviation to accumulate in the same direction, resulting in the time of the implantable device becoming less and less accurate. When it is necessary to adjust the configuration parameters of the implantable device regularly to adapt to different usage scenarios, the poor time accuracy of the implantable device causes the implantable device to fail to meet different usage requirements. Through this technical solution, the time deviation caused by the charging operation can be calibrated without keeping the implantable device connected to the programming device, thereby ensuring the accuracy of the implantable device.

[0049] Figure 1 FIG. is a flowchart of a method for calibrating the time of an implantable device according to an embodiment of the present invention. This embodiment is applicable to the situation of calibrating the local offline time of an implantable device. This method can be executed by a time calibration device of the implantable device, and the time calibration device of the implantable device can be embedded in the implantable device.

[0050] As Figure 1 shown, the method of this embodiment may specifically include:

[0051] S110. When it is detected that the implantable device performs a charging operation, determine the target change information generated by the implantable device performing the charging operation.

[0052] Wherein, the target change information includes the first temperature change information and / or the first time change information generated by the implantable device performing the charging operation; the first time change information is determined based on the local offline time of the implantable device.

[0053] In this embodiment, when it is detected that the implantable device is connected to the charging device, it can be determined that the implantable device is performing a charging operation. Optionally, when it is detected that the implantable device is performing a charging operation, the target change information generated by the implantable device during the charging operation is determined, including: determining the start local time and the end local time of the charging operation, and based on the start local time and the end local time, determining the first time change information generated by the implantable device during the charging operation; and / or, obtaining the start temperature value detected by the temperature sensor in the implantable device at the start local time of the charging operation, and the end temperature value detected at the end local time of the charging operation, and based on the start temperature value and the end temperature value, determining the first temperature change information generated by the implantable device during the charging operation.

[0054] Specifically, when determining the first time change information, the first local offline time of the implantable device at the start local time and the second local offline time of the implantable device at the end local time can be obtained. The first local offline time and the second local offline time are used as the first time change information; or, the difference between the second local offline time and the first local offline time is used as the first time change information.

[0055] It should be noted that the implantable device includes a temperature sensor for detecting the temperature information of the implantable device. When determining the first temperature change information of the implantable device, the first temperature change information can be determined by reading the measured value of the temperature sensor. Exemplarily, the first temperature value measured by the temperature sensor at the start local time and the second temperature value measured at the end local time can be read. The first temperature value and the second temperature value are determined as the first temperature change information; or, the difference between the second temperature value and the first temperature value is used as the first temperature change information.

[0056] In this embodiment, all the obtained target change information is obtained by the implantable device itself without the need to connect to an external device, which is beneficial to saving the power of the implantable device and can determine the target change information without adding new devices.

[0057] S120. Based on the association relationship between the preset calibration time deviation value and the calibration change information of the implantable device and the target change information, determine the target time deviation value corresponding to the target change information generated by the implantable device.

[0058] Among them, the calibration change information is the change information generated by the implantable device during the calibration charging process. The calibration time deviation value is the time deviation value of the local offline time of the implantable device when the implantable device generates the calibration change information due to the calibration charging process. The calibration change information includes the second temperature change information and / or the second time change information.

[0059] Optionally, before determining the target time deviation value corresponding to the target change information generated by the implantable device based on the association relationship between the preset calibration time deviation value and the calibration change information of the implantable device and the target change information, it further includes: when the implantable device is in the calibration charging state, determining the calibration change information of the implantable device; wherein, the calibration change information includes the second time change information of the implantable device in the calibration charging state and / or the second temperature change information corresponding to the second time change information; sending a time acquisition request to the programming device to receive the network time corresponding to the time acquisition request fed back by the programming device; taking the time difference between the network time and the current local time corresponding to the implantable device as the calibration time deviation value, and establishing an association relationship between the calibration time deviation value and the calibration change information.

[0060] In specific implementation, the implantable device can be charged before leaving the factory to make the implantable device in the calibration charging state, and the calibration change information of the implantable device can be determined, so that the change rule of the local time of the implantable device during charging can be determined. Exemplarily, one or more calibration change information can be determined when the implantable device is in the calibration charging state. Exemplarily, the change information generated when the implantable device is charged from 10% battery power to 90% battery power can be determined as the calibration change information; for example, when the calibration change information is the second time change information, the time taken corresponding to the local offline time of the implantable device can be determined when it is charged from 10% battery power to 90% battery power. When the calibration change information is the second temperature change information, the change value corresponding to the temperature measurement value of the temperature sensor in the implantable device can be determined when the implantable device is charged from 10% battery power to 90% battery power. For example, the temperature sensor can detect the temperature of the internal charging coil of the implantable device, or the internal circuit board, or the temperature of the housing of the implantable device. Or, the calibration change information generated when the implantable device is charged from 5% battery power to 30%, from 30% to 50%, from 50% to 80%, and from 80% to 100% can also be determined respectively.

[0061] Further, after obtaining the calibration change information, a time acquisition request may be sent to the programmable device. After receiving the time acquisition request, the programmable device may determine the network time corresponding to the calibration change information and feedback the network time. The time difference between the network time and the current local time corresponding to the implantable device is used as the calibration time deviation value. Exemplarily, when the calibration change information is that the implantable device is charged from 5% to 30%, from 30% to 50%, from 50% to 80%, and from 80% to 100% respectively, and for the corresponding change information, time acquisition requests may be sent to the programmable device when the charging levels reach 30%, 50%, 80%, and 100% respectively, so as to obtain the calibration time deviation values corresponding to when the charging levels reach 30%, 50%, 80%, and 100%, thereby establishing the correlation between the calibration time deviation values and the calibration change information when the charging levels reach 30%, 50%, 80%, and 100%. For ease of subsequent use, the correlation between the calibration change information and the standard time deviation value may be stored in the flash memory of the implantable device.

[0062] This embodiment provides a method for determining the correlation, so that when calibrating the time of the implantable device, the correlation between the accurate calibration change information and the calibration time deviation value can be obtained in a timely manner.

[0063] In this embodiment, the first time change information includes the first charging duration; the first temperature change information includes the first temperature change value; the second time change information includes the second charging duration, and the second temperature change information includes the second temperature change value. Optionally, when the correlation includes multiple calibration time deviation values and the calibration change information corresponding to each calibration time deviation value, the method for determining the target time deviation value based on the correlation and the target change information may be: determining the target change information that matches the target change information in the calibration change information, and based on the correlation, determining the calibration time deviation value corresponding to the target change information as the target time deviation value.

[0064] Exemplarily, if the calibration change information is the second time change information, including charging for ten minutes, charging for twenty minutes, and charging for half an hour, then based on the correlation, the standard time deviation values corresponding to charging for ten minutes, charging for twenty minutes, and charging for half an hour can be determined respectively. If the target change information is the first time change information, and it is determined through the first time change information that the charging duration is half an hour, then based on the correlation, the standard time deviation corresponding to charging for half an hour can be used as the target time deviation value corresponding to the first time change information.

[0065] Similarly, if the calibration change information is the second temperature change information, including a temperature increase of 0.1 degree, 0.5 degrees, and 1 degree; then based on the association relationship, the calibration time deviation values corresponding to a temperature increase of 0.1 degree, 0.5 degrees, and 1 degree can be determined respectively. If the target change information is the first temperature change information, and it is determined based on the first temperature change information that the implantable device has a temperature increase of 0.5 degrees, then the target time deviation value is the calibration time deviation value corresponding to a temperature increase of 0.5 degrees in the second temperature change information.

[0066] It should be noted that the shorter the charging time, the smaller the time offset generated by the time control device (i.e., devices such as the crystal oscillator of the implantable device that control time changes). To avoid frequent ineffective calibrations, based on the association relationship between the preset calibration time deviation value and the calibration change information of the implantable device, as well as the target change information, determining the target time deviation value corresponding to the target change information generated by the implantable device may further include: when the first charging duration exceeds the preset duration, based on the association relationship between the preset calibration time deviation value and the calibration change information of the implantable device, as well as the target change information, determining the target time deviation value corresponding to the target change information generated by the implantable device.

[0067] In a specific implementation, the first charging duration can be compared with the preset duration. If the first charging duration exceeds the preset duration, it indicates that the charging operation has a greater impact on the time control device. To ensure time accuracy, based on the association relationship between the preset calibration time deviation value and the calibration change information of the implantable device, as well as the target change information, the target time deviation value corresponding to the target change information generated by the implantable device can be determined, so as to perform a time calibration operation based on the target time deviation value. Conversely, if the first charging duration does not exceed the preset duration, it indicates that the charging operation has a relatively small impact on the time control device, and the resulting time delay can be ignored. To minimize the number of calibration times, it is not necessary to perform a time calibration operation for the case where the first charging duration does not exceed the preset duration.

[0068] Exemplarily, the preset duration can be data such as 1h, 2h, 3h, etc., and the specific duration can be set according to the actual situation.

[0069] In this embodiment, the time calibration operation is only performed when the first charging duration exceeds the preset duration, thereby ensuring the time accuracy of the time control device of the implantable device; in addition, for the case where the first charging duration does not exceed the preset duration, no processing is performed, so for the case where the impact on the time control device is relatively small, time calibration is not performed, which is beneficial to reducing the number of ineffective calibrations.

[0070] S130. Update the local time of the implantable device based on the target time deviation value.

[0071] In this embodiment, the temperature rise will cause the local offline time of the implanted device to change faster than the actual time, thereby causing the deviation between the local clock and the actual clock to gradually increase. For example, during the offline charging process of the implanted device, after the temperature of the implanted device rises, the local time of the implanted device is 1:05, while the actual network time may be 1:03. Therefore, when the stimulation program is configured in advance inside the implanted device, that is, different stimulation parameters are started at different time points to adjust the patient's symptoms, due to the deviation of the local clock, the start time of different stimulation levels will also change, making it difficult to accurately perform targeted stimulation on the patient. For example, since the patient has different life scenes and habits in the morning, noon, evening and bedtime, different stimulation parameters can be configured to adapt to the corresponding stimulation needs. For example, in the morning, the patient is in a vigorous stage and needs better limb movement ability in life, such as morning exercise and labor. At this time, it is necessary to deliver stronger stimulation parameters to the patient to better relieve the patient's symptoms. During sleep, the patient does not need greater limb movement needs, and the patient can be stimulated with weaker stimulation parameters. Therefore, the accuracy of the local clock of the implanted device is crucial to the accurate execution of multiple stimulation programs. In order to determine the accurate local time, the local time of the implanted device may be obtained, and the target time deviation value may be subtracted from the local time, and the obtained difference may be updated as the local time of the implanted device.

[0072] Furthermore, in order to ensure the safety of the implantable device during operation, after determining the target change information generated by the implantable device performing a charging operation, it also includes: generating a warning message and storing the warning message when a preset warning condition is met; when it is detected that the implantable device is connected to a program-controlled device, sending the warning message to the program-controlled device; wherein the preset warning condition includes at least one of the following: the target time deviation value is greater than a preset deviation threshold; the temperature change value corresponding to the first temperature change information exceeds a preset temperature change threshold.

[0073] Specifically, when the target time deviation value is greater than the preset deviation threshold, it indicates that the time deviation of the implantable device is large. In order to avoid a large time deviation due to a malfunction of the implantable device, a warning message can be generated and stored. When the implantable device is connected to the program-controlled device, the warning message is sent to the program-controlled device in a timely manner. Exemplarily, the target time deviation value can be a calibrated time deviation value of a preset multiple, and the preset multiple is greater than 1.

[0074] Further, to avoid abnormal temperature rise of the implantable device due to abnormal charging, after the first temperature change information is determined, if the temperature change value corresponding to the first temperature change information exceeds a preset temperature change threshold, it indicates abnormal temperature rise, which has exceeded the temperature change generated under normal charging conditions. A warning message can be generated and sent to the programming device when the implantable device is connected to the programming device. When the target time deviation value is less than or equal to the preset deviation threshold and the temperature change value corresponding to the first temperature change information does not exceed the preset temperature change threshold, the local time of the implantable device can be updated based on the target time deviation value.

[0075] In this embodiment, by using the target time deviation value and the first temperature change information to generate a warning, the abnormality of the implantable device can be detected in a timely manner, facilitating the staff to handle the abnormal situation in a timely manner.

[0076] In the technical solution of the embodiment of the present invention, when it is detected that the implantable device performs a charging operation, the target change information generated by the implantable device during the charging operation is determined; wherein, the target change information includes the first temperature change information and / or the first time change information generated by the implantable device during the charging operation; since the first time change information is determined based on the local offline time of the implantable device and does not require networking, there is no need to maintain a connection with the programming device; and, based on the correlation between the preset calibration time deviation value and the calibration change information of the implantable device and the target change information, the target time deviation value corresponding to the target change information generated by the implantable device is determined; wherein, the calibration change information is the change information generated by the implantable device during the calibration charging process; based on the target time deviation value, the local time of the implantable device is updated to calibrate the local time of the implantable device. The technical solution of this embodiment calibrates the time deviation generated by each charging operation without connecting to the programming device, reduces the accumulation of time deviation, and is beneficial to improving the timing accuracy of the implantable device, thus meeting the usage requirements of the implantable device in different usage scenarios.

[0077] Figure 2 It is a flowchart of a time calibration method for an implantable device according to an embodiment of the present invention. On the basis of the above embodiments, the method for determining the target time deviation value can be: based on the first deviation degree value generated by the time control device in the implantable device and the second deviation degree value generated by the calibration change information for the target change information, the target time deviation value is determined. The explanations of the same or corresponding terms as those in the above embodiments are not repeated here. As Figure 2 shown, the method includes:

[0078] S210. When it is detected that the implantable device performs a charging operation, determine the target change information generated by the implantable device during the charging operation.

[0079] Among them, the target change information includes the first temperature change information and / or the first time change information generated by the implantable device during the charging operation; the first time change information is determined based on the local offline time of the implantable device.

[0080] S220. Based on the target change information, determine the first deviation degree value generated by the charging operation on the time control device in the implantable device; determine the ratio between the first deviation degree value and the pre-stored second deviation degree value, and determine the first product between the calibration time deviation value corresponding to the calibration change information and the ratio as the target time deviation value corresponding to the target change information generated by the implantable device.

[0081] In practical applications, charging causes the temperature to rise. The longer the charging time and the higher the temperature change, the greater the self-increment time deviation of the local offline time of the implantable device. It can be seen that the target time deviation value is related to the charging time and the degree of temperature change during charging. In order to accurately determine the target time deviation value for different charging durations corresponding to different charging requirements in practical applications, the first deviation degree value and the second deviation degree value can be determined first. Among them, the first deviation degree value is used to reflect the influence degree of the target change information on the timing result of the time control device in the implantable device; the second deviation degree value is used to reflect the influence degree of the calibration change information on the timing result of the time control device in the implantable device. The higher the deviation degree value, the lower the accuracy of the timing result of the time control device; on the contrary, the higher the accuracy.

[0082] In this embodiment, when the target change information is the first time change information, the first charging duration of the charging operation can be determined based on the first time change information. The first charging duration is used as the first deviation degree value. When the target change information is the first temperature change information, the first temperature change value of the charging operation is determined based on the first temperature change information, and the first temperature change value is used as the first deviation degree value. Similarly, during the calibration charging process, the second temperature change value or the second charging duration can be determined as the second deviation degree value, and the second deviation degree value is stored.

[0083] Further, in order to comprehensively combine the influence of the charging duration and the temperature rise on the local time of the implantable device, based on the target change information, the implementation manner of determining the first deviation degree value generated by the charging operation on the time control device in the implantable device may be as follows: based on the first time change information, determine the first charging duration used by the implantable device when performing the charging operation; based on the first temperature change information, determine the first temperature change value corresponding to the first charging duration generated by the implantable device when performing the charging operation; use the second product between the first charging duration and the first temperature change value as the first deviation degree value.

[0084] It should be noted that the longer the charging duration, the higher the degree of time offset introduced to the hardware crystal oscillator; the higher the temperature rise value, the higher the degree of time offset introduced to the hardware crystal oscillator. In order to more accurately determine the degree of time offset introduced, the second product between the first charging duration and the first temperature change value can be used as the first deviation degree value.

[0085] The second product is the time and temperature integral value, and the integral value can represent the degree of time offset introduced by the hardware crystal oscillator due to temperature rise.

[0086] The larger the second product, the greater the degree of time offset introduced; conversely, it indicates that the degree of time offset introduced is smaller.

[0087] Optionally, based on the second time change information, determine the second charging duration used by the implantable device in the calibrated charging state; based on the second temperature change information, determine the second temperature change value generated by the implantable device in the calibrated charging state, and use the third product between the second charging duration and the second temperature change value as the second deviation degree value.

[0088] In this embodiment, the time deviation introduced to the implantable device is reflected by the integral value of time and temperature, and different factors affecting the time deviation can be comprehensively combined, so as to effectively determine the first deviation degree value and the second deviation degree value.

[0089] In this embodiment, the ratio between the first deviation degree value and the second deviation degree value should be proportional to the ratio between the target time deviation value and the calibrated time deviation value. Therefore, the calibrated time deviation value, as well as the ratio between the first deviation degree value and the second deviation degree value, can be determined, and then the first product between the calibrated time deviation value and this ratio is calculated, and this first product is used as the target time deviation value.

[0090] Exemplarily, the first deviation degree value is the first charging duration Δt1, the second deviation degree value is the second charging duration Δt2 of the calibrated charging process, and the calibrated time deviation value is Δt3, then the target time deviation value Δt4 is: Δt4 = (Δt1 / Δt2) × Δt3.

[0091] Furthermore, during the charging process of the charger and the implantable device, the internal temperature of the implantable device gradually increases with the increase of the charging duration. Correspondingly, the degree of influence on the time control device inside the implantable device is also different. For example, the higher the internal temperature of the implantable device, the higher the degree of influence on the time control device, that is, the higher the temperature, the faster the speed of the time deviation of the time control device, so that the deviation speed of the time control device at high temperature is different from that at low temperature. In order to improve the accuracy of the target time deviation value and thus improve the accuracy of time calibration, a deviation coefficient can also be set. According to different temperatures or charging durations, different deviation coefficients are set. For example, a larger deviation coefficient is set at high temperature and a smaller deviation coefficient is set at low temperature, so as to ensure that there is a similar time calibration scale under different temperatures or charging durations.

[0092] Specifically, the target time deviation value is determined based on the deviation coefficient. For example, the ratio between the first deviation degree value and the second deviation degree value and the fourth product between the deviation coefficients can be determined, and the product of the fourth product and the calibrated time deviation value is used as the target time deviation value.

[0093] In another embodiment, based on the target time deviation value determined in step S220, the deviation coefficient corresponding to the charging operation process can be determined according to the target change information, and then the target time deviation value is updated according to the deviation coefficient to obtain the finally updated target time deviation value.

[0094] Among them, a mapping relationship between the target change information and the deviation coefficient can be established in advance, for example, represented in the form of a function relationship or a mapping table, so that the corresponding deviation coefficient can be quickly determined according to the magnitude of the target change time, thereby improving the reliability of the time calibration of the implantable device.

[0095] It should be noted that the deviation coefficient can be set based on the target change information.

[0096] For example, if the target change information is the first time change information, when the duration corresponding to the first time change information is greater than the preset duration threshold, the deviation coefficient can be determined as a value greater than 1; when the duration corresponding to the first time change information is less than or equal to the preset duration threshold, the deviation coefficient can be determined as a value less than 1.

[0097] S230. Update the local time of the implantable device based on the target time deviation value.

[0098] In this embodiment, without the assistance of external devices, by using the charging time variation information and temperature variation information, the target time deviation value of the crystal oscillator caused by charging can be determined. Since the target time deviation value is determined based on the ratio between the first deviation degree value and the second deviation degree value, this method for determining the target time deviation value can be applied to scenarios with different charging durations, improving the flexibility and universality of determining the first time variation value.

[0099] The above text has described in detail the embodiments corresponding to the time calibration method for implantable devices. To enable those skilled in the art to further understand the technical solution of this method, specific application scenarios are given below.

[0100] Figure 3 is a flowchart of the automatic time calibration process provided by an embodiment of the present invention; as Figure 3 shown, in order to accurately calibrate the time deviation value, during the factory charging test of the implantable device, the start time and end time of the charging test can be recorded, and the temperature value of the implantable device at the start time of the charging test and the temperature value of the implantable device at the end time of the charging test can be determined through a temperature sensor, so as to obtain the second charging duration and the second temperature change value of the charging test. By connecting to an external programming device, the network time can be obtained, and the time deviation value between the network time and the end time of the charging test can be determined as the calibrated time deviation value, and based on the calibrated time deviation value, the local time of the implantable device can be calibrated. For the convenience of subsequent time calibration, the third product between the second charging duration and the second temperature change value is used as the second deviation degree value, and the second deviation degree value and the corresponding calibrated time deviation value are stored in the flash memory.

[0101] After the implantable device is put into operation, it can be determined whether the implantable device is performing a charging operation, and this charging operation can be a wireless charging operation. For each charging operation performed on the implantable device, the start local time t1 of the charging operation and the start temperature value T1 corresponding to this start local time are recorded; after the charging operation ends, the end local time t2 of the charging operation and the end temperature value T2 corresponding to this end local time can be recorded. Based on the start local time t1, the start temperature value T1, the end local time t2, and the end temperature value T2, the first deviation degree value I1 is determined, and the determination method is as follows:

[0102] I1 = (t2 - t1) × (T2 - T1)

[0103] Multiply the ratio between the first deviation degree value and the second deviation degree value by the calibrated time deviation value to obtain a first product, and use this first product as the target time deviation value. Subtract the target time deviation value from the local time of the implantable device at the current moment, and update the result as the local time. Moreover, when the next charging operation is detected, repeat the above operations.

[0104] In this embodiment, a charging test and calibration are performed when the implantable device leaves the factory, so as to automatically calibrate the offline time during the subsequent charging process of the implantable device, which is beneficial to improving the time accuracy of the implantable device and facilitating the timed adjustment of configuration parameters to meet different usage requirements.

[0105] Figure 4 It is a schematic structural diagram of a time calibration device for an implantable device provided according to an embodiment of the present invention. This device is used to execute the time calibration method for the implantable device provided in any of the above embodiments. This device and the time calibration method for the implantable device in the above embodiments belong to the same inventive concept. For the details not described in detail in the embodiment of the time calibration device for the implantable device, reference can be made to the embodiments of the time calibration method for the implantable device. As Figure 4 shown, this device includes:

[0106] An information determination module 10, configured to determine target change information generated when the implantable device performs a charging operation when it detects that the implantable device performs a charging operation; wherein, the target change information includes first temperature change information and / or first time change information generated when the implantable device performs a charging operation; the first time change information is determined based on the local offline time of the implantable device;

[0107] A deviation value determination module 11, configured to determine a target time deviation value corresponding to the target change information generated by the implantable device based on the association relationship between a preset calibrated time deviation value and the calibrated change information of the implantable device and the target change information; wherein, the calibrated change information is the change information generated by the implantable device during the calibrated charging process;

[0108] A time update module 12, configured to update the local time of the implantable device based on the target time deviation value.

[0109] Based on any optional technical solution in the embodiment of the present invention, optionally, the information determination module 10 includes:

[0110] A first determination unit, configured to determine the starting local moment and the ending local moment of the charging operation, and determine the first time change information generated when the implantable device performs the charging operation based on the starting local moment and the ending local moment; and / or,

[0111] A second determination unit, configured to obtain a starting temperature value detected by a temperature sensor in an implantable device at a starting local moment of a charging operation and an ending temperature value detected at an ending local moment of the charging operation, and determine first temperature change information generated when the implantable device performs the charging operation based on the starting temperature value and the ending temperature value.

[0112] Based on any optional technical solution in the embodiments of the present invention, optionally, the deviation value determination module 11 includes:

[0113] A first degree value determination unit, configured to determine a first deviation degree value generated by the charging operation on a time control device in the implantable device based on the target change information;

[0114] A ratio determination unit, configured to determine a ratio between the first deviation degree value and a pre-stored second deviation degree value, and determine a first product between a calibration time deviation value corresponding to the calibration change information and the ratio as a target time deviation value generated by the implantable device corresponding to the target change information;

[0115] Wherein, the first deviation degree value is used to reflect the influence degree of the target change information on the timing result of the time control device, and the second deviation degree value is used to reflect the influence degree of the calibration change information on the timing result of the time control device.

[0116] Based on any optional technical solution in the embodiments of the present invention, optionally, the first degree value determination unit includes:

[0117] A duration determination subunit, configured to determine a first charging duration used by the implantable device when performing the charging operation based on the first time change information;

[0118] A temperature determination subunit, configured to determine a first temperature change value corresponding to the first charging duration generated by the implantable device when performing the charging operation based on the first temperature change information;

[0119] A degree value determination subunit, configured to use a second product between the first charging duration and the first temperature change value as the first deviation degree value.

[0120] Based on any optional technical solution in the embodiments of the present invention, optionally, it further includes:

[0121] A change information determination module, configured to determine the calibration change information of the implantable device when the implantable device is in a calibration charging state, before determining a target time deviation value generated by the implantable device corresponding to the target change information based on the association relationship between a preset calibration time deviation value and the calibration change information of the implantable device and the target change information; wherein, the calibration change information includes second time change information of the implantable device in the calibration charging state and / or second temperature change information corresponding to the second time change information;

[0122] A request sending module, configured to send a time acquisition request to a programming device to receive the network time corresponding to the time acquisition request fed back by the programming device;

[0123] A relationship establishment module, configured to use the time difference between the network time and the current local time corresponding to the implantable device as the calibration time deviation value, and establish an association relationship between the calibration time deviation value and the calibration change information.

[0124] Based on any optional technical solution in the embodiments of the present invention, optionally, the deviation value determination module 11 includes:

[0125] A deviation value determination unit, configured to determine a target time deviation value generated by the implantable device corresponding to the target change information based on the association relationship between a preset calibration time deviation value and the calibration change information of the implantable device and the target change information when the first charging duration exceeds a preset duration.

[0126] Based on any optional technical solution in the embodiments of the present invention, optionally, it further includes:

[0127] An information storage module, configured to generate a warning information and store the warning information when a preset warning condition is met after determining the target change information generated by the implantable device during a charging operation;

[0128] An information sending module, configured to send the warning information to the programming device when it is detected that the implantable device is connected to the programming device;

[0129] Wherein, the preset warning condition includes at least one of the following:

[0130] The target time deviation value is greater than a preset deviation threshold;

[0131] The temperature change value corresponding to the first temperature change information exceeds a preset temperature change threshold.

[0132] In the technical solution of the embodiment of the present invention, when it is detected that the implantable device performs a charging operation, the target change information generated by the implantable device during the charging operation is determined; wherein, the target change information includes the first temperature change information and / or the first time change information generated by the implantable device during the charging operation; since the first time change information is determined based on the local offline time of the implantable device and does not require networking, there is no need to maintain a connection with the programming device; and, based on the correlation between the preset calibration time deviation value and the calibration change information of the implantable device and the target change information, the target time deviation value corresponding to the target change information generated by the implantable device is determined; wherein, the calibration change information is the change information generated by the implantable device during the calibration charging process; based on the target time deviation value, the local time of the implantable device is updated to calibrate the local time of the implantable device. The technical solution of this embodiment calibrates the time deviation generated by each charging operation without connecting to the programming device, reduces the accumulation of time deviation, is beneficial to improving the timing accuracy of the implantable device, and thus meets the usage requirements of the implantable device in different usage scenarios.

[0133] It should be noted that in the embodiment of the time calibration device of the above implantable device, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the present invention.

[0134] The embodiment of the present invention provides a programming device, which includes at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can, after receiving a time acquisition request, acquire the network time and send the network time to the time calibration device of the implantable device.

[0135] Figure 5 It is a schematic structural diagram of a medical system for implementing the time calibration method of the implantable device in the embodiment of the present invention; the medical system includes an implantable device 20, which is implanted in a user's body; a time calibration device 21 of the implantable device, and the time calibration device of the implantable device is used to execute the time calibration method of the implantable device provided in any of the above embodiments; a programming device 22, which is used to program the implantable device.

[0136] In some embodiments, the time calibration method of the implantable device may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 28. In some embodiments, part or all of the computer program may be loaded and / or installed onto the electronic device 20 via ROM 22 and / or communication unit 29. When the computer program is loaded into RAM 23 and executed by the processor 21, one or more steps of the time calibration method of the implantable device described above may be performed. Alternatively, in other embodiments, the processor 21 may be configured to perform the time calibration method of the implantable device by any other suitable means (e.g., by means of firmware).

[0137] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuitry, integrated circuit systems, field-programmable gate arrays (FPGA), application-specific integrated circuits (ASIC), application-specific standard products (ASSP), systems-on-chip (SOC), complex programmable logic devices (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from a storage system, at least one input device, and at least one output device, and transmits the data and instructions to the storage system, the at least one input device, and the at least one output device.

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

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

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

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

[0142] A computing system may include a client and a server. The client and the server are generally far from each other and usually interact via a communication network. The relationship between the client and the server is created by computer programs running on respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, solving the defects of high management difficulty and weak business scalability existing in traditional physical hosts and VPS services.

[0143] In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, an embodiment of the present invention includes a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication unit 29, or installed from the storage unit 28, or installed from the ROM 22. When the computer program is executed by the processor 21, the above functions defined in the method of the embodiment of the present invention are performed.

[0144] In the process of implementing the computer program product, the computer program code for performing the operations of the present invention can be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer via any type of network - including a local area network (LAN) or a wide area network (WAN) - or can be connected to an external computer (e.g., by using an Internet service provider to connect via the Internet).

[0145] It should be understood that various forms of the flow shown above can be used, reordering, adding or deleting steps. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is made herein.

[0146] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub - combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A time calibration method for an implantable device, characterized in that Including: When it is detected that the implantable device performs a charging operation, determining target change information generated by the implantable device when performing the charging operation; wherein, the target change information includes first temperature change information and / or first time change information generated by the implantable device when performing the charging operation; the first time change information is determined based on the local offline time of the implantable device; Based on the association relationship between a preset calibration time deviation value and the calibration change information of the implantable device and the target change information, determining a target time deviation value corresponding to the target change information generated by the implantable device; wherein, the calibration change information is the change information generated by the implantable device during the calibration charging process; Updating the local time of the implantable device based on the target time deviation value.

2. The method according to claim 1, wherein The step of, when it is detected that the implantable device performs a charging operation, determining target change information generated by the implantable device when performing the charging operation includes: Determining the start local time and the end local time of the charging operation, and based on the start local time and the end local time, determining first time change information generated by the implantable device when performing the charging operation; and / or, Obtaining a start temperature value detected by a temperature sensor in the implantable device at the start local time of the charging operation and an end temperature value detected at the end local time of the charging operation, and based on the start temperature value and the end temperature value, determining first temperature change information generated by the implantable device when performing the charging operation.

3. The method according to claim 1, characterized in that The step of, based on the association relationship between a preset calibration time deviation value and the calibration change information of the implantable device and the target change information, determining a target time deviation value corresponding to the target change information generated by the implantable device includes: Based on the target change information, determining a first deviation degree value generated by the charging operation on a time control device in the implantable device; Determining a ratio between the first deviation degree value and a pre-stored second deviation degree value, and determining a first product between the calibration time deviation value corresponding to the calibration change information and the ratio as the target time deviation value corresponding to the target change information generated by the implantable device; Wherein, the first deviation degree value is used to reflect the influence degree of the target change information on the timing result of the time control device, and the second deviation degree value is used to reflect the influence degree of the calibration change information on the timing result of the time control device.

4. The method according to claim 3, wherein The step of, based on the target change information, determining a first deviation degree value generated by the charging operation on a time control device in the implantable device includes: Based on the first time change information, determining a first charging duration used by the implantable device when performing the charging operation; Based on the first temperature change information, determining a first temperature change value corresponding to the first charging duration generated by the implantable device when performing the charging operation; Use the second product between the first charging duration and the first temperature change value as the first deviation degree value.

5. The method according to claim 1, wherein Before determining the target time deviation value corresponding to the target change information generated by the implantable device based on the association relationship between the preset calibration time deviation value and the calibration change information of the implantable device and the target change information, it further includes: When the implantable device is in the calibration charging state, determine the calibration change information of the implantable device; wherein, the calibration change information includes the second time change information of the implantable device in the calibration charging state and / or the second temperature change information corresponding to the second time change information; Send a time acquisition request to the programming device to receive the network time corresponding to the time acquisition request feedback by the programming device; Use the time difference between the network time and the current local time corresponding to the implantable device as the calibration time deviation value, and establish the association relationship between the calibration time deviation value and the calibration change information.

6. The method according to claim 1, characterized in that, The first time change information includes the first charging duration. Determining the target time deviation value corresponding to the target change information generated by the implantable device based on the association relationship between the preset calibration time deviation value and the calibration change information of the implantable device and the target change information includes: When the first charging duration exceeds the preset duration, determine the target time deviation value corresponding to the target change information generated by the implantable device based on the association relationship between the preset calibration time deviation value and the calibration change information of the implantable device and the target change information.

7. The method according to claim 1, wherein After determining the target change information generated by the implantable device performing the charging operation, it further includes: When the preset warning condition is met, generate a warning information and store the warning information; When it is detected that the implantable device is connected to the programming device, send the warning information to the programming device; Wherein, the preset warning condition includes at least one of the following: The target time deviation value is greater than the preset deviation threshold; The temperature change value corresponding to the first temperature change information exceeds the preset temperature change threshold.

8. The method according to claim 1, characterized in that After obtaining the target time deviation value, it further includes: Determine the deviation coefficient corresponding to the charging operation according to the target change information; Update the target time deviation value according to the deviation coefficient to obtain the finally updated target time deviation value.

9. A time calibration device for an implantable device, characterized in that, It includes: An information determination module, configured to determine the target change information generated by the implantable device performing the charging operation when it is detected that the implantable device performs the charging operation; wherein, the target change information includes the first temperature change information and / or the first time change information generated by the implantable device performing the charging operation; the first time change information is determined based on the local offline time of the implantable device; A deviation value determination module, configured to determine a target time deviation value corresponding to the target change information generated by the implantable device based on an association relationship between a preset calibration time deviation value and calibration change information of the implantable device, and the target change information; wherein, the calibration change information is change information generated by the implantable device during a calibration charging process; A time update module, configured to update the local time of the implantable device based on the target time deviation value.

10. An implantable device, characterized in that, The implantable device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the time calibration method according to any one of claims 1 to 7 during the charging process of the implantable device.

11. A medical system, characterized in that, The medical system includes: An implantable device implanted in a user's body; A time calibration device for the implantable device, and the time calibration device for the implantable device realizes time calibration of the implantable device by the method according to any one of claims 1-7; A programming device configured to program the implantable device.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a processor to execute to implement the time calibration method of the implantable device according to any one of claims 1-7.