Method and device for classifying scattergrams for photoplethysmography signals

DE602021036366T2Active Publication Date: 2025-08-13LEPU MEDICAL TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE602021036366
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-10-12
Filing Date
2021-04-19
Publication Date
2025-08-13
Estimated Expiration
2041-04-19

AI Technical Summary

Technical Problem

Conventional ECG signal acquisition methods are not suitable for long-time monitoring, requiring at least half an hour for accurate analysis of heart rhythm characteristics, and existing PPG signal processing methods do not efficiently generate scatter diagrams for heart rhythm analysis.

Method used

A method and device that extracts inter-beat interval data from PPG signals to generate scatter diagrams, utilizing a convolutional neural network and fully connected neural network for classification, reducing scatter diagram generation difficulty and enriching health monitoring applications.

Benefits of technology

Enables efficient and accurate classification of heart rhythm patterns from PPG signals, facilitating long-time monitoring and improving the analysis of heart rate variability and arrhythmia diagnosis.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims the priority of the China patent application No.202011086771.9 filed in the National Intellectual Property Administration, PRC on Oct. 12, 2020, and the invention title of "Scatter Diagram Classification Method and Device for Photoplethysmography (PPG) Signal".FEILD OF THE INVENTION

[0002] The invention relates to the technical field of signal processing, in particular to a scatter diagram classification method and device for photoplethysmography (PPG) signal.BACKGROUND OF THE INVENTION

[0003] A time interval between peak points of adjacent ECG signal waveforms is regarded as a cardiac cycle length, which is called an inter-beat interval. An inter-beat interval scatter diagram (simply referred to as scatter diagram) is a two-dimensional coordinate way to identify corresponding heart rhythm characteristics by observing the data change of the inter-beat interval. The abscissa of each scatter point in the scatter diagram represents a previous inter-beat interval of a certain heart beat, and the ordinate represents a next inter-beat interval of a certain beat. By identifying the distribution regulation of scatter points in the scatter diagram, the overall dominant rhythm of the heart can be known. An RR interval scatter diagram can be used to evaluate heart rate fluctuation, autonomic nervous regulation and heart rate variability, and can also be used to diagnose arrhythmia and evaluate the prognosis of diseases. When analyzing heart rhythm characteristics by using an inter-beat interval scatter diagram, the larger the number of scatter points, the more obvious a formed typical image, and the more accurate an analysis result, which means that a long time of continuous acquisition (for example, at least half an hour) is required. However, a conventional ECG signal acquisition method is not suitable for long-time monitoring of a test object at any time.

[0004] Photoplethysmography (PPG) is a non-invasive method to detect the change of blood volume in viable tissue by photoelectric means. Cardiac impulses make the blood flow per unit area in the blood vessel change periodically, causing blood volume to change accordingly, so that a PPG signal reflecting the amount of light absorbed by blood will also change periodically, and the periodic change of the PPG signal is closely related to cardiac impulses and the blood pressure change. For PPG signals, a time interval between the maximum peak points of adjacent signal waveforms is also equal to an inter-beat interval.

[0005] WO 2019 / 191487 A1 discloses a scatter diagram classification method for a photoplethysmography (PPG) signal comprising: acquiring the PPG signal; performing signal sampling processing on the PPG signal according to a preset sampling frequency to generate a PPG sampling signal; and performing scatter point two-dimensional coordinate preparation processing according to the PPG sampling signal to generate a scatter point two-dimensional coordinate sequence. The PPG signal data are communicated by a PPG sensor of a wearable device worn by a user. A plurality of heartbeats from at least a portion of the PPG signal data is determined followed by determination of the heart rhythm type based on at least the plurality of heartbeats.

[0006] A heart rhythm monitoring method and device is disclosed in WO 2020 / 125078 A1. Further, CN 112 070 076 A discloses a text paragraph structure restoration method, device and equipment and a computer storage medium. The method comprises the steps: carrying out the recognition of a target image, and determining all textboxes in the target image and the textbox positions of all textboxes based on a recognition result of recognition; sorting the textboxes according to the textbox positions, and inputting text features of the textboxes into a preset deep learning model for training based on a sorting result of sorting; and combining the textboxes based on the training result of the training to obtain all text paragraphs corresponding to the target picture.

[0007] CN 111 291 727 A relates to a method and device for detecting signal quality by photoplethysmography. The method comprises the steps: obtaining a PPG signal, carrying out the sampling on the PPG signal according to a data sampling frequency threshold value to obtain a PPG one-dimensional data sequence, performing fragment division on the PPG one-dimensional data sequence according to a CNN input length threshold value to generate a plurality of PPG one-dimensional sub-fragments, generating a PPG data four-dimensional tensor according to the total number of segments and the PPG one-dimensional data sequence, performing PPG feature extraction by using a CNN model to generate a PPG feature four-dimensional tensor, constructing a PPG feature two-dimensional matrix, performing PPG feature binary classification probability regression calculation by using an ANN model to generate a PPG probability two-dimensional matrix [X, 2], and performing PPG signal quality judgment onthe PPG signal according to the PPG probability two-dimensional matrix [X, 2] to generate a PPG signal quality detection result.

[0008] CN 108 784 680 A describes convolutional neural networks for heart rate signal analysis including classifying scatter diagrams of ECG signals using such convolutional neural networks.

[0009] Finally, CN 111 248 880 A discloses a blood pressure prediction method based on a photoplethysmography (PPG) signal and a device. The method includes the steps: generating a PPG signal segment; performing signal decomposition on the PPG signal segment by using a continuous wavelet transform manner according an acquired wavelet base type, contraction-expansion factor and movement factor to generate a PPG wavelet coefficient matrix; performing modulo operation on matrix elements to convert the PPG wavelet coefficient matrix, and performing normalization processing on the converted matrix to generate a PPG normalized matrix; obtaining an RGB color disk matrix, and performing tensor conversion on the PPG normalized matrix according to the RGB color disk matrix to generate a PPG time-frequency three-dimensional tensor; performing tensor shape reconstruction on the PPG time-frequency three-dimensional tensor by using a bicubic interpolation algorithm according to a convolutionalnetwork input width threshold value to generate a PPG convolution three-dimensional tensor; and performing classification regression calculation on the PPG convolutional three-dimensional tensor by using a convolutional neural network classification regression model to generate PPG predicted blood pressure data pairs.SUMMARY OF THE INVENTION

[0010] The purpose of the present invention is to provide a scatter diagram classification method and device for a photoplethysmography (PPG) signal, electronic equipment, a computer program product and a computer readable storage medium to overcome the defects of the prior art. By extracting inter-beat interval data from PPG signals to generate a scatter diagram, and then introducing the scatter diagram into an artificial intelligence network for confirming the type of the scatter diagram for type confirmation, so as to reduce the scatter diagram generation difficulty, and enrich the application scenarios of PPG in the field of health monitoring.

[0011] In order to achieve the above object, the first aspect of the embodiment of the invention provides a computer-implemented scatter diagram classification method for a PPG signal, comprising: acquiring the PPG signal; performing signal sampling processing on the PPG signal according to a preset sampling frequency to generate a PPG sampling signal; performing scatter point two-dimensional coordinate preparation processing according to the PPG sampling signal to generate a scatter point two-dimensional coordinate sequence; performing scatter diagram resolution confirmation processing according to the sampling frequency and a preset maximum value of an inter-beat interval to generate a scatter diagram resolution; performing scatter diagram initialization processing according to the scatter diagram resolution to generate a scatter diagram two-dimensional tensor; performing scatter point marking processing on the scatter diagram two-dimensional tensor according to the scatter point two-dimensional coordinate sequence; using a convolutional neural network of an artificial intelligence network to perform multilayer convolution pooling calculation on the scatter diagram two-dimensional tensor to generate a four-dimensional output tensor, the artificial intelligence network comprising the convolutional neural network, a fully connected neural network and a normalization processing layer; using the fully connected neural network of the artificial intelligence network to perform multilayer full connection calculation on the four-dimensional output tensor to generate a two-dimensional output tensor; using the normalization processing layer of the artificial intelligence network to perform normalization index calculation on the two-dimensional output tensor to generate a normalization two-dimensional tensor; and performing classification confirmation processing according to the normalization two-dimensional tensor to generate confirmation data, the confirmation data comprising classification reasonable information and classification unreasonable information, wherein performing scatter point two-dimensional coordinate preparation processing according to the PPG sampling signal to generate a scatter point two-dimensional coordinate sequence specifically comprises: sequentially extracting time information corresponding to maximum amplitude signal points of signal waveforms from the PPG sampling signal to generate peak time data, and forming a peak time data sequence from the peak time data, the PPG sampling signal comprising a plurality of the signal waveforms, the signal waveform comprising a plurality of signal points, and the number of the peak time data of the peak time data sequence is a first total number n; taking the peak time data corresponding to the first index i' as current a peak time data in the peak time data sequence, performing absolute difference calculation on the current peak time data and peak time data before the current peak time data to generate a scatter point abscissa X i corresponding to the second index i, and performing absolute difference calculation on the current peak time data and peak time data after the current peak time data to generate a scatter point ordinate Y i corresponding to the second index i, scatter point two-dimensional coordinates XY i being composed of the scatter point abscissa X i and the scatter point ordinate Y i , the scatter point two-dimensional coordinates XY i being (X i ,Y i ), the first index i' being an index number of the peak time data, and the value range of the first index i' is 2 to n-1, the second index i being an index number of the scatter point two-dimensional coordinates XY i , i=i'-1, and the value range of the second index i is 1 to n-2; n-2 scatter point two-dimensional coordinates XY i forming the scatter point two-dimensional coordinate sequence, wherein the scatter point two-dimensional coordinate sequence being (XY 1 ,...XY i ,...XY n-2 ); and only keeping one of the plurality of identical scatter point two-dimensional coordinates XY i in the scatter point two-dimensional coordinate sequence, deleting the scatter point two-dimensional coordinate XY i of which the scatter point abscissa X i exceeds the maximum value of inter-beat interval, and deleting the scatter point two-dimensional coordinate XY i of which the scatter point ordinate Y i exceeds the maximum value of the inter-beat interval.

[0012] Preferably, performing scatter diagram resolution confirmation processing according to the sampling frequency and a preset maximum value of inter-beat interval to generate a scatter diagram resolution specifically comprises: performing maximum pixel number calculation according to the sampling frequency and the maximum value of the inter-beat interval to generate a maximum number of pixels a, a=sampling frequency * maximum value of inter-beat interval; and the number of horizontal pixels X of the scatter diagram resolution is set to the maximum number of pixels a, the number of vertical pixels Y of the scatter diagram resolution is set to the maximum number of pixels a, and the scatter diagram resolution = X*Y = a*a.

[0013] Preferably, performing scatter diagram initialization processing according to the scatter diagram resolution to generate a scatter diagram two-dimensional tensor specifically comprises: setting the scatter diagram two-dimensional tensor according to the scatter diagram resolution, the shape of the scatter diagram two-dimensional tensor being H 1 ×W 1 , H 1 being a two-dimensional parameter of the scatter diagram two-dimensional tensor, and H 1 =Y=a, the W 1 being a one-dimensional parameter of the scatter diagram two-dimensional tensor, and W 1 =X=a, the scatter diagram two-dimensional tensor comprising H 1 *W 1 pixel data D S,Z , and the value of the pixel data D S,Z being a preset first pixel value, the S being a horizontal subscript of the pixel data D S,Z , the value range of S is 1 to W 1 , Z being a vertical subscript of the pixel data D S,Z , and the value range of Z is 1 to H 1 .

[0014] Preferably, performing scatter point marking processing on the scatter diagram two-dimensional tensor according to the scatter point two-dimensional coordinate sequence specifically comprises: in the scatter diagram two-dimensional tensor, the value of the pixel data D S,Z matched with the scatter point two-dimensional coordinates XY i of the scatter point two-dimensional coordinate sequence is set to the preset second pixel value, the horizontal subscript S of the pixel data D S,Z being the same as the scatter point abscissa X i of the scatter point two-dimensional coordinates XY i , the vertical subscript Z of the pixel data D S,Z being the same as the scatter point ordinate Y i of the scatter point two-dimensional coordinates XY i .

[0015] Preferably, using a convolutional neural network of an artificial intelligence network to perform multilayer convolution pooling calculation on the scatter diagram two-dimensional tensor to generate a four-dimensional output tensor specifically comprises: according to a four-dimensional tensor input data format of the convolutional neural network, raising the shape of the scatter diagram two-dimensional tensor from a two-dimensional tensor shape to a four-dimensional tensor shape to generate a four-dimensional input tensor, the shape of the four-dimensional input tensor being B 1 ×H 2 ×W 2 ×C 1 , the B 1 being a four-dimensional parameter of the four-dimensional input tensor, and B 1 =1, the H 2 being a three-dimensional parameter of the four-dimensional input tensor, and H 2 =H 1 , the W 2 being a two-dimensional parameter of the four-dimensional input tensor, and W 2 =W 1 , the C 1 being a one-dimensional parameter of the four-dimensional input tensor, and C 1 =1; and sending the four-dimensional input tensor into a first convolutional network layer of the convolutional neural network for first-layer convolution pooling calculation to generate a first four-dimensional tensor, then sending the first four-dimensional tensor into a second convolutional network layer of the convolutional neural network for second-layer convolution pooling calculation to generate a second four-dimensional tensor, until finally, sending a penultimate four-dimensional tensor into a last convolutional network layer of the convolutional neural network for last-layer convolution pooling calculation to generate the four-dimensional output tensor, the convolutional neural network comprising a plurality of convolutional network layers, the convolutional network layer comprising a convolution layer and a pooling layer, the shape of the four-dimensional output tensor being B 2 xH 3 xW 3 xC 2 , the B 2 being a four-dimensional parameter of the four-dimensional output tensor, and B 2 =B 1 =1, the H 3 being a three-dimensional parameter of the four-dimensional output tensor, the W 3 being a two-dimensional parameter of the four-dimensional output tensor, and the C 2 being a one-dimensional parameter of the four-dimensional output tensor, wherein sending the four-dimensional input tensor into a first convolutional network layer of the convolutional neural network for first-layer convolution pooling calculation to generate a first four-dimensional tensor is to send the four-dimensional input tensor to a first convolution layer of the first convolutional network layer for first convolution calculation to generate a first convolution four-dimensional tensor, and then send the first convolution four-dimensional tensor into a first pooling layer of the first convolutional network layer for first pooling calculation to generate the first four-dimensional tensor.

[0016] Preferably, using the fully connected neural network of the artificial intelligence network to perform multilayer full connection calculation on the four-dimensional output tensor to generate a two-dimensional output tensor specifically comprises: according to a two-dimensional tensor input data format of the fully connected neural network, reducing the shape of the four-dimensional output tensor from a four-dimensional tensor shape to a two-dimensional tensor shape to generate a two-dimensional input tensor, the shape of the two-dimensional input tensor being B 3 ×W 4 , the B 3 being a two-dimensional parameter of the two-dimensional input tensor, and B 3 =B 2 =1, the W 4 being a one-dimensional parameter of the two-dimensional input tensor, and W 4 = H 3 *W 3 *C 2 ; and sending the two-dimensional input tensor into a first fully connected layer of the fully connected neural network for first-layer full connection calculation to generate a first two-dimensional tensor, then sending the first two-dimensional tensor to a second fully connected layer of the fully connected neural network for second-layer full connection calculation to generate a second two-dimensional tensor, until finally sending a penultimate two-dimensional tensor into a last fully connected layer of the fully connected neural network for last-layer full connection calculation to generate the two-dimensional output tensor, the fully connected neural network comprising a plurality of fully connected layers, the shape of the two-dimensional output tensor being B 4 ×W 5 , the B 4 being a two-dimensional parameter of the two-dimensional output tensor, and B 4 =B 3 =1, the W 5 being a one-dimensional parameter of the two-dimensional output tensor, and W 5 =2, and the two-dimensional output tensor comprising two data: classification reasonable weight data and classification unreasonable weight data.

[0017] Preferably, using the normalization processing layer of the artificial intelligence network to perform normalization index calculation on the two-dimensional output tensor to generate a normalization two-dimensional tensor specifically comprises: sending the two-dimensional output tensor into the normalization processing layer for normalization index calculation of the classification reasonable weight data and the classification unreasonable weight data to generate a classification reasonable probability and a classification unreasonable probability, the sum of the classification reasonable probability and the classification unreasonable probability being 1; and forming the normalization two-dimensional tensor by the classification reasonable probability and the classification unreasonable probability, the shape of the normalization two-dimensional tensor being B 5 ×W 6 , the B 5 being a two-dimensional parameter of the normalization two-dimensional tensor, and B 5 =B 4 =1, the W 6 being a one-dimensional parameter of the normalization two-dimensional tensor, and W 6 =W 5 =2, and the normalization two-dimensional tensor comprising two data: the classification reasonable probability and the classification unreasonable probability.

[0018] Preferably, performing classification confirmation processing according to the normalization two-dimensional tensor to generate confirmation data (the confirmation data comprising classification reasonable information and classification unreasonable information) specifically comprises: taking the classification reasonable information as the confirmation data when the classification reasonable probability is higher than the classification unreasonable probability; and taking the classification unreasonable information as the confirmation data when the classification reasonable probability is lower than the classification unreasonable probability.

[0019] A second aspect of the embodiment of the invention provides a scatter diagram classification device for a PPG signal, comprising: an acquisition module for acquiring the PPG signal; a sampling module for performing signal sampling processing on the PPG signal according to a preset sampling frequency to generate a PPG sampling signal; a scatter diagram module for performing scatter point two-dimensional coordinate preparation processing according to the PPG sampling signal to generate a scatter point two-dimensional coordinate sequence; performing scatter diagram resolution confirmation processing according to the sampling frequency and a preset maximum value of an inter-beat interval to generate a scatter diagram resolution; performing scatter diagram initialization processing according to the scatter diagram resolution to generate a scatter diagram two-dimensional tensor; and performing scatter point marking on the scatter diagram two-dimensional tensor according to the scatter point two-dimensional coordinate sequence; an artificial intelligence calculation module for using a convolutional neural network of an artificial intelligence network to perform multilayer convolution pooling calculation on the scatter diagram two-dimensional tensor to generate a four-dimensional output tensor; using a fully connected neural network of the artificial intelligence network to perform multilayer full connection calculation on the four-dimensional output tensor to generate a two-dimensional output tensor; and using a normalization processing layer of the artificial intelligence network to perform normalization index calculation on the two-dimensional output tensor to generate a normalization two-dimensional tensor, the artificial intelligence network comprising the convolutional neural network, the fully connected neural network and the normalization processing layer; and a classification confirmation module for performing classification confirmation processing according to the normalization two-dimensional tensor to generate confirmation data, the confirmation data comprising classification reasonable information and classification unreasonable information.

[0020] A third aspect of the embodiment of the invention provides a computer program product, which comprises a computer program code that, when executed by a computer, causes the computer to perform the method described in the first aspect.

[0021] A fourth aspect of the embodiment of the invention provides a computer-readable storage medium, which stores computer instructions that, when executed by a computer, cause the computer to execute the method described in the first aspect.

[0022] The embodiment of the invention provides a scatter diagram classification method and device for a PPG signal, a computer program product and a computer readable storage medium. By extracting inter-beat interval data from PPG signals to generate a scatter diagram, and then introducing the scatter diagram into an artificial intelligence network for confirming the type of the scatter diagram for type confirmation, therefore the scatter diagram generation difficulty is reduced, and the application scenarios of PPG in the field of health monitoring are enriched.BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Fig. 1 is a diagram of a scatter diagram classification method for a photoplethysmography (PPG) signal provided in the first embodiment of the invention, Fig. 2 is a diagram of a PPG sampling signal provided in the first embodiment of the invention, Fig. 3 is a scatter diagram provided by the first embodiment of the invention, Fig. 4a is a structural schematic diagram of an artificial intelligence network provided in the first embodiment of the invention, Fig. 4b is a structural schematic diagram of a convolutional neural network provided in the first embodiment of the invention, Fig. 4c is a structural schematic diagram of a fully connected neural network provided by the first embodiment of the invention, Fig. 5 is a modular structure diagram of a scatter diagram classification device for a photoplethysmography (PPG) signal provided in the second embodiment of the invention; and Fig. 6 is a structural schematic diagram of electronic equipment provided by the third embodiment of the invention. DETAILED DESCRIPTION OF THE INVENTION

[0024] In order to make the object, technical solution and advantages of the invention clearer, the invention will be described in further detail below with reference to the accompanying drawings. The invention is defined by the claims.

[0025] Before the embodiment of the invention is described in detail, the structure and data formats of an artificial intelligence network for confirming scatter diagram classification mentioned above are briefly described.

[0026] After the artificial intelligence network performs corresponding classification confirmation calculation on a scatter diagram, two weight data are obtained: the classification reasonable weight data and the classification unreasonable weight data. The embodiment of the present invention finally obtains a classification confirmation result (reasonable classification and unreasonable classification) from the two weight data. For example, when the artificial intelligence network is specifically an atrial fibrillation scatter diagram confirmation network, atrial fibrillation scatter diagram classification confirmation calculation is performed for the current scatter diagram. When the classification confirmation result is reasonable classification, it is considered that the current scatter diagram is an atrial fibrillation scatter diagram, and when the classification confirmation result is unreasonable classification, it is considered that the current scatter diagram is not an atrial fibrillation scatter diagram.

[0027] The artificial intelligence network here is composed of a convolutional neural network, a fully connected neural network and a normalization processing layer. The convolutional neural network is composed of a plurality of convolutional network layers, and the fully connected neural network is composed of a plurality of fully connected layers.

[0028] The convolutional neural network is used to perform convolution calculation and pooling calculation of the scatter diagram, and outputs feature data for further learning and calculation by other networks. The convolutional neural network is composed of a plurality of convolutional network layers, and the output data of each convolutional network layer will be used as the input data of the next convolutional network layer. Each convolutional network layer consists of one convolution layer and one pooling layer. Wherein, the function of the convolution layer is convolution operation, and the purpose of convolution operation is to extract the features of the input data. The convolution layer of the first convolutional network layer extracts some low-level features (such as edges, lines, and angles), and the convolution layers of subsequent convolutional network layers will continuously iterate from low-level features and extract more complex high-level features. The pooling layer has two functions: one is to keep translation, rotation and scale invariance, and there are two commonly used processing methods: mean-pooling and max-pooling; the other function is to reduce the number of parameters and calculation amount of the next convolution layer on the premise of keeping the main features of the output data of the previous convolution layer, so as to prevent over-fitting.

[0029] Here, in each convolutional network layer, the scatter diagram will perform convolution operation with a convolution kernel with a fixed size. Generally, the shape of the convolution kernel is 3×3, 5×5, and 7×7. After each convolutional network layer, the output data will have a shape change relative to the input data, but still keep the four-dimensional tensor form: the input four-dimensional tensor (for example, the shape is P in4 ×P in3 ×P in2 ×P in1 ), and the output four-dimensional tensor (for example, the shape is P out4 ×P out3 ×P out2 ×P out1 ), wherein the P in4 , P in3 , P in2 and P in1 are four-dimensional, three-dimensional, two-dimensional and one-dimensional parameters of the input four-dimensional tensor respectively, and the P out4 , P out3 , P out2 and P out1 are four-dimensional, three-dimensional, two-dimensional and one-dimensional parameters of the output four-dimensional tensor respectively. After the calculation of each convolutional network layer, the shape of the output four-dimensional tensor is subjected to the following change in terms of dimensional parameters relative to the shape of the input four-dimensional tensor: (1) P out4 vs P in4 , the four-dimensional parameter does not change and is always 1 in the embodiment of the present invention; (2) P out3 and P out2 vs P in3 and P in2 , the three-dimensional parameter and the two-dimensional parameter change, which is related to the size of the convolution kernel and the setting of a sliding step of each convolution layer, as well as the size of a pooling window and a sliding step of the pooling layer; and (3) P out1 vs P in1 , the one-dimensional parameter changes, which is related to a selected output space dimension (the number of convolution kernels) in the convolution layer.

[0030] An output result of the convolutional neural network will be input into the fully connected layer of the fully connected neural network for the full connection calculation. The fully connected layer is a complex network structure formed by a large number of neurons (nodes) connected to each other, and is some kind of abstraction, simplification and simulation of the organization structure and operation mechanism of the human brain. Each fully connected layer comprises a plurality of nodes, each node is connected with all nodes of the previous layer to synthesize the node data extracted from the previous layer for one node calculation, and the calculation result is taken as the value of the current node to be connected to and acquired by nodes of the next fully connected layer. The node calculation here is also called the full connection calculation. Here, the input data and output data formats of each fully connected layer are two-dimensional tensors: the input two-dimensional tensor (for example, in the shape of Q in2 ×Q in1 ) and the output two-dimensional tensor (in the shape of Q out2 xQ out1 ), wherein Q in2 and Q in1 are two-dimensional and one-dimensional parameters of the input two-dimensional tensor, and Q out2 and Q out1 are two-dimensional and one-dimensional parameters of the output two-dimensional tensor. After the calculation of each fully connected layer, the shape of the output two-dimensional tensor is subjected to the following change in terms of dimensional parameters relative to the shape of the input two-dimensional tensor: (1) Q out2 vs Q in2 , the two-dimensional parameter does not change and is always 1 in the embodiment of the present invention; and (2) Q out1 vs Q in1 , the change of the one-dimensional parameter is related to the total number of nodes in the fully connected layer. Specifically, the total number of nodes of the last fully connected layer in the embodiment of the present invention is 2, and Q out1 is 2 accordingly.

[0031] It can be seen from the above that the output of the convolutional neural network is a four-dimensional tensor, and the input of the fully connected neural network is a two-dimensional tensor, so it is necessary to perform the reduce dimension processing on the output result of the convolutional neural network layer from the output four-dimensional tensor shape (P out4 ×P out3 ×P out2 ×P out1 ) to the input two-dimensional tensor shape (Q in2 xQ in1 ) of the fully connected neural network. The two-dimensional tensor shape finally output by the fully connected neural network should be 1×2, and the two data in the two-dimensional tensor are the two weight data obtained after the artificial intelligence network performs classification confirmation calculation on the scatter diagram: the classification reasonable weight data and the classification unreasonable weight data.

[0032] After the fully connected neural network outputs the two weight data, the normalization processing layer is used to normalize the weight data. Specifically, the normalization processing layer will use a Softmax function (the normalization exponential function) to perform normalization exponential calculation on the two weight data, and convert the two weight data into two probabilities less than 1, so as to facilitate subsequent classification confirmation judgment. Here, the two probabilities are: classification reasonable probability and classification unreasonable probability, and the sum of the two probability data should be 1.

[0033] Finally, the embodiment of the present invention will select the one with a larger value from the two probabilities as a classification confirmation result, that is, if the one with a larger value is the classification reasonable probability, then the classification result is reasonable classification, and if the one with a larger value is the classification unreasonable probability, then the classification result is unreasonable classification.

[0034] According to the scatter diagram classification method for a PPG signal provided by the first embodiment of the present invention, inter-beat interval data are extracted from PPG signals to generate a scatter diagram, then the scatter diagram is introduced into an artificial intelligence network for confirming the type of the scatter diagram for type confirmation, and finally the classification confirmation result is obtained according to the weight data output by the artificial intelligence network. As shown in Fig. 1 which is a diagram of a scatter diagram classification method for a PPG signal provided in the first embodiment of the invention, the method mainly comprises the following steps.

[0035] Step 1, acquiring the PPG signal.

[0036] Specifically, the equipment may acquire a real-time PPG signal of a test object through a local PPG signal acquisition device, and may also acquire the real-time PPG signal of the test object through a PPG signal acquisition device of other equipment connected to the equipment itself. And may also acquire the historical PPG signal of the test object from a local storage medium or a storage medium of other equipment connected to the equipment itself.

[0037] Here, the equipment is specifically a terminal equipment or a server for implementing the method provided by the embodiment of the present invention.

[0038] For example, the acquired PPG signal is a real-time PPG signal with a length of 30 minutes.

[0039] Step 2, performing signal sampling processing on the PPG signal according to a preset sampling frequency to generate a PPG sampling signal.

[0040] Here, the sampling frequency is used to sample the PPG signal, and the sampling frequency is stored in a local storage medium of the equipment. The PPG sampling signal, as shown in the diagram of a PPG sampling signal provided in the first embodiment of the invention in Fig. 2, comprises a plurality of signal waveforms, and each signal waveform comprises a plurality of signal points.

[0041] For example, if the length of the PPG signal is 30 minutes and the sampling frequency is 250 Hz, the length of the PPG sampling signal is also 30 minutes, and there are 250 * 60 * 30 = 450,000 signal points.

[0042] Step 3, performing scatter point two-dimensional coordinate preparation processing according to the PPG sampling signal to generate a scatter point two-dimensional coordinate sequence.

[0043] Specifically including the following steps: step 31, sequentially extracting time information corresponding to maximum amplitude signal points of signal waveforms from the PPG sampling signal to generate peak time data, and forming a peak time data sequence from the peak time data, wherein the number of the peak time data of the peak time data sequence is a first total number n.

[0044] Here, as shown in Fig. 2, in each signal waveform, a signal point with the largest signal amplitude is the maximum amplitude signal point, and the time information corresponding to the maximum amplitude signal point is the peak time data.

[0045] For example, if the length of the PPG sampling signal is 30 minutes and there are 1800 maximum amplitude signal points, then the first total number n=1800, and the peak time data sequence comprises 1800 peak time data.

[0046] Step 32, taking the peak time data corresponding to the first index i' as current peak time data in the peak time data sequence, performing absolute difference calculation on the current peak time data and a peak time data before the current peak time data to generate a scatter point abscissa X i corresponding to the second index i, and performing absolute difference calculation on the current peak time data and peak time data after the current peak time data to generate a scatter point ordinate Y i corresponding to the second index i; and forming scatter point two-dimensional coordinates XY i by the scatter point abscissa X i and the scatter point ordinate Y i .

[0047] Wherein the scatter point two-dimensional coordinates XY i are (X i ,Y i ), the first index i' is an index number of the peak time data, the value range of the first index i' is 2 to n-1, the second index i is an index number of the scatter point two-dimensional coordinates XY i , i=i'-1, and the value range of the second index i is 1 to n-2.

[0048] Here, as shown in Fig. 2, the absolute difference between two adjacent peak time data is the inter-beat interval. because the scatter point two-dimensional coordinates of the scatter diagram are generated by taking a previous inter-beat interval of certain peak time data as the scatter point abscissa and a next inter-beat interval as the scatter point ordinate, when selecting the previous peak time data, it is necessary to exclude the first peak time data (without a previous peak time data) and the nth peak time data (without a next peak time data), so the value range of the first index i' is 2 to n-1. In addition, since the calculated scatter point two-dimensional coordinates need to be counted from the first coordinates, thereby the second index i=i'+1, herein the second index i is used to identify the first to the n-2th scatter point two-dimensional coordinates.

[0049] For example, if the first total number n=1800 and the peak time data sequence comprises 1800 peak time data, then, when i'=2, the second peak time data is used as the current peak time data, the first peak time data is used as the previous peak time data, the third peak time data is used as the next peak time data, the generated the ith (here i=i'-1=2-1=1) scatter point two-dimensional coordinates XY 1 is (X 1 , Y 1 ), where the scatter point abscissa X 1 =|second peak time data - first peak time data|, and the scatter point ordinate Y 1 =|third peak time data - second peak time data|, here ∥ is an absolute value operator.

[0050] When i'=3, the third peak time data is used as the current peak time data, the second peak time data is used as the previous peak time data, the fourth peak time data is used as the next peak time data, the generated the ith (here i=i'-1=3-1=2) scatter point two-dimensional coordinates XY 2 is (X 2 ,Y 2 ), where the scatter point abscissa X 2 = |third peak time data-second peak time data|, and the scatter point ordinate Y 2 = |fourth peak time data-third peak time data|.

[0051] And so on, when i'=n-1=1800-1=1799, the 1799th peak time data is used as the current peak time data, the 1798th peak time data is used as the previous peak time data, the 1800th peak time data is used as the next peak time data, the generated ith (here i=i'-1=1799-1=1798) scatter point two-dimensional coordinates XY 1798 is (X 1798 , Y 1798 ), where the scatter point abscissa X 1798 =|1799th peak time data-1798th peak time data|, and the scatter point ordinate Y 1798 =|1800th peak time data-1799th peak time data|.

[0052] Step 33, forming the scatter point two-dimensional coordinate sequence by n-2 scatter point two-dimensional coordinates XY i .

[0053] Wherein the scatter point two-dimensional coordinate sequence is (XY 1 ,...XY i ,...XY n-2 ).

[0054] Here, the total number of scatter points obtained by the PPG sampling signal is n-2.

[0055] For example, if the first total number n=1800 and the peak time data sequence comprises 1800 peak time data, then the scatter point two-dimensional coordinate sequence is (XY 1 ,...XY i ,...XY 1798 ).

[0056] Step 34, only keeping one of the plurality of identical scatter point two-dimensional coordinates XY i in the scatter point two-dimensional coordinate sequence, deleting the scatter point two-dimensional coordinate XY i of which the scatter point abscissa X i exceeds the maximum value of inter-beat interval, and deleting the scatter point two-dimensional coordinate XY i of which the scatter point ordinate Y i exceeds the maximum value of the inter-beat interval.

[0057] Here, the maximum value of the inter-beat interval is stored in the local storage medium of the equipment.

[0058] Here, clear the redundant scatter points first, which are scatter points with the same scatter point two-dimensional coordinates XY i . The clearing method is to keep only one of them and delete the other redundant scatter point two-dimensional coordinates XY i . Then, clear the error scatter points which are too discrete. The embodiment of the present invention uses the maximum value of the inter-beat interval to identify the error scatter points. Because both the abscissa and ordinate of the scatter point two-dimensional coordinates XY i are actually the inter-beat intervals, the scatter point two-dimensional coordinates XY i of which the abscissa and ordinate exceed the maximum value of the inter-beat interval are all recorded as the error scatter point and deleted from the scatter point two-dimensional coordinate sequence.

[0059] For example, the first total number n=7, the peak time data sequence comprises 7 peak time data, and the scatter point two-dimensional coordinate sequence is (XY 1 ,XY 2 ,XY 3 ,XY 4 ,XY 5 ), wherein XY 1 is (1,1), XY 2 is (3,1), XY 3 is (2,1), XY 4 is (1,3), XY 5 is (1,1), and the maximum value of the inter-beat interval is 2 seconds. First, delete one of XY 1 and XY 5 with the same coordinates (assuming XY 5 is deleted), then delete the XY 2 of which the abscissa exceeds the maximum value of the inter-beat interval and the XY 4 of which the ordinate exceeds the maximum value of the inter-beat interval, and finally, after redundancy removal and error removal, the scatter point two-dimensional coordinate sequence is (XY 1 ,XY 3 ), which means that the total number of scatter points at this time have been changed from the previous five to two.

[0060] Step 4, performing scatter diagram resolution confirmation processing according to the sampling frequency and a preset maximum value of an inter-beat interval to generate a scatter diagram resolution.

[0061] Specifically comprising the following steps: step 41, performing maximum pixel number calculation according to the sampling frequency and the maximum value of the inter-beat interval to generate a maximum number of pixels a, a=sampling frequency * maximum value of inter-beat interval.

[0062] Here, if the scatter diagram two-dimensional tensor to be obtained later is regarded as a pixel graph, the tensor shape of the pixel graph needs to be set by calculating a resolution, the resolution is the number of horizontal pixels × the number of vertical pixels, wherein the number of horizontal pixels should be a maximum number of pixels in a horizontal axis direction and the number of vertical pixels should be a maximum number of pixels in a vertical axis direction. It is also known that a maximum boundary value between a horizontal axis and a vertical axis is the maximum value of the inter-beat interval, then after the minimum accuracy in the horizontal axis direction is obtained, the maximum number of pixels in the horizontal axis direction=the maximum boundary value / the minimum accuracy in the horizontal axis direction, and similarly, the maximum number of pixels in the vertical axis direction=the maximum boundary value / the minimum accuracy in the vertical axis direction. Because the interval between two signal points on the PPG sampling signal should be 1 / sampling frequency (second), and both the minimum value and minimum accuracy of the inter-beat interval should be 1 / sampling frequency, that is, the minimum accuracy in the horizontal axis direction and the vertical axis direction should be 1 / sampling frequency. Therefore, the maximum number of pixels in the horizontal axis direction = the maximum boundary value / the minimum accuracy in the horizontal axis direction = maximum boundary value / (1 / sampling frequency)=maximum boundary value * sampling frequency, and the maximum number of pixels in the horizontal axis direction=the maximum boundary value / the minimum accuracy in the vertical axis direction=maximum boundary value / (1 / sampling frequency)=maximum boundary value * sampling frequency.

[0063] Because the maximum number of pixels in the horizontal axis direction is equal to the maximum number of pixels in the vertical axis direction, the calculation of the maximum number a of pixels is only done once in step 41.

[0064] For example, if the maximum value of the inter-beat interval is 2 seconds and the sampling frequency is 250 Hz, the maximum number of pixels a=2 * 250=500.

[0065] Step 42, setting the number of horizontal pixels X of the scatter diagram resolution as the maximum number of pixels a, and setting the number of vertical pixels Y of the scatter diagram resolution as the maximum number of pixels a.

[0066] Here, the scatter diagram resolution=X * Y=a * a.

[0067] As mentioned above, the resolution is the number of horizontal pixels × the number of vertical pixels.

[0068] For example, if the maximum value of the inter-beat interval is 2 seconds, the sampling frequency is 250 Hz, and the maximum number of pixels a=500, then the scatter diagram resolution is 500×500.

[0069] Step 5, performing scatter diagram initialization processing according to the scatter diagram resolution to generate a scatter diagram two-dimensional tensor.

[0070] Specifically comprising: setting a scatter diagram two-dimensional tensor according to the scatter diagram resolution.

[0071] Wherein the shape of the scatter diagram two-dimensional tensor is H 1 ×W 1 , H 1 is a two-dimensional parameter of the scatter diagram two-dimensional tensor, and H 1 =Y=a, W 1 is a one-dimensional parameter of the scatter diagram two-dimensional tensor, and W 1 =X=a, the scatter diagram two-dimensional tensor comprises H 1 *W 1 pixel data D S,Z , a value of the pixel data D S,Z is a preset first pixel value, S is a horizontal subscript of the pixel data D S,Z , the value range of S is 1 to W 1 , Z is a vertical subscript of the pixel data D S,Z , and the value range of Z is 1 to H 1 .

[0072] Here, the first pixel value is stored in the local storage medium of the equipment, and the default first pixel value is set to 0.

[0073] Here, the scatter diagram two-dimensional tensor is used to store the pixel values of all the pixels of the scatter diagram. The scatter diagram resolution is the number of horizontal pixels X × the number of vertical pixels Y(a×a). The shape of the scatter diagram two-dimensional tensor should correspond to the scatter diagram resolution, so the two-dimensional parameter and the one-dimensional parameter of the scatter diagram two-dimensional tensor are H 1 =Y=a and W 1 =X=a respectively. The pixel data D S,Z is the data in the scatter diagram two-dimensional tensor, and the specific value is a pixel value of a corresponding pixel point.

[0074] For example, if the maximum value of the inter-beat interval is 2 seconds, the sampling frequency is 250 Hz, the maximum number of pixels a=500, the scatter diagram resolution is 500×500, and the first pixel value is 0 by default, then H 1 =Y=a=500, W 1 =X=a=500, and the shape of the scatter diagram two-dimensional tensor is 500×500. The data of the scatter diagram two-dimensional tensor are: D 1 , 1 ⋯ D 500 , 1 ⋯ D S , Z ⋯ D 1 , 500 ⋯ D 500 , 500

[0075] Wherein the value range of the horizontal subscript S of the pixel data D S,Z if 1 to 500, and the value range of the vertical subscript Z of the pixel data D S,Z is 1 to 500. The value of each pixel data D S,Z is set to 0 by default. At this time, the scatter diagram two-dimensional tensor can be regarded as a blank scatter diagram.

[0076] Step 6, performing scatter point marking processing on the scatter diagram two-dimensional tensor according to the scatter point two-dimensional coordinate sequence.

[0077] Specifically comprising: in the scatter diagram two-dimensional tensor, setting the value of the pixel data D S,Z matched with the scatter point two-dimensional coordinates XY i of the scatter point two-dimensional coordinate sequence as a preset second pixel value.

[0078] Wherein the horizontal subscript S of the pixel data D S,Z is the same as the scatter point abscissa X i of the scatter point two-dimensional coordinates XY i , and the vertical subscript Z of the pixel data D S,Z is the same as the scatter point ordinate Y i of the scatter point two-dimensional coordinates XY i .

[0079] Here, the second pixel value is stored in the local storage medium of the equipment, and the default value of the second pixel value is set to 1.

[0080] Here, in the scatter diagram two-dimensional tensor output in step 6, scatter points obtained in step 3 are marked, and the basis of the marking process is the scatter point two-dimensional coordinates output in step 3.

[0081] For example, the first total number n=1800, the peak time data sequence comprises 1800 peak time data, and the scatter point two-dimensional coordinate sequence is (XY 1 ,...XY i ,...XY 1798 ), and there is no redundant or error scatter point. The maximum value of the inter-beat interval is 2 seconds, the sampling frequency is 250 Hz, the shape of the scatter diagram two-dimensional tensor is 500×500, the second pixel value is 1 by default, and the data of the scatter diagram two-dimensional tensor are: D 1 , 1 ⋯ D 500 , 1 ⋯ D S , Z ⋯ D 1 , 500 ⋯ D 500 , 500

[0082] Then, in the scatter diagram two-dimensional tensor, setting the value of the pixel data D S,Z matched with the scatter point two-dimensional coordinates XY i of the scatter point two-dimensional coordinate sequence as a preset second pixel value is to set the value of the pixel data D S,Z of which data subscripts are the same as the scatter point two-dimensional coordinates as the second pixel value (set as 1) in a data area of the above two-dimensional tensor. Suppose that the scatter point two-dimensional coordinates XY i in the scatter point two-dimensional coordinate sequence is specifically (1,1), then, the value of D 1,1 is set to 1. suppose that the scatter point two-dimensional coordinates XY i in the scatter point two-dimensional coordinate sequence is specifically (9,8), then, the value of D 9,8 is set to 1, and so on, until the values of the pixel data D S,Z corresponding to all the scatter point two-dimensional coordinates XY i in the scatter point two-dimensional coordinate sequence is set. At this point, the scatter diagram two-dimensional tensor can be regarded as a scatter diagram that has finished scatter point marking, as shown in the scatter diagram provided by the first embodiment of the present invention in Fig. 3.

[0083] Step 7, using a convolutional neural network of an artificial intelligence network to perform multilayer convolution pooling calculation on the scatter diagram two-dimensional tensor to generate a four-dimensional output tensor.

[0084] Wherein the artificial intelligence network, as shown in Fig. 4a which is a structural diagram schematic of an artificial intelligence network provided in the first embodiment of the present invention, comprises a convolutional neural network, a fully connected neural network and a normalization processing layer.

[0085] Specifically comprising: step 71, according to a four-dimensional tensor input data format of the convolutional neural network, raising the shape of the scatter diagram two-dimensional tensor from a two-dimensional tensor shape to a four-dimensional tensor shape to generate a four-dimensional input tensor.

[0086] Wherein the shape of the four-dimensional input four-dimensional tensor is B 1 ×H 2 ×W 2 ×C 1 , B 1 is a four-dimensional parameter of the four-dimensional input four-dimensional tensor, and B 1 =1, H 2 is a three-dimensional parameter of the four-dimensional input four-dimensional tensor, and H 2 =H 1 , W 2 is a two-dimensional parameter of the four-dimensional input four-dimensional tensor, and W 2 =W 1 , C 1 is a one-dimensional parameter of the four-dimensional input four-dimensional tensor, and C 1 =1.

[0087] Here, the shape of the scatter diagram two-dimensional tensor is raised from the two-dimensional tensor shape to the four-dimensional tensor shape, and the process only resets the tensor shape without destroying the actual data order in the tensor.

[0088] For example, if the scatter diagram two-dimensional tensor [500,500] is raised from the two-dimensional tensor shape to the four-dimensional tensor shape, B 1 =1, H 2 =H 1 =500, W 2 =W 1 =500, C 1 =1, then the shape of the four-dimensional input tensor is 1×500×500×1, which is expressed as the four-dimensional input tensor [1,500,500,1] here.

[0089] Step 72, sending the four-dimensional input tensor into a first convolutional network layer of the convolutional neural network for first-layer convolution pooling calculation to generate a first four-dimensional tensor, then sending the first four-dimensional tensor into a second convolutional network layer of the convolutional neural network for second-layer convolution pooling calculation to generate a second four-dimensional tensor, until finally, sending a penultimate four-dimensional tensor into the last convolutional network layer of the convolutional neural network for last-layer convolution pooling calculation to generate the four-dimensional output tensor.

[0090] Wherein the convolutional neural network comprises a plurality of convolutional network layers, the convolutional network layer comprises a convolution layer and a pooling layer, the shape of the four-dimensional output tensor is B 2 xH 3 xW 3 ×C 2 , B 2 is a four-dimensional parameter of the four-dimensional output tensor, and B 2 =B 1 =1, H 3 is a three-dimensional parameter of the four-dimensional output tensor, W 3 is a two-dimensional parameter of the four-dimensional output tensor, and C 2 is a one-dimensional parameter of the four-dimensional output tensor.

[0091] Wherein, the four-dimensional input tensor is sent to the first convolutional network layer of the convolutional neural network for first-layer convolution pooling calculation to generate the first four-dimensional tensor, specifically, the four-dimensional input tensor is sent to the first convolution layer of the first convolutional network layer for the first convolution calculation to generate a first convolution four-dimensional tensor, and then, the first convolution four-dimensional tensor is sent to the first pooling layer of the first convolutional network layer for the first pooling calculation to generate the first four-dimensional tensor.

[0092] For example, the convolutional neural network comprises four convolutional network layers, and its network structure is shown in a structural diagram schematic of a convolutional neural network provided by the first embodiment of the present invention in Fig. 4b, then, the four-dimensional input tensor is sent into the first convolution layer of the first convolutional network layer of the convolutional neural network for the first convolution calculation to generate a first convolution four-dimensional tensor, and the first convolution four-dimensional tensor is sent into the first pooling layer for the first pooling calculation to generate the first four-dimensional tensor.

[0093] The first four-dimensional tensor is sent into a second convolution layer of a second convolutional network layer of the convolutional neural network for the second convolution calculation to generate a second convolution four-dimensional tensor, and the second convolution four-dimensional tensor is sent into a second pooling layer for the second pooling calculation to generate a second four-dimensional tensor.

[0094] The second four-dimensional tensor is sent into a third convolution layer of a third convolutional network layer of the convolutional neural network for the third convolution calculation to generate a third convolution four-dimensional tensor, and the third convolution four-dimensional tensor is sent into a third pooling layer for the third pooling calculation to generate a third four-dimensional tensor, and the third four-dimensional tensor is sent into a fourth convolution layer of a fourth convolutional network layer of the convolutional neural network for the fourth convolution calculation to generate a fourth convolution four-dimensional tensor, and the fourth convolution four-dimensional tensor is sent into a fourth pooling layer for the fourth pooling calculation to finally obtain the four-dimensional input tensor.

[0095] As can be seen from the foregoing, in the convolutional neural network, after each convolution layer or pooling layer, the shape of the input data will change, but the four-dimensional tensor form does not change, and the four-dimensional parameter will not change. The change of the three-dimensional and second-dimensional parameters is related to the size of a convolution kernel and the setting of a sliding step of each convolution layer, as well as the size of a pooling window and a sliding step of the pooling layer, and the change of the one-dimensional parameter is related to a selected output space dimension (the number of convolution kernels) in the convolution layer. In practical application, the setting of the number of layers in the network and various parameters of each layer may be constantly revised according to experience and experimental results.

[0096] Step 8, using the fully connected neural network of the artificial intelligence network to perform multi-layer full connection calculation on the four-dimensional output tensor to generate a two-dimensional output tensor.

[0097] Specifically comprising: step 81, according to a two-dimensional tensor input data format of the fully connected neural network, reducing the shape of the four-dimensional output tensor from a four-dimensional tensor shape to a two-dimensional tensor shape to generate a two-dimensional input tensor.

[0098] Wherein the shape of the two-dimensional input tensor is B 3 ×W 4 , B 3 is a two-dimensional parameter of the two-dimensional input tensor, and B 3 =B 2 =1, W 4 is a one-dimensional parameter of the two-dimensional input tensor, and W 4 = H 3 *W 3 *C 2 .

[0099] Here, the shape of the four-dimensional output tensor is reduced from the four-dimensional tensor shape to the two-dimensional tensor shape, and the process only resets the tensor shape without destroying the actual data order in the tensor.

[0100] For example, if the shape of the output four-dimensional tensor of the convolutional neural network is 1×2×20×64, then B 3 =B 2 =1, W 8 =H 3 *W 3 *C 2 =2*20*64=2560, and the shape of the two-dimensional input tensor should be 1×2560, which is expressed here as the two-dimensional input tensor [1,2560].

[0101] Step 82, sending the two-dimensional input tensor into a first fully connected network layer of the fully connected neural network for first-layer full connection calculation to generate a first two-dimensional tensor, then sending the first two-dimensional tensor into a second fully connected network layer of the fully connected neural network for second-layer full connection calculation to generate a second two-dimensional tensor, and finally, sending a penultimate two-dimensional tensor into a last fully connected network layer of the fully connected neural network for last-layer full connection calculation to generate the two-dimensional output tensor.

[0102] Wherein the fully connected neural network comprises multiple fully connected layers, the shape of the two-dimensional output tensor is B 4 XW 5 , B 4 is a two-dimensional parameter of the two-dimensional output tensor, and B 4 =B 3 =1, W 5 is a one-dimensional parameter of the two-dimensional output tensor, and W 5 =2, and the two-dimensional output tensor comprises two data: classification reasonable weight data and classification unreasonable weight data.

[0103] For example, the fully connected neural network comprises four fully connected layers, and its network structure is shown in Fig. 4c, which is a structural diagram schematic of a fully connected neural network provided by the first embodiment of the present invention, then the two-dimensional input tensor is sent into the first fully connected layer of the fully connected neural network for first-layer full connection calculation to generate the first two-dimensional tensor.

[0104] The first two-dimensional tensor is sent into the second fully connected layer of the fully connected neural network for second-layer full connection calculation to generate the second two-dimensional tensor.

[0105] The second two-dimensional tensor is sent into a third fully connected layer of the fully connected neural network for third-layer full connection calculation to generate a third two-dimensional tensor.

[0106] The third two-dimensional tensor is sent into a fourth fully connected layer of the fully connected neural network for second-layer full connection calculation to finally obtain the two-dimensional output tensor.

[0107] Here, B 4 =B 3 =1, the number of nodes in the last fully connected layer is 2(W 5 =2), and the shape of the corresponding final two-dimensional output tensor is specifically 1×2, which is expressed as two-dimensional output tensor [1,2], and the data of the two-dimensional output tensor [1,2] is (classification reasonable weight data, classification unreasonable weight data).

[0108] Step 9, using the normalization processing layer of the artificial intelligence network to perform normalization index calculation on the two-dimensional output tensor to generate a normalization two-dimensional tensor.

[0109] Specifically comprising: step 91, sending the two-dimensional output tensor into a normalization processing layer for normalization index calculation of the classification reasonable weight data and the classification unreasonable weight data to generate a classification reasonable probability and a classification unreasonable probability.

[0110] Wherein the sum of the classification reasonable probability and the classification unreasonable probability is 1.

[0111] Here, the reason why the classification reasonable weight data and the classification unreasonable weight data are subjected to normalization index processing is that through a clear ratio relationship, on the one hand, it can be clear at a glance, and on the other hand, more probability data can be collected for trend analysis. Because the normalization is based on two data, the sum of the two probabilities should be 1.

[0112] Step 92, forming a normalization two-dimensional tensor by the classification reasonable probability and the classification unreasonable probability;

[0113] Wherein the shape of the normalization two-dimensional tensor is B 5 ×W 6 , B 5 is a two-dimensional parameter of the normalization two-dimensional tensor, and B 5 =B 4 =1, W 6 is a one-dimensional parameter of the normalization two-dimensional tensor, and W 6 =W 5 =2, and the normalization two-dimensional tensor comprises two data: classification reasonable probability and classification unreasonable probability.

[0114] For example, if the shape of the two-dimensional output tensor is 1×2, then B 5 =B 4 =1, W 6 =W 5 =2, the shape of the normalization two-dimensional tensor is also 1× 2, which is expressed as two-dimensional output tensor [1,2], and the data of the two-dimensional output tensor [1,2] is(classification reasonable probability, classification unreasonable probability).

[0115] Step 10, performing classification confirmation according to the normalization two-dimensional tensor to generate confirmation data.

[0116] Wherein the confirmation data comprise classification reasonable information and classification unreasonable information.

[0117] Specifically comprising: identifying whether the classification reasonable probability is higher than the classification unreasonable probability, and when the classification reasonable probability is higher than the classification unreasonable probability, taking the classification reasonable information as confirmation data, and when the classification reasonable probability is lower than the classification unreasonable probability, taking the classification unreasonable information as confirmation data.

[0118] Here, the confirmation data including the classification reasonable information and the classification unreasonable information are information stored in the local storage medium of the equipment.

[0119] Here, when the classification reasonable probability is higher than the classification unreasonable probability, it means that the probability of the artificial intelligence network identifying the current scatter diagram as a scatter diagram of a certain type is higher than the probability that it is not of the type. When the classification reasonable probability is lower than the classification unreasonable probability, it means that the probability of the artificial intelligence network identifying the current scatter diagram as a scatter diagram not of a certain type is higher than the probability that it is of the type.

[0120] For example, the artificial intelligence network is used to identify an atrial fibrillation scatter diagram, and the data of the two-dimensional output tensor [1,2] is (90%, 10%), where the classification reasonable probability=90%, the classification unreasonable probability=10%, the classification reasonable information is specifically "atrial fibrillation state", and the classification unreasonable information is specifically "non-atrial fibrillation state", then the embodiment of the present invention the confirmation data is set to classification reasonable information ("atrial fibrillation state"). After separate confirmation, the equipment gets the confirmation data of "atrial fibrillation state", and will immediately start a related early warning process.

[0121] Fig. 5 is a modular diagram schematic of a scatter diagram classification device for a PPG signal provided in a second embodiment of the present invention. The device maybe the terminal equipment or server described in the previous embodiment, or may be a device which enables the terminal equipment or server to implement the method provided in the embodiment of the invention, for example, the device maybe a device or chip system of the above-mentioned terminal equipment or server. As shown in Fig. 5, the device comprises: an acquisition module 51 for acquiring the PPG signal.

[0122] A sampling module 52 for performing signal sampling processing on the PPG signal according to a preset sampling frequency to generate a PPG sampling signal.

[0123] A scatter diagram module 53 for performing scatter point two-dimensional coordinate preparation processing according to the PPG sampling signal to generate a scatter point two-dimensional coordinate sequence; performing scatter diagram resolution confirmation processing according to the sampling frequency and a preset maximum value of an inter-beat interval to generate a scatter diagram resolution; performing scatter diagram initialization processing according to the scatter diagram resolution to generate a scatter diagram two-dimensional tensor; and performing scatter point marking on the scatter diagram two-dimensional tensor according to the scatter point two-dimensional coordinate sequence.

[0124] An artificial intelligence calculation module 54 for using a convolutional neural network of an artificial intelligence network to perform multilayer convolution pooling calculation on the scatter diagram two-dimensional tensor to generate a four-dimensional output tensor; using a fully connected neural network of the artificial intelligence network to perform multilayer full connection calculation on the four-dimensional output tensor to generate a two-dimensional output tensor; and using a normalization processing layer of the artificial intelligence network to perform normalization index calculation on the two-dimensional output tensor to generate a normalization two-dimensional tensor, the artificial intelligence network comprising the convolutional neural network, the fully connected neural network and the normalization processing layer, and a classification confirmation module 55 for performing classification confirmation processing according to the normalization two-dimensional tensor to generate confirmation data, the confirmation data comprising classification reasonable information and classification unreasonable information.

[0125] The scatter diagram classification device for a PPG signal provided by the embodiment of the present invention can perform the method steps in the above method embodiment, and its implementation principles and technical effects are similar, which will not be repeated here.

[0126] It should be understood that the division of different modules of the above device is based on logical functions, and in actual implementation, all or part of the modules can be integrated into a physical entity, or they can be physically separated. These modules can all be implemented in the form of software which can be called by processing elements, or all of them can be implemented in the form of hardware, or some modules are implemented in the form of software which can be called by processing elements, and some modules are implemented in the form of hardware. For example, the acquisition module may be a separate processing element, or may be integrated into a certain chip of the above-mentioned device, or it may be stored in a memory of the above-mentioned device in the form of program code, and called by a certain processing element of the above-mentioned device to implement the functions of the above-mentioned determination module. Other modules are implemented similarly. In addition, all or part of these modules may be integrated or implemented separately. The processing element described here may be an integrated circuit with signal processing capability. In the implementation process, each step of the above method or each module may be realized by an integrated logic circuit of hardware in the processor element or instructions in the form of software.

[0127] For example, the above modules may be one or more integrated circuits configured to implement the above method, such as one or more application specific integrated circuits (ASIC), one or more digital signal processors (DSP), one or more field programmable gate arrays (FPGA), etc. For another example, when one of the above modules is implemented in the form of a program code which can be called by a processing element, the processing element may be a general purpose processor, such as a central processing unit (CPU) or other processors which can call the program code. For example, these modules can be integrated and implemented in the form of system-on-a-chip (SOC).

[0128] In the above embodiments, the functional units can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, the functional units can be implemented in whole or in part by computer program products. The computer program product comprises one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the flow or function according to the embodiment of the invention is generated in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in the computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, Bluetooth and microwave) methods. The computer readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as server and data center that contains one or more available media integrations. The available medium may be magnetic medium (e.g., floppy disk, hard disk, magnetic tape), optical medium (e.g., DVD), or semiconductor medium (e.g. solid state disk (SSD)).

[0129] Fig. 6 is a structural diagram schematic of electronic equipment provided by the third embodiment of the present invention. The electronic equipment maybe the aforementioned terminal equipment or server, or maybe the terminal equipment or server connected to the aforementioned terminal equipment or server to realize the method of the embodiment of the invention. As shown in Fig. 6, the electronic equipment may comprise a processor 61 (for example, CPU), a memory 62, and a transceiver 63. The transceiver 63 is coupled to the processor 61, and the processor 61 controls the transceiving action of the transceiver 63. The memory 62 may store various instructions for accomplishing various processing functions and realizing the method and processing procedures provided in the above embodiments of the invention. Preferably, the electronic equipment according to the embodiment of the present invention further comprises a power supply 64, a system bus 65 and a communication port 66. The system bus 65 is configured to realize the communication between components. The communication port 66 is used for communication between the electronic equipment and other peripherals.

[0130] The system bus mentioned in Fig. 6 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus may be divided into an address bus, a data bus and a control bus. For convenience of representation, only a thick line is shown in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface is configured to realize the communication between a database access device and other devices (such as client, read-write library and read-only library). The memory may comprise a random access memory (RAM) or a non-volatile memory, such as at least one disk memory.

[0131] The above processor may be a general purpose processor, including a CPU, a network processor (NP), a graphics processing unit (GPU), etc., and may also be a DSP, an ASIC, an FPGA or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.

[0132] It should be noted that the embodiment of the present invention also provides a computer-readable storage medium, in which instructions are stored, which, when run on a computer, cause the computer to execute the method and processing procedures provided in the above embodiments.

[0133] An embodiment of the invention also provides a chip for running instructions, and the chip is configured to execute the method and processing procedures provided in the above embodiments.

[0134] An embodiment of the invention also provides a program product, which comprises a computer program stored in a storage medium. At least one processor may read the computer program from the storage medium, and the at least one processor executes the method and processing procedures provided in the above embodiments.

[0135] The embodiment of the invention provides a scatter diagram classification method and device for a PPG signal, electronic equipment, a computer program product and a computer readable storage medium. By extracting inter-beat interval data from PPG signals to generate a scatter diagram, and then introducing the scatter diagram into an artificial intelligence network for confirming the type of the scatter diagram for type confirmation, therefore the scatter diagram generation difficulty is reduced, and the application scenarios of PPG in the field of health monitoring are enriched.

[0136] Professionals should further realize that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software or a combination of the two. In order to clearly explain the interchangeability of hardware and software, the components and steps of each example have been generally described according to functions in the above description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical scheme. Professionals can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the invention.

[0137] The steps of a method or algorithm described in connection with the embodiments disclosed herein may be implemented in hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, register, hard disk, removable magnetic disk, CD-ROM, or any other form of storage medium known in the technical field.

[0138] The above-mentioned specific embodiments further explain the purpose, technical scheme and beneficial effects of the invention in detail. It should be understood that the invention is defined by the claims.

Claims

1. A computer-implemented scatter diagram classification method for a photoplethysmography (PPG) signal, wherein the method comprises: acquiring the PPG signal (1); performing signal sampling processing on the PPG signal according to a preset sampling frequency to generate a PPG sampling signal (2); performing scatter point two-dimensional coordinate preparation processing according to the PPG sampling signal to generate a scatter point two-dimensional coordinate sequence (3); characterized in that the method further comprises: performing scatter diagram resolution confirmation processing according to the sampling frequency and a preset maximum value of an inter-beat interval to generate a scatter diagram resolution (4); performing scatter diagram initialization processing according to the scatter diagram resolution to generate a scatter diagram two-dimensional tensor (5); performing scatter point marking processing on the scatter diagram two-dimensional tensor according to the scatter point two-dimensional coordinate sequence (6); using a convolutional neural network of an artificial intelligence network to perform multi-layer convolution pooling calculation on the scatter diagram two-dimensional tensor to generate a four-dimensional output tensor (7), the artificial intelligence network comprising the convolutional neural network, a fully connected neural network and a normalization processing layer; using the fully connected neural network of the artificial intelligence network to perform multi-layer full connection calculation on the four-dimensional output tensor to generate a two-dimensional output tensor (8); using the normalization processing layer of the artificial intelligence network to perform normalization index calculation on the two-dimensional output tensor to generate a normalization two-dimensional tensor (9); and performing classification confirmation processing according to the normalization two-dimensional tensor to generate confirmation data, the confirmation data comprising classification reasonable information and classification unreasonable information (10), wherein performing scatter point two-dimensional coordinate preparation processing according to the PPG sampling signal to generate a scatter point two-dimensional coordinate sequence specifically comprises: sequentially extracting time information corresponding to maximum amplitude signal points of signal waveforms from the PPG sampling signal to generate peak time data, and forming a peak time data sequence from the peak time data, the PPG sampling signal comprising a plurality of the signal waveforms, the signal waveform comprising a plurality of signal points, and the number of the peak time data of the peak time data sequence is a first total number n; taking the peak time data corresponding to the first index i' as current peak time data in the peak time data sequence, performing absolute difference calculation on the current peak time data and a peak time data before the current peak time data to generate a scatter point abscissa Xi corresponding to the second index i, and performing absolute difference calculation on the current peak time data and peak time data after the current peak time data to generate a scatter point ordinate Yi corresponding to the second index i, scatter point two-dimensional coordinates XYi being composed of the scatter point abscissa Xi and the scatter point ordinate Yi, the scatter point two-dimensional coordinates XYi being (Xi,Yi), the first index i' being an index number of the peak time data, and the value range of the first index i' is 2 to n-1, the second index i being an index number of the scatter point two-dimensional coordinates XYi, i=i'-1, and the value range of the second index i is 1 to n-2; n-2 scatter point two-dimensional coordinates XYi forming the scatter point two-dimensional coordinate sequence, wherein the scatter point two-dimensional coordinate sequence being (XY1,...XYi,...XYn-2); and only keeping one of the plurality of identical scatter point two-dimensional coordinates XYi in the scatter point two-dimensional coordinate sequence, deleting the scatter point two-dimensional coordinate XYi of which the scatter point abscissa Xi exceeds the maximum value of inter-beat interval, and deleting the scatter point two-dimensional coordinate XYi of which the scatter point ordinate Yi exceeds the maximum value of the inter-beat interval.

2. The scatter diagram classification method for a PPG signal according to claim 1, characterized in that performing scatter diagram resolution confirmation processing according to the sampling frequency and a preset maximum value of inter-beat interval to generate a scatter diagram resolution specifically comprises: performing maximum pixel number calculation according to the sampling frequency and the maximum value of the inter-beat interval to generate a maximum number of pixels a, a=sampling frequency * maximum value of inter-beat interval; and the number of horizontal pixels X of the scatter diagram resolution is set to the maximum number of pixels a, and the number of vertical pixels Y of the scatter diagram resolution is set to the maximum number of pixels a, and the scatter diagram resolution = X*Y = a*a.

3. The scatter diagram classification method for a PPG signal according to claim 2, characterized in that performing scatter diagram initialization processing according to the scatter diagram resolution to generate a scatter diagram two-dimensional tensor specifically comprises: setting the scatter diagram two-dimensional tensor according to the scatter diagram resolution, the shape of the scatter diagram two-dimensional tensor being Hi×W1, the H1 being a two-dimensional parameter of the scatter diagram two-dimensional tensor, and H1=Y=a, the W1 being a one-dimensional parameter of the scatter diagram two-dimensional tensor, and W1=X=a, the scatter diagram two-dimensional tensor comprising H1*W1 pixel data DS,Z, and the value of the pixel data DS,Z being a preset first pixel value, the S being a horizontal subscript of the pixel data DS,Z, the value range of S is 1 to W1, Z being a vertical subscript of the pixel data DS,Z, and the value range of Z is 1 to H1.

4. The scatter diagram classification method for a PPG signal according to claim 3, characterized in that performing scatter point marking processing on the scatter diagram two-dimensional tensor according to the scatter point two-dimensional coordinate sequence specifically comprises: in the scatter diagram two-dimensional tensor, the value of the pixel data DS,Z matched with the scatter point two-dimensional coordinates XYi of the scatter point two-dimensional coordinate sequence is set to the preset second pixel value, the horizontal subscript S of the pixel data DS,Z being the same as the scatter point abscissa Xi of the scatter point two-dimensional coordinates XYi, the vertical subscript Z of the pixel data DS,Z being the same as the scatter point ordinate Yi of the scatter point two-dimensional coordinates XYi.

5. The scatter diagram classification method for a PPG signal according to claim 3, characterized in that using a convolutional neural network of an artificial intelligence network to perform multi-layer convolution pooling calculation on the scatter diagram two-dimensional tensor to generate a four-dimensional output tensor specifically comprises: according to a four-dimensional tensor input data format of the convolutional neural network, raising the shape of the scatter diagram two-dimensional tensor from a two-dimensional tensor shape to a four-dimensional tensor shape to generate a four-dimensional input tensor, the shape of the four-dimensional input tensor being B1×H2×W2×C1, the B1 being a four-dimensional parameter of the four-dimensional input tensor, and B1=1, the H2 being a three-dimensional parameter of the four-dimensional input tensor, and H2=H1, the W2 being a two-dimensional parameter of the four-dimensional input tensor, and W2=W1, the C1 being a one-dimensional parameter of the four-dimensional input tensor, and C1=1; and sending the four-dimensional input tensor into a first convolutional network layer of the convolutional neural network for first-layer convolution pooling calculation to generate a first four-dimensional tensor, then sending the first four-dimensional tensor into a second convolutional network layer of the convolutional neural network for second-layer convolution pooling calculation to generate a second four-dimensional tensor, until finally, sending a penultimate four-dimensional tensor into a last convolutional network layer of the convolutional neural network for last-layer convolution pooling calculation to generate the four-dimensional output tensor, the convolutional neural network comprising a plurality of convolutional network layers, the convolutional network layer comprising a convolution layer and a pooling layer, the shape of the four-dimensional output tensor being B2×H3×W3×C2, the B2 being a four-dimensional parameter of the four-dimensional output tensor, and B2=B1=1, the H3 being a three-dimensional parameter of the four-dimensional output tensor, the W3 being a two-dimensional parameter of the four-dimensional output tensor, and the C2 being a one-dimensional parameter of the four-dimensional output tensor, wherein sending the four-dimensional input tensor into a first convolutional network layer of the convolutional neural network for first-layer convolution pooling calculation to generate a first four-dimensional tensor is to send the four-dimensional input tensor to a first convolution layer of the first convolutional network layer for first convolution calculation to generate a first convolution four-dimensional tensor, and then send the first convolution four-dimensional tensor into a first pooling layer of the first convolutional network layer for first pooling calculation to generate the first four-dimensional tensor.

6. The scatter diagram classification method for a PPG signal according to claim 5, characterized in that using the fully connected neural network of the artificial intelligence network to perform multi-layer full connection calculation on the four-dimensional output tensor to generate a two-dimensional output tensor specifically comprises: according to a two-dimensional tensor input data format of the fully connected neural network, reducing the shape of the four-dimensional output tensor from a four-dimensional tensor shape to a two-dimensional tensor shape to generate a two-dimensional input tensor, the shape of the two-dimensional input tensor being B3×W4, the B3 being a two-dimensional parameter of the two-dimensional input tensor, and B3=B2=1, the W4 being a one-dimensional parameter of the two-dimensional input tensor, and W4= H3*W3*C2; and sending the two-dimensional input tensor into a first fully connected layer of the fully connected neural network for first-layer full connection calculation to generate a first two-dimensional tensor, then sending the first two-dimensional tensor to a second fully connected layer of the fully connected neural network for second-layer full connection calculation to generate a second two-dimensional tensor, until finally sending a penultimate two-dimensional tensor into a last fully connected layer of the fully connected neural network for last-layer full connection calculation to generate the two-dimensional output tensor, the fully connected neural network comprising a plurality of fully connected layers, the shape of the two-dimensional output tensor being B4×W5, the B4 being a two-dimensional parameter of the two-dimensional output tensor, and B4=B3=1, the W5 being a one-dimensional parameter of the two-dimensional output tensor, and W5=2, and the two-dimensional output tensor comprising two data: classification reasonable weight data and classification unreasonable weight data.

7. The scatter diagram classification method for a PPG signal according to claim 6, characterized in that using the normalization processing layer of the artificial intelligence network to perform normalization index calculation on the two-dimensional output tensor to generate a normalization two-dimensional tensor specifically comprises: sending the two-dimensional output tensor into the normalization processing layer for normalization index calculation of the classification reasonable weight data and the classification unreasonable weight data to generate a classification reasonable probability and a classification unreasonable probability, the sum of the classification reasonable probability and the classification unreasonable probability being 1; and forming the normalization two-dimensional tensor by the classification reasonable probability and the classification unreasonable probability, the shape of the normalization two-dimensional tensor being B5×W6, the B5 being a two-dimensional parameter of the normalization two-dimensional tensor, and B5=B4=1, the W6 being a one-dimensional parameter of the normalization two-dimensional tensor, and W6=W5=2, and the normalization two-dimensional tensor comprising two data: the classification reasonable probability and the classification unreasonable probability.

8. The scatter diagram classification method for a PPG signal according to claim 7, characterized in that performing classification confirmation processing according to the normalization two-dimensional tensor to generate confirmation data (the confirmation data comprising classification reasonable information and classification unreasonable information) specifically comprises: taking the classification reasonable information as the confirmation data when the classification reasonable probability is higher than the classification unreasonable probability; and taking the classification unreasonable information as the confirmation data when the classification reasonable probability is lower than the classification unreasonable probability.

9. A scatter diagram classification device for a photoplethysmography (PPG) signal, characterized in that, the device comprising: an acquisition module (51) for acquiring the PPG signal; a sampling module (52) for performing signal sampling processing on the PPG signal according to a preset sampling frequency to generate a PPG sampling signal; a scatter diagram module (53) for performing scatter point two-dimensional coordinate preparation processing according to the PPG sampling signal to generate a scatter point two-dimensional coordinate sequence; performing scatter diagram resolution confirmation processing according to the sampling frequency and a preset maximum value of an inter-beat interval to generate a scatter diagram resolution; performing scatter diagram initialization processing according to the scatter diagram resolution to generate a scatter diagram two-dimensional tensor; and performing scatter point marking processing on the scatter diagram two-dimensional tensor according to the scatter point two-dimensional coordinate sequence; an artificial intelligence calculation module (54) for using a convolutional neural network of an artificial intelligence network to perform multi-layer convolution pooling calculation on the scatter diagram two-dimensional tensor to generate a four-dimensional output tensor; using a fully connected neural network of the artificial intelligence network to perform multi-layer full connection calculation on the four-dimensional output tensor to generate a two-dimensional output tensor; and using a normalization processing layer of the artificial intelligence network to perform normalization index calculation on the two-dimensional output tensor to generate a normalization two-dimensional tensor, the artificial intelligence network comprising the convolutional neural network, the fully connected neural network and the normalization processing layer; and a classification confirmation module (55) for performing classification confirmation processing according to the normalization two-dimensional tensor to generate confirmation data, the confirmation data comprising classification reasonable information and classification unreasonable information.

10. A computer program product comprising a computer program code that, when executed by a computer, causes the computer to execute the method according to any one of claims 1-8.

11. A computer-readable storage medium, which stores computer instructions that, when executed by a computer, cause the computer to execute the method according to any one of claims 1-8.