A wireless physiotherapy device control method, system, device and medium

By introducing a data transfer host into the wireless physical therapy instrument control system, the problem of increased power and memory consumption caused by the wireless physical therapy instrument control terminal sending a large number of control commands is solved, and efficient control of multiple physical therapy instrument hosts is achieved, extending the life of the equipment and Reduced user costs.

CN118340990BActive Publication Date: 2024-10-01CHONGQING ROB LINKA SCIENCE & TECHNOLOGY CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202410448666.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-15
Publication Date
2024-10-01
Estimated Expiration
2044-04-15

AI Technical Summary

Technical Problem

When the wireless physical therapy device control terminal needs to send a large number of control commands, it will increase the consumption of power and memory, which will accelerate the damage of the equipment and increase the user's cost.

Method used

By introducing a data transfer host into the wireless physical therapy instrument control system, the control commands are obtained and forwarded to the target receiving host, thereby controlling multiple physical therapy instrument hosts and reducing the frequency of use and power consumption of the control end.

Benefits of technology

Distributing control sub-commands through the data transfer host reduces the power and memory consumption of the physical therapy instrument control end, extends the service life of the equipment, and reduces the user's cost of use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118340990B_ABST
    Figure CN118340990B_ABST
Patent Text Reader

Abstract

The present application relates to a wireless physiotherapy instrument control method, system, device and medium, the method comprising: obtaining a control command sent by a physiotherapy instrument control terminal; determining a data transfer host corresponding to the control command from a plurality of physiotherapy instrument hosts; obtaining a plurality of control sub-commands included in the control command; for each of the plurality of control sub-commands, determining a target receiving host corresponding to each control sub-command from a plurality of physiotherapy instrument hosts; receiving the control command using a data transfer host, and forwarding each control sub-command in the control command to a corresponding target receiving host; controlling each target receiving host to execute each corresponding control sub-command. The method solves the problem that when the number of hosts corresponding to the physiotherapy instrument control terminal is relatively large, the physiotherapy instrument control terminal needs to send a large number of control commands, which consumes a large amount of power and memory, accelerates the damage of the physiotherapy instrument control terminal, and leads to an increase in user usage costs.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the development of physical therapy technology, people often use wireless physical therapy devices for auxiliary physical therapy. Conventional wireless physical therapy devices generally output through the control end, then receive operation instructions through the physical therapy host, and then transmit pulse current to the human body through patches or other contact devices connected to the physical therapy host to perform auxiliary physical therapy.

[0003] However, since the physiotherapy instrument control terminal is relatively expensive, when the number of hosts corresponding to the physiotherapy instrument control terminal is relatively large, the physiotherapy instrument control terminal needs to send a large number of control commands, which will consume a lot of power and memory, accelerate the damage of the physiotherapy instrument control terminal, and increase the user's usage cost. Summary of the invention

[0004] In order to overcome the problem that when the number of hosts corresponding to the physiotherapy instrument control end is relatively large, the physiotherapy instrument control end needs to send a large number of control commands, which will consume a large amount of power and memory, accelerate the damage of the physiotherapy instrument control end, and increase the user's usage cost, the present application provides a wireless physiotherapy instrument control method, system, device and medium.

[0005] In the first aspect, in order to solve the above technical problems, the present application provides a wireless physiotherapy device control method, comprising:

[0006] Get the control command sent by the physical therapy device control terminal;

[0007] Determine a data transfer host corresponding to the control command from multiple physical therapy device hosts;

[0008] Acquire multiple control subcommands included in the control command;

[0009] For each of the multiple control subcommands, determining a target receiving host corresponding to each control subcommand from multiple physical therapy device hosts;

[0010] The data transfer host receives the control command and forwards each control subcommand in the control command to the corresponding target receiving host;

[0011] Control each target receiving host to execute each corresponding control subcommand.

[0012] In a second aspect, the present application also provides a wireless physiotherapy instrument control system, comprising:

[0013] The first acquisition module is used to acquire the control command sent by the physical therapy device control terminal;

[0014] A first determination module is used to determine a data transfer host corresponding to the control command from a plurality of physiotherapy apparatus hosts;

[0015] A second acquisition module, used for acquiring a plurality of control sub-commands included in the control command;

[0016] A second determination module is used to determine, for each of the multiple control sub-commands, a target receiving host corresponding to each control sub-command from multiple physiotherapy apparatus hosts;

[0017] A forwarding module, used for receiving the control command by using the data transfer host, and forwarding each control subcommand in the control command to the corresponding target receiving host;

[0018] The execution module is used to control each target receiving host to execute each corresponding control sub-command.

[0019] In a third aspect, the present application also provides a computing device, including a memory, a processor, and a program stored in the memory and running on the processor, and when the processor executes the program, the steps of a wireless physiotherapy device control method as described above are implemented.

[0020] In a fourth aspect, the present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device executes the steps of a wireless physiotherapy device control method.

[0021] The beneficial effect of the present application is: through the control command sent by the physiotherapy instrument control terminal, the data transfer host is determined, and the target receiving host corresponding to each control sub-command in the control command is determined. Then the control command is received by the data transfer host, and each control sub-command in the control command is sent to the corresponding target receiving host for execution by the data transfer host. In this way, the physiotherapy instrument control terminal only needs to send one control command to one physiotherapy instrument host at a time, and it can control multiple physiotherapy instrument hosts to execute the corresponding control sub-command. This method of distributing control sub-commands to multiple target receiving hosts through the data transfer host reduces the frequency of use of the physiotherapy instrument control terminal, consumes less power and memory, slows down the damage of the physiotherapy instrument control terminal, and thus reduces the user's usage cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A flowchart of a wireless physiotherapy device control method for the present application;

[0023] Figure 2 Another flowchart of a wireless physiotherapy device control method of the present application;

[0024] Figure 3 Another flowchart of a wireless physiotherapy device control method of the present application;

[0025] Figure 4 Another flowchart of a wireless physiotherapy device control method of the present application;

[0026] Figure 5 This is a schematic diagram of the structure of a wireless physiotherapy device control system for this application;

[0027] Figure 6 This application discloses a network structure of a wireless physiotherapy device control system. DETAILED DESCRIPTION

[0028] The following examples are provided to further explain and supplement the present application and do not constitute any limitation to the present application.

[0029] The following describes a wireless physiotherapy device control method, system, device and medium according to an embodiment of the present application in conjunction with the accompanying drawings.

[0030] A wireless physiotherapy device control method is disclosed in an embodiment of the present application. The method is applied to a terminal device. In the present application scheme, a controller is used as the execution body to illustrate the present application scheme. The controller is used to execute the steps of a wireless physiotherapy device control method.

[0031] like Figure 1 As shown, the present application provides a wireless physiotherapy device control method, comprising:

[0032] Step S1, obtaining a control command sent by a physical therapy device control terminal;

[0033] Step S2, determining a data transfer host corresponding to the control command from a plurality of physiotherapy apparatus hosts;

[0034] Step S3, obtaining multiple control sub-commands included in the control command;

[0035] Step S4, for each of the multiple control sub-commands, determining a target receiving host corresponding to each control sub-command from multiple physiotherapy apparatus hosts;

[0036] Step S5, using the data transfer host to receive the control command, and forwarding each control subcommand in the control command to the corresponding target receiving host;

[0037] Step S6, controlling each target receiving host to execute each corresponding control sub-command.

[0038] The present embodiment provides a method for controlling a wireless physiotherapy instrument, which determines the data transfer host and the target receiving host corresponding to each control sub-command in the control command through the control command sent by the physiotherapy instrument control terminal. Then, the control command is received by the data transfer host, and each control sub-command in the control command is sent to the corresponding target receiving host for execution by the data transfer host. In this way, the physiotherapy instrument control terminal only needs to send one control command to one physiotherapy instrument host at a time, and it can control multiple physiotherapy instrument hosts to execute the corresponding control sub-command. This method of distributing control sub-commands to multiple target receiving hosts through the data transfer host reduces the frequency of use of the physiotherapy instrument control terminal, consumes less power and memory, slows down the damage of the physiotherapy instrument control terminal, and thus reduces the user's usage cost.

[0039] In some embodiments, the number of physiotherapy device hosts is greater than or equal to 2, the number of data transfer hosts is 1, and the data transfer host connected each time is not necessarily the same, determined according to the actual connection situation. The number of target receiving hosts is at least 1, and can be multiple. The data transfer host can also be used as a target receiving host to execute the corresponding control subcommand.

[0040] Optionally, determining a data transfer host corresponding to the control command from a plurality of physiotherapy apparatus hosts includes:

[0041] Obtain the transfer terminal information included in the control command;

[0042] A first target host matching the transfer terminal information is determined among multiple physiotherapy apparatus hosts, and the first target host is used as a data transfer host.

[0043] In this embodiment, if the transfer terminal information in the control command is consistent with the information of the data transfer host to be determined, it is only necessary to match multiple physical therapy device hosts to determine the first target host that matches the transfer terminal information, and use the first target host as the data transfer host. Compared with the method of asking each physical therapy device host in turn whether it is a data transfer host, the method of this embodiment can reduce the time and memory space used for multiple data accesses, and improve the efficiency of determining the data transfer host.

[0044] Figure 2 Another flowchart of a wireless physiotherapy device control method of the present application is shown in FIG. Figure 2As shown, the remote control (physiotherapy instrument control end) adjusts the host parameters and switches to the synchronization byte and communication channel of the repeater (data transfer host) to send data (control commands). If a physiotherapy instrument host (repeater) receives the data, the data address of the physiotherapy instrument host that received the data is used as the current repeater (data transfer). The repeater processes the received data, and at the same time, the repeater switches the synchronization byte and communication channel to the synchronization byte and communication channel of the target receiving host, and forwards part of the received data to the target receiving host. After the target receiving host receives the data, it processes the received data, thereby achieving the effect that the remote control (physiotherapy instrument control end) can control multiple physiotherapy instrument hosts by controlling only one repeater, reducing the frequency of use of the remote control (physiotherapy instrument control end) and extending the service life of the remote control (physiotherapy instrument control end).

[0045] Optionally, the transfer end information includes transfer end synchronization byte information and transfer end channel information;

[0046] Determining a first target host that matches the transfer terminal information among multiple physical therapy device hosts, and using the first target host as a data transfer host, includes:

[0047] Acquire host information of each of the multiple physical therapy apparatus hosts, the host information including synchronization byte information and channel information;

[0048] The host information that is the same as the transfer end information among the multiple host information is used as the first target host information;

[0049] The physiotherapy device host corresponding to the first target host information is used as the first target host, and the first target host is used as the data transfer host.

[0050] In this embodiment, the synchronization byte and channel information of each physiotherapy apparatus host are different. When data is transmitted, the data receiving end and the data sending end need to use the same communication channel to communicate data. Therefore, according to the transfer end synchronization byte information and transfer end channel information in the transfer end information, and the synchronization byte information and channel information of each physiotherapy apparatus host, a data transfer host that can communicate data with the physiotherapy apparatus control end can be directly matched, so that the physiotherapy apparatus control end can forward the corresponding control subcommand to each target receiving host through the data transfer host, thereby achieving the purpose of the physiotherapy apparatus control end controlling all target receiving hosts by controlling one physiotherapy apparatus host, reducing the use frequency of the physiotherapy apparatus control end and improving the service life.

[0051] In some embodiments, the synchronization byte is similar to the physical identification address of the MAC address. When the communication channels of the data sending end and the data receiving end are the same, if the synchronization bytes are different, the two cannot send and receive data to each other. The channel refers to the communication channel. The remote control and the host both save all the synchronization bytes and channel lists.

[0052] Figure 3 Another flowchart of a wireless physiotherapy device control method of the present application is shown in FIG. Figure 3 As shown, the remote control (physiotherapy device control end) selects and switches to the synchronization byte of each host to be connected (target receiving host), forms the control sub-command of each host to be connected, and broadcasts the control command containing each control sub-command (sends the control command). If there is no repeater, the remote control sends a broadcast (sends the control command), determines the repeater, and monitors and switches the transfer end information to the synchronization byte and communication channel of the determined repeater. If there is already a repeater, the control command is sent to the repeater (data transfer host), and the communication channel of the repeater is monitored at the same time, and then the repeater forwards each control sub-command in the control command to the corresponding host to be connected (target receiving host). After each host to be connected executes the corresponding control sub-command, execution data is generated, and the execution data is sent back to the repeater through broadcast. The repeater performs data processing on the returned execution data. At this time, there are still physical therapy device hosts waiting to be connected. The physical therapy device control end continues to broadcast through the data relay host (the data relay host forwards the control sub-command in the control command), and forwards it to other physical therapy device hosts with different channels and different synchronization bytes. After the unconnected physical therapy device hosts receive the broadcast data (control sub-command), they execute according to the broadcast data, obtain the execution data, and then feed back the execution data to the physical therapy device control end through the data relay host to establish a connection with it for data interaction.

[0053] Optionally, for each of the multiple control subcommands, determining a target receiving host corresponding to each control subcommand from multiple physiotherapy apparatus hosts includes:

[0054] For each control subcommand in the plurality of control subcommands, obtaining receiving end information included in each control subcommand;

[0055] A second target host matching the receiving end information is determined among multiple physiotherapy apparatus hosts, and the second target host is used as the target receiving host corresponding to each control subcommand.

[0056] In this embodiment, if the receiving end information in each control subcommand is consistent with the information of the target receiving host to be determined, it is only necessary to match multiple physical therapy device hosts to determine the second target host that matches each receiving end information, and use the second target host as the target receiving host corresponding to each control subcommand. Compared with the method of asking each physical therapy device host whether it is the target receiving host for each control subcommand, the method of this embodiment can reduce the time and memory space occupied by multiple data accesses, and improve the efficiency of determining the target receiving host corresponding to each control subcommand.

[0057] Optionally, the receiving end information includes receiving end synchronization byte information and receiving end channel information;

[0058] Determining a second target host that matches the receiving end information among multiple physiotherapy apparatus hosts, and using the second target host as a target receiving host corresponding to each control subcommand, including:

[0059] Acquire host information of each of the multiple physical therapy apparatus hosts, the host information including synchronization byte information and channel information;

[0060] Using the host information that is the same as the receiving end information among the multiple host information as the second target host information;

[0061] The physiotherapy device host corresponding to the second target host information is used as the second target host, and the second target host is used as the target receiving host corresponding to each control sub-command.

[0062] In this embodiment, the synchronization byte and channel information of each physiotherapy apparatus host are different. When data is transmitted, the data receiving end and the data sending end need to use the same communication channel to perform data communication. Therefore, according to the receiving end synchronization byte information and the receiving end channel information in the receiving end information, and the synchronization byte information and channel information of each physiotherapy apparatus host, the target receiving host that can receive each control subcommand can be directly matched, and each control subcommand can be communicated through the only route between the corresponding target receiving host and the data transfer host. It is convenient to realize the subsequent accurate transmission and safe transmission of each control subcommand, thereby improving the communication efficiency between the data transfer host and each target receiving host.

[0063] Optionally, the method further comprises:

[0064] When the data transfer host is in an abnormal state, obtain a new control command sent by the physical therapy device control terminal;

[0065] Determine a new data transfer host corresponding to a new control command from multiple physical therapy device hosts;

[0066] Acquire multiple new control sub-commands included in the new control command;

[0067] For each of the multiple new control subcommands, determine a new target receiving host corresponding to each new control subcommand from multiple physical therapy device hosts;

[0068] Using a new data transfer host to receive a new control command, and forwarding each new control subcommand in the new control command to a corresponding new target receiving host;

[0069] Control each new target receiving host to execute each corresponding new control subcommand.

[0070] In this embodiment, when the data transfer host is in an abnormal state, the data transfer host cannot receive the control command sent by the therapy instrument control terminal, and / or forward each control sub-command in the control command, so it is necessary to re-acquire the new control command sent by the therapy instrument control terminal, and determine the new data transfer host corresponding to the new control command from multiple therapy instrument hosts until the new data transfer host is no longer in an abnormal state. In this way, when the data transfer host communication is abnormal, it can be replaced with a new data transfer host to receive the control command sent by the therapy instrument control terminal and forward each control sub-command in the control command, so that when the original data transfer host communication is abnormal and the therapy instrument control terminal cannot control each target receiving host, the data communication when the therapy instrument control terminal controls each target receiving host can be restored in time, so as to realize the timeliness and correct transmission and reception of data in the network.

[0071] Optionally, when the data transfer host is in an abnormal state, obtaining a new control command sent by the physical therapy device control terminal includes:

[0072] Control the physical therapy instrument control terminal to send query instructions to the data transfer host;

[0073] After the physiotherapy device control end fails to receive the response information fed back by the data transfer host based on the query instruction, the physiotherapy device control end is controlled to send the query instruction according to the preset periodic polling;

[0074] Record the number of times the query command is sent by polling, and after the control end of the physiotherapy instrument receives the response information from the data transfer host based on the feedback of the query command, the number of times the query command is sent is cleared;

[0075] When the number of transmissions reaches a preset threshold, it is determined that the data transfer host is in an abnormal state, and a new control command sent by the physiotherapy device control end is obtained.

[0076] In this embodiment, when the data transfer host can receive the control command sent by the physiotherapy instrument control terminal, and forward each control subcommand in the control command, it means that the data transfer host can perform data transmission and reception. At this time, after the data transfer host receives the query command sent by the physiotherapy instrument control terminal, it will send a response message to the physiotherapy instrument control terminal. When the data transfer host is in an abnormal state, the data transfer host cannot receive the control command sent by the physiotherapy instrument control terminal, and / or forward each control subcommand in the control command, which means that the data transmission and reception function of the data transfer host is abnormal. At this time, after the data transfer host receives the query command sent by the physiotherapy instrument control terminal, it will not send a response message to the physiotherapy instrument control terminal. In some cases, when there is a network delay, a transient failure of the data transfer host, or human interference in the communication of the data transfer host, the data transfer host cannot send a response message to the physiotherapy instrument control terminal in time. Therefore, when the physiotherapy instrument control terminal does not receive the response information fed back by the data transfer host based on the query command, the physiotherapy instrument control terminal is controlled to poll and send the query command according to a preset period, and the number of times the query command is sent by polling is recorded. If the number of transmissions is less than the preset threshold, it means that the data transfer host can realize the data receiving and sending function. If the number of transmissions reaches the preset threshold, it means that the data transfer host's receiving and sending function is abnormal. At this time, a new control command sent by the physical therapy device control end is obtained until the re-determined data transfer host can perform the data receiving and sending function. In this way, when the data transfer host is abnormal, the data transfer host can be replaced in time, and the data communication of the control command sent by the physical therapy device control end can be restored in time, so that each target receiving host can be controlled in time to execute the corresponding target sub-command.

[0077] In some embodiments, the query command is a subcommand in the control command sent by the physiotherapy apparatus host, or a command for querying whether the data transfer host can communicate with the physiotherapy apparatus host and each target receiving host. The number of times of sending includes the first time that the physiotherapy apparatus control terminal sends the query command to the data transfer host, and each time that the physiotherapy apparatus control terminal is controlled to poll and send the query command according to a preset period.

[0078] Figure 4 Another flowchart of a wireless physiotherapy device control method of the present application is shown in FIG. Figure 4As shown, the remote control (physical therapy device control end) sends a query message, and the query synchronization byte is the same as the X in the transfer end information. The connection status of the forwarding node (data transfer host), which represents the normal data transmission and reception status or the abnormal status. The remote control waits for 200ms. If the forwarding node (data transfer host) replies with a response message to the remote control, it returns to the remote control and determines that the forwarding node represents the normal data transmission and reception status. The remote control sends a query message once, waits for 200ms, and records the number of times the remote control sends the query message. If the forwarding node does not reply to the remote control, the remote control resends the query message and waits for 200ms again. The number of times the remote control sends the query message is recorded until the forwarding node replies to the remote control. It is determined that the forwarding node represents the normal data transmission and reception status. If the number of transmissions reaches 5 times, that is, the forwarding node has not replied for more than 5 times, then other physical therapy device hosts are matched and connected to new forwarding nodes. If the relay connection of all physiotherapy apparatus hosts fails to switch, the forwarding node cannot be determined, which will cause data loss. The remote control will rebroadcast and send a control command to connect the forwarding node. If all physiotherapy apparatus hosts fail to switch during the relay connection, the synchronization byte in the relay end information will be switched to Y, which is the same as the synchronization byte of another physiotherapy apparatus host, and the host with the synchronization byte Y will be used as the forwarding node. That is, the remote control polls the status of the relay host (once every 200ms). If there is no response for more than 5 times, the host will be switched to another connected host. After switching the forwarding node, the forwarding node polls other hosts in the network node to notify that the forwarding node has been switched until all nodes have confirmed.

[0079] like Figure 5 As shown, the present application provides a wireless physiotherapy instrument control system, comprising:

[0080] The first acquisition module is used to acquire the control command sent by the physical therapy device control terminal;

[0081] A first determination module is used to determine a data transfer host corresponding to the control command from a plurality of physiotherapy apparatus hosts;

[0082] A second acquisition module, used for acquiring a plurality of control sub-commands included in the control command;

[0083] A second determination module is used to determine, for each of the multiple control sub-commands, a target receiving host corresponding to each control sub-command from multiple physiotherapy apparatus hosts;

[0084] A forwarding module, used for receiving the control command by using the data transfer host, and forwarding each control subcommand in the control command to the corresponding target receiving host;

[0085] The execution module is used to control each target receiving host to execute each corresponding control sub-command.

[0086] Through the method and system provided by the present application, the physiotherapy instrument control terminal is first connected to one of the multiple physiotherapy instrument hosts, and operation instructions are transmitted to the host in a directional manner, wherein the operation instructions include operation instructions that need to be executed by the host and other hosts. After the host receives the control command sent by the physiotherapy instrument control terminal, it executes the control subcommand that needs to be executed by the host, and distributes the control subcommand that needs to be executed by other hosts to other hosts. By confirming the data transfer host for distribution, the high-frequency use of the physiotherapy instrument control terminal is avoided, and the use time and efficiency of the physiotherapy instrument control terminal are improved. And any host can become a transfer host to connect to the control terminal, which can avoid the long-term use of a transfer host and the consumption of the host.

[0087] Figure 6 It is a network structure of a wireless physiotherapy instrument control system, such as Figure 6 As shown, the network structure includes a controller, a control node remote control (physiotherapy device control end), a forwarding node (data transfer host) and various common nodes (target receiving hosts). Among them, the forwarding node host is a target receiving host. The controller controls the remote control to send a control command to the forwarding node host, and the controller controls the forwarding node host to send each control sub-command in the control command to the corresponding target receiving host. After the controller controls each target receiving host to execute the corresponding control sub-command, the execution data is fed back to the forwarding node host. The controller controls the forwarding node host to send each execution data to the remote control, realizing network communication between the remote control and each target receiving host, so that the remote control can control each target receiving host through the forwarding node host.

[0088] When the remote control needs to control each target receiving host, the controller controls the control node remote control to actively send control commands. The control node only maintains a connection with one forwarding node at the same time. When the remote control needs to send data to the ordinary node, it cannot send the connection directly, but it is transferred through the forwarding node before sending it to the ordinary node. The forwarding node is not limited to target receiving host 1 or target receiving host 2. The target receiving host that is connected to the remote control first is changed to the forwarding node first. When the forwarding node fails and there is no response, the remote control actively switches other available ordinary nodes to the forwarding node to continue to maintain the network communication status. When the host needs to send data, it is also sent to the forwarding node first and then reported to the remote control control end.

[0089] There is one data transfer host, which is determined according to the actual connection situation. The data transfer host for each connection is not necessarily the same. The number of target receiving hosts is at least one, and can be multiple.

[0090] Optionally, the first determining module is specifically configured to:

[0091] Obtain the transfer terminal information included in the control command;

[0092] A first target host matching the transfer terminal information is determined among multiple physiotherapy apparatus hosts, and the first target host is used as a data transfer host.

[0093] Optionally, the first determining module is specifically configured to:

[0094] Determining a first target host that matches the transfer terminal information among multiple physical therapy device hosts, and using the first target host as a data transfer host, includes:

[0095] Acquire host information of each of the multiple physical therapy apparatus hosts, the host information including synchronization byte information and channel information;

[0096] The host information that is the same as the transfer end information among the multiple host information is used as the first target host information;

[0097] The physiotherapy device host corresponding to the first target host information is used as the first target host, and the first target host is used as the data transfer host.

[0098] Optionally, the second determining module is specifically configured to:

[0099] For each control subcommand in the plurality of control subcommands, obtaining receiving end information included in each control subcommand;

[0100] A second target host matching the receiving end information is determined among multiple physiotherapy apparatus hosts, and the second target host is used as the target receiving host corresponding to each control subcommand.

[0101] Optionally, the second determining module is specifically configured to:

[0102] Determining a second target host that matches the receiving end information among multiple physiotherapy apparatus hosts, and using the second target host as a target receiving host corresponding to each control subcommand, including:

[0103] Acquire host information of each of the multiple physical therapy apparatus hosts, the host information including synchronization byte information and channel information;

[0104] Using the host information that is the same as the receiving end information among the multiple host information as the second target host information;

[0105] The physiotherapy device host corresponding to the second target host information is used as the second target host, and the second target host is used as the target receiving host corresponding to each control sub-command.

[0106] Optionally, the system further includes an exception handling module, the exception handling module being specifically configured to:

[0107] When the data transfer host is in an abnormal state, obtain a new control command sent by the physical therapy device control terminal;

[0108] Determine a new data transfer host corresponding to a new control command from multiple physical therapy device hosts;

[0109] Acquire multiple new control sub-commands included in the new control command;

[0110] For each of the multiple new control subcommands, determine a new target receiving host corresponding to each new control subcommand from multiple physical therapy device hosts;

[0111] Using a new data transfer host to receive a new control command, and forwarding each new control subcommand in the new control command to a corresponding new target receiving host;

[0112] Control each new target receiving host to execute each corresponding new control subcommand.

[0113] Optionally, the exception handling module is specifically used to:

[0114] Control the physical therapy instrument control terminal to send query instructions to the data transfer host;

[0115] After the physiotherapy device control end fails to receive the response information fed back by the data transfer host based on the query instruction, the physiotherapy device control end is controlled to send the query instruction according to the preset periodic polling;

[0116] Record the number of times the query command is sent by polling, and after the control end of the physiotherapy instrument receives the response information from the data transfer host based on the feedback of the query command, the number of times the query command is sent is cleared;

[0117] When the number of transmissions reaches a preset threshold, it is determined that the data transfer host is in an abnormal state, and a new control command sent by the physiotherapy device control end is obtained.

[0118] A computing device according to an embodiment of the present application includes a memory, a processor, and a program stored in the memory and running on the processor. When the processor executes the program, some or all steps of the above-mentioned wireless physiotherapy device control method are implemented.

[0119] Among them, the computing device can be a computer, and correspondingly, its program is computer software. The above-mentioned parameters and steps in a computing device of the present application can refer to the parameters and steps in the embodiment of a wireless physiotherapy device control method above, and will not be repeated here.

[0120] In an embodiment of the present application, a computer-readable storage medium is provided, in which instructions are stored. When the instructions are executed, the steps of the above-mentioned wireless physiotherapy device control method are executed.

[0121] The computer-readable storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0122] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method of the embodiment of the present disclosure. The aforementioned computer-readable storage medium may be a non-transitory computer-readable storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes, or a transient computer-readable storage medium.

[0123] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0124] Those skilled in the art know that the present application can be implemented as a system, method or computer program product. Therefore, the present disclosure can be specifically implemented in the following forms, namely: it can be complete hardware, it can be complete software (including firmware, resident software, microcode, etc.), or it can be a combination of hardware and software, generally referred to as "circuit", "module" or "system" herein. In addition, in some embodiments, the present application can also be implemented in the form of a computer program product in one or more computer-readable media, and the computer-readable medium contains computer-readable program code. Computer-readable storage media can be, for example, but not limited to - electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above.

[0125] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0126] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A wireless physiotherapy device control method, characterized in that: include: Get the control command sent by the physical therapy device control terminal; Acquire the transfer end information included in the control command, wherein the transfer end information includes transfer end synchronization byte information and transfer end channel information; Acquire host information of each of the multiple physiotherapy apparatus hosts, wherein the host information includes synchronization byte information and channel information; Using the host information that is the same as the transfer end information among the plurality of host information as the first target host information; The physiotherapy device host corresponding to the first target host information is used as the first target host, and the first target host is used as the data transfer host; Acquire multiple control sub-commands included in the control command; For each of the plurality of control subcommands, determining a target receiving host corresponding to each of the control subcommands from the plurality of physiotherapy apparatus hosts; Utilizing the data transfer host to receive the control command, and forwarding each control subcommand in the control command to a corresponding target receiving host; Control each of the target receiving hosts to execute each corresponding control sub-command.

2. The method according to claim 1, characterized in that For each of the multiple control subcommands, determining a target receiving host corresponding to each of the multiple control subcommands from multiple physical therapy apparatus hosts includes: For each control subcommand in the multiple control subcommands, obtaining receiving end information included in each control subcommand; A second target host matching the receiving end information is determined among multiple physiotherapy device hosts, and the second target host is used as the target receiving host corresponding to each control sub-command.

3. The method according to claim 2, characterized in that The receiving end information includes receiving end synchronization byte information and receiving end channel information; The step of determining a second target host that matches the receiving end information among a plurality of physiotherapy apparatus hosts, and using the second target host as a target receiving host corresponding to each control subcommand, comprises: Acquire host information of each of the multiple physiotherapy apparatus hosts, wherein the host information includes synchronization byte information and channel information; Using the host information identical to the receiving end information among the plurality of host information as the second target host information; The physiotherapy device host corresponding to the second target host information is used as the second target host, and the second target host is used as the target receiving host corresponding to each control sub-command.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When the data transfer host is in an abnormal state, obtaining a new control command sent by the physical therapy device control terminal; Determine a new data transfer host corresponding to the new control command from a plurality of physiotherapy apparatus hosts; Get the new control command Includes several new control subcommands; For each of the multiple new control subcommands, determining a new target receiving host corresponding to each of the new control subcommands from multiple physical therapy apparatus hosts; Utilize the new data transfer host to receive the new control command, and forward each new control subcommand in the new control command to a corresponding new target receiving host; Control each new target receiving host to execute each corresponding new control sub-command.

5. The method according to claim 4, characterized in that When the data transfer host is in an abnormal state, obtaining a new control command sent by the physical therapy device control terminal includes: Control the physical therapy instrument control terminal to send a query command to the data transfer host; After the physiotherapy device control end fails to receive the response information fed back by the data transfer host based on the query instruction, controlling the physiotherapy device control end to poll and send the query instruction according to a preset period; Recording the number of times the query instruction is sent by polling, and after the physiotherapy instrument control terminal receives the response information fed back by the data transfer host based on the query instruction, clearing the number of times the query instruction is sent; When the number of transmissions reaches a preset threshold, it is determined that the data transfer host is in an abnormal state, and a new control command sent by the physiotherapy device control terminal is obtained.

6. A wireless physiotherapy instrument control system, characterized in that: The first acquisition module is used to acquire the control command sent by the physical therapy device control terminal; A first determining module is used to obtain the transfer end information included in the control command, wherein the transfer end information includes the transfer end synchronization byte information and the transfer end channel information; Acquire host information of each of the multiple physiotherapy apparatus hosts, wherein the host information includes synchronization byte information and channel information; Using the host information that is the same as the transfer end information among the plurality of host information as the first target host information; The physiotherapy device host corresponding to the first target host information is used as the first target host, and the first target host is used as the data transfer host; A second acquisition module, used to acquire multiple control sub-commands included in the control command; A second determination module is used to determine, for each of the multiple control sub-commands, a target receiving host corresponding to each control sub-command from the multiple physiotherapy apparatus hosts; A forwarding module, used for receiving the control command by using the data transfer host, and forwarding each control subcommand in the control command to a corresponding target receiving host; An execution module is used to control each of the target receiving hosts to execute each corresponding control sub-command.

7. A computing device comprising a memory, a processor, and a program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the steps of a wireless physiotherapy device control method as described in any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on the terminal device, the terminal device executes the steps of a wireless physiotherapy device control method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Intelligent kitchen host, and work method and control method of intelligent kitchen host

    CN104133386A

  • Household electro-therapeutic instrument system and electro-therapeutic instrument control method

    CN106798964A

  • Centralized remote medical data acquisition system

    CN108769265A

  • Multi-path transmission reinjection control method, electronic equipment and storage medium

    CN116436865A

  • Data pre-caching method and device, equipment and medium

    CN116561080A