Clothes airing machine control method, system and equipment and storage medium
By using broadcast message identification and filtering between the clothes dryer and the remote control terminal, pairing-free control of the clothes dryer is achieved, solving the problems of redundant operation process and power consumption waste in the existing technology, and improving user experience and system efficiency.
Patent Information
- Application Number
- CN202511907604.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-17
- Publication Date
- 2026-02-10
AI Technical Summary
In existing technologies, remote control of clothes drying racks requires network connection via wireless methods such as Bluetooth and Wi-Fi, resulting in redundant operation procedures and wasted power consumption. There is a lack of a way to control them directly using broadcast methods.
By generating and broadcasting a broadcast message containing control commands on the remote control terminal, the clothes dryer scans, receives, identifies, filters, and parses the control commands, thus achieving pair-free control.
It reduces distribution network latency and energy consumption, optimizes control procedures, and improves the degree of freedom of interaction and user experience.
Smart Images

Figure CN121509909A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of smart home devices, and in particular to a clothes drying rack control method, system, device, and storage medium. Background Technology
[0002] With the rapid development of smart home technology, the demand for intelligent control of clothes drying racks, as a commonly used household appliance, is also increasing. The control methods for smart clothes drying racks mainly rely on mobile apps, remote controls, or buttons on the main control board.
[0003] In existing technologies, mobile phones typically need to establish a wireless communication connection with the clothes dryer's main control system via Bluetooth, Wi-Fi, or other methods. Traditional remote controls rely on infrared signals to send control commands or establish a connection via Bluetooth pairing, resulting in redundant operation procedures and wasted power consumption in maintaining the connection. Furthermore, although Bluetooth technology is already used in the smart home field, its broadcast mode is usually used for device discovery and pairing, lacking a way to directly control the clothes dryer using broadcast. Summary of the Invention
[0004] Based on this, the purpose of the present invention is to provide a clothes drying rack control method, system, device and storage medium, which enables control of the clothes drying rack without pairing by broadcasting broadcast messages with control instructions.
[0005] In a first aspect, this application provides a clothes drying rack control method, applied to a clothes drying rack, the method comprising: Enter broadcast message scanning state and receive the first broadcast message in the preset broadcast channel; wherein, the first broadcast message includes an identification field, a broadcast address and a valid data segment; The first broadcast message is identified and filtered to obtain the second broadcast message; The second broadcast message is parsed to obtain control instructions. According to the control command, the clothes drying machine is controlled to perform corresponding actions.
[0006] In this embodiment, the clothes drying rack receives broadcast messages by scanning, eliminating the need for network configuration operations, effectively saving network configuration latency and energy consumption caused by connections.
[0007] In some possible implementations, the step of identifying and filtering the first broadcast message to obtain the second broadcast message includes: The first broadcast message is identified using a preset target identifier field; Determine whether there is an identifier field in the first broadcast message that is consistent with the target identifier field, and obtain a second broadcast message that contains the target identifier field.
[0008] In this embodiment, the identifier field is obtained from the data packet of the first broadcast message and matched with the target identifier field stored in the clothes drying rack to determine whether the broadcast message comes from a legitimate remote control terminal, thereby filtering the first broadcast message.
[0009] In some possible implementations, the clothes drying rack has at least one remote control terminal address pre-stored, and the method further includes: Obtain the broadcast address from the first broadcast message; The broadcast address of the first broadcast message is compared with the address of the remote control terminal, and broadcast messages whose broadcast addresses match the address of the remote control terminal are selected. The broadcast messages that satisfy the condition that the first broadcast message contains an identifier field that is consistent with the target identifier field, and that the broadcast address in the broadcast message is consistent with the remote control terminal address, are selected to obtain the second broadcast message.
[0010] This application embodiment further filters out valid broadcast messages by performing dual verification of the identifier field and broadcast address in the first broadcast message.
[0011] In some implementations, the valid data segment includes control commands and their corresponding check codes; The step of parsing the second broadcast message to obtain control instructions from the second broadcast message includes: The control command for controlling the clothes dryer and the corresponding check code are obtained from a preset position in the valid data segment of the second broadcast message. The checksum corresponding to the control command is verified. If the verification fails, the control command is discarded; if the verification succeeds, the corresponding control command is extracted.
[0012] In this embodiment of the application, when control commands are written into broadcast messages, a dynamically generated checksum is used to avoid errors in control commands caused by interference during the transmission of broadcast messages, thereby improving system reliability.
[0013] In some possible implementations, entering the broadcast message scanning state and receiving the first broadcast message in a preset broadcast channel includes: Receive broadcast messages from a preset broadcast channel and obtain the signal strength corresponding to the broadcast message; The signal strength of each broadcast message is detected according to a preset signal strength threshold to obtain a first broadcast message whose signal strength is higher than the signal strength threshold.
[0014] This application embodiment filters out broadcast messages that are interfered with or have weak signals by judging the strength of the received signal, thereby reducing the overhead of parsing and verifying weak signal messages.
[0015] Secondly, this application provides a clothes drying rack control method, applied to a remote control terminal, the method comprising: In response to the received control command, a first broadcast message is generated; The first broadcast message is broadcast on a preset broadcast channel so that the clothes drying machine can receive the first broadcast message.
[0016] In some possible implementations, generating a first broadcast message in response to a received control command includes: In response to a received control command, the control command is written into a preset position in the valid data segment of the broadcast message; The first broadcast message is generated based on the valid data segment written.
[0017] Thirdly, this application provides a clothes drying rack control system, comprising: The scanning module is used to enter the broadcast message scanning state and receive the first broadcast message in the preset broadcast channel; wherein, the first broadcast message includes an identification field, a broadcast address and a valid data segment; The filtering module is used to identify and filter the first broadcast message to obtain the second broadcast message; The parsing module is used to parse the second broadcast message and obtain control instructions from the second broadcast message; The control module is used to control the clothes drying machine to perform corresponding actions according to the control instructions.
[0018] Fourthly, this application provides a clothes drying rack device, including a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the clothes drying rack control method described above.
[0019] Fifthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the clothes drying rack control method described above.
[0020] The clothes drying rack control method, system device, and storage medium provided in this application embodiment enable the remote control terminal to respond to control commands generated by user operations, write the control commands into the valid data segment of a broadcast message, generate a first broadcast message, and periodically broadcast the first broadcast message on a preset broadcast channel in a low-power mode. For the clothes drying rack, the rack enters a broadcast message scanning state to obtain the first broadcast message from the preset broadcast channel. Then, the data in the first broadcast message is identified and filtered to obtain a second broadcast message. The filtered second broadcast message is parsed to obtain the corresponding control command, allowing the clothes drying rack to perform corresponding actions according to the control command. The clothes drying rack control method provided in this application embodiment enables pair-free control of the clothes drying rack without network connection, through the remote control terminal's broadcast messages and the clothes drying rack's message identification and filtering. This reduces system power consumption, simplifies control complexity, and improves interaction freedom and user experience. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This is a flowchart illustrating the steps of a clothes drying rack control method provided in Embodiment 1 of this application; Figure 2 A flowchart illustrating the steps for filtering a first broadcast message provided in Embodiment 1 of this application; Figure 3 This is a flowchart illustrating the steps of a clothes drying rack control method provided in Embodiment 2 of this application; Figure 4 This is a schematic diagram of the structure of a clothes drying rack control system provided in Embodiment 3 of this application; Figure 5 This is a structural schematic diagram of a clothes drying rack provided in Embodiment 4 of this application. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the protection scope of this application.
[0024] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the embodiments of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0025] In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims. In the description of this application, it should be understood that the terms "first," "second," "third," etc., are used only to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0026] Furthermore, in the description of this application, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0027] For the intelligent control of smart clothes drying racks, the existing technology usually requires the remote control terminal to establish a wireless communication connection with the clothes drying rack via Bluetooth, Wi-Fi or other wireless methods to transmit control signals. This results in redundancy in the operation process and wasted power due to maintaining the connection.
[0028] In response, this application provides a clothes drying rack control method, system, device, and storage medium. It can write control commands into broadcast messages and send the broadcast messages to the clothes drying rack via broadcast. The clothes drying rack can then filter and select the broadcast messages, parse the filtered broadcast messages to obtain control commands, and control the operation of the clothes drying rack according to the control commands. This enables remote control terminals to control the clothes drying rack without pairing, optimizes the control steps, and improves the degree of freedom of interaction and user experience.
[0029] Example 1 Please see Figure 1 , Figure 1 This is a flowchart illustrating the steps of a clothes drying rack control method provided in Embodiment 1 of this application.
[0030] The clothes drying rack control method provided in this application embodiment is applied to a clothes drying rack, and the method includes: S101, enter the broadcast message scanning state and receive the first broadcast message in the preset broadcast channel; wherein, the first broadcast message includes an identification field, a broadcast address and a valid data segment; S102, the first broadcast message is identified and filtered to obtain the second broadcast message; S103, parse the second broadcast message and obtain control instructions from the second broadcast message; S104, according to the control command, control the clothes drying machine to perform the corresponding action.
[0031] The clothes drying rack control method provided in this embodiment involves, at the clothes drying rack end, initiating a broadcast message scanning state to acquire a first broadcast message from a preset broadcast channel. The data in the first broadcast message is then identified and filtered to obtain a second broadcast message. The filtered second broadcast message is then parsed to obtain corresponding control commands, enabling the clothes drying rack to execute appropriate actions based on these commands. In this embodiment, the clothes drying rack receives broadcast messages through scanning, eliminating the need for network configuration operations, effectively saving network configuration latency and energy consumption caused by connections.
[0032] For step S101, enter the broadcast message scanning state and receive the first broadcast message in the preset broadcast channel.
[0033] The clothes drying rack and the remote control terminal adopt a connectionless broadcast mode. The remote control terminal sends broadcast messages in a one-way broadcast format, and the clothes drying rack only needs to scan a specific channel to receive the broadcast messages without needing to establish a connection with the remote control terminal.
[0034] The clothes drying rack includes a communication module and a main control module. The communication module establishes a communication connection with the main control module through a serial port (e.g., UART, I2C). The communication module sends the received control commands to the main control module through the established communication connection. The main control module is used to control the clothes drying rack to perform corresponding operations according to the received control commands.
[0035] The communication module is installed inside the clothes drying rack. In one embodiment, the communication module includes a Bluetooth module, the first broadcast message is a Bluetooth broadcast message, and the Bluetooth module is in Bluetooth scanning mode to scan and receive Bluetooth broadcast messages. In other embodiments, the communication module is a composite communication module that supports multiple wireless communication protocols, such as including a Bluetooth module and a Wi-Fi module. The Bluetooth module is used to scan broadcast messages, and the Wi-Fi module is used to establish a connection with a control terminal or a cloud server to transmit clothes drying rack data.
[0036] The broadcast channel is an information transmission channel that transmits information via broadcast. The communication module of the clothes drying rack is in Bluetooth scanning mode and listens to a preset broadcast channel, which is a standard broadcast channel defined by the Bluetooth protocol. In one embodiment, it listens to a broadcast channel dedicated to Bluetooth Low Energy devices (e.g., channels 37, 38, and 39).
[0037] Among them, the broadcast message is an end data packet used by the Bluetooth device to actively broadcast its own information, and the first broadcast message is a broadcast message sent by the control terminal through broadcast. The control terminal can be a remote control terminal or other control device with Bluetooth broadcast function.
[0038] In one embodiment, step S101 further includes: Receive broadcast messages from a preset broadcast channel and obtain the signal strength corresponding to the broadcast message; The signal strength of the broadcast message is detected according to a preset signal strength threshold to obtain a first broadcast message whose signal strength is higher than the signal strength threshold.
[0039] The signal strength threshold is used to determine the signal strength of the received broadcast message. A higher signal strength indicates that the remote control terminal is closer or the signal transmission environment is better.
[0040] In this embodiment, by judging the strength of the received signal, broadcast messages that are interfered with or have weak signals are filtered out, reducing the overhead of parsing and verifying weak signal messages and improving the anti-interference capability of the system.
[0041] In this embodiment, the remote control terminal and the clothes drying rack adopt a connectionless broadcast mode. The communication module of the clothes drying rack only needs to periodically scan the broadcast channel to obtain the broadcast message on the specific broadcast channel. It does not need to maintain a one-to-one connection with the remote control terminal, which can effectively reduce power consumption.
[0042] In step S102, the first broadcast message is identified and filtered to obtain the second broadcast message.
[0043] Please see Figure 2 , Figure 2 A flowchart illustrating steps for filtering a first broadcast message according to Embodiment 1 of this application. In some embodiments, step S102 includes: S201, the first broadcast message is identified using a preset target identifier field.
[0044] The target identification field is preset identification data, which may be manufacturer-specific data or service data. In other embodiments, it may also be a key identifier in manufacturer-specific data or service data.
[0045] In one embodiment, the target identification field includes a manufacturer ID and / or a universally unique identifier (UUID), where the manufacturer ID is a unique code identifying the manufacturer to which the remote control terminal belongs. The target identification field is used to determine whether the remote control terminal has authorization to control the clothes dryer.
[0046] The remote control terminal identification code can be a unique identifier for the device. In other embodiments, the remote control terminal identification code can also be an identification code generated based on the device model or name.
[0047] In one embodiment, the clothes dryer pre-stores at least one target identifier field. The target identifier field can be pre-stored before the clothes dryer leaves the factory, or it can be manually added after leaving the factory according to the user's settings.
[0048] S202, determine whether there is an identifier field in the first broadcast message that is consistent with the target identifier field, and obtain a second broadcast message that contains the target identifier field.
[0049] For a first broadcast message obtained by scanning on a preset broadcast channel, the identifier field of the first broadcast message is obtained from the corresponding position of the first broadcast message data packet, and the identifier field is matched with the target identifier field to filter out broadcast messages that do not meet the matching conditions.
[0050] In this embodiment, the identifier field is obtained from the data packet of the first broadcast message and matched with the target identifier field stored in the clothes drying rack to determine whether the broadcast message comes from a legitimate remote control terminal, thereby filtering the first broadcast message.
[0051] According to the inventive concept of this application, the clothes drying rack has at least one remote control terminal address pre-stored, wherein the remote control address is the device address of the remote control terminal bound to the clothes drying rack, and the remote control terminal address is the physical address (i.e., MAC address) of the remote control terminal.
[0052] In one embodiment, when the clothes drying rack is first bound to the remote control terminal, the broadcast address of the remote control terminal is stored as the remote control terminal address in the memory of the clothes drying rack host.
[0053] The method further includes: Obtain the broadcast address from the first broadcast message.
[0054] The broadcast address is the source address of the remote control terminal that sends the first broadcast message. The broadcast address is a unique hardware identifier of the remote control terminal, and a unique remote control terminal that sends information can be identified based on the broadcast address.
[0055] The broadcast address of the first broadcast message is compared with the address of the remote control terminal, and broadcast messages whose broadcast addresses match the address of the remote control terminal are selected.
[0056] In this embodiment, the broadcast address of the remote control terminal is obtained from the data packet of the first broadcast message and matched with the address of the bound remote control terminal to determine that the broadcast message was sent by the remote control terminal bound to the clothes drying machine, and the remaining broadcast messages are filtered out.
[0057] The broadcast message that simultaneously satisfies the following conditions is selected: the first broadcast message contains an identifier field that is consistent with the target identifier field, and the broadcast address in the broadcast message is consistent with the remote control terminal address. This results in the second broadcast message.
[0058] In this embodiment, if multiple remote control terminals of the same brand or model send broadcast messages in a preset broadcast channel at the same time, the bound remote control terminal device can be filtered out by the broadcast address, reducing the probability of false triggering of control commands. By double-checking the identification field in the first broadcast message and the broadcast address, valid broadcast messages can be further filtered out.
[0059] In step S103, the second broadcast message is parsed to obtain control instructions from the second broadcast message.
[0060] The valid data segment includes control commands and their corresponding check codes.
[0061] In one embodiment, a check code corresponding to the control command is generated based on the control command and a preset encoding rule (e.g., CRC16). The clothes dryer verifies the received check code using the same algorithm, thereby determining the integrity and legality of the control command.
[0062] Step S103 includes: S301, obtain the control command for controlling the clothes drying rack and the check code corresponding to the control command from a preset position in the valid data segment of the second broadcast message.
[0063] When the remote control terminal sends a broadcast message, it calculates the corresponding checksum based on the received control command, writes it into the valid data segment of the broadcast message data packet, and stores it in a preset position within the valid data segment. In one embodiment, the control command is set in the first byte after the checksum corresponding to the control command.
[0064] S302, the checksum corresponding to the control command is checked. If the check fails, the control command is discarded; if the check succeeds, the corresponding control command is extracted.
[0065] In one embodiment, the clothes drying rack calculates the check code corresponding to the received control command using the same encoding rules, and matches it with the check code in the second broadcast message. If the check codes match, the verification is successful, and the communication module of the clothes drying rack sends the parsed control command to the main control module, thereby controlling the clothes drying rack to perform corresponding actions (such as controlling the clothes drying rack to rise, fall, and illuminate).
[0066] In this embodiment, when writing control commands into broadcast messages, the use of dynamically generated checksums can prevent interference during broadcast message transmission from causing control command errors, thereby improving system reliability.
[0067] The clothes drying rack control method provided in this application embodiment involves the clothes drying rack continuously scanning a first broadcast message in a specific broadcast channel. Based on the identifier information and / or broadcast address of the first broadcast message, the legality of the sender of the first broadcast message is determined, and the first broadcast message is filtered to obtain a second broadcast message. Then, a control command and its corresponding checksum are parsed from the valid data segment of the second broadcast message. The control command is verified based on the checksum. After successful verification, the clothes drying rack executes the corresponding action according to the parsed control command, thereby achieving control of the clothes drying rack.
[0068] The method provided in this application embodiment enables the remote control terminal and the clothes drying rack to achieve pair-free control of the clothes drying rack without a network connection, through the broadcast messages of the remote control terminal and the recognition and filtering of messages by the clothes drying rack. This reduces system power consumption, reduces control complexity, and improves the degree of interaction freedom and user experience.
[0069] Example 2 Please see Figure 3 , Figure 3 This is a flowchart illustrating the steps of a clothes drying rack control method provided in Embodiment 2 of this application.
[0070] This application provides a clothes drying rack control method applied to a remote control terminal, the method comprising: S501, in response to the received control command, generates the first broadcast message; S502, broadcast the first broadcast message on a preset broadcast channel so that the clothes drying machine can receive the first broadcast message.
[0071] In one embodiment, step S501 includes: In response to a received control command, the control command is written into a preset position in the valid data segment of the broadcast message.
[0072] In one embodiment, the remote control terminal includes several touch buttons, each touch button corresponding to a unique control command according to a preset mapping relationship, used to control the clothes drying rack to perform corresponding operations, such as raising, lowering, and turning lights on and off. In response to the control command generated by the user triggering the touch buttons, the remote control terminal writes the control command into the valid data segment of a broadcast message, generating a first broadcast message.
[0073] In one embodiment, the first broadcast message is a Bluetooth broadcast message, the selected broadcast channel is a low-power Bluetooth broadcast channel, and after the first broadcast message is generated, the first broadcast message is broadcast continuously or intermittently on the Bluetooth broadcast channel. For example, the first broadcast message can be sent periodically according to a preset transmission frequency.
[0074] The clothes drying rack control method provided in this embodiment is largely the same as the clothes drying rack control method in the above embodiments. For specific implementation process, please refer to the steps of the clothes drying rack control method provided in the above embodiments, which will not be elaborated in detail here.
[0075] The clothes drying rack control method provided in this application embodiment involves a remote control terminal responding to a control command generated by a user operation, writing the control command into a preset position in the valid data segment of a broadcast message, and generating a first broadcast message; then, based on the first broadcast message, a low-power Bluetooth broadcast channel is selected to broadcast the control command, thereby enabling the clothes drying rack to receive it.
[0076] Example 3 Thirdly, please refer to Figure 4 , Figure 4 This is a schematic diagram of the structure of a clothes drying rack control system provided in Embodiment 3 of this application.
[0077] This application provides a clothes drying rack control system, including: The scanning module 11 is used to enter the broadcast message scanning state and receive the first broadcast message in the preset broadcast channel; wherein, the first broadcast message includes an identification field, a broadcast address and a valid data segment; Filtering module 12 is used to identify and filter the plurality of first broadcast messages to obtain second broadcast messages; Parsing module 13 is used to parse the second broadcast message and obtain control instructions from the second broadcast message; The control module 14 is used to control the clothes drying machine to perform corresponding actions according to the control instructions.
[0078] It should be noted that the clothes drying rack control system provided in the above embodiments is only illustrated by the division of the above functional modules when executing the clothes drying rack control method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the equipment can be divided into different functional modules to complete all or part of the functions described above. The clothes drying rack control system provided in the above embodiments is used to execute the clothes drying rack control method described in the above embodiments. Its operating method and principle are the same as the clothes drying rack control method described above. That is, the clothes drying rack control system provided in the above embodiments and the clothes drying rack control method belong to the same concept. The implementation process is detailed in the above method embodiments and will not be repeated here.
[0079] Example 4 Fourthly, this embodiment provides a clothes drying rack. Please refer to [link / reference]. Figure 5 , Figure 5 This is a structural schematic diagram of a clothes drying rack device provided in Embodiment 3 of this application. Figure 5 As shown, the clothes drying rack device 21 includes: a processor 210, a memory 211, and a computer program 212 stored in the memory 211 and executable on the processor 210, such as a clothes drying rack control program; the processor 210 executes the computer program 212 to implement the methods described in the above embodiments.
[0080] The processor 210 may include one or more processing cores. The processor 210 connects to various parts within the computer device 21 using various interfaces and lines. It executes various functions of the computer device 21 and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 211, and by accessing data in the memory 211. Optionally, the processor 210 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 210 may integrate one or more of the following: a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), and a modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for the touch screen; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip, rather than integrated into the processor 210.
[0081] The memory 211 may include random access memory (RAM) or read-only memory. Optionally, the memory 211 may include a non-transitory computer-readable storage medium. The memory 211 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 211 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch instructions), instructions for implementing the various method embodiments described above, etc.; the data storage area may store data involved in the various method embodiments described above, etc. Optionally, the memory 211 may also be at least one storage device located remotely from the aforementioned processor 210.
[0082] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0083] Example 5 Fifthly, embodiments of this application also provide a computer-readable storage medium that can store multiple instructions. These instructions are applicable to being loaded by a processor and executing the method steps of the above embodiments. For details of the execution process, please refer to the specific description of the above embodiments, which will not be repeated here.
[0084] The embodiments described above are merely examples of several implementations of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention.
Claims
1. A method for controlling a clothes drying rack, characterized in that, Applied to clothes drying racks, the method includes: Enter broadcast message scanning state and receive the first broadcast message in the preset broadcast channel; wherein, the first broadcast message includes an identification field, a broadcast address and a valid data segment; The first broadcast message is identified and filtered to obtain the second broadcast message; The second broadcast message is parsed to obtain control instructions. According to the control command, the clothes drying machine is controlled to perform corresponding actions.
2. The clothes drying rack control method according to claim 1, characterized in that, The step of identifying and filtering the first broadcast message to obtain the second broadcast message includes: The first broadcast message is identified using a preset target identifier field; Determine whether there is an identifier field in the first broadcast message that is consistent with the target identifier field, and obtain a second broadcast message that contains the target identifier field.
3. The clothes drying rack control method according to claim 2, characterized in that, The clothes drying rack has at least one remote control terminal address pre-stored, and the method further includes: Obtain the broadcast address from the first broadcast message; The broadcast address of the first broadcast message is compared with the address of the remote control terminal, and broadcast messages whose broadcast addresses match the address of the remote control terminal are selected. The broadcast message that simultaneously satisfies the following conditions is selected: the first broadcast message contains an identifier field that is consistent with the target identifier field, and the broadcast address in the broadcast message is consistent with the remote control terminal address. This results in the second broadcast message.
4. The clothes drying rack control method according to claim 1, characterized in that, The valid data segment includes control commands and their corresponding check codes; The step of parsing the second broadcast message to obtain control instructions from the second broadcast message includes: The control command for controlling the clothes dryer and the corresponding check code are obtained from a preset position in the valid data segment of the second broadcast message. The checksum corresponding to the control command is verified. If the verification fails, the control command is discarded; if the verification succeeds, the corresponding control command is extracted.
5. The clothes drying rack control method according to claim 1, characterized in that, The step of entering the broadcast message scanning state and receiving the first broadcast message in the preset broadcast channel includes: Receive broadcast messages from a preset broadcast channel and obtain the signal strength corresponding to the broadcast message; The signal strength of the broadcast message is detected according to a preset signal strength threshold to obtain a first broadcast message whose signal strength is higher than the signal strength threshold.
6. A method for controlling a clothes drying rack, characterized in that, Applied to a remote control terminal, the method includes: In response to the received control command, a first broadcast message is generated; The first broadcast message is broadcast on a preset broadcast channel so that the clothes drying machine can receive the first broadcast message.
7. The clothes drying rack control method according to claim 6, characterized in that, The step of generating a first broadcast message in response to a received control command includes: In response to a received control command, the control command is written into a preset position in the valid data segment of the broadcast message; The first broadcast message is generated based on the valid data segment written.
8. A clothes drying rack control system, characterized in that, include: The scanning module is used to enter the broadcast message scanning state and receive the first broadcast message in the preset broadcast channel; wherein, the first broadcast message includes an identification field, a broadcast address and a valid data segment; The filtering module is used to identify and filter the first broadcast message to obtain the second broadcast message; The parsing module is used to parse the second broadcast message and obtain control instructions from the second broadcast message; The control module is used to control the clothes drying machine to perform corresponding actions according to the control instructions.
9. A clothes drying rack device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the clothes drying machine control method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the clothes drying machine control method as described in any one of claims 1 to 7.