OTA firmware upgrading system and method based on nerve stimulation device
By using an OTA firmware upgrade system based on a neurostimulation device, and by binding the serial number to an app and connecting via BLE Bluetooth, stable firmware upgrades for the neurostimulation device can be achieved. This solves the compatibility and stability issues during the upgrade process and improves the reliability of transmitted data.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI MISTAR MEDICAL TECH CO LTD
- Filing Date
- 2024-10-30
- Publication Date
- 2026-05-01
AI Technical Summary
The firmware upgrade process for neurostimulation devices suffers from compatibility issues, cumbersome procedures, instability, and insufficient reliability of transmitted data.
An OTA firmware upgrade system based on a neurostimulation device is adopted. The SN number is bound to an APP, and short-range communication is carried out using BLE Bluetooth connection to realize the transmission of upgrade files frame by frame. The transmission status is monitored in real time to ensure that the firmware package is transmitted, downloaded and upgraded after the device is matched.
It resolves compatibility and stability issues during the upgrade process, improves the reliability of transmitted data, simplifies the upgrade process, and enables real-time troubleshooting of transmission problems.
Smart Images

Figure CN121968078A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to neurostimulation devices, and more specifically to an OTA firmware upgrade system and method for neurostimulation devices. Background Technology
[0002] The nerve stimulation device includes a tinnitus treatment instrument, which integrates sound therapy, magnetotherapy, acupuncture, and ultrasound. Its main functions are: 1. Ultrasound waves act on the auricle, stimulating acupoints and reflex zones, clearing meridians, and improving ear microcirculation. 2. Magnetic therapy acts on the affected ear, effectively magnetizing it, promoting blood circulation, balancing Yin and Yang, and improving blood circulation in the auditory nerve. 3. It activates the activity of inner ear hair cells and improves the sensitivity of the inner ear nerve.
[0003] OTA stands for Over-The-Air, meaning "transmission via wireless signal." It is a technology that updates and upgrades device software through wireless communication networks. It can be applied to various smart devices, including smartphones, tablets, smartwatches, smart home devices, and more. Summary of the Invention
[0004] The purpose of this invention is to provide an OTA firmware upgrade system and method for neurostimulation devices. This system enables wireless firmware upgrades for neurostimulation devices. First, an app is used to bind the device's serial number (SN). Then, short-range communication (SNR) between the phone's Bluetooth module and the OTA system receives the Bluetooth LE communication signal from the neurostimulation device. The neurostimulation device broadcasts its corresponding SN; only successfully matched and authenticated devices will connect. After successful connection, Bluetooth firmware package transmission, download, and upgrade updates can be performed. This invention solves the problems of device compatibility during upgrades, the cumbersome and unstable upgrade process, and improves the reliability of transmitted data. Furthermore, transmission is performed frame by frame, allowing real-time monitoring and comparison of each frame's transmission status, facilitating troubleshooting.
[0005] The technical solution of the present invention is: an OTA firmware upgrade system based on a neurostimulation device, comprising a neurostimulation device APP and a neurostimulation device device;
[0006] The neurostimulation device APP is software used to execute interactive page functions. The neurostimulation device APP connects to the neurostimulation device via BLE Bluetooth and sends upgrade and update commands on the interactive page.
[0007] The aforementioned neurostimulation device is a device for treating tinnitus. It receives instructions from a neurostimulation device APP, performs related operations, and completes firmware updates.
[0008] Furthermore, the nerve stimulation device is a tinnitus diagnostic and treatment device.
[0009] This invention also provides an OTA firmware upgrade method based on a neurostimulation device, the specific steps of which are as follows:
[0010] Step 1: The neurostimulation device APP binds the SN number for the first time, which is used for verification and comparison with the neurostimulation device.
[0011] SN code is short for Serial Number, sometimes also called SerialNo. It's a product serial number, a concept introduced to verify the "legal identity of a product." It protects users' rights to genuine products and ensures they enjoy legitimate services; each genuine product corresponds to only one serial number. Other names include: machine code, authentication code, registration application code, etc.
[0012] Step 2: The neurostimulation device APP searches for and connects to the neurostimulation device via BLE Bluetooth;
[0013] Step 3: The neurostimulation device APP performs a firmware update operation. Before updating, it first determines whether the update package is stimulation firmware or Bluetooth firmware, and uses the version number to determine the package that needs to be upgraded.
[0014] Step 4: The neurostimulation device app downloads the update package file to the local device via Bluetooth;
[0015] Step 5: Issue the upgrade command. When issuing the upgrade command, a protocol verification will be performed. After the verification is successful, the upgrade file will be sent frame by frame. After each successful download, the app will reply with a protocol command. The app will update the download progress synchronously until the download is complete.
[0016] Furthermore, if the upgrade process is interrupted or the signal is weak due to Bluetooth signal issues, the upgrade will be terminated and the cached package will be cleared. Even when the upgrade starts again, the upgrade file will still be sent from the first frame.
[0017] The beneficial effects of this invention are: it provides an OTA firmware upgrade system and method for neurostimulation devices, enabling wireless firmware upgrades for neurostimulation devices. First, an app is used to bind the device's serial number (SN). Then, short-range communication (SNR) between the phone's Bluetooth communication module is used to receive the Bluetooth LE communication signal from the neurostimulation device. The neurostimulation device broadcasts its corresponding SN; only successfully matched and authenticated devices will connect. After successful connection, Bluetooth firmware package transmission, download, and upgrade updates can be performed. This solves the problems of device compatibility during upgrades, the cumbersome and unstable upgrade process, improves the reliability of transmitted data, and allows for frame-by-frame transmission, enabling real-time monitoring and comparison of each frame's transmission status, facilitating troubleshooting. Attached Figure Description
[0018] Figure 1This is a flowchart of the OTA firmware upgrade method based on a tinnitus treatment device. Detailed Implementation
[0019] The present invention will now be further described with reference to the accompanying drawings.
[0020] like Figure 1 As shown, an OTA firmware upgrade system and method based on a tinnitus diagnostic and treatment device includes the following:
[0021] The tinnitus treatment device APP is the software used to execute the interactive page functions. It connects to the tinnitus treatment device via BLE Bluetooth and sends upgrade and update commands from the interactive page.
[0022] Tinnitus treatment device, a device for treating tinnitus, sends instructions to the tinnitus treatment device APP, the tinnitus treatment device receives the instructions and performs the relevant operations, and completes firmware updates.
[0023] Including the following steps:
[0024] 1. APP first binding SN number: The APP stores the local SN number for verification and comparison with the device.
[0025] 2. APP search and connect to tinnitus treatment device: Connect via BLE Bluetooth.
[0026] 3. The APP performs a firmware update: Before updating, it first determines whether the update package is the stimulus firmware or the Bluetooth firmware, and uses the version number to determine the package that needs to be upgraded.
[0027] 4. The app downloads the update package file to the local device via Bluetooth.
[0028] 5. Issue upgrade command: When issuing upgrade command, a protocol verification will be performed. After the verification is successful, the upgrade file will be sent frame by frame. After each successful download, the app will reply with a protocol command. The app will update the download progress synchronously until the download is complete.
[0029] Additional information: If the Bluetooth signal is disconnected or weak during the upgrade process, the upgrade will be terminated and the cache package will be cleared. Even when the upgrade starts again, the upgrade file will still be sent from the first frame.
[0030] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. An OTA firmware upgrade system based on a neurostimulation device, characterized in that: This includes a neurostimulation app and the neurostimulation device itself. The neurostimulation device APP is software used to execute interactive page functions. The neurostimulation device APP connects to the neurostimulation device via BLE Bluetooth and sends upgrade and update commands on the interactive page. The aforementioned neurostimulation device is a device for treating tinnitus. It receives instructions from a neurostimulation device APP, performs related operations, and completes firmware updates.
2. The OTA firmware upgrade system based on a neurostimulation device according to claim 1, characterized in that: The nerve stimulation device is a tinnitus diagnostic and treatment instrument.
3. A method for OTA firmware upgrade based on a neurostimulation device implemented according to claim 1 or 2, characterized in that, The specific steps are as follows: Step 1: The neurostimulation device APP binds the SN number for the first time, which is used for verification and comparison with the neurostimulation device. Step 2: The neurostimulation device APP searches for and connects to the neurostimulation device via BLE Bluetooth; Step 3: The neurostimulation device APP performs a firmware update operation. Before updating, it first determines whether the update package is stimulation firmware or Bluetooth firmware, and uses the version number to determine the package that needs to be upgraded. Step 4: The neurostimulation device app downloads the update package file to the local device via Bluetooth; Step 5: Issue the upgrade command. When issuing the upgrade command, a protocol verification will be performed. After the verification is successful, the upgrade file will be sent frame by frame. After each successful download, the app will reply with a protocol command. The app will update the download progress synchronously until the download is complete.
4. The OTA firmware upgrade method based on a neurostimulation device according to claim 3, characterized in that: If the upgrade process is interrupted or the signal is weak due to Bluetooth signal issues, the upgrade will be terminated and the cache package will be cleared. Even when the upgrade starts again, the upgrade file will still be sent from the first frame.