Electroencephalogram acquisition equipment, verification and encryption method thereof and electroencephalogram monitoring equipment
By using encryption chips and preset encryption algorithms in EEG acquisition devices for verification, we ensure the legality of EEG acquisition devices and EEG monitoring devices, and solve the problem of data processing security and accuracy when connecting non-specific supporting devices. , improves the safety of EEG signal data and the accuracy of monitoring and analysis.
Patent Information
- Application Number
- CN202410995575.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-12-03
AI Technical Summary
When existing EEG collection equipment is connected to non-specific EEG monitoring equipment, the lack of encryption and verification design leads to safety and accuracy of EEG signal data processing, which may lead to incorrect judgment of patient physiological indicators. , increasing the risk of patients.
Design an electroencephalogram acquisition device, adopts an encryption chip and stores encrypted information in it, obtains the identity information and key of the encryption chip, and generates verification information using a preset encryption algorithm, and only the verification information is stored in the encryption chip. When the encrypted information in the process is consistent, the EEG monitoring device and the EEG acquisition device are allowed to read and write data to ensure the legality of the device.
Through the verification and encryption function of the encryption chip, the legality of the EEG acquisition device is ensured, missed access is avoided, the reading and writing safety of EEG signal data and the accuracy of monitoring and analysis are improved, and the patient's risk.
Smart Images

Figure CN119066672A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electroencephalogram (EEG) acquisition equipment, and in particular to an EEG acquisition equipment and a verification and encryption method thereof, and an EEG monitoring equipment. Background Art
[0002] As people's research on the brain deepens, when using EEG monitoring equipment to interact with the brain, it is usually necessary to use EEG acquisition equipment in conjunction. The EEG acquisition equipment uses electrodes placed on the scalp to identify and process specific EEG signals. The collected EEG signals are an important basis for judging the patient's brain consciousness state and other brain activity information. They have important practical value in clinical medicine, ergonomics, rehabilitation medicine, and sports science.
[0003] In order to ensure the safety and accuracy of EEG signal data processing, EEG monitoring equipment is usually designed and manufactured with one or more specific EEG acquisition devices for use in conjunction with it, and is not unlimited.
[0004] However, in order to meet the unified industry standards, existing EEG acquisition equipment usually adopts the same data interface design to achieve standardization. However, usually EEG acquisition equipment is not designed for encryption and verification. When the EEG monitoring equipment is connected to a non-specific EEG acquisition device, it will cause errors in the processing of EEG signal data, which will lead to incorrect judgments of the patient's physiological indicators, bringing great risks to the patient. Summary of the invention
[0005] The embodiments of the present application provide an EEG acquisition device and its verification and encryption method, and an EEG monitoring device, which can solve the technical problems of security and accuracy of EEG signal data processing caused by the lack of encryption and verification when the EEG acquisition device in the prior art is connected with a non-specific matching EEG monitoring device for data interaction.
[0006] In a first aspect, an embodiment of the present application provides a verification method for an EEG acquisition device, wherein the EEG acquisition device is applied to an EEG monitoring device, and the EEG acquisition device includes an encryption chip; the verification method includes:
[0007] Obtaining the identity information and encryption key of the encryption chip;
[0008] Determine verification information based on identity information, encryption key and preset encryption algorithm;
[0009] Acquire the encryption information stored in the encryption chip; wherein the encryption information is determined according to the identity information, the encryption key and the preset encryption algorithm;
[0010] When the verification information is consistent with the encryption information, the EEG acquisition device is determined to be a legitimate device, and the EEG monitoring device is allowed to read and write data from the EEG acquisition device.
[0011] In some embodiments, the verification method further includes:
[0012] When the verification information and the encryption information are inconsistent, the EEG acquisition device is determined to be an illegal device, and the EEG monitoring device is restricted from reading and writing data from the EEG acquisition device.
[0013] In some embodiments, after determining that the EEG acquisition device is an illegal device, the method further includes:
[0014] Generate prompt information for indicating that the currently connected EEG acquisition device is an illegal device; wherein the prompt information includes any one of vibration, light, text, graphics and sound.
[0015] In some embodiments, the identity information includes a serial number.
[0016] In some embodiments, obtaining the identity information of the encryption chip includes:
[0017] When it is detected that the EEG acquisition device is connected to the EEG monitoring device, the identity information of the encryption chip is obtained.
[0018] In some embodiments, the preset encryption algorithm is the MD5 algorithm.
[0019] In a second aspect, an embodiment of the present application provides an encryption method for an EEG acquisition device, wherein the EEG acquisition device is applied to an EEG monitoring device, and the EEG acquisition device includes an encryption chip; the encryption method includes:
[0020] Obtaining the identity information and encryption key of the encryption chip;
[0021] Determining the encryption information in the encryption chip according to the identity information, the encryption key and the preset encryption algorithm;
[0022] The encryption information is written into the encryption chip, so that when the EEG monitoring device detects that the EEG acquisition device is connected, the identity of the EEG acquisition device is verified according to the encryption information.
[0023] In some embodiments, the identity information includes a serial number;
[0024] And / or, the preset encryption algorithm is the MD5 algorithm.
[0025] In a third aspect, an embodiment of the present application provides an electroencephalogram (EEG) acquisition device, the EEG acquisition device comprising:
[0026] The first data interface is used to connect to an EEG monitoring device;
[0027] An encryption chip stores encryption information; the encryption information is determined based on the identity information of the encryption chip, an encryption key and a preset encryption algorithm, so that when the EEG monitoring device detects that the EEG acquisition device is connected, it performs identity verification on the EEG acquisition device based on the encryption information.
[0028] In a fourth aspect, an embodiment of the present application provides an electroencephalogram monitoring device, the electroencephalogram monitoring device comprising:
[0029] A second data interface is used to connect to an EEG acquisition device; the EEG acquisition device includes an encryption chip;
[0030] a processor connected to the second data interface; the processor being configured to:
[0031] Obtaining the identity information and encryption key of the encryption chip;
[0032] Determine verification information according to the identity information and the encryption key;
[0033] Acquire the encryption information stored in the encryption chip; wherein the encryption information is determined according to the identity information, the encryption key and the preset encryption algorithm;
[0034] When the verification information is consistent with the encryption information, the EEG acquisition device is determined to be a legitimate device, and the EEG monitoring device is allowed to read and write data from the EEG acquisition device.
[0035] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer execution program or instructions are stored. When the program or instructions are executed by a processor, the steps of the control method of the atomization device as described in any embodiment of the first aspect and / or the second aspect are implemented.
[0036] The embodiments of the present application provide an EEG acquisition device and a verification and encryption method thereof, and an EEG monitoring device. An encryption chip is designed in the EEG acquisition device, and encryption information determined according to its identity information, encryption key, and a preset encryption algorithm is stored therein; when the EEG device is detected to be connected to the EEG monitoring device, verification information is determined according to the identity information and encryption key of the encryption chip, and the verification information is compared with the encryption information stored in the encryption chip. Only when the verification information and the encryption information are consistent, the EEG acquisition device is determined to be a legal device, and the EEG monitoring device is allowed to read and write data from the EEG acquisition device. The present application utilizes the encryption and verification functions of the encryption chip in the EEG acquisition device, ensures that the EEG acquisition device connected to the EEG monitoring device is a legal device, avoids the situation of misaccess, and improves the security of reading and writing EEG signal data and the accuracy of monitoring and analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0038] Figure 1 A structural block diagram of an electroencephalogram acquisition device provided in one embodiment of the present application;
[0039] Figure 2 A schematic diagram of the structure of an electroencephalogram monitoring device provided in one embodiment of the present application;
[0040] Figure 3 A flowchart of a method for verifying an EEG acquisition device provided in one embodiment of the present application;
[0041] Figure 4 A flowchart of an encryption method for an EEG acquisition device provided in one embodiment of the present application.
[0042] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0043] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.
[0044] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0045] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally a class, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated before and after are in an "or" relationship. The "connection" and "connection" mentioned in the present application, unless otherwise specified, include direct and indirect connections (connections).
[0046] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0047] The EEG acquisition device of the embodiment of the present application is applied to EEG monitoring equipment. Common EEG acquisition equipment includes EEG sensors, EEG collectors, EEG machines, etc. Common EEG monitoring equipment includes anesthesia depth monitors, portable EEG signal measurement and analysis equipment, EEG machines, electromyography machines, etc.
[0048] The EEG acquisition equipment and EEG monitoring equipment of the embodiments of the present application are explained by taking EEG sensors and anesthesia depth monitors as examples. The EEG sensors are used to collect EEG signals or electromyographic signals by placing their acquisition electrodes close to the human scalp and other parts. The anesthesia depth monitor is used to perform dual spectrum analysis or other linear analysis on the EEG signals during anesthesia based on electrophysiological signals such as EEG signals to obtain an index for evaluating the depth of anesthesia. In general, anesthesia depth monitors require access to specific matching EEG sensors to obtain EEG information for analysis and processing.
[0049] Figure 1 This is a structural block diagram of an EEG acquisition device provided in one embodiment of the present application. Figure 1 As shown, the EEG acquisition device 100 provided in the embodiment of the present application includes a first data interface 110 and an encryption chip 120 .
[0050] In this embodiment, the first data interface 110 is used to connect an external device, such as an EEG monitoring device 200. Correspondingly, the EEG monitoring device 200 includes a second data interface 210. When the first data interface 110 is successfully connected to the second data interface, it is considered that the EEG acquisition device 100 is connected to the EEG monitoring device 200.
[0051] The encryption chip 120 is used to protect the security of information stored in the EEG acquisition device 100 . When the EEG acquisition device 100 is connected to the EEG monitoring device 200 through the first data interface 110 , the encryption chip 120 is used to encrypt and verify the EEG acquisition device 100 .
[0052] Optionally, the type of encryption chip 120 can be classified according to different application scenarios and functional requirements. Common encryption chips 120 include storage chips, identity authentication chips, logic encryption chips, quantum security encryption chips, etc. This embodiment does not specifically limit the type of encryption chip 120.
[0053] In this embodiment, encryption information is stored in the encryption chip 120, and the encryption information is determined based on the identity information of the encryption chip 120, the encryption key and the preset encryption algorithm, so that when the EEG monitoring device 200 detects that the EEG acquisition device 100 is connected, it can verify the identity of the EEG acquisition device 100 based on the encryption information.
[0054] Figure 2 This is a schematic diagram of the structure of an electroencephalogram monitoring device provided by an embodiment of the present application. Figure 2 As shown, the EEG monitoring device 200 provided in the embodiment of the present application includes a second data interface 210 and a processor 220 .
[0055] In this embodiment, the second data interface 210 is used to connect an external device, for example, by connecting to the first data interface 110, the connection between the EEG monitoring device 200 and the EEG acquisition device 100 is realized. The processor 220 is connected to the second data interface, and is used to verify the identity of the EEG acquisition device 100 when it is detected that the EEG acquisition device 100 is connected, and when it is determined that the connected device is a legitimate device, it communicates data with the connected EEG acquisition device 100.
[0056] In some embodiments, there are multiple connection modes between the first data interface 110 and the second data interface, such as plugging and matching the first external data interface and the second data interface, that is, the communication connection between the EEG acquisition device 100 and the EEG monitoring device 200 is realized through the direct connection between the first data interface 110 and the second data interface; optionally, the first data interface 110 and the second data interface are respectively the male head and the female head of the same type of electrical connector; it can be understood that the first data interface 110 and the second data interface can also be other adaptable electrical connection parts.
[0057] In other embodiments, the first data interface 110 and the second data interface are connected via an external connector to achieve communication connection between the storage device 100 and the drone 200.
[0058] In this embodiment, the processor 220 is configured to: when the EEG monitoring device 200 detects that the EEG acquisition device 100 is connected through the first data interface 110, the EEG monitoring device 200 verifies the legality of the EEG acquisition device 100 by verifying the encryption information in the encryption chip 120. When the verification information determined by the EEG monitoring device 200 according to the access information is consistent with the verification result of the encryption information stored in the encryption chip 120, the identity of the EEG acquisition device 100 is considered to be legal, that is, the EEG acquisition device 100 currently connected to the EEG monitoring device 200 is considered to be a legal device; when the verification result of the encryption information is inconsistent, the identity of the EEG acquisition device 100 is considered to be illegal, that is, the EEG acquisition device 100 currently connected to the EEG monitoring device 200 is considered to be an illegal device. Only when the EEG acquisition device 100 currently connected to the EEG monitoring device 200 is considered to be a legitimate device, can the EEG monitoring device 200 read and write data from the EEG acquisition device 100, thereby preventing the data in the EEG acquisition device 100 from being misused, mixed or stolen, thereby improving the data reading and writing security of the EEG acquisition device.
[0059] The processor 220 of this embodiment may be a central processing unit (CPU). The processor 220 may further include a hardware chip. The hardware chip may be an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
[0060] It should be noted that since the main improvement point of the present application is the verification and encryption method of the EEG acquisition device 100 by the processor 220 through the encryption chip 120, the present application can be used for the verification and encryption of any EEG acquisition device 100 with an encryption chip 120 through the processor 220, and has the technical effect of the above-mentioned processor 220, and is not limited to the specific structure of the EEG acquisition device 100. Other structures of the EEG monitoring device provided by the present application (such as data processing module, etc.) are not described in detail here.
[0061] The following describes the specific process of the method in which the processor 220 verifies and encrypts the EEG acquisition device 100 based on the encryption chip 120.
[0062] Figure 3 This is a flow chart of a method for verifying an EEG acquisition device provided in one embodiment of the present application. Figure 3 As shown, the verification method of the EEG acquisition device 100 provided in the embodiment of the present application is executed by the EEG monitoring device 200 currently connected to the EEG acquisition device 100, more specifically, the processor 220 of the EEG monitoring device 200, and the verification specifically includes the following steps:
[0063] Step S301: Obtain the identity information and encryption key of the encryption chip.
[0064] In this embodiment, the identity information is the identity information used to identify the encryption chip 120 in the EEG acquisition device 100, and the identity information is unique for different encryption chips 120. Optionally, the identity information includes the serial number of the encryption chip 120. In other embodiments, the identity information may also be other information that can distinguish the identities of different encryption chips 120, or may be a combination of the serial number and other information.
[0065] There are many ways to obtain identity information. For example, when the EEG acquisition device 100 is connected, the identity information of the encryption chip 120 can be read through the second data interface, or when the EEG acquisition device 100 is connected, the identity information of the encryption chip 120 can be sent to the second data interface by the first data interface 110.
[0066] The encryption key is preset when the EEG monitoring device 200 leaves the factory, and may be stored in the EEG monitoring device 200, or may be recorded in the instruction manual of the EEG monitoring device 200, and needs to be input by the user during verification. It is understandable that the encryption key preset or required to be input in the EEG monitoring device 200 cannot be known to the outside, so that an illegal device can be counterfeited as a legal device.
[0067] In some embodiments, the encryption key may be a set of four 32-bit data groups, namely 32 hexadecimal characters (128 bits), which can effectively prevent being easily cracked.
[0068] Step S302: Determine verification information according to the identity information, the encryption key and the preset encryption algorithm.
[0069] In this embodiment, the preset encryption algorithm is the same as the encryption key, and both are preset and stored in the EEG monitoring device 200 when the EEG monitoring device 200 leaves the factory. It is understandable that when the EEG acquisition device 100 is connected to the EEG monitoring device 200, the processor 220 can generate or determine a specific verification information based on the unique identity information representing the encryption chip 120 in the EEG acquisition device 100, the encryption key that cannot be known by an illegal device, and the preset encryption algorithm.
[0070] The identity information is calculated by using the encryption key and encryption algorithm to obtain verification information, which is the encryption information for the encryption chip 120 in the EEG acquisition device 100.
[0071] In some embodiments, when determining the verification information, the acquired identity information is first merged with a custom array, and then the verification information is generated according to the encryption key and the encryption algorithm.
[0072] In this embodiment, the preset encryption algorithm may be one of a symmetric encryption algorithm, an asymmetric encryption algorithm and a hash algorithm. There are many types of encryption algorithms, and each algorithm has its own unique advantages and applicable scenarios.
[0073] Symmetric encryption algorithms are algorithms that use the same key for encryption and decryption. Both communicating parties need to share the same key. The sender uses the key to encrypt data, and the receiver uses the same key to decrypt the encrypted data. Symmetric encryption algorithms usually have faster encryption and decryption speeds because they use the same key to operate, reducing computational complexity. Since the key length is relatively short, the amount of computation required for symmetric encryption algorithms is small. Symmetric encryption algorithms can maintain high efficiency during encryption and decryption and are suitable for scenarios that require fast data transmission and processing. Common symmetric encryption algorithms include DES (Data Encryption Standard) algorithm, AES (Advanced Encryption Standard) algorithm, RC4 algorithm, etc.
[0074] Asymmetric encryption algorithms are also called public key encryption algorithms. They use a pair of keys: a public key for encryption and a private key for decryption. The public key can be freely distributed, allowing anyone to encrypt data, but only the holder of the private key can decrypt and access the original information. This mechanism ensures that even if the public key is leaked, the private key cannot be directly calculated, thereby ensuring the security of the encrypted information. The separation of public and private keys simplifies the key management process, allowing encryption and decryption operations to be performed securely without worrying about key distribution and transmission issues. Common asymmetric encryption algorithms include RSA (Rivest-Shamir-Adleman) algorithm, ECC (Elliptic Curve Cryptography) algorithm, and DSA (Digital Signature Algorithm) algorithm.
[0075] Hash algorithm, also known as secure hash algorithm, message digest algorithm or hash algorithm, is an algorithm that outputs input data of arbitrary length as fixed-length data. Hash algorithm is one-way, that is, the input data can be easily converted into a hash value through the hash algorithm, but the original data cannot be reversed from the hash value, which makes the hash algorithm important in password storage, file integrity verification and other aspects. The operation of the hash algorithm is relatively simple. Regardless of the length of the input data, the hash algorithm will generate a hash value of fixed length, making the hash value more efficient and convenient when storing and transmitting. Common hash algorithms include MD5 algorithm and SHA (Secure Hash Algorithm) algorithm.
[0076] In some embodiments, the preset encryption algorithm is the MD5 algorithm. The MD5 algorithm has high computing performance and can perform summary processing on a large amount of data in a short time. For input of any length, the length of the MD5 algorithm output is always fixed (usually 128 bits, i.e. 32 hexadecimal characters), which is easy to store and transmit.
[0077] Step S303, obtaining encryption information stored in the encryption chip; wherein the encryption information is determined according to the identity information, the encryption key and the preset encryption algorithm.
[0078] In this embodiment, there may be multiple ways to obtain the encrypted information stored in the encryption chip 120. For example, when the EEG acquisition device 100 is connected, the encrypted information in the encryption chip 120 may be directly read through the second data interface, or when the EEG acquisition device 100 is connected, the encrypted information of the encryption chip 120 may be sent to the second data interface by the first data interface 110.
[0079] In this embodiment, the price information and the verification information are obtained in the same way. If the EEG acquisition device 100 is a legal device, the contents of the encrypted information and the verification information are consistent; if the EEG acquisition device 100 is an illegal device, the contents of the encrypted information and the verification information are inconsistent.
[0080] It should be noted that step S303 and step S301 can be executed simultaneously or in a sequence, which is not limited in this embodiment; similarly, step S303 and step S302 can be executed simultaneously or in a sequence, which is not limited in this embodiment.
[0081] Step S304: When the verification information and the encryption information are consistent, the EEG acquisition device is determined to be a legitimate device, and the EEG monitoring device is allowed to read and write data from the EEG acquisition device.
[0082] Furthermore, when the verification information and the encryption information are inconsistent, the EEG acquisition device 100 is determined to be an illegal device, and the EEG monitoring device 200 is restricted from reading and writing data from the EEG acquisition device 100 .
[0083] In this embodiment, the verification information is compared with the encryption information. If the verification information is consistent with the encryption information, the identity of the EEG acquisition device 100 is considered to be legal, that is, the EEG acquisition device 100 currently connected to the EEG monitoring device 200 is considered to be a legal device. Only then can the EEG monitoring device 200 be allowed to read and write data from the EEG acquisition device 100 to ensure the security and accuracy of the data; if the verification information is inconsistent with the encryption information, the identity of the EEG acquisition device 100 is considered to be illegal, that is, the EEG acquisition device 100 currently connected to the EEG monitoring device 200 is an illegal device. At this time, it is necessary to restrict the EEG monitoring device 200 from reading and writing data from the EEG acquisition device 100.
[0084] That is, only when the EEG acquisition device 100 currently connected to the EEG monitoring device 200 is a legitimate device, can the EEG monitoring device 200 continue to use the currently connected EEG acquisition device 100, thereby realizing the pairing verification of the EEG acquisition device 100, protecting the security of the data collected by the EEG acquisition device 100, avoiding accidental access, reducing the risk of the EEG monitoring device 200 making incorrect judgments based on the patient's physiological indicators collected by the EEG acquisition device 100, and reducing the risk to the patient.
[0085] It should be noted that when it is detected that the EEG monitoring device 200 is connected to the EEG acquisition device 100, the EEG monitoring device 200 needs to communicate with the EEG acquisition device 100 once, that is, to obtain the encrypted information stored in the encryption chip 120. At this time, it is not possible to confirm whether the EEG acquisition device 100 currently connected to the EEG monitoring device 200 is a legal device.
[0086] In some embodiments, before confirming whether the EEG acquisition device 100 currently connected to the EEG monitoring device 200 is a legitimate device, it is necessary to pre-configure it in the processor 220. After detecting that the EEG acquisition device 100 is connected, only one read and write operation is allowed, and the content to be read is limited to identity information and encryption information.
[0087] In some embodiments, after confirming that the EEG acquisition device 100 currently connected to the EEG monitoring device 200 is an illegal device, a corresponding prompt message can also be generated to prompt the user that the EEG acquisition device 100 currently connected is an illegal device. The prompt message includes any one of vibration, light, text, graphics and sound, wherein vibration is vibration frequency, light includes light color, light quantity, light emitting position, etc., text and graphics are displayed through the screen, and sound includes buzzing, ringing, etc.; in particular, the prompt is made on the screen of the EEG monitoring device 200 with text and graphics, and the specific implementation hardware and software are not limited in the embodiments of this application.
[0088] Figure 4 This is a flowchart of an encryption method for an EEG acquisition device provided in one embodiment of the present application. Figure 4 As shown, the encryption method of the EEG acquisition device 100 provided in the embodiment of the present application is executed by an EEG monitoring device 200 that can be connected to the EEG acquisition device 100 or an encryption host computer with encryption function. The encryption method of the EEG acquisition device 100 in this embodiment specifically includes the following steps:
[0089] Step S401: Obtain the identity information and encryption key of the encryption chip.
[0090] In some embodiments, the identity information of the encryption chip 120 includes a serial number, or a combination of the serial number and other information.
[0091] Step S402: Determine the encryption information in the encryption chip according to the identity information, the encryption key and the preset encryption algorithm.
[0092] In some embodiments, the preset encryption algorithm is the MD5 algorithm.
[0093] Step S403: write the encrypted information into the encryption chip, so that when the EEG monitoring device detects that the EEG acquisition device is connected, the identity of the EEG acquisition device is verified according to the encrypted information.
[0094] It should be noted that the implementation process of step S401 to step S403 in this embodiment is similar to the implementation process described in any of the above embodiments and has the same technical effect, and will not be repeated here.
[0095] In summary, the embodiments of the present application provide an EEG acquisition device and its verification and encryption method, and an EEG monitoring device. An encryption chip is designed in the EEG acquisition device, and encryption information determined according to its identity information, encryption key, and a preset encryption algorithm is stored therein; when the EEG device and the EEG monitoring device are detected to be connected, the verification information is determined according to the identity information and encryption key of the encryption chip, and the verification information is compared with the encryption information stored in the encryption chip. Only when the verification information and the encryption information are consistent, the EEG acquisition device is determined to be a legal device, and the EEG monitoring device is allowed to read and write data from the EEG acquisition device. The present application utilizes the encryption and verification functions of the encryption chip in the EEG acquisition device, ensures that the EEG acquisition device connected to the EEG monitoring device is a legal device, avoids the situation of misaccess, and improves the security of reading and writing EEG signal data and the accuracy of monitoring and analysis.
[0096] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by the processor 220, each process of any embodiment of the verification method of the above-mentioned EEG acquisition device and / or the encryption method of the EEG acquisition device is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0097] The processor 220 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0098] An embodiment of the present application also provides a chip, which includes a processor 220 and a communication interface, wherein the communication interface is coupled to the processor, and the processor 220 is used to run programs or instructions to implement the various processes of any embodiment of the verification method of the above-mentioned EEG acquisition device and / or the encryption method of the EEG acquisition device, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0099] It can be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0100] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0101] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the inspiration of the present application, ordinary technicians in the field can make several simple deductions, deformations or substitutions based on the ideas of the present application without departing from the scope of protection of the purpose of the present application and the claims. All of these are within the protection of the present application.
Claims
1. A method for verifying an electroencephalogram (EEG) acquisition device, wherein the EEG acquisition device is applied to an EEG monitoring device, and the EEG acquisition device includes an encryption chip; characterized in that: The method comprises: Obtaining the identity information and encryption key of the encryption chip; Determine verification information based on identity information, encryption key and preset encryption algorithm; Acquire the encryption information stored in the encryption chip; wherein the encryption information is determined according to the identity information, the encryption key and the preset encryption algorithm; When the verification information is consistent with the encryption information, the EEG acquisition device is determined to be a legitimate device, and the EEG monitoring device is allowed to read and write data from the EEG acquisition device.
2. The calibration method of the electroencephalogram acquisition device according to claim 1, characterized in that: Also includes: When the verification information and the encryption information are inconsistent, the EEG acquisition device is determined to be an illegal device, and the EEG monitoring device is restricted from reading and writing data from the EEG acquisition device.
3. The calibration method of the electroencephalogram acquisition device according to claim 2, characterized in that: After determining that the EEG acquisition device is an illegal device, the method further includes: Generate prompt information for indicating that the currently connected EEG acquisition device is an illegal device; wherein the prompt information includes any one of vibration, light, text, graphics and sound.
4. The calibration method of the electroencephalogram acquisition device according to claim 1, characterized in that: The identity information includes a serial number.
5. The calibration method of the EEG acquisition device according to claim 1, characterized in that: The obtaining the identity information of the encryption chip includes: When it is detected that the EEG acquisition device is connected to the EEG monitoring device, the identity information of the encryption chip is obtained.
6. The calibration method of the EEG acquisition device according to claim 1, characterized in that: The preset encryption algorithm is the MD5 algorithm.
7. An encryption method for an EEG acquisition device, wherein the EEG acquisition device is applied to an EEG monitoring device, and the EEG acquisition device includes an encryption chip; characterized in that: include: Obtaining the identity information and encryption key of the encryption chip; Determining the encryption information in the encryption chip according to the identity information, the encryption key and the preset encryption algorithm; The encryption information is written into the encryption chip, so that when the EEG monitoring device detects that the EEG acquisition device is connected, the identity of the EEG acquisition device is verified according to the encryption information.
8. The encryption method of the EEG acquisition device according to claim 7, characterized in that: The identity information includes a serial number; And / or, the preset encryption algorithm is the MD5 algorithm.
9. An electroencephalogram acquisition device, characterized in that: include: The first data interface is used to connect to an EEG monitoring device; An encryption chip stores encryption information; the encryption information is determined based on the identity information of the encryption chip, an encryption key and a preset encryption algorithm, so that when the EEG monitoring device detects that the EEG acquisition device is connected, it performs identity verification on the EEG acquisition device based on the encryption information.
10. An electroencephalogram monitoring device, characterized in that: include: A second data interface is used to connect to an EEG acquisition device; the EEG acquisition device includes an encryption chip; a processor connected to the second data interface; The processor is configured to: Obtaining the identity information and encryption key of the encryption chip; Determine verification information according to the identity information and the encryption key; Acquire the encryption information stored in the encryption chip; wherein the encryption information is determined according to the identity information, the encryption key and the preset encryption algorithm; When the verification information is consistent with the encryption information, the EEG acquisition device is determined to be a legitimate device, and the EEG monitoring device is allowed to read and write data from the EEG acquisition device.
