CN113616469B - 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
CN113616469B
CN113616469B CN202010380239.1A CN202010380239A CN113616469B CN 113616469 B CN113616469 B CN 113616469B CN 202010380239 A CN202010380239 A CN 202010380239A CN 113616469 B CN113616469 B CN 113616469B
Authority
CN
China
Prior art keywords
massage device
massage
master
slave
devices
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010380239.1A
Other languages
Chinese (zh)
Other versions
CN113616469A (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

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, a control device, a computer device and a storage medium of a massage device, wherein a first massage device determines a right main massage device with data processing control function from a first massage device and a second massage device if the second massage device is detected within a range which can be covered by a signal of the first massage device. In the method, the master massage device can perform data processing control on other slave massage devices, so that the control among the massage devices is realized, and the control efficiency of the massage devices is improved.

Description

Control method and device of massage equipment, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of massage technologies, and in particular, to a method and apparatus for controlling a massage device, a computer device, and a storage medium.
Background
With the increase of the life rhythm, the life and working pressures are gradually increased, and the occupational diseases of staff in various industries are serious, for example, drivers who frequently drive or office workers who sit for a long time are liable to suffer from cervical spondylosis, lumbar spondylosis, scapulohumeral periarthritis, sciatica and other diseases.
In order to alleviate various discomfort to the body caused by work, a massage mode is generally selected. At present, the massage mode comprises manual massage or massage by using a massage device, but the manual massage cannot be performed anytime and anywhere, and certain inconvenience exists, so that the use of the massage device becomes a choice for more people. And along with the increasing variety of massage devices, a plurality of independent massage devices with different functions can be simultaneously used for massage during massage.
However, when using a plurality of independent massage apparatuses, the user needs to control each massage apparatus separately, resulting in low control efficiency of the massage apparatus.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a control method, apparatus, computer device, and storage medium for a massage device that can achieve interconnection and control between massage devices, and improve the control efficiency of the massage device.
In a first aspect, embodiments of the present application provide a method for controlling a massage apparatus, the method including:
the first massage device detects whether a second massage device exists in the target range; the target range represents a range that the signal of the first massaging device can cover;
if the 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 right 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 device establishes a connection with the second massage device;
the first massage device sends a master-slave setting request to the second massage device; the master-slave setting request is used for determining a master massage device and a slave massage device;
the first massage device receives a confirmation response returned by the second massage device, the confirmation response indicating that the master massage device and the slave massage device were 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; or,
the master massage device is a second massage device and the slave massage device is a first master massage device.
In one embodiment, if there are a plurality of second massaging devices; the first massage device sends a master-slave setting request to a plurality of second massage devices respectively;
the master massage device is any one of the first massage device and the plurality of second massage devices, and the slave massage devices are the rest of the massage devices except the master massage device.
In one embodiment, the first massage device establishes a connection with a second massage device, including:
the first massage device sends a connection request to the second massage device;
the first massage device receives a response sent by the second massage device; the response indicates that the first massaging device is successfully connected with the second massaging device.
In one embodiment, the first massaging device detecting whether the second massaging device exists in the target range includes:
the first massage device sends a device type detection signal 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;
if the first massage device receives a confirmation signal with the type of the carried identification being the massage device, the first massage device determines that the second massage device exists in the target range.
In one embodiment, if there are multiple second massaging devices within the target range; 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 transmitted separately for each of the plurality of second massage devices.
In one embodiment, the method further comprises: the main massage device sends a control instruction carrying a target processing operation to the auxiliary massage device; the control instructions are for instructing the slave massage device to perform a target processing operation.
In one embodiment, the target processing operation includes at least one of a schedule reminder, a data store, a fault reminder, and setting a massage mode.
In a second aspect, embodiments of the present application provide a control device for a massage apparatus, the device including:
the massage equipment detection module is used for detecting whether a second massage equipment exists in the target range; the target range represents a range within which the signal of the first massaging device can cover;
the master-slave setting module is used for determining a master massage device and a 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 right to control the slave massage device to perform data processing.
In a third aspect, embodiments of the present application provide a computer device comprising a memory storing a computer program and a processor implementing the steps of any of the embodiments provided in the first aspect above when the computer program is executed by the processor.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of any of the methods of the embodiments provided in the first aspect above.
The embodiment of the application provides a control method, a control device, a computer device and a storage medium of a massage device, wherein if a first massage device detects a second massage device in a range which can be covered by a signal of the first massage device, a right main massage device with data processing control function for a slave massage device is determined from the first massage device and the second massage device. In the method, the main massage equipment is selected from the plurality of massage equipment, other massage equipment is used as the auxiliary massage equipment, and the main massage equipment can perform data processing control on the other auxiliary massage equipment, so that the control among the massage equipment is realized, and the 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 showing an internal structure of a massage apparatus in one embodiment;
fig. 2 is a flow chart of a method for controlling a massage apparatus according to an embodiment;
fig. 3 is a flowchart of a control method of the massage apparatus according to another embodiment;
fig. 4 is a flowchart of a control method of the massage apparatus according to another embodiment;
fig. 5 is a flowchart of a control method of the massage apparatus according to another embodiment;
fig. 6 is a flowchart of a control method of the massage apparatus in one embodiment;
FIG. 7 is a block diagram showing the construction of an initial massage pattern determining apparatus in one embodiment;
FIG. 8 is a block diagram showing the construction of an initial massage pattern determining apparatus in one embodiment;
fig. 9 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
Referring to fig. 1, an embodiment of the present application provides an application environment of a control method of a massaging device, where the application environment includes at least two massaging devices: 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 embodiment of the present application. The massage devices can be connected and communicated, and can be wearable massage devices, such as a wearable neck massage device, a wearable eye massage device or a wearable waist massage device; the massage device may also be a massage chair, a massage bed, a standing-type massage machine, etc., and the specific type of the massage device is not limited in the embodiments of the present application. As shown in fig. 1a, the interior of the massage device comprises 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 includes a non-volatile storage medium and an internal memory. The nonvolatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. 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 the processor for implementing a method of controlling a massage device. It will be appreciated that the massaging device configuration shown in fig. 1a is only an example and is not intended to be limiting.
According to the control method, the device, the computer equipment and the storage medium for the massage equipment, interconnection and control between the massage equipment can be achieved, and the control efficiency of the massage equipment is improved. The following will specifically describe the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems by means of examples and with reference to the accompanying drawings. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. It should be noted that, in the control method of the massage device provided in the present application, the execution body in fig. 2 to 6 is a massage device, where the execution body in fig. 2 to 6 may also be a control device of the massage device, where the device may be implemented as part or all of the massage device by software, hardware, or a combination of software and hardware.
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of 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 apparent that the described embodiments are some embodiments of the present application, but not all embodiments.
In one embodiment, fig. 2 provides a method for controlling a massage device, where the method includes determining a specific process of having a master massage device controlling a slave massage device if a second massage device exists within a target range around a first massage device, as shown in fig. 2, and includes:
s101, detecting whether a second massage device exists in a target range by the first massage device; the target range represents a range that the signal of the first massaging device can cover.
In practice, there are cases where a user performs a massage operation simultaneously using a plurality of massage apparatuses, and any one of the plurality of massage apparatuses may be the first massage apparatus in the present embodiment, and then the other massage apparatuses other than the first massage apparatus may be referred to as the second massage apparatus. And because these massage devices may be the same massage device, for example, the user uses two leg massage apparatuses to massage two legs simultaneously, in the embodiments of the present application, the first massage device and the second massage device may be the same massage device or different massage devices. Equivalently, it is understood that the second massage device refers only to a massage device that is not the same massage device as the first massage device, but is not limited in type to the second massage device.
The first massage device and the second massage device may be wearable massage devices, for example, a wearable neck massage device, a wearable eye massage device, a wearable waist massage device, or the like, or a massage chair, a massage bed, a standing massage device, or the like, which is not limited in this embodiment. The bluetooth module, the WIFI module, the infrared module, for example, the infrared receiver, the infrared transmitter, and other modules with connection functions can be set in each massage device, so that for each massage device, the signal coverage of the massage device is formed by the position where the signal can reach, that is, the target range.
By way of example, the first massage device detects whether a second massage device is present within the target range, it being understood here that the first massage device can detect the second massage device if the second massage device is in an on-machine or operational state. Taking an infrared module as an example, the first massage device detects whether the second massage device exists in a 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 master massage device and a slave massage device from the first massage device and the second massage device; wherein the master massage device has the right to control the slave massage device to perform data processing.
If a second massage device is detected within the target range, the detected second massage device can be one or more, more than two massage devices exist in the current environment, and one main massage device can be selected from the two massage devices, and the rest massage devices are all slave massage devices except the main massage device. Wherein the master massage device has the right to control the slave massage device to perform 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 device to perform a target processing operation. Optionally, the target processing operation includes at least one of a calendar reminder, a data store, a malfunction reminder, setting a massage mode.
Wherein the master massage device can control and read data of the slave massage devices. For example, when the neck massager is a master massage device and the massage chair is a slave massage device, the neck massager can send control information to the massage chair, and the massage chair can work according to the received control information. For another example, the master massage device controls the slave massage device to perform schedule reminding, specifically, schedule reminding detailed information to be performed by the master massage device may be sent to the slave massage device, and the slave massage device is instructed to perform schedule reminding according to the schedule reminding detailed information. Also for example, the master massage device may instruct the slave massage device to switch the current massage mode to the target massage mode, switch the massage temperature in the current massage mode, instruct the slave massage device to collect status data, and the like, which is not limited in this embodiment. It will be appreciated that the master massage device has both control and massage functions when the master massage device is controlling the slave massage devices.
It should be noted that, each massage device may qualify as a master massage device, and after a master massage device and a slave massage device are selected in one stage, the master massage device and the slave massage device may be redetermined in the next stage, which is not limited to this embodiment.
In the prior art, communication and control are usually performed between each part inside the massage device, or a proprietary control device is used to control the massage device, which results in a defect of low control efficiency of the massage device when a user uses a plurality of massage devices simultaneously. In the method, the main massage equipment is selected from the plurality of massage equipment, other massage equipment is used as the auxiliary massage equipment, and the main massage equipment can perform data processing control on the other auxiliary massage equipment, so that the control among the massage equipment is realized, and the control efficiency of the massage equipment is improved.
The specific process of determining the master massage device and the slave massage device from the first massage device and the second massage device will be described in detail, as shown in fig. 3, and in one embodiment, the step S102 includes:
s201, the first massage device establishes connection with the second massage device.
The first massaging device determines the master massaging device and the slave massaging device, and then the first massaging device and the second massaging device can communicate, provided that the two massaging devices need to establish a connection.
The first massage device and the second massage device are connected, wherein the first massage device can actively initiate a connection request, and the second massage device can also actively initiate a connection request. Optionally, as shown in fig. 4, taking the example that the first massaging device actively initiates the connection request, an embodiment is provided for explanation, and the step S201 includes:
s301, the first massaging device sends a connection request to the second massaging 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, by means of bluetooth, near field communication, wifi or mobile communication signals, etc.
For example, a pair of verification codes may be predefined, and when two massage devices are connected, only the pair of verification codes are connected correspondingly, so that the safety of the massage devices can be ensured. The connection request sent by the first massage device may carry an identification code, where 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 may be connected to the second massage device.
The identification code and the identification signal code may be numerals, letters or a combination of the numerals and letters, which is not limited in this embodiment. Wherein the identification code and the identification signal code cannot be identical. In practical application, the correspondence between the identification signal code and the identification code may be set and stored in the massage device when leaving the factory.
The identification code of the second massage device may be requested from the second massage device during the detection process, or may be directly sent to the second massage device after the detection of the second massage device after being stored in advance, which is not particularly limited in this embodiment.
S302, the first massage device receives a response sent by the second massage device; the response indicates that the first massaging device is successfully connected with the second massaging device.
After the first massage device sends the connection request to the second massage device, if the first massage device receives the 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 massaging devices in the target range; the first massage device transmits a connection request to the plurality of second massage devices, respectively; accordingly, the response received by the first massage device is transmitted separately for each of the plurality of second massage devices.
In this embodiment, the connection request is actively sent to the second massage device through the first massage device, and the security verification is performed through the verification code, so that the connection reliability of the first massage device and the second massage device is ensured.
S202, the first massage device sends a master-slave setting request to the second massage device; the master-slave set request is used to determine a master massage device and a slave massage device.
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 for setting the master massage device and the slave massage device, and the master-slave setting request needs to carry content that specifically sets the second massage device as the master or the slave massage device, for example, the master-slave setting request may carry "request to set the second massage device as the slave massage device and the first massage device as the master massage device", and the second massage device, after receiving the master-slave setting request, analyzes the content, and if the second massage device confirms that there is no error, may reply to the first massage device with a confirmation response.
The second massage device confirms whether the first massage device which sends the active setting request has the right to control the second massage device or not through verifying the content in the master-slave setting request, and if so, the second massage device replies a confirmation response to the first massage device.
It will be understood that, since the first massage device and the second massage device do not refer to a specific certain massage device, when setting up the master massage device and the slave massage device in the present application, it is understood that any one massage device may send a master-slave setting request to the other massage device after establishing a connection with the other massage device, 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, wherein the confirmation response indicates that the setting of the master massage device and the slave massage device is successful.
After the first massage device receives the confirmation response returned by the second massage device, the first massage device determines that the setting of the master massage device and the slave massage device is successful.
In one embodiment, the set master and slave massage devices may be: the main massage equipment is first main massage equipment, and the auxiliary massage equipment is second massage equipment; or the main massage device is a second massage device, and the auxiliary massage device is a first main massage device. For a scenario where there are more than two massage devices, i.e. if a plurality of massage devices are included in the second massage device in the above embodiment, the set master and slave massage devices 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 rest massage device except the main massage device is a slave massage device, that is, only one main massage device exists, and the rest massage devices are slave massage devices; for example, among the massage devices 1, 2, 3, 4, the massage device 3 is a master massage device, and the other massage devices 1, 2, 4 are slave massage devices except for the massage device 3. 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 send master-slave setting requests to the plurality of massage devices simultaneously when sending master-slave setting requests, 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 connection is established between the first massage device and the second massage device, the first massage device sends a master-slave setting request to the second massage device, sets up a master massage device and a slave massage device, and is provided with only one master massage device each time, and other massage devices except the master massage device are slave massage devices, so that for scenes of a plurality of massage devices, each massage device does not need to be controlled separately, other slave massage devices are controlled to work through the determined master massage device, and data processing is performed, so that efficient massage device control is realized.
In the above embodiment, when the first massaging device detects whether the second massaging device is present in the target range, the detection may be performed by detecting the device type, specifically, as shown in fig. 5, in one embodiment, the step S101 includes:
s401, the first massage device sends a device type detection signal 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 a signal of the first massaging device, for example, a bluetooth signal, a wifi signal, an infrared signal, and the like.
The first massage device polls and transmits a device type detection signal in a target range according to a preset period, the device type detection signal can reach the position of each device in the target range, and in actual application, the device type detection signal can be identified by not only the massage device but also the non-massage device, after each device receives the device type detection signal, the device type identification of the first massage device is transmitted to the first massage device, and the first massage device can determine whether the second massage device exists in the target range according to the device type identification.
Of course, the device type detection signal may be masked so that only the massage device can be identified, and the non-massage device cannot be identified, so that if there is a massage device in the target range, the first massage device may receive a returned acknowledgement signal, otherwise, the first massage device does not receive an acknowledgement signal, and it is determined that there is no second massage device in the target range.
S402, if the first massage device receives a confirmation signal with the type of the carrying identification as the massage device, the first massage device determines that a second massage device exists in the target range.
If the first massage device receives the confirmation signal and the confirmation signal carries the type identifier of the massage device, the first massage device determines that the second massage device exists in the target range.
In the embodiment, whether the second massage device exists in the target range is detected by the device type detection signal, so that the accuracy of detecting the second massage device is effectively ensured.
Referring to fig. 6, the present application further provides a control method of a massage apparatus, where the embodiment includes:
s1, a first massage device sends a device type detection signal in a target range according to a preset period;
s2, if the first massage device receives a confirmation signal with the type identification of the massage device, determining that a second massage device exists in the target range;
s3, the first massage device sends a connection request to the second massage device;
s4, the first massage device receives a response sent by the second massage device;
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 master massage device and the slave massage device are successfully set;
s7, the master massage device sends a control instruction carrying the target processing operation to the slave massage device, and instructs the slave massage device to execute the target processing operation.
The implementation principle and technical effects of each step in the control method of the massage device provided in the foregoing embodiment are similar to those in the foregoing embodiment of the control method of each massage device, and will not be described herein again. The implementation manner of each step in the embodiment of fig. 6 is merely an example, and the implementation manner is not limited, and the order of each step may be adjusted in practical application, so long as the purpose of each step can be achieved.
It should be understood that, although the steps in the flowcharts of fig. 2-6 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2-6 may include multiple steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the steps or stages in other steps or other steps.
In one embodiment, as shown in fig. 7, there is provided a control device of a massage apparatus, the device comprising: massage device detection module 10, master-slave setting module 11, wherein:
a massage device detection module 10 for detecting whether a second massage device exists within the target range; the target range represents a range that the signal of the first massaging device can cover;
a master-slave setting module 11, configured to determine a master massage device and a slave massage device from the first massage device and the second massage device if the second massage device exists within the target range; wherein the master massage device has the right to control the slave massage device to perform data processing.
In one embodiment, as shown in fig. 8, the master-slave setting module 11 includes:
a connection unit 111 for establishing a connection with the second massaging device;
a node setting requesting unit 112 for transmitting a master-slave setting request to the second massage apparatus; the master-slave setting request is used for determining a master massage device and a slave massage device;
and a receiving unit 113 for receiving a confirmation response returned by the second massage device, the confirmation response indicating that the setting of the master massage device and the slave massage device 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; alternatively, the master massage device is a second massage device and the slave massage device is a first master massage device.
In one embodiment, if there are a plurality of second massaging devices; the first massage device sends a master-slave setting request to a plurality of second massage devices respectively; the master massage device is any one of the first massage device and the plurality of second massage devices, and the slave massage devices are the rest of the massage devices except the master massage device.
In one embodiment, the establishing a connection unit includes:
a connection request transmitting subunit configured to transmit a connection request to the second massaging device;
a receiving subunit, configured to receive a response sent by the second massaging device; the response indicates that the first massaging device is successfully connected with the second massaging device.
In one embodiment, the massage device detection module 10 includes:
a detection signal transmitting unit for transmitting a device type detection signal in a 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 the confirmation unit is used for determining that the second massage device exists in the target range if the first massage device receives the confirmation signal of which the carrying type is identified as the massage device.
In one embodiment, if there are multiple second massaging devices in the target range; the first massage device sends connection requests to the plurality of second massage devices, respectively;
accordingly, the response received by the first massage device is transmitted 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 device to perform a target processing operation.
In one embodiment, the target processing operation includes at least one of a calendar reminder, a data store, a malfunction reminder, and setting a massage mode.
The control device of all the massage devices provided in the above embodiments has similar implementation principles and technical effects to those of the control method embodiment of the massage device, and will not be described herein.
The specific limitation regarding the control means of the massage apparatus may be referred to the limitation of the control method of the massage apparatus hereinabove, and will not be described herein. The respective modules in the control device of the massage apparatus described above may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof 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 includes a non-volatile 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 the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by the processor to implement a method of controlling a massage device. 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, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 9 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the computer device to which the present application applies, and that a particular computer device may include more or fewer components than shown, or may combine some of the 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 stored therein a computer program, the processor when executing the computer program performing the steps of:
detecting whether a second massage device exists in the target range; the target range represents a range that the signal of the first massaging device can cover;
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 device; the response indicates that the first massaging device is successfully connected with the second massaging device.
The computer device provided in the foregoing embodiments has similar implementation principles and technical effects to those of the foregoing method embodiments, and will not be described herein in detail.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, 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 the signal of the first massaging device can cover;
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 device; the response indicates that the first massaging device is successfully connected with the second massaging device.
The foregoing embodiment provides a computer readable storage medium, which has similar principles and technical effects to those of the foregoing method embodiment, and will not be described herein.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile 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 (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that modifications and improvements can be made by those skilled in the art without departing from the spirit of the present application, which falls within the scope of the present application. Accordingly, the scope of protection of the present application is subject to the appended claims.

Claims (11)

1. A method of controlling a massage apparatus, the method comprising:
the first massage device sends a device type detection signal 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; the target range represents a range that can be covered by a signal of the first massaging device;
if the first massage device receives a confirmation signal with the carrying type identified as the massage device, the first massage device determines that a second massage device exists in the target range, and the first massage device determines a master 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 device establishes a connection with the second massage device;
the first massage device sends a master-slave setting request to the second massage device; the master-slave setting request is used for determining the master massage equipment and the slave massage equipment;
the first massage device receives a confirmation response returned by the second massage device, wherein the confirmation response indicates that the setting of the master massage device and the slave massage device is successful.
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; or,
the master massage device is a second massage device, and the slave massage device is the first master massage device.
4. A method according to claim 3, wherein if there are a plurality of second massaging devices; the first massage device sends the master-slave setting request to the plurality of second massage devices, respectively;
the master massage device is any one of the first massage device and the plurality of second massage devices, and the slave massage devices are the rest of the massage devices except the master massage device.
5. The method of any of claims 2-4, wherein the first massage device establishes a connection with the second massage device, comprising:
the first massage device sends a connection request to the second massage device;
the first massage device receives a response sent by the second massage device; the response indicates that the first massage device and the second massage device are successfully connected.
6. The method of any one of claims 1-4, wherein if there are a plurality of second massaging devices in the target range; the first massage device sends a connection request to the 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.
7. The method according to any one of claims 1-4, further comprising:
the master massage device sends a control instruction carrying a target processing operation to the slave massage device; the control instructions are for instructing the slave massage device to perform the target processing operation.
8. The method of claim 7, wherein the targeted processing operations include at least one of calendar reminders, data storage, fault reminders, setting a massage mode.
9. A control device for a massage apparatus, the device comprising:
a massage device detection module in the first massage device, configured to send a device type detection signal 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; the target range represents a range that can be covered by a signal of the first massaging device;
the master-slave setting module in the first massage device is used for determining that a second massage device exists in the target range if the first massage device receives a confirmation signal with a carrying type identification of the massage device, and the master-slave setting module in the first massage device determines a master 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.
10. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 8 when the computer program is executed.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 8.
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 CN113616469A (en) 2021-11-09
CN113616469B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN113616469A (en) 2021-11-09

Similar Documents

Publication Publication Date Title
JP5939819B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, COMMUNICATION SYSTEM, PROGRAM
US9860330B2 (en) Control method for communication terminal connectable to wearable terminal via network
CN113616469B (en) Control method and device of massage equipment, computer equipment and storage medium
JP6400341B2 (en) Robot control system
CN108446038A (en) Information processing system
JP2013065207A (en) Portable communication system, portable communication terminal and server
CN113438264B (en) Wearable massager connection method, device, computer equipment and storage medium
EP3029960A1 (en) Resource control apparatus, server apparatus and method for controlling a resource
KR101628865B1 (en) System For Protecting Bluetooth Decive To be Lost And Stolen
JP2019115377A (en) Portable information terminal, sensor, biological information management method, biological information processing program, and computer-readable storage medium
CN113438266B (en) Method, device, equipment and storage medium for acquiring data of wearable massager
JP2016019174A (en) Mobile communication terminal and control program therefor
KR102194992B1 (en) Method for providing round-trip alarm service in medical institution
CN107644163A (en) A kind of multi-user sends a notice the method and device of prompting message
KR101083429B1 (en) Method for key management of wireless body area network and key management sysetem
JP2016207159A (en) Aed position information update system, aed housing case search system, portable terminal program, aed housing case and aed system
CN113438260B (en) Connection method and device of wearable massage instrument, computer equipment and storage medium
JP2019096981A (en) Gateway and apparatus setting system
JP2019107454A (en) Medical system
JP6333709B2 (en) Mobile communication terminal, control system, control method, and control program
CN113438261A (en) Connection method and device of wearable massage instrument, computer equipment and storage medium
WO2020242088A1 (en) Pain data logger device
JP2019125132A (en) Path code management program and path code management method
JP7192742B2 (en) Vehicle management server, vehicle management method, and vehicle management system
JP6701314B2 (en) Portable device, control method thereof, and program

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