CN109009080A - Electrocardioscanner and cardioelectric monitor system - Google Patents

Electrocardioscanner and cardioelectric monitor system Download PDF

Info

Publication number
CN109009080A
CN109009080A CN201811000899.1A CN201811000899A CN109009080A CN 109009080 A CN109009080 A CN 109009080A CN 201811000899 A CN201811000899 A CN 201811000899A CN 109009080 A CN109009080 A CN 109009080A
Authority
CN
China
Prior art keywords
data
module
time series
electrocardioscanner
electrocardio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811000899.1A
Other languages
Chinese (zh)
Inventor
王晋平
杜磊
赵炫
崔子琦
崔子豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING DAZHONG YIKANG TECHNOLOGY Co Ltd
Original Assignee
BEIJING DAZHONG YIKANG TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING DAZHONG YIKANG TECHNOLOGY Co Ltd filed Critical BEIJING DAZHONG YIKANG TECHNOLOGY Co Ltd
Priority to CN201811000899.1A priority Critical patent/CN109009080A/en
Publication of CN109009080A publication Critical patent/CN109009080A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/318Heart-related electrical modalities, e.g. electrocardiography [ECG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7225Details of analog processing, e.g. isolation amplifier, gain or sensitivity adjustment, filtering, baseline or drift compensation

Abstract

The present invention provides a kind of electrocardioscanner and cardioelectric monitor system, electrocardioscanner includes: the electrocardial analog signal that measuring unit is used to obtain user by measurement using several microelectrode patches;Processing unit includes: A/D signal conversion module, ARM processing module and FLASH memory module;A/D signal conversion module is used to carry out A/D to electrocardial analog signal to be converted to electrocardiographicdigital digital signals;ARM processing module is used to carry out data processing to electrocardiographicdigital digital signals to obtain electrocardio time series data;Communication unit is used to that electrocardio time series data to be transmitted to terminal device by time series data transmission module (terminal device can be server, mobile phone, other Intelligent hardwares);After the completion of data processing, early warning can be carried out to data analysis result by cell phone application, wechat small routine, short message, operator attendance phone etc.;It is not portable to solve current electrocardiogram equipment, many patients is caused to be difficult to obtain the technical issues of preventing and treating in time.

Description

Electrocardioscanner and cardioelectric monitor system
Technical field
The present invention relates to human body monitoring technical fields, more particularly, to a kind of electrocardioscanner and cardioelectric monitor system.
Background technique
Currently, cardiopathic detection mainly by electrocardiogram monitor system, in real time to ECG Signal Analysis processing, finds the heart Electrical anomaly simultaneously takes countermeasure in time, to reduce heart disease rate.ECG monitor is the practical accurate medicine of hospital Instrument can guard the practical accurate medical instrument of the dynamic of patient simultaneously.The equipment is capable of detecting when the ecg information of user.
However, electrocardiogram equipment currently on the market is not portable, and heart attack have it is intermittent and and it is irregular, this Sample results in many patients to be difficult to be prevented and treated in time.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of electrocardioscanner and cardioelectric monitor system, it is existing to solve There is electrocardiogram equipment current present in technology not portable, the technology for causing many patients to be difficult to be prevented and treated in time is asked Topic.
In a first aspect, the embodiment of the invention provides a kind of electrocardioscanners, comprising: measuring unit, processing unit and Communication unit;The measuring unit is used to obtain the electrocardial analog signal of user by measurement using several microelectrode patches; The processing unit includes: analog/digital (A/D) signal conversion module, advanced reduced instruction set machine (Advanced RISC Machines, abbreviation ARM) processing module and flash memory (abbreviation FLASH) memory module;The A/D signal conversion module is used for A/D conversion is carried out to the electrocardial analog signal, obtains electrocardiographicdigital digital signals;The ARM processing module is used for the electrocardio Digital signal carries out data processing, obtains electrocardio time series data;The FLASH memory module is used for the electrocardio time series data It is stored;The communication unit is set for the electrocardio time series data to be transmitted to terminal by time series data transmission module It is standby.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein institute State processing unit further include: indicator light;The indicator light is for showing the A/D signal conversion module, the ARM processing module And the working condition of the FLASH memory module.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein institute State wire communication and/or wireless communications links between measuring unit and the processing unit;The measuring unit passes through cable modem The electrocardial analog signal is transmitted to the A/D signal conversion module in the processing unit by news and/or wireless telecommunications;The nothing The mode of line communication includes: at least one of bluetooth, 3G, 4G, 5G, WLAN.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein also It include: power supply unit;The power supply unit is used to through at least one of lithium battery, wired charging and wireless charging be institute State measuring unit, the communication unit, the A/D signal conversion module, the ARM processing module and FLASH storage Module provides electricity.
Second aspect, the embodiment of the present invention also provide a kind of cardioelectric monitor system, comprising: terminal device and such as first party Electrocardioscanner described in face;The terminal device is connect with the electrocardioscanner by wireless and/or wire communication;It is described The electrocardio time series data is transmitted to the terminal device by the time series data transmission module in electrocardioscanner;The terminal is set Standby includes: data analysis module and warning module;The data analysis module is used for by calculating to the electrocardio time series data Data analysis is carried out, analysis result is obtained;The analysis result includes: preset time average heart rate, preset time average heart rate Trend, default stage average heart rate mean-square value, respiratory rate heart rate become than, the standard deviation of normal cardiac cycle and heart rate variability At least one of power curve;The warning module is used to carry out heart rate exception, cardiac extra systole, heart according to the analysis result The early warning of at least one of atrial fibrillation.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein institute Stating terminal device is at least one of host computer, mobile phone, computer, server;The electrocardioscanner transmits the electrocardio The mode of time series data to the terminal device includes at least one of: when the electrocardioscanner directly transmits the electrocardio Ordinal number is according to at least one of host computer, mobile phone, computer, server;The electrocardioscanner is by ordinal number when the electrocardio According to ARM hardware is transmitted to, electrocardio time series data described in the ARM hardware transport is into host computer, mobile phone, computer, server At least one.
In conjunction with second aspect, the embodiment of the invention provides second of possible embodiments of second aspect, wherein institute It states data analysis module to be also used to handle the electrocardio time series data, obtains heart rate, breathing, body dynamic, sleeping position, multiple dimensioned At least one of entropy information.
In conjunction with second aspect, the embodiment of the invention provides the third possible embodiments of second aspect, wherein institute State that data analysis module is also used to by calculating to the heart rate, the breathing, the body are dynamic, the sleeping position, described multiple dimensioned At least one of entropy information carries out data analysis, obtains data analysis result.
In conjunction with second aspect, the embodiment of the invention provides the 4th kind of possible embodiments of second aspect, wherein institute State terminal device further include: display module and control module;The display module is used for the electrocardio time series data and/or institute Data analysis result is stated to be shown;The control module is used to control the vibration of pillow, pillow according to the data analysis result At least one of form and the form of bed of head.
In conjunction with second aspect, the embodiment of the invention provides the 5th kind of possible embodiments of second aspect, wherein institute Stating terminal device includes: data memory module;The data memory module is used for the timestamp in the electrocardio time series data It is stored with data separating.
Technical solution provided in an embodiment of the present invention brings following the utility model has the advantages that electrocardio prison provided in an embodiment of the present invention It surveys instrument and cardioelectric monitor system includes: communication unit, measuring unit and processing unit, wherein if measuring unit is for utilizing Dry microelectrode patch obtains the electrocardial analog signal of user by measurement, furthermore, processing unit includes: A/D signal modulus of conversion Block, ARM processing module and FLASH memory module, wherein A/D signal conversion module is used to carry out A/D to electrocardial analog signal It converts to obtain electrocardiographicdigital digital signals, moreover, ARM processing module is used to carry out data processing to electrocardiographicdigital digital signals to obtain To electrocardio time series data, in addition, FLASH memory module is used to store electrocardio time series data, also, communication unit is used for Electrocardio time series data is transmitted to terminal device by time series data transmission module, several microelectrodes are utilized by measuring unit Patch measurement obtains the electrocardial analog signal of user, then carries out A/D to the electrocardial analog signal by A/D signal conversion module and turn It changes to obtain electrocardiographicdigital digital signals, then data processing is carried out to electrocardiographicdigital digital signals to obtain the heart by ARM processing module Electrocardio time series data is finally transmitted to terminal device by time series data transmission module again, makes the heart of user by electric time series data Electro-detection process is able to simplicity, and the devices such as microelectrode patch needed for detecting are easy to carry, user just can whenever and wherever possible into Row ECG detecting, so that it is not portable to solve current electrocardiogram equipment existing in the prior art, cause many patients be difficult and When obtain prevent and treat the technical issues of.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification and attached drawing Specifically noted structure is achieved and obtained.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the structural schematic diagram of electrocardioscanner provided in an embodiment of the present invention;
Fig. 2 is the conducting wire attachment structure schematic diagram of electrocardioscanner provided in an embodiment of the present invention;
Fig. 3 a shows the positive structure schematic of the electrocardioscanner of inventive embodiments offer being integrated and connected;
Fig. 3 b shows the structure schematic diagram of the electrocardioscanner of inventive embodiments offer being integrated and connected;
Fig. 4 is the external structure schematic diagram of electrocardioscanner equipment provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of cardioelectric monitor system provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram for the heart rate variability data that cardioelectric monitor system provided in an embodiment of the present invention is shown;
Fig. 7 is another schematic diagram for the heart rate variability data that cardioelectric monitor system provided in an embodiment of the present invention is shown.
Icon: 1- electrocardioscanner;11- measuring unit;12- processing unit;121-A/D signal conversion module;122-ARM Processing module;123-FLASH memory module;124- indicator light;13- communication unit;2- cardioelectric monitor system;21- terminal device.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Currently, electrocardiogram equipment in the market is not portable, volume is bigger, also relatively more high noble quality, in addition heart attack With it is intermittent and and it is irregular, result in many patients to be difficult to be prevented and treated in time in this way.
Based on this, a kind of electrocardioscanner provided in an embodiment of the present invention and cardioelectric monitor system be can solve existing Current electrocardiogram equipment present in technology is not portable, and the technology for causing many patients to be difficult to be prevented and treated in time is asked Topic.
For convenient for understanding the present embodiment, first to a kind of electrocardioscanner disclosed in the embodiment of the present invention and Cardioelectric monitor system describes in detail.
Embodiment one:
A kind of electrocardioscanner provided in an embodiment of the present invention, as shown in Figure 1, being set as a kind of monitoring of portable cardiac Standby, electrocardioscanner 1 includes: measuring unit 11, processing unit 12 and communication unit 13.
As the preferred embodiment of the present embodiment, measuring unit is used to obtain using several microelectrode patches by measurement Take the electrocardial analog signal at family.Measurement part is directly fitted human body and is measured by three mini electrode patch.
As shown in Figure 1, processing unit includes: A/D signal conversion module 121, ARM processing module 122 and FLASH storage Module 123.A/D signal conversion module is used to carry out A/D conversion to electrocardial analog signal, obtains electrocardiographicdigital digital signals.ARM processing Module is used to carry out data processing to electrocardiographicdigital digital signals, obtains electrocardio time series data.When FLASH memory module is used for electrocardio Ordinal number is according to being stored.Processing unit further include: indicator light 124.Indicator light is for showing A/D signal conversion module, ARM processing The working condition of module and FLASH memory module.Communication unit is used to pass through time series data transmission module for ordinal number when electrocardio According to being transmitted to terminal device.The TCP data segment is primarily to the equipment such as instrument and mobile phone, plate, server are led to Letter, the part is using time series data transmission module.Therefore, electrocardio time series data can be transmitted to FLASH memory module etc. Other hardware devices, other hardware devices are as transfer, to realize the timing hardware end storage of electrocardio device data, wherein Including file structure.
The material of several microelectrode patches connecting with A/D signal conversion module is silver chlorate.Wherein, microelectrode patch It can be mini electrode patch, the mini electrode is more slightly smaller than ordinary electrode patch, and three patches concentrate in together, and wherein patch is adopted With disposable silver chloride material.Connection type lead line connection, be integrated and connected two ways.It should be noted that connection Three leads may be implemented in one group of mini electrode slice, connect two arrays of electrodes piece, six leads may be implemented.Four groups of electrode slices are connected, it can To realize 12 lead.
As shown in Fig. 2, three mini electrode patch concentrate in together, mini electrode patch for conducting wire connection type It is connect by conducting wire with main body, patch is placed with to chest equipotential and postpones by user, and after conducting wire connects, main part can To carry, with user-friendly.In practical applications, as shown in Figure 3a and Figure 3b shows, mini for the mode of being integrated and connected Electrode directly forms body surfaces, and instrument is directly placed with to chest by when use, and main body itself is more frivolous, is placed with very square Just.
It should be noted that wire communication and/or wireless communications links between measuring unit and processing unit;Measuring unit The A/D signal conversion module being transmitted to electrocardial analog signal by wire communication and/or wireless telecommunications in processing unit;Wirelessly The mode of communication includes: at least one of bluetooth, 3G, 4G, 5G, WLAN.
As another embodiment provided in this embodiment, the specific structure of mini electrode paste may be:
1, circuit is carried on mini electrode, including electrode, processor, FLSAH, AD1291 (or 1191), battery can be with Measurement and storage is implemented separately;
2, main part includes STm32 processor, flash, network transmission module (cable, wifi, 2G, 3G, 4G, bluetooth Deng).The data measured on mini electrode can be in real time in transmission time sequence data to main part if conducting wire connects.It is main Body portion real-time transmission data is to cloud server.After cloud server analysis, real-time sleep apnea monitoring is carried out, and control Pillow processed vibration, pillow or bed form;
If 3, mini electrode does not have to conducting wire connection main part, with measurement data and can save.Connect when with conducting wire After connecing main body, it may be implemented to charge and time series data be saved in main part.By main part upload server.Server It was found that data time is not current time, i.e. the data historical data that is caching, then not the vibration of real-time control pillow, pillow or The form of bed;
4, optional bluetooth module on mini electrode, when do not have to conducting wire when, can also real-time Transmission time series data to lead On body portion.Main part real-time Transmission time series data is analyzed in real time to server, and by server, and feedback result is to master Body portion, main part can realize the form of the vibration of real-time control pillow, pillow or bed;
5, main part also can connect the sensor of piezoelectric ceramics, piezoelectric membrane, oxygen saturation monitor, acquire multichannel data, As real-time time series data sequence, cloud server is uploaded to, is analyzed in real time, feedback control.
It should be noted that A/D signal conversion module may be A/D signal conversion element, ARM processing module can also be with It may be FLASH storage chip for arm processor and FLASH memory module.
Data processing hop is by A/D signal conversion element, arm processor, FLASH storage chip and peripheral element It constitutes.The part is substantially carried out data processing storage, and the signal that electrode is measured handles logical in real time through ARM after being converted by A/D It crosses hop to transfer out, or is stored by FLASH memory, is called again when needing.The part can pass through finger Show lamp to show its working condition.Data processing hop mainly completes data analog signal and is converted into digital signal, passes through ARM processing is transferred to terminal device, and data can also be stored in FLASH storage, are called when needing.Therefore, data processing Equipment body will complete signal conversion, processing, storage, transmission and display etc..
Specifically, converting for signal and handling part, electrode patch obtains intracorporal electron ion shifting by contacting human body The raw electric current of movable property is converted to voltage signal, and such analog signal is converted into digital signal by A/D signal conversion element.A/ D signal conversion module is ASD1191 chip, and therefore, for conversion element, using ASD1191 chip, it connect with electrode patch One piece constitutes EGC sensor element.
For ARM processing module part, ARM processing module is STM32 chip.ARM processing module may be ARM processing Device has I/O pin interface using STM32 chip, is responsible for connection other elements, wherein further including some drivers, protects Card is connected with each other and works normally.The processor has high-performance, low cost, low-power consumption, maximum integrated level and other effects.
The storage of data is guaranteed using FLASH bulk storage for FLASH memory module, even if guaranteeing it without electricity Data also can be muchly kept under conditions of stream supply.It can store a large amount of data, and offline transmission.FLSAH is used Small files management system has and manages bad block automatically, and piecemeal operation manages read-write and deleting mechanism of data etc..Equipment The FLASH memory module such as FLASH document storage system is responsible for data acquisition and local cache, when by collected multichannel electrocardio Ordinal number evidence, time identifier, data label are stored.Document storage system can store data into single-chip microcontroller built-in FLASH Or in external FLASH storage.
Wherein, the structure that uses main point three parts when document storage system stores: index part, data label, data Part.These three parts respectively use two file storages, are respectively designated as index+data label file, data file.It is right In index and data label part, index part is stabbed using the structure of regular length come storage time and data pointer, and one Index data is known as directory entry, mainly includes following 3 part: timestamp, 8 bytes (64 have symbol integer), using class Unix timestamp is realized;Data pointer, 8 bytes (64 unsigned ints) identify this time series data in the data file Offset (relative file head);Data length, 4 bytes (32 unsigned ints), identifies this time series data in data file The length of middle occupancy;Data label: 4 bytes (32 unsigned ints) identify the label or explanation of this time series data.
It is last using index file for the index data of program of lower computer file system due to slave computer limited storage space It is hot on the trail of plus writes, after writing full index part memory space, sequence is covered since index part memory space head.It can be adopted when lookup It is carried out with traversal or simple dichotomy, has both the simplicity of realization and the high efficiency of inquiry.
For data portion, data file be it is structureless, when new time series data is written directly end-of-file addition write Enter, such writing mode efficiency is very high, the IO ability that slave computer can be made full use of to store.
For writing process, after the data that lower computer hardware receives sensor or external transmission comes, by a point following step Suddenly it is written: data supplementing first A, being write into data file tail portion, while obtaining the starting point of this write-in in data file In offset relative to file header;If B, step A is written successfully, long using timestamp, step the A offset obtained and data Degree construction directory entry;C, the additional write-in index file end of the directory entry for constructing step B;If D, step C is written successfully, Write-in terminates.If encountering FLASH memory space tail, sequence is written from FLASH memory space head.If FLASH has bad block, skip Bad block is written.
In addition, data transmission can choose wifi, bluetooth, 2G, 3G, 4G, 5G, NB-IoT etc. for data transmission Mode.By data transmission module, wirelessly connect with exterior terminal equipment, exterior terminal can real-time reception set Standby data, can also call historical data.The data file cached in equipment FLASH transfers data to clothes by communication module Business device, computer, mobile phone, plate etc., establish the connection with server, computer, mobile phone, plate etc..
Wherein, for the pairing of bluetooth equipment, the Bluetooth function of the equipment that can open a terminal, scanning discovery this equipment lead to It crosses pairing password to be attached, if terminal is computer, without Bluetooth function, then just needing to be inserted into an indigo plant in host computer Tooth receiver realizes this function, after successful matching, when equipment work, into transmission process;For the company of wifi module It connects, wifi module data transmission mouth is opened by STM32, configuration parameter carries out data transmission into TCP/IP mode;For The connection of 2G, 3G, 4G, 5G module and NB-IoT module opens 2G, 3G, 4G, 5G module and NB-IoT mould by STM32 The data transmission mouth of block, configuration parameter are started by AT order, are carried out data transmission into TCP/IP mode.
For the Data Transport Protocol of transmission aspect, communication protocol encapsulated layer is by communication module most basic in communication process The relevant processing of the communication such as calling process, ICP/IP protocol, Bluetooth protocol is packaged with agreement, keeps programming personnel direct Calling process interface directly passes through parameter setting, and operation equipment and server, mobile phone, plate, computer etc. are communicated.It is logical Believe that protocol encapsulation layer by abstract network Communication Model, realizes the configurable row and dynamic plug row of each functional module.It is fixed The nuclear structure and module of justice can be with are as follows: link block, slave computer are connect with server, according to different communication modules, initially Connection is established in change;Module is monitored, network request is monitored and receives the data and order of server transport;Communication module, receive and It sends and passes through the frame supervisor package of dynamic configuration and unpack binary stream data;Frame supervisor module is responsible for communicating Cheng Zhong carries out subpackage to the data of transmission and unpacks.Data packet can be according to byte stream protocol layer communication pattern.Byte stream protocol layer It is responsible for the specific data that definition is transmitted with host computer, slave computer, communications protocol is used uniformly following format, and all bytes are 16 System.Communication protocol is made of the part such as frame head, frame length, protocol version, command word, data, verification, host computer and bottom After machine receives specific bytes of stream data, it can perform corresponding processing.Wherein, frame head is generally made of 2 bytes, for marking Know this segment data head;Frame length is made of 2 bytes, shows the length of this entire bag data;Protocol version is by 1 byte It constitutes, can be used to the version number for distinguishing this bag data, improve the compatibility of agreement;Command word shows that this segment data needs to complete Movement;Data portion is according to specific operation, by call format additional data;Last 1 is check bit, to verify whole section The accuracy of data.
For the display aspect of indicator light, user can judge its working condition, work shape by viewing lamp State has: shutdown, standby (not connected terminal), equipment and terminal successful connection, work (acquisition data), unit exception etc..Instruction Lamp is indicated by different colours etc., for example, shutdown is gone out with lamp to be indicated, standby to be indicated with amber light, successful connection green light It indicates, the flashing of work green light rule indicates that unit exception is indicated with red light.
For the power supply of electrocardioscanner, electrocardioscanner further include: power supply unit, power supply unit are used for through lithium electricity At least one of pond, wired charging and wireless charging are measuring unit, at communication unit, A/D signal conversion module, ARM It manages module and FLASH memory module provides electricity.Power unit can save space, continuation of the journey by built-in lithium battery Ability is strong.Power unit can also keep charging process more convenient and practical using USB interface charging and wireless charging technology, because This, live part can use wired charging, can also use wireless charging both of which.Furthermore equipment can also be using province Power mode or normal mode operation: it when work is with general mode, can be transmitted with data in acquisition;When working in battery saving mode, Collection process does not transmit data, and charging process carries out data transmission.
As shown in figure 4, overall structure mainly has mini motor patch, leads for the external structure of electrocardioscanner equipment On line, main control unit box and charger composition.There is lead line interface to connect mini patch on primary control box, it can be on primary control box It is provided with USB interface connection charging head, facilitates charging.Furthermore it can also be configured with wireless charger, without connection, as long as will Equipment is placed can charge up.Indicator light is also provided on primary control box, as operating switch of equipment master switch etc. Component.
In practical applications, electrocardioscanner can be adapted for hospital, family, gymnasium etc..The core of electrocardioscanner Component completes integrated approach, accomplishes to be miniaturized, more portability, and power consumption is lower, and 24 hours Non-intermittent real time monitorings, leads to It crosses and radios to PC, mobile phone, plate, server etc., oneself body is controlled whenever and wherever possible, not by the limit of time and location System.Therefore, electrocardioscanner has great help to the prevention for the crowd's morbidity having a heart disease, but also to overcome tradition The limitation that electrocardiogram equipment uses, can it is more portable, more effectively obtain body physiological parameter.
Therefore, electrocardioscanner provided in this embodiment gets rid of the cardiac electrical limitation of conventional measurement, only patch is needed to be attached to chest Mouthful, connection host carry can thought-read electricity whenever and wherever possible, and electrocardio initial data can be saved in server, led to Server analysis data result is crossed, surveys the cardiac electrical inconvenience such as cumbersome, expensive, the prevention to heart attack in the past to overcome There is great help.
As the preferred embodiment of the present embodiment, wire communication and/or channel radio between measuring unit and processing unit News link.Electrocardial analog signal is transmitted to the A/D in processing unit by wire communication and/or wireless telecommunications and believed by measuring unit Number conversion module.Wherein, the mode of wireless telecommunications may include: at least one of bluetooth, 3G, 4G, 5G, WLAN.
In one implementation, the electronic equipment that processing unit and communication unit are formed, the heart formed with measuring unit Wired connection between electric equipment, naturally it is also possible to be arranged at one on the whole.Specifically, electrocardio equipment can be attached to chest by user Mouth is charged, during the charging process, electrocardio equipment can be the heart with realizing that data are acquired by the USB port on electronic equipment In the collected data storage to electronic equipment of electric equipment.FLASH module and communication module are provided in the electronic equipment, finally The data of electrocardio equipment and the original temporal data of whole, the server in cloud is transferred to by communication module.
In another implementation, the electronic equipment that processing unit and communication unit are formed is formed with measuring unit It is separately positioned between electrocardio equipment, specifically, wireless telecommunications connect between electronic equipment and electrocardio equipment, for example, electrocardio equipment All there is Bluetooth function with electronic equipment, electrocardio equipment can send data to electricity by bluetooth in collection process in real time Sub- equipment.Therefore, it can be communicated with each other between electrocardio equipment and electronic equipment, carry out data transmission, order control.Certainly, electric Sub- equipment can also transfer data to electrocardio equipment, carry out system upgrade to electrocardio equipment.
Specifically, the communication format for that can use between electrocardio equipment and electronic equipment: byte stream protocol layer is responsible for The specific data that definition is transmitted with host computer, slave computer, for communications protocol using unified format, all bytes are 16 systems.Its In, the format of the communications protocol is as shown in the table:
As shown above, communication protocol by frame head, frame length, frame length check code, protocol version, command word, data, The part such as verification is constituted, and after host computer receives specific bytes of stream data with slave computer, can be performed corresponding processing.Wherein, Frame head is generally made of 2 bytes, for identifying this segment data head;Frame length is made of 2 bytes, shows this entire packet number According to length;Frame length check code verifies the accuracy of frame head and frame length;Protocol version is made of 1 byte, can be used to The version number for distinguishing this bag data improves the compatibility of agreement;Command word shows the movement that this segment data needs to complete;Data Part is according to specific operation, by call format additional data;Last 1 is check bit, to verify the accurate of whole segment data Property.
As the another embodiment of the present embodiment, electrocardioscanner can also be applied to the scenes such as sleep monitor, example Such as, using electrocardioscanner as the form of sleep monitor device, USB is also provided in the equipment that the sleep monitor device is formed Interface, to charge to sleep monitor device.
In addition, being specifically as follows for main part hardware time order database design aspect:
In terms of file structure: first, file index is stored in built-in flash, can quickly be accessed in this way.Wherein wrap Include: file serial number, file name, file type, if can delete (be exactly storage without the free time when this document whether can be deleted), Data sampling rate, total bytes have stored byte number, if automatic to upload, initial memory address, next storage address, under The data address of one upload.Second, file content is stored in external flash.(file index address, file data) in this way The maximum file data size stored in each piece is the block size byte that subtracts 4, this is denoted as file block size.Third, file The structure of the structure of data, the file data of different file types is different.It is broadly divided into and sleeps health file data, ordinary file Data etc..(flat file data is directly exactly byte stream access in fact without structure;Health file data structure: time is slept, Data)
Furthermore for the configuration aspects of external flash: first, basic parameter is defined, is gone by real flash chip It realizes.(initial address, total size, block sum, each piece of size, each page of size).Second, the structure of block: block 4 words of head Save whether memory block is occupied, and 4 byte of block tail stores next piece of address, intermediate storage data.
In addition, in terms of process: first, class file System Initialization Procedure creates or opens some texts of default Part such as sleeps health file.(application index space applies for a data space, respectively storage file index and file data Deng).Second, process is written in file, judges that file whether there is according to file name, and there is no then go to newly-built or opening file Process exists, and reads the parameter of needs, goes to trial write-in data flow: number is written according to the next storage address of file According to, being written successfully then terminates, and flash then reports an error extremely, and no free space is then transferred to the process of application documents idle storage space, Apply successfully then reattempting write-in, application failure then reports an error.Third, file read process, be passed to file name, data length, File data position (data address that file has uploaded byte number or uploaded) is first looked for from file index area according to file name To this document, judge whether file data position is less than file total bytes, according to difference divided by the size of file data blocks, obtains Block to file internal indexes, and the address for needing to read data is then calculated according to the initial address of file storage, returns and reads The data arrived, reading unsuccessfully report an error.4th, file data passively uploads process, is passed to file name, on file by reference or Byte number is uploaded, file data position is positioned, read file and is uploaded.5th, file data active upload process, is exactly basis Mark starting is uploaded, uploads file data referring next to the passive process that uploads.File data space is clashed after uploading successfully, is clashed File index space.
In practical applications, the core circuit of the electrocardio patch in the present embodiment, can paste with electrocardio and be integrated in an independence In inner wrapping, it can also be connected with data line as outside.
Embodiment two:
A kind of cardioelectric monitor system provided in an embodiment of the present invention, as shown in figure 5, cardioelectric monitor system 2 includes: that terminal is set The electrocardioscanner provided for 21 and above-described embodiment one.Terminal device and electrocardioscanner 1 pass through wireless and/or cable modem Letter connection.Electrocardio time series data is transmitted to terminal device by the time series data transmission module in electrocardioscanner.Furthermore electrocardio is supervised The terminal devices such as host computer, mobile phone, computer, server can also be transmitted to for time series data by data line by surveying instrument.Therefore, Terminal device can be at least one of host computer, mobile phone, computer, server.
Terminal device includes: data memory module.Data memory module be used for by electrocardio time series data timestamp with Data separating storage.Specifically, data memory module is applied to server, plate, mobile phone, computer, it is responsible for the number that will be received According to landing storage after compression on disk or on mobile phone.When storage, using a kind of efficient data structure by timestamp sum number It is stored according to separation, has been obviously improved the writing speed of data, while the data structure also ensures high inquiry velocity.
As a preferred embodiment, the structure that when storage uses mainly is divided into two parts: index combination tag part and data Part.The two parts respectively use a file storage, are respectively designated as indexing tag file and data file.
Therefore, terminal device includes: data analysis module and warning module;Data analysis module is used for by calculating to the heart Electric time series data carries out data analysis, obtains analysis result;Analysis result includes: that preset time average heart rate, preset time are flat Equal heart rate trend, default stage average heart rate mean-square value, respiratory rate heart rate become than, the standard deviation of normal cardiac cycle and heart rate At least one of anisotropic trend curve;Warning module for carrying out heart rate exception, cardiac extra systole, heart room based on the analysis results The early warning at least one of quivered.
It should be noted that electrocardioscanner transmission electrocardio time series data to terminal device mode include it is following at least it One: electrocardioscanner directly transmits electrocardio time series data at least one of host computer, mobile phone, computer, server;Electrocardio Electrocardio time series data is transmitted to ARM hardware, ARM hardware transport electrocardio time series data to host computer, mobile phone, calculating by detector At least one of machine, server.
For index part, stabbed using the structure of regular length come storage time and data pointer, an index number it is said that For directory entry, main includes such as four parts: timestamp, and 8 bytes (64 have symbol integer) are real using class Unix timestamp It is existing;Data pointer: it is (relatively literary to identify the offset of this time series data in the data file for 8 bytes (64 unsigned ints) Part head);Data length, 4 bytes (32 unsigned ints), the length for needing data to occupy when identifying this in the data file; Data label: 4 bytes (32 unsigned ints) identify the label or explanation of this time series data.
For index data, in such a way that index file end adds and writes, the data having been written into file can not be repaired Change, the writing speed of data can be greatly improved in such sequential write.Time series data timestamp monotonic increase is considered simultaneously, The timestamp of storage in index file is naturally orderly, can be carried out when lookup using simple dichotomy, have both the letter of realization The high efficiency of unisexuality and inquiry.
Wherein, for data portion, data file be it is structureless, it is directly in hot pursuit in file when being written new time series data Add write-in, such writing mode efficiency is very high, can make full use of the IO ability of disk.
For writing process, after server receives the time series database that client transmissions are come, point following steps are carried out Write-in: A, first writing data file tail portion for data supplementing, while the starting point for obtaining this write-in is opposite in the data file In the offset of file header;If B, step A is written successfully, timestamp, step the A offset obtained and data length configuration are used Directory entry;C, the additional write-in index file end of the directory entry for constructing step B;If D, step C is written successfully, write-in knot Beam.If above-mentioned steps have any step to fail, error code is returned to client, notice client write-in failure simultaneously passes through error code Client failure cause is informed, for example, insufficient space, data are too long, low memory etc..
Terminal device can also include: data inquiry module, allow through a variety of channels such as TCP, name pipeline, HTTP Deng and this platform interact, and can pass through a variety of querying conditions obtain need data.Present embodiments provide various channels Specific implementation, application is only needed corresponding realize is selected to call, does not need voluntarily to handle the technology in relation to channel Details.
Further, query process is as follows after receiving client query request: parsing the time range of its request, obtain Take initial time and the end time of request;The corresponding directory entry of binary search, initial time are used in indexed file Corresponding directory entry is known as originating directory entry, and the end time, corresponding directory entry was known as terminating directory entry;Sequence is read Take starting directory entry to all directory entries terminated between directory entry;Successively according to the data-bias for including in directory entry Amount and length read corresponding time series data into data file;The data read are returned into visitor by the channel of client Family end.If occurring failure or mistake in the above process, corresponding error code is returned.
Certainly, electrocardio time series data can also be transferred directly to server, there is timing analysis tool, Ke Yizhi on server It holds and concurrently accesses greatly, such as data analysis tool etc..Specifically, after original electrocardiographicdigital time series data is transmitted to server, server The preliminary analysis that can carry out data in real time obtains the dynamic value of heart rate, breathing, body, be stored in time series database memory or In time series database storage.
In addition, terminal device further include: data analysis module.Data analysis module is used for ordinal number when by calculating to electrocardio According to data analysis is carried out, analysis result is obtained.Analysis result includes: that preset time average heart rate, preset time average heart rate become Gesture, default stage average heart rate mean-square value, respiratory rate heart rate are than, the standard deviation of normal cardiac cycle and heart rate variability trend At least one of curve.
Electrocardioscanner is dealt into server, mobile phone, plate, the data on computer, and specified time span can be set, should Data in the section time, can be stored in memory headroom, promote reading performance.Data buffer storage in memory headroom, temporally Promote continuous updating.Then the accessible data in real time data cache module of real-time data analysis plug-in unit carry out related Analysis.It is that real-time data analysis plug-in unit analyzes as a result, can also write in database.Or by interface, by the knot of analysis Fruit allows outside to read or write in exterior space.
Specifically, realizing that step can be with are as follows: 1, define connecing for time series data processing in time series database development kit SDK Mouth definition: IPlugin.The interface mainly includes initialization function (Initialize), time series data processing function (ProcessData), stop function (Shutdown);2, specific processing routine needs to realize IPlugin interface, and will be specific Realization designated position (hereinafter referred to as plug-in unit catalogue) is placed in the form of dynamic link library;3, it is scanned when database platform starts The dynamic link library in plug-in unit catalogue in step 2, and be loaded into memory respectively, check whether these dynamic link libraries are realized IPlugin interface in step 1, the interface is instantiated if realizing IPlugin interface and calls its initialization function Initialize;4, successful plug-in unit example will be initialized to save in memory;5, database platform receives new time series data Afterwards, it is saved into database file by time series data memory mechanism first, time series data is then sequentially sent to memory The data processor ProcessData of each plug-in unit of middle preservation, the processing this completes each plug-in unit to data;6, When database platform is out of service, successively call the stopping function Shutdown of each plug-in unit, notify each plug-in unit release resource, Cleaning caches, is out of service.
As the another embodiment of the present embodiment, data analysis module can use data analysis algorithm, data point It is as follows to analyse algorithmic procedure:
(1) data segment for selecting one section of certain length that reposes and have (such as 2 minutes), is denoted as array y (N), N is data Length.
(2) it calculates the average value of the segment data and is denoted as avg, it may be assumed that
(3) average value is subtracted with initial data, and result is saved as into a new array x (N), it may be assumed that
X (i)=y (i)-avg, i ∈ [0, N-1]
(4) by each data point square, and a new array s (N) is saved as, it may be assumed that
S (i)=x (i) x (i), i ∈ [0, N-1]
(5) a period of time (generally taking 1s or so) is selected, its corresponding data length is calculated by data sampling rate, is denoted as L.
(6) it using length L as window, calculates the average value of s (N) each point and result is saved as into a new array b (N), i.e.,This step is 2-3 times repeatable.
(7) the array g (L) for creating an a length of L, which is initialized as follows:
I is array index
(8) b (N) and g (N) is done into convolution, as a result saves as a new array h (N), it may be assumed that
The step can carry out 2-3 times, and gained h (N) is heartbeat wave, each wave crest be a corresponding heartbeat occur when It carves.
(9) time span is taken, unit is the second and is denoted as t, calculates its corresponding data length by sample rate, L is denoted as, in number Maximum (wave crest) number of array h (N) in corresponding length L is successively calculated in group h (N) and is denoted as P, is then counted as follows It calculatesHeart rate in as the t seconds.
Calculating and processing for electrocardio time series data, mainly contain the calculating of the following aspects: from what is measured In original signal, the heartbeat data of tested person are calculated.To obtain hourly average rate calculation, be averaged the heart whole night The calculated results such as rate, all average heart rate calculating, monthly average heart rate, annual heart rate, can calculate daily hourly average heart rate and become Gesture, monthly per day heart rate trend, annual per day heart rate trend, annual monthly average rate calculation, each stage average heart rate are equal Side's value, is greater than 100 beats/min or the heart rate less than 60 beats/min whole night, carries out day, week, the moon, season, year etc. to above-mentioned data Statistics.It can also obtain heart rate variability (heat rate variability, abbreviation HRV) according to the heart rate identified, exhale Suction rate heart rate than, normal cardiac cycle standard deviation (Standard Deviation Of NN Intervals, abbreviation SDNN), Root mean square (the aviation of NN of the standard deviation (SADNN) of Cheng Pingjun NN interphase, adjacent NN interphase difference in short-term Intervals, abbreviation RMSSD), adjacent normal sinus heartbeat interval difference be more than that the number of 50ms accounts for the hundred of total sinus property heart rate Divide rate (percentage of differences exceeding50ms between adjacent normal number Of intervals, abbreviation PNN50) etc. parameter related with changes in heart rate, provide per hour and whole night heart rate variability trend Curve.The electrocardio time series data measured can also carry out the early warning such as heart rate exception, premature beat, atrial fibrillation, pass through mobile phone, plate, electricity Brain, server etc. are notified to user.By many algorithms, it can analyze out the data under heart difference health status, provide To user.The adjustment for occurring answering can also be done to body by the electrocardio situation of a period of time, therefore cardioelectric monitor system It is widely applicable.
It, can also be by third side plug using algorithm can be called, to upper as the another embodiment of the present embodiment The dynamic value of heart rate, breathing, the body stated is further analyzed.Wherein, in terms of third side plug, can use the The real-time analysis mechanisms of three side plugs, comprising:
1, an interface IPlugin is defined first, this interface define the title of plug-in unit, starting, work, stops function (referring to code segment: IPlugin.cs)
2, the class of specific plug-in unit needs to realize interface IPlugin and generates the plugins text that a dll is placed on main program Under part folder
3, plugins catalogue can be scanned when main program starts, dll therein is searched, is dynamically loaded into memory, is instantiated Class therein simultaneously switchs to IPlugin interface (referred to hereinafter as plug-in unit), and the Startup of each plug-in unit is then called to carry out function initialization.
4, main program starts other parts simultaneously, mainly includes data reception module (module come into contacts with equipment) sum number According to analysis module (modules of analysis data in real time)
5, after the data reception module of main program receives the data that equipment uploads, data analysis module is passed to, then The result of analysis is stored into time series database, current result mainly includes state (reposing, body is dynamic, from bed), heart rate and exhales Suction rate.
6, when main program detects that state from bed occurs in analysis result, then result before is merged into one SleepSegment structure (main includes state, heart rate and the respiratory rate set at elder brother's time point, referring to code segment: SleepSegment.cs it) calls the ProcessSleepSegment function of a plug-in unit that analysis result just now is sent into plug-in unit to supply Each plug-in unit uses.
7, when main program exits, the Shutdown function of each plug-in unit is successively called, notice plug-in unit saves data, cleaning resource It is then log out
Further, terminal device further include: display module and warning module.Display module is used for electrocardio timing Data and/or analysis result are shown.Warning module for carrying out heart rate exception, cardiac extra systole, heart based on the analysis results The early warning of at least one of atrial fibrillation.
Preferably, terminal device can be server, mobile phone, other Intelligent hardwares etc..Terminal device is complete to data processing Cheng Hou can carry out early warning to data analysis result by cell phone application, wechat small routine, short message, operator attendance phone etc..
For example, as shown in Figure 6 and Figure 7, display module can also show the data of part old man and sleep health young man Heart rate variability data, heart rate variability data comparison etc. under the daily different conditions of young man.For example, being shown in Fig. 6 and Fig. 7 Multi-scale entropy out, therefore, display module can show the multi-scale entropy analysis chart of electrocardiogram.
It should be noted that data analysis module obtains heart rate, breathing, body for handling electrocardio time series data At least one of dynamic, sleeping position, multi-scale entropy information.Data analysis module is also used to by calculating to heart rate, breathing, body are dynamic, At least one of sleeping position, multi-scale entropy information carries out data analysis, obtains data analysis result.
Therefore, terminal device further include: display module and control module;Display module be used for electrocardio time series data and/ Or data analysis result is shown;Control module is used to control the vibration of pillow, the form of pillow according to data analysis result And at least one of form of bed.
In the present embodiment, cardioelectric monitor system includes: mini electrode patch, main control unit box, Data Transport Protocol, cloud Data storage, the analysis of cloud algorithm and device structure.If, can be by computer, mobile phone, flat using the equipment of bluetooth mode Plate, Bluetooth gateway, server etc., storage device data are simultaneously analyzed;If using the equipment of 2G/3G/4G/5G, NB-IoT, data It is transferred directly to server, it can be by mobile phone, plate, computer, from server access initial data and data result;If adopted With the equipment of wifi module, server is transferred to by router data, can be visited by mobile phone, plate, computer from server Ask initial data and data result.
It should be noted that cardioelectric monitor system relates generally to electrocardio measurement and data processing transmission technology, examine in real time Human body electrocardio index is surveyed, and is analyzed and processed by radioing to the equipment such as PC, mobile phone, plate, server.Just due to it The features such as property taken, low-power consumption, can be widely used for the places such as hospital, family, gymnasium.
In the present embodiment, induction part using mini electrode as sensing device connects by conducting wire and carries out A/D conversion Data processing is stored at digital signal, and by arm processor, and mobile phone, computer, plate etc. are sent to by bluetooth.Institute There is element to be all integrated together, by encapsulation, people need to only be placed with instrument to chest, observe in real time by computer or mobile device The electrocardio situation of oneself can also make corresponding early warning and suggestion by some analysis softwares to data.
As the another embodiment of the present embodiment, after electrocardioscanner collects initial data, and by initial data Cloud is saved in as time series data;After cloud server receives data, initial data is stored;Pass through cloud service The Plugin Mechanism of device, analyzes initial data, obtains the data such as heart rate, breathing, the dynamic, sleeping position of body, Synchronous Radio then ordinal number According in the memory storage space of library hard-disc storage and time series database;By further analyzing plug-in unit, by algorithm, analyze To the respiratory state of user;If user is in and snores or breathing from suspending state, the form of pillow or bed is adjusted, is subtracted Few user's snores;By initial data, it can analyze out position and sleeping position of the user in bed or on pillow, adjusting When pillow and bed form, judgement adjusting is carried out in conjunction with the sleeping position of user.User can also by cell phone application, software program etc., The vibration of active control pillow, pillow form, the form etc. of bed.
Therefore, the system provided through this embodiment, it is not portable to not only solve current electrocardiogram equipment, causes much to suffer from Person is difficult to obtain the technical issues of preventing and treating in time.User's heart rate variability, breathing can even more be calculated in real time temporarily Stop, the data such as sleep stage figure, realizes to the detection of each parameter, transmission, storage, display and analysis etc., can even more pass through number According to Real Time Monitoring, realize adjustment or vibration to pillow, bed form, so as to adjust the sleeping position of user, realize and reduce It snores, the generation of sleep apnea.The product can be suitable for family, home for destitute, hospital etc. and carry out physiological compensation effects It is adjusted with real-time sleep quality.
Wherein, may include: for apnea dynamic detection algorithm
1, apnea detection parameter is initialized, specifically includes that longest siding-to-siding block length, effective subinterval length, most call by call Inhale pause length, apnea threshold value, respiration force threshold value, respiration force accounting threshold value etc..
2, one section of data (body is dynamic and does not analyze from bed) to repose in bed is obtained, it is obtained by smothing filtering and breathes wave number According to
3, the amplitude of its point, calculation method are calculated according to respiratory wave are as follows: the wave crest and trough for finding out respiratory wave, by dividing All wave crest points are fitted to a curve by 3 spline curve of section, and trough same manner is fitted to a curve, are then calculated a Amplitude of the peak-valley difference of point as the point.
4, the breathing wave-amplitude mean value in whole section of section is calculated.
5, it calculates to find out by specified suspend threshold and breathes weak section, and calculate the flatness of the heartbeat wave in the section, return The decimal of 0-1 is returned, bigger explanation is more smooth.If the section heartbeat flatness is greater than certain threshold value, then it is assumed that be central breathing Pause.
6, the section of respiration force is found out by specified respiration force threshold value, and whether the waveform for detecting the section meets breathing Feature firmly, if degree of conformity reaches certain threshold value, then it is assumed that be obstructive apnea.
It may include: data acquisition circuit acquisition number in addition, reducing the specific method of snoring for control pillow vibration According to, and collected data are transferred to STM32.STM32 stores acquisition data, remotely sends server, collects clothes Business device snoring feedback control signal circuit.After receiving snoring signal, motor oscillating is controlled by control switch on/off Adjust snoring status circuit.Wherein, STM32 to server transport data, analyze snoring according to the data and feed back by server, and to STM32 feedback snoring information.
It inflates for passing through control pillow to reduce the aspect of snoring, can specifically include:
(1) multistage bladder compartments built in pillow.
(2) by above-mentioned algorithm, after detecting sleep apnea, inflator pump can control to carry out inflation/deflation, control to air bag Pillow shape processed adjusts human body sleeping position, to reduce snoring.
(3) pillow controls inflation/deflation, adjusts pillow shape, reduces snoring circuit theory.
Specific for (3) step: data acquisition circuit acquires data, and collected data are transferred to STM32.STM32 stores acquisition data, remotely sends server, collects server snoring feedback control signal circuit. After receiving snoring signal, by controlling air bag inflation/deflation, pillow shape is adjusted, snoring is reduced.Wherein, STM32 to Server transport data, server analyzes snoring feedback according to the data, and feeds back snoring information to STM32.
(4) according to data, differentiate sleeping position, control pillow state.
Wherein, the algorithm for controlling pillow state can specifically have following below scheme:
In the initial data measured: amplitude is larger, the duration it is short for body it is dynamic;Between two segment bodies are dynamic, average width Value major part is to lie low;Between two segment bodies are dynamic, average amplitude smaller portions are to lie on one's side.
The basic principle controlled by pillow, after having determined sleep apnea, detecting state.If current to lie low, It adjusts pillow shape, is inclined-plane (there are three air bag in such as pillow, air bag 1 is inflated, and air bag 2 is constant, and air bag 3 is deflated).If current To lie low, pillow shape is adjusted, for plane (all 3 air bags are deflated to 0, while synchronous progress equivalent inflation).It needs Illustrate, for the quantity of air bag compartment, can be it is multiple, be provided with inflator pump in each air bag compartment.For example, air bag every It is provided with the inflator pump of itself, the inflator pump that itself is provided in air bag compartment 2 in storehouse 1, is provided with itself in air bag compartment 3 Inflator pump.
Wherein, body is moved, is lain low, the algorithm for judgement of lying on one's side includes:
1. extracting data
Obtain one-dimensional initial data array: x (N), N are array length.
2. the average value mu of overall data is calculated are as follows: μ
3. the mean square deviation of overall data is calculated:
Or
4. threshold value is arranged:
(1) body moves threshold value: ThBodyMove=10* σ
(2) from bed threshold value: Thleavebed=0.05* σ
5. data sectional:
(1) sky data MoveResult (N) is constructed
(2) length of setting segmentation data point, such as: m=100 (numerical value is the smaller the better)
(3) whole data x (N), is divided intoPart.
(4) compare to obtain the maximum value Max in every segment data x (j*m, (j+1) * m)jWith minimum M inj, this is calculated The difference of maximum value and minimum value in section:
Δj=Maxj-Minj
(5) estimate of situation:
If a) Δj>ThBodyMove, then judge that the segment data is dynamic for body, it may be assumed that
MoveResult (j*m, (j+1) * m)=1,
Then record the average value of this segment data: μBodyMove
If b) Δj<Thleavebed, then judge the segment data for from bed:
MoveResult (j*m, (j+1) * m)=- 1,
C) therebetween in bed
MoveResult (j*m, (j+1) * m)=0,
Record the average value of this segment data are as follows: μOnbed, further judge.
Wherein, if μOnbed<0.5μBodyMove, state is to lie on one's side at this time;If μOnbed≥0.5μBodyMove, state is flat at this time It lies.
In addition, reducing snoring aspect for the shape for controlling bed, detailed process may include:
(1) by data monitoring, identify whether to snore.
(2) after real-time monitoring snoring, the circuit theory of bed state is controlled.
(3) sleeping position for monitoring snoring with user, controls the form of bed:
When a) monitoring snoring, the head of a bed is raised, tailstock is raised;Snoring symptom disappears, and is laid flat bed;
B) head of a bed tailstock has limiter;
C) head of a bed tailstock has close to switch, triggers when to horizontal position, can be returning for system senses head of a bed tailstock Nought state.
Specifically, data acquisition circuit acquires data, and collected data are transferred to STM32.STM32 is to acquisition number According to stored, remotely send server, collect server snoring feedback control signal circuit.After receiving snoring signal, By controlling stepper motor, the head of a bed, tailstock position are controlled.Wherein, STM32 is to server transport data, and server is according to the number Snoring information is fed back according to analysis snoring feedback, and to STM32.
In all examples being illustrated and described herein, any occurrence should be construed as merely illustratively, without It is as limitation, therefore, other examples of exemplary embodiment can have different values.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
Block diagram in attached drawing shows the system of multiple embodiments according to the present invention and the possibility of computer program product The architecture, function and operation of realization.In this regard, each box in block diagram can represent a module, program segment or A part of code, a part of the module, section or code include one or more for realizing defined logic function The executable instruction of energy.It should also be noted that in some implementations as replacements, function marked in the box can also be with not It is same as the sequence marked in attached drawing generation.For example, two continuous boxes can actually be basically executed in parallel, they have When can also execute in the opposite order, this depends on the function involved.It is also noted that each box in block diagram, And the combination of the box in block diagram, it can be with the defined function of execution or the dedicated hardware based system of movement come real It is existing, or can realize using a combination of dedicated hardware and computer instructions.
Cardioelectric monitor system provided in an embodiment of the present invention, it is having the same with electrocardioscanner provided by the above embodiment Technical characteristic reaches identical technical effect so also can solve identical technical problem.
Wherein, the memories such as FLASH memory module may include high-speed random access memory (RAM, Random Access Memory), it is also possible to it further include nonvolatile memory (non-volatile memory), for example, at least a magnetic Disk storage.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of electrocardioscanner characterized by comprising measuring unit, processing unit and communication unit;
The measuring unit is used to obtain the electrocardial analog signal of user by measurement using several microelectrode patches;
The processing unit includes: A/D signal conversion module, ARM processing module and FLASH memory module;
The A/D signal conversion module is used to carry out A/D conversion to the electrocardial analog signal, obtains electrocardiographicdigital digital signals;
The ARM processing module is used to carry out data processing to the electrocardiographicdigital digital signals, obtains electrocardio time series data;
The FLASH memory module is for storing the electrocardio time series data;
The communication unit is used to that the electrocardio time series data to be transmitted to terminal device by time series data transmission module.
2. electrocardioscanner according to claim 1, which is characterized in that the processing unit further include: indicator light;
The indicator light is for showing the A/D signal conversion module, the ARM processing module and FLASH storage mould The working condition of block.
3. electrocardioscanner according to claim 1, which is characterized in that between the measuring unit and the processing unit Wire communication and/or wireless communications links;
The electrocardial analog signal is transmitted to the processing unit by wire communication and/or wireless telecommunications by the measuring unit In A/D signal conversion module;
The mode of the wireless telecommunications includes: at least one of bluetooth, 3G, 4G, 5G, WLAN.
4. electrocardioscanner according to claim 1, which is characterized in that further include: power supply unit;
The power supply unit is used for single for the measurement by least one of lithium battery, wired charging and wireless charging First, the described communication unit, the A/D signal conversion module, the ARM processing module and the FLASH memory module provide Electricity.
5. a kind of cardioelectric monitor system characterized by comprising terminal device and according to any one of claims 1-4 Electrocardioscanner;
The terminal device is connect with the electrocardioscanner by wireless and/or wire communication;
The electrocardio time series data is transmitted to the terminal device by the time series data transmission module in the electrocardioscanner;
The terminal device includes: data analysis module and warning module;
The data analysis module is used to carry out data analysis to the electrocardio time series data by calculating, and obtains analysis result;
The analysis result includes: that preset time average heart rate, preset time average heart rate trend, default stage average heart rate are equal Side's value, respiratory rate heart rate are than at least one of, the standard deviation of normal cardiac cycle and heart rate variability trend curve;
The warning module is used to carry out at least one of heart rate exception, cardiac extra systole, heart atrial fibrillation according to the analysis result Early warning.
6. cardioelectric monitor system according to claim 5, which is characterized in that the terminal device is host computer, mobile phone, meter At least one of calculation machine, server;
The mode that the electrocardioscanner transmits electrocardio time series data to the terminal device includes at least one of:
The electrocardioscanner directly transmits the electrocardio time series data into host computer, mobile phone, computer, server at least It is a kind of;
The electrocardio time series data is transmitted to ARM hardware, electrocardio timing described in the ARM hardware transport by the electrocardioscanner Data are at least one of host computer, mobile phone, computer, server.
7. cardioelectric monitor system according to claim 6, which is characterized in that the data analysis module is also used to described Electrocardio time series data is handled, and obtains that heart rate, breathing, body be dynamic, at least one of sleeping position, multi-scale entropy information.
8. cardioelectric monitor system according to claim 7, which is characterized in that the data analysis module is also used to pass through meter It calculates to the heart rate, the breathing, the body are dynamic, at least one of the sleeping position, the multi-scale entropy information carry out data Analysis, obtains data analysis result.
9. cardioelectric monitor system according to claim 8, which is characterized in that the terminal device further include: display module With control module;
The display module is for showing the electrocardio time series data and/or the data analysis result;
The control module is used to control the shape of the vibration of pillow, the form of pillow and bed according to the data analysis result At least one of state.
10. cardioelectric monitor system according to claim 6, which is characterized in that the terminal device includes: data storage mould Block;
The data memory module is used to store the timestamp in the electrocardio time series data with data separating.
CN201811000899.1A 2018-08-29 2018-08-29 Electrocardioscanner and cardioelectric monitor system Pending CN109009080A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811000899.1A CN109009080A (en) 2018-08-29 2018-08-29 Electrocardioscanner and cardioelectric monitor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811000899.1A CN109009080A (en) 2018-08-29 2018-08-29 Electrocardioscanner and cardioelectric monitor system

Publications (1)

Publication Number Publication Date
CN109009080A true CN109009080A (en) 2018-12-18

Family

ID=64626209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811000899.1A Pending CN109009080A (en) 2018-08-29 2018-08-29 Electrocardioscanner and cardioelectric monitor system

Country Status (1)

Country Link
CN (1) CN109009080A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109998527A (en) * 2019-04-09 2019-07-12 湖北工业大学 A kind of heart disease detection method based on multi-scale entropy
CN113974636A (en) * 2021-11-18 2022-01-28 武汉大学 Auxiliary inspection method for wearing of 12-lead electrocardioelectrode plate based on image target detection
CN115089128A (en) * 2022-08-26 2022-09-23 北京大众益康科技有限公司 Sleep respiration check system and method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105496400A (en) * 2016-03-01 2016-04-20 张胜国 Portable multilead wireless electrocardiogram monitoring apparatus and method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105496400A (en) * 2016-03-01 2016-04-20 张胜国 Portable multilead wireless electrocardiogram monitoring apparatus and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109998527A (en) * 2019-04-09 2019-07-12 湖北工业大学 A kind of heart disease detection method based on multi-scale entropy
CN113974636A (en) * 2021-11-18 2022-01-28 武汉大学 Auxiliary inspection method for wearing of 12-lead electrocardioelectrode plate based on image target detection
CN113974636B (en) * 2021-11-18 2023-07-18 武汉大学 Image target detection-based 12-lead electrocardio electrode plate wearing auxiliary inspection method
CN115089128A (en) * 2022-08-26 2022-09-23 北京大众益康科技有限公司 Sleep respiration check system and method

Similar Documents

Publication Publication Date Title
CN109009080A (en) Electrocardioscanner and cardioelectric monitor system
CN106937808A (en) A kind of data collecting system of intelligent mattress
CN203074674U (en) Intelligent remote medical monitoring system for community
CN105554103B (en) Wireless medical Sensor Network application system based on wearable node
WO2007082462A1 (en) Method and apparatus for remote mobile monitoring electronic physiological data based on wan
CN201227272Y (en) Dress type electro-cardio and respiration rate monitoring device based on Zigbee
CN107669262A (en) Multi-lead Telediagnosis of Electrocardiogram Signals and monitor system and method based on SVM and WLT
CN103908241B (en) Sleep and respiration detection method, device
CN109745002A (en) A kind of portable sleep monitoring equipment
CN205758549U (en) A kind of Low Power Consumption Portable electrocardiogram monitor system
CN206044615U (en) Blood pressure measuring system
CN108500981B (en) Intelligent medicine delivery robot system based on Internet of things and medicine delivery method
CN205041399U (en) Intelligent electrocardiogram monitoring system
CN108433433A (en) A kind of intelligent mattress for sign monitoring
CN206603767U (en) Worn type domestic intelligent health monitoring system
CN2717387Y (en) Portable network vital sign monitoring instrument
CN212788480U (en) Remote medical detector
CN208822768U (en) Hand-held electrocardio monitor system
CN201135429Y (en) Digital monitoring bed
CN209678501U (en) A kind of easy-to-dismount electrocardio monitoring device
CN106491122A (en) Electrocardiogram acquisition terminal based on Bluetooth wireless transmission
CN207745122U (en) A kind of capsule monitoring device
CN203244376U (en) Sip protocol based wireless medical call monitoring system
CN209018726U (en) Intelligent wearable electrocardiogram monitor system
CN206710444U (en) A kind of collaurum detection instrument system based on high in the clouds big data management

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181218

RJ01 Rejection of invention patent application after publication