Electrophysiological data playback method and device, medical system and related product

By adding the preset mark in the electro -physiological data file, using the data playback device to determine whether the file is encrypted and analyzed and processed, it solves the problem of determining the file encryption state without using third -party software in the existing technology, and realizes it. Compatibility with encryption and non -encrypted data files.

CN119380906APending Publication Date: 2025-01-28SCENERAY
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310892029.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-20
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

The prior art is difficult to determine whether the electrophysiological data file is encrypted without using third-party software, which affects subsequent processing.

Method used

Provide a data backing device and method. By adding the preset mark to the electrical data file, determine whether the file is encrypted, and perform a corresponding analysis processing.

Benefits of technology

The compatibility processing of encryption and non -compatible physiological data files is implemented to ensure that the data -off device can correctly identify and process different types of data files.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119380906A_ABST
    Figure CN119380906A_ABST
Patent Text Reader

Abstract

The invention provides a data playback device, an electrophysiological data playback method, a medical system, a computer readable storage medium and a computer program product, and is used for playing back encrypted data files and non-encrypted data files of electrophysiological data with preset marks, the data playback device comprises a memory and at least one processor, the memory stores a computer program, and the at least one processor is configured to implement the following steps when executing the computer program: acquiring a data file to be played back; obtaining a classification result of the data file; and when the classification result of the data file is an encrypted data file or a non-encrypted data file, analyzing the data file according to the classification result of the data file. According to the method, compatibility processing can be carried out on encrypted and non-encrypted electrophysiological data on the basis of encryption judgment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data processing, electrophysiological acquisition and medical systems, and in particular to a data playback device, an electrophysiological data playback method, a medical system, a computer-readable storage medium and a computer program product. Background Art

[0002] For electrophysiological data files (such as EEG data files) collected by electrophysiological acquisition equipment, since they may be text files using ASCII characters, it may be impossible for a computer to distinguish whether they are encrypted files or unencrypted files, which will affect subsequent processing. The related technology requires the use of third-party software to open the document to determine whether the document is encrypted. If the third-party software is not used to open the document, it is impossible to know whether the document is encrypted, which affects subsequent operations on the document.

[0003] Based on this, the present application provides a data playback device, an electrophysiological data playback method, a medical system, a computer-readable storage medium and a computer program product to improve the relevant technology. Summary of the invention

[0004] The purpose of the present application is to provide a data playback device, an electrophysiological data playback method, a medical system, a computer-readable storage medium, and a computer program product, which can perform compatibility processing on encrypted and non-encrypted electrophysiological data based on encryption judgment.

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

[0006] In a first aspect, the present application provides a data playback device for playing back encrypted data files and non-encrypted data files of electrophysiological data with preset marks, the data playback device comprising a memory and at least one processor, the memory storing a computer program, the at least one processor being configured to implement the following steps when executing the computer program:

[0007] Get the data file to be played back;

[0008] Obtaining a classification result of the data file; the classification result of the data file is an encrypted data file, a non-encrypted data file, or an illegal data file;

[0009] When the classification result of the data file is an encrypted data file or a non-encrypted data file, the data file is parsed according to the classification result of the data file.

[0010] In some possible implementations, the at least one processor is configured to obtain the classification result of the data file in the following manner when executing the computer program:

[0011] Reading and obtaining the data to be detected according to the marked position of the data file;

[0012] Detecting whether the data to be detected matches the preset mark;

[0013] When the data to be detected matches the preset mark, setting the classification result of the data file as a non-encrypted data file;

[0014] When the data to be detected does not match the preset mark, detecting whether the data to be detected matches the encrypted mark; the encrypted mark is obtained by encrypting the preset mark;

[0015] When the data to be detected matches the encryption mark, setting the classification result of the data file as an encrypted data file;

[0016] When the data to be detected does not match the encryption mark, the classification result of the data file is set as an illegal data file.

[0017] In some possible implementations, the preset mark includes one or more of letters, Chinese characters, numbers and symbols; and / or,

[0018] The data file includes one or more of a text file, a spreadsheet, a database file, an image file, an audio file, and a video file; and / or,

[0019] The marked position is the first line of the data file.

[0020] In some possible implementations, the at least one processor is configured to parse the data file in the following manner when executing the computer program:

[0021] When the classification result of the data file is a non-encrypted data file, parsing and visually displaying the data file;

[0022] When the classification result of the data file is an encrypted data file, the data file is decrypted to obtain a decryption result, and the decryption result is parsed and visually displayed.

[0023] In some possible implementations, the at least one processor is configured to further implement the following steps when executing the computer program:

[0024] When the classification result of the data file is an illegal data file, one or more of the following processes are performed:

[0025] Generate a prompt message and send it to a preset user device, wherein the prompt message is used to prompt the user that an illegal data file has been received;

[0026] An alarm is issued through the data playback device and / or an external alarm device; the alarm mode includes one or more of a sound alarm, a light alarm, a pop-up window alarm and a floating layer alarm.

[0027] In some possible implementations, the prompt information includes the fault type;

[0028] The at least one processor is configured to further implement the following steps when executing the computer program:

[0029] When the classification result of the data file is an illegal data file, the data file is input into a fault classification model to obtain a fault type.

[0030] In some possible implementations, the at least one processor is configured to further implement the following steps when executing the computer program:

[0031] When the fault type is packet loss, data delay or data duplication, extracting and processing the electrophysiological data in the data file to obtain an extraction result;

[0032] The extraction results are analyzed and visualized.

[0033] In a second aspect, the present application provides an electrophysiological data playback method, which is applied to a data playback device and is used to play back encrypted data files and non-encrypted data files of electrophysiological data with preset marks, and the method comprises:

[0034] Get the data file to be played back;

[0035] Obtaining a classification result of the data file; the classification result of the data file is an encrypted data file, a non-encrypted data file, or an illegal data file;

[0036] When the classification result of the data file is an encrypted data file or a non-encrypted data file, the data file is parsed according to the classification result of the data file.

[0037] In some possible implementations, obtaining the classification result of the data file includes:

[0038] Reading and obtaining the data to be detected according to the marked position of the data file;

[0039] Detecting whether the data to be detected matches the preset mark;

[0040] When the data to be detected matches the preset mark, setting the classification result of the data file as a non-encrypted data file;

[0041] When the data to be detected does not match the preset mark, detecting whether the data to be detected matches the encrypted mark; the encrypted mark is obtained by encrypting the preset mark;

[0042] When the data to be detected matches the encryption mark, setting the classification result of the data file as an encrypted data file;

[0043] When the data to be detected does not match the encryption mark, the classification result of the data file is set as an illegal data file.

[0044] In some possible implementations, the preset mark includes one or more of letters, Chinese characters, numbers and symbols; and / or,

[0045] The data file includes one or more of a text file, a spreadsheet, a database file, an image file, an audio file, and a video file; and / or,

[0046] The marked position is the first line of the data file.

[0047] In some possible implementations, when the classification result of the data file is an encrypted data file or a non-encrypted data file, parsing the data file according to the classification result of the data file includes:

[0048] When the classification result of the data file is a non-encrypted data file, parsing and visually displaying the data file;

[0049] When the classification result of the data file is an encrypted data file, the data file is decrypted to obtain a decryption result, and the decryption result is parsed and visually displayed.

[0050] In some possible implementations, the method further includes:

[0051] When the classification result of the data file is an illegal data file, one or more of the following processes are performed:

[0052] Generate a prompt message and send it to a preset user device, wherein the prompt message is used to prompt the user that an illegal data file has been received;

[0053] An alarm is issued through the data playback device and / or an external alarm device; the alarm mode includes one or more of a sound alarm, a light alarm, a pop-up window alarm and a floating layer alarm.

[0054] In some possible implementations, the prompt information includes the fault type;

[0055] The method further comprises:

[0056] When the classification result of the data file is an illegal data file, the data file is input into a fault classification model to obtain a fault type.

[0057] In some possible implementations, the method further includes:

[0058] When the fault type is packet loss, data delay or data duplication, extracting and processing the electrophysiological data in the data file to obtain an extraction result;

[0059] The extraction results are analyzed and visualized.

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

[0061] An electrophysiological acquisition device is used to acquire original electrophysiological data of a patient; add a preset mark to the original electrophysiological data to obtain electrophysiological data with the preset mark; use the electrophysiological data with the preset mark itself as the non-encrypted data file; or encrypt the electrophysiological data with the preset mark to obtain an encrypted result, and use the encrypted result as the encrypted data file;

[0062] Any of the above-mentioned data playback devices, wherein the data playback device is provided with a display component, and the data playback device is used to visually display the encrypted data file and the non-encrypted data file.

[0063] In some possible implementations, the electrophysiological acquisition device is an external device, and the medical system further includes:

[0064] An implantable medical device is used to be implanted in the patient's body, collect the patient's original electrophysiological data and send it to the electrophysiological acquisition device, and deliver electrical stimulation to the patient's body tissue.

[0065] In some possible implementations, the implantable medical device is a deep brain electrical stimulation device;

[0066] The deep brain electrical stimulation device comprises a pulse generator and at least one electrode lead implanted in the patient's brain, wherein the pulse generator is directly connected to each electrode lead; or

[0067] The deep brain electrical stimulation device includes a pulse generator implanted in the patient's body, at least one extension wire and at least one electrode wire implanted in the patient's brain. The extension wire and the electrode wire have a corresponding relationship, and the pulse generator is connected to each electrode wire through the corresponding extension wire.

[0068] In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by at least one processor, it implements the functions of any of the above-mentioned data playback devices or the steps of any of the above-mentioned methods.

[0069] In a fifth aspect, the present application provides a computer program product, which includes a computer program, and when the computer program is executed by at least one processor, it implements the functions of any of the above-mentioned data playback devices or implements the steps of any of the above-mentioned methods. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0071] Figure 1 It is a flowchart of a data playback process provided in an embodiment of the present application.

[0072] Figure 2 It is a structural block diagram of a data playback device provided in an embodiment of the present application.

[0073] Figure 3 It is a flowchart of an electrophysiological data playback method provided in an embodiment of the present application.

[0074] Figure 4 It is a structural block diagram of a medical system provided in an embodiment of the present application.

[0075] Figure 5 This is a flow chart of an electrophysiological acquisition device performing an encryption process provided by the present application.

[0076] Figure 6 This is a structural block diagram of a deep brain stimulation device provided in an embodiment of the present application.

[0077] Figure 7 This is a structural block diagram of another deep brain stimulation device provided in an embodiment of the present application.

[0078] Figure 8 It is a structural diagram of a computer program product provided in an embodiment of the present application. DETAILED DESCRIPTION

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

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

[0081] The first, second, etc. descriptions appearing in the embodiments of the present application are only used for illustration and distinction of the description objects. There is no order, nor does it indicate any special limitation on the quantity in the embodiments of the present application, and cannot constitute any limitation on the embodiments of the present application.

[0082] The following is a brief description of the technical field and related terms of the embodiments of the present application.

[0083] Implantable medical systems include implantable neural stimulation systems, implantable cardiac stimulation systems (also known as pacemakers), implantable drug delivery systems (IDDS), and lead switching systems. Examples of implantable neural stimulation systems include deep brain stimulation (DBS), implantable cortical nerve stimulation (CNS), implantable spinal cord stimulation (SCS), implantable sacral nerve stimulation (SNS), and implantable vagus nerve stimulation (VNS).

[0084] The implantable neural electrical stimulation system includes a stimulator implanted in the patient's body (i.e., an implantable neural stimulator) and a programmable device disposed outside the patient's body. In other words, the stimulator is an implantable medical device, or in other words, the implantable medical device includes a stimulator. The relevant neural regulation technology mainly implants electrodes (electrodes, for example, in the form of electrode wires) in specific parts of the tissues of the organism (i.e., target points) through stereotactic surgery, and emits discharge pulses to the target points through the electrodes to regulate the electrical activity and function of the corresponding neural structures and networks, thereby improving symptoms and relieving pain.

[0085] As an example, DBS includes an IPG (Implantable Pulse Generator), an extension wire and an electrode wire, and the IPG is connected to the electrode wire via the extension wire. The IPG is implanted in the patient's body, for example, in the patient's chest or other body parts.

[0086] 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 groove is made in the patient's skull, and then the IPG is installed in the groove 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.

[0087] The IPG responds to the program-controlled instructions sent by the program-controlled device, and relies on sealed batteries and circuits to provide controllable electrical stimulation therapy (or electrical stimulation energy) to the tissues in the body. The IPG delivers one or more controllable specific electrical stimulations to specific areas of the tissues in the body through electrode wires.

[0088] In some embodiments, the extension lead is used in conjunction with the IPG as a transmission medium for electrical stimulation, and the electrical stimulation generated by the IPG is transmitted to the electrode lead. The electrical stimulation can be delivered in the form of a pulse signal or in the form of a non-pulse signal. For example, the electrical stimulation can be delivered as a signal with various waveform shapes, frequencies, and amplitudes. Therefore, the electrical stimulation in the form of a non-pulse signal can be a continuous signal, which can have a sine waveform or other continuous waveform.

[0089] After receiving the electrical stimulation transmitted by the IPG or the extension wire, the electrode wire delivers the electrical stimulation to a specific area of ​​the tissue in the body through a plurality of electrode contacts. The stimulator is provided with, for example, one or more electrode wires on one side or both sides, and a plurality of electrode contacts are provided on the electrode wire, and the electrode contacts can be arranged uniformly or non-uniformly in the circumferential direction of the electrode wire. As an example, the electrode contacts can be arranged in an array of 4 rows and 3 columns (a total of 12 electrode contacts) in the circumferential direction of the electrode wire. The electrode contacts can include stimulation electrode contacts and / or collection electrode contacts. The electrode contacts can be in the shape of sheets, rings, dots, etc., for example.

[0090] In some embodiments, the stimulated in vivo tissue may be the patient's brain tissue, and the stimulated site may be a specific site of the brain tissue. When the patient's disease type is different, the stimulated site is generally different, and the number of stimulation contacts (single source or multiple sources), the use of one or more (single channel or multiple channels) of specific electrical stimulation, and the stimulation parameters (values) are also different.

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

[0092] In the embodiment of the present application, when the programmable device and the stimulator establish a programmable connection, the programmable device can be used to adjust one or more stimulation parameters of the stimulator (or one or more stimulation parameters of the pulse generator, different stimulation parameters correspond to different electrical stimulations), and the stimulator can also sense the patient's electrophysiological activities to collect electrophysiological signals, and the collected electrophysiological signals can be used to continue to adjust the stimulation parameters of the stimulator, thereby realizing closed-loop control (or adaptive adjustment) of the stimulation parameters.

[0093] The stimulation parameters may include at least one of the following: the electrode contact identification used to deliver electrical stimulation (for example, electrode contact #2 and electrode contact #3), frequency (for example, the number of electrical stimulation pulse signals within a unit time of 1s, in Hz), pulse width (the duration of each pulse, in μs), amplitude (generally expressed in voltage, that is, the intensity of each pulse, in V), timing (for example, it can be continuous or burst, and burst refers to 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), upper and lower limits controlled by the doctor (the range that can be adjusted by the doctor) and upper and lower limits controlled by the patient (the range that can be adjusted autonomously by the patient).

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

[0095] Programmable devices may include doctor programmable devices (i.e. programmable devices used by doctors) and / or patient programmable devices (i.e. programmable devices used by patients). Doctor programmable devices are, for example, tablet computers, laptop computers, desktop computers, mobile phones and other intelligent terminal devices equipped with programmable software. Patient programmable devices are, for example, tablet computers, laptop computers, desktop computers, mobile phones and other intelligent terminal devices equipped with programmable software. Patient programmable devices may also be other electronic devices with programmable functions (e.g., chargers with programmable functions, electrophysiological acquisition devices, etc.).

[0096] The embodiment of the present application does not restrict the data interaction between the doctor's programmable device and the stimulator. When the doctor performs remote programming, the doctor's programmable device can interact with the stimulator through the server and the patient's programmable device. When the doctor performs offline programming with the patient face to face, the doctor's programmable device can interact with the stimulator through the patient's programmable device, and the doctor's programmable device can also interact with the stimulator directly.

[0097] In some embodiments, the patient programmable device may include a host (communicating with a server) and a slave (communicating with a stimulator), and the host and the slave are communicatively connected. Among them, the doctor programmable device can exchange data with the server through a 3G / 4G / 5G network, the server can exchange data with the host through a 3G / 4G / 5G network, the host can exchange data with the slave through a Bluetooth protocol / WIFI protocol / USB protocol, the slave can exchange data with the stimulator through a 401MHz-406MHz working frequency band / 2.4GHz-2.48GHz working frequency band, and the doctor programmable device can directly exchange data with the stimulator through a 401MHz-406MHz working frequency band / 2.4GHz-2.48GHz working frequency band.

[0098] Patent CN112100631A discloses a processing method and terminal for determining whether a PPTX document is encrypted. However, when a document is not opened using third-party software such as PowerPoint or WPS, it is impossible to determine whether it is encrypted, which affects subsequent operations on the document. For data files of electrophysiological data (such as EEG data) collected by electrophysiological acquisition equipment, these data files are usually text files represented by ASCII characters. Computers cannot distinguish between encrypted and unencrypted files, which affects subsequent data processing.

[0099] The relevant patent is for PPTX documents, not for EEG data (for example, in the form of text files, binary data, hexadecimal data, etc.). In addition, the relevant patent mainly involves the judgment of encryption and non-encryption, and does not involve the compatibility processing of encrypted and non-encrypted data.

[0100] Currently, the data used by electrophysiological acquisition software during data playback may be original non-encrypted data, encrypted data, or non-encrypted data obtained by decryption (of encrypted data), but the relevant technology can only play one type of data and cannot be compatible with both encrypted data and non-encrypted data.

[0101] Based on this, the present application provides a data playback device, an electrophysiological data playback method, a medical system, a computer-readable storage medium, and a computer program product to improve the relevant technology. The present application provides a method for parsing and compatibly processing encrypted / unencrypted data, and can confirm illegal files. The method can adapt to the characteristics of electrophysiological data such as EEG data, and provide the ability to parse and process encrypted / unencrypted data to meet the needs of data playback.

[0102] The solutions provided in the embodiments of the present application involve technologies such as data processing and deep brain electrical stimulation, which are specifically described by the following embodiments. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.

[0103] (Data playback equipment)

[0104] See also Figure 1 , Figure 1 It is a flowchart of a data playback process provided in an embodiment of the present application.

[0105] The embodiment of the present application provides a data playback device for playing back an encrypted data file and a non-encrypted data file of electrophysiological data with a preset mark, the data playback device comprising a memory and at least one processor, the memory storing a computer program, the at least one processor being configured to implement the following steps when executing the computer program:

[0106] Get the data file to be played back;

[0107] Obtaining a classification result of the data file; the classification result of the data file is an encrypted data file, a non-encrypted data file, or an illegal data file;

[0108] When the classification result of the data file is an encrypted data file or a non-encrypted data file, the data file is parsed according to the classification result of the data file.

[0109] Data playback equipment refers to equipment used to perform electrophysiological data playback methods, which can be a hardware device equipped with data playback software for receiving, processing and playing electrophysiological data. The data playback equipment is used to play back electrophysiological data with preset tags, and can parse and process encrypted data files and non-encrypted data files to achieve data playback operations.

[0110] A data file is a file that contains data. It can be a text file (.txt, .csv), an image file (.jpg, .png), an audio file (.mp3, .wav), a video file (.mp4, .avi), or other types of files. Data files are usually used to store and transmit specific types of data. For example, a data file can be a text file named "data.txt" that contains a series of text data; or an image file named "image.jpg" that contains pixel data.

[0111] In some embodiments, the data file includes one or more of a text file, a document (.doc, .docx), a spreadsheet (.xls, .xlsx), a database file, an image file, an audio file, and a video file. The embodiment of the present application does not limit the format of the data file, which can be in the form of a text file, binary data, hexadecimal data, etc. The advantage of this is that the data playback device can process different types of data files. This diversity enables the data playback device to have the ability to process various data formats, improves the applicability and flexibility of the device, and can be widely used in various data processing scenarios.

[0112] A preset tag refers to a tag added to the electrophysiological data to identify a specific attribute or state of the data file. It can be a specific tag symbol, code, etc., used to identify encrypted data files and non-encrypted data files. Examples of preset tags are "ABC666", "SceneRay", "SR", etc., which are not limited in this application.

[0113] In some embodiments, the preset mark includes one or more of letters, Chinese characters, numbers and symbols. The preset mark may include one or more of letters, Chinese characters, numbers and symbols, which may be determined according to specific needs and characteristics of the data file. The role of the preset mark is to determine a recognizable mark in the data file for subsequent classification and parsing. By using different types of preset marks, combined with the determination of the mark position, accurate classification of data files can be achieved, which helps the data playback device to perform corresponding parsing processing according to different types of data files and provide accurate data playback operations.

[0114] The classification result refers to the result of classifying a data file, which is used to determine the nature, type or status of the data file. For example, data files are classified according to certain rules or algorithms and classified into specific types or categories. The classification result can be one of several predefined classification types. For example, for a data file, the classification result can be an encrypted data file, which means that the file has been encrypted; or a non-encrypted data file, which means that the file has not been encrypted or has been decrypted; or an illegal data file, which means that the file cannot be correctly parsed or contains an incorrect data format.

[0115] Encrypted data files refer to data files of electrophysiological data that have been encrypted. These data files use encryption algorithms to convert the original electrophysiological data to increase the security and confidentiality of the data. For example, the AES encryption algorithm can be used to encrypt the electrophysiological data.

[0116] Non-encrypted data files refer to data files of electrophysiological data that have not been encrypted or have been decrypted. These data files can be directly read and processed without decryption.

[0117] Illegal data files refer to data files that do not meet the specified standards or cannot be recognized. These data files may have format errors, damage or other abnormalities and cannot be correctly parsed and processed.

[0118] For example, suppose a data playback device is equipped with data playback software, which can implement the steps of the electrophysiological data playback method. When the data playback device is used to play back electroencephalogram (EEG) data, the data file to be played back is, for example, a data file that records the patient's brain electrical activity, and the file name is, for example, "eeg_data.txt". After classification and analysis, the classification result of the data file is, for example, a non-encrypted data file. For non-encrypted data files, the data playback device will read the data in the file and perform parsing processing to perform subsequent data playback operations.

[0119] Therefore, for both encrypted and unencrypted electrophysiological data, compatibility processing can be performed on the basis of encryption judgment. The data playback device is intended to play back encrypted data files and unencrypted data files of electrophysiological data with preset tags. First, the data playback device obtains the electrophysiological data files to be played back. These data files may be encrypted or unencrypted. Secondly, for each data file to be played back, the data playback device needs to classify it to determine its type. The classification result can be an encrypted data file, an unencrypted data file, or an illegal data file. When the classification result of the data file is an encrypted data file or an unencrypted data file, the data playback device parses and processes the data file according to the classification result. This means that the device will decode, decrypt, and perform other parsing processes on the data file according to a specific parsing algorithm and processing method in order to perform subsequent data playback operations.

[0120] The data playback device obtains the data files to be played back and performs appropriate parsing processing on the data files according to the classification results. For encrypted data files and non-encrypted data files, the data playback device can apply appropriate parsing algorithms such as decoding and decryption to restore the data for playback. For illegal data files, the data playback device can also take corresponding processing measures, such as generating prompt information, sending alarms or performing other operations.

[0121] The advantage of this is that it provides a device that can play back electrophysiological data files and perform corresponding parsing processing based on the classification results. The data playback device can effectively process encrypted and non-encrypted data files, detect illegal data files, and play back electrophysiological data, thereby assisting doctors in research, diagnosis or treatment through re-analysis and application of data.

[0122] In some embodiments, the at least one processor is configured to obtain the classification result of the data file in the following manner when executing the computer program:

[0123] Reading and obtaining the data to be detected according to the marked position of the data file;

[0124] Detecting whether the data to be detected matches the preset mark;

[0125] When the data to be detected matches the preset mark, setting the classification result of the data file as a non-encrypted data file;

[0126] When the data to be detected does not match the preset mark, detecting whether the data to be detected matches the encrypted mark; the encrypted mark is obtained by encrypting the preset mark;

[0127] When the data to be detected matches the encryption mark, setting the classification result of the data file as an encrypted data file;

[0128] When the data to be detected does not match the encryption mark, the classification result of the data file is set as an illegal data file.

[0129] The marker position refers to the position or index of a preset marker in a data file, which is used to locate the data to be detected. The marker position can be a specific position of the file, a byte offset, or other way of indicating the position. For example, for a text file, the marker position can be the position of a specific line (for example, the first line) or a specific character (for example, the first 8 characters of the first line); for a binary file, the marker position can be the offset of a byte.

[0130] The preset mark is a specific mark that is preset or defined, and can be a specific string, number, binary code or other form of mark. For example, a preset mark can be a string "SR"; or a specific binary sequence, such as a binary sequence corresponding to the string "SR".

[0131] The encryption tag refers to a tag obtained by encrypting a preset tag. The encryption tag is used to match the data to be detected to determine whether the file is encrypted. For example, if the preset tag is a string "ENC", the encryption tag is, for example, a string processed by the AES encryption algorithm, such as "45D9B6F38A7C".

[0132] In this embodiment, the data to be detected is obtained by reading the mark position in the data file, and matching it with the preset mark to determine the classification result of the data file. According to the matching result, the classification result of the data file can be set as a non-encrypted data file, an encrypted data file or an illegal data file, so as to identify and process different types of data files.

[0133] Thus, by detecting the matching of the data to be detected with the preset mark and the encryption mark, the data files are classified, and the non-encrypted data files, the encrypted data files and the illegal data files can be effectively identified, and corresponding processing measures can be taken according to the classification results. The data playback device first reads the mark position information in the data file and extracts the data to be detected. These mark positions may contain information about the data classification results. For the extracted data to be detected, the data playback device performs a matching detection to determine whether it matches the preset mark. The preset mark can be a specific sign or information used to represent the characteristics of legal data. Classification is performed according to the matching result. If the data to be detected matches the preset mark, the classification result of the data file is set to a non-encrypted data file. This means that the device confirms that the data file is a non-encrypted (legal) data file and performs corresponding processing. If the data to be detected does not match the preset mark, it is detected whether the data to be detected matches the encryption mark. The encryption mark is obtained by encrypting the preset mark. If the data to be detected matches the encryption mark, the classification result of the data file is set to an encrypted data file. This shows that the device confirms that the data file is an encrypted (legal) data file and takes appropriate decryption processing. If the data to be detected does not match the preset tag nor the encryption tag, the classification result of the data file is set as an illegal data file. This means that the device recognizes that the data file is illegal and may trigger corresponding processing measures.

[0134] The advantage of this is that by reading the tag position of the data file and comparing it with the preset tag, the data file can be automatically classified. This automatic classification method enables the data playback device to quickly determine the type of the data file, thereby providing guidance for subsequent parsing and processing; by detecting the matching between the data to be detected and the preset tag and the encryption tag, the data file can be accurately classified into a non-encrypted data file, an encrypted data file or an illegal data file. This accurate classification result ensures that the data playback device can correctly process different types of data files; the data playback device can perform compatibility processing on encrypted and non-encrypted electrophysiological data files. Regardless of whether the data file is encrypted or non-encrypted, the device can perform corresponding parsing processing according to the classification result to ensure smooth data playback; the preset tag is encrypted with the encryption tag, and the data to be detected is compared with it to determine whether the data file is an encrypted data file. This method helps to protect the security of sensitive data and prevent unauthorized access and use; by classifying the data to be detected that fails to match the preset tag or encryption tag as an illegal data file, the playback of illegal data can be effectively prevented, which helps to protect the integrity and reliability of the data and ensure that only authorized and legal data is played back and used. In summary, through automatic and accurate classification and compatibility processing, electrophysiological data files can be replayed and the security and integrity of the data can be guaranteed. This data playback device can be widely used in the medical field to provide strong support for doctors' research, diagnosis and treatment.

[0135] In addition, compared with setting an encryption tag that is unrelated to the preset tag, there are many benefits to encrypting the preset tag to obtain the encryption tag. First, using the preset tag to encrypt the encryption tag can reduce additional steps and complexity in the data processing process. There is no need to introduce and process an encryption tag that is unrelated to the preset tag separately, but encryption is performed directly on the basis of the preset tag, which improves the simplicity and efficiency of the overall process; there is a certain correlation and consistency between the encryption tag and the preset tag. By encrypting the encryption tag using the preset tag, it is easier to link the encryption tag with the corresponding preset tag, conveniently identify encrypted files and non-encrypted files, and perform corresponding operations in subsequent processing; using the preset tag to encrypt the encryption tag can flexibly adapt to different encryption requirements and algorithm changes. If the encryption algorithm or encryption key needs to be changed, it is only necessary to regenerate a new encryption tag based on the preset tag, without manually setting an encryption tag that matches the new encryption algorithm or encryption key; linking the encryption tag with the preset tag can avoid introducing additional tags or data fields, reduce the possibility of confusion and ambiguity, and ensure that encrypted data files and non-encrypted data files are correctly identified and processed during the processing. In general, it can simplify processes, maintain consistency, improve identifiability, and be scalable. It can not only effectively handle encrypted and non-encrypted data files, but also provide a clear and consistent data classification method to facilitate subsequent processing and operations.

[0136] In some embodiments, the marked position is the beginning of the data file.

[0137] The beginning refers to the starting part of a data file or data block. The beginning of a data file is the very beginning of the file, located at the first byte or character. For example, for a binary file, the beginning is the first byte of the file; for a text file, the beginning is the first character of the file.

[0138] In some embodiments, the marked position is the first line of the data file.

[0139] The first line is the first row. In this embodiment, the mark position is the first line position at the beginning of the data file. For example, if a specific string (e.g., "SR") is used as a preset mark, the mark position of the data file of the electrophysiological data will be written with the preset mark, and the mark position is located in the first line of the data file, that is, the first line of the data file records the preset mark.

[0140] In some embodiments, the marked position of the data file is read to obtain the data to be detected.

[0141] In this embodiment, the marker position is located at the beginning or the first line of the data file, that is, the starting position of the data file. This means that when reading or processing the data file, it is first necessary to locate the beginning of the file to identify and process the marker information or perform other related operations. The advantage of this is that the preset marker has a fixed position in the data file, which is easy to read and compare, and the marker can be quickly obtained and subsequently classified and parsed, which reduces the time and complexity of searching for markers in the data file, and helps to improve the efficiency and accuracy of data processing.

[0142] In some embodiments, the at least one processor is configured to parse the data file in the following manner when executing the computer program:

[0143] When the classification result of the data file is a non-encrypted data file, parsing and visually displaying the data file;

[0144] When the classification result of the data file is an encrypted data file, the data file is decrypted to obtain a decryption result, and the decryption result is parsed and visually displayed.

[0145] The classification result determines how to parse the file.

[0146] Parsing refers to the process of parsing and processing a data file, converting the data file into an understandable or operable form for further operation or display. For example, for a text file, parsing involves reading the file content, splitting it into lines or words, and performing corresponding data processing operations; for an image file, parsing involves reading the pixel data of the image and performing image processing or analysis.

[0147] Visual display refers to presenting electrophysiological data in the form of graphs, charts, images or other visual forms to make it easier to understand and analyze. For example, for a data file, visual display can be to display the text content as a table or graph; for an image file, visual display can be to display the image on the screen.

[0148] Therefore, firstly, the data file is judged whether it is encrypted or not, and whether it is an encrypted data file or a non-encrypted data file can be achieved by checking the attributes, file header information or other characteristics of the data file.

[0149] When the classification result of the data file is a non-encrypted data file, the data file is parsed. The parsing process may include operations such as decoding, decompression, and data extraction, so as to convert the data file into a readable and processable form. Subsequently, the parsed data is visualized so that the user can intuitively observe and analyze the data.

[0150] When the classification result of a data file is an encrypted data file, the data file is first decrypted to obtain a decryption result. The decryption can use a corresponding decryption algorithm and key. Subsequently, the decryption result is parsed, similar to the processing of non-encrypted data files. Finally, the parsed data is visualized for users to analyze and apply data.

[0151] The advantage of this is that it can process different types of data files, including encrypted data files and non-encrypted data files; for encrypted data files, it provides decryption operations to restore encrypted data to a readable and processable form, which helps to solve the limitations of encrypted data on data processing and provide more comprehensive data analysis and application capabilities; the parsed and processed data is displayed visually, providing doctors with intuitive data display and analysis tools, which helps to deepen the understanding of data, discover data patterns and trends, and support more accurate diagnosis and treatment decisions; by parsing and processing data files and visualizing them, it helps doctors obtain, analyze and apply data more quickly. This improves the efficiency and accuracy of data processing and provides strong support for research and treatment in the medical field.

[0152] In some embodiments, the at least one processor is configured to further implement the following steps when executing the computer program:

[0153] When the classification result of the data file is an illegal data file, one or more of the following processes are performed:

[0154] Generate a prompt message and send it to a preset user device, wherein the prompt message is used to prompt the user that an illegal data file has been received;

[0155] An alarm is issued through the data playback device and / or an external alarm device; the alarm mode includes one or more of a sound alarm, a light alarm, a pop-up window alarm and a floating layer alarm.

[0156] An illegal data file is a data file that does not meet certain requirements or rules and may be damaged, tampered, malformed, or contain malicious content. For example, an illegal data file can be a tampered text file in which the content is changed or deleted.

[0157] Prompt information refers to text or notifications used to convey specific information or warnings to users. Prompt information can be used to remind users about the existence of illegal data files or other related information. For example, a prompt message can be "Illegal data file detected, please verify manually."

[0158] User device refers to a terminal device used by a preset user, which can be a computer, mobile phone, tablet or other terminal device that can receive information. For example, a user device can be a smart phone that is used to receive prompt information from a data playback device.

[0159] An alarm device is a device used to sound an alarm or alert to attract people's attention or to take emergency measures. The alarm can take different forms, such as sound, light, pop-up window or floating layer. For example, an alarm device can be an audible alarm, which will sound an alarm when receiving an alarm signal.

[0160] Therefore, firstly, the data file is judged whether it is encrypted or not. When the data file is neither an encrypted data file nor an unencrypted data file, it is confirmed to be an illegal data file. When the classification result of the data file is an illegal data file, one or more of the following processing operations are performed:

[0161] Generate prompt information and send it to the preset user device: For the received illegal data files, corresponding prompt information can be generated to inform the user of the illegality of the data file. The prompt information can be sent to the user through the preset user device, such as mobile phone, computer, etc., in the form of SMS, phone call, or in-app notification.

[0162] Alarm processing: The alarm can be issued through the data playback device and / or external alarm device. The alarm method can include sound alarm, light alarm, pop-up window alarm and floating layer alarm. The purpose of the alarm is to attract the user's attention and warn the user that the received data file is illegal.

[0163] The advantage of doing this is that by obtaining the classification results of data files, the existence of illegal data files can be discovered in a timely manner, which helps prevent further processing and application of illegal data and protect the integrity and security of data; by generating prompt information and sending it to user devices, and reminding users through alarms, users can realize that the data files received by the data playback device are illegal by receiving prompt information or alarm signals, and then take corresponding measures to deal with them; through timely prompt information and alarm processing, users can quickly identify and process illegal data files to avoid their further impact on the system and data.

[0164] In some embodiments, the prompt information includes the fault type;

[0165] The at least one processor is configured to further implement the following steps when executing the computer program:

[0166] When the classification result of the data file is an illegal data file, the data file is input into a fault classification model to obtain a fault type.

[0167] Prompt messages are used to convey specific information, warnings, or prompts to users, reminding them of the existence of specific events, states, or problems.

[0168] Fault type refers to the type of fault or problem that may exist in a data file. Fault type describes a specific problem or abnormality encountered by a data file, such as file corruption, format error, data loss, file permission problem, illegal access, data tampering, virus infection, data conflict, file oversize, etc.

[0169] A fault classification model refers to a model or algorithm used to classify faults in data files. A fault classification model can be a model based on machine learning, deep learning, or rule definition, which is used to automatically identify and classify fault types in data files. For example, a fault classification model can be a trained neural network that is used to identify different fault types in data files.

[0170] Thus, the generated prompt information includes the fault type. When processing illegal data files, the data file can be further analyzed through the fault classification model to obtain information about the fault type. When the classification result is an illegal data file, the data file is input into a preset fault classification model for processing. The fault classification model can be a machine learning model, a deep learning model or other pre-trained model. Through the operation and analysis of the model, information about the fault type in the illegal data file can be obtained.

[0171] The advantage of doing this is that by inputting illegal data files into the fault classification model, the fault types in the illegal data files can be identified and classified, providing a more accurate basis for subsequent processing and decision-making; the fault type is included in the prompt information, so that the user can understand the specific problems existing in the illegal data file, which helps the user to process and analyze the illegal data file more targeted; the data processing capability is enhanced, and corresponding processing measures can be taken through the information provided by the model; by identifying and distinguishing fault types, specific problems in the illegal data files can be repaired, screened or other processing operations can be performed based on the fault type information to ensure the reliability and accuracy of the data.

[0172] In some embodiments, the at least one processor is configured to further implement the following steps when executing the computer program:

[0173] When the fault type is packet loss, data delay or data duplication, extracting and processing the electrophysiological data in the data file to obtain an extraction result;

[0174] The extraction results are analyzed and visualized.

[0175] The fault type can be packet loss, data delay or data duplication. In network communication, packet loss refers to the loss of data packets during transmission; data delay refers to the long delay in data transmission; and data duplication refers to the repeated transmission of data packets.

[0176] Extraction processing refers to the process of extracting and processing a specific portion of a data file. In this embodiment, the extraction processing is performed on a specific portion of an electrophysiological data file. For example, for an electrophysiological data file, the extraction processing involves extracting data of a specific time period, filtering out noise, applying a signal processing algorithm, etc.

[0177] The extraction result refers to the result of the data file obtained after the extraction process, which is a data set obtained after operating the original data file. For example, the extraction result can be the electrocardiogram data or electroencephalogram data within a specific time period extracted from the electrophysiological data file.

[0178] Parsing and visualization refers to the process of parsing and displaying the extracted results for further analysis or intuitive presentation. For example, parsing and visualization can be parsing the EEG data collected by local field potential (LFP), extracting key indicators, and displaying them in the form of charts or graphs.

[0179] Key indicators of EEG data collected by LFP include frequency spectrum characteristics (such as α, β, γ, θ waves, etc.), amplitude changes, coherence, synchronization, time domain parameters, etc. Frequency spectrum characteristics reflect the energy distribution of EEG activity in different frequency bands (or signal power distribution), amplitude changes reveal the activity level and signal strength of brain regions (for example, measured by peak or root mean square value), coherence reflects the degree of coordination between different brain regions, synchronization reveals the spatiotemporal coupling relationship between brain regions, and time domain parameters include peak latency, amplitude, rise time, fall time, etc., which are used to describe the characteristics of EEG signals on the time axis. These indicators can help doctors or researchers understand the spatial and temporal characteristics of EEG activity, so as to better treat patients or explore the mechanisms of brain function and disease in depth. Among them, the frequency band of δ waves is 0.5-4Hz, the frequency band of θ waves is 4-8Hz, the frequency band of α waves is 8-13Hz, and the frequency band of β waves is 13-30Hz.

[0180] Therefore, the fault type is first identified, for example, through a fault classification model, a rule engine, or other means. When the fault type is packet loss, data delay, or data duplication, the electrophysiological data in the data file is extracted and processed to obtain an extraction result. The extraction process may include operations such as filling in lost data packets, correcting delayed data, or removing duplicate data. The extraction results are parsed and visualized so that the doctor can intuitively observe and analyze the processed data. Parsing includes, for example, data decoding, format conversion, or other processing so that the data can be displayed in a form that is easy to understand and analyze.

[0181] The benefit of doing this is that by identifying the fault type and extracting and processing the electrophysiological data, it can process and repair faulty data such as packet loss, data delay or data duplication, which helps to improve the integrity and accuracy of the data, make the data more in line with the actual situation, and help improve the effectiveness and safety of electrical stimulation therapy, and ensure the data quality and accuracy of electrical stimulation therapy; by parsing and visualizing the extracted results, it provides an intuitive and easy-to-understand data presentation format, enhancing the doctor's data analysis and application capabilities. The data playback device can also further analyze, count and build models for the processed data, providing a more accurate basis for medical decision-making and treatment effect evaluation.

[0182] Especially in the field of electrical stimulation therapy, the acquisition time of electrophysiological data (such as EEG data) may reach 12 hours, 24 hours or even 48 hours. Therefore, packet loss, data delay or data duplication are likely to occur during the acquisition process. If the data is re-collected every time the above problems occur, it will bring great inconvenience to the patient's life. By processing and repairing problems such as packet loss, data delay or data duplication, the integrity of electrophysiological data can be improved. Even if there is a problem during the data acquisition process, the data playback device can automatically repair the data to ensure that the collected data is as complete as possible and reduce the impact of data loss on subsequent analysis and treatment. At the same time, by processing and repairing the data, the accuracy of the collected data is improved, providing a more reliable data basis for subsequent analysis and treatment. By handling problems such as packet loss, data delay or data duplication, avoiding re-collection of data, making the data acquisition process more convenient and efficient, and not causing too much interference and inconvenience to the patient's life. In addition, the collected data can be used to the greatest extent to avoid data waste, which is particularly important for long-term electrophysiological data acquisition. The collected data can be fully utilized to improve the utilization rate of the data and reduce the waste of medical resources and doctors and patients' time.

[0183] Continue to see Figure 1, in a specific application scenario, an embodiment of the present application further provides a data playback device for playing back encrypted data files and non-encrypted data files of electrophysiological data with preset marks, wherein the preset marks include one or more of letters, Chinese characters, numbers and symbols, and the electrophysiological data is EEG data;

[0184] The data playback device comprises a memory and at least one processor, wherein the memory stores a computer program, and the at least one processor is configured to implement the following steps when executing the computer program:

[0185] S1: Acquire a data file to be played back; the data file includes one or more of a text file, a spreadsheet, a database file, an image file, an audio file, and a video file;

[0186] S2: Reading and obtaining the data to be detected according to the marked position of the data file; the marked position is the first line of the data file, for example, taking the first fixed number of bits (for example, 8 bits) as the data to be detected;

[0187] S3: Detect whether the data to be detected matches the preset mark; if they match, execute S4; if they do not match, execute S5;

[0188] S4: Setting the classification result of the data file as a non-encrypted data file; executing S8;

[0189] S5: Detect whether the data to be detected matches the encrypted tag, where the encrypted tag is obtained by encrypting the preset tag; if they match, execute S6; if they do not match, execute S7;

[0190] S6: Setting the classification result of the data file as an encrypted data file; executing S9;

[0191] S7: setting the classification result of the data file as an illegal data file; executing S10;

[0192] S8: parsing and visualizing the data file;

[0193] S9: decrypting the data file to obtain a decryption result, and parsing and visually displaying the decryption result;

[0194] S10: performing one or more of the following processes: inputting the data file into a fault classification model to obtain a fault type; generating and sending a prompt message to a preset user device, wherein the prompt message is used to prompt the user that an illegal data file has been received, and the prompt message includes the fault type; giving an alarm through the data playback device and / or an external alarm device; the alarm mode includes one or more of a sound alarm, a light alarm, a pop-up window alarm, and a floating layer alarm;

[0195] S11: When the fault type is packet loss, data delay or data duplication, extracting and processing the electrophysiological data in the data file to obtain an extraction result;

[0196] S12: Analyze and visualize the extraction results.

[0197] In this embodiment, A and B match, for example, means that A and B are completely consistent, or the similarity between A and B is greater than a preset similarity. The preset similarity can be, for example, 95%, 98%, 99%, etc. The similarity between A and B is obtained by, for example, using a pre-trained similarity model, which can be a model based on machine learning or a model based on deep learning, which will not be described in detail here.

[0198] This embodiment does not limit the decryption method. For example, decryption can be performed using a decryption algorithm or rule. The decryption algorithm or rule is, for example, a decryption algorithm or rule corresponding to the encryption algorithm or rule.

[0199] The above embodiment provides a method compatible with parsing encrypted / unencrypted EEG data. The data playback device is compatible with the playback of encrypted and unencrypted data files, automatically identifies the file type and parses and processes it without the user having to input other information, greatly improving versatility and facilitating doctors and patients.

[0200] When identifying preset tags (assuming there are any) in data files, machine learning methods, especially natural language processing (NLP) models, can be used to improve the recognition accuracy of tags, which is particularly effective for processing text files and spreadsheets, and can identify tags that are not limited to the first line. For the processing of encrypted data files, encryption algorithms such as RSA or AES can be used to enhance data security. In addition to the detection of preset tags, integrity and consistency checks can be added during the detection and processing of data files. For example, before the detection of preset tags, checksums or hash functions are used to check data integrity, and version control and timestamps are used to check data consistency. For data files with integrity and consistency, the detection of preset tags (i.e., step S3) will be performed, which can improve the parsing threshold of data files and ensure that only data files that meet the integrity and consistency requirements will enter the parsing process. Data types can also include three-dimensional model files, as well as some specialized medical imaging data (such as CT data, MRI data, PET data), etc. In the processing of illegal data files, a fault classification model based on deep learning is used to classify faults, which greatly improves the accuracy and efficiency of fault classification. In addition to the fault type, the prompt information can also provide possible causes of the fault, scope of impact, repair suggestions, etc. In addition, a feedback system can be provided to increase interaction with users, allowing users to provide feedback on processing results or system performance in order to continuously improve the system. In addition, cloud storage and computing resources can be used to process data files, improving the efficiency and scalability of data processing while providing stronger data protection and recovery capabilities.

[0201] As an example, assume that the above data playback device is used to analyze and process ECG data from an electrophysiological acquisition device. The data is stored in encrypted and unencrypted forms in a variety of file types, such as spreadsheets, database files, and even video files.

[0202] First, obtain the data file to be played back. For example, obtain a spreadsheet file named "Patient_123.xlsx" which contains the electrocardiogram data of patient 123.

[0203] Secondly, read the data to be detected according to the marked position of the file. Assume that the data to be detected is read from the first row of "Patient_123.xlsx", for example, "ECG_Data".

[0204] Afterwards, it is detected whether the data to be detected matches the preset tag. If the preset tag is also "ECG_Data", it is determined that the two match.

[0205] When the data to be detected matches the preset mark, the classification result of the file is set as a non-encrypted data file, so "Patient_123.xlsx" is marked as a non-encrypted data file. The non-encrypted data file is parsed and visualized, that is, "Patient_123.xlsx" is opened, the electrocardiogram data is read, and it is visualized on the screen, for example, a line graph showing heart rate changes (the y-axis shows the heart rate, the unit is beats / minute, the value range is 50-150, and the x-axis shows the time, the unit is seconds, the value range is 0-60) can be generated.

[0206] If the data to be detected does not match the preset tag, then check whether the data to be detected matches the encryption tag. For example, the data to be detected read from the first line of another file "Patient_456.xlsx" is "Encrypt:ECG_Data". If the encryption tag is also "Encrypt:ECG_Data", then it is determined that the two match.

[0207] When the data to be detected matches the encryption mark, the classification result of the file is set as an encrypted data file, so "Patient_456.xlsx" is marked as an encrypted data file. The encrypted data file is decrypted to obtain the decryption result, and the decryption result is parsed and visualized, that is, the data is decrypted using a preset decryption method, and then the same parsing and visualization are performed.

[0208] If the data to be detected does not match the encryption mark, the classification result of the file will be set as an illegal data file. For example, if a file named "Unknown.xlsx" has a first line that is neither "ECG_Data" nor "Encrypt:ECG_Data", then the file will be marked as an illegal data file.

[0209] For illegal data files, one or more of the following processes will be performed: "Unknown.xlsx" is input into a fault classification model, for example, through a machine learning model, and the model outputs the fault type of the file as "data duplication". Then, a prompt message is generated and sent to the preset user device, and the prompt message is "Illegal data file received, the fault type is data duplication". At the same time, the data playback device emits a sound alarm, such as a beep, with a frequency of 2 times / second and a duration of 10 seconds. When the fault type is packet loss, data delay or data duplication, the electrophysiological data in the data file is extracted and processed to obtain the extraction result. Therefore, a data deduplication algorithm is executed on "Unknown.xlsx", such as fast deduplication through a hash function. The extraction result is parsed and visualized, that is, the deduplicated electrocardiogram data is displayed for further analysis.

[0210] As another example, assume that the above-mentioned data playback device is used to analyze and process EEG data from an electrophysiological acquisition device.

[0211] First, obtain the data file to be played back, for example, a CSV file named "Patient_EEG_789.csv", which contains the EEG data of patient 789.

[0212] Secondly, read the data to be detected according to the marked position of the data file. Assume that the data to be detected is found from the first line of "Patient_EEG_789.csv", for example, "EEG_Data".

[0213] Afterwards, it is detected whether the data to be detected matches the preset tag. If the preset tag is also "EEG_Data", it is determined that the two match.

[0214] When the data to be detected matches the preset mark, the classification result of the file is set as a non-encrypted data file, so "Patient_EEG_789.csv" is marked as a non-encrypted data file. For non-encrypted data files, they will be parsed and visualized. For example, these EEG data can be visualized as a time domain graph (the x-axis represents time in seconds, with a value range of 0-60; the y-axis represents EEG voltage in microvolts, with a value range of -100 to 100).

[0215] If the data to be detected does not match the preset tag, it will be checked whether the data to be detected matches the encryption tag, for example, the data to be detected is found from the first line of another file "Patient_EEG_321.csv", for example, "Encrypted:EEG_Data". If the encryption tag is also "Encrypted:EEG_Data", then it is determined that the two match.

[0216] When the data to be detected matches the encryption mark, the classification result of the file is set as an encrypted data file, so "Patient_EEG_321.csv" is marked as an encrypted data file. The encrypted data file is decrypted to obtain the decryption result, and the decryption result is parsed and visualized, that is, the data is decrypted using a preset decryption method, and then the same parsing and visualization are performed.

[0217] If the data to be detected does not match the encryption tag, the classification result of the file is set as an illegal data file. For example, if a file named "Unknown_EEG.csv" has neither "EEG_Data" nor "Encrypted:EEG_Data" in its first line, the data file will be marked as an illegal data file. For illegal data files, one or more of the following processes will be performed: "Unknown_EEG.csv" is input into a fault classification model, which may use a machine learning method to conclude that the possible problem of the file is "data packet loss". Then, a prompt message is generated and sent to a preset user device, and the prompt message is "Illegal data file received, the fault type is data packet loss". In addition, the data playback device sends a light alarm, such as by flashing an LED light at a frequency of 2 times per second for 10 seconds. When the fault type is packet loss, data delay or data duplication, the electrophysiological data in the data file will be extracted to obtain the extraction result, such as executing a data recovery algorithm on "Unknown_EEG.csv" to retrieve the lost data as much as possible. The extraction result is parsed and visualized, such as displaying the EEG data after recovery on the screen for further analysis.

[0218] See also Figure 2 , Figure 2 It is a structural block diagram of a data playback device 10 provided in an embodiment of the present application.

[0219] The data playback device 10 may include, for example, at least one memory 11, at least one processor 12, and a bus 13 connecting different platform systems.

[0220] The memory 11 may include a (computer) readable medium in the form of a volatile memory, such as a random access memory (RAM) 111 and / or a cache memory 112, and may further include a read-only memory (ROM) 113. The memory 11 also stores a computer program, which can be executed by the processor 12, so that the processor 12 implements the steps of any of the above methods. The memory 11 may also include a utility 114 having at least one program module 115, such program module 115 includes but is not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination thereof may include the implementation of a network environment.

[0221] Accordingly, the processor 12 may execute the above-mentioned computer program and may execute the utility 114. The processor 12 may be implemented by one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), or other electronic components.

[0222] The bus 13 may be a local bus representing one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or any of a variety of bus architectures.

[0223] The data playback device 10 may also communicate with one or more external devices such as a keyboard, a pointing device, a Bluetooth device, etc., may also communicate with one or more devices that can interact with the data playback device 10, and / or communicate with any device (such as a router, a modem, etc.) that enables the data playback device 10 to communicate with one or more other computing devices. Such communication may be performed through an input / output interface 14. In addition, the data playback device 10 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter 15. The network adapter 15 may communicate with other modules of the data playback device 10 through a bus 13. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the data playback device 10 in actual applications, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms.

[0224] (Electrophysiological data playback method)

[0225] The embodiment of the present application also provides an electrophysiological data playback method, the specific embodiment of which is consistent with the embodiment recorded in the above-mentioned device embodiment and the technical effects achieved, and some contents will not be repeated here.

[0226] See also Figure 3 , Figure 3 It is a flowchart of an electrophysiological data playback method provided in an embodiment of the present application.

[0227] The present application embodiment provides an electrophysiological data playback method, which is applied to a data playback device and is used to play back an encrypted data file and a non-encrypted data file of electrophysiological data with a preset mark. The method includes:

[0228] Step S101: obtaining a data file to be played back;

[0229] Step S102: obtaining the classification result of the data file; the classification result of the data file is an encrypted data file, a non-encrypted data file or an illegal data file;

[0230] Step S103: When the classification result of the data file is an encrypted data file or a non-encrypted data file, the data file is parsed according to the classification result of the data file.

[0231] In some embodiments, obtaining the classification result of the data file includes:

[0232] Reading and obtaining the data to be detected according to the marked position of the data file;

[0233] Detecting whether the data to be detected matches the preset mark;

[0234] When the data to be detected matches the preset mark, setting the classification result of the data file as a non-encrypted data file;

[0235] When the data to be detected does not match the preset mark, detecting whether the data to be detected matches the encrypted mark; the encrypted mark is obtained by encrypting the preset mark;

[0236] When the data to be detected matches the encryption mark, setting the classification result of the data file as an encrypted data file;

[0237] When the data to be detected does not match the encryption mark, the classification result of the data file is set as an illegal data file.

[0238] In some embodiments, the preset mark includes one or more of letters, Chinese characters, numbers and symbols; and / or,

[0239] The data file includes one or more of a text file, a spreadsheet, a database file, an image file, an audio file, and a video file; and / or,

[0240] The marked position is the first line of the data file.

[0241] In some embodiments, when the classification result of the data file is an encrypted data file or a non-encrypted data file, parsing the data file according to the classification result of the data file includes:

[0242] When the classification result of the data file is a non-encrypted data file, parsing and visually displaying the data file;

[0243] When the classification result of the data file is an encrypted data file, the data file is decrypted to obtain a decryption result, and the decryption result is parsed and visually displayed.

[0244] In some embodiments, the method further comprises:

[0245] When the classification result of the data file is an illegal data file, one or more of the following processes are performed:

[0246] Generate a prompt message and send it to a preset user device, wherein the prompt message is used to prompt the user that an illegal data file has been received;

[0247] An alarm is issued through the data playback device and / or an external alarm device; the alarm mode includes one or more of a sound alarm, a light alarm, a pop-up window alarm and a floating layer alarm.

[0248] In some embodiments, the prompt information includes the fault type;

[0249] The method further comprises:

[0250] When the classification result of the data file is an illegal data file, the data file is input into a fault classification model to obtain a fault type.

[0251] In some embodiments, the method further comprises:

[0252] When the fault type is packet loss, data delay or data duplication, extracting and processing the electrophysiological data in the data file to obtain an extraction result;

[0253] The extraction results are analyzed and visualized.

[0254] In a specific application scenario, an embodiment of the present application further provides an electrophysiological data playback method, which is applied to a data playback device and is used to play back an encrypted data file and a non-encrypted data file of electrophysiological data with a preset mark, wherein the preset mark includes one or more of letters, Chinese characters, numbers and symbols;

[0255] The method comprises:

[0256] Acquire a data file to be played back; the data file includes one or more of a text file, a spreadsheet, a database file, an image file, an audio file, and a video file;

[0257] According to the marked position of the data file, the data to be detected is read; the marked position is the first line of the data file;

[0258] Detecting whether the data to be detected matches the preset mark;

[0259] When the data to be detected matches the preset mark, setting the classification result of the data file as a non-encrypted data file;

[0260] When the data to be detected does not match the preset mark, detecting whether the data to be detected matches the encrypted mark; the encrypted mark is obtained by encrypting the preset mark;

[0261] When the data to be detected matches the encryption mark, setting the classification result of the data file as an encrypted data file;

[0262] When the data to be detected does not match the encryption mark, setting the classification result of the data file as an illegal data file;

[0263] When the classification result of the data file is a non-encrypted data file, parsing and visually displaying the data file;

[0264] When the classification result of the data file is an encrypted data file, decrypting the data file to obtain a decryption result, and parsing and visually displaying the decryption result;

[0265] When the classification result of the data file is an illegal data file, one or more of the following processes are performed: when the classification result of the data file is an illegal data file, the data file is input into a fault classification model to obtain a fault type; a prompt message is generated and sent to a preset user device, the prompt message is used to prompt the user that an illegal data file has been received, and the prompt message includes the fault type; an alarm is issued through the data playback device and / or an external alarm device; the alarm mode includes one or more of a sound alarm, a light alarm, a pop-up window alarm, and a floating layer alarm;

[0266] When the fault type is packet loss, data delay or data duplication, extracting and processing the electrophysiological data in the data file to obtain an extraction result;

[0267] The extraction results are analyzed and visualized.

[0268] It should be noted that, under the premise of being practicable, the order of the steps in the above embodiments can be adjusted, and this application is not limited to this.

[0269] (Medical System)

[0270] The embodiments of the present application also provide a medical system, the specific embodiments of which are consistent with the embodiments recorded in the above-mentioned device embodiments and the technical effects achieved, and some contents will not be repeated here.

[0271] See also Figure 4 and Figure 5 , Figure 4 is a structural block diagram of a medical system provided in an embodiment of the present application. Figure 5 This is a flow chart of an electrophysiological acquisition device performing an encryption process provided by the present application.

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

[0273] An electrophysiological acquisition device is used to acquire original electrophysiological data of a patient; add a preset mark to the original electrophysiological data to obtain electrophysiological data with the preset mark; use the electrophysiological data with the preset mark itself as the non-encrypted data file; or encrypt the electrophysiological data with the preset mark to obtain an encrypted result, and use the encrypted result as the encrypted data file;

[0274] Any of the above-mentioned data playback devices, wherein the data playback device is provided with a display component, and the data playback device is used to visually display the encrypted data file and the non-encrypted data file.

[0275] An electrophysiological acquisition device is a medical device used to collect the patient's original electrophysiological data. The electrophysiological data may include one or more of electroencephalographic data (such as electroencephalogram, EEG), electrocardiographic data (such as electrocardiogram, ECG), electromyographic data (such as electromyogram, EMG), and electrooculographic data (such as electrooculogram, EOG).

[0276] Preset markers are specific markers or labels added to the raw electrophysiological data to identify specific events (such as the manufacturer of the device), time points, or other marking information.

[0277] The non-encrypted data file refers to the electrophysiological data itself with a preset mark, for example, a data file that has not been encrypted or a data file that has been decrypted after encryption.

[0278] Encrypted data files refer to files with encrypted electrophysiological data with preset tags to protect the security and confidentiality of the data.

[0279] The data playback device is a device used to parse and process encrypted data files and non-encrypted data files, so that the data can be played back, that is, visualized.

[0280] The display component is a part of the data playback device, which is used to display the electrophysiological data after analysis and processing so that medical staff or researchers can observe and analyze it. The display component can be a liquid crystal display (LCD), an organic light-emitting diode display (OLED), a touch screen, a projector, or a head-mounted display. Among them, LCDs are widely used in medical devices, can provide clear images and text displays, have low power consumption and high reliability, and are suitable for long-term use. The touch screen allows users to interact and control the device through touch operations, enhancing the user experience and operational convenience. The projector projects the visualization results of the electrophysiological data onto a screen or other plane, which can provide a larger display area and visualization effect. In some cases, in order to provide a more private and portable display experience, the data playback device can use a head-mounted display, worn on the doctor's head, to present the visualization results of the electrophysiological data to the user in the form of virtual reality or augmented reality.

[0281] For example, in a medical system, the electrophysiological acquisition device may be an electroencephalograph for recording the patient's electroencephalogram (EEG) data. The preset marker may be a specific event or the starting point of an EEG waveform marked in the EEG data. As required, the EEG data with the preset marker may be saved as a non-encrypted data file, or encrypted and saved as an encrypted data file. The data playback device may be an EEG playback device equipped with a display component for parsing and processing encrypted and non-encrypted EEG data, and displaying it for medical staff to observe and analyze.

[0282] Thus, the original electrophysiological data of the patient is collected by an electrophysiological acquisition device. A preset mark is added to the original electrophysiological data to generate electrophysiological data with the preset mark. The preset mark can be used to judge the legitimacy of the data file. The electrophysiological data with the preset mark itself is used as a non-encrypted data file, or the electrophysiological data with the preset mark is encrypted to generate an encrypted result, and the encrypted result is used as an encrypted data file. The encrypted data file can enhance the security of the data and prevent unauthorized access and modification. A data playback device with a display component is used to visualize the encrypted data file and the non-encrypted data file. The data playback device can parse and process these data files and present them in a visual form, such as a waveform, a chart, a timeline, etc., to facilitate doctors to observe and analyze the data.

[0283] The advantage of doing this is that, by encrypting the electrophysiological data, the security of the data is enhanced, unauthorized access and modification are prevented, and the possibility of medical data leakage involving patient privacy is reduced; through the visual display function of the data playback device, a convenient data playback and analysis tool is provided, and doctors can intuitively observe and analyze electrophysiological data to make more accurate diagnosis and treatment decisions; by obtaining non-encrypted data files or encrypted data files with preset electrophysiological data, a flexible data processing method is provided, which can be processed according to the specific circumstances of the patient's data collection process to meet different data security and access requirements. For example, when the patient is in the hospital, the possibility of data leakage is low, and non-encrypted data files can be used to improve data transmission efficiency, while saving computing resources consumed by the encryption and decryption process. When the patient is at home and the electrophysiological data is collected remotely, the data transmission process may involve optical fiber, 4G, 5G, satellite communication, WiFi and other communication methods. Encrypted data files can be used to ensure that the patient's privacy data will not be leaked during the communication process; through the visual display function, data sharing and collaboration are supported, and different doctors can observe and analyze electrophysiological data together to promote collaborative research, diagnosis and treatment.

[0284] Continue to see Figure 4 In some embodiments, the electrophysiological acquisition device is an external device, and the medical system further comprises:

[0285] An implantable medical device is used to be implanted in the patient's body, collect the patient's original electrophysiological data and send it to the electrophysiological acquisition device, and deliver electrical stimulation to the patient's body tissue.

[0286] In this embodiment, the patient's body tissue may be, for example, brain tissue, spinal cord nerve tissue, sacral nerve tissue, etc.

[0287] Thus, the external electrophysiological acquisition device collects the original electrophysiological data of the patient through the implantable medical device implanted in the patient's body, and the implantable medical device sends the collected electrophysiological data to the medical system for processing through wireless communication. The implantable medical device has the function of collecting the original electrophysiological data of the patient and delivering electrical stimulation. It may include sensors, electrodes, etc. implanted in body tissues, which are used to sense the patient's electrophysiological signals and deliver electrical stimulation to the patient's body tissues as needed. The implantable medical device can also further filter, amplify, digitize and other processing operations on the electrophysiological signals to obtain more accurate electrophysiological data. Electrical stimulation can be used to treat various diseases or symptoms, such as brain electrical stimulation to treat epilepsy or spinal cord electrical stimulation to treat chronic pain, etc. The parameters and methods of electrical stimulation can be adjusted and controlled according to the specific situation of the patient.

[0288] The benefit of this is that, through the collaboration of implantable medical devices and external electrophysiological acquisition devices, real-time acquisition and processing of the original electrophysiological data in the patient's body is achieved, which helps medical personnel to obtain the patient's physiological data in a timely manner and conduct further analysis and decision-making; implantable medical devices can deliver electrical stimulation according to the patient's specific situation to achieve personalized treatment plans, and doctors can adjust and optimize electrical stimulation parameters based on the collected electrophysiological data and patient feedback to achieve better treatment effects; through real-time electrophysiological data acquisition and delivery of electrical stimulation by implantable medical devices, accurate electrical stimulation treatment can be achieved, and medical personnel can make treatment decisions based on accurate physiological data to improve the accuracy and safety of treatment; since data acquisition and electrical stimulation treatment are performed in the patient's body, the patient can avoid multiple surgical procedures, reducing inconvenience and pain, and implantable medical devices provide more convenient and continuous data acquisition and treatment methods, improving the patient's comfort and quality of life.

[0289] See also Figure 6 and Figure 7 , Figure 6 is a structural block diagram of a deep brain electrical stimulation device provided in an embodiment of the present application, Figure 7 This is a structural block diagram of another deep brain stimulation device provided in an embodiment of the present application.

[0290] In some embodiments, the implantable medical device is a deep brain stimulation device;

[0291] The deep brain electrical stimulation device comprises a pulse generator and at least one electrode lead implanted in the patient's brain, wherein the pulse generator is directly connected to each electrode lead (e.g. Figure 6 or,

[0292] The deep brain electrical stimulation device comprises a pulse generator implanted in the patient's body, at least one extension wire and at least one electrode wire implanted in the patient's brain, wherein the extension wire and the electrode wire have a corresponding relationship, and the pulse generator is connected to each electrode wire through the corresponding extension wire (such as Figure 7 shown).

[0293] When both the pulse generator and the electrode leads are implanted in the patient's brain, the deep brain stimulation device may not include an extension lead, but only include the pulse generator and the electrode leads (e.g. Figure 6 shown).

[0294] In this embodiment, the number of the electrode wires may be one or more. In the embodiment where an extension wire is provided, the number of the extension wires may be one or more. The extension wires and the electrode wires have a corresponding relationship. The extension wires and the electrode wires may correspond one to one, and each extension wire is provided between its corresponding electrode wire and the pulse generator (e.g., Figure 7 The extension wires and electrode wires can also be one-to-many, with one end of each extension wire connected to its corresponding N electrode wires through a switching device (e.g., a one-to-N switching connector), and the other end of each extension wire connected to a pulse generator (not shown in the figure). Wherein N is an integer greater than 1, such as 2, 3, 4, etc.

[0295] In this embodiment, the pulse generator and the electrode wire are in communication connection, and the two can communicate directly (such as Figure 6 As shown), data interaction can also be achieved by extending the wire (as shown Figure 7 shown).

[0296] In this embodiment, the electrode wire can be implanted in the patient's brain or other locations in the body. The number of electrode wires can be, for example, 1, 2, 3, 4, 5, 6, etc. The number of electrode contacts of each electrode wire can be, for example, 4, 6, 8, 9, 10, 12, 15, 18, etc. When a patient's brain is implanted with multiple electrode wires, the multiple electrode wires can be implanted in the same hemisphere of the brain, or can be implanted in the two hemispheres of the brain respectively.

[0297] In the embodiments of the present application, the electrode wire can be used to sense the electrophysiological activities of single cells and / or multiple cells to obtain electrophysiological signals of single cells and / or local field potentials. Local field potential (LFP) is a special type of electrophysiological signal. In vivo, the synaptic activity of dendrites in biological tissues of a certain volume will induce current. When this current flows through the extracellular space with a certain impedance, a certain voltage distribution is formed. The local voltage value recorded at a certain point is called the local field potential.

[0298] Thus, an implantable deep brain stimulation device is used to provide electrical stimulation therapy to a region of a patient's brain, and the deep brain stimulation device can be configured in two different ways.

[0299] In the first configuration, the pulse generator is directly connected to the electrode wire. The deep brain stimulation device includes a pulse generator and at least one electrode wire implanted in the patient's brain. The pulse generator is directly connected to each electrode wire, and the electrical stimulation signal is transmitted to the target area through the wire.

[0300] In the second configuration, the pulse generator is indirectly connected to the electrode wire through an extension wire. The deep brain electrical stimulation device includes a pulse generator implanted in the patient's body, at least one extension wire, and at least one electrode wire implanted in the patient's brain. The extension wire has a corresponding relationship with the electrode wire, such as one-to-one or one-to-many, and the pulse generator is connected to each electrode wire through the extension wire to achieve the transmission of the electrical stimulation signal.

[0301] The advantage of this is that implantable deep brain stimulation devices can provide highly targeted electrical stimulation therapy. By implanting electrode wires into specific areas of the patient's brain, the pulse generator can accurately transmit electrical stimulation signals to the target area to achieve precise therapeutic effects. The configuration and parameters of the deep brain stimulation device can be adjusted and personalized according to the patient's specific circumstances. Doctors can choose appropriate configuration methods and electrical stimulation parameters according to the patient's condition and treatment needs to achieve the best therapeutic effect. Implantable deep brain stimulation devices can continuously provide electrical stimulation therapy to areas of the brain. Compared with non-implantable electrical stimulation devices, implantable devices can provide treatment more stably and persistently, which has significant advantages for diseases that require long-term treatment. The treatment process is more convenient and continuous, which improves the patient's comfort and quality of life.

[0302] Continue to see Figure 4 In some embodiments, the medical system further comprises:

[0303] A program-controlled device is used to send program-controlled instructions to the implantable medical device, wherein the program-controlled instructions are used to adjust one or more stimulation parameters of the pulse generator.

[0304] (Computer readable storage medium)

[0305] The embodiment of the present application also provides a computer-readable storage medium, the specific embodiment of which is consistent with the embodiment recorded in the above method embodiment and the technical effects achieved, and some contents will not be repeated here.

[0306] The computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, the steps of any of the above methods or the functions of any of the above data playback devices are implemented.

[0307] Computer readable medium can be a computer readable signal medium or a computer readable storage medium. In an embodiment of the present application, a computer readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. Computer readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of computer readable storage medium include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0308] The computer-readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable storage medium may also be any computer-readable medium that can send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or used in combination with it. The program code contained on the computer-readable storage medium may be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above. The program code for performing the operation of the present invention may be written in any combination of one or more programming languages, including Java, C++, Python, C#, JavaScript, PHP, Ruby, Swift, Go, Kotlin, etc. The program code may be executed entirely on a user computing device, partially on a user device, as a separate software package, partially on a user device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0309] (Computer Program Product)

[0310] The embodiment of the present application also provides a computer program product, the specific embodiments of which are consistent with the embodiments recorded in the above method embodiments and the technical effects achieved, and some contents will not be repeated here.

[0311] The computer program product comprises a computer program, and when the computer program is executed by at least one processor, the steps of any one of the above methods or the functions of any one of the above data playback devices are implemented.

[0312] See also Figure 8 , Figure 8 It is a structural diagram of a computer program product provided in an embodiment of the present application.

[0313] The computer program product is used to implement the steps of any of the above methods or to implement the functions of any of the above data playback devices. The computer program product may be a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the computer program product of the present invention is not limited thereto, and the computer program product may be any combination of one or more computer-readable media.

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

Claims

1. A data playback device, characterized in that: The device is used for replaying encrypted data files and non-encrypted data files of electrophysiological data with preset marks, the data playback device comprising a memory and at least one processor, the memory storing a computer program, the at least one processor being configured to implement the following steps when executing the computer program: Get the data file to be played back; Obtaining a classification result of the data file; the classification result of the data file is an encrypted data file, a non-encrypted data file, or an illegal data file; When the classification result of the data file is an encrypted data file or a non-encrypted data file, the data file is parsed according to the classification result of the data file.

2. The data playback device according to claim 1, characterized in that: The at least one processor is configured to obtain the classification result of the data file in the following manner when executing the computer program: Reading and obtaining the data to be detected according to the marked position of the data file; Detecting whether the data to be detected matches the preset mark; When the data to be detected matches the preset mark, setting the classification result of the data file as a non-encrypted data file; When the data to be detected does not match the preset mark, detecting whether the data to be detected matches the encrypted mark; the encrypted mark is obtained by encrypting the preset mark; When the data to be detected matches the encryption mark, setting the classification result of the data file as an encrypted data file; When the data to be detected does not match the encryption mark, the classification result of the data file is set as an illegal data file.

3. The data playback device according to claim 2, characterized in that: The preset mark includes one or more of letters, Chinese characters, numbers and symbols; and / or, The data file includes one or more of a text file, a spreadsheet, a database file, an image file, an audio file, and a video file; and / or, The marked position is the first line of the data file.

4. The data playback device according to claim 1, characterized in that: The at least one processor is configured to parse the data file in the following manner when executing the computer program: When the classification result of the data file is a non-encrypted data file, parsing and visually displaying the data file; When the classification result of the data file is an encrypted data file, the data file is decrypted to obtain a decryption result, and the decryption result is parsed and visually displayed.

5. The data playback device according to claim 1, characterized in that: The at least one processor is configured to further implement the following steps when executing the computer program: When the classification result of the data file is an illegal data file, one or more of the following processes are performed: Generate a prompt message and send it to a preset user device, wherein the prompt message is used to prompt the user that an illegal data file has been received; An alarm is issued through the data playback device and / or an external alarm device; the alarm mode includes one or more of a sound alarm, a light alarm, a pop-up window alarm and a floating layer alarm.

6. The data playback device according to claim 5, characterized in that: The prompt information includes the fault type; The at least one processor is configured to further implement the following steps when executing the computer program: When the classification result of the data file is an illegal data file, the data file is input into a fault classification model to obtain a fault type.

7. The data playback device according to claim 6, characterized in that: The at least one processor is configured to further implement the following steps when executing the computer program: When the fault type is packet loss, data delay or data duplication, extracting and processing the electrophysiological data in the data file to obtain an extraction result; The extraction results are analyzed and visualized.

8. A method for replaying electrophysiological data, characterized in that: The method is applied to a data playback device for playing back encrypted data files and non-encrypted data files of electrophysiological data with preset marks, and comprises: Get the data file to be played back; Obtaining a classification result of the data file; the classification result of the data file is an encrypted data file, a non-encrypted data file, or an illegal data file; When the classification result of the data file is an encrypted data file or a non-encrypted data file, the data file is parsed according to the classification result of the data file.

9. A medical system, characterized in that: The medical system includes: An electrophysiological acquisition device is used to acquire original electrophysiological data of a patient; add a preset mark to the original electrophysiological data to obtain electrophysiological data with the preset mark; use the electrophysiological data with the preset mark itself as the non-encrypted data file; or encrypt the electrophysiological data with the preset mark to obtain an encrypted result, and use the encrypted result as the encrypted data file; The data playback device according to any one of claims 1 to 7, wherein the data playback device is provided with a display component, and the data playback device is used to visually display the encrypted data file and the non-encrypted data file.

10. The medical system according to claim 9, characterized in that The electrophysiological acquisition device is an external device, and the medical system further comprises: An implantable medical device is used to be implanted in the patient's body, collect the patient's original electrophysiological data and send it to the electrophysiological acquisition device, and deliver electrical stimulation to the patient's body tissue.

11. The medical system according to claim 10, characterized in that: The implantable medical device is a deep brain electrical stimulation device; The deep brain electrical stimulation device comprises a pulse generator and at least one electrode lead implanted in the patient's brain, wherein the pulse generator is directly connected to each electrode lead; or, The deep brain electrical stimulation device includes a pulse generator implanted in the patient's body, at least one extension wire and at least one electrode wire implanted in the patient's brain. The extension wire and the electrode wire have a corresponding relationship, and the pulse generator is connected to each electrode wire through the corresponding extension wire.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, it implements the functions of the data playback device according to any one of claims 1 to 7 or implements the steps of the method according to claim 8.

13. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by at least one processor, the computer program implements the functions of the data playback device according to any one of claims 1 to 7 or implements the steps of the method according to claim 8.

Citation Information

Patent Citations

  • Processing method for judging PPTX document encryption and terminal

    CN112100631A