CN110496013A - Control device for massage chair and control method - Google Patents
Control device for massage chair and control method Download PDFInfo
- Publication number
- CN110496013A CN110496013A CN201910816027.0A CN201910816027A CN110496013A CN 110496013 A CN110496013 A CN 110496013A CN 201910816027 A CN201910816027 A CN 201910816027A CN 110496013 A CN110496013 A CN 110496013A
- Authority
- CN
- China
- Prior art keywords
- communication module
- massage armchair
- massage
- control device
- network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000004891 communication Methods 0.000 claims abstract description 119
- 230000007246 mechanism Effects 0.000 claims abstract description 7
- 238000012360 testing method Methods 0.000 claims abstract description 6
- 230000009471 action Effects 0.000 claims abstract description 5
- 230000006698 induction Effects 0.000 claims description 8
- 238000003860 storage Methods 0.000 claims description 7
- 230000003321 amplification Effects 0.000 claims description 3
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 3
- 230000004044 response Effects 0.000 claims description 3
- 238000009434 installation Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 5
- 238000001514 detection method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 230000005484 gravity Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000013523 data management Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 230000001939 inductive effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000006641 stabilisation Effects 0.000 description 2
- RVCKCEDKBVEEHL-UHFFFAOYSA-N 2,3,4,5,6-pentachlorobenzyl alcohol Chemical compound OCC1=C(Cl)C(Cl)=C(Cl)C(Cl)=C1Cl RVCKCEDKBVEEHL-UHFFFAOYSA-N 0.000 description 1
- 206010044565 Tremor Diseases 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012512 characterization method Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000005034 decoration Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011065 in-situ storage Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H1/00—Apparatus for passive exercising; Vibrating apparatus; Chiropractic devices, e.g. body impacting devices, external devices for briefly extending or aligning unbroken bones
- A61H1/001—Apparatus for applying movements to the whole body
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/535—Tracking the activity of the user
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H2201/00—Characteristics of apparatus not provided for in the preceding codes
- A61H2201/01—Constructive details
- A61H2201/0119—Support for the device
- A61H2201/0138—Support for the device incorporated in furniture
- A61H2201/0149—Seat or chair
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H2201/00—Characteristics of apparatus not provided for in the preceding codes
- A61H2201/50—Control means thereof
- A61H2201/5097—Control means thereof wireless
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61H—PHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
- A61H2230/00—Measuring physical parameters of the user
- A61H2230/04—Heartbeat characteristics, e.g. E.G.C., blood pressure modulation
- A61H2230/06—Heartbeat rate
- A61H2230/065—Heartbeat rate used as a control parameter for the apparatus
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Public Health (AREA)
- Pain & Pain Management (AREA)
- Physical Education & Sports Medicine (AREA)
- Rehabilitation Therapy (AREA)
- Cardiology (AREA)
- Animal Behavior & Ethology (AREA)
- Epidemiology (AREA)
- Veterinary Medicine (AREA)
- Computing Systems (AREA)
- Medical Informatics (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Massaging Devices (AREA)
- Percussion Or Vibration Massage (AREA)
Abstract
The invention discloses a kind of control device for massage chair and control method, described device includes: communication master control borad, and the Local Communication Module and network communication module that are electrically connected to each other thereon;Local Communication Module passes through the driving board communications of serial ports and massage armchair, and driving plate drives massage armchair to carry out massaging action;Network communication module is connect by wireless network with preset service end, and is communicated therewith by the default communication protocol based on heartbeat mechanism.The control method includes: to support continued access from preset service to receive heartbeat data packets, and record the time interval that two neighboring heartbeat data packets reach;According to the size relation between time interval and preset threshold, it is determined whether send network posture test instruction to preset service end and whether reset the network connection state between preset service end.Control device for massage chair provided by the invention and control method can cope with the various unusual conditions in massage armchair use process, improve use reliability.
Description
Technical field
The present invention relates to intelligent massage chair, especially a kind of control device for massage chair and control method.
Background technique
With the continuous development of information technology, traditional massage armchair also constantly updates iteration, shows automation, intelligence
Development trend.It is placed in shopping plaza, a large amount of independent and unserviced intelligent massage chair in the places such as Waiting Lounge of waiting, leads to
It crosses network to be communicated with server background, realizes the function such as remote control massage armchair, storage user's usage record, and payment
Can, the usage experience entirely different with previous traditional massage armchair is brought to user.
However, the people used is more since the placement position of massage armchair is scattered in major public place, occur in use process
The problem of and unusual condition emerge one after another, for example, the detection for whether taking massage armchair to user is too sensitive or blunt, and
Abend work, abnormal starting, net drop, crash of massage armchair is not responding to;This just needs massage armchair to have high reliability.
When massage armchair breaks down in use, it is not easy to maintenance personnel and carries out in-situ processing in time, meanwhile, also brought not to user
Good user experience.
Summary of the invention
In order to overcome the shortcomings of the prior art, the present invention provides a kind of control device for massage chair and control method, existing to solve
There is the problem of the reliability deficiency of massage armchair.
A kind of control device for massage chair, which is characterized in that the control device for massage chair includes: communication master control borad, in institute
It states communication master control borad and is equipped with Local Communication Module and network communication module;The Local Communication Module and the network communication mould
It is electrically connected between block;The Local Communication Module passes through the driving board communications of serial ports and massage armchair, and the driving plate is for driving
Massage armchair is set to carry out massaging action;The network communication module is connect by wireless network with preset service end, and by with institute
The default communication protocol between preset service end based on heartbeat mechanism is stated to be communicated.
A kind of massage armchair control method, which is characterized in that the massage armchair control method, comprising:
Continued access is supported from preset service and receives heartbeat data packets, and is recorded between the time that two neighboring heartbeat data packets reach
Every;
If the time interval is more than preset threshold, network posture test instruction is sent to the preset service end;
If not receiving the return message of the network posture test instruction within the default response time, resetting with it is described pre-
If the network connection state between server-side.
Control device for massage chair provided by the invention and control method, including what is be set on communication master control borad and interconnect
Local Communication Module and network communication module, wherein Local Communication Module is used to connect and communicate with the driving plate of massage armchair,
That is, on the one hand Local Communication Module obtains the working condition of massage armchair by driving plate, it on the one hand will be from network communication module
Received instruction is sent to driving plate, so that massage armchair carries out massaging action according to instruction;Network communication module passes through wireless network
Network is connect with preset service end, and the communication protocol based on heartbeat mechanism by arranging between preset service end is led to
Letter allows preset service end to collect the operating status of massage armchair in time, and is carried out actively according to operating status to massage armchair
Control;Meanwhile the timing of preset service end sends heartbeat data packets to massage armchair, massage armchair is according to the heartbeat data packets received
Between time interval determine whether its network connection state between preset service end normal, and can be according to network connection
The result of state in time resets network connection state, is allowed to keep the connection with preset service end in time.It mentions through the invention
The control device for massage chair and control method of confession ensure that and connect between massage armchair and preset service end with unimpeded stable data
It connects, after avoiding the occurrence of the various failures of massage armchair appearance, the problem of becoming isolated island and can not safeguard in time, substantially increases massage armchair
Reliability.
Detailed description of the invention
Fig. 1 is the application environment schematic diagram of control device for massage chair in the embodiment of the present invention;
Fig. 2 is the internal module schematic diagram of control device for massage chair in the embodiment of the present invention;
Fig. 3 is the pin configuration schematic diagram for driving plate interface in the embodiment of the present invention in control device for massage chair;
Fig. 4 is the circuit interface figure being connected in control device for massage chair with sim card slot in the embodiment of the present invention;
Fig. 5 is the circuit diagram of state-detection in place in control device for massage chair in the embodiment of the present invention;
Fig. 6 is USB port circuit diagram on the communication master control borad of control device for massage chair in the embodiment of the present invention.
Specific embodiment
In order to which technical problems, technical solutions and advantages to be solved are more clearly understood, tie below
Accompanying drawings and embodiments are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only
To explain the present invention, it is not intended to limit the present invention.
The schematic diagram of a kind of control device for massage chair, application environment is as shown in Figure 1.Wherein, control device for massage chair collection
At inside massage armchair, the public places such as massage armchair can be deployed between the far apart market of physical location, building by dispersion;
Server-side, i.e. preset service end are that the computer equipment of information storage, work order is provided for massage armchair, including but not limited to
Server or server cluster with database function, and promising massage armchair provides data service end computer in server-side
Software suite (SDK, Software Development Kit) or frame;User terminal, that is, cell phone application.When user uses massage armchair
When, cell phone application scans the two dimensional code on massage armchair, and the massage armchair ID to determine user institute barcode scanning is communicated with server-side
(Identification, identification information), then, server-side send work order to control device for massage chair, so that with
Massage armchair can be used in family.
The internal module of control device for massage chair exists as shown in Fig. 2, control device for massage chair can be divided into two big modules
There are the Local Communication Module and network communication module of electric connection on communication master control borad, the two connects with driving plate and server-side respectively
It connects;Driving plate is connect with massage armchair control motor, when driving plate sends driving signal, massage armchair control to massage armchair control motor
Motor can be actuated for massaging action.Wherein, master control borad, i.e. printed circuit board (PCBA, Printed Circuit are communicated
Board Assembly)。
Local Communication Module is communicated by serial ports with the driving plate of massage armchair, is sent at regular intervals to driving plate
Data request information, driving plate return to the local state information of massage armchair in the form of response bag, wherein send number to driving plate
It can be preset according to the time of request message, such as every 15 seconds, 20 seconds;Local state information includes but is not limited to massage
Mode massages total duration, massages remaining time, whether massage armchair is in running order, and whether power supply state is normal, if useful
Family is sitting on massage armchair, etc.;It is also possible to driving plate send work order, instruction driving plate drive massage armchair carry out by
Rub movement.
Network communication module, for carrying out data interaction, the massage that can will be obtained from Local Communication Module with server-side
Chair local state information is sent to server-side, or sends driving by Local Communication Module for the work order of server-side
Plate.
It is to be led between network communication module and server-side by communication protocol arranging in advance, based on heartbeat mechanism
Letter.Heartbeat mechanism refers in the both sides of communication, periodically sends customized data packet to other side, or is heartbeat data packets,
Other side is allowed to determine the presence of one's own side, to ensure the validity of intercommunication connection.It is arranging in advance, based on heartbeat mechanism
Communication protocol belongs to application layer protocol, can calibrate to the data of transmission, and escape or encapsulation are conducive to strengthen data
The safety of communication.
Specifically, there is embedded Linux system in control device for massage chair, there is relatively complete operation system function,
It can be used as main control device use.The serial ports that Local Communication Module is communicated with the driving plate of massage armchair is UART serial ports, that is,
Universal Asynchronous Receiver/Transmitter, universal asynchronous receiving-transmitting transmitter, the data that will be transmitted
It is converted between serial communication and parallel communications;
Network communication module includes radio frequency baseband chip, storage chip, power management chip and radiofrequency signal amplification chip,
Wherein, radio frequency baseband chip includes RF transceiver and baseband processing chip, for sending and receiving for radiofrequency signal, such as is adopted
With the MDM9X07 platform of Qualcomm;Storage chip, that is, MCP (Multiple Chip Package) memory, including RAM and
ROM, for storage from the received data of server-side, and the massage armchair local state information obtained from Local Communication Module;Electricity
Managing chip, that is, PM (Power Management) chip is pressed, for carrying out power management to control device;Radiofrequency signal amplification
Chip is for amplifying transmission to radiofrequency signal;
Preferably, Local Communication Module and network communication module can be substituted by 4G communication module.At this point, driving plate is direct
It is connect with 4G communication module, drives the pin configuration schematic diagram of plate interface as shown in Figure 3.Wherein, driving plate interface pin 1-10
Respectively VCC12V, GND, VCC3V3&5V, 4G_U1_TXD, 4G_U1_RXD, GND, 4G_RESET, INT, WDO, WAKE_
STAT;Pin 1 is 4G communication module power supply foot, and electrical characteristic is 12V DC voltage, 1A electric current;Pin 2 and 6 is grounding leg;Draw
Foot 3 is I/O interface power supply foot, electrical characteristic 3V3/5V, 20mA;Pin 4 and 5 be UART serial ports data input, output pin,
Electrical characteristic is 3V3/5V, transmission rate 9600baud;Pin 7 is resetting pin, is defaulted as high level, after dragging down 2 seconds again
Release can be achieved to reset;Pin 8 is to interrupt foot, electrical characteristic 5V/3V3;Pin 9 is that communication master control borad gives driving plate MCU
The periodic pulse signal of (Microcontroller Unit, micro-control unit), characterization communication master control borad work normally;Pin 10
It is normal operating conditions or dormant state for characterizing communication master control borad.Meanwhile sim card slot is equipped in 4G communication module,
It can be equipped with a SIM card for each control device for massage chair, for carrying out 4G communication with server-side, be connected with sim card slot
Circuit interface figure it is as shown in Figure 4.In Fig. 4, U207 is that SIM card detects IC, and CLK foot, RST foot are respectively clock foot and resetting
Foot, the corresponding pin phase with USIM (Universal Subscriber Identity Module, Global Subscriber identification card) card
Even;Its VDD foot is used to power for usim card;Its VSS foot ground connection;The connection of the input and output foot of its I/O foot and usim card.
After massage armchair, which is powered, to be started, 4G communication module is sent out the IMEI number built in control device for massage chair by 4G network
It is sent to server-side, is registered in server-side.Wherein, IMEI (International Mobile Equipment
Identity, international mobile equipment identification number) it is write-in before control device for massage chair factory, for one piece of unique identification massage
The identifier of chair control device.Then, server-side at regular intervals, such as 5 seconds, is sent out to registered control device for massage chair
Send heartbeat data packets;Corresponding, 4G communication module persistently receives heartbeat data packets, and records two neighboring heartbeat data packets
The time interval of arrival, then according to the determining network connection state between server-side of the value of time interval, and then determination is
It is no to need to restart 4G communication module, so that the communication between massage armchair and server-side is unimpeded and stablizes.
For example, if the time interval that 4G communication module normally receives two heartbeat data packets of server-side is 10 seconds,
As preset threshold illustrates massage armchair and server-side if the time interval between two neighboring heartbeat data packets is more than 10 seconds
Between network occur abnormal, or gone offline;At this point, 4G communication module sends network posture test instruction to server-side, such as
Ping instruction, if not receiving the return message of ping in 60 seconds, can restart 4G communication module, enable massage armchair
Again it is registered in server-side.
Locally corresponding with massage armchair, server-side can specifically use cloud server terminal.Cloud server terminal is responsible for and massage armchair
Control device is communicated, under send instructions, and can be used for user data management, device data management, data analysis etc..
Specifically, cloud server terminal supports basic agreement, including but not limited to UDP, TCP or HTTPS.Cloud server terminal is to massage
Chair control device provides two services, respectively notice service and device service, wherein control device for massage chair is by being based on
The data packet of udp protocol is communicated with notice service, to safeguard the online or off-line state of massage armchair;Control device for massage chair
It is communicated by the data packet based on HTTPS agreement with device service, to update massage armchair device status information for receiving and dispatching
Instruction.
Massage armchair device status information is the state of the massage armchair monitored from cloud server terminal angle.Massage armchair equipment shape
State information includes: presence, represents the packet-switching success for keeping active;Off-line state represents control device for massage chair
Two between cloud server terminal continuously keep active data packet not exchange success;Ready state represents and works as massage armchair control
Device processed is completed to register to cloud server terminal, and massage armchair can receive the instruction from cloud server terminal;Poll presence, representative are worked as
Control device for massage chair can not be communicated with notice service, but can lead to device service with ping, or can only be with device service
It is communicated, then control device for massage chair sends the state of inquiry in a manner of every five seconds poll to cloud server terminal.
Preferably, the identifier of control device for massage chair further includes a public key (public key), the public key
Spoon can be used for the communication that cloud server terminal is each control device for massage chair and be encrypted.Specifically, cloud server terminal uses public key
Spoon carries out SSL encryption to the communication of each control device for massage chair, it is ensured that the communication of every massage armchair is independently, to guarantee
Data communication is safer.Wherein, SSL is Secure Sockets Layer Secure Socket Layer, is to provide peace for network communication
A kind of complete and data integrity security protocol.
By means of cloud server terminal, operation maintenance personnel can check the relevant information of massage armchair local, such as the equipment shape of massage armchair
State, the signal strength of massage armchair position, the historical record of massage armchair reconnection server-side, etc., and save a large amount of history heart
Hop count evidence facilitates remote diagnostic device, checks problem, remote reboot.
Further, in one embodiment, Local Communication Module includes: induction strip, level shifting circuit and communication board;It is logical
Letter plate is connect by serial ports with driving plate;Induction strip is attached under massage armchair seat, and connect with level shifting circuit;Level conversion
The output pin of circuit and the GPIO mouth of communication board connect.
Wherein, GPIO, that is, General-purpose input/output, the interface of universal input and output;Induction strip phase
When in switch, for detecting whether taking on massage armchair.When under taking, induction strip closure, the level generated leads to
Over level conversion circuit is converted into GPIO level, and is output on the GPIO mouth of communication board, so that massage armchair is in state in place,
I.e. control device for massage chair obtains someone and takes a seat the message of massage armchair.The circuit of state-detection in place is as shown in Figure 5.In Fig. 5,
VOUT_1V8 is that massage armchair detects foot in place, defaults vacant state, effective for low level as seat someone.
In the mode of traditional detection state in place, detected by several gravity sensors;And in this implementation
In example, Local Communication Module utilizes the mutual cooperation of induction strip, level shifting circuit and communication board, realizes and Conventional gravity
The same detection function of inductive pick-up, but it is entirely different on implementation, also, be conducive to save and use Conventional gravity sense
Inductive sensing device bring production cost.
On the basis of Local Communication Module is made of induction strip, level shifting circuit and communication board, detect in order to prevent
State in place is too sensitive, and Local Communication Module also has software stabilization function, so that more accurate to the detection of state in place
And stabilization.
Specifically, it to preset the fixed intervals period to GPIO mouth of communication board progress voltage detecting, obtains between each fixation
Voltage value under phase every other week;If voltage value is kept constant in preset time range, it is determined that massage armchair enters undocked state;If
Voltage value is not kept constant in preset time range, it is determined that massage armchair enters state in place.
For example, in a manner of poll, every being detected in 1 second to GPIO mouthfuls of communication board of voltage, for example, if electricity
Pressure value is high level, and in 5 seconds in range, which keeps constant constant, then can determine that undocked state is stable
's;Otherwise, if voltage value is swung up and down within the scope of 5 seconds, then illustrate that someone trembles leg on chair on massage armchair, in turn
It can determine and take down.It is to be appreciated that using same detection mode can also determine massage after user whether from
Massage armchair is opened, so as to which state or undocked state in place is determined more accurately.
In addition, there is the case where being not responding to of crashing in use in communication board in order to prevent, it is communication board by software
Anti- race crash system is set, to ensure that communication board can voluntarily restore, reduces the cost of live manual maintenance.
Specifically, the main thread massage_ that guardian process monitor is used to monitor communication board is set under linux
Chair, when the main thread of communication board is abnormal, guardian process monitor will restart massage_chair;Alternatively, to logical
Believe that heartbeat data packets occur for plate, and primary every detection in 5 minutes, if not receiving return message in 5 minutes, illustrates communication board
It crashes, at this point it is possible to by the reseting pin that drags down communication board to restart communication board.
Further, in one embodiment, Local Communication Module includes speech chip.Wherein, speech chip, that is, Text To
Speech, TTS speech chip are played on massage armchair for that will receive text information from server-side with voice mode, are prompted
User operates, and is the man-machine interaction mode of close friend a kind of.Speech chip external connection has 2W/4R loudspeaker, can be used for playing
Sound.
Specifically, when user uses massage armchair, massage armchair enters state in place, and massage armchair can pass through TTS voice core
Piece plays local voice document according to default voice broadcast strategy.
Wherein, voice document includes but is not limited to instruct user's operation massage armchair, and user is prompted to select the means of payment, is prompted
Residual time length is massaged, etc.;Voice document can be stored in advance in the storage core on piece of massage armchair, and be subject to by file id
It distinguishes;The attribute of default voice broadcast strategy includes strategy id, the id of voice document, broadcasting time, play time etc.;One language
Sound broadcast strategy A can be indicated are as follows: play voice a after user sits down 3 seconds, voice b is played after 10 seconds, plays voice after 15 seconds
c。
In addition, each voice document has different priority, priority is used in playing voice process intercut preferential
The higher voice of grade, and locally original default voice broadcast strategy is adjusted to massage armchair.Specifically, priority can be set
It is set to 9 grades, wherein 9 grades of highests, 1 grade minimum.
For example, when the insufficient real-time messages of prompt user balance for receiving server-side and issuing, priority 8,
Then speech chip compares the priority of Instant audio messages and the priority of local voice file, if Instant audio messages
Priority be higher than the priority of default voice document, then interrupt current play status, and play Instant audio messages;Conversely,
Instant audio messages are stored and are arranged to local, and according to the sequence of priority by speech chip, and Instant audio messages are inserted
Enter into the broadcasting queue of default voice broadcast strategy.
Further, since built-in SIM card in control device for massage chair, allows control device for massage chair such as mobile phone one
Sample receives and dispatches short message, that is, when receiving short message, speech chip can be converted short message, from Text To Speech and be played back.
In the present embodiment, by the speech chip in Local Communication Module, the flexible voice document that plays be can be improved
The intelligence degree and man-machine interaction of massage armchair.
Further, in one embodiment, Local Communication Module and network communication module are externally provided with shielding case, shielding case with
The edge connection for communicating master control borad, constitutes closed installation space.Wherein, shielding case is for guaranteeing Local Communication Module and network
Component inside communication module is not without damage by electromagnetic interference and structure.
Further, in one embodiment, network communication module further includes antennal interface, and antennal interface is used for according to massage
The signal strength that antenna obtains massage armchair position is set in chair.Antennal interface is used to connect with the antenna being placed in inside massage armchair
It connects, obtains the signal strength of massage armchair geographic location, convenient for server-side to judge network state.
Further, in one embodiment, communication master control borad is equipped with reserve battery interface.The output of reserve battery interface
Voltage value is 4.2V, is connect with reserve battery, can be used for guaranteeing the power supply of control device for massage chair when accident power-off, and prevent from breaking
Loss of data when electric.
Further, in one embodiment, as shown in fig. 6, communication master control borad is equipped with USB port.USB port can be used for being written
The parameter and field adjustable of default setting, it is convenient for safeguarding.
Further, in one embodiment, hardware watchdog is circumscribed on communication board.Hardware watchdog is a kind of timing
Device circuit crashes once communication board occurs for regularly checking the operating status condition of communication board, then passes through hardware watchdog pair
Communication board carries out hardware reset.
It is to be expounded to control device for massage chair of the present invention and control method above, is used to help understand the present invention,
But embodiment of the present invention are not limited by the above embodiments, it is any without departing under the principle of the invention it is made change, repair
Decorations, combination, simplify substitution, should be equivalent substitute mode, are included within the scope of the present invention.
Claims (10)
1. a kind of control device for massage chair, which is characterized in that the control device for massage chair includes: communication master control borad, described
It communicates master control borad and is equipped with Local Communication Module and network communication module;The Local Communication Module and the network communication module
Between be electrically connected;The Local Communication Module passes through the driving board communications of serial ports and massage armchair, and the driving plate is for driving
Massage armchair carries out massaging action;The network communication module is connect by wireless network with preset service end, and by with it is described
Default communication protocol between preset service end based on heartbeat mechanism is communicated.
2. control device for massage chair as described in claim 1, which is characterized in that the network communication module includes radio frequency baseband
Chip, storage chip, power management chip and radiofrequency signal amplification chip.
3. control device for massage chair as described in claim 1, which is characterized in that the Local Communication Module includes voice core
Piece.
4. control device for massage chair as described in claim 1, which is characterized in that the Local Communication Module include: induction strip,
Level shifting circuit and communication board;The communication board is connect by the serial ports with the driving plate;The induction strip be attached to by
It rubs under seat position, and is connect with the level shifting circuit;The output pin of the level shifting circuit and the communication board
GPIO mouthfuls of connections.
5. control device for massage chair as described in claim 1, which is characterized in that the Local Communication Module and the network are logical
Letter module is externally provided with shielding case, and the shielding case is connect with the edge of the communication master control borad, constitutes closed installation space.
6. control device for massage chair as claimed in claim 4, which is characterized in that be circumscribed with hardware on the communication board and guard the gate
Dog.
7. such as control device for massage chair as claimed in any one of claims 1 to 6, which is characterized in that the Local Communication Module and
The network communication module is 4G communication module.
8. a kind of massage armchair control method, which is characterized in that the massage armchair control method, comprising:
Continued access is supported from preset service and receives heartbeat data packets, and records the time interval that two neighboring heartbeat data packets reach;
If the time interval is more than preset threshold, network posture test instruction is sent to the preset service end;
If not receiving the return message of the network posture test instruction, resetting and the default clothes within the default response time
Network connection state between business end.
9. massage armchair control method as claimed in claim 8, which is characterized in that the massage armchair control method, further includes:
Voltage detecting is carried out to preset the fixed intervals period to the GPIO mouth of communication board, is obtained under each fixed intervals period
Voltage value;
If the voltage value is kept constant in preset time range, it is determined that massage armchair enters undocked state;
If the voltage value is not kept constant in preset time range, it is determined that massage armchair is into undocked state.
10. massage armchair control method as claimed in claim 9, which is characterized in that the massage armchair control method, further includes:
When detecting massage armchair into the state in place, then basis presets voice broadcast strategy and plays default voice document;
During playing the default voice document, if receiving the Instant audio messages that the preset service end issues,
Then the priority to the default voice document and the priority of the Instant audio messages are compared;
If the priority of the Instant audio messages is higher than the priority of the default voice document, currently playing shape is interrupted
State, and play the Instant audio messages;
If the priority of the Instant audio messages is lower than the priority of the default voice document, the real-time voice is believed
Breath is stored, and is adjusted according to the priority of the Instant audio messages to the default voice broadcast strategy.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910816027.0A CN110496013A (en) | 2019-08-30 | 2019-08-30 | Control device for massage chair and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910816027.0A CN110496013A (en) | 2019-08-30 | 2019-08-30 | Control device for massage chair and control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110496013A true CN110496013A (en) | 2019-11-26 |
Family
ID=68590720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910816027.0A Pending CN110496013A (en) | 2019-08-30 | 2019-08-30 | Control device for massage chair and control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110496013A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112583672A (en) * | 2020-12-18 | 2021-03-30 | 北京睿芯高通量科技有限公司 | TCP server stability testing method based on timestamp |
CN118502993A (en) * | 2024-07-22 | 2024-08-16 | 深圳市西昊智能家具有限公司 | Deployment method of embedded equipment, communication method of distributed plate and seat |
Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2786709Y (en) * | 2005-04-08 | 2006-06-07 | 徐朝荣 | Auto-induction bar code scanner |
CN101482754A (en) * | 2009-02-04 | 2009-07-15 | 泰怡凯电器(苏州)有限公司 | Robot restricting system and method |
CN201278593Y (en) * | 2008-09-18 | 2009-07-22 | 中兴通讯股份有限公司 | Multi-mode wireless data card |
CN102547602A (en) * | 2012-02-24 | 2012-07-04 | 海能达通信股份有限公司 | Shoulder microphone and system and method for realizing three-party conversion between public network and private network |
CN202455342U (en) * | 2011-12-28 | 2012-09-26 | 北京威讯紫晶科技有限公司 | Miniaturized wireless communication module |
CN103346816A (en) * | 2013-06-28 | 2013-10-09 | 长沙威胜信息技术有限公司 | Wireless communication system and remote updating method thereof |
CN104123941A (en) * | 2014-07-17 | 2014-10-29 | 常州蓝城信息科技有限公司 | Method for using voice recognition to control device |
CN105259587A (en) * | 2015-10-10 | 2016-01-20 | 深圳市威京利电子有限公司 | Output detection system of infrared induction strip and method thereof |
CN105471769A (en) * | 2015-11-17 | 2016-04-06 | 无锡市电子仪表工业有限公司 | Low-power multifunctional EOC communication module |
CN105867261A (en) * | 2016-06-14 | 2016-08-17 | 江南大学 | Intelligent heating seat system |
CN106127962A (en) * | 2016-06-17 | 2016-11-16 | 程子桉 | Intelligent refueling system |
CN106530657A (en) * | 2016-11-15 | 2017-03-22 | 中国矿业大学 | Smart home voice control device and method based on mobile phone client |
CN206088944U (en) * | 2016-09-06 | 2017-04-12 | 诺力机械股份有限公司 | Controlling means suitable for fork truck portal and fork leg |
CN107878467A (en) * | 2017-11-10 | 2018-04-06 | 江西爱驰亿维实业有限公司 | voice broadcast method and system for automobile |
CN107995105A (en) * | 2018-01-03 | 2018-05-04 | 上海传英信息技术有限公司 | A kind of intelligent terminal with blind operation software |
CN108377478A (en) * | 2018-02-06 | 2018-08-07 | 深圳创维汽车智能有限公司 | A kind of service informing method, device, car-mounted terminal and storage medium |
CN208285341U (en) * | 2018-04-03 | 2018-12-25 | 广州十分网络技术有限公司 | Massage armchair networking control system |
CN208476350U (en) * | 2018-05-11 | 2019-02-05 | 湖北民族学院 | A kind of inspection well cover real-time monitoring device and system |
-
2019
- 2019-08-30 CN CN201910816027.0A patent/CN110496013A/en active Pending
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2786709Y (en) * | 2005-04-08 | 2006-06-07 | 徐朝荣 | Auto-induction bar code scanner |
CN201278593Y (en) * | 2008-09-18 | 2009-07-22 | 中兴通讯股份有限公司 | Multi-mode wireless data card |
CN101482754A (en) * | 2009-02-04 | 2009-07-15 | 泰怡凯电器(苏州)有限公司 | Robot restricting system and method |
CN202455342U (en) * | 2011-12-28 | 2012-09-26 | 北京威讯紫晶科技有限公司 | Miniaturized wireless communication module |
CN102547602A (en) * | 2012-02-24 | 2012-07-04 | 海能达通信股份有限公司 | Shoulder microphone and system and method for realizing three-party conversion between public network and private network |
CN103346816A (en) * | 2013-06-28 | 2013-10-09 | 长沙威胜信息技术有限公司 | Wireless communication system and remote updating method thereof |
CN104123941A (en) * | 2014-07-17 | 2014-10-29 | 常州蓝城信息科技有限公司 | Method for using voice recognition to control device |
CN105259587A (en) * | 2015-10-10 | 2016-01-20 | 深圳市威京利电子有限公司 | Output detection system of infrared induction strip and method thereof |
CN105471769A (en) * | 2015-11-17 | 2016-04-06 | 无锡市电子仪表工业有限公司 | Low-power multifunctional EOC communication module |
CN105867261A (en) * | 2016-06-14 | 2016-08-17 | 江南大学 | Intelligent heating seat system |
CN106127962A (en) * | 2016-06-17 | 2016-11-16 | 程子桉 | Intelligent refueling system |
CN206088944U (en) * | 2016-09-06 | 2017-04-12 | 诺力机械股份有限公司 | Controlling means suitable for fork truck portal and fork leg |
CN106530657A (en) * | 2016-11-15 | 2017-03-22 | 中国矿业大学 | Smart home voice control device and method based on mobile phone client |
CN107878467A (en) * | 2017-11-10 | 2018-04-06 | 江西爱驰亿维实业有限公司 | voice broadcast method and system for automobile |
CN107995105A (en) * | 2018-01-03 | 2018-05-04 | 上海传英信息技术有限公司 | A kind of intelligent terminal with blind operation software |
CN108377478A (en) * | 2018-02-06 | 2018-08-07 | 深圳创维汽车智能有限公司 | A kind of service informing method, device, car-mounted terminal and storage medium |
CN208285341U (en) * | 2018-04-03 | 2018-12-25 | 广州十分网络技术有限公司 | Massage armchair networking control system |
CN208476350U (en) * | 2018-05-11 | 2019-02-05 | 湖北民族学院 | A kind of inspection well cover real-time monitoring device and system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112583672A (en) * | 2020-12-18 | 2021-03-30 | 北京睿芯高通量科技有限公司 | TCP server stability testing method based on timestamp |
CN112583672B (en) * | 2020-12-18 | 2023-05-19 | 北京睿芯高通量科技有限公司 | TCP server stability test method based on time stamp |
CN118502993A (en) * | 2024-07-22 | 2024-08-16 | 深圳市西昊智能家具有限公司 | Deployment method of embedded equipment, communication method of distributed plate and seat |
CN118502993B (en) * | 2024-07-22 | 2024-10-22 | 深圳市西昊智能家具有限公司 | Deployment method of embedded equipment, communication method of distributed plate and seat |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN205304843U (en) | Sensor data centralized management router | |
US7507946B2 (en) | Network sensor system and protocol | |
CN201181992Y (en) | Real time humiture monitoring and control device based on mobile terminal | |
CN101577698B (en) | System with external intelligent management server and method for monitoring server and processing commands | |
CN110209639A (en) | Information processing method, apparatus and system | |
CN206442461U (en) | Low-power consumption and quick-response monitoring device | |
CN101833802A (en) | Large real-time wireless networking door control system powered by dry battery | |
CN110677899B (en) | Data transmission method, device, terminal equipment and storage medium | |
CN108541002B (en) | A kind of monitor method of paging message, mobile terminal and server | |
CN107589824A (en) | It is a kind of to reduce the method for only supporting IO to wake up MCU power consumptions | |
WO2019033980A1 (en) | Smart broadcast device | |
CN110496013A (en) | Control device for massage chair and control method | |
CN109982417A (en) | Sensor control method, sensor control, sensor and storage medium | |
WO2017185876A1 (en) | Intelligent wearable device and system for pet animal | |
CN106530465A (en) | Intelligent whole door lock unit with low power consumption and implementing method of intelligent whole door lock unit | |
CN110475321B (en) | Power-saving optimization method and device for wireless local area network (AP) | |
CN105070022A (en) | Meter end device and wireless meter reading system and method | |
CN106991770A (en) | The synchronous low power consumption method of intelligent POS Androids based on dual-CPU architecture | |
CN202331688U (en) | Low-power-consumption wireless door magnetic device | |
CN111355753A (en) | Low-power-consumption wireless visual doorbell awakening scheme | |
CN209746730U (en) | Doorbell and system | |
CN211244387U (en) | Control device of massage chair | |
CN114511953A (en) | Wake-up system, method and device of door lock, electronic equipment and storage medium | |
CN204496590U (en) | A kind of smart electronics lock control system | |
CN210323808U (en) | Power utilization control device for guest room |
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 |