Human factor intelligent physiological signal processing method and device and electronic equipment
By using channel and spatial attention networks to weight physiological signals, the problem of high complexity in physiological signal type identification is solved, and the identification efficiency is improved.
Patent Information
- Application Number
- CN202311790144.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-12-22
AI Technical Summary
In existing technologies, physiological signals are processed in different ways, which means that analytical devices need to identify the type of physiological signal before they can be analyzed, increasing processing complexity and time.
A channel attention network is used to weight physiological signals, and a spatial attention network is used for further weighting to identify the type of physiological signal. During the processing, the number of channels of the physiological signal is not compressed to reduce computational complexity.
It improves the efficiency of physiological signal type recognition, reduces the computational complexity of the channel attention network, and achieves faster signal type recognition.
Smart Images

Figure CN117838137B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of physiological signal recognition technology, and in particular to a human-based intelligent physiological signal processing method, device and electronic device. Background Technology
[0002] Currently, users can monitor their health status by combining physiological data acquisition devices with analytical devices. For example, the physiological data acquisition device can collect the user's physiological signals and upload them to the analytical device. The analytical device can then analyze and process the physiological signals to determine the user's health status and provide feedback to the user. Specifically, the physiological data acquisition device can be used to collect at least one of the following physiological signals: electroencephalogram (EEG) signals, respiratory signals, heart rate signals, skin conductance signals, skin temperature signals, and electromyography (EMG) signals.
[0003] Because different types of physiological signals are processed in different ways, after receiving physiological signals uploaded by the physiological acquisition device, the analysis device needs to first identify the type of physiological signal and then accurately analyze it based on that type to obtain the user's health status. Summary of the Invention
[0004] This application provides a method, device, and electronic device based on human-centric intelligent physiological signal processing, the technical solution of which is as follows:
[0005] On the one hand, a human-centric intelligent physiological signal processing method is provided, the method comprising:
[0006] The input physiological signal is weighted by a channel attention network to obtain a first weighted physiological signal, wherein the number of channels of the physiological signal is not compressed during the processing of the physiological signal by the channel attention network.
[0007] The first weighted physiological signal is weighted using a spatial attention network to obtain the second weighted physiological signal;
[0008] Based on the second weighted physiological signal, the type of the physiological signal is obtained.
[0009] Optionally, the channel attention network includes: a first sub-network and a second sub-network; the input physiological signal is weighted through the channel attention network to obtain a first weighted physiological signal, including:
[0010] The physiological signal is input into the first sub-network to obtain a first channel weight vector, wherein the number of channels of the physiological signal is not compressed during the processing of the physiological signal in the first sub-network.
[0011] The physiological signal is input into the second sub-network to obtain a second channel weight vector, wherein the number of channels of the physiological signal is not compressed during the processing of the physiological signal by the second sub-network.
[0012] The first weighted physiological signal is obtained based on the first channel weight vector, the second channel weight vector, and the physiological signal.
[0013] Optionally, the first sub-network includes: a global max-pooling layer and a first convolutional layer connected in sequence; the physiological signal is input into the first sub-network to obtain a first channel weight vector, including:
[0014] The physiological signal is compressed in the spatial dimension by the global max pooling layer to obtain a first compressed physiological signal;
[0015] The first compressed physiological signal is convolved by the first convolutional layer to obtain the first channel weight vector of the physiological signal.
[0016] Optionally, the second sub-network includes: a global average pooling layer and a second convolutional layer connected in sequence; the physiological signal is input into the second sub-network to obtain a second channel weight vector, including:
[0017] The physiological signal is compressed in the spatial dimension by the global average pooling layer to obtain a second compressed physiological signal;
[0018] The second compressed physiological signal is convolved by the second convolutional layer to obtain the second channel weight vector of the physiological signal.
[0019] Optionally, the first weighted physiological signal is obtained based on the first channel weight vector, the second channel weight vector, and the physiological signal, including:
[0020] The first channel weight vector and the second channel weight vector are weighted and summed to obtain the target channel weight vector.
[0021] The physiological signal is weighted using the target channel weight vector to obtain a first weighted physiological signal.
[0022] Optionally, the spatial attention network includes: a pooling network and convolutional blocks; the first weighted physiological signal is weighted using the spatial attention network to obtain a second weighted physiological signal, including:
[0023] Based on the pooling network, the first weighted physiological signal is compressed in the channel dimension to obtain the third compressed physiological signal;
[0024] The third compressed physiological signal is convolved by the convolution block to obtain the target space weight vector.
[0025] The first weighted physiological signal is weighted using the target space weight vector to obtain the second weighted physiological signal.
[0026] Optionally, the pooling network includes: a max pooling layer and an average pooling layer; based on the pooling network, the first weighted physiological signal is compressed in the channel dimension to obtain a third compressed physiological signal, including:
[0027] The first weighted physiological signal is compressed in the channel dimension by the max pooling layer to obtain the first sub-compressed physiological signal.
[0028] The first weighted physiological signal is compressed in the channel dimension through the average pooling layer to obtain the second sub-compressed physiological signal.
[0029] The first sub-compressed physiological signal is spliced together with the first sub-compressed physiological signal to obtain the third compressed physiological signal.
[0030] Optionally, based on the second weighted physiological signal, the type of the physiological signal is determined, including:
[0031] The second weighted physiological signal is processed by a physiological signal recognition network to obtain the type of the physiological signal.
[0032] On the other hand, a human-centric intelligent physiological signal processing device is provided, the device comprising:
[0033] The first weighted processing module is used to perform weighted processing on the input physiological signal through a channel attention network to obtain a first weighted physiological signal, wherein the number of channels of the physiological signal is not compressed during the processing of the physiological signal by the channel attention network.
[0034] The second weighted processing module is used to weight the first weighted physiological signal through a spatial attention network to obtain the second weighted physiological signal;
[0035] The identification module is used to determine the type of the physiological signal based on the second weighted physiological signal.
[0036] In another aspect, an electronic device is provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method described above.
[0037] In another aspect, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method described above.
[0038] The beneficial effects of the solution provided in this application include at least the following:
[0039] This application discloses a human-centric intelligent physiological signal processing method, device, and electronic device. The method uses a channel attention network to weight physiological signals to obtain a first weighted physiological signal, and then uses a spatial attention network to weight the first weighted physiological signal to obtain a second weighted physiological signal. Based on the second weighted physiological signal, the type of physiological signal can be identified. Since the number of channels in the physiological signal is not compressed during the channel attention network processing, the computational complexity of the channel attention network is reduced, thereby improving the efficiency of physiological signal type identification.
[0040] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0041] Figure 1 This is a flowchart of a human-based intelligent physiological signal processing method provided in an embodiment of this application;
[0042] Figure 2 This is a schematic diagram of the structure of a recognition model provided in an embodiment of this application;
[0043] Figure 3 This is a schematic diagram of the structure of a channel attention network provided in an embodiment of this application;
[0044] Figure 4 This is a schematic diagram of the structure of a spatial attention network provided in an embodiment of this application;
[0045] Figure 5 This is a schematic diagram of another recognition model provided in an embodiment of this application;
[0046] Figure 6 This is a schematic diagram of the structure of a physiological signal recognition network provided in an embodiment of this application;
[0047] Figure 7 This is a schematic diagram of the structure of a human-based intelligent physiological signal processing device provided in an embodiment of this application;
[0048] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0049] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0050] This application provides a method for processing human-centric intelligent physiological signals, which is applied to an electronic device. Optionally, the electronic device can be a terminal device or a server. The server can be a single server, a server cluster consisting of several servers, or a cloud computing service center. See also... Figure 1 The method includes:
[0051] Step 101: The input physiological signal is weighted by a channel attention network to obtain the first weighted physiological signal.
[0052] In this process, the number of channels in the physiological signals is not compressed, meaning the number of channels remains unchanged. This ensures that the channel attention network can capture cross-channel interaction information while reducing its computational complexity.
[0053] The physiological signal can be transmitted from a physiological acquisition device to an electronic device, or it can be pre-stored in the electronic device. Optionally, the physiological signal can be a single type of signal. For example, the physiological signal can be an electroencephalogram (EEG) signal, an electromyogram (EMG) signal, or an electrodermal signal. Alternatively, the physiological signal can include multiple types of signals, such as EEG signals, EMG signals, and EEG signals.
[0054] In the process of processing physiological signals through a channel attention network to obtain a first weighted physiological signal, the electronic device can first determine the target channel weight vector of the physiological signal, and then perform weighted processing on the physiological signal based on the target channel weight vector to obtain the first weighted physiological signal.
[0055] Step 102: The first weighted physiological signal is weighted using a spatial attention network to obtain the second weighted physiological signal.
[0056] After the electronic device receives the first weighted physiological signal, it can input the first weighted physiological signal into the spatial attention network so that the spatial attention network can perform weighted processing on the first weighted physiological signal to obtain the second weighted physiological signal.
[0057] It is understandable that in the process of electronic devices processing physiological signals through spatial attention networks to obtain second weighted physiological signals, they can first determine the target spatial weight vector, and then perform weighted processing on the first weighted physiological signal based on the target spatial weight vector to obtain the first weighted physiological signal.
[0058] Step 103: Based on the second weighted physiological signal, obtain the type of physiological signal.
[0059] In this embodiment, the electronic device can input the physiological signal into a physiological signal recognition network to obtain the type of bioinformatics signal. This type can be electroencephalography (EEG), electromyography (EMG), electrocardiography (ECG), electrodermal conductance, skin temperature, or blood flow, etc.
[0060] In summary, this application provides a human-centric intelligent physiological signal processing method. This method uses a channel attention network to weight physiological signals to obtain a first weighted physiological signal, and then uses a spatial attention network to weight the first weighted physiological signal to obtain a second weighted physiological signal. Based on the second weighted physiological signal, the type of physiological signal can be identified. Because the number of channels in the physiological signal is not compressed during the channel attention network processing, the computational complexity of the channel attention network is reduced, thereby improving the efficiency of physiological signal type identification.
[0061] In this embodiment, the electronic device is equipped with a recognition model, which allows the electronic device to process physiological signals to determine the type of the physiological signal. See also Figure 2 , Figure 2 A schematic diagram of a recognition model is shown, which includes a channel attention network 201 and a spatial attention network 202 connected sequentially. See also... Figure 3 The channel attention network includes: a first subnetwork 2011 and a second subnetwork 2012 in parallel. The process of the electronic device performing step 101 may include:
[0062] Step S1: Input the physiological signal into the first sub-network to obtain the first channel weight vector.
[0063] In the process of processing physiological signals by the first sub-network, the number of channels of the physiological signals is not compressed, meaning that the number of channels of the physiological signals does not change during the processing. Since the number of channels is not compressed, there is no need to perform a channel count restoration operation, thus reducing the computational complexity of the first sub-network in determining the first channel weight vector.
[0064] In the embodiments of this application, please continue to refer to Figure 3The first sub-network comprises a global max-pooling layer and a first convolutional layer connected sequentially. The electronic device can compress the physiological signal in the spatial dimension using the global max-pooling layer to obtain a first compressed physiological signal. Then, the electronic device can convolve the first compressed physiological signal using the first convolutional layer to obtain a first channel weight vector of the physiological signal. Optionally, the first convolutional layer is a one-dimensional convolutional layer.
[0065] In this embodiment, after obtaining the first compressed physiological signal, the electronic device can use the `transpose()` function to transpose the first compressed physiological signal so that the first convolutional layer can perform convolution processing on the first compressed physiological signal. Then, after obtaining the output result of the first convolutional layer, the electronic device can again use the `transpose()` function to transpose the output result to obtain the first channel weight vector.
[0066] Step S2: Input the physiological signal into the second sub-network to obtain the second channel weight vector.
[0067] In the second sub-network's processing of physiological signals, the number of channels in the physiological signals is not compressed; that is, the number of channels in the physiological signals remains unchanged during the processing. Since the number of channels is not compressed, there is no need to perform a channel count restoration operation, thus reducing the computational complexity of the second sub-network in determining the second channel weight vector.
[0068] like Figure 3 As shown, the second sub-network 2012 may include a globally average pooling layer and a second convolutional layer connected in sequence. The electronic device can compress the physiological signal input to the channel attention network in the spatial dimension using the globally average pooling layer to obtain a second compressed physiological signal. Then, the electronic device can convolve the second compressed physiological signal using the second convolutional layer to obtain a second channel weight vector.
[0069] Understandably, after obtaining the second compressed physiological signal, the electronic device can use the `transpose()` function to transpose the second compressed physiological signal so that the second convolutional layer can convolve the first compressed physiological signal. Then, after obtaining the output of the second convolutional layer, the electronic device can again use the `transpose()` function to transpose the output to obtain the second channel weight vector.
[0070] Step S3: Based on the first channel weight vector, the second channel weight vector, and the physiological signal, obtain the first weighted physiological signal.
[0071] In the embodiments of this application, such as Figure 3As shown, the electronic device can perform a weighted summation of the first channel weight vector and the second channel weight vector to obtain the target channel weight vector. Then, the electronic device can use the target channel weight vector to weight the physiological signal to obtain a first weighted physiological signal. For example, the electronic device can multiply the target channel weight vector by the physiological signal to obtain the first weighted physiological signal.
[0072] It is understandable that the weights of the first channel weight vector and the second channel weight vector can both be pre-stored by the electronic device; for example, the weights of both the first channel weight vector and the second channel weight vector can be 1. In this case, the electronic device can perform an element-wise summation operation on the first channel weight vector and the second channel weight vector, and then use an activation function to operate on the weight vector obtained after the element-wise summation, thereby obtaining the target channel weight vector.
[0073] The activation function can be the sigmoid() function.
[0074] Figure 4 This is a schematic diagram of the structure of a spatial attention network provided in an embodiment of this application. Figure 4 It can be seen that the spatial attention network 202 may include: a pooling network 2021 and a convolutional block 2022. Based on this, the process by which an electronic device processes the first weighted physiological signal through the spatial attention network to obtain the second weighted physiological signal may include:
[0075] Step A1: Based on the pooling network, the first weighted physiological signal is compressed in the channel dimension to obtain the third compressed physiological signal.
[0076] Please continue to refer to this. Figure 4 The pooling network 2021 may include a max-pooling layer and an average-pooling layer. The electronic device can compress the first weighted physiological signal in the channel dimension using the max-pooling layer to obtain a first sub-compressed physiological signal, and can also compress the first weighted physiological signal in the channel dimension using the average-pooling layer to obtain a second sub-compressed physiological signal. Then, the electronic device can concatenate the first and second sub-compressed physiological signals to obtain a third compressed physiological signal.
[0077] For example, electronic devices can use the concat() function to splice the first sub-compressed physiological signal with the second sub-compressed physiological signal to obtain the third compressed physiological signal.
[0078] Step A2: Perform convolution processing on the third compressed physiological signal using convolution blocks to obtain the target space weight vector.
[0079] In this embodiment, the convolutional block may include a third convolutional layer and a first batch normalization (BN) layer connected sequentially. The electronic device can perform convolution processing on the third compressed physiological signal through the third convolutional layer to obtain an initial spatial weight vector. Then, the electronic device can normalize the initial spatial weight vector through the first batch normalization layer to obtain a normalized initial spatial weight vector. Afterward, the electronic device can use an activation function to operate on the batch-normalized initial spatial weight vector to obtain the target spatial weight vector.
[0080] Because spatial attention networks use convolutional blocks for signal processing, they can effectively reduce overfitting and gradient vanishing problems.
[0081] Understandably, the activation function can be the mish() function.
[0082] Step A3: Use the target space weight vector to weight the first weighted physiological signal to obtain the second weighted physiological signal.
[0083] Once the electronic device obtains the target space weight vector, it can use this target space weight vector to weight the first weighted physiological signal to obtain the second weighted physiological signal. For example, the electronic device can multiply the first weighted physiological signal by the target space weight vector to obtain the second weighted physiological signal.
[0084] Figure 5 This is a schematic diagram of another recognition model provided in an embodiment of this application. See also... Figure 5 The model may further include a physiological signal recognition network 203 connected to a spatial attention network 202. The electronic device can input a second weighted physiological signal into the physiological signal recognition network to determine the type of physiological signal. Optionally, the physiological signal recognition network may be a convolutional neural network.
[0085] See Figure 6 The physiological signal recognition network 203 may include a first signal recognition subnetwork 2031, a second signal recognition subnetwork 2032, and a third signal recognition subnetwork 2033 connected in sequence. The first signal recognition subnetwork 2031 includes a fourth convolutional layer, a fifth convolutional layer, and a first average pooling layer connected in sequence. The second signal recognition subnetwork 2032 includes a sixth convolutional layer, a seventh convolutional layer, and a second average pooling layer connected in sequence. The third signal recognition subnetwork 2033 includes an eighth convolutional layer, a ninth convolutional layer, and a second batch normalization layer connected in sequence.
[0086] The kernel size of the fourth convolutional layer differs from that of the fifth convolutional layer; for example, the kernel size of the fourth convolutional layer could be 3x3, while the kernel size of the fifth convolutional layer could be 1x1. The kernel size of the sixth convolutional layer differs from that of the seventh convolutional layer; for example, the kernel size of the sixth convolutional layer could be 1x4, while the kernel size of the seventh convolutional layer could be 1x1. The kernel size of the first average pooling layer differs from that of the second average pooling layer; for example, the kernel size of the first average pooling layer could be 2x4, while the kernel size of the second average pooling layer could be 2x2. The kernel size of the eighth convolutional layer differs from that of the ninth convolutional layer; for example, the kernel size of the eighth convolutional layer could be 2x2, while the kernel size of the ninth convolutional layer could be 1x1.
[0087] The electronic device can sequentially perform convolution processing on the second weighted physiological signal through a fourth and a fifth convolutional layer to obtain a first processing result. The electronic device then inputs the first processing result into a first average pooling layer. This first average pooling layer can compress the first processing result to obtain a second processing result.
[0088] Then, the electronic device can sequentially perform convolution processing on the second processing result through the sixth and seventh convolutional layers to obtain the third processing result. The electronic device can then input the third processing result into the second average pooling layer. The second average pooling layer can compress the third processing result to obtain the fourth processing result.
[0089] Subsequently, the electronic device can sequentially perform convolution processing on the fourth processing result through the eighth and ninth convolutional layers to obtain the fifth processing result, which is then input into the second batch normalization layer. This second batch normalization layer can then normalize the fifth processing result to obtain the type of physiological signal.
[0090] It is understood that the order of steps in the human-centric intelligent physiological signal processing method provided in the embodiments of this application can be appropriately adjusted, and steps can be added or removed as appropriate. Any variations that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application, and therefore will not be elaborated further.
[0091] In summary, this application provides a human-centric intelligent physiological signal processing method. This method uses a channel attention network to weight physiological signals to obtain a first weighted physiological signal, and then uses a spatial attention network to weight the first weighted physiological signal to obtain a second weighted physiological signal. Based on the second weighted physiological signal, the type of physiological signal can be identified. Because the number of channels in the physiological signal is not compressed during the channel attention network processing, the computational complexity of the channel attention network is reduced, thereby improving the efficiency of physiological signal type identification.
[0092] Figure 7 This is a schematic diagram of a human-centric intelligent physiological signal processing device provided in an embodiment of this application. See also... Figure 7 The device 300 includes:
[0093] The first weighted processing module 301 is used to perform weighted processing on the input physiological signal through a channel attention network to obtain a first weighted physiological signal, wherein the number of channels of the physiological signal is not compressed during the processing of the physiological signal by the channel attention network.
[0094] The second weighted processing module 302 is used to perform weighted processing on the first weighted physiological signal through a spatial attention network to obtain the second weighted physiological signal.
[0095] The identification module 303 is used to determine the type of physiological signal based on the second weighted physiological signal.
[0096] Optionally, the channel attention network includes: a first subnetwork and a second subnetwork. The first weighted processing module 301 can be used for:
[0097] Physiological signals are input into the first sub-network to obtain the first channel weight vector, wherein the number of channels of the physiological signals is not compressed during the processing of physiological signals in the first sub-network.
[0098] The physiological signal is input into the second sub-network to obtain the second channel weight vector, wherein the number of channels of the physiological signal is not compressed during the processing of the physiological signal in the second sub-network;
[0099] The first weighted physiological signal is obtained based on the first channel weight vector, the second channel weight vector, and the physiological signal.
[0100] Optionally, the first sub-network includes a globally max-pooling layer and a first convolutional layer connected in sequence. The first weighted processing module 301 can be used for:
[0101] The physiological signal is compressed in the spatial dimension by using a global max pooling layer to obtain the first compressed physiological signal;
[0102] The first compressed physiological signal is convolved by the first convolutional layer to obtain the first channel weight vector of the physiological signal.
[0103] Optionally, the second sub-network includes: a globally average pooling layer and a second convolutional layer connected in sequence. The first weighted processing module 301 can be used for:
[0104] The physiological signal is compressed in the spatial dimension by using a global average pooling layer to obtain a second compressed physiological signal.
[0105] The second convolutional layer performs convolution processing on the second compressed physiological signal to obtain the second channel weight vector of the physiological signal.
[0106] Optionally, the first weighted processing module 301 can be used for:
[0107] The weight vectors of the first and second channels are weighted and summed to obtain the target channel weight vector.
[0108] The physiological signal is weighted using the target channel weight vector to obtain the first weighted physiological signal.
[0109] Optionally, the spatial attention network includes: a pooling network and convolutional blocks. The second weighted processing module 302 can be used for:
[0110] Based on the pooling network, the first weighted physiological signal is compressed in the channel dimension to obtain the third compressed physiological signal;
[0111] The third compressed physiological signal is convolved by a convolution block to obtain the target space weight vector;
[0112] The first weighted physiological signal is weighted using the target space weight vector to obtain the second weighted physiological signal.
[0113] Optionally, the pooling network includes: a max pooling layer and an average pooling layer. The second weighted processing module 302 can be used for:
[0114] The first weighted physiological signal is compressed in the channel dimension by using a max pooling layer to obtain the first sub-compressed physiological signal;
[0115] The first weighted physiological signal is compressed in the channel dimension by the average pooling layer to obtain the second sub-compressed physiological signal.
[0116] The first sub-compressed physiological signal and the second sub-compressed physiological signal are spliced together to obtain the third compressed physiological signal.
[0117] Optionally, the identification module 303 can be used for:
[0118] The type of physiological signal is obtained by processing the second weighted physiological signal through a physiological signal recognition network.
[0119] In summary, this application provides a human-based intelligent physiological signal processing device. This device can perform weighted processing on physiological signals using a channel attention network to obtain a first weighted physiological signal, and then perform weighted processing on the first weighted physiological signal using a spatial attention network to obtain a second weighted physiological signal. Based on the second weighted physiological signal, the type of physiological signal can be identified. Because the number of channels in the physiological signal is not compressed during the channel attention network processing, the computational complexity of the channel attention network is reduced, thereby improving the efficiency of physiological signal type identification.
[0120] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. For example... Figure 8 As shown, the electronic device 400 includes a processor 401 and a memory 403. The processor 401 and the memory 403 are connected, for example, via a bus 402. Optionally, the electronic device 400 may also include a transceiver 404. It should be noted that in practical applications, the transceiver 404 is not limited to one type, and the structure of this electronic device 400 does not constitute a limitation on the embodiments of this application.
[0121] Processor 401 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 401 may also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0122] Bus 402 may include a pathway for transmitting information between the aforementioned components. Bus 402 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 402 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 8The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0123] The memory 403 stores a computer program corresponding to the human-based intelligent physiological signal processing method of the above embodiments of this application. This computer program is controlled and executed by the processor 401. The processor 401 executes the computer program stored in the memory 403 to implement the content shown in the aforementioned method embodiments.
[0124] Among them, electronic devices 400 include, but are not limited to: mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), etc., as well as fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The electronic device 400 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0125] This application also provides a computer-readable storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements the human-centric intelligent physiological signal processing method provided in the above-described method embodiments. For example, Figure 1 The method shown.
[0126] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0127] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0128] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0129] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0130] In this application, unless otherwise expressly specified and limited, the terms "installation," "connection," "joining," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise expressly limited. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0131] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A method for processing human-centric intelligent physiological signals, characterized in that, The method includes: The input physiological signal is weighted by a channel attention network to obtain a first weighted physiological signal, wherein the number of channels of the physiological signal is not compressed during the processing of the physiological signal by the channel attention network. The first weighted physiological signal, obtained by weighting the input physiological signal through a channel attention network, includes: The channel attention network includes a first sub-network and a second sub-network, which are configured in parallel. The physiological signal is input into the first sub-network to obtain a first channel weight vector, wherein the number of channels of the physiological signal is not compressed during the processing of the physiological signal in the first sub-network. The physiological signal is input into the second sub-network to obtain a second channel weight vector, wherein the number of channels of the physiological signal is not compressed during the processing of the physiological signal by the second sub-network. Based on the first channel weight vector, the second channel weight vector, and the physiological signal, the first weighted physiological signal is obtained, including: weighting and summing the first channel weight vector and the second channel weight vector to obtain the target channel weight vector; The physiological signal is weighted using the target channel weight vector to obtain a first weighted physiological signal; The first weighted physiological signal is weighted using a spatial attention network to obtain the second weighted physiological signal; Based on the second weighted physiological signal, the type of the physiological signal is obtained; wherein the type of the physiological signal is one of electroencephalography (EEG), electromyography (EMG), electrocardiography (ECG), electrodermal conductance (EDA), skin temperature, or blood flow.
2. The method according to claim 1, characterized in that, The first sub-network includes: a global max pooling layer and a first convolutional layer connected in sequence; the physiological signal is input into the first sub-network to obtain a first channel weight vector, including: The physiological signal is compressed in the spatial dimension by the global max pooling layer to obtain a first compressed physiological signal; The first compressed physiological signal is convolved by the first convolutional layer to obtain the first channel weight vector of the physiological signal.
3. The method according to claim 1, characterized in that, The second sub-network includes: a global average pooling layer and a second convolutional layer connected in sequence; the physiological signal is input into the second sub-network to obtain a second channel weight vector, including: The physiological signal is compressed in the spatial dimension by the global average pooling layer to obtain a second compressed physiological signal; The second compressed physiological signal is convolved by the second convolutional layer to obtain the second channel weight vector of the physiological signal.
4. The method according to any one of claims 1 to 3, characterized in that, The spatial attention network includes a pooling network and convolutional blocks; the first weighted physiological signal is weighted using the spatial attention network to obtain a second weighted physiological signal, including: Based on the pooling network, the first weighted physiological signal is compressed in the channel dimension to obtain the third compressed physiological signal; The third compressed physiological signal is convolved by the convolution block to obtain the target space weight vector. The first weighted physiological signal is weighted using the target space weight vector to obtain the second weighted physiological signal.
5. The method according to claim 4, characterized in that, The pooling network includes a max pooling layer and an average pooling layer; based on the pooling network, the first weighted physiological signal is compressed along the channel dimension to obtain a third compressed physiological signal, including: The first weighted physiological signal is compressed in the channel dimension by the max pooling layer to obtain the first sub-compressed physiological signal. The first weighted physiological signal is compressed in the channel dimension through the average pooling layer to obtain the second sub-compressed physiological signal. The first sub-compressed physiological signal and the second sub-compressed physiological signal are spliced together to obtain the third compressed physiological signal.
6. The method according to any one of claims 1 to 3, characterized in that, Based on the second weighted physiological signal, the type of the physiological signal is obtained, including: The second weighted physiological signal is processed by a physiological signal recognition network to obtain the type of the physiological signal.
7. A human-centric intelligent physiological signal processing device, characterized in that, The apparatus for implementing the method as described in any one of claims 1-6 comprises: The first weighted processing module is used to perform weighted processing on the input physiological signal through a channel attention network to obtain a first weighted physiological signal, wherein the number of channels of the physiological signal is not compressed during the processing of the physiological signal by the channel attention network. The second weighted processing module is used to weight the first weighted physiological signal through a spatial attention network to obtain the second weighted physiological signal; The identification module is used to determine the type of the physiological signal based on the second weighted physiological signal.
8. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method as claimed in any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Application of signal detection method in physiological signal classification
CN116702001A
Electroencephalogram signal classification method based on multi-branch graph adaptive network
CN116776188A
