CN113616469A - Control method and device of massage equipment, computer equipment and storage medium - Google Patents

Control method and device of massage equipment, computer equipment and storage medium Download PDF

Info

Publication number
CN113616469A
CN113616469A CN202010380239.1A CN202010380239A CN113616469A CN 113616469 A CN113616469 A CN 113616469A CN 202010380239 A CN202010380239 A CN 202010380239A CN 113616469 A CN113616469 A CN 113616469A
Authority
CN
China
Prior art keywords
massage
equipment
massage device
master
slave
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.)
Granted
Application number
CN202010380239.1A
Other languages
Chinese (zh)
Other versions
CN113616469B (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.)
SKG Health Technologies Co Ltd.
Original Assignee
SKG Health Technologies Co Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SKG Health Technologies Co Ltd. filed Critical SKG Health Technologies Co Ltd.
Priority to CN202010380239.1A priority Critical patent/CN113616469B/en
Publication of CN113616469A publication Critical patent/CN113616469A/en
Application granted granted Critical
Publication of CN113616469B publication Critical patent/CN113616469B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61HPHYSICAL 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/00Apparatus for passive exercising; Vibrating apparatus; Chiropractic devices, e.g. body impacting devices, external devices for briefly extending or aligning unbroken bones
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61HPHYSICAL 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/00Characteristics of apparatus not provided for in the preceding codes
    • A61H2201/50Control means thereof
    • A61H2201/5002Means for controlling a set of similar massage devices acting in sequence at different locations on a patient
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61HPHYSICAL 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/00Characteristics of apparatus not provided for in the preceding codes
    • A61H2201/50Control means thereof
    • A61H2201/5007Control means thereof computer controlled

Landscapes

  • Health & Medical Sciences (AREA)
  • Epidemiology (AREA)
  • Pain & Pain Management (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Rehabilitation Therapy (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Massaging Devices (AREA)

Abstract

The application relates to a control method and a control device of massage equipment, computer equipment and a storage medium, wherein a first massage equipment is in a range which can be covered by a signal of the first massage equipment, and if a second massage equipment is detected, a main massage equipment with authority for controlling the slave massage equipment to perform data processing is determined from the first massage equipment and the second massage equipment. In the method, the master massage equipment can perform data processing control on other slave massage equipment, so that the control among the massage equipment is realized, and the control efficiency of the massage equipment is improved.

Description

Control method and device of massage equipment, computer equipment and storage medium
Technical Field
The present application relates to the field of massage technologies, and in particular, to a method and an apparatus for controlling a massage device, a computer device, and a storage medium.
Background
With the pace of life increasing, the pressure of life and work is increasing, and the occupational diseases of workers in various industries are serious, for example, a driver who often drives a car or a long-sitting office worker is easy to suffer from cervical spondylosis, lumbar spondylosis, scapulohumeral periarthritis, sciatica and other diseases.
In order to alleviate various discomfort caused to the body by work, a massage mode is usually selected. At present, the massage mode comprises manual massage or massage by using massage equipment, but the manual massage can not be used for massage at any time and any place, and has certain inconvenience, so the use of the massage equipment becomes the choice of more people. And with the increasing variety of massage equipment, can use the massage equipment of multiple independent different functions to massage simultaneously when massaging.
However, when a user uses a plurality of independent massage apparatuses, each massage apparatus needs to be controlled separately, resulting in inefficient control of the massage apparatuses.
Disclosure of Invention
In view of the above, it is necessary to provide a control method, an apparatus, a computer device and a storage medium for a massage device, which can realize interconnection and control between massage devices and improve the control efficiency of the massage device.
In a first aspect, an embodiment of the present application provides a control method for a massage apparatus, where the method includes:
the first massage equipment detects whether second massage equipment exists in a target range; the target range represents a range that can be covered by the signal of the first massage apparatus;
if the second massage equipment exists in the target range, the first massage equipment determines a main massage equipment and a slave massage equipment from the first massage equipment and the second massage equipment;
wherein the master massage device has the authority to control the slave massage device to perform data processing.
In one embodiment, the first massage device determines a master massage device and a slave massage device from the first massage device and the second massage device, and includes:
the first massage equipment is connected with the second massage equipment;
the first massage equipment sends a master-slave setting request to the second massage equipment; the master-slave setting request is used for determining master massage equipment and slave massage equipment;
the first massage device receives a confirmation response returned by the second massage device, and the confirmation response represents that the main massage device and the slave massage device are successfully set.
In one embodiment, if the master massage device is a first master massage device, the slave massage device is a second massage device; alternatively, the first and second electrodes may be,
the master massage device is the second massage device, and the slave massage device is the first master massage device.
In one embodiment, if there are a plurality of second massage devices; the first massage equipment sends a master-slave setting request to a plurality of second massage equipment respectively;
the master massage apparatus is any one of the first massage apparatus and the plurality of second massage apparatuses, and the slave massage apparatuses are the rest massage apparatuses except for the master massage apparatus.
In one embodiment, the connection between the first massage device and the second massage device includes:
the first massage equipment sends a connection request to the second massage equipment;
the first massage equipment receives the response sent by the second massage equipment; the response indicates that the first massage device was successfully connected to the second massage device.
In one embodiment, the first massage device detecting whether or not a second massage device is present within the target range includes:
the first massage equipment sends equipment type detection signals in a target range according to a preset period; the equipment type detection signal is used for detecting the type of each equipment in the target range;
and if the first massage equipment receives the confirmation signal with the type identifier as the massage equipment, the first massage equipment determines that the second massage equipment exists in the target range.
In one embodiment, if there are a plurality of second massage devices in the target area; the first massage device sends connection requests to a plurality of second massage devices respectively;
accordingly, the response received by the first massage device is sent separately for each of the plurality of second massage devices.
In one embodiment, the method further comprises: the master massage equipment sends a control instruction carrying target processing operation to the slave massage equipment; the control instructions are for instructing the slave massage apparatus to perform a target treatment operation.
In one embodiment, the target processing operation includes at least one of schedule reminding, data storage, fault reminding and massage mode setting.
In a second aspect, an embodiment of the present application provides a control device for a massage apparatus, including:
the massage equipment detection module is used for detecting whether second massage equipment exists in the target range; the target range represents a range that can be covered by the signal of the first massage device;
the master-slave setting module is used for determining one master massage device and one slave massage device from the first massage device and the second massage device if the second massage device exists in the target range; wherein the master massage device has the authority to control the slave massage device to perform data processing.
In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the steps of any one of the methods provided in the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present application is a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the embodiments provided in the first aspect.
The embodiment of the application provides a control method and device of massage equipment, computer equipment and a storage medium, wherein if a first massage equipment detects a second massage equipment in a range which can be covered by a signal of the first massage equipment, a main massage equipment with authority for controlling the slave massage equipment to perform data processing is determined from the first massage equipment and the second massage equipment. According to the method, the main massage equipment is selected from the plurality of massage equipment, the other massage equipment is used as the slave massage equipment, the main massage equipment can perform data processing control on the other slave massage equipment, control among the massage equipment is achieved, and control efficiency of the massage equipment is improved.
Drawings
Fig. 1 is an application environment diagram of a control method of a massage apparatus in one embodiment;
FIG. 1a is a schematic view of the internal structure of a massage apparatus in one embodiment;
fig. 2 is a schematic flow chart of a control method of a massage apparatus according to an embodiment;
fig. 3 is a schematic flow chart of a control method of a massage apparatus in another embodiment;
fig. 4 is a schematic flow chart of a control method of a massage apparatus in another embodiment;
fig. 5 is a schematic flow chart of a control method of a massage apparatus in another embodiment;
fig. 6 is a flowchart of a control method of a massage apparatus in one embodiment;
fig. 7 is a block diagram showing the configuration of an initial massage mode determining means in one embodiment;
fig. 8 is a block diagram showing the configuration of an initial massage mode determining means in one embodiment;
FIG. 9 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, an application environment of a control method for a massage apparatus is provided in an embodiment of the present application, where the application environment includes at least two massage apparatuses: the first massage device 01 and the second massage device 02 may be the same massage device or different massage devices, which is not limited in the embodiments of the present application. After being connected, the massage devices can communicate with each other, and the massage devices can be wearable massage instruments, such as wearable neck massage instruments, wearable eye massage instruments or wearable waist massage instruments; the massage device can also be a massage chair, a massage bed, a standing type massage machine and the like, and the embodiment of the application does not limit the specific type of the massage device. As shown in fig. 1a, the massage device internally includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor is configured to provide computing and control capabilities. The memory comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database is used for storing data of a control method of the massage device. The network interface is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a control method of a massage apparatus. It is to be understood that the massage device configuration shown in fig. 1a is exemplary only and not intended to be limiting.
The control method and device, the computer equipment and the storage medium for the massage equipment can achieve interconnection and control of the massage equipment and improve control efficiency of the massage equipment. The following will specifically describe the technical solutions of the present application and how to solve the above technical problems by embodiments with reference to the accompanying drawings. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. It should be noted that, in the control method of a massage apparatus provided in the present application, the execution main body in fig. 2 to 6 is a massage apparatus, wherein the execution main body in fig. 2 to 6 may also be a control device of a massage apparatus, and the device may be implemented as part or all of a massage apparatus by software, hardware, or a combination of software and hardware.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.
In one embodiment, fig. 2 provides a control method of a massage apparatus, and this embodiment relates to a specific process of determining a master massage apparatus having control over a slave massage apparatus if a second massage apparatus exists within a target range around a first massage apparatus, as shown in fig. 2, the method includes:
s101, detecting whether a second massage device exists in a target range by a first massage device; the target range represents a range that can be covered by the signal of the first massage device.
In practical applications, there are cases where a user performs a massage operation simultaneously using a plurality of massage apparatuses, and then any one of the plurality of massage apparatuses may be the first massage apparatus in the present embodiment, and then the other massage apparatuses except the first massage apparatus may be referred to as the second massage apparatus. And since these massage apparatuses may be the same massage apparatus, for example, the user uses two leg massage apparatuses to massage two legs simultaneously, in the embodiment of the present application, the first massage apparatus and the second massage apparatus may be the same massage apparatus or different massage apparatuses. It is to be understood, by contrast, that the second massage device merely refers to a massage device which is not the same massage device as the first massage device, but the type of the second massage device is not limited.
The first massage device and the second massage device may be wearable massagers, such as wearable neck massagers, wearable eye massagers, wearable waist massagers, or massage chairs, massage beds, standing massage machines, and the like, which is not limited in this embodiment. Wherein, can set up bluetooth module, WIFI module, infrared module in every massage equipment, for example, infrared receiver, infrared transmitter etc. have the module of connection function, to every massage equipment then, the position that its signal can reach forms this signal coverage according to equipment of rubbing, be the target scope promptly.
Illustratively, the first massage device detects whether a second massage device is present within the target range, where it is understood that the first massage device is able to detect the second massage device on the premise that the second massage device is in an on or operating state. Taking the infrared module as an example, the first massage device detects whether the second massage device exists in the range which can be covered by the infrared signal of the first massage device by emitting the infrared signal.
S102, if a second massage device exists in the target range, the first massage device determines a main massage device and a slave massage device from the first massage device and the second massage device; wherein the master massage device has the authority to control the slave massage device to perform data processing.
If the second massage device is detected within the target range, one or more second massage devices may be detected, and more than two massage devices exist in the current environment, one master massage device may be selected from the two massage devices, and the rest of the massage devices except the master massage device are all slave massage devices. Wherein the master massage device has the right to control the slave massage device for data processing, i.e. the master massage device can control the slave massage device.
Optionally, the master massage device sends a control instruction carrying the target processing operation to the slave massage device; the control instructions are for instructing the slave massage apparatus to perform a target treatment operation. Optionally, the target processing operation includes at least one of schedule reminder, data storage, trouble reminder, setting massage mode.
Wherein the master massage device can control and read the data of the slave massage devices. For example, when the neck massager is the master massage apparatus and the massage chair is the slave massage apparatus, the neck massager may send control information to the massage chair, and the massage chair may perform a task according to the received control information. For another example, the master massage device controls the slave massage device to perform schedule reminding, and specifically, the master massage device may transmit schedule reminding detailed information to be performed to the slave massage device, and instruct the slave massage device to perform schedule reminding according to the schedule reminding detailed information. Also for example, the master massage apparatus may instruct the slave massage apparatus to switch the current massage mode to the target massage mode, switch the massage temperature in the current massage mode, instruct the master massage apparatus to collect status data from the slave massage apparatus, and the like, which is not limited by the present embodiment. It will be appreciated that when the master massage device controls the slave massage devices, the master massage device has both a control function and a massage function.
It should be noted that each massage apparatus is qualified as a master massage apparatus, and after the master massage apparatus and the slave massage apparatuses are selected in one stage, the master massage apparatus and the slave massage apparatuses may be newly determined in the next stage, which is not limited in this embodiment.
In the prior art, communication and control among all parts in the massage device are generally carried out, or a proprietary control device is used for controlling the massage device, so that the defect of low control efficiency of the massage device when a user uses a plurality of massage devices simultaneously is caused. According to the method, the main massage equipment is selected from the plurality of massage equipment, the other massage equipment is used as the slave massage equipment, the main massage equipment can perform data processing control on the other slave massage equipment, control among the massage equipment is achieved, and control efficiency of the massage equipment is improved.
In the following, a detailed description will be made of a specific process of the first massage device determining the master massage device and the slave massage device from the first massage device and the second massage device, as shown in fig. 3, in one embodiment, the step S102 includes:
s201, the first massage device is connected with the second massage device.
The first massage device determines a master massage device and a slave massage device, and it is then necessary that the first massage device and the second massage device can communicate, provided that the two massage devices need to establish a connection.
The first massage device and the second massage device may be connected through the connection request initiated by the first massage device actively, or through the connection request initiated by the second massage device actively. Optionally, as shown in fig. 4, taking the first massage device to actively initiate the connection request as an example, to provide an embodiment for explanation, the step S201 includes:
s301, the first massage device sends a connection request to the second massage device.
If the second massage device is detected in the target range, the first massage device sends a connection request to the second massage device, for example, the connection request is sent through bluetooth, near field communication, wifi or mobile communication signals.
For example, a pair of verification codes can be predefined, and when two massage devices are connected, only the pair of verification codes are correspondingly connected, so that the safety of the massage devices can be ensured. The connection request sent by the first massage device can carry an identification code, the identification code has a unique corresponding identification signal code, and when the identification code carried in the connection request sent by the first massage device corresponds to the identification signal code of the second massage device, the first massage device can be connected with the second massage device.
The identification code and the identification signal code may be numbers, letters, or a combination thereof, which is not limited in this embodiment. Wherein, the identification code and the identification signal code can not be the same. In practical application, the corresponding relationship between the identification signal code and the identification code may be set and stored in the massage device when the massage device leaves the factory.
For the first massage device, the identification code of the second massage device may be requested from the second massage device during the detection process, or may be pre-stored and then directly sent to the second massage device after the second massage device is detected, which is not specifically limited in this embodiment.
S302, the first massage equipment receives a response sent by the second massage equipment; the response indicates that the first massage device was successfully connected to the second massage device.
After the first massage device sends the connection request to the second massage device, if the first massage device receives a response returned by the second massage device, the connection between the first massage device and the second massage device is successful, and after the connection is successful, the first massage device and the second massage device can perform data interaction.
Of course, if there are a plurality of second massage devices in the above-mentioned target range; the first massage apparatus sends connection requests to the plurality of second massage apparatuses, respectively; accordingly, the response received by the first massage device is sent separately for each of the plurality of second massage devices.
In this embodiment, the first massage device actively sends a connection request to the second massage device, and the security verification is performed through the verification code, so that the reliability of the connection between the first massage device and the second massage device is ensured.
S202, the first massage equipment sends a master-slave setting request to the second massage equipment; the master-slave setup request is used to determine the master and slave massage apparatuses.
After the first massage device and the second massage device are successfully connected, the first massage device and the second massage device can normally communicate, and the first massage device executes the process of determining the master massage device and the slave massage device.
Specifically, the first massage device sends a master-slave setting request to the second massage device, where the master-slave setting request is used to set the master massage device and the slave massage device, and the master-slave setting request needs to carry contents for specifically setting the second massage device as the master or the slave massage device, for example, the master-slave setting request may carry a "request to set the second massage device as the slave massage device, where the first massage device is the master massage device", and the second massage device parses the contents after receiving the master-slave setting request, and if the second massage device is confirmed to be correct, a confirmation response may be returned to the first massage device.
The second massage equipment confirms whether the content in the master-slave setting request can pass through the verification of whether the first massage equipment sending the active setting request has the authority of controlling the second massage equipment, and if so, the second massage equipment replies a confirmation response to the first massage equipment.
It can be understood that, since the first massage device and the second massage device are not a specific massage device, it can be understood that, when setting up the master massage device and the slave massage device in the present application, any massage device can send a master-slave setting request to other massage devices after establishing a connection with other massage devices, so as to determine the master massage device and the slave massage device from the plurality of massage devices.
S203, the first massage device receives a confirmation response returned by the second massage device, and the confirmation response represents that the setting of the master massage device and the slave massage device is successful.
And after the first massage equipment receives the confirmation response returned by the second massage equipment, the first massage equipment determines that the setting of the main massage equipment and the slave massage equipment is successful.
In one embodiment, the master and slave massage devices provided may be: the master massage device is a first master massage device, and the slave massage device is a second massage device; or the main massage equipment is the second massage equipment, and the auxiliary massage equipment is the first main massage equipment. For a scenario where there are more than two massage apparatuses, that is, if the second massage apparatus in the above embodiment includes a plurality of massage apparatuses, the set master massage apparatus and slave massage apparatus may be: the main massage device is any one of the first massage device and the plurality of second massage devices, and the auxiliary massage devices are the rest massage devices except the main massage device. The rest massage devices are slave massage devices, which means that any one of the rest massage devices except the massage device determined as the master massage device is a slave massage device, namely only one of the master massage device exists, and the rest massage devices are slave massage devices; for example, if the massage device 3 is the master massage device among the massage devices 1, 2, 3, and 4, the massage devices 1, 2, and 4 other than the massage device 3 are all slave massage devices. Of course, if the second massage device includes a plurality of massage devices (i.e., more than two massage devices), the first massage device needs to simultaneously send the master-slave setting request to the plurality of massage devices when sending the master-slave setting request, so as to ensure that each massage device knows the setting results of the master massage device and the slave massage devices.
In this embodiment, after the connection is established between the first massage apparatus and the second massage apparatus, the first massage apparatus sends a master-slave setting request to the second massage apparatus, the master massage apparatus and the slave massage apparatus are set, and only one master massage apparatus is set at each time, and the other massage apparatuses except the master massage apparatus are slave massage apparatuses.
In the above embodiment, when the first massage apparatus detects whether the second massage apparatus is present in the detection target range, the detection may be performed by detecting an apparatus type, specifically, as shown in fig. 5, in an embodiment, the step S101 includes:
s401, the first massage equipment sends equipment type detection signals in a target range according to a preset period; the device type detection signal is used to detect the type of each device within the target range.
The device type detection signal is a signal for detecting the type of each device in a target range, where the target range refers to a range that can be covered by the signal of the first massage device, for example, a bluetooth signal, a wifi signal, an infrared signal, and the like.
The first massage equipment polls and sends equipment type detection signals in a target range according to a preset period, the equipment type detection signals can reach the position of each piece of equipment in the target range, the equipment type detection signals can be identified by the massage equipment and can also be identified by non-massage equipment during actual application, after each piece of equipment receives the equipment type detection signals, own equipment type identification is sent to the first massage equipment, and the first massage equipment can determine whether second massage equipment exists in the target range according to the equipment type identification.
Of course, the device type detection signal may also be masked so that only the massage device can be identified and the non-massage device cannot be identified, so that the first massage device may receive a returned confirmation signal if the massage device is present in the target range, or else, the first massage device may determine that the second massage device is not present in the target range if the first massage device does not receive the confirmation signal.
S402, if the first massage equipment receives the confirmation signal with the type identification as the massage equipment, the first massage equipment determines that the second massage equipment exists in the target range.
If the first massage equipment receives the confirmation signal and the confirmation signal carries the type identification of the massage equipment, the first massage equipment determines that the second massage equipment exists in the target range.
In the embodiment, whether the second massage equipment exists or not is detected in the target range through the equipment type detection signal, and the accuracy of detecting the second massage equipment is effectively guaranteed.
Referring to fig. 6, the present application further provides a control method of a massage apparatus, the embodiment includes:
s1, the first massage equipment sends equipment type detection signals in a target range according to a preset period;
s2, if the first massage equipment receives the confirmation signal with the type identification as the massage equipment, determining that the second massage equipment exists in the target range;
s3, the first massage device sends a connection request to the second massage device;
s4, the first massage equipment receives the response sent by the second massage equipment;
s5, the first massage device sends a master-slave setting request to the second massage device;
s6, the first massage device receives a confirmation response returned by the second massage device; the confirmation response indicates that the main massage equipment and the auxiliary massage equipment are successfully set;
s7, the master massage device sends a control instruction carrying the target treatment operation to the slave massage device instructing the slave massage device to perform the target treatment operation.
The implementation principle and technical effect of the steps in the control method of the massage device provided by the above embodiment are similar to those in the previous embodiments of the control method of the massage device, and are not described again here. The implementation manner of each step in the embodiment of fig. 6 is only an example, and is not limited to this, and the order of each step may be adjusted in practical application as long as the purpose of each step can be achieved.
It should be understood that although the various steps in the flow charts of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple steps or phases, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps or phases.
In one embodiment, as shown in fig. 7, there is provided a control apparatus of a massage device, the apparatus including: massage device detection module 10, principal and subordinate set up module 11, wherein:
a massage device detecting module 10, configured to detect whether a second massage device exists within a target range; the target range represents a range that can be covered by the signal of the first massage apparatus;
the master-slave setting module 11 is used for determining one master massage device and one slave massage device from the first massage device and the second massage device if the second massage device exists in the target range; wherein, the main massage device has the authority of controlling the slave massage device to process data.
In one embodiment, as shown in fig. 8, the master-slave setting module 11 includes:
a connection establishing unit 111 for establishing connection with the second massage apparatus;
a node setting request unit 112 for sending a master-slave setting request to the second massage apparatus; the master-slave setting request is used for determining master massage equipment and slave massage equipment;
and a receiving unit 113, configured to receive a confirmation response returned by the second massage apparatus, where the confirmation response indicates that the setting of the master massage apparatus and the slave massage apparatus is successful.
In one embodiment, if the master massage device is a first master massage device, the slave massage device is a second massage device; or the main massage equipment is the second massage equipment, and the auxiliary massage equipment is the first main massage equipment.
In one embodiment, if there are a plurality of second massage devices; the first massage equipment sends a master-slave setting request to a plurality of second massage equipment respectively; the master massage apparatus is any one of the first massage apparatus and the plurality of second massage apparatuses, and the slave massage apparatuses are the rest massage apparatuses except for the master massage apparatus.
In one embodiment, the connection establishing unit includes:
a connection request sending subunit, configured to send a connection request to the second massage apparatus;
the receiving subunit is used for receiving the response sent by the second massage equipment; the response indicates that the first massage device was successfully connected to the second massage device.
In one embodiment, the massage device detecting module 10 includes:
the detection signal sending unit is used for sending the equipment type detection signal in the target range according to a preset period; the equipment type detection signal is used for detecting the type of each equipment in the target range;
and the confirming unit is used for confirming that the second massage equipment exists in the target range if the first massage equipment receives the confirmation signal with the type identification of the massage equipment.
In one embodiment, if there are a plurality of second massage devices in the target area; the first massage device sends connection requests to a plurality of second massage devices respectively;
accordingly, the response received by the first massage device is sent separately for each of the plurality of second massage devices.
In one embodiment, the apparatus further comprises a control module for sending control instructions carrying the target treatment operation to the slave massage device; the control instructions are for instructing the slave massage apparatus to perform a target treatment operation.
In one embodiment, the target processing operation includes at least one of schedule reminding, data storage, fault reminding and massage mode setting.
The implementation principle and technical effect of the control device for all massage apparatuses provided by the above embodiments are similar to those of the control method embodiment for the massage apparatuses, and are not described herein again.
For specific limitations of the control device of the massage apparatus, reference may be made to the above limitations of the control method of the massage apparatus, which are not described herein again. The modules in the control device of the massage equipment can be completely or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, or can be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a control method of a massage apparatus. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
detecting whether a second massage device exists in the target range; the target range represents a range that can be covered by the signal of the first massage apparatus;
if the second massage equipment exists in the target range, sending a connection request to the second massage equipment;
receiving a response sent by the second massage equipment; the response indicates that the first massage device was successfully connected to the second massage device.
The implementation principle and technical effect of the computer device provided by the above embodiment are similar to those of the above method embodiment, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, performs the steps of:
detecting whether a second massage device exists in the target range; the target range represents a range that can be covered by the signal of the first massage apparatus;
if the second massage equipment exists in the target range, sending a connection request to the second massage equipment;
receiving a response sent by the second massage equipment; the response indicates that the first massage device was successfully connected to the second massage device.
The implementation principle and technical effect of the computer-readable storage medium provided by the above embodiments are similar to those of the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), for example.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.

Claims (12)

1. A control method of a massage apparatus, characterized in that the method comprises:
the first massage equipment detects whether second massage equipment exists in a target range; the target range represents a range that can be covered by a signal of the first massage apparatus;
if a second massage device exists in the target range, the first massage device determines a main massage device and a slave massage device from the first massage device and the second massage device;
wherein the master massage device has the authority to control the slave massage device to perform data processing.
2. The method of claim 1, wherein the first massage device determines a master massage device and a slave massage device from the first massage device and the second massage device, comprising:
the first massage equipment is connected with the second massage equipment;
the first massage equipment sends a master-slave setting request to the second massage equipment; the master-slave setting request is used for determining the master massage equipment and the slave massage equipment;
and the first massage equipment receives a confirmation response returned by the second massage equipment, wherein the confirmation response represents that the main massage equipment and the auxiliary massage equipment are successfully set.
3. The method of claim 2, wherein the master massage device is a first master massage device and the slave massage device is the second massage device; alternatively, the first and second electrodes may be,
the master massage device is a second massage device, and the slave massage device is the first master massage device.
4. The method of claim 3, wherein if there are a plurality of second massage devices; the first massage device sends the master-slave setting request to the plurality of second massage devices respectively;
the master massage apparatus is any one of the first massage apparatus and the plurality of second massage apparatuses, and the slave massage apparatuses are the rest massage apparatuses except for the master massage apparatus.
5. The method of any of claims 2-4, wherein establishing the connection between the first massage device and the second massage device comprises:
the first massage device sends a connection request to the second massage device;
the first massage equipment receives the response sent by the second massage equipment; the response indicates that the first massage device is successfully connected to the second massage device.
6. The method of any of claims 1-4, wherein the first massage device detecting the presence of a second massage device within a target range comprises:
the first massage equipment sends equipment type detection signals in the target range according to a preset period; the device type detection signal is used for detecting the type of each device in the target range;
and if the first massage equipment receives a confirmation signal carrying the type identifier as the massage equipment, the first massage equipment determines that the second massage equipment exists in the target range.
7. The method of claim 6, wherein if there are a plurality of second massage devices in the target area; the first massage apparatus sends the connection requests to the plurality of second massage apparatuses, respectively;
accordingly, the response received by the first massage apparatus is transmitted separately for each of the plurality of second massage apparatuses.
8. The method according to any one of claims 1-4, further comprising:
the master massage equipment sends a control instruction carrying target processing operation to the slave massage equipment; the control instructions are for instructing the slave massage apparatus to perform the target treatment operation.
9. The method of claim 8, wherein the target processing operation comprises at least one of a schedule reminder, a data store, a fault reminder, and setting a massage mode.
10. A control device for a massage apparatus, characterized in that the device comprises:
the massage equipment detection module is used for detecting whether second massage equipment exists in the target range; the target range represents a range that can be covered by a signal of the first massage apparatus;
the master-slave setting module is used for determining one master massage device and one slave massage device from the first massage device and the second massage device if the second massage device exists in the target range; wherein the master massage device has the authority to control the slave massage device to perform data processing.
11. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 9 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 9.
CN202010380239.1A 2020-05-08 2020-05-08 Control method and device of massage equipment, computer equipment and storage medium Active CN113616469B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010380239.1A CN113616469B (en) 2020-05-08 2020-05-08 Control method and device of massage equipment, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010380239.1A CN113616469B (en) 2020-05-08 2020-05-08 Control method and device of massage equipment, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113616469A true CN113616469A (en) 2021-11-09
CN113616469B CN113616469B (en) 2024-02-27

Family

ID=78377031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010380239.1A Active CN113616469B (en) 2020-05-08 2020-05-08 Control method and device of massage equipment, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113616469B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114469665A (en) * 2021-12-21 2022-05-13 南京博联智能科技有限公司 Method and system for synchronous control of connectionless multiple intelligent massage devices

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130607A (en) * 2016-06-27 2016-11-16 联想(北京)有限公司 A kind of control method and electronic equipment
CN106899656A (en) * 2017-01-03 2017-06-27 珠海格力电器股份有限公司 Apparatus control method and device
CN107276180A (en) * 2017-08-04 2017-10-20 上海青橙实业有限公司 Charge control method, equipment, system and user equipment
CN108990107A (en) * 2017-06-02 2018-12-11 华为技术有限公司 Data transmission method and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130607A (en) * 2016-06-27 2016-11-16 联想(北京)有限公司 A kind of control method and electronic equipment
CN106899656A (en) * 2017-01-03 2017-06-27 珠海格力电器股份有限公司 Apparatus control method and device
CN108990107A (en) * 2017-06-02 2018-12-11 华为技术有限公司 Data transmission method and equipment
CN107276180A (en) * 2017-08-04 2017-10-20 上海青橙实业有限公司 Charge control method, equipment, system and user equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114469665A (en) * 2021-12-21 2022-05-13 南京博联智能科技有限公司 Method and system for synchronous control of connectionless multiple intelligent massage devices

Also Published As

Publication number Publication date
CN113616469B (en) 2024-02-27

Similar Documents

Publication Publication Date Title
US20180084072A1 (en) Control method for communication terminal connectable to wearable terminal via network
JP2019003557A (en) Information processing device, information processing system, information processing method, and information processing program
EP2795882A1 (en) Method and apparatus for selectively activating multiple subscriber identity modules
CN113616469A (en) Control method and device of massage equipment, computer equipment and storage medium
WO2015028446A1 (en) System and method for pairing devices
CN108446038A (en) Information processing system
CN113940037A (en) Resource subscription method and device, computer equipment and storage medium
CN114681734A (en) Medical equipment control system and method
JP2013065207A (en) Portable communication system, portable communication terminal and server
KR20130060072A (en) Terminal apparatus for providing tethering and operating method thereof
CN112292845A (en) Information processing apparatus, information processing method, and program
EP3029960A1 (en) Resource control apparatus, server apparatus and method for controlling a resource
CN111935698A (en) Network access method, device, terminal and storage medium
CN113727816A (en) Robot system, program, robot controller, operation terminal, and robot control method
CN106878467A (en) The method and tele-control system of remote control equipment
KR101628865B1 (en) System For Protecting Bluetooth Decive To be Lost And Stolen
JP6177368B1 (en) Visiting service support device, visiting service support system, visiting service support method, and visiting service support program
CN105653972B (en) The method, apparatus and mobile terminal of storage file between multiple domain
JP2019115377A (en) Portable information terminal, sensor, biological information management method, biological information processing program, and computer-readable storage medium
CN117094001A (en) Method and device for reminding notification message
JP5898512B2 (en) Nurse call system
CN113438266A (en) Method, device, equipment and storage medium for acquiring data of wearable massage instrument
CN113616503A (en) Massage instrument control system, method and device, wearable device and storage medium
JP2019096981A (en) Gateway and apparatus setting system
CN113438261A (en) Connection method and device of wearable massage instrument, computer equipment and storage medium

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