Summary of the invention
The embodiment of the present invention provides a kind of data processing method and system across hardware platform, to solve in the prior art
There are physiological data signals reading speed is slow, and the problem of can not acquire in real time and transmit physiological data signals.
Specific technical solution provided in an embodiment of the present invention is as follows:
A kind of physiological data signals processing method across hardware platform, comprising:
Physiological data signals are acquired, and determine the signal type of the physiological data signals;
Determine the corresponding preset signal analysis window size of signal type;
The physiological data signals are packaged according to the signal analysis window size;
Physiological data signals after encapsulation are sent to receiving end.
Optionally, physiological data signals are acquired, and determine the signal type of the physiological data signals, comprising:
According to the physiological data signals of acquisition, the changing rule of the physiological data signals is judged;
According to the changing rule of the physiological data signals, the signal type of the physiological data signals is determined.
Optionally, the corresponding preset signal analysis window size of signal type is determined, comprising:
According to the corresponding relationship between preset signal type and signal analysis window size, the corresponding class signal is determined
The preset signal analysis window size of type;Wherein, the corresponding signal analysis window size of a signal type is based on analysis institute
State what data volume required for the physiological data signals under a signal type determined.
Optionally, the physiological data signals are packaged according to the signal analysis window size, comprising:
According to the signal analysis window size, initial package length is determined;
Detect the congestion ratio of network transfer speeds and receiving end;
Congestion ratio based on the network transfer speeds and receiving end is adjusted the initial package length, obtains mesh
Mark package length;
The physiological data signals are packaged using the target envelope length.
Optionally, the congestion ratio based on the network transfer speeds and receiving end adjusts the initial package length
It is whole, target envelope length is obtained, further comprises:
If the network transfer speeds are less than or equal to preset transmission speed threshold value, and the congestion ratio is more than or equal in advance
If congestion ratio threshold value, then the fractional multiple based on the signal analysis window size carries out the initial package length
Adjustment obtains target envelope length;
If the network transfer speeds are more than or equal to preset transmission speed threshold value, and the congestion ratio is more than or equal in advance
If congestion ratio threshold value, alternatively, and congestion ratio is less than if network transfer speeds are less than or equal to preset transmission speed threshold value
Equal to preset congestion ratio threshold value, then be based on the signal analysis window size, by the initial package length directly as
Target envelope length;
If the network transfer speeds are more than or equal to preset transmission speed threshold value, and the congestion ratio is less than or equal in advance
If congestion ratio threshold value, then the integer multiple based on the signal analysis window size carries out the initial package length
Adjustment obtains target envelope length.
A kind of physiological data signals processing method across hardware platform, comprising:
The physiological data signals of collection terminal acquisition are obtained, and determine the signal type of the physiological data signals;
Determine the corresponding preset signal analysis window size of signal type;
Data are read from the physiological data signals according to the signal analysis window size, obtain several numbers to be processed
According to;
The pending data of acquisition is analyzed and processed.
Optionally, the corresponding preset signal analysis window size of signal type is determined, comprising:
According to the corresponding relationship between preset signal type and signal analysis window size, the corresponding class signal is determined
The preset signal analysis window size of type;Wherein, the corresponding signal analysis window size of a signal type is based on analysis institute
State what data volume required for the physiological data signals under a signal type determined.
Optionally, the physiological data signals are read out according to the signal analysis window size, obtain it is several to
Handle data, comprising:
According to the signal analysis window size, the reading length of physiological data signals is determined;
Based on the reading length, the physiological data signals are adjusted, obtain several pending datas.
Optionally, it is based on the reading length, the physiological data signals are adjusted, obtains several numbers to be processed
According to further comprising:
If the target envelope length of the physiological data signals obtained is less than the reading length, by the physiology of multiple encapsulation
Data-signal is spliced according to the reading length, obtains corresponding pending data;
If the target envelope length of the physiological data signals obtained, which is equal to, reads length, by the physiological data of multiple encapsulation
Signal is directly as corresponding pending data.
If the target envelope length of the physiological data signals obtained, which is greater than, reads length, using the reading length to envelope
The physiological data signals of dress carry out cutting, obtain corresponding pending data.
Optionally, further comprise:
If the physiological data signals obtained are without encapsulation process, according to the reading length directly from the physiology of acquisition
The data that corresponding length is read in data-signal, as pending data.
Optionally, any one pending data of acquisition is analyzed and processed, comprising:
According to the signal type of the pending data, the corresponding fluctuation range of the pending data is determined;
Judge whether the pending data is within the fluctuation range;
If so, carrying out physical condition assessment to respective client according to the pending data;
Otherwise, then warning message is triggered.
A kind of acquisition device of the physiological data signals processing across hardware platform, comprising:
Acquisition module for acquiring physiological data signals, and determines the signal type of the physiological data signals;
Adaptation module, for determining the corresponding preset signal analysis window size of signal type;
Package module, for being packaged according to the signal analysis window size to the physiological data signals;
Transmission module, for the physiological data signals after encapsulation to be sent to receiving end.
Optionally, when acquiring physiological data signals, and determining the signal type of the physiological data signals, the acquisition mould
Block is used for:
According to the physiological data signals of acquisition, the changing rule of the physiological data signals is judged;
According to the changing rule of the physiological data signals, the signal type of the physiological data signals is determined.
Optionally, when determining the preset signal analysis window size of the corresponding signal type, the adaptation module is used for:
According to the corresponding relationship between preset signal type and signal analysis window size, the corresponding class signal is determined
The preset signal analysis window size of type;Wherein, the corresponding signal analysis window size of a signal type is based on analysis institute
State what data volume required for the physiological data signals under a signal type determined.
Optionally, when being packaged according to the signal analysis window size to the physiological data signals, the encapsulation
Module is used for:
According to the signal analysis window size, initial package length is determined;
Detect the congestion ratio of network transfer speeds and receiving end;
Congestion ratio based on the network transfer speeds and receiving end is adjusted the initial package length, obtains mesh
Mark package length;
The physiological data signals are packaged using the target envelope length.
Optionally, the package module is further used for:
If the network transfer speeds are less than or equal to preset transmission speed threshold value, and the congestion ratio is more than or equal in advance
If congestion ratio threshold value, then the fractional multiple based on the signal analysis window size carries out the initial package length
Adjustment obtains target envelope length;
If the network transfer speeds are more than or equal to preset transmission speed threshold value, and the congestion ratio is more than or equal in advance
If congestion ratio threshold value, alternatively, and congestion ratio is less than if network transfer speeds are less than or equal to preset transmission speed threshold value
Equal to preset congestion ratio threshold value, then be based on the signal analysis window size, by the initial package length directly as
Target envelope length;
If the network transfer speeds are more than or equal to preset transmission speed threshold value, and the congestion ratio is less than or equal in advance
If congestion ratio threshold value, then the integer multiple based on the signal analysis window size carries out the initial package length
Adjustment obtains target envelope length.
A kind of reception device of the physiological data signals processing across hardware platform, comprising:
Module is obtained, for obtaining the physiological data signals of collection terminal acquisition, and determines the letter of the physiological data signals
Number type;
Adaptation module, for determining the corresponding preset signal analysis window size of signal type;
Read module is obtained for reading data from the physiological data signals according to the signal analysis window size
Obtain several pending datas;
Processing module, for being analyzed and processed to the pending data of acquisition.
Optionally, when determining the preset signal analysis window size of the corresponding signal type, the adaptation module is used for:
According to the corresponding relationship between preset signal type and signal analysis window size, the corresponding class signal is determined
The preset signal analysis window size of type;Wherein, the corresponding signal analysis window size of a signal type is based on analysis institute
State what data volume required for the physiological data signals under a signal type determined.
Optionally, the physiological data signals are read out according to the signal analysis window size, obtain it is several to
When handling data, the read module is used for:
According to the signal analysis window size, the reading length of physiological data signals is determined;
Based on the reading length, the physiological data signals are adjusted, obtain several pending datas.
Optionally, the read module is further used for:
If the target envelope length of the physiological data signals obtained is less than the reading length, by the physiology of multiple encapsulation
Data-signal is spliced according to the reading length, obtains corresponding pending data;
If the target envelope length of the physiological data signals obtained, which is equal to, reads length, by the physiological data of multiple encapsulation
Signal is directly as corresponding pending data.
If the target envelope length of the physiological data signals obtained, which is greater than, reads length, using the reading length to envelope
The physiological data signals of dress carry out cutting, obtain corresponding pending data.
Optionally, the read module is further used for:
If the physiological data signals obtained, without encapsulation process, read module is according to the reading length directly from obtaining
The data that corresponding length is read in the physiological data signals taken, as pending data.
Any one pending data of acquisition is analyzed and processed, comprising:
Processing module determines the corresponding fluctuation model of the pending data according to the signal type of the pending data
It encloses;
Processing module judges whether the pending data is within the fluctuation range;
If so, processing module carries out physical condition assessment to respective client according to the pending data;
Otherwise, then processing module triggers warning message.
A kind of computer equipment, comprising:
At least one processor, and the memory being connect at least one described processor;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, described at least one
The instruction that device is stored by executing the memory is managed, method described in any of the above embodiments is executed.
A kind of storage medium, comprising:
The computer-readable recording medium storage has computer instruction, when the computer instruction is run on computers
When, so that computer executes method described in any of the above embodiments.The present invention has the beneficial effect that:
In conclusion in the embodiment of the present invention, the signal type of physiological data signals of the collection terminal based on acquisition, according to phase
The signal analysis window size answered is sent to receiving end after being packaged to physiological data signals, and receiving end receives physiological data
After signal, also can according to the corresponding preset signal analysis window size of signal type, read from physiological data signals data into
Row analysis processing.In this way, the signal type that collection terminal and receiving end are based respectively on physiological data signals carry out corresponding encapsulation and
It reads, so as to realize the remote collection and Real Time Monitoring of physiological data signals, meanwhile, life of the collection terminal based on acquisition
The signal type for managing data-signal, physiological data signals are packaged according to corresponding package length, not only can be by physiology
The transmitted data amount control of data-signal in a certain range, can also be provided according to the analysis demand of physiological data signals
The physiological data signals of proper data amount, meanwhile, receiving end also can analysis window size reading corresponding length physiology according to signal
Data-signal to not only ensure that the smooth transmission of physiological data signals, but also improves the analysis speed of physiological data signals, into
And reduce the processing difficulty of physiological data signals.
Specific embodiment
In order to realize acquisition in real time and transmission physiological data signals, the reading speed of physiological data signals is improved, the present invention
In embodiment, fragment encapsulation can be carried out to physiological data signals in collection terminal, and divide physiological data signals in receiving end
Piece receives, to reduce the processing difficulty of physiological data signals.
The preferred embodiment of the present invention is described in detail with reference to the accompanying drawing.
In the embodiment of the present invention, before carrying out physiological data signals processing, optionally, can first preset signals type and
Corresponding relationship between signal analysis window size determines the signal analysis window size of corresponding signal type, wherein a letter
Number corresponding signal analysis window size of type is based on number required for the physiological data signals under one signal type of analysis
Determining according to amount.
For example, can preset the corresponding signal analysis window size of eeg data signal is 10 seconds, electrocardio number can be preset
It is believed that number corresponding signal analysis window size is 10 seconds, oximetry data signal and respiratory air flow data-signal pair can also be preset
The signal analysis window size answered is 60 seconds to 240 seconds.
Further, the transmission speed threshold value an of network transfer speeds and the congestion ratio thresholding of receiving end are preset
Value, for judging the reception situation of network transmission environment and receiving end.
After obtaining above- mentioned information, physiological data signals can be acquired and performed corresponding processing, specifically, institute refering to fig. 1
Show, in embodiments of the present invention, collection terminal is as follows to the process flow of physiological data signals:
Step 100: collection terminal acquires physiological data signals.
Optionally, physiological data signals can be by the acquisition of hospital clinical physiological data collection instrument, be also possible to just
Take the acquisition of formula physiological data collection instrument.
Optionally, collection terminal can directly be transformed or increase agent side in collection terminal, to the physiological data signals of acquisition
Execute subsequent processing steps.
Step 101: collection terminal determines the signal type of physiological data signals.
Specifically, the changing rule of the physiological data signals of judgement acquisition.
For example, the fluctuation pattern of eeg data signal and electrocardiogram (ECG) data signal is complete with sleep analysis monitor data instance
Difference, can the fluctuation pattern to the physiological data signals of acquisition carry out preliminary judgement.
Specifically, determining the signal type of physiological data signals according to the changing rule of physiological data signals.
For example, the fluctuation pattern of physiological data signals is judged tentatively with sleep monitor data instance, the wave that will be judged
Dynamic rule is compared with the fluctuation pattern of multi-signal types of conventional, selects the immediate signal type of fluctuation pattern as adopting
The signal type of the physiological data signals of collection.
On the other hand, the signal of the physiological data signals of acquisition according to the collection terminal type of acquisition instrument, can also be determined
Type, details are not described herein.
Step 102: collection terminal determines the corresponding preset signal analysis window size of signal type.
Specifically, determining corresponding letter according to the corresponding relationship between preset signal type and signal analysis window size
Number preset signal analysis window size of type.
For example, with sleep monitor data instance, based on pair between preset signal type and signal analysis window size
It should be related to, determine that the preset signal analysis window size of corresponding eeg data signal is 10 seconds, determine corresponding electrocardiogram (ECG) data letter
Number preset signal analysis window size is 10 seconds, and determines that corresponding oximetry data signal and respiratory air flow data-signal are default
Signal analysis window size be 60 seconds to 240 seconds.
Step 103: collection terminal is packaged physiological data signals according to signal analysis window size.
In one embodiment, execute step 103 when, collection terminal in the following ways:
Firstly, collection terminal determines initial package length according to signal analysis window size.
Specifically, collection terminal can determine the sample rate of physiological data signals according to the signal type of physiological data signals,
Again based on sample rate, the data volume size of each sampled point and above-mentioned signal analysis window size, physiological data signals are determined
Initial package length.
So, collection terminal can be calculated using the following equation the initial package length of physiological data signals:
PInitially=fs × F1×a
Wherein, PInitiallyFor initial package length, fs is the sample rate of physiological data signals, F1For signal analysis window size,
A indicates the data volume size of a sampled point.
For example, with sleep monitor data instance, it is assumed that the physiological data signals of acquisition include eeg data signal, electrocardio number
It is believed that number, oximetry data signal and respiratory air flow data-signal, wherein the sample rate of eeg data signal is that 512Hz is (i.e. per second
512 sampled points of kind acquisition), the sample rate of electrocardiogram (ECG) data signal is 512Hz, and the sample rate of oximetry data signal is 25Hz, is exhaled
The sample rate of inspiratory flow data-signal is 100Hz, simultaneously, it is assumed that the data volume size of each sampled point is 4 bits.
So, after above-mentioned formula calculates, the initial package length of eeg data signal are as follows:
PInitially=fs × F1× a=512 × 10 × 4=20480B=20KB
Likewise, the initial package length of calculated electrocardiogram (ECG) data signal are as follows:
PInitially=fs × F1× a=512 × 10 × 4=20480B=20KB
Assuming that the preset signal analysis window size of oximetry data signal is 102.4 seconds, then calculated oximetry data is believed
Number initial package length are as follows:
PInitially=fs × F1× a=25 × 102.4 × 4=10240B=10KB
Assuming that the preset signal analysis window size of respiratory air flow data-signal is 102.4 seconds, then calculated tidal air
The initial package length of flow data signal are as follows:
PInitially=fs × F1× a=100 × 102.4 × 4=40960B=40KB
Secondly, the congestion ratio of detection network transfer speeds and receiving end.
Specifically, receiving end can detect the congestion ratio of network transfer speeds and receiving end, and fed back to collection terminal, acquisition
Network transfer speeds and preset transmission speed threshold value can be compared by end, judge the speed of network transfer speeds, and
The congestion ratio of receiving end and preset congestion ratio threshold value are compared, judge the receiving velocity of receiving end.
Again, collection terminal can the congestion ratio based on network transfer speeds and receiving end initial package length is adjusted,
Obtain target envelope length.
Specifically, if network transfer speeds are less than preset transmission speed threshold value, and congestion ratio is greater than preset congestion
Rate threshold value, illustrates that network condition is worst at this time, then the fractional multiple based on signal analysis window size, to initial package length
It is adjusted, obtains target envelope length, it is specific as follows;
Wherein, N1For positive integer.
For example, by taking eeg data signal as an example, when network transfer speeds are less than preset transmission speed threshold value, and congestion
When rate is greater than preset congestion ratio threshold value, then the initial package length 20KB of eeg data signal is subjected to fractional multiple tune
It is whole, it is assumed that N1Value be 2, obtain adjustment hindbrain electricity data-signal target envelope length be 10KB.
If network transfer speeds are greater than preset transmission speed threshold value, and congestion ratio is greater than preset congestion ratio thresholding
Value, alternatively, if network transfer speeds are less than preset transmission speed threshold value, and congestion ratio is less than preset congestion ratio thresholding
Value, illustrates that network condition is general at this time, then signal analysis window size is based on, by initial package length directly as target envelope
Length, specific as follows:
PTarget=PInitially=fs × F1×a
For example, by taking oximetry data signal as an example, when network transfer speeds are greater than preset transmission speed threshold value, and congestion
When rate is greater than preset congestion ratio threshold value, then by the initial package length 10KB of oximetry data signal directly as oximetry data
The target envelope length of signal.
If network transfer speeds are greater than preset transmission speed threshold value, and congestion ratio is less than preset congestion ratio thresholding
Value, illustrate that network condition is best at this time, then the integer multiple based on signal analysis window size, to the initial package length into
Row adjustment obtains target envelope length, specific as follows:
PTarget=fs × F1×N2×a
Wherein, N2For positive integer.
For example, by taking respiratory air flow data-signal as an example, when network transfer speeds are greater than preset transmission speed threshold value, and
When congestion ratio is less than preset congestion ratio threshold value, then the initial package length 40KB of respiratory air flow data-signal is subjected to integer
Multiple adjustment, it is assumed that N2Value be 2, after being adjusted the target envelope length of respiratory air flow data-signal be 80KB.
Finally, being packaged using target envelope length to physiological data signals.
Specifically, choosing the physiology number of equal length according to target envelope length according to calculated target envelope length
It is believed that number being packaged.
Step 104: the physiological data signals after encapsulation are sent to receiving end by collection terminal.
Specifically, the physiological data signals after encapsulation are passed through network real-time Transmission to receiving end.
After receiving end gets the data that collection terminal sends over, the physiological data signals of acquisition are located accordingly
Reason, as shown in fig.2, in embodiments of the present invention, receiving end is as follows to the process flow of physiological data signals:
Step 200: receiving end obtains the physiological data signals of collection terminal acquisition, and determines the class signal of physiological data signals
Type.
Specifically, receiving end can obtain physiological data signals by static acquisition modes, i.e., collection terminal is not to physiology
Data-signal is packaged processing, will directly set the physiological data signals acquired in duration and is sent out by way of copying or transmitting
It send to receiving end.
On the other hand, receiving end can also obtain physiological data signals by dynamic acquisition mode, i.e., collection terminal is to physiology
Data-signal is packaged processing, and by physiological data signals real-time Transmission to receiving end.
Step 201: receiving end determines the corresponding preset signal analysis window size of signal type.
Specifically, determining corresponding letter according to the corresponding relationship between preset signal type and signal analysis window size
Number preset signal analysis window size of type.
For example, with sleep monitor data instance, based on pair between preset signal type and signal analysis window size
It should be related to, determine that the corresponding preset signal analysis window size of eeg data signal is 10 seconds, determine corresponding electrocardiogram (ECG) data signal
Preset signal analysis window size is 10 seconds, and determines that corresponding oximetry data signal and respiratory air flow data-signal are preset
Signal analysis window size is 60 seconds to 240 seconds.
Step 202: data are read according to signal analysis window size in receiving end from physiological data signals, obtain it is several to
Handle data.
Specifically, in one embodiment, according to the corresponding signal analysis window size of physiological data signals, determining physiology
The reading length of data-signal, receiving end can be calculated using the following equation the reading length of physiological data signals:
D=fs × F1×a
Wherein, D is the reading length of physiological data signals, and fs is the sample rate of physiological data signals, F1For signal analysis
Window size, a indicate the data volume size of a sampled point.
For example, the reading length for calculating eeg data signal is 20KB with sleep monitor data instance, blood oxygen is calculated
The reading length of data-signal is 10KB, and calculating the reading length of respiratory air flow data-signal is 40KB.
Further, based on determining reading length, physiological data signals are adjusted, obtain several numbers to be processed
According to.
Specifically, if receiving end passes through static acquisition modes and obtains physiological data signals, then, collection terminal is not to physiology
Data-signal is packaged processing, will directly set the physiological data signals acquired in duration and is sent out by way of copying or transmitting
It send to receiving end, then receiving end is read corresponding long based on the reading length determined directly from the physiological data signals of acquisition
The data of degree obtain several pending datas.
For example, receiving end directly obtains length from collection terminal by way of copy and is by taking eeg data signal as an example
The EEG signals data of 200KB, then according to the reading length 20KB of EEG signals data, directly from the EEG signals data of acquisition
In be successively read length be 20KB data, obtain 10 segment length be 20KB pending data.
On the other hand, if receiving end obtains physiological data signals by dynamic acquisition mode, then, collection terminal is to physiology number
It is believed that number being packaged processing, and by physiological data signals real-time Transmission to receiving end, then to the physiological data signals after encapsulation
Execute following operation:
If the target envelope length of the physiological data signals obtained, which is less than, reads length, by the physiological data of multiple encapsulation
Signal is spliced according to length is read, and obtains corresponding pending data.
For example, the target envelope length of eeg data signal is 10KB by taking eeg data signal as an example, it is less than and reads length
20KB, then can by two encapsulate eeg data signal splice, obtain length be 20KB eeg data signal to
Handle data.
If the target envelope length of the physiological data signals obtained, which is equal to, reads length, by the physiological data of multiple encapsulation
Signal is directly as corresponding pending data.
For example, the target envelope length of oximetry data signal is 10KB by taking oximetry data signal as an example, it is equal to and reads length
10KB then can be directly read out according to the package length of oximetry data signal, obtained the oximetry data that length is 10KB and believed
Number pending data.
If the target envelope length of the physiological data signals obtained, which is greater than, reads length, using reading length to encapsulation
Physiological data signals carry out cutting, obtain corresponding pending data.
For example, the target envelope length of respiratory air flow data-signal is 80KB by taking respiratory air flow data-signal as an example, it is greater than
Length 40KB is read, then the respiratory air flow data-signal that can be encapsulated one carries out cutting, and obtaining two length is 40KB's
Pending data.
Step 203: receiving end is analyzed and processed the pending data of acquisition.
Specifically, in one embodiment, according to the signal type of pending data, determining the corresponding wave of pending data
Dynamic range.
For example, with sleep monitor data instance, the electric signal range of eeg data signal be 1 μ V between 100 μ V, frequency
Range be 0.5Hz between 100Hz, the electric signal range of electrocardiogram (ECG) data signal is 10 μ V to 5mV, frequency range be 0.3Hz extremely
Between 3Hz.
Further, according to the corresponding fluctuation range of pending data, judge whether pending data is in determining wave
Within the scope of dynamic.
If pending data is within determining fluctuation range, it can be determined that the physiological data signals of acquisition are effective
, then pending data is sent to client and is shown and analyzed, body is carried out to respective client according to pending data
Status assessment.
If pending data is not within determining fluctuation range, it can be determined that the physiological data of acquisition be it is invalid,
Warning message is then triggered, warning message can be sent to collection terminal, can also be sent to receiving end, be not limited thereto.
It falls off or electrode slice patch location inaccuracy for example, electrode slice occurs in collection terminal, can all lead to number to be processed
According to except determining fluctuation range, then warning message is sent to collection terminal or receiving end.
Based on the above embodiment, as shown in fig.3, in the embodiment of the present invention, a kind of physiological data letter across hardware platform
Number processing acquisition device (e.g., sleep monitor) include at least acquisition module 30, adaptation module 31, package module 32 and transmission
Module 33, in which:
Acquisition module 30 for acquiring physiological data signals, and determines the signal type of physiological data signals.
Adaptation module 31, for determining the corresponding preset signal analysis window size of signal type.
Package module 32, for being packaged according to signal analysis window size to physiological data signals.
Transmission module 33, for the physiological data signals after encapsulation to be sent to receiving end.
Optionally, when acquiring physiological data signals, and determining the signal type of the physiological data signals, the acquisition mould
Block 30 is used for:
According to the physiological data signals of acquisition, the changing rule of the physiological data signals is judged;
According to the changing rule of the physiological data signals, the signal type of the physiological data signals is determined.
Optionally, when determining the preset signal analysis window size of the corresponding signal type, the adaptation module 31 is used
In:
According to the corresponding relationship between preset signal type and signal analysis window size, the corresponding class signal is determined
The preset signal analysis window size of type;Wherein, the corresponding signal analysis window size of a signal type is based on analysis institute
State what data volume required for the physiological data signals under a signal type determined.
Optionally, when being packaged according to the signal analysis window size to the physiological data signals, the encapsulation
Module 32 is used for:
According to the signal analysis window size, initial package length is determined;
Detect the congestion ratio of network transfer speeds and receiving end;
Congestion ratio based on the network transfer speeds and receiving end is adjusted the initial package length, obtains mesh
Mark package length;
The physiological data signals are packaged using the target envelope length.
Optionally, the package module 32 is further used for:
If the network transfer speeds are less than or equal to preset transmission speed threshold value, and the congestion ratio is more than or equal in advance
If congestion ratio threshold value, then the fractional multiple based on the signal analysis window size carries out the initial package length
Adjustment obtains target envelope length;
If the network transfer speeds are more than or equal to preset transmission speed threshold value, and the congestion ratio is more than or equal in advance
If congestion ratio threshold value, alternatively, and congestion ratio is less than if network transfer speeds are less than or equal to preset transmission speed threshold value
Equal to preset congestion ratio threshold value, then be based on the signal analysis window size, by the initial package length directly as
Target envelope length;
If the network transfer speeds are more than or equal to preset transmission speed threshold value, and the congestion ratio is less than or equal in advance
If congestion ratio threshold value, then the integer multiple based on the signal analysis window size carries out the initial package length
Adjustment obtains target envelope length.
As shown in fig.4, in the embodiment of the present invention, a kind of reception device of the physiological data signals processing across hardware platform
Including at least acquisition module 40, adaptation module 41, read module 42 and processing module 43, in which:
Module 40 is obtained, for obtaining the physiological data signals of collection terminal acquisition, and determines the signal of physiological data signals
Type.
Adaptation module 41, for determining the corresponding preset signal analysis window size of signal type.
Read module 42 obtains several for reading data from physiological data signals according to signal analysis window size
Pending data.
Processing module 43, for being analyzed and processed to the pending data of acquisition.
Optionally, the physiological data signals of collection terminal acquisition are obtained, and determine the signal type of the physiological data signals
When, the acquisition module 40 is used for:
According to the physiological data signals of acquisition, the changing rule of the physiological data signals is judged;
According to the changing rule of the physiological data signals, the signal type of the physiological data signals is determined.
Optionally, when determining the preset signal analysis window size of the corresponding signal type, the adaptation module 41 is used
In:
According to the corresponding relationship between preset signal type and signal analysis window size, the corresponding class signal is determined
The preset signal analysis window size of type;Wherein, the corresponding signal analysis window size of a signal type is based on analysis institute
State what data volume required for the physiological data signals under a signal type determined.
Optionally, the physiological data signals are read out according to the signal analysis window size, obtain it is several to
When handling data, the read module 42 is used for:
According to the signal analysis window size, the reading length of physiological data signals is determined;
Based on the reading length, the physiological data signals are adjusted, obtain several pending datas.
Optionally, the read module 42 is further used for:
If the target envelope length of the physiological data signals obtained is less than the reading length, by the physiology of multiple encapsulation
Data-signal is spliced according to the reading length, obtains corresponding pending data;
If the target envelope length of the physiological data signals obtained, which is equal to, reads length, by the physiological data of multiple encapsulation
Signal is directly as corresponding pending data.
If the target envelope length of the physiological data signals obtained, which is greater than, reads length, using the reading length to envelope
The physiological data signals of dress carry out cutting, obtain corresponding pending data.
Optionally, the read module 42 is further used for:
If the physiological data signals obtained, without encapsulation process, read module is according to the reading length directly from obtaining
The data that corresponding length is read in the physiological data signals taken, as pending data.
Any one pending data of acquisition is analyzed and processed, comprising:
Processing module determines the corresponding fluctuation model of the pending data according to the signal type of the pending data
It encloses;
Processing module judges whether the pending data is within the fluctuation range;
If so, processing module carries out physical condition assessment to respective client according to the pending data;
Otherwise, then processing module triggers warning message.
It further include a kind of computer equipment in the embodiment of the present invention, the computer equipment includes:
At least one processor, and the memory being connect at least one described processor;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, described at least one
The instruction that device is stored by executing the memory is managed, any one of the above method is executed.
It further include a kind of storage medium in the embodiment of the present invention, the storage medium includes:
The computer-readable recording medium storage has computer instruction, when the computer instruction is run on computers
When, so that computer executes any one of the above method.In conclusion in the embodiment of the present invention, life of the collection terminal based on acquisition
The signal type for managing data-signal, is sent to after being packaged according to corresponding signal analysis window size to physiological data signals and connects
Receiving end, and after receiving end receives physiological data signals, also can according to the corresponding preset signal analysis window size of signal type,
Data are read from physiological data signals to be analyzed and processed.In this way, collection terminal and receiving end are based respectively on physiological data signals
Signal type encapsulated and read accordingly, so as to realize the remote collection and real-time monitoring point of physiological data signals
Analysis, meanwhile, the signal type of physiological data signals of the collection terminal based on acquisition, to physiological data signals according to corresponding encapsulation length
Degree is packaged, and can not only be controlled the transmitted data amount of physiological data signals in a certain range, can also be according to physiology
The analysis demand of data-signal provides the physiological data signals of proper data amount, meanwhile, receiving end can also be analyzed according to signal
Window size reads corresponding length physiological data signals, to not only ensure that the smooth transmission of physiological data signals, but also improves
The analysis speed of physiological data signals, thereby reduces the processing difficulty of physiological data signals.
Further, it when collection terminal is packaged physiological data signals, is first determined just according to signal analysis window size
Beginning package length, then the congestion ratio based on network transfer speeds and receiving end are adjusted initial package length, obtain target
Package length is sent to receiving end after being packaged according still further to target envelope length to physiological data signals, in this way, collection terminal can be with
The target envelope length of physiological data signals is adjusted, adaptively according to network environment so as to effectively improve physiological data letter
Number efficiency of transmission, meet the real-time remotely monitored.
Meanwhile and receiving end can read physiological data letter according to the reading length determined based on signal analysis window size
Number, if the target envelope length of physiological data signals, which is less than, reads length, physiological data signals are carried out according to length is read
Splicing, if the target envelope length of physiological data signals be greater than read length, according to read length to physiological data signals into
Row cutting, to be analyzed after obtaining several pending datas, in this way, receiving end is according to reading length to physiological data signals
The reading for carrying out adaptability greatly enhances the reading and analysis speed of physiological data signals, it is a large amount of to increase processing
The flexibility of physiological data signals.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out various modification and variations without departing from this hair to the embodiment of the present invention
The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention
And its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.