CN108742592B - Information processing method and device and electrocardiogram box - Google Patents

Information processing method and device and electrocardiogram box Download PDF

Info

Publication number
CN108742592B
CN108742592B CN201810288107.9A CN201810288107A CN108742592B CN 108742592 B CN108742592 B CN 108742592B CN 201810288107 A CN201810288107 A CN 201810288107A CN 108742592 B CN108742592 B CN 108742592B
Authority
CN
China
Prior art keywords
electrocardio
box
module
data
user
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.)
Active
Application number
CN201810288107.9A
Other languages
Chinese (zh)
Other versions
CN108742592A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201810288107.9A priority Critical patent/CN108742592B/en
Publication of CN108742592A publication Critical patent/CN108742592A/en
Application granted granted Critical
Publication of CN108742592B publication Critical patent/CN108742592B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • A61B5/318Heart-related electrical modalities, e.g. electrocardiography [ECG]
    • A61B5/333Recording apparatus specially adapted therefor
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • A61B5/6802Sensor mounted on worn items

Abstract

The application provides an information processing method, which is applied to an electrocardio module comprising an electrocardio box and comprises the following steps: receiving monitoring information, wherein the monitoring information represents the physical connection relationship between the electrocardio box and at least two external components, the electrocardio module comprises the at least two external components, and the electrocardio module is used for detecting electrocardiosignals; analyzing based on monitoring information to obtain the connection state of the electrocardio box and the external component; and controlling the opening and closing of a target module in the electrocardio box based on the connection state. By adopting the method, whether the target module in the electrocardio box needs to be opened or not can be known by monitoring the physical connection state of the electrocardio box and the external part, so that the opening and closing of the electrocardio box can be controlled, and the power consumption of the electrocardio box is reduced on the whole because only part of the modules are opened and the partially opened modules are supplied with power.

Description

Information processing method and device and electrocardiogram box
Technical Field
The invention relates to the field of electronic equipment, in particular to an information processing method and device and an electrocardiogram box.
Background
With the development of electronic technology, a portable electrocardiogram monitoring device, namely an electrocardiogram module, is operated to facilitate the acquisition of electrocardiogram data of a user. The electrocardio module comprises an electrocardio box and a charging base.
In the daily use process, the user carries the electrocardio box with him, the electrocardio box collects the electrocardio data of the user, and the charging base is used for charging the electrocardio box.
In the prior art, the electrocardio box has three operation states: the system comprises a standby state, a working state and a charging state, wherein when the electrocardio box is in the standby state, all functional modules stop running; when the electrocardio box is in a working state, all functional modules of the electrocardio box run; when the electrocardio box is connected with the charging base for charging, the electrocardio box is in a charging state.
However, in the prior art, when the power supply of the electrocardiograph box supplies power to the electrocardiograph box, the power supply can only be supplied according to the running state of the electrocardiograph box, and all functional modules in the electrocardiograph box are completely stopped or supplied with power, which results in high power consumption.
Disclosure of Invention
In view of this, the present invention provides an information processing method, which solves the problem of high power consumption of the center electrical module in the prior art.
In order to achieve the purpose, the invention provides the following technical scheme:
an information processing method is applied to an electrocardiogram module comprising an electrocardiogram box, and comprises the following steps:
receiving monitoring information, wherein the monitoring information represents the physical connection relationship between the electrocardio box and at least two external components, the electrocardio module comprises the at least two external components, and the electrocardio module is used for detecting electrocardiosignals;
analyzing and obtaining the connection state of the electrocardio box and the external component based on monitoring information;
and controlling the opening and closing of the target module in the electrocardio box based on the connection state.
In the foregoing method, preferably, when the connection state of the electrocardiograph cartridge and the external component is obtained based on the analysis of the monitored information, the controlling of opening and closing the target module in the electrocardiograph cartridge based on the connection state includes:
and controlling the Bluetooth module and the signal acquisition module to be in a closed state.
In the foregoing method, preferably, the external component includes a wearable device, and the analyzing the monitoring information to obtain the connection state between the electrocardiograph box and the external component includes:
Switching the connection state of the electrocardio box and the wearable device from disconnection to connection based on monitoring information analysis;
then, the controlling the opening and closing of the target module in the electrocardiograph box based on the connection state includes:
controlling the Bluetooth module to be started so that the Bluetooth module broadcasts signals and further an external terminal establishes signal connection with the electrocardio box when receiving the signals;
acquiring a detection signal for detecting the wearable device;
judging whether the user wears the wearable device or not based on the detection signal to obtain a first judgment result;
representing that the user wears the wearable device based on the first judgment result, and controlling a signal acquisition module to be started so as to acquire electrocardiogram data of the user;
and characterizing that the user does not wear the wearable device based on the first judgment result, and controlling a signal acquisition module to be in a closed state.
In the above method, preferably, after the controlling the signal acquiring module to be turned on to acquire the electrocardiographic data of the user, the method further includes:
acquiring a detection signal for detecting the wearable equipment in real time;
when the detection signal represents that a preset component in the wearable device is separated from the user, the signal acquisition module is controlled to stop acquiring the electrocardiogram data of the user.
In the foregoing method, preferably, the external component includes a base, and the analyzing the monitoring information to obtain the connection state between the electrocardiograph box and the external component includes:
switching the connection state of the electrocardio box and the base from disconnection to connection based on monitoring information analysis;
then, the controlling the opening and closing of the target module in the electrocardiogram box based on the connection state includes:
and controlling the Bluetooth module and the signal acquisition module to be switched to an off state.
The method preferably further comprises:
judging whether the electrocardiogram data in the electrocardiogram box is the same as the historical electrocardiogram data in the last uploading operation to obtain a second judgment result;
representing that the electrocardio data of the user acquired by the signal acquisition module is different from the historical electrocardio data obtained when the uploading operation is executed last time based on a second judgment result, and starting a preset serial port to transmit the electrocardio data to the base so that the base uploads the electrocardio data to the cloud server;
and representing that the electrocardio data of the user acquired by the signal acquisition module is the same as the historical electrocardio data during the last uploading operation based on a second judgment result, and closing the preset serial port.
The method preferably further comprises:
controlling the Bluetooth module to be switched to an open state so as to receive a local area network password sent by an external terminal;
and transmitting the local area network password to the base through a preset serial port, so that the base enters a local area network based on the local area network password.
An information processing device, which is applied to an electrocardiogram module comprising an electrocardiogram box, the device comprising:
the receiving module is used for receiving monitoring information, wherein the monitoring information represents the physical connection relation between the electrocardio box and at least two external components, the electrocardio module comprises the at least two external components, and the electrocardio module is used for detecting electrocardiosignals;
the connection analysis module is used for analyzing and obtaining the connection state of the electrocardio box and the external component based on monitoring information;
and the control module is used for controlling the opening and closing of the target module in the electrocardio box based on the connection state.
The utility model provides an electrocardio box, its characterized in that, electrocardio box belongs to an electrocardio module, electrocardio box includes:
the processor is used for receiving monitoring information, wherein the monitoring information represents the physical connection relation between the electrocardio box and at least two external components, the electrocardio module comprises the at least two external components, and the electrocardio module is used for detecting electrocardiosignals; analyzing and obtaining the connection state of the electrocardio box and the external component based on monitoring information; controlling the opening and closing of a target module in the electrocardio box based on the connection state;
The sensor is used for collecting electrocardiosignals of a user using the electrocardio box;
and the Bluetooth is used for being started according to the control of the processor so as to broadcast signals, so that an external terminal establishes signal connection with the electrocardio box when receiving the signals, and transmits the electrocardiosignals of the signal acquisition module to the external terminal after the external terminal establishes signal connection with the electrocardio box.
Above-mentioned electrocardio box, preferably, the external component includes the base of electrocardio module, then the electrocardio box still includes:
and the serial port is used for transmitting the electrocardiosignals of the electrocardio box to the base and transmitting the local area network password transmitted by the external terminal to the base so that the base enters a local area network based on the local area network password.
According to the technical scheme, compared with the prior art, the invention provides an information processing method, which is applied to an electrocardiogram module comprising an electrocardiogram box, and comprises the following steps: receiving monitoring information, wherein the monitoring information represents the physical connection relationship between the electrocardio box and at least two external components, the electrocardio module comprises the at least two external components, and the electrocardio module is used for detecting electrocardiosignals; analyzing and obtaining the connection state of the electrocardio box and the external component based on monitoring information; and controlling the opening and closing of the target module in the electrocardio box based on the connection state. By adopting the method, whether the target module in the electrocardio box needs to be opened or not can be known by monitoring the physical connection state of the electrocardio box and the external part, so that the opening and closing of the electrocardio box can be controlled, and the power consumption of the electrocardio box is reduced on the whole because only part of the modules are opened and the partially opened modules are supplied with power.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of embodiment 1 of a method for processing information provided in the present application;
fig. 2 is a flowchart of embodiment 2 of a method for processing information provided in the present application;
fig. 3 is a flowchart of embodiment 3 of a method for processing information provided by the present application;
fig. 4 is a flowchart of embodiment 4 of a method for processing information provided in the present application;
fig. 5 is a flowchart of embodiment 5 of a method for processing information provided by the present application;
fig. 6 is a flowchart of embodiment 6 of a method for processing information provided by the present application;
fig. 7 is a flowchart of embodiment 7 of a method for processing information provided by the present application;
FIG. 8 is a schematic structural diagram of an embodiment of an information processing apparatus provided in the present application;
FIG. 9 is a schematic structural diagram of an embodiment 1 of an ECG box according to the present application;
FIG. 10 is a schematic structural diagram of an embodiment 2 of an ECG box according to the present application;
fig. 11 is a schematic view of an application scenario of a method for processing information according to the present application;
fig. 12 is a schematic diagram illustrating a process of setting a WiFi password for a mobile phone to a base through an APP in an application scenario of the information processing method provided in the present application;
fig. 13 is a timing chart of data synchronization in an application scenario of the information processing method provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a flowchart of an embodiment 1 of an information processing method provided by the present application is a method for processing an electrocardiogram module, where the electrocardiogram module includes an electrocardiogram box, and the method includes the following steps:
step S101: receiving monitoring information;
The monitoring information represents the physical connection relation between the electrocardio box and at least two external components, the electrocardio module comprises the at least two external components, and the electrocardio module is used for detecting electrocardiosignals.
In a specific implementation, the external component may be connected to the electrocardiograph box, and the physical connection relationship between the external component and the electrocardiograph box may be connection or disconnection.
In specific implementation, a monitoring program can be set in the electrocardiograph module, and monitors each input source end of the electrocardiograph box so as to monitor information among the input source ends.
For example, when an input source of the ecg box is connected to an external component, the monitoring information of the input source may be received, and the monitoring information indicates that the input source is connected to an external component.
In particular implementations, the external components can include a base, a wearable device, and other components that can be physically coupled to the ecg box.
In a specific implementation, the electrocardiograph box can be further connected to a mobile terminal (e.g., a mobile phone), and an APP (Application program) in the mobile terminal controls the operation of the electrocardiograph box or adjusts parameters of the electrocardiograph box.
Step S102: analyzing and obtaining the connection state of the electrocardio box and the external component based on monitoring information;
the monitoring information represents whether the input source end of the electrocardiogram box is connected with an external component, namely represents the connection state.
In specific implementation, the electrocardiogram box is connected with the external component, and the transmission of monitoring information can be carried out in a high-low level mode.
For example, when the ecg box is connected to an external component, the input source terminal corresponding to the ecg box is at a high level, otherwise, the input source terminal is at a low level.
Of course, the indication of the listening information in the high/low level manner is only an example, and in a specific implementation, the listening information may also be in other manners, which is not limited in this embodiment.
Step S103: and controlling the opening and closing of the target module in the electrocardio box based on the connection state.
It should be noted that the connection mode between the electrocardiograph box and the external component represents the operation state of the electrocardiograph box, and accordingly, different modules are required to execute different operation states of the electrocardiograph box, and therefore, each module in the electrocardiograph box needs to be opened or closed.
Therefore, in the scheme, the opening and closing of certain specific modules (namely target modules) in the electrocardio box are controlled based on the connection state of the electrocardio box and external parts.
Specifically, after the target module is opened, the target module executes corresponding operations, so that the electrocardiogram box can have corresponding functions; and when the target module is closed, the corresponding function of the electrocardio box is stopped.
It should be noted that only some target modules in the electrocardiograph box are turned on, and other target modules are turned off, that is, in the corresponding running state of the electrocardiograph box, only the target modules that are turned on correspondingly are powered, and all modules of the electrocardiograph box do not need to be powered, so that the power consumption of the electrocardiograph box is reduced as a whole.
In summary, the method for processing information provided in this embodiment is applied to an electrocardiograph module including an electrocardiograph box, and the method includes: receiving monitoring information, wherein the monitoring information represents the physical connection relationship between the electrocardio box and at least two external components, the electrocardio module comprises the at least two external components, and the electrocardio module is used for detecting electrocardiosignals; analyzing and obtaining the connection state of the electrocardio box and the external component based on monitoring information; and controlling the opening and closing of the target module in the electrocardio box based on the connection state. By adopting the method, whether the target module in the electrocardio box needs to be opened or not can be known by monitoring the physical connection state of the electrocardio box and the external part, so that the opening and closing of the electrocardio box can be controlled, and the power consumption of the electrocardio box is reduced on the whole because only part of the modules are opened and the partially opened modules are supplied with power.
As shown in fig. 2, a flowchart of embodiment 2 of a method for processing information provided by the present application is a method for processing an electrocardiogram module, where the electrocardiogram module includes an electrocardiogram box, and the method includes the following steps:
step S201: receiving monitoring information;
step S201 is the same as step S101 in embodiment 1, and details are not described in this embodiment.
Step S202: analyzing and obtaining the disconnection state of the electrocardio box and the external component based on the monitoring information;
and analyzing the monitoring information to obtain that the connection state of the electrocardio box and the external part is disconnected.
That is, the electrocardiograph box is not connected to any external component, that is, the electrocardiograph box is not connected to the charging device and is not connected to the wearable device which is in contact with the user, in short, the physical connection between the electrocardiograph box and the external component is disconnected, even if the electrocardiograph box is not connected to the external terminal device, at this time, the electrocardiograph box does not perform any operation, and the electrocardiograph box is in a standby state.
Step S203: and controlling the Bluetooth module and the signal acquisition module to be in a closed state.
The electrocardio box is in a standby state because the electrocardio box is not connected with any external part, correspondingly, the Bluetooth module of the electrocardio box is controlled to be in a closed state so as not to be in data connection with other equipment, and the signal acquisition module of the electrocardio box is also controlled to be in a closed state so as not to acquire signals.
It should be noted that when the electrocardiograph box is not connected to an external component, the bluetooth module and the signal acquisition module of the electrocardiograph box are controlled to be in an off state, so that the power consumption of the electrocardiograph box is reduced.
In summary, in the information processing method provided in this embodiment, when the connection state between the electrocardiograph box and the external component is obtained based on the analysis of the monitored information, the controlling the opening and closing of the target module in the electrocardiograph box based on the connection state includes: and controlling the Bluetooth module and the signal acquisition module to be in a closed state. By adopting the method, when the electrocardiogram box is in a standby state, the Bluetooth module and the signal acquisition module of the electrocardiogram box are controlled to be in a closed state, so that the power consumption of the electrocardiogram box is reduced.
Wherein the external component comprises a wearable device.
As shown in fig. 3, a flowchart of embodiment 3 of the information processing method provided by the present application includes the following steps:
step S301: receiving monitoring information;
step S301 is the same as step S101 in embodiment 1, and details are not described in this embodiment.
Step S302: switching the connection state of the electrocardio box and the wearable device from disconnection to connection based on monitoring information analysis;
The connection state of the electrocardio box and the wearable device (external component) is switched from disconnection to connection according to the monitoring information analysis, that is, the electrocardio box is connected with the wearable device, if a belt of the wearable device is inserted into the electrocardio box, the electrocardio box can be confirmed based on the monitoring information, the electrocardio box is ready to start working and needs to be connected with an external terminal, so that the external terminal controls the electrocardio box, and the external terminal can also receive electrocardio data collected by the electrocardio box.
In other words, the electrocardiograph box is now in a connection establishment state (connection with the external terminal), and the connection establishment state is as described in the subsequent steps.
Step S303: controlling the Bluetooth module to be started so that the Bluetooth module broadcasts signals, and further enabling an external terminal to establish signal connection with the electrocardiogram box when receiving the signals;
in a specific implementation, the external terminal may be a terminal device, such as a desktop Computer, a mobile phone, a notebook Computer, a Tablet Personal Computer (Tablet Personal Computer), and the like, but is not limited thereto, and may also be a terminal device of another mode.
When the electrocardio box is connected with the wearable device, the electrocardio box is not connected with an external terminal at the moment and needs to be connected with the external terminal.
Specifically, the Bluetooth module of the electrocardiogram box is controlled to be started, after the Bluetooth module is started, a signal is broadcasted, and when the external terminal receives the broadcasted signal, signal connection is established with the electrocardiogram box, namely, the electrocardiogram box is in Bluetooth connection with the external terminal.
In specific implementation, after the electrocardio box is connected with the external terminal, electrocardiosignals obtained by subsequent detection of the electrocardio box can be transmitted to the external terminal through the Bluetooth connection.
And the external terminal can further upload the electrocardiosignals received by the external terminal to a cloud processor or other processors, and even the external terminal can upload the electrocardiosignals received by the external terminal after primary data processing.
Step S304: acquiring a detection signal for detecting the wearable device;
step S305: judging whether the user wears the wearable device or not based on the detection signal to obtain a first judgment result;
after the wearable device is connected with the electrocardio box, whether the wearable device is worn by a user or not needs to be judged, so that the problem that the electrocardio signals acquired by the wearable device are inaccurate because the signals acquired by the signal acquisition module are not the signals of the wearable device worn by the user is solved.
Therefore, whether the wearable device is worn by the user is judged by detecting the detection signal of the wearable device.
In specific implementation, the electrocardio box can have a function of detecting the wearable device to generate a detection signal for detecting the wearable device.
For example, by detecting whether a preset component in the wearable device is in contact with the user, when the preset component is in contact with the user, the wearable device can be considered to be worn by the user, otherwise, the wearable device is not worn by the user.
As a specific example, the preset component in the wearable device may be an electrode.
Step S306: representing that the user wears the wearable device based on the first judgment result, and controlling a signal acquisition module to be started so as to acquire electrocardiogram data of the user;
the wearable device is judged to be worn by the user based on the detection signal, the electrocardio box is represented to start working, and the signal acquisition module is controlled to be started when the electrocardio box enters a working state, so that the aim of acquiring the electrocardio data of the user is fulfilled.
In specific implementation, the electrocardiographic data collected by the electrocardiograph box can be transmitted to an external terminal connected with the electrocardiograph box through the bluetooth connection, and the electrocardiographic data can also be stored in a storage space in the electrocardiograph box, such as a FLASH (FLASH EEPROM) Memory.
In specific implementation, after the signal acquisition module of the electrocardio box acquires the electrocardio data, the data can be processed firstly and then transmitted to the external terminal.
The data processing method may include the following methods: analyzing the acquired data, controlling the sampling rate, supporting the sampling rate to be at a specific frequency, such as 250Hz, 500Hz and the like, and selecting the sampling rate through a software instruction; filtering the data, inhibiting power frequency interference, myoelectric interference, respiratory interference and the like, and normalizing a uniform data format; when the data does not reach a certain standard, the data is not stored and transmitted, so that the data correctness is ensured, the consumption is reduced, and the power consumption is reduced.
Step S307: and characterizing that the user does not wear the wearable device based on the first judgment result, and controlling a signal acquisition module to be in a closed state.
The wearable device is judged not to be worn by the user based on the detection signal, the electrocardio box is represented not to be ready to work, the signal acquisition module needs to be controlled to be in a closed state in order to prevent the signal acquisition module from acquiring useless electrocardio signals, and the power consumption of the electrocardio box is also reduced.
In summary, in the information processing method provided in this embodiment, the external component includes a wearable device, and the obtaining the connection state between the electrocardiograph box and the external component based on the analysis of the monitored information includes: switching the connection state of the electrocardio box and the wearable device from disconnection to connection based on monitoring information analysis; then, the controlling the opening and closing of the target module in the electrocardiogram box based on the connection state includes: controlling the Bluetooth module to be started so that the Bluetooth module broadcasts signals, and further enabling an external terminal to establish signal connection with the electrocardiogram box when receiving the signals; acquiring a detection signal for detecting the wearable device; judging whether the user wears the wearable device or not based on the detection signal to obtain a first judgment result; representing that the user wears the wearable device based on the first judgment result, and controlling a signal acquisition module to be started so as to acquire electrocardiogram data of the user; and characterizing that the user does not wear the wearable device based on the first judgment result, and controlling a signal acquisition module to be in a closed state. By adopting the method, when the electrocardio box is connected with the wearable device, the Bluetooth module is controlled to be started, the signal connection between the electrocardio box and the external terminal is established, and the signal acquisition module is controlled to start acquiring the electrocardio data of the user when the user wears the wearable device, so that the power consumption of each module in the electrocardio box is reduced.
As shown in fig. 4, a flowchart of embodiment 4 of the information processing method provided by the present application is provided, where the method includes the following steps:
step S401: receiving monitoring information;
step S402: switching the connection state of the electrocardio box and the wearable device from disconnection to connection based on monitoring information analysis;
step S403: controlling the Bluetooth module to be started so that the Bluetooth module broadcasts signals, and further enabling an external terminal to establish signal connection with the electrocardiogram box when receiving the signals;
step S404: acquiring a detection signal for detecting the wearable device;
step S405: judging whether the user wears the wearable device or not based on the detection signal to obtain a first judgment result;
step S406: representing that the user wears the wearable device based on the first judgment result, and controlling a signal acquisition module to be started so as to acquire electrocardiogram data of the user;
steps S401 to 406 are the same as steps S301 to 306 in embodiment 3, and are not described in detail in this embodiment.
Step S407: acquiring a detection signal for detecting the wearable equipment in real time;
after the signal acquisition module is started, in the process of acquiring the electrocardiogram data of the user, whether the wearable device is worn or not needs to be detected.
Specifically, a detection signal is obtained in real time, and the detection signal represents the wearing condition of the wearable device.
Step S408: when the detection signal represents that a preset component in the wearable device is separated from the user, the signal acquisition module is controlled to stop acquiring the electrocardiogram data of the user.
The detection signal specifically represents whether the wearable device is worn by representing whether a preset component in the wearable device is separated from a user.
It should be noted that, the wearing means that the wearing device is worn by a user, and the preset component is in contact with the user.
If the detection signal indicates that the preset component in the wearable device is separated from the user, the wearable device is worn by the user, but the lead structure in the wearable device falls off, the lead structure can adopt an electrode, and the wearable device can be determined to be worn by the user due to the fact that the lead structure is in contact with the user, the collected electrocardiogram data is the electrocardiogram data of the user, and when the lead structure falls off, the collected electrocardiogram data may be distorted.
Therefore, when the preset component in the wearable device is separated from the user, the signal acquisition module is controlled to stop acquiring the electrocardiogram data of the user.
Step S409: and characterizing that the user does not wear the wearable device based on the first judgment result, and controlling a signal acquisition module to be in a closed state.
Step S409 is the same as step S307 in embodiment 3, and details are not described in this embodiment.
In summary, in the information processing method provided in this embodiment, after the controlling the signal acquisition module to be turned on to acquire the electrocardiographic data of the user, the method further includes: acquiring a detection signal for detecting the wearable equipment in real time; when the detection signal represents that a preset component in the wearable device is separated from the user, the signal acquisition module is controlled to stop acquiring the electrocardiogram data of the user. By adopting the method, in the process of acquiring the electrocardio data of the user, whether the wearing equipment is worn is also detected, so that the accuracy of the acquired electrocardio data is ensured.
Wherein the outer member includes a base.
As shown in fig. 5, a flowchart of embodiment 5 of a method for processing information provided by the present application includes the following steps:
step S501: receiving monitoring information;
step S501 is the same as step S101 in embodiment 1, and details are not described in this embodiment.
Step S502: switching the connection state of the electrocardio box and the base from disconnection to connection based on monitoring information analysis;
Specifically, the base may be a structure having a data transmission function, a structure having a charging function, or even a structure having both a data transmission function and a charging function.
The connection state of the electrocardiogram box and the base is obtained by analyzing the monitoring information and is switched from disconnection to connection, that is, the electrocardiogram box is connected with the base.
In specific implementation, if the base is a structure with a data transmission function, the electrocardiogram data box is connected with the base, which indicates that the electrocardiogram data box is ready to transmit the stored and/or collected electrocardiogram data to the base.
In a specific implementation, if the base is of a structure with a charging function, the electrocardiogram box is connected with the base, and the electrocardiogram box is ready to be charged.
In specific implementation, if the base has a structure with a data transmission function and a charging function, the electrocardiogram box is connected with the base, and the electrocardiogram box can be ready for charging, can also transmit electrocardiogram data to the base, or simultaneously execute the two functions, or sequentially (without limitation to the sequence) execute the two functions.
Step S503: and controlling the Bluetooth module and the signal acquisition module to be switched to an off state.
It should be noted that, the electrocardiograph box is connected to the base, that is, the electrocardiograph box is inserted into the base, in the process, it is implied that the electrocardiograph box can not collect electrocardiograph signals of the user any more, and correspondingly, the electrocardiograph box can not transmit the collected electrocardiograph signals to an external terminal, that is, after the electrocardiograph box is connected to the base, the electrocardiograph box is switched to a non-working state.
In a specific implementation, the electrocardiograph box can be switched from an operating state for collecting electrocardiograph signals of a user to a non-operating state at the time.
In specific implementation, the working state of the electrocardiograph box for collecting the electrocardiograph signals of the user may be as follows: firstly, as described in the embodiment 3, the electrocardio box is connected with an external terminal through Bluetooth, and electrocardiosignals collected by the electrocardio box are transmitted to the external terminal through the Bluetooth in real time; secondly, the electrocardio box is not connected with an external terminal, the electrocardiosignals collected by the electrocardio box are stored locally, and when the electrocardio box is connected with the base, the electrocardiosignals are uploaded to a server (a cloud server or other servers and the like) through the base with a data transmission function.
It should be noted that, when the electrocardiograph box is inserted into the base, the electrocardiograph signals in the electrocardiograph box can be transmitted to the base through the preset serial port between the electrocardiograph box and the base, and the base can divide the electrocardiograph signals into a plurality of parts according to the preset priority level, and preferentially transmit the electrocardiograph signals with higher level to the server.
In the specific use process, when the base charges the electrocardio box, the electrocardio box only needs to start the charging function, other modules are all closed, and after the electrocardio box is fully charged, all functional modules of the electrocardio box are closed to enter a standby state, so that the power consumption is very low.
In summary, in the information processing method provided in this embodiment, the external component includes a base, and the obtaining of the connection state between the electrocardiograph box and the external component based on the analysis of the monitored information includes: switching the connection state of the electrocardio box and the base from disconnection to connection based on monitoring information analysis; then, the controlling the opening and closing of the target module in the electrocardiograph box based on the connection state includes: and controlling the Bluetooth module and the signal acquisition module to be switched to an off state. By adopting the method, when the electrocardio box is connected with the base, the Bluetooth module and the signal acquisition module are controlled to be switched to be in a closed state, the information transmission between the electrocardio box and an external terminal is stopped, the electrocardio box acquires electrocardio signals of a user, and the power consumption of each module in the electrocardio box is reduced.
As shown in fig. 6, a flowchart of embodiment 6 of the information processing method provided by the present application includes the following steps:
Step S601: receiving monitoring information;
step S602: switching the connection state of the electrocardio box and the base from disconnection to connection based on monitoring information analysis;
step S603: and controlling the Bluetooth module and the signal acquisition module to be switched to an off state.
Steps S601 to 603 are the same as steps S501 to 503 in embodiment 5, and are not described in detail in this embodiment.
Step S604: judging whether the electrocardiogram data in the electrocardiogram box is the same as the historical electrocardiogram data in the last uploading operation to obtain a second judgment result;
before the electrocardiogram data are transmitted to the base by the electrocardiogram box, whether the electrocardiogram data are updated or not relative to last uploading needs to be judged.
Specifically, the electrocardiographic data acquired by the signal acquisition module is compared with the historical electrocardiographic data uploaded last time, and whether the electrocardiographic data and the historical electrocardiographic data are the same or not is judged.
Step S605: representing that the electrocardio data of the user acquired by the signal acquisition module is different from the historical electrocardio data obtained when the uploading operation is executed last time based on a second judgment result, and starting a preset serial port to transmit the electrocardio data to the base so that the base uploads the electrocardio data to the cloud server;
when the electrocardiogram data acquired by the signal acquisition module is different from the historical electrocardiogram data uploaded last time, namely the electrocardiogram data in the electrocardiogram box is updated, correspondingly, the data in the electrocardiogram box is transmitted to the base, so that the base uploads the received electrocardiogram data to the cloud server.
Specifically, a serial port corresponding to the base is arranged in the electrocardio box, and data transmission between the electrocardio box and the base is realized through the serial port.
In specific implementation, the base can divide the electrocardiosignals to be uploaded into a plurality of parts according to a preset priority level, and preferentially transmits the electrocardiosignals with higher level to the server.
It should be noted that, in specific implementation, the electrocardiograph box may only transmit updated electrocardiograph data to the base, and the uploaded electrocardiograph data does not need to be uploaded again.
Step S606: and representing that the electrocardio data of the user acquired by the signal acquisition module is the same as the historical electrocardio data during the last uploading operation based on a second judgment result, and closing the preset serial port.
When the electrocardiogram data acquired by the signal acquisition module is the same as the historical electrocardiogram data uploaded last time, namely the electrocardiogram data in the electrocardiogram box is not updated, the electrocardiogram data in the electrocardiogram box does not need to be repeatedly uploaded, and correspondingly, the serial port is closed.
In specific implementation, an index table can be set for the electrocardiographic data, and the electrocardiographic data can be sorted based on the index table.
When the electrocardio box is connected with the mobile phone APP, the APP establishes an index table, the table content comprises time when the heart rate is too high, time when the heart rate is too low, time when a user starts recording, time points when the user wants to check data information in a time period and the like, and the table is sent to the cloud;
When the electrocardio box is inserted into the base, the electrocardio box sends time points of some key information to the base, an index table can be established, and the table content comprises time with overhigh heart rate, time with overlow heart rate, time for a user to initiate recording, time points when the user wants to check data information in a time period and the like;
after the base is connected with the cloud, the base downloads an index table of the cloud first, the index table of the cloud and the index table of the base are compared and integrated to generate a new table, if data exist in the cloud, indexes cannot exist in the new table, the indexes are sorted according to a certain priority level, the data at the corresponding time point in the electrocardiogram box are preferentially taken according to the sequence on the new table, and the data are synchronized to the cloud first;
when the electrocardiogram box is provided with the index table and the cloud end is not provided with the index table, synchronizing data to the cloud end according to the sequence of the index table on the electrocardiogram box;
and when the electrocardiogram box and the cloud do not have the index table, synchronizing data to the cloud in a default mode.
At this time, after the uploading finished signal is monitored, the data reading instruction of the serial port is disconnected, the network connection between the base and the cloud is disconnected, the data cloud synchronization function is stopped, the stored data is deleted, and only the charging module is started.
It should be noted that, because the process of synchronizing data is optimized, the efficiency of data synchronization is improved.
In summary, the method for processing information provided in this embodiment further includes: judging whether the electrocardiogram data in the electrocardiogram box is the same as the historical electrocardiogram data when the uploading operation is executed last time, and obtaining a second judgment result; representing that the electrocardiogram data of the user acquired by the signal acquisition module is different from the historical electrocardiogram data during the last uploading operation based on a second judgment result, and starting a preset serial port to transmit the electrocardiogram data to the base so that the base uploads the electrocardiogram data to the cloud server; and characterizing that the user electrocardio data acquired by the signal acquisition module is the same as the historical electrocardio data during the last uploading operation based on a second judgment result, and closing the preset serial port. By adopting the method, when the electrocardio data in the electrocardio box is updated, the electrocardio data in the electrocardio box is transmitted to the base through the preset serial port, otherwise, the serial port is closed, the data transmission quantity is reduced, and the power consumption of the electrocardio box is reduced.
As shown in fig. 7, a flowchart of embodiment 7 of a method for processing information provided by the present application includes the following steps:
Step S701: receiving monitoring information;
step S702: switching the connection state of the electrocardio box and the base from disconnection to connection based on monitoring information analysis;
step S703: controlling the Bluetooth module and the signal acquisition module to be switched to an off state;
steps S701 to 703 are the same as steps S501 to 503 in embodiment 5, and are not described in detail in this embodiment.
Step S704: controlling the Bluetooth module to be switched to an open state so as to receive a local area network password sent by an external terminal;
after the electrocardiogram box is connected with the base, in order to transmit the electrocardiogram signals in the electrocardiogram box to the cloud server through the base, the base needs to be connected with the cloud server, and the connection is generally a network connection.
In the specific implementation, in order to facilitate data transmission, the base is added into a local area network, and electrocardiosignals are transmitted through the local area network, so that the cost of the data network is reduced.
For example, the local area network may specifically employ WiFi (WIreless-Fidelity).
In the specific implementation, the password of the local area network is transmitted to the connected electrocardiograph box by the external terminal, and the external terminal is connected with the electrocardiograph box in a bluetooth mode, so that the bluetooth module needs to be controlled to be switched to an open state to receive the local area network password.
Step S705: and transmitting the local area network password to the base through a preset serial port, so that the base enters a local area network based on the local area network password.
The data transmission is carried out between the base and the electrocardio box through a preset serial port, after the electrocardio box receives a local area network password, the password is transmitted to the base through the preset serial port, and after the password is received by the base, the base can enter the local area network according to the password so as to transmit electrocardiosignals to the cloud server through the local area network.
It should be noted that, in this embodiment, the steps S704-705 are used for the first time that the base connects to the lan for uploading, and the connection between the base and the lan is established, and correspondingly, in embodiment 6, if the data is uploaded through the lan, the network establishment process may also be performed before the uploading.
In summary, the method for processing information provided in this embodiment further includes: controlling the Bluetooth module to be switched to an open state so as to receive a local area network password sent by an external terminal; and transmitting the local area network password to the base through a preset serial port, so that the base enters a local area network based on the local area network password. By adopting the method, the local area network password is transmitted to the electrocardio box by the external terminal through the Bluetooth, and the electrocardio box transmits the local area network password to the base through the serial port, so that the base enters the local area network according to the local area network password, and then the electrocardio signal is transmitted through the local area network, and the cost generated by using a data network is reduced.
Corresponding to the embodiment of the information processing method provided by the application, the application also provides an embodiment of a method and a device for applying the information processing and an electrocardio box.
Fig. 8 is a schematic structural diagram of an embodiment of an information processing apparatus according to the present application, where the apparatus is applied to an electrocardiograph module, where the electrocardiograph module includes an electrocardiograph box, and the electronic device includes the following structures: a receiving module 801, a connection analysis module 802 and a control module 803;
the receiving module 801 is configured to receive monitoring information, where the monitoring information represents a physical connection relationship between the electrocardiograph box and at least two external components, the electrocardiograph module includes the at least two external components, and the electrocardiograph module is configured to detect an electrocardiograph signal;
the connection analysis module 802 is configured to analyze monitoring information to obtain a connection state between the electrocardiograph box and the external component;
the control module 803 is configured to control the opening and closing of the target module in the electrocardiograph box based on the connection state.
In summary, according to the information processing apparatus provided in this embodiment, it can be known whether the target module in the electrocardiograph box needs to be opened or not by monitoring the physical connection state between the electrocardiograph box and the external component, so as to control the opening and closing of the electrocardiograph box.
As shown in fig. 9, which is a schematic structural diagram of an embodiment 1 of an electrocardiograph box provided by the present application, the electrocardiograph box belongs to an electrocardiograph module, and the electrocardiograph box includes the following structures: a processor 901, a sensor 902 and bluetooth 903;
the processor 901 is configured to receive monitoring information, where the monitoring information represents a physical connection relationship between the electrocardiograph box and at least two external components, the electrocardiograph module includes the at least two external components, and the electrocardiograph module is configured to detect an electrocardiograph signal; analyzing and obtaining the connection state of the electrocardio box and the external component based on monitoring information; controlling the opening and closing of a target module in the electrocardio box based on the connection state;
in a specific implementation, the processor may be a chip structure with information processing capability in the electrocardiograph box, or the like.
The sensor 902 is used for collecting electrocardiosignals of a user using the electrocardio box;
in specific implementation, the sensor can adopt a universal electrocardio electrode, such as an electrocardio electrode made of a conductive cloth material, an electrocardio electrode made of a conductive metal and other electrode plates with conductivity, and when a user contacts the sensor, the electrocardio signal can be acquired.
The bluetooth 903 is configured to be turned on according to control of the processor, and further perform signal broadcasting, so that an external terminal establishes signal connection with the electrocardiograph box when receiving the signal, and transmits the electrocardiograph signal of the signal acquisition module to the external terminal after the external terminal establishes signal connection with the electrocardiograph box.
In specific implementation, the external component includes a wearable device, and the electrocardiograph box further includes: the detection unit is used for detecting a detection signal of the wearable device in real time, and the detection signal is used for representing whether a preset part in the wearable device is separated from a user or not;
the processor is further configured to control the sensor to stop collecting the electrocardiographic data of the user when the detection signal indicates that the preset component in the wearable device is separated from the user.
In a specific implementation, the detection unit can be implemented by a program.
In summary, according to the electrocardiograph box provided by this embodiment, it can be known whether the structures of modules such as a sensor and bluetooth in the electrocardiograph box need to be opened or not according to the monitored physical connection state between the electrocardiograph box and an external component, so as to control the opening and closing of the electrocardiograph box.
Wherein, this external component includes the base of electrocardio module.
Fig. 10 is a schematic structural diagram of an embodiment 2 of an electrocardiograph box according to the present application, where the electrocardiograph box includes the following structures: a processor 1001, a sensor 1002, Bluetooth 1003 and a serial port 1004;
the processor 1001, the sensor 1002, and the bluetooth 1003 are consistent with the corresponding structural functions in embodiment 1, and details are not described in this embodiment.
The serial port 1004 is configured to transmit the electrocardiographic signal of the electrocardiograph box to the base, and transmit a local area network password transmitted from an external terminal to the base, so that the base enters a local area network based on the local area network password.
Wherein, this serial ports is used for carrying on the information transmission between this electrocardio box and the base.
Based on the serial port, the electrocardio box can transmit electrocardiosignals to the base and transmit local area network passwords to the base.
In specific implementation, the password of the local area network is transmitted to the connected electrocardiogram box by the external terminal, and the external terminal is connected with the electrocardiogram box in a Bluetooth mode, so that in the process of transmitting the password of the local area network, the Bluetooth is required to be started to receive the password of the local area network.
In summary, according to the electrocardiograph box provided by this embodiment, the external terminal transmits the local area network password to the electrocardiograph box through the bluetooth, and the electrocardiograph box transmits the local area network password to the base through the serial port, so that the base enters the local area network according to the local area network password, and then the electrocardiograph signal is transmitted through the local area network, thereby reducing the cost caused by using the data network.
Corresponding to the embodiment of the method and the device for processing the information and the electrocardio box, the application also provides an application scene using the method.
As shown in fig. 11, which is a schematic view of an application scenario of the information processing method, in the application scenario, the electrocardiograph module has seven states of S1-S7.
S1: a standby state; s2: establishing a connection state; s3: working state; s4: synchronizing the data state; s5: a WiFi connection status; s6: a state of charge; s7: and (4) a shutdown state.
Wherein the switching between the states is realized by the following intermediate state
S71: the electrocardio box is inserted into a belt of the wearable device (the electrocardio box is connected with the wearable device), and the power supply is turned on;
s12: after the electrocardio box is started, according to a signal returned by the equipment, the electrocardio box is inserted into the belt, the Bluetooth module is started, a connection state is established with the mobile phone APP, and the connection state is S2;
In the S2 state, monitoring whether the connection is successful, if not, the connection is always in the S2 state, and other functions are in a dormant state, so that resources are saved;
s23: after the electrocardio-box is successfully connected, the electrodes contact the human body, other functional modules are started, the working state of S3 is entered, and under the working state of S3, the electrocardio-box needs to finish multiple functions of electrocardio-signal acquisition, data analysis, data storage, data transmission and the like
S34: the electrocardio box is inserted into the base, data communication and the cloud end are synchronously opened, and whether new data need to be synchronized to the cloud end is checked;
the S34 process specifically includes: when a user inserts the electrocardio box into the base, the firmware on the base starts off-line data synchronization service, a ready command is sent to the base through the serial port, the base starts the data synchronization service after receiving a time synchronization completion command sent by the box, the base acquires the last data synchronization state (such as the last data synchronization position) from the cloud end and starts synchronizing data to the cloud end, and the process is repeated until the base receives unsynchronized data information sent by the box and informs the cloud end that all data are uploaded.
Certainly, the electrocardio box terminal needs to design low-power protection for ensuring the data safety of the flash, and when the electric quantity of the battery meets the condition, the ready command is sent to the base through the serial port.
S35: the mobile phone sets a WiFi password to the base through the APP, and the base is connected with the cloud end;
wherein, when the user sets up the wiFi password for the base through the APP, shift into wiFi connected state, under this state, only open bluetooth function.
S54: the electrocardio box is successfully connected, and data are synchronized to the cloud end;
s46: the electrocardio box is inserted into the base, data are synchronously completed, and charging is carried out;
s56: the electrocardio box is successfully connected and is switched into a charging state;
the electrocardio box is in a charging state in states S46 and S56, and in the charging state, only the charging module is started, and other functions are closed.
S61: the electrocardio box is fully charged and is switched to a standby state S1;
s75: the electrocardio box is inserted into the base.
As shown in fig. 12, a schematic process diagram for setting a WiFi password to a base for a mobile phone through an APP in an application scenario of the information processing method is shown.
Step S1201: the APP sets a WiFi password;
step S1202: the mobile phone transmits the password to the electrocardio box;
step S1203: the electrocardio box transmits the password to the WiFi base;
step S1204: the base router is connected with the WiFi;
the connection successfully performs step S1205 and unsuccessfully performs steps S1206-S1207.
Step S1205: the WiFi lamp is in a green light flashing state and is normally on;
Step S1206: if the connection is unsuccessful, the WiFi lamp is changed from green to red and is normally on;
step S1207: APP popping up information, informing a user of WiFi connection abnormity, and changing WiFi setting; and returns to step S1201.
As shown in fig. 13, a timing chart of data synchronization in an application scenario of the information processing method includes the following structures: electrocardio box, charging base and cloud ware, wherein this cloud ware includes: the system comprises a cloud service Rest (Representational State Transfer) service, a cloud service MQTT (Message queue Telemetry Transport) Broker, an MQTT authorization library, a database, an MQTT Message engine and a big data platform.
After the electrocardio box is inserted into the charging base, the charging base starts to charge the electrocardio box and simultaneously performs the following processes:
s001: the charging base reads equipment information from the electrocardio box;
s002: the electrocardio box feeds back return to the charging base;
s003: the charging base establishes a secure connection to the cloud service Rest service through CA and Token to read synchronous and MQTT connection information;
after the cloud service Rest service accesses the database, the following steps are continuously executed
S004: the cloud service Rest service locally verifies the Token validity;
S005: the cloud service Rest service locally acquires an available MQTT service address;
s006: the cloud service Rest service locally acquires the last synchronization condition data;
s007: the cloud service Rest service feeds back the return to the charging base;
s008: the charging base establishes a secure connection with a cloud service MQTT Broker by using a CA (Certificate Authority) and an MQTT Token;
s009: the cloud service MQTT Broker verifies the MQTT read-write authority to the MQTT authorization library;
s010: the MQTT authorization library feeds back the return to the MQTT Broker of the cloud service;
s011: the MQTT Broker feeds back the return to the charging base;
s012: the charging base reads the data block from the centripetal electric box;
s013: the electrocardio box feeds back return to the charging base;
s014: the charging base locally compresses the data block;
s015: the charging base sends a data block to a cloud service MQTT Broker;
s016: the MQTT Broker feeds back the return to the charging base;
s017: the MQTT message engine reads MQTT messages from the cloud service Rest service and processes payload (message types and message contents);
s018: the cloud service Rest service feeds back the return to the MQTT message engine;
s019: the MQTT message engine locally decompresses the data blocks;
s020: the MQTT message engine writes a time sequence database into the big data platform;
S021: and writing the synchronous data information into the database by the MQTT message engine.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the device provided by the embodiment, the description is relatively simple because the device corresponds to the method provided by the embodiment, and the relevant points can be referred to the method part for description.
The previous description of the provided embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features provided herein.

Claims (8)

1. An information processing method is applied to an electrocardiogram module comprising an electrocardiogram box, and comprises the following steps:
Receiving monitoring information, wherein the monitoring information represents the physical connection relationship between the electrocardio box and at least two external components, the electrocardio module comprises the at least two external components, and the electrocardio module is used for detecting electrocardiosignals;
analyzing based on monitoring information to obtain the connection state of the electrocardio box and the external component, wherein the connection state of the electrocardio box and the external component represents the running state of the electrocardio box, and different running states need different modules to be executed;
controlling the opening and closing of a target module in the electrocardio box based on the connection state, and only supplying power to the opened target module;
when the external component adopts wearable equipment, the obtaining of the connection state of the electrocardio box and the external component based on monitoring information analysis comprises: switching the connection state of the electrocardio box and the wearable device from disconnection to connection based on monitoring information analysis;
correspondingly, the controlling the opening and closing of the target module in the electrocardiogram box based on the connection state comprises the following steps: controlling a Bluetooth module to be started so that the Bluetooth module broadcasts signals, and further enabling a mobile terminal to establish signal connection with the electrocardio box when receiving the signals;
Acquiring a detection signal for detecting wearable equipment, wherein the detection signal represents whether the wearable equipment is worn or not by representing whether a preset part in the wearable equipment is separated from a user or not;
judging whether the user wears the wearable device or not based on the detection signal to obtain a first judgment result;
representing that the user wears the wearable device based on the first judgment result, and controlling a signal acquisition module to be started to acquire electrocardiogram data of the user, wherein the wearing means that the wearable device is worn by the user, and a preset component is in contact with the user;
the wearable device is not worn by the user based on the first judgment result, and a signal acquisition module is controlled to be in a closed state;
further comprising:
judging whether the electrocardiogram data in the electrocardiogram box is the same as the historical electrocardiogram data in the last uploading operation to obtain a second judgment result;
representing that the electrocardio data of the user acquired by the signal acquisition module is different from the historical electrocardio data obtained when the uploading operation is executed last time based on a second judgment result, determining that the electrocardio data in the electrocardio box is updated, and opening a preset serial port to transmit the updated electrocardio data to the base so that the updated electrocardio data is uploaded to the cloud server by the base;
And characterizing that the electrocardio data of the user acquired by the signal acquisition module is the same as the historical electrocardio data during the last uploading operation based on a second judgment result, determining that the electrocardio data in the electrocardio box is not updated, and closing the preset serial port.
2. The method according to claim 1, wherein when the connection status of the ecg box with the external component is disconnected based on the analysis of the monitored information, the controlling the opening and closing of the target module in the ecg box based on the connection status comprises:
and controlling the Bluetooth module and the signal acquisition module to be in a closed state.
3. The method of claim 1, wherein after controlling the signal acquisition module to be turned on to acquire the electrocardiographic data of the user, the method further comprises:
acquiring a detection signal for detecting the wearable equipment in real time;
when the detection signal represents that a preset component in the wearable device is separated from the user, the signal acquisition module is controlled to stop acquiring the electrocardiogram data of the user.
4. The method of claim 1, wherein the external component comprises a base, and wherein the obtaining the connection status of the ecg box to the external component based on the analysis of the monitored information comprises:
Switching the connection state of the electrocardio box and the base from disconnection to connection based on monitoring information analysis;
then, the controlling the opening and closing of the target module in the electrocardiogram box based on the connection state includes:
and controlling the Bluetooth module and the signal acquisition module to be switched to an off state.
5. The method of claim 1 or 4, further comprising:
controlling the Bluetooth module to be switched to an open state so as to receive a local area network password sent by an external terminal;
and transmitting the local area network password to the base through a preset serial port, so that the base enters a local area network based on the local area network password.
6. An information processing device, which is applied to an electrocardiogram module comprising an electrocardiogram box, the device comprising:
the receiving module is used for receiving monitoring information, wherein the monitoring information represents the physical connection relation between the electrocardio box and at least two external components, the electrocardio module comprises the at least two external components, and the electrocardio module is used for detecting electrocardiosignals;
the connection analysis module is used for obtaining the connection state of the electrocardio box and the external component based on monitoring information analysis, the connection state of the electrocardio box and the external component represents the running state of the electrocardio box, and different running states need to be executed by different modules;
The control module is used for controlling the opening and closing of a target module in the electrocardio box based on the connection state and only supplying power to the opened target module;
when the external component adopts wearable equipment, the connection analysis module is specifically used for: switching the connection state of the electrocardio box and the wearable device from disconnection to connection based on monitoring information analysis;
correspondingly, the control module is specifically configured to: controlling a Bluetooth module to be started so that the Bluetooth module broadcasts signals, and further enabling a mobile terminal to establish signal connection with the electrocardio box when receiving the signals; acquiring a detection signal for detecting the wearable device, wherein the detection signal represents whether the wearable device is worn or not by representing whether a preset part in the wearable device is separated from a user or not; judging whether the user wears the wearable device or not based on the detection signal to obtain a first judgment result; representing that the user wears the wearable device based on the first judgment result, and controlling a signal acquisition module to be started so as to acquire electrocardiogram data of the user, wherein the wearing means that the wearable device is worn by the user, and a preset part of the wearable device is in contact with the user; characterizing that the user does not wear the wearable device based on the first judgment result, and controlling a signal acquisition module to be in a closed state;
The control module is specifically further configured to: judging whether the electrocardiogram data in the electrocardiogram box is the same as the historical electrocardiogram data in the last uploading operation to obtain a second judgment result;
representing that the electrocardio data of the user acquired by the signal acquisition module is different from the historical electrocardio data obtained when the uploading operation is executed last time based on a second judgment result, determining that the electrocardio data in the electrocardio box is updated, and opening a preset serial port to transmit the updated electrocardio data to the base so that the updated electrocardio data is uploaded to the cloud server by the base;
and representing that the electrocardio data of the user acquired by the signal acquisition module is the same as the historical electrocardio data during the last uploading operation based on a second judgment result, determining that the electrocardio data in the electrocardio box is not updated, and closing the preset serial port.
7. The utility model provides an electrocardio box, its characterized in that, electrocardio box belongs to an electrocardio module, electrocardio box includes:
the processor is used for receiving monitoring information, wherein the monitoring information represents the physical connection relation between the electrocardio box and at least two external components, the electrocardio module comprises the at least two external components, and the electrocardio module is used for detecting electrocardiosignals; analyzing and obtaining the connection state of the electrocardio box and the external component based on monitoring information, wherein the connection state of the electrocardio box and the external component represents the running state of the electrocardio box, and different running states need different modules to be executed; controlling the opening and closing of a target module in the electrocardio box based on the connection state;
When the external component adopts wearable equipment, the obtaining of the connection state of the electrocardio box and the external component based on monitoring information analysis comprises the following steps: switching the connection state of the electrocardio box and the wearable device from disconnection to connection based on monitoring information analysis; correspondingly, the controlling the opening and closing of the target module in the electrocardiograph box based on the connection state, and only supplying power to the opened target module includes: controlling the Bluetooth module to be started so that the Bluetooth module broadcasts signals and further enabling the mobile terminal to establish signal connection with the electrocardio box when receiving the signals; acquiring a detection signal for detecting the wearable device, wherein the detection signal represents whether the wearable device is worn or not by representing whether a preset part in the wearable device is separated from a user or not; judging whether the user wears the wearable device or not based on the detection signal to obtain a first judgment result; representing that the user wears the wearable device based on the first judgment result, and controlling a signal acquisition module to be started so as to acquire electrocardiogram data of the user, wherein the wearing means that the wearable device is worn by the user, and a preset part of the wearable device is in contact with the user; characterizing that the user does not wear the wearable device based on the first judgment result, and controlling a signal acquisition module to be in a closed state;
The sensor is used for collecting electrocardiosignals of a user using the electrocardio box;
the Bluetooth module is used for being started according to the control of the processor so as to broadcast signals, so that an external terminal establishes signal connection with the electrocardio box when receiving the signals, and transmits electrocardiosignals of the signal acquisition module to the external terminal after the external terminal establishes signal connection with the electrocardio box;
the external component includes the base of electrocardio module, then the electrocardio box still includes:
the serial port is used for transmitting the electrocardiosignals of the electrocardio box to the base;
the processor is further configured to: judging whether the electrocardiogram data in the electrocardiogram box is the same as the historical electrocardiogram data in the last uploading operation to obtain a second judgment result; representing that the electrocardio data of the user acquired by the signal acquisition module is different from the historical electrocardio data obtained when the uploading operation is executed last time based on a second judgment result, determining that the electrocardio data in the electrocardio box is updated, and opening a preset serial port to transmit the updated electrocardio data to the base so that the updated electrocardio data is uploaded to the cloud server by the base; and representing that the electrocardio data of the user acquired by the signal acquisition module is the same as the historical electrocardio data during the last uploading operation based on a second judgment result, determining that the electrocardio data in the electrocardio box is not updated, and closing the preset serial port.
8. The ecg box of claim 7, wherein the serial port is further configured to pass through a local area network password transmitted from an external terminal to the base, so that the base enters a local area network based on the local area network password.
CN201810288107.9A 2018-03-30 2018-03-30 Information processing method and device and electrocardiogram box Active CN108742592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810288107.9A CN108742592B (en) 2018-03-30 2018-03-30 Information processing method and device and electrocardiogram box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810288107.9A CN108742592B (en) 2018-03-30 2018-03-30 Information processing method and device and electrocardiogram box

Publications (2)

Publication Number Publication Date
CN108742592A CN108742592A (en) 2018-11-06
CN108742592B true CN108742592B (en) 2022-06-28

Family

ID=63980771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810288107.9A Active CN108742592B (en) 2018-03-30 2018-03-30 Information processing method and device and electrocardiogram box

Country Status (1)

Country Link
CN (1) CN108742592B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969840A (en) * 2008-03-10 2011-02-09 皇家飞利浦电子股份有限公司 Watertight cardiac monitoring system
CN204813867U (en) * 2015-05-13 2015-12-02 北京五维银创科技有限公司 Modular electrocardio real -time detection device
CN106163382A (en) * 2014-04-09 2016-11-23 高通股份有限公司 For detecting the method, apparatus and system of the attachment of electronics paster

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005046433A2 (en) * 2003-11-04 2005-05-26 General Hospital Corporation Life sign detection and health state assessment system
CN101449960A (en) * 2007-11-30 2009-06-10 光峰科技股份有限公司 Capsule endoscope system with sensing document identification device and identification method thereof
US9597014B2 (en) * 2012-06-22 2017-03-21 Fitbit, Inc. GPS accuracy refinement using external sensors
CN107525606B (en) * 2016-06-22 2020-05-19 北京小米移动软件有限公司 Wearable equipment and storage box thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969840A (en) * 2008-03-10 2011-02-09 皇家飞利浦电子股份有限公司 Watertight cardiac monitoring system
CN106163382A (en) * 2014-04-09 2016-11-23 高通股份有限公司 For detecting the method, apparatus and system of the attachment of electronics paster
CN204813867U (en) * 2015-05-13 2015-12-02 北京五维银创科技有限公司 Modular electrocardio real -time detection device

Also Published As

Publication number Publication date
CN108742592A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN109861963B (en) Portable power supply system and data transmission method for same
CN107566650B (en) Unlocking control method and related product
US20180248414A1 (en) Data processing method, charging device and mobile terminal
RU2756844C1 (en) Charger and information processing system
US10349353B2 (en) Automatic uploading method and portable information capturing device capable of automatic uploading
CN105278650A (en) Electronic device
CN107622191B (en) Unlocking control method and related product
CN103685953A (en) Shooting device, mobile terminal and watch
EP3164781B1 (en) Cloud based power management system for electronic devices
EP3454251A1 (en) Unlocking control methods and related products
CN104320585A (en) Photographing method of mobile terminal, mobile terminal, camera and mobile device
TW201715412A (en) Charging method, mobile terminal, and charging device
CN110941677A (en) Gateway device, control method and Internet of things control system based on edge calculation
JP2016218972A (en) USB hub device
CN109544807A (en) The personal identification method and user's binding method (C) of intelligent charge treasured shared system and intelligent charge treasured in the shared process of circulation
EP3142390B1 (en) Method for gesture-based data exchange between electronic devices
CN111696333A (en) Data transmission method, system and device
CN107205263A (en) A kind of data transmission method and system based on wireless charging device
CN108370409A (en) Information processing unit, imaging device, information processing system, information processing method and program
CN108742592B (en) Information processing method and device and electrocardiogram box
WO2017049549A1 (en) Mobile terminal, power supply adapter, and upgrading method thereof
CN105721557B (en) On-vehicle information Transmission system
WO2019023874A1 (en) Battery charging control method, charging device, user terminal device and system
CN107515667A (en) Power-saving method and intelligent glasses
CN106410921A (en) Charge monitoring method and charging monitoring device

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
GR01 Patent grant
GR01 Patent grant