Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of atrial fibrillation method for detecting, device for capableing of real-time detectionWith wearable device and computer equipment.
A kind of atrial fibrillation method for detecting, which comprises
Obtain movement state information;
Analyze whether the movement state information is stationary state;
If the movement state information is stationary state, the heart rate information in the acquisition units time, wherein the heart rateIt include multiple heart rate signals in information;
The heart rate signal is parsed and generates the first heartbeat numerical value;
Judge whether the difference between multiple first heartbeat numerical value is greater than preset heartbeat threshold value;
If the difference between multiple first heartbeat numerical value is greater than preset heartbeat threshold value, determine to be in atrial fibrillation shapeState.
In one embodiment, whether the analysis movement state information is that stationary state includes:
The movement state information is resolved into movement count value;
If the movement count value is greater than the count threshold, be kept in motion stopping acquisition heart rate information;
If the movement count value is less than or equal to the count threshold, remains static and start to acquire heart rate letterBreath.
In one embodiment, it is described by the movement state information resolve to movement count value include:
Judge whether the difference of the movement state information of adjacent time period is greater than preset movement threshold;
If the difference of the movement state information of adjacent time period is greater than preset movement threshold, movement is countedValue plus one;
It, will fortune if the difference of the movement state information of adjacent time period is less than or equal to preset movement thresholdDynamic count value empties.
In one embodiment, the heart rate signal is PPG signal.
In one embodiment, the method also includes:
Receive input instruction;
According to the input instruction acquisition ecg information, wherein the ecg information includes multiple electrocardiosignals;
Judge whether the ecg information is abnormality;
If the ecg information is not abnormality, the ecg information is parsed and generates the second heartbeat numerical value;
Judge whether the difference between multiple second heartbeat numerical value is greater than preset heartbeat threshold value;
If the difference between multiple second heartbeat numerical value is greater than preset heartbeat threshold value, determine to be in atrial fibrillation shapeState.
In one embodiment, the abnormality is that the signal numerical value of the adjacent electrocardiosignal is identical;Or
The difference of the signal numerical value of the adjacent electrocardiosignal is more than preset threshold.
A kind of atrial fibrillation arrangement for detecting, described device include:
Module is obtained, for obtaining movement state information;
Analysis module, for analyzing whether the movement state information is stationary state;
Acquisition module, if for the movement state information be stationary state, the heart rate information in the acquisition units time,It wherein, include multiple heart rate signals in the heart rate information;
Parsing module generates the first heartbeat numerical value for parsing the heart rate signal;
Judgment module, for judging whether the difference between multiple first heartbeat numerical value is greater than preset heartbeat thresholdValue;
Object module is sentenced if being greater than preset heartbeat threshold value for the difference between multiple first heartbeat numerical valueSurely it is in atrial fibrillation state.
A kind of atrial fibrillation detecting wearable device, the equipment includes: acceleration transducer, heart rate sensor, electrocardio sensingDevice and data processing unit, the data processing unit respectively with the acceleration transducer, the heart rate sensor and describedEGC sensor is connected;
The acceleration transducer acquires movement state information;
The heart rate sensor acquires heart rate information;
The EGC sensor acquires ecg information;
The data processing unit receives and processes the movement state information, the heart rate information and electrocardio letterBreath, according to treated, information judges whether in atrial fibrillation state.
The atrial fibrillation detecting wearable device can realize following steps:
Obtain movement state information;
Analyze whether the movement state information is stationary state;
If the movement state information is stationary state, the heart rate information in the acquisition units time, wherein the heart rateIt include multiple heart rate signals in information;
The heart rate signal is parsed and generates the first heartbeat numerical value;
Judge whether the difference between multiple first heartbeat numerical value is greater than preset heartbeat threshold value;
If the difference between multiple first heartbeat numerical value is greater than preset heartbeat threshold value, determine to be in atrial fibrillation shapeState.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processingDevice performs the steps of when executing the computer program
Obtain movement state information;
Analyze whether the movement state information is stationary state;
If the movement state information is stationary state, the heart rate information in the acquisition units time, wherein the heart rateIt include multiple heart rate signals in information;
The heart rate signal is parsed and generates the first heartbeat numerical value;
Judge whether the difference between multiple first heartbeat numerical value is greater than preset heartbeat threshold value;
If the difference between multiple first heartbeat numerical value is greater than preset heartbeat threshold value, determine to be in atrial fibrillation shapeState.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processorIt is performed the steps of when row
Obtain movement state information;
Analyze whether the movement state information is stationary state;
If the movement state information is stationary state, the heart rate information in the acquisition units time, wherein the heart rateIt include multiple heart rate signals in information;
The heart rate signal is parsed and generates the first heartbeat numerical value;
Judge whether the difference between multiple first heartbeat numerical value is greater than preset heartbeat threshold value;
If the difference between multiple first heartbeat numerical value is greater than preset heartbeat threshold value, determine to be in atrial fibrillation shapeState.
Above-mentioned atrial fibrillation method for detecting, device and wearable device and computer equipment acquire heart rate information, judge unitWhether the heart rate information in the time is more than threshold values, learns whether the person of being detected is in atrial fibrillation state, improves the capture rate of heart rate figure,Increase the accuracy rate for judging atrial fibrillation state.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understoodThe application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, notFor limiting the application.
In one embodiment, as shown in Figure 1, providing a kind of atrial fibrillation method for detecting, comprising the following steps:
Step 102, movement state information is obtained.
In one embodiment, the collection period for obtaining the movement state information is 150ms.It is appreciated that described adoptCollecting the period may be 120ms, 130ms, 140ms, 160ms, 170ms, 180ms or other numerical value.
Step 104, analyze whether the movement state information is stationary state.
The step further include: the movement state information is resolved into movement count value;
If the movement count value is greater than the count threshold, be kept in motion stopping acquisition heart rate information;
If the movement count value is less than or equal to the count threshold, remains static and start to acquire heart rate letterBreath.
In one embodiment, the count threshold is 50, when the movement count value is greater than 50, indicates continuous and movesMake, it is believed that be currently at motion state, stop atrial fibrillation measurement;When the movement count value is less than or equal to 50, expression does not connectContinuous movement, it is believed that be currently at stationary state, start atrial fibrillation measurement.
It is described that the movement state information is resolved into movement count value further include:
Judge whether the difference of the movement state information of adjacent time period is greater than preset movement threshold;
If the difference of the movement state information of adjacent time period is greater than preset movement threshold, movement is countedValue plus one;
It, will fortune if the difference of the movement state information of adjacent time period is less than or equal to preset movement thresholdDynamic count value empties.
In one embodiment, the initial value of the movement count value is 0, in the judgment process, once adjacent timeThe difference of the movement state information in period is less than or equal to preset movement threshold, then empties movement count value, againIt counts.
Step 106, if the movement state information is stationary state, the heart rate information in the acquisition units time, whereinIt include multiple heart rate signals in the heart rate information.
Wherein, the heart rate signal is PPG signal.
In one embodiment, the frequency acquisition of the heart rate information is 512HZ, and 512 ppg data of acquisition per second connectIt is continuous to use 60 seconds.
Step 108, the heart rate signal is parsed and generates the first heartbeat numerical value.
Step 110, judge whether the difference between multiple first heartbeat numerical value is greater than preset heartbeat threshold value.
Step 112, if the difference between multiple first heartbeat numerical value is greater than preset heartbeat threshold value, judgement is inAtrial fibrillation state.
The method also includes:
Receive input instruction;
According to the input instruction acquisition ecg information, wherein the ecg information includes multiple electrocardiosignals;
Judge whether the ecg information is abnormality;
If the ecg information is not abnormality, the ecg information is parsed and generates the second heartbeat numerical value;
Judge whether the difference between multiple second heartbeat numerical value is greater than preset heartbeat threshold value;
If the difference between multiple second heartbeat numerical value is greater than preset heartbeat threshold value, determine to be in atrial fibrillation shapeState.
Wherein, the abnormality is that the signal numerical value of the adjacent electrocardiosignal is identical;Or the adjacent electrocardiosignalSignal numerical value difference be more than preset threshold.
The method also includes: according to the first heartbeat numerical value and the second heartbeat numerical value, generate result images.?In one embodiment, heart rate figure is generated according to the heart rate information, electrocardiogram is generated according to the ecg information.
In above-mentioned atrial fibrillation method for detecting, heart rate information is acquired, judges whether the heart rate information in the unit time is more than threshold values,It learns whether the person of being detected is in atrial fibrillation state, improves the capture rate of heart rate figure, increase the accuracy rate for judging atrial fibrillation state.
It should be understood that although each step in the flow chart of Fig. 1 is successively shown according to the instruction of arrow, thisA little steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these stepsIt executes there is no the limitation of stringent sequence, these steps can execute in other order.Moreover, at least part in Fig. 1Step may include that perhaps these sub-steps of multiple stages or stage are executed in synchronization to multiple sub-stepsIt completes, but can execute at different times, the execution sequence in these sub-steps or stage, which is also not necessarily, successively to be carried out,But it can be executed in turn or alternately at least part of the sub-step or stage of other steps or other steps.
In one embodiment, as shown in Fig. 2, providing a kind of atrial fibrillation arrangement for detecting, comprising: obtain module 210, analysisModule 220, acquisition module 230, parsing module 240, judgment module 250 and object module 260, in which:
The acquisition module 210, for obtaining movement state information.
The analysis module 220, for analyzing whether the movement state information is stationary state.
The acquisition module 230, if being stationary state, the heart in the acquisition units time for the movement state informationRate information, wherein include multiple heart rate signal in the heart rate information
The parsing module 240 generates the first heartbeat numerical value for parsing the heart rate signal.
The judgment module 250, for judging it is preset whether the difference between multiple first heartbeat numerical value is greater thanHeartbeat threshold value.
The object module 260, if being greater than preset heartbeat threshold for the difference between multiple first heartbeat numerical valueValue then determines to be in atrial fibrillation state.
Specific about atrial fibrillation arrangement for detecting limits the restriction that may refer to above for atrial fibrillation method for detecting, herein notIt repeats again.Modules in above-mentioned atrial fibrillation arrangement for detecting can be realized fully or partially through software, hardware and combinations thereof.OnStating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software formIn memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, as shown in figure 3, providing a kind of atrial fibrillation detecting wearable device 300, comprising: accelerationSensor 310, heart rate sensor 320, EGC sensor 330 and data processing unit 340, the data processing unit 340 divideIt is not connected with the acceleration transducer 310, the heart rate sensor 320 and the EGC sensor 330;
The acceleration transducer 310 acquires movement state information;
The heart rate sensor 320 acquires heart rate information;
The EGC sensor 330 acquires ecg information;
The data processing unit 340 receives and processes the movement state information, the heart rate information and the electrocardioInformation, according to treated, information judges whether in atrial fibrillation state.
Atrial fibrillation detecting wearable device 300 further includes network communication unit 350, by the data of acquisition by GPRS orThe communication mode of person's bluetooth is transferred in external computer device.
Wherein, the acceleration transducer acquires ACC signal, and the heart rate sensor acquires PPG signal, and the electrocardio passesSensor acquires EKG signal.
Referring to Fig. 4, in one embodiment, the atrial fibrillation detecting wearable device 300 is smartwatch, the intelligenceWrist-watch convenient for user wearing, and can it is round-the-clock acquisition user movement state information, heart rate information and ecg information, detect in real timeSurvey whether user is in atrial fibrillation state.
Specific about atrial fibrillation detecting wearable device 300 limits the limit that may refer to above for atrial fibrillation method for detectingFixed, details are not described herein.Above-mentioned atrial fibrillation detecting wearable device 300 is worn simply, easy to use, can be with round-the-clock sensingAmount.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structureFigure can be as shown in Figure 5.The computer equipment includes processor, the memory, network interface, display connected by system busScreen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment is depositedReservoir includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer journeySequence.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculatingThe network interface of machine equipment is used to communicate with external terminal by network connection.When the computer program is executed by processor withRealize a kind of atrial fibrillation method for detecting.The display screen of the computer equipment can be liquid crystal display or electric ink display screen,The input unit of the computer equipment can be the touch layer covered on display screen, be also possible to be arranged on computer equipment shellKey, trace ball or Trackpad, can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 5, only part relevant to application scheme is tiedThe block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipmentIt may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memoryComputer program, the processor perform the steps of when executing computer program
Obtain movement state information;
Analyze whether the movement state information is stationary state;
If the movement state information is stationary state, the heart rate information in the acquisition units time, wherein the heart rateIt include multiple heart rate signals in information;
The heart rate signal is parsed and generates the first heartbeat numerical value;
Judge whether the difference between multiple first heartbeat numerical value is greater than preset heartbeat threshold value;
If the difference between multiple first heartbeat numerical value is greater than preset heartbeat threshold value, determine to be in atrial fibrillation shapeState.
In one embodiment, it is also performed the steps of when processor executes computer program
The movement state information is resolved into movement count value;
If the movement count value is greater than the count threshold, be kept in motion stopping acquisition heart rate information;
If the movement count value is less than or equal to the count threshold, remains static and start to acquire heart rate letterBreath.
In one embodiment, it is also performed the steps of when processor executes computer program
Judge whether the difference of the movement state information of adjacent time period is greater than preset movement threshold;
If the difference of the movement state information of adjacent time period is greater than preset movement threshold, movement is countedValue plus one;
It, will fortune if the difference of the movement state information of adjacent time period is less than or equal to preset movement thresholdDynamic count value empties.
In one embodiment, it is also performed the steps of when processor executes computer program
Receive input instruction;
According to the input instruction acquisition ecg information, wherein the ecg information includes multiple electrocardiosignals;
Judge whether the ecg information is abnormality;
If the ecg information is not abnormality, the ecg information is parsed and generates the second heartbeat numerical value;
Judge whether the difference between multiple second heartbeat numerical value is greater than preset heartbeat threshold value;
If the difference between multiple second heartbeat numerical value is greater than preset heartbeat threshold value, determine to be in atrial fibrillation shapeState.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculatedMachine program performs the steps of when being executed by processor
Obtain movement state information;
Analyze whether the movement state information is stationary state;
If the movement state information is stationary state, the heart rate information in the acquisition units time, wherein the heart rateIt include multiple heart rate signals in information;
The heart rate signal is parsed and generates the first heartbeat numerical value;
Judge whether the difference between multiple first heartbeat numerical value is greater than preset heartbeat threshold value;
If the difference between multiple first heartbeat numerical value is greater than preset heartbeat threshold value, determine to be in atrial fibrillation shapeState.
In one embodiment, it is also performed the steps of when computer program is executed by processor
The movement state information is resolved into movement count value;
If the movement count value is greater than the count threshold, be kept in motion stopping acquisition heart rate information;
If the movement count value is less than or equal to the count threshold, remains static and start to acquire heart rate letterBreath.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Judge whether the difference of the movement state information of adjacent time period is greater than preset movement threshold;
If the difference of the movement state information of adjacent time period is greater than preset movement threshold, movement is countedValue plus one;
It, will fortune if the difference of the movement state information of adjacent time period is less than or equal to preset movement thresholdDynamic count value empties.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Receive input instruction;
According to the input instruction acquisition ecg information, wherein the ecg information includes multiple electrocardiosignals;
Judge whether the ecg information is abnormality;
If the ecg information is not abnormality, the ecg information is parsed and generates the second heartbeat numerical value;
Judge whether the difference between multiple second heartbeat numerical value is greater than preset heartbeat threshold value;
If the difference between multiple second heartbeat numerical value is greater than preset heartbeat threshold value, determine to be in atrial fibrillation shapeState.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be withRelevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computerIn read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,To any reference of memory, storage, database or other media used in each embodiment provided herein,Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may includeRandom access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancingType SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodimentIn each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lanceShield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneouslyIt cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the artIt says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the applicationRange.Therefore, the scope of protection shall be subject to the appended claims for the application patent.