Collaborative control method, device, equipment and storage medium for massage equipment
By assisting the collaborative control equipment to analyze and transmit the frequency configuration information and vibration mode of the massage equipment, the problem of poor collaborative control interaction effect of existing massage equipment is solved, and a more advanced intelligent collaborative control effect is achieved.
Patent Information
- Application Number
- CN202210720110.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-23
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2042-06-23
AI Technical Summary
When existing massage equipment is coordinated by multiple devices, the control method is single, resulting in poor interaction effect.
Through the auxiliary cooperative control device, the message packet of the massage device is monitored, the frequency configuration information of the main massage device is analyzed, the sub-massage device with matching frequency is selected, and the data path is established to transmit the vibration mode of the main massage device for coordinated control.
Remote coordination of massage frequency and mode between different massage devices is achieved, improving the intelligence of massage devices and enhancing the interaction effect between devices.
Smart Images

Figure CN115089472B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of massage equipment, and in particular to a collaborative control method, device, equipment and storage medium for massage equipment. Background Art
[0002] As people's living standards continue to improve, in addition to paying more and more attention to physical health, people are also paying more attention to the quality of life and have higher and higher requirements for the quality of life; among them, ensuring the health of parts of the body through massage is a very simple and common way of health care, and it is also an entertainment project to relax the body and produce a sense of pleasure. There are various forms of massager products in the prior art, and the existing massage equipment products mainly achieve massage by vibration. Most of them control the massage equipment in an independent control manner. When it comes to the coordinated control of multiple massage devices, the control method is often relatively simple, such as controlling multiple massage devices at the same time with the same massage mode, that is, for the existing massage equipment, it generally has the defect of poor interactive effect. Summary of the invention
[0003] The main purpose of the present invention is to solve the technical problem that the existing massage equipment has poor interactive effect.
[0004] A first aspect of the present invention provides a collaborative control method for massage devices, which is applied to a collaborative control system of massage devices, wherein the collaborative control system of massage devices includes at least one auxiliary collaborative control device, and the collaborative control method for massage devices includes: when a message packet sent by a massage device in a preset massage device list is monitored by the auxiliary collaborative control device, the massage device that sends the message packet is used as a main massage device, and the message packet is parsed to obtain frequency configuration information set by the main massage device; through the auxiliary collaborative control device, at least one massage device matching the frequency configuration information is selected from the massage device list as a sub-massage device, and a data path is created between the main massage device and each sub-massage device; through the auxiliary collaborative control device, the vibration mode of the main massage device is transmitted to each sub-massage device through the data path, and each sub-massage device is collaboratively controlled according to the vibration mode.
[0005] Optionally, in a first implementation method of the first aspect of the present invention, when a message packet sent by a massage device in a preset massage device list is monitored by the auxiliary collaborative control device, before the massage device that sends the message packet is used as the main massage device, it also includes: obtaining attribute information of the massage devices within the communication range through the auxiliary collaborative control device using a local area network; based on the attribute information, establishing a connection relationship with the massage devices within the communication range using the auxiliary collaborative control device, and adding them to the massage device list.
[0006] Optionally, in a second implementation method of the first aspect of the present invention, parsing the message packet to obtain the frequency configuration information set by the main massage device includes: extracting the communication identification information in the message packet, and determining the request type of the message packet based on the communication identification information; parsing the message packet based on the request type using the parsing protocol corresponding to the auxiliary collaborative control device to obtain the sensor parameter information set by the main massage device; and generating the frequency configuration information set by the main massage device based on the sensor parameter information.
[0007] Optionally, in a third implementation of the first aspect of the present invention, selecting at least one massage device matching the frequency configuration information in the massage device list as a sub-massage device through the auxiliary collaborative control device includes: determining, through the auxiliary collaborative control device, the motion mode and the first vibration frequency corresponding to the main massage device according to the frequency configuration information; selecting a massage device with the same motion mode from the massage device list, and comparing the first vibration frequency with the current second vibration frequency of each selected massage device; determining, based on the comparison result, the degree of frequency synchronization between the first vibration frequency and each of the second vibration frequencies; and selecting a preset number of massage devices with the highest degree of frequency synchronization from each selected massage device as sub-massage devices.
[0008] Optionally, in a fourth implementation method of the first aspect of the present invention, the creation of a data path between the main massage device and each sub-massage device includes: determining the data path corresponding to the main massage device, and allocating multiple path nodes according to the data path; cross-connecting the allocated path nodes to obtain a node network, and creating an identification interface of the main massage device in the starting node of the node network, and creating an identification interface of the sub-massage device in the ending node of the node network; based on the node network after the identification interface is created, path notification information is generated, and sent to each sub-massage device to obtain a data channel.
[0009] Optionally, in a fifth implementation of the first aspect of the present invention, the transmission of the vibration mode of the main massage device to each sub-massage device through the data path by the auxiliary collaborative control device includes: extracting the device identification information of the main massage device, and searching for the target identification interface corresponding to the device identification information; using a wide area network, sending the control information of the main massage device to a node network corresponding to the target identification interface in the data channel; using the control information, performing verification in the node network to obtain a verification result; if the verification result is passed, parsing the vibration mode of the main massage device in the control information and transmitting it to each sub-massage device.
[0010] According to a second aspect of the present invention, there is provided a collaborative control device for massage equipment, which is applied to a collaborative control system for massage equipment, wherein the collaborative control system for massage equipment includes at least one auxiliary collaborative control device, and the collaborative control device for massage equipment includes: a parsing module, which is used to, when a message packet sent by a massage device in a preset massage equipment list is monitored through the auxiliary collaborative control device, take the massage device that sends the message packet as the main massage device, and parse the message packet to obtain frequency configuration information set by the main massage device; a creation module, which is used to select at least one massage device matching the frequency configuration information in the massage equipment list as a sub-massage device through the auxiliary collaborative control device, and create a data path between the main massage device and each sub-massage device; and a control module, which is used to transmit the vibration mode of the main massage device to each sub-massage device through the data path through the auxiliary collaborative control device, and collaboratively control each sub-massage device according to the vibration mode.
[0011] Optionally, in a first implementation method of the second aspect of the present invention, the collaborative control device of the massage equipment also includes a connection module, which is used to: obtain attribute information of the massage equipment within the communication range through the auxiliary collaborative control device using a local area network; based on the attribute information, establish a connection relationship with the massage equipment within the communication range using the auxiliary collaborative control device, and add it to the massage equipment list.
[0012] Optionally, in a second implementation of the second aspect of the present invention, the parsing module includes: an extraction unit, used to extract the communication identification information in the message packet, and determine the request type of the message packet based on the communication identification information; a parsing unit, used to parse the message packet according to the request type and using the parsing protocol corresponding to the auxiliary collaborative control device to obtain the sensor parameter information set by the main massage device; a frequency generation unit, used to generate the frequency configuration information set by the main massage device based on the sensor parameter information.
[0013] Optionally, in a third implementation of the second aspect of the present invention, the creation module includes: a frequency determination unit, used to determine the motion mode and the first vibration frequency corresponding to the main massage device according to the frequency configuration information through the auxiliary collaborative control device; a comparison unit, used to select massage devices with the same motion mode from the massage device list, and compare the first vibration frequency with the current second vibration frequency of each selected massage device; a frequency synchronization unit, used to determine the degree of frequency synchronization between the first vibration frequency and each of the second vibration frequencies according to the comparison result; and a selection unit, used to select a preset number of massage devices with the highest degree of frequency synchronization from each selected massage device as sub-massage devices.
[0014] Optionally, in a fourth implementation of the second aspect of the present invention, the creation module also includes: an allocation unit, used to determine the data path corresponding to the main massage device, and allocate multiple path nodes according to the data path; a creation unit, used to cross-connect the allocated path nodes to obtain a node network, and create an identification interface of the main massage device in the starting node of the node network, and create an identification interface of the sub-massage device in the ending node of the node network; a notification generation unit, used to generate path notification information based on the node network after creating the identification interface, and send it to each sub-massage device to obtain a data channel.
[0015] Optionally, in a fifth implementation of the second aspect of the present invention, the control module includes: a search unit, used to extract the device identification information of the main massage device, and to search for the target identification interface corresponding to the device identification information; a sending unit, used to use a wide area network to send the control information of the main massage device to a node network corresponding to the target identification interface in the data channel; a verification unit, used to use the control information to perform verification in the node network to obtain a verification result; and a transmission unit, used to parse out the vibration mode of the main massage device in the control information and transmit it to each sub-massage device if the verification result is passed.
[0016] The third aspect of the present invention provides a collaborative control device for a massage device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the collaborative control device of the massage device executes the above-mentioned collaborative control method of the massage device.
[0017] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned collaborative control method of a massage device.
[0018] In the technical solution provided by the present invention, when a message packet sent by a massage device in a preset massage device list is monitored by an auxiliary collaborative control device, the massage device that sends the message packet is used as a main massage device and parsed to obtain the frequency configuration information set by the main massage device; through the auxiliary collaborative control device, a massage device matching the frequency configuration information is selected from the massage device list as a sub-massage device, and a data path is created between the two; then the vibration mode of the main massage device is transmitted to each sub-massage device through the data path, and each sub-massage device is collaboratively controlled according to the vibration mode. The present invention realizes remote collaboration of massage frequencies and massage modes between different massage devices, improves the intelligence of massage devices, and enhances the interactive effect between massage devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a schematic diagram of a first embodiment of a collaborative control method for a massage device according to an embodiment of the present invention;
[0020] Figure 2 A schematic diagram of a second embodiment of a collaborative control method for a massage device according to an embodiment of the present invention;
[0021] Figure 3 A schematic diagram of an embodiment of a cooperative control device for a massage device according to an embodiment of the present invention;
[0022] Figure 4 It is a schematic diagram of another embodiment of the cooperative control device of the massage equipment in the embodiment of the present invention;
[0023] Figure 5 It is a schematic diagram of an embodiment of a cooperative control device of a massage device in an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The embodiment of the present invention provides a method, device, equipment and storage medium for collaborative control of massage equipment. When a message packet sent by a massage equipment in a preset massage equipment list is monitored by an auxiliary collaborative control device, the massage equipment sending the message packet is used as the main massage equipment and parsed to obtain the frequency configuration information set by the main massage equipment; through the auxiliary collaborative control device, a massage equipment matching the frequency configuration information is selected from the massage equipment list as a sub-massage equipment, and a data path is created between the two; the vibration mode of the main massage equipment is then transmitted to each sub-massage equipment through the data path, and each sub-massage equipment is collaboratively controlled according to the vibration mode. The present invention realizes remote collaboration of massage frequencies and massage modes between different massage equipment, improves the intelligence of massage equipment and enhances the interactive effect between massage equipment.
[0025] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , a first embodiment of the collaborative control method of the massage device in the embodiment of the present invention includes:
[0027] 101. When a message packet sent by a massage device in the preset massage device list is monitored by the auxiliary collaborative control device, the massage device that sends the message packet is used as the main massage device, and the message packet is parsed to obtain the frequency configuration information set by the main massage device;
[0028] It is understandable that the execution subject of the present invention may be a cooperative control device of a massage device, or a terminal or a server, which is not limited here. The embodiment of the present invention is described by taking a server as the execution subject as an example.
[0029] In this embodiment, the preset massage device list records each massage device that has established a connection relationship with the auxiliary collaborative control device. The auxiliary collaborative control device can be used to collaboratively control two or more massage devices in the massage device list. Among them, the massage device that first initiates the connection in the massage device list is used as the main massage device, as the main control end for collaborative control of multiple massage devices, and controls other massage devices through the auxiliary collaborative control device, that is, after determining the main massage device of the main control end, the other massage devices in the list are all controlled ends.
[0030] In this embodiment, when the auxiliary collaborative control device performs collaborative control on the main massage device and other massage devices in the massage device list, it is necessary to select the sub-massage devices for collaborative control according to the set strategy, and the set strategy is the request parameter of the frequency configuration information, such as frequency mode, frequency value, etc. Therefore, when the main massage device controls other massage devices, it is necessary to initiate a request to the auxiliary collaborative control device and send the frequency configuration information to the auxiliary collaborative control device in the form of a message packet to select the sub-massage devices.
[0031] 102. Selecting, through the auxiliary collaborative control device, at least one massage device matching the frequency configuration information in the massage device list as a sub-massage device, and creating a data path between the main massage device and each sub-massage device;
[0032] In this embodiment, after parsing the frequency configuration information from the data packet sent by the main massage device, the sub-massage device paired with the main massage device is paired in the massage device list. It should be noted that the main massage device and the sub-massage device are only relative concepts, that is, the massage device that initiates the control request is the main massage device, and the other paired massage devices are correspondingly used as sub-massage devices. In other words, each massage device in the massage device list can be used as a main massage device and a sub-massage device.
[0033] In this embodiment, after the pairing of the main massage device and the sub-massage device is completed according to the frequency configuration information, a data path is established between the main massage device and the sub-massage device through the auxiliary collaborative control device. Subsequently, the main massage device can directly perform collaborative control on the sub-massage device through the data path without forwarding through the auxiliary collaborative control device, thereby improving the speed and response speed of the collaborative control.
[0034] Specifically, the frequency configuration information includes contents such as frequency parameters and frequency modes, and the sub-massage devices with the same frequency as the main massage device are paired through the frequency parameters and frequency modes, so that the two can interact more harmoniously later.
[0035] Specifically, when establishing a data path between the main massage device and the sub-massage device, the main thing is to establish a transmission protocol between the two. When the main massage device subsequently sends control information to the sub-massage device, it is necessary to perform data conversion, security verification and transmission in accordance with the established transmission protocol, so that the data between the main massage device and the sub-massage device are compatible, while ensuring the privacy and security of collaborative control.
[0036] 103. The vibration pattern of the main massage device is transmitted to each sub-massage device through the data path by means of the auxiliary cooperative control device, and each sub-massage device is cooperatively controlled according to the vibration pattern.
[0037] In this embodiment, after the pairing of the main massage device and the sub-massage device and the establishment of the data channel are achieved, the main massage device can directly send its own vibration mode to each sub-massage device in real time through the data channel, thereby realizing the coordinated control of the main massage device over one or more sub-massage devices.
[0038] Specifically, with regard to the transmission of vibration patterns in the data path between the main massage device and the sub-massage device, according to a set transmission protocol, the main massage device sends the vibration pattern to the data channel in the form of a data packet. In the data channel, the transmission protocol is used to identify the data packet, perform data type conversion, security verification, and extract information about the vibration pattern, and generate control instructions suitable for data types of different sub-massage devices to coordinately control each corresponding sub-massage device.
[0039] In an embodiment of the present invention, when a message packet sent by a massage device in a preset massage device list is monitored by an auxiliary collaborative control device, the massage device that sent the message packet is used as a main massage device and parsed to obtain frequency configuration information set by the main massage device; through the auxiliary collaborative control device, a massage device matching the frequency configuration information is selected from the massage device list as a sub-massage device, and a data path is created between the two; the vibration mode of the main massage device is then transmitted to each sub-massage device through the data path, and each sub-massage device is collaboratively controlled according to the vibration mode. The present invention realizes remote collaboration of massage frequencies and massage modes between different massage devices, improves the intelligence of massage devices, and enhances the interactive effect between massage devices.
[0040] See also Figure 2 , a second embodiment of the collaborative control method of the massage device in the embodiment of the present invention includes:
[0041] 201. Acquire attribute information of massage equipment within the communication range through the auxiliary collaborative control device using the local area network;
[0042] 202. According to the attribute information, use the auxiliary collaborative control device to establish a connection relationship with the massage device within the communication range, and add it to the massage device list;
[0043] In this embodiment, each massage device and auxiliary collaborative control device capable of collaborative control is equipped with a local communication component, so that each massage device can establish a connection with the auxiliary collaborative control device and record it in the massage device list. Here, the massage device serves as a passive communication terminal, and the auxiliary collaborative control device serves as an active communication terminal.
[0044] Specifically, for example, if a Bluetooth communication component is installed in the massage device, when establishing a connection relationship between the auxiliary collaborative control device and the massage device, the Bluetooth of the massage device to be connected must be turned on, that is, the massage device enters the Bluetooth broadcast mode. The auxiliary collaborative control device can actively obtain the basic attribute information of the massage device within the communication range through Bluetooth broadcast, thereby connecting to the massage device, and adding the successfully connected massage device to the massage device list.
[0045] 203. When a message packet sent by a massage device in the preset massage device list is monitored by the auxiliary collaborative control device, the massage device that sent the message packet is used as the main massage device;
[0046] 204. Extracting communication identification information from the message packet, and determining a request type of the message packet according to the communication identification information;
[0047] 205. According to the request type, the message packet is parsed using the parsing protocol correspondingly set by the auxiliary collaborative control device to obtain the sensor parameter information set by the main massage device;
[0048] 206. Generate frequency configuration information set by the main massage device based on the sensing parameter information;
[0049] In this embodiment, different types of message packets are distinguished by communication identification information. Here, only message packets requesting collaborative control are used, so the request type obtained by parsing is the type of establishing collaborative control. In the parsing protocol, after finding the path of receiving, verifying, and parsing the request type, the sensor parameter information of the message packet is parsed, including vibration mode, vibration parameters, etc., to generate frequency configuration information.
[0050] Specifically, first identify the data composition of the message packet. For example, if the sensor parameter information is stored in the 5th protocol data unit of the data packet, find the 5th protocol data unit, and then go into the unit to find the data content with an ID mark and extract it. Then, the sensor parameter information in the data packet can be obtained to generate the frequency configuration information set for the main massage device.
[0051] 207. Determine, by means of the auxiliary cooperative control device, the motion mode and the first vibration frequency corresponding to the main massage device according to the frequency configuration information;
[0052] 208. Selecting massage devices with the same motion mode from the massage device list, and comparing the first vibration frequency with the current second vibration frequency of each selected massage device;
[0053] 209. According to the comparison result, respectively determine the frequency consistency between the first vibration frequency and each of the second vibration frequencies;
[0054] 210. Select a preset number of massage devices with the highest degree of frequency homology from each selected massage device as sub-massage devices, determine a data path corresponding to the main massage device, and allocate a plurality of path nodes according to the data path;
[0055] In this embodiment, the vibration mode and vibration parameters can be parsed according to the frequency configuration information to determine the motion mode and the first vibration frequency of the main massage device, wherein the motion mode can be represented by sequential coding, such as M1, M2, ..., the first vibration frequency can be set to 3200 times / minute-25500 times / minute, and so on. The specific motion mode and the first vibration frequency shall be based on the setting of the main massage device.
[0056] In this embodiment, the pairing strategy is set based on the motion mode and the first vibration frequency to find a sub-massage device with the same frequency as the main massage device to ensure that the massage requirements between the two are consistent and the interactivity is more matched in subsequent collaborative control.
[0057] Specifically, for example, the determined motion mode is M1, and the first vibration frequency is 8000 times / minute. According to the motion mode M1, three massage devices P1, P2, and P3 are selected, among which the second vibration frequency of P1 is 8300 times / minute, the second vibration frequency of P2 is 9000 times / minute, and the second vibration frequency of P3 is 6500 times / minute. If the preset number is 1, P1 is selected as the sub-massage device; if the preset number is 2, P2 is selected as the sub-massage device; if the preset number is 3 or more, P1, P2, and P3 are selected as sub-massage devices.
[0058] 211. Cross-connect the assigned path nodes to obtain a node network, and create an identification interface of the main massage device in the starting node of the node network, and create an identification interface of the sub-massage device in the ending node of the node network;
[0059] 212. Based on the node network after the identification interface is created, path notification information is generated and sent to each sub-massage device to obtain a data channel;
[0060] In this embodiment, each massage device is provided with a data output path. According to the type of the data output path, the required path nodes, including the starting node, the intermediate node and the ending node, are allocated according to the set strategy to cross-connect into a node network to determine the overall transmission path structure of the entire data channel. Then, through the configuration of specific parameters, the final data channel is obtained so that the main massage device can send the real-time vibration pattern to each sub-massage device for coordinated control.
[0061] Specifically, when configuring the node network, the identification interface of the main massage device is mainly created at the starting node to ensure that when the main massage device initiates collaborative control, the vibration pattern is sent to the corresponding starting node for transmission on the corresponding data channel; and the identification interface of the sub-massage device is mainly created at the ending node to ensure that after passing through the data channel, it is determined to be transmitted to the massage device that needs to be collaboratively controlled.
[0062] Specifically, for example, if the created data channel is a FlexE (Flexible Ethernet) channel, the FlexE path that satisfies the main massage device is determined, and then the central controller based on PCE is used to distribute each intermediate node from the end node to the start node, and FlexE cross-connection is performed at the same time. Then, the terminal identification information of the main massage device is used to configure the identification interface at the start node, and the identification interface is configured at the end node according to the terminal identification information of each sub-massage device. After successful creation, the central controller based on PCE notifies each node of the relevant path information of the entire node network, that is, the path notification information, and the FlexE channel can be obtained.
[0063] 213. Extract the device identification information of the main massage device, and search for the target identification interface corresponding to the device identification information;
[0064] 214. Using a wide area network, send the control information of the main massage device to the node network corresponding to the target identification interface in the data channel;
[0065] 215. Using the control information, perform verification in the node network to obtain a verification result;
[0066] 216. If the verification result is passed, the vibration mode of the main massage device in the control information is parsed and transmitted to each sub-massage device, and each sub-massage device is cooperatively controlled according to the vibration mode.
[0067] In this embodiment, when the auxiliary collaborative control device establishes a connection relationship with each massage device, a local area network is used for connection; when transmitting data packets with the main massage device, a local area network or a wide area network can be used for connection; and the data communication channel between the main massage device and the sub-massage device is based on a wide area network connection, that is, the auxiliary collaborative control device communicates through the sub-massage device, and the main massage device here also communicates with the sub-massage device through a wide area network to achieve collaborative control between the two.
[0068] Specifically, with regard to the transmission of vibration patterns in the data path between the main massage device and the sub-massage device, according to a set transmission protocol, the main massage device sends the vibration pattern to the data channel in the form of a data packet. In the data channel, the transmission protocol is used to identify the data packet, perform data type conversion, security verification, and extract information about the vibration pattern, and generate control instructions suitable for data types of different sub-massage devices to coordinately control each corresponding sub-massage device.
[0069] Specifically, for example, the content of the incoming data packet is mainly a trigger signal with a time axis, and waveform data that changes according to time is generated according to the trigger signal to determine each massage time node and massage intensity of the current main massage device, so as to generate corresponding multiple trigger instructions to control the sub-massage device to perform massage.
[0070] The above describes the coordinated control method of the massage device in the embodiment of the present invention. The following describes the coordinated control device of the massage device in the embodiment of the present invention. Figure 3 , an embodiment of the coordinated control device of the massage device in the embodiment of the present invention includes:
[0071] The parsing module 301 is used for, when a message packet sent by a massage device in the preset massage device list is monitored by the auxiliary collaborative control device, taking the massage device that sent the message packet as the main massage device, and parsing the message packet to obtain the frequency configuration information set by the main massage device;
[0072] A creation module 302, configured to select, through the auxiliary collaborative control device, at least one massage device matching the frequency configuration information in the massage device list as a sub-massage device, and to create a data path between the main massage device and each sub-massage device;
[0073] The control module 303 is used to transmit the vibration mode of the main massage device to each sub-massage device through the data path via the auxiliary cooperative control device, and to cooperatively control each sub-massage device according to the vibration mode.
[0074] In an embodiment of the present invention, when a message packet sent by a massage device in a preset massage device list is monitored by an auxiliary collaborative control device, the massage device that sent the message packet is used as a main massage device and parsed to obtain frequency configuration information set by the main massage device; through the auxiliary collaborative control device, a massage device matching the frequency configuration information is selected from the massage device list as a sub-massage device, and a data path is created between the two; the vibration mode of the main massage device is then transmitted to each sub-massage device through the data path, and each sub-massage device is collaboratively controlled according to the vibration mode. The present invention realizes remote collaboration of massage frequencies and massage modes between different massage devices, improves the intelligence of massage devices, and enhances the interactive effect between massage devices.
[0075] See also Figure 4 Another embodiment of the cooperative control device of the massage device in the embodiment of the present invention includes:
[0076] The parsing module 301 is used for, when a message packet sent by a massage device in the preset massage device list is monitored by the auxiliary collaborative control device, taking the massage device that sent the message packet as the main massage device, and parsing the message packet to obtain the frequency configuration information set by the main massage device;
[0077] A creation module 302, configured to select, through the auxiliary collaborative control device, at least one massage device matching the frequency configuration information in the massage device list as a sub-massage device, and to create a data path between the main massage device and each sub-massage device;
[0078] The control module 303 is used to transmit the vibration mode of the main massage device to each sub-massage device through the data path via the auxiliary cooperative control device, and to cooperatively control each sub-massage device according to the vibration mode.
[0079] Specifically, the collaborative control device of the massage device further includes a connection module 304, which is used to:
[0080] By means of the auxiliary collaborative control device, the attribute information of the massage equipment within the communication range is obtained using the local area network;
[0081] According to the attribute information, the auxiliary collaborative control device is used to establish a connection with the massage devices within the communication range and add them to the massage device list.
[0082] Specifically, the parsing module 301 includes:
[0083] The extraction unit 3011 is used to extract the communication identification information in the message packet, and determine the request type of the message packet according to the communication identification information;
[0084] The parsing unit 3012 is used to parse the message packet according to the request type and use the parsing protocol corresponding to the auxiliary collaborative control device to obtain the sensor parameter information set by the main massage device;
[0085] The frequency generating unit 3013 is used to generate frequency configuration information set by the main massage device based on the sensing parameter information.
[0086] Specifically, the creation module 302 includes:
[0087] The frequency determination unit 3021 is used to determine the motion mode and the first vibration frequency corresponding to the main massage device according to the frequency configuration information through the auxiliary cooperative control device;
[0088] A comparison unit 3022 is used to select massage devices with the same motion mode from the massage device list, and compare the first vibration frequency with the current second vibration frequency of each selected massage device;
[0089] A frequency synchronization unit 3023, configured to determine the frequency synchronization degree between the first vibration frequency and each of the second vibration frequencies according to the comparison result;
[0090] The selection unit 3024 is used to select a preset number of massage devices with the highest degree of frequency homogeneity from each selected massage device as sub-massage devices.
[0091] Specifically, the creation module 302 further includes:
[0092] The allocation unit 3025 is used to determine the data path corresponding to the main massage device and allocate multiple path nodes according to the data path;
[0093] A creation unit 3026, configured to cross-connect the assigned path nodes to obtain a node network, and to create an identification interface of the main massage device in a start node of the node network, and to create an identification interface of the sub-massage device in a termination node of the node network;
[0094] The notification generating unit 3027 is used to generate path notification information based on the node network after the identification interface is created, and send it to each sub-massage device to obtain a data channel.
[0095] Specifically, the control module 303 includes:
[0096] A search unit 3031 is used to extract the device identification information of the main massage device and search for a target identification interface corresponding to the device identification information;
[0097] The sending unit 3032 is used to send the control information of the main massage device to the node network corresponding to the target identification interface in the data channel by using the wide area network;
[0098] A verification unit 3033, configured to perform verification in the node network using the control information to obtain a verification result;
[0099] The transmission unit 3034 is used to parse out the vibration mode of the main massage device in the control information and transmit it to each sub-massage device if the verification result is passed.
[0100] above Figure 3 and Figure 4The cooperative control device of the massage device in the embodiment of the present invention is described in detail from the perspective of modular functional entities, and the cooperative control device of the massage device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0101] Figure 5 : is a schematic diagram of the structure of a cooperative control device of a massage device provided in an embodiment of the present invention. The cooperative control device 500 of the massage device may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 can be short-term storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the cooperative control device 500 of the massage device. Furthermore, the processor 510 can be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the cooperative control device 500 of the massage device.
[0102] The massage device cooperative control device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 5 The cooperative control device structure of the massage device shown does not constitute a limitation on the cooperative control device of the massage device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0103] The present invention also provides a collaborative control device for a massage device, wherein the computer device includes a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the collaborative control method for the massage device in the above-mentioned embodiments.
[0104] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the collaborative control method of the massage device.
[0105] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0106] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0107] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A collaborative control method for massage equipment, applied to a collaborative control system of massage equipment, characterized in that: The coordinated control system of the massage device includes at least one auxiliary coordinated control device, and the coordinated control method of the massage device includes: When a message packet sent by a massage device in the preset massage device list is monitored by the auxiliary collaborative control device, the massage device that sent the message packet is used as the main massage device, and the message packet is parsed to obtain the frequency configuration information set by the main massage device; By means of the auxiliary cooperative control device, at least one massage device matching the frequency configuration information is selected from the massage device list as a sub-massage device, and a data path is created between the main massage device and each sub-massage device; The auxiliary cooperative control device transmits the vibration pattern of the main massage device to each sub-massage device through the data path, and cooperatively controls each sub-massage device according to the vibration pattern; The method of selecting at least one massage device matching the frequency configuration information as a sub-massage device from the massage device list through the auxiliary cooperative control device includes: determining, through the auxiliary cooperative control device, the motion mode and the first vibration frequency corresponding to the main massage device according to the frequency configuration information; selecting massage devices with the same motion mode from the massage device list, and comparing the first vibration frequency with the current second vibration frequency of each selected massage device; determining the degree of frequency synchronization between the first vibration frequency and each of the second vibration frequencies according to the comparison result; and selecting a preset number of massage devices with the highest degree of frequency synchronization from each selected massage device as sub-massage devices.
2. The coordinated control method of massage equipment according to claim 1, characterized in that: Before the auxiliary cooperative control device monitors a message packet sent by a massage device in the preset massage device list, and uses the massage device that sends the message packet as the main massage device, the method further includes: By means of the auxiliary collaborative control device, the attribute information of the massage equipment within the communication range is obtained using the local area network; According to the attribute information, the auxiliary collaborative control device is used to establish a connection with the massage devices within the communication range and add them to the massage device list.
3. The coordinated control method of massage equipment according to claim 1, characterized in that: The parsing of the message packet to obtain the frequency configuration information set by the main massage device includes: Extracting communication identification information from the message packet, and determining a request type of the message packet according to the communication identification information; According to the request type, the message packet is parsed using the parsing protocol correspondingly set by the auxiliary collaborative control device to obtain the sensor parameter information set by the main massage device; Based on the sensing parameter information, frequency configuration information of the main massage device setting is generated.
4. The coordinated control method of the massage device according to any one of claims 1 to 3, characterized in that: The step of establishing a data path between the main massage device and each sub-massage device comprises: Determine a data path corresponding to the main massage device, and allocate a plurality of path nodes according to the data path; Cross-connecting the assigned path nodes to obtain a node network, and creating an identification interface of the main massage device in a starting node of the node network, and creating an identification interface of the sub-massage device in a terminating node of the node network; Based on the node network after the identification interface is created, path notification information is generated and sent to each sub-massage device to obtain a data channel.
5. The coordinated control method of massage equipment according to claim 4, characterized in that: The step of transmitting the vibration mode of the main massage device to each sub-massage device through the data path by means of the auxiliary cooperative control device comprises: Extracting the device identification information of the main massage device, and searching for the target identification interface corresponding to the device identification information; Using a wide area network, the control information of the main massage device is sent to a node network corresponding to the target identification interface in the data channel; Using the control information, verifying in the node network to obtain a verification result; If the verification result is passed, the vibration mode of the main massage device in the control information is parsed and transmitted to each sub-massage device.
6. A coordinated control device for massage equipment, applied to a coordinated control system for massage equipment, characterized in that: The cooperative control system of the massage device includes at least one auxiliary cooperative control device, and the cooperative control device of the massage device includes: A parsing module, for, when a message packet sent by a massage device in the preset massage device list is monitored through the auxiliary collaborative control device, taking the massage device that sent the message packet as the main massage device, and parsing the message packet to obtain frequency configuration information set by the main massage device; a creation module, configured to select, through the auxiliary collaborative control device, at least one massage device matching the frequency configuration information in the massage device list as a sub-massage device, and to create a data path between the main massage device and each sub-massage device; a control module, for transmitting the vibration pattern of the main massage device to each sub-massage device through the data path via the auxiliary cooperative control device, and cooperatively controlling each sub-massage device according to the vibration pattern; The creation module includes: a frequency determination unit, used to determine the motion mode and the first vibration frequency corresponding to the main massage device according to the frequency configuration information through the auxiliary collaborative control device; a comparison unit, used to select massage devices with the same motion mode from the massage device list, and compare the first vibration frequency with the current second vibration frequency of each selected massage device; a frequency synchronization unit, used to determine the degree of frequency synchronization between the first vibration frequency and each of the second vibration frequencies according to the comparison result; and a selection unit, used to select a preset number of massage devices with the highest degree of frequency synchronization from each selected massage device as sub-massage devices.
7. The coordinated control device for massage equipment according to claim 6, characterized in that: The collaborative control device of the massage device further comprises a connection module, which is used for: By means of the auxiliary collaborative control device, the attribute information of the massage equipment within the communication range is obtained using the local area network; According to the attribute information, the auxiliary collaborative control device is used to establish a connection with the massage devices within the communication range and add them to the massage device list.
8. A coordinated control device for a massage device, characterized in that: The massage device cooperative control device comprises: a memory and at least one processor, wherein the memory stores instructions; The at least one processor calls the instructions in the memory to enable the cooperative control device of the massage device to execute each step of the cooperative control method of the massage device as described in any one of claims 1-5.
9. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the various steps of the collaborative control method of the massage device as described in any one of claims 1-5 are implemented.
Citation Information
Patent Citations
Linkage control method and system between intelligent devices and computer storage medium
CN112731839A
Wireless Hierarchical Heterogeneous Pico-Net for Ski Control Systems
US20150249482A1