Invention content
The main purpose of the application is to provide a kind of EGC waveform data processing method and processing device, to solve the relevant technologies
The problem of.
To achieve the goals above, according to the one side of the application, a kind of EGC waveform data recovery processing is provided
Method, including:
Effective Wave data that terminal is sent is received, effective Wave data is ecg wave form when carrying out ECG detecting
Data;Wherein, effective Wave data of reception is redundant data, and same effective Wave data passes through more through the terminal
A channel, and front and back repeatedly send obtains effective Wave data of redundancy in each channel;
Duplicate removal is carried out to the effective Wave data received;
Determine initial time and the end time of each effective Wave data;
According to the initial time of each effective Wave data and end time to all effective Wave datas again
It is combined connection, obtains final Wave data.
Further, EGC waveform data as the aforementioned restores processing method, the effective waveform for receiving terminal and sending
After data, further include:
Determine the temporal information and amplitude information of each sampled data in each effective Wave data;
The temporal information and amplitude information are stored according to sequential correspondingly.
Further, EGC waveform data as the aforementioned restores processing method, each significant wave figurate number of determination
According to initial time and after the end time, further include:
Determine the context in the sequential between all effective Wave datas;
Determine the time interval between all adjacent effective Wave datas two-by-two in sequential.
Further, EGC waveform data as the aforementioned restores processing method, all adjacent two-by-two in the determining sequential
Effective Wave data between time interval after, further include:
Obtain corresponding invalid Wave data according to each time interval, the invalid Wave data be not into
Wave data when row ECG detecting, the duration of the invalid Wave data and the corresponding time interval duration one
It causes, and amplitude perseverance is 0;
Establish the correspondence between the invalid Wave data and time interval;
The invalid Wave data is connected to corresponding adjacent effective waveform two-by-two according to the correspondence
Between data, complete waveform data are obtained.
The present invention also provides a kind of EGC waveform data processing methods, including:
The first electrocardiogram (ECG) data of user is acquired, and is stored in buffer area;Wherein, first electrocardiogram (ECG) data includes:The
One time point information and first amplitude data;
By the first amplitude data time point adjacent with the first time point information corresponding width in buffer area
Value Data is compared, and comparing result is obtained;
First electrocardiogram (ECG) data is handled according to the comparing result.
The present invention also provides a kind of EGC waveform datas to restore processing unit, including:
Valid data receiving unit, for receive terminal transmission effective Wave data, effective Wave data be into
EGC waveform data when row ECG detecting;Wherein, effective Wave data of reception is redundant data, the same significant wave
Graphic data is through the terminal by multiple channels, and front and back repeatedly send obtains the significant wave of redundancy in each channel
Graphic data;
Duplicate removal unit, for carrying out duplicate removal to the effective Wave data received;
Time determination unit, the initial time for determining each effective Wave data and end time;
Assembled unit, for according to the initial time of each effective Wave data and end time to all effective
Wave data re-starts combination connection, obtains final Wave data.
Further, EGC waveform data as the aforementioned restores processing unit, further includes:First waveform information acquisition list
Member;The first waveform information obtainment unit includes:
Wave data determining module, the temporal information for determining each sampled data in each effective Wave data
With amplitude information;
Memory module, for storing the temporal information and amplitude information according to sequential correspondingly.
Further, EGC waveform data as the aforementioned restores processing unit, further includes:Second shape information obtains single
Member;The second shape information obtaining unit includes:
Sequential determining module, for determining the context in the sequential between all effective Wave datas;
Time interval determining module, for determine in sequential between all adjacent effective Wave datas two-by-two when
Between be spaced.
Further, EGC waveform data as the aforementioned restores processing unit, further includes:Invalid waveform computing unit;Institute
Stating invalid waveform computing unit includes:
Invalid waveform computing module, for obtaining corresponding invalid Wave data according to each time interval,
The invalid Wave data is Wave data when not carrying out ECG detecting, the duration of the invalid Wave data with it is corresponding
The time interval duration it is consistent, and amplitude perseverance be 0;
Corresponding relation building module, for establishing the correspondence between the invalid Wave data and time interval;
Complete waveform obtaining unit, for the invalid Wave data to be connected to corresponding two according to the correspondence
Between two adjacent effective Wave datas, complete waveform data are obtained.
The present invention also provides a kind of EGC waveform data processing units, including:
Data acquisition unit, the first electrocardiogram (ECG) data for acquiring user, and be stored in buffer area;Wherein, described
One ECG data packet includes:First time point information and first amplitude data;
Comparing unit, in buffer area by the first amplitude data it is adjacent with the first time point information when
Between put corresponding amplitude data and compared, obtain comparing result;
Processing unit, for being handled first electrocardiogram (ECG) data according to the comparing result.
In a kind of EGC waveform data processing method and processing device of the embodiment of the present application, the method use to waveform into
The mode of row compression, the effective Wave data sent by receiving terminal, effective Wave data are when carrying out ECG detecting
EGC waveform data;Wherein, effective Wave data of reception is redundant data, described in same effective Wave data warp
Terminal is by multiple channels, and front and back repeatedly send obtains effective Wave data of redundancy in each channel;To receiving
The effective Wave data arrived carries out duplicate removal;Determine initial time and the end time of each effective Wave data;Root
Combination is re-started according to the initial time and end time of each effective Wave data to all effective Wave datas to connect
It connects, obtains final Wave data.Achieve the purpose that effectively reduce Wave data amount, wireless transmission is easily facilitated to realize
And reduce the technique effect of power consumption.
Specific implementation mode
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, technical solutions in the embodiments of the present application are clearly and completely described, it is clear that described embodiment is only
The embodiment of the application part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
The every other embodiment that member is obtained without making creative work should all belong to the model of the application protection
It encloses.
It should be noted that term " first " in the description and claims of this application and above-mentioned attached drawing, "
Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way
Data can be interchanged in the appropriate case, so as to embodiments herein described herein.In addition, term " comprising " and " tool
Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing series of steps or unit
Process, method, system, product or equipment those of are not necessarily limited to clearly to list step or unit, but may include without clear
It is listing to Chu or for these processes, method, product or equipment intrinsic other steps or unit.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
To achieve the goals above, according to the one side of the application, a kind of EGC waveform data processing method is provided,
As shown in Figure 1, this method includes following step S1 to step S3:Including:
S1. effective Wave data that terminal is sent is received, effective Wave data is electrocardio when carrying out ECG detecting
Wave data;Wherein, effective Wave data of reception is redundant data, and same effective Wave data is logical through the terminal
Multiple channels are crossed, and front and back repeatedly send obtains effective Wave data of redundancy in each channel;In general, described
Terminal refers to thering is the detection device of communication function, intelligent mobile terminal, computer or server;The invalid Wave data
Refer to the Wave data when amplitude of wave is continuously 0;When effective Wave data refers to that waveform can change
Waveform;The terminal is by multiple channels, and the front and back each effective Wave data of repeatedly transmission in each channel,
Although certain channel resource can be occupied, since event of data loss is unavoidable, use the method can be with
Greatly ensure that each effectively Wave data can be received;
S2. duplicate removal is carried out to the effective Wave data received;Specifically, a kind of De-weight method can be:In terminal
When transmission, unique number can be carried out to each effective Wave data, also, server is receiving each significant wave figurate number
Its unique number can be stored in tables of data after;Thus when server receives effective Wave data of repetition, only need by
Its unique number is compared in tables of data, you can learns whether effective Wave data had received;
S3. initial time and the end time of each effective Wave data are determined;
S4. according to the initial time of each effective Wave data and end time to all effective Wave data weights
It newly is combined connection, obtains final Wave data.Specifically, terminal just only carries out effective Wave data when sending
Transmission, therefore be sectional intermittent effective Wave data, effective Wave data can be linked as one by the present invention when transmission
A waveform, it is thus possible to the data volume for effectively reducing Wave data, convenient for receiving and transmitting.And step S1, S2 and step
S3 is executed in server end;Preferably, the terminal is by by wireless technology, in real time, low-power consumption and lossless by electrocardio
Wave data is transmitted to server end.
In some embodiments, EGC waveform data processing method as the aforementioned, the significant wave for receiving terminal and sending
After graphic data, further include:
Determine the temporal information and amplitude information of each sampled data in each effective Wave data;In general,
When sample or the analogue data of detection is converted to digital signal, basis can be only needed there are one minimal sampling time interval
The minimum interval, which carries out waveform graph traversal, can obtain the amplitude of the shortwave shape;Further, it is also possible to traverse above-mentioned
Tables of data is arranged due to tables of data tree according to sequential.
The temporal information and amplitude information are stored according to sequential correspondingly.In general, by described each
Data are a tables of data according to sequential.
In some embodiments, EGC waveform data processing method as the aforementioned, each effective waveform of determination
The initial time of data and after the end time further includes:
Determine the context in the sequential between all effective Wave datas;In general, can be had according to each
The initial time of effect Wave data is ranked up, and then confirms the tandem of each data;In addition by the end time into
Row sequence, also can be obtained the same result.
Determine the time interval between all adjacent effective Wave datas two-by-two in sequential;Obtaining the above results
Later, the end time of the previous Wave data between the effective Wave data of adjacent two and latter Wave data need to only be calculated
Initial time just obtain the time interval.
In some embodiments, EGC waveform data processing method as the aforementioned, all two two-phases in the determining sequential
After time interval between adjacent effective Wave data, further include:
Obtain corresponding invalid Wave data according to each time interval, the invalid Wave data be not into
Wave data when row ECG detecting, the duration of the invalid Wave data and the corresponding time interval duration one
It causes, and amplitude perseverance is 0;
The correspondence between the invalid Wave data and time interval is established, the correspondence is established, is in order to true
The uniqueness of each invalid Wave data calmly, transferring and using to the invalid Wave data after facilitating.
Transmission time information, which does not send Wave data information, when wherein the amplitude of Wave data is 0 can reduce data hair
The amount of sending also reduces data transmission time simultaneously, and reduces transmitting power consumption.Wherein, emit power consumption number depend on launch time,
Launch time depends on data traffic volume, and power consumption can be reduced by reducing data traffic volume.
In some embodiments, EGC waveform data processing method as the aforementioned, it is described to establish the invalid Wave data
After correspondence between time interval, further include:
The invalid Wave data is connected to corresponding adjacent effective waveform two-by-two according to the correspondence
Between data, complete waveform data are obtained, thus initial data can be restored, without the entire waveform number of terminal complete transmission
According to can be used with effectively save bandwidth, and improve the efficiency of data processing, while reducing the storage pressure of server end.
The complete waveform data obtained using the method can be by two Wave datas when doctor can be made to observe
Split or combined connection.
Wave data is handled using the method in any of the above-described embodiment, distortionless can be realized for waveform
Scaling by controlling the broadcasting of historical data, and can be directed to specific certain point therein and be inserted into remarks;Make central monitoring
Standing only, corresponding Wave data need to be transferred from the server of corresponding stored waveform data then can check the function of history waveform,
It can carry out frame choosing, diminution, amplification and measurement to waveform when checking waveform simultaneously, and selection certain bits can be clicked by mouse
Set the related remarks of insertion;Wireless terminal has the function of to check history waveform, can select to show ratio when checking waveform
Example and pattern, and related remarks are inserted by selecting the time.
In some embodiments, the present invention also provides a kind of EGC waveform data processing methods, which is characterized in that including:
The first electrocardiogram (ECG) data of user is acquired, and is stored in buffer area;Wherein, first electrocardiogram (ECG) data includes:The
One time point information and first amplitude data;
By the first amplitude data time point adjacent with the first time point information corresponding width in buffer area
Value Data is compared, and comparing result is obtained;
First electrocardiogram (ECG) data is handled according to the comparing result.
Specifically, there is caching, packing process when carrying out data transmission in the terminal:Terminal is after acquiring electrocardiogram (ECG) data
It is introduced into buffer area, whether the Wave data amplitude that adjacent time point is compared in buffer area is consistent as consistent retains a heart
Electric data check whether adjacent electrocardiogram (ECG) data is linearly to increase or reduce if linear amplitude changes in this way only to retain as inconsistent
Simultaneously amplitude variations coefficient is added in one amplitude data, if being not the above situation intentionally by the institute in adjacent set time section
Electric data are bagged directly into EGC waveform data and are sent.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions
It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not
The sequence being same as herein executes shown or described step.
As shown in Fig. 2, present invention also provides a kind of ecg wave form numbers using the EGC waveform data processing method
According to processing unit, including:
Valid data receiving unit 1, for receive terminal transmission effective Wave data, effective Wave data be into
EGC waveform data when row ECG detecting;Wherein, effective Wave data of reception is redundant data, the same significant wave
Graphic data is through the terminal by multiple channels, and front and back repeatedly send obtains the significant wave of redundancy in each channel
Graphic data;
Duplicate removal unit 2, for carrying out duplicate removal to the effective Wave data received;
Time determination unit 3, the initial time for determining each effective Wave data and end time;
Assembled unit 4, for being had to all according to the initial time and end time of each effective Wave data
Effect Wave data re-starts combination connection, obtains final Wave data.
In some embodiments, EGC waveform data processing unit as the aforementioned further includes:First waveform information acquisition list
Member;The first waveform information obtainment unit includes:
Wave data determining module, the temporal information for determining each sampled data in each effective Wave data
With amplitude information;
Memory module, for storing the temporal information and amplitude information according to sequential correspondingly.
In some embodiments, EGC waveform data processing unit as the aforementioned further includes:Second shape information obtains single
Member;The second shape information obtaining unit includes:
Sequential determining module, for determining the context in the sequential between all effective Wave datas;
Time interval determining module, for determine in sequential between all adjacent effective Wave datas two-by-two when
Between be spaced.
In some embodiments, EGC waveform data processing unit as the aforementioned further includes:Invalid waveform computing unit;
The invalid waveform computing unit includes:
Invalid waveform computing module, for obtaining corresponding invalid Wave data according to each time interval,
The invalid Wave data is Wave data when not carrying out ECG detecting, the duration of the invalid Wave data with it is corresponding
The time interval duration it is consistent, and amplitude perseverance be 0;
Corresponding relation building module, for establishing the correspondence between the invalid Wave data and time interval.
In some embodiments, EGC waveform data processing unit as the aforementioned further includes:Complete waveform obtaining unit;
The complete waveform obtaining unit, for the invalid Wave data to be connected to correspondence according to the correspondence
Effective Wave data adjacent two-by-two between, obtain complete waveform data;
Complete waveform obtaining unit, for the invalid Wave data to be connected to corresponding two according to the correspondence
Between two adjacent effective Wave datas, complete waveform data are obtained.
In some embodiments, the present invention also provides a kind of EGC waveform data processing units, including:
Data acquisition unit, the first electrocardiogram (ECG) data for acquiring user, and be stored in buffer area;Wherein, described
One ECG data packet includes:First time point information and first amplitude data;
Comparing unit, in buffer area by the first amplitude data it is adjacent with the first time point information when
Between put corresponding amplitude data and compared, obtain comparing result;
Processing unit, for being handled first electrocardiogram (ECG) data according to the comparing result.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general
Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
Be performed by computing device in the storage device, either they are fabricated to each integrated circuit modules or by they
In multiple modules or step be fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific
Hardware and software combines.
The foregoing is merely the preferred embodiments of the application, are not intended to limit this application, for the skill of this field
For art personnel, the application can have various modifications and variations.Within the spirit and principles of this application, any made by repair
Change, equivalent replacement, improvement etc., should be included within the protection domain of the application.