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 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.
Referring to fig. 1, fig. 1 is a schematic structural view of a neck massager of the present invention. As shown in fig. 1, the present embodiment provides a neck massager 1000 including: a gripping body 100, a massage assembly 110, a pressure sensor 120, a communication circuit 130, and a control circuit 140.
The massage assembly 110 is disposed on the holding body 100, and the massage assembly 110 is used for massaging the neck of the human body.
And a pressure sensor 120 disposed on the holder body 100, for detecting a pressure signal of the user's lateral neck.
And a communication circuit 130 disposed on the holder 100 for communicating with an external device or a server.
The control circuit 140 is disposed on the holder 100, and electrically coupled to the massage assembly 110, the pressure sensor 120 and the communication circuit 130, for controlling the massage assembly 110 to massage the neck of the human body, controlling the pressure sensor 120 to detect the pressure signal of the side neck of the human body, and controlling the communication circuit 130 to communicate with an external device or a server.
The clamping body 100, user's centre gripping user's neck includes: the clamping device comprises a rear clamping body 10, a left clamping body 20 and a right clamping body 30, wherein the left clamping body 20 is installed on the left side of the rear clamping body 10, and the right clamping body 30 is installed on the right side of the rear clamping body 10. That is to say, whole neck clamping body 100 divide into three part, and back clamping body 10, left clamping body 20 and right clamping body 30 can realize different effects respectively according to the position of self, and back clamping body 10 mainly used centre gripping user's nape is regional moreover, and left clamping body 20 and right clamping body 30 correspond the side neck region of both sides respectively, and the three can mutually cooperate to can centre gripping user's neck in coordination.
The rear clamping body 10 is a rigid anti-deformation structure, and the left clamping body 20 and the right clamping body 30 are elastic bodies. That is, in the present embodiment, two elastic bodies separately arranged are used for the clamping body 100, instead of one integral clamping body 100. Like this, left clamping body 20 and right clamping body 30 realize the centre gripping to the user's neck through the lapped mode of swing, so can control the deformation of left clamping body 20 and right clamping body 30 better to can avoid the inconvenient problem of wearing that the too big institute of deformation range of user operation left clamping body 20 and right clamping body 30 caused.
The pressure sensor 120 is used to detect a pressure signal at the neck of the user, and when the human body coughs, muscles at two sides of the neck expand, which can press the clamping bodies 100 at two sides of the neck massager 1000. With this compression, it is possible to detect whether or not the human body coughs and the degree of coughing. The pressure sensor 120 may be disposed at a side of the left grip body 20 or the right grip body 30 near the lateral neck of the human body. Thus, after the user correctly wears the neck massager 1000, the pressure sensor 120 is just attached to the lateral neck of the user, and at the moment, the pressure sensor 120 can detect whether the lateral neck of the human body is pressed and collect a pressure signal.
Since the left clamping body 20 and the right clamping body 30 are elastic bodies, the pressure signal value sensed by the pressure sensor 120 is usually small, and the detected pressure signal value can be properly amplified according to the mechanical law. For example, it can be determined through a large amount of test data in the early stage that the corresponding relationship between the pressure value corresponding to the actual pressure signal detected by the pressure sensor 120 and the pressure value corresponding to the actual pressure signal is a double relationship, and then the detected pressure value is multiplied by two to obtain the actual pressure value, and the actual pressure value is converted into the pressure signal corresponding thereto to obtain the actual pressure signal.
In the present embodiment, the pressure sensor 120 is disposed on the neck massager 1000, so as to collect the pressure signal received by the user's side neck in real time, so that the user can know whether the user coughs and the degree or type of coughs.
Referring to fig. 2, fig. 2 is a schematic structural view of another embodiment of the neck massager for detecting cough of the present invention. Since the pressure applied to the two sides of the neck should be the same or at least slightly different when the user is coughing, if only the pressure signal applied to one side of the neck is detected, the neck massager 1000 may erroneously detect some motion of the human body as coughing, for example, when the user uses the neck massager 1000 to suddenly make a motion like turning left, the pressure sensor 120 on the left holding member 20 detects a large pressure signal, and the right holding member 30 hardly detects a pressure signal, so that the neck massager 1000 may erroneously recognize the motion as a cough state of the human body, which causes inaccuracy in cough detection of the neck massager 1000.
Therefore, in order to improve the accuracy of cough detection of the neck massager 1000, the pressure sensor 120 includes a first pressure sensor 121 and a second pressure sensor 122, the first pressure sensor 121 is disposed on the left clamping body 20 near the left neck of the human body, and the second pressure sensor 122 is disposed on the right clamping body 30 near the right neck of the human body. Thus, when the user correctly wears the neck massager 1000, the first pressure sensor 121 and the first pressure sensor 122 are just attached to the two lateral necks of the user, and at this time, the first pressure sensor 121 and the second pressure sensor 122 can detect the pressure signals of the two lateral necks of the user in real time, that is, the first pressure sensor 121 is used to detect the first pressure signal and obtain the corresponding first pressure value, and the second pressure sensor 122 is used to detect the second pressure signal and obtain the corresponding second pressure value. And judging whether the absolute value of the difference value between the first pressure value and the second pressure value is smaller than a preset threshold value, if so, retaining the first pressure signal and the second pressure signal. Further, the cough condition of the user may be obtained based on the pressure signal corresponding to the average pressure value of the first pressure value and the second pressure value. Otherwise, the pressure signal received by the user's lateral neck is re-collected.
In this embodiment, the first pressure sensor 121 and the second pressure sensor 122 are disposed on the neck massager 1000, so as to correspondingly collect pressure signals received by the necks at two sides of the user, and further compare the collected first pressure signal with the collected second pressure signal, if the first pressure signal is the same as or similar to the second pressure signal, the collected pressure signals are further processed to obtain the cough degree of the user. The embodiment can improve the accuracy of cough detection of the neck massager 1000.
The massage assembly 110 is disposed at a position of the rear holding body 10 close to the back neck of the human body, and includes an electric pulse generator 112 and a massage body 111, wherein the electric pulse generator 112 is electrically connected to the massage body 111. The electric pulse generator 112 can generate a pulse current by massaging the main body 111, so as to stimulate the skin of the neck of the user, thereby achieving the effect of massaging the neck of the user.
Preferably, the neck massager 1000 may further include a gravity traction body 200 connected to an end of the clamping body 100. The method comprises the following steps: the first handle 210 is mounted at the end of the left clamping body 20, and the second handle 220 is mounted at the end of the right clamping body 30, that is, the first handle 210 may be a left-side handle and the second handle 220 may be a right-side handle. And since the first and second handle bodies 210 and 220 are respectively a part of the gravity traction body 200, the first handle body 210 is mainly used to provide a forward traction force to the left grip body 20, and the second handle body 220 is mainly used to provide a forward traction force to the right grip body 30. The first handle 210 and the second handle 220 may correspond to the left and right clavicles of the shoulder of the user, respectively, that is, the first handle 210 and the second handle 220 may be respectively overlapped at the left and right clavicles of the user, and the first handle 210 and the second handle 220 generate friction with the left and right clavicles, respectively, so that the first handle 210 and the second handle 220 do not need to clamp the neck of the user in a conventional manner, but can be comfortably worn by virtue of the friction and the self-gravity, and the neck clamping body 100, and the first handle 210 and the second handle 220 can guide the left clamping body 20 and the right clamping body 30 to clamp the lateral neck, so that the left clamping body 20 and the right clamping body 30 can clamp the back half neck of the user with a light clamping force at both sides, and further can prevent the neck massage instrument 1000 from pressing the neck of the user when the user is in a normal body state, such as a non-cough state, the comfort of the user wearing the neck massager 1000 can be improved.
Thus, according to the neck massager 1000 of the present embodiment, the user's neck can be effectively clamped by the left and right clamping members 20 and 30, and the user's neck can be prevented from being pressed by the clamping members 100. In addition, through setting up first handle body 210 and second handle body 220, can overlap joint in user's collar bone department, can provide left clamping body 20 and the forward traction force of right clamping body 30 to prevent that left clamping body 20 and right clamping body 30 from being slided and take off by the back half neck of this neck, also can further reduce the pressure between left clamping body 20 and right clamping body 30 and user side neck like this in addition, when promoting the user and wearing neck massage appearance 1000 travelling comfort, make the user when the health is normal, the pressure that first pressure sensor 121 and second pressure sensor 122 detected is close to zero.
Preferably, the neck massager 1000 includes a data processing component 160 for analyzing and processing the pressure signals collected by the pressure sensor 120. Specifically, the data processing component 160 is configured to receive the pressure signals collected by the pressure sensor 120 and received by the user's lateral neck, analyze the received pressure signals, and transmit the processed information about the physical condition of the user, such as the cough type of the user, to the display 221 for reference by the user. The data processing unit 160 is connected to the pressure sensor 120 by a wire, and the data processing unit 160 may be disposed at any portion of the neck massage device 1000, such as the rear holder 10, the left holder 20, the right holder 30, the first handle 210, and the second handle 220. For the purpose of saving cables and simplifying the internal structure of the neck massager 1000, the data processing unit 160 may be disposed at a position close to the pressure sensor 120, for example, the data processing unit 160 may be disposed on the left/right clamp bodies 20/30. The data processing component 160 includes a signal amplifying circuit and a high-pass filter circuit, the output terminal of the pressure sensor 120 is electrically connected to the input terminal of the signal amplifying circuit, and the output terminal of the signal amplifying circuit is electrically connected to the input terminal of the high-pass filter circuit. The signal amplification circuit is a circuit capable of amplifying a weak electrical signal and converting the weak electrical signal into a strong electrical signal. The signal amplifying circuit amplifies the pressure signal collected by the pressure sensor 120, and then transmits the processed pressure signal to the high-pass filter circuit. The high-pass filtering is a filtering method, high-frequency signals can normally pass through, and low-frequency signals lower than a set critical value are blocked and weakened. The high-pass filter circuit can well filter low-frequency signals and effectively remove noise interference.
The neck massager 1000 further comprises a communication circuit 130 for communicating with an external device or server, such as transmitting a pressure signal detected by the pressure sensor 120 to the server or mobile device. The communication circuit 130 includes wired communication and wireless communication, and the wireless communication may use, for example, at least one of Long Term Evolution (LTE), LTE-advanced (LTE-a), Code Division Multiple Access (CDMA), wideband CDMA (wcdma), Universal Mobile Telecommunications System (UMTS), wireless broadband (WiBro), global system for mobile communications (GSM), and the like, which are cellular communication protocols. The wired communication may include, for example, at least one of Universal Serial Bus (USB), high-definition multimedia interface (HDMI), recommended standard 232(RS-232), Plain Old Telephone Service (POTS), and the like. The network may include at least one of a telecommunications network, such as a computer network (e.g., a LAN or WAN), an internetwork, or a telephone network.
Preferably, the neck massager 1000 includes a temperature sensor 150 for measuring a body temperature of the user. The temperature sensor 150 can be disposed at any position of the neck massager 1000 near the skin of the human body, such as the position of the rear clamping body 10, the left clamping body 20, the right clamping body 30, the first handle body 210 and the second handle body 220 near the back neck of the human body. The temperature sensor 150 can cooperate with the pressure sensor 120 to detect the physical condition of the user, for example, when the pressure sensor 120 detects that the user is in severe cough and then the temperature sensor 150 detects that the body temperature of the user is higher than 37.3 ℃, the user can be reminded to keep warm or seek medical advice in time.
The neck massager 1000 of the present embodiment further includes a control circuit 140 electrically coupled to the massage assembly 110, the pressure sensor 120 and the communication circuit 130, for controlling the massage assembly 110 to massage the neck of the human body, controlling the pressure sensor 120 to detect the pressure signal received by the user's neck, and controlling the communication circuit 130 to communicate with an external device or a server.
Preferably, the neck massager 1000 may further include a display 221, which may be disposed at a side of the rear clamping body 10, the left clamping body 20/the right clamping body 30, the first handle body 210, and the second handle body 220 facing away from the neck of the human body, wherein the display 221 may include, for example, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, an organic LED (oled) display, a Micro Electro Mechanical System (MEMS) display, or an electronic paper display. Display 221 may display, for example, various content (e.g., text, images, videos, icons, symbols, etc.) to a user. The display 221 may include a touch screen and may receive touch, gesture, proximity, or hover input using, for example, an electronic pen or a portion of a user's body. The display 221 may thus serve as an interface for a user to interact with the neck massager 1000, and the user may activate or deactivate the function of the neck massager 1000 to detect whether the user coughs through a specific button of the touch pad. It may also be used to display whether the user is currently coughing and the degree or type of coughing, e.g., mild coughing, severe coughing, etc.
Referring to fig. 3, fig. 3 is a schematic flow chart of a cough detection method of the neck massager of the present invention. As shown in fig. 3, the method of cough detection of the neck massager 1000 includes the steps of:
s11: the pressure signal is detected by the pressure sensor 120.
Before the user wants to detect whether the user has a cough and the condition of the cough by the neck massager 1000, the user should check whether the neck massager 1000 starts the cough detection function, and if not, the user starts the cough detection function and wears the neck massager 1000. The neck massager 1000 collects pressure signals received by the user's side neck through the built-in pressure sensor 120 while performing a massage operation on the user. Specifically, since the pressure sensor 120 is located at the lateral neck of the user, when the human body coughs, the lateral neck is compressed, and at this time, the pressure sensor 120 can acquire the pressure signal at the lateral neck of the user.
Optionally, in order to improve the accuracy of cough detection of the neck massager 1000, the compression of the lateral neck generated by the user when performing certain specific actions such as turning the head left/right is reduced, thereby causing the neck massager 1000 to make a misjudgment that the user is cough. The present embodiment can detect the pressure signals received by the necks of the two sides of the user at the same time, and if the values of the pressure signals at the two sides are the same or similar, the pressure signals at the two sides are averaged or one of the pressure signals is selected as the pressure signal collected by the pressure sensor 120. Otherwise, the pressure signal at the lateral neck of the user is re-acquired.
S12: processing the pressure signal to obtain a target pulse signal;
firstly, Fourier transform is carried out on the collected pressure signals, and the pressure signals are converted from a time domain to a frequency domain. A typical use of fourier transforms in signal processing is to decompose a signal into amplitude and frequency components. In addition, since the portion of the neck massager 1000 where the pressure sensor 120 is mounted is made of an elastic material, the pressure signal collected by the pressure sensor 120 is usually smaller than the real pressure signal, and the collected pressure signal inevitably has noise, so that the collected pressure signal needs to be properly analyzed and processed. For example, amplifying and filtering the collected pressure signals, and properly amplifying the pressure signals can improve the sensitivity of the neck massager 1000 to the physiological response of the user to cough, and filtering the amplified pressure signals can acquire low-noise target pulse signals.
S13: the target pulse signal is identified to determine a cough condition of the user. Specifically, step S13 may include the steps of:
s131: and acquiring the amplitude of the target pulse signal.
S132: and if the amplitude of the target pulse signal is greater than the first preset amplitude, acquiring the occurrence frequency of the target pulse signal.
S133: and when the amplitude of the characteristic wave band is larger than the second preset amplitude and/or the appearance frequency of the characteristic wave band is larger than the preset frequency, determining that the user is the first type of cough. And when the amplitude of the characteristic wave band is smaller than a second preset amplitude and the appearance frequency of the characteristic wave band is smaller than a preset frequency, determining that the user is the second type of cough. And the second preset amplitude is greater than the first preset amplitude.
The frequency and the amplitude of the signal wave are two major indexes of the strength of the reaction signal, so that whether the user coughs and the cough degree can be judged undoubtedly through the frequency and the amplitude of the pressure signal.
Alternatively, step S13 may also acquire the cough type of the user in the following manner.
And sending the target pulse signal to a server, so that the server inputs the target pulse signal into a cough classification model obtained by pre-training for classification to determine the cough type of the user, and receiving the cough type of the user sent by the server. The cough classification model is obtained by utilizing the acquired lateral neck pressure signals when the human body coughs and carrying out supervised training by artificially labeling the cough types.
The server may establish a classification model in advance, which is obtained by supervised training using the acquired neck pressure of the confirmed cough patients and by artificially tagging the cough types.
The specific training process is as follows:
the method comprises the steps of obtaining cough sample data of a plurality of cough patients, wherein each cough sample data carries a corresponding cough category label. The cough sample data is target pulse signal data acquired from the selected side neck of the patient, and the cough types to be identified carried by each cough sample data, such as common cold, bronchitis and the like, are specifically selected according to actual requirements.
It should be noted that, the number of patients with cough is not limited in this embodiment, and generally, the same number of samples may be taken for each cough type, for example, 5 persons may be taken for each cough type.
Inputting the side neck cough pressure sample data of a plurality of cough type patients into a recurrent neural network model for training, and constructing a cough type recognition model, wherein the cough type recognition model records the mapping relation between the patient cough pressure data and the patient cough type.
Since the cough data of different cough types are included in the patient cough pressure sample data, in order to distinguish the cough pressure data of patients with different cough types, the patient cough pressure sample data needs to be marked, and here, the patient cough sample data carrying different cough types are mainly marked.
For the embodiment, the recurrent neural network model is a network structure that can train the patient cough sample data and the patient cough type mapping, the network structure is equivalent to the patient cough identification model, and the patient cough type can be identified according to the patient cough data by the patient cough identification model.
The structure of the specific recurrent neural network model can be realized by a 6-layer coding-decoding structure, and of course, other structures of the recurrent neural network model can be selected according to the data characteristics of the patient cough sample data to be trained according to actual needs.
And inputting the user data to be recognized into the cough recognition model, and recognizing the cough type corresponding to the user data to be recognized.
According to the embodiment, the patient sample is input into the recurrent neural network model for training, the cough recognition model is constructed, the mapping relation between the patient cough data and the patient cough type is recorded in the cough recognition model, and the cough type of the user can be accurately recognized through the cough recognition model.
S14: the massage mode of the neck massager 1000 is adjusted according to the cough type.
Through the steps, the condition of the cough of the user can be obtained, for example, the first type of cough is a severe cough, and the second type of cough is a mild cough. The neck massager 1000 can thus adjust the massage mode of the neck massager 1000 according to the cough type. For example, when the user is in a mild cough state, the massage force can be adjusted to be large, and when the user is in a severe cough state, the massage force can be adjusted to be small.
Further, after the target pulse signal is identified to determine the cough condition of the user, when it is determined that the cough condition of the user meets the set condition, the temperature sensor 150 is started to collect the body temperature of the human body, and when the body temperature of the human body is greater than the set temperature value, the prompt is performed.
If the body temperature of the user is higher than a certain threshold, for example, the body temperature is higher than 37.3 ℃, the neck massager 1000 reminds the user to go to a hospital for examination.
According to the method for detecting the cough by the neck massager, provided by the invention, the pressure signal of the neck of the user is sensed and processed, so that the user can enjoy massage and simultaneously monitor the cough degree of the user, and the user can timely master the physical condition and timely seek medical advice.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a storage medium according to the present application. The storage medium 400 stores program data 401, and the program data 401 when executed can implement the above-described cough detection method for a neck massager. Specifically, the storage medium 400 having the storage function may be one of a memory, a personal computer, a server, a network device, or a usb disk.
The above embodiments are merely examples and are not intended to limit the scope of the present disclosure, and all modifications and equivalents that may be made by using the contents of the present disclosure and drawings, or applied directly or indirectly to other related technical fields are intended to be included within the scope of the present disclosure.