Remote controller dual-line communication control method and device combined with scene analysis
By combining scenario analysis with a two-line communication control method for remote control, the remote control wakes up from sleep mode and queries the toilet receiver, solving the problem of the remote control not being able to receive feedback in a timely manner and achieving the effect of low power consumption and timely response.
Patent Information
- Application Number
- CN202510477236.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-16
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2045-04-16
AI Technical Summary
Traditional remote controls cannot receive feedback from smart devices in a timely manner when in sleep mode, which can lead to device malfunctions or abnormalities that cannot be dealt with promptly, affecting the user experience.
By combining scenario analysis with a two-line communication control method for remote control, the remote control enters sleep mode after sending a short-range transmission control message, and a timer keeps running. When the recommended interval is met, the remote control wakes up and queries the toilet receiver via Bluetooth broadcast channel to ensure timely receipt of feedback information.
While achieving low power consumption, it ensures that the remote control can receive the short-range transmission signal from the toilet receiver in a timely manner, improving the normal operation of the device and the user experience.
Smart Images

Figure CN120185954B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication control technology, specifically to a remote control two-line communication control method and device that incorporates scenario analysis. Background Technology
[0002] With the widespread adoption of smart home devices, remote controls, as an essential tool for controlling these devices, are widely used in various home appliances. However, one of the biggest problems with many traditional remote controls is the conflict between low power consumption and information reception. Typically, to extend battery life, remote controls enter a sleep mode after operation, which means they cannot receive timely feedback from devices (such as toilets and air conditioners). In this case, when the remote control wakes up after a long period of sleep, it may miss alarms or updates to the device's operating status, affecting normal operation and user experience. This is especially true in applications requiring real-time feedback and alarms, such as controlling a smart toilet, where the remote control often cannot receive alarm information or operating status updates while in sleep mode. Traditional communication methods cannot simultaneously meet the demands of low power consumption and real-time information feedback, leading to untimely handling of device malfunctions or anomalies and causing inconvenience to users. Summary of the Invention
[0003] This application provides a remote control dual-line communication control method and device that combines scenario analysis, which solves the technical problem that the Bluetooth remote control cannot receive short-range transmission signals from the toilet receiver in sleep mode, and achieves the technical effect of low power consumption while ensuring that the Bluetooth remote control can receive the short-range transmission signals fed back by the toilet receiver in a timely manner.
[0004] This application provides a remote control dual-line communication control method combining scene analysis. The method includes: when the remote control sends a short-range transmission control message to the toilet receiver, obtaining control content information; performing scene matching based on the control content information to obtain the toilet's operating mode; configuring the Bluetooth communication interval duration based on the toilet's operating mode to obtain a recommended interval duration; after the remote control sends the short-range transmission control message to the toilet receiver, the remote control enters a sleep state, and a timer starts counting from zero; when the recommended interval duration is met, the remote control is woken up and sends an inquiry message to the toilet receiver via a Bluetooth broadcast channel to obtain a reply message from the toilet receiver; when the reply message from the toilet receiver is empty, the remote control continues to enter a sleep state, and the timer restarts counting from zero; when the reply message from the toilet receiver is not empty, the remote control starts working.
[0005] This application also provides a remote control dual-line communication control device that combines scenario analysis, including: a control content information acquisition module: acquiring control content information when the remote control sends a short-range transmission control message to the toilet receiver; a scenario matching module: performing scenario matching based on the control content information to obtain the toilet's working mode; an interval duration configuration module: configuring the Bluetooth communication interval duration based on the toilet's working mode to obtain a recommended interval duration; a reply message acquisition module: after the remote control sends a short-range transmission control message to the toilet receiver, the remote control enters a sleep state, and the timer starts counting from zero. When the recommended interval duration is met, the remote control is woken up and sends an inquiry message to the toilet receiver through the Bluetooth broadcast channel to obtain a reply message from the toilet receiver; a first reply message judgment module: when the reply message from the toilet receiver is empty, the remote control continues to enter a sleep state, and the timer restarts counting from zero; a second reply message judgment module: when the reply message from the toilet receiver is not empty, the remote control starts working.
[0006] This application proposes a remote control dual-line communication control method and device that combines scenario analysis. When the remote control sends a short-range transmission control message to the toilet receiver, it obtains control content information. Based on the control content information, it performs scenario matching to obtain the toilet's operating mode. Based on the toilet's operating mode, it configures the Bluetooth communication interval duration to obtain a recommended interval duration. After sending the short-range transmission control message to the toilet receiver, the remote control enters a sleep state, and a timer starts counting from zero. When the recommended interval duration is met, the remote control is awakened and sends an inquiry message to the toilet receiver via the Bluetooth broadcast channel, receiving a reply message from the toilet receiver. If the toilet receiver's reply message is empty, the remote control returns to a sleep state, and the timer restarts counting from zero. If the toilet receiver's reply message is not empty, the remote control begins operation. This solves the technical problem that the Bluetooth remote control cannot receive short-range transmission signals from the toilet receiver in a sleep state, achieving the technical effect of low power consumption while ensuring that the Bluetooth remote control can receive the short-range transmission signals fed back by the toilet receiver in a timely manner. Attached Figure Description
[0007] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings of the embodiments of this disclosure will be briefly described below. Flowcharts are used in this application to illustrate the operations performed by the apparatus according to the embodiments of this application. It should be understood that the preceding or following operations are not necessarily performed precisely in sequence. Instead, various steps can be processed in reverse order or simultaneously as needed. Furthermore, other operations can be added to these processes, or one or more steps can be removed from these processes.
[0008] Figure 1This is a schematic flowchart of a remote control two-line communication control method that incorporates scenario analysis, provided in an embodiment of this application.
[0009] Figure 2 A schematic diagram of a remote control dual-line communication control device that incorporates scenario analysis, provided as an embodiment of this application.
[0010] Explanation of reference numerals in the attached diagram: Module 1 for obtaining control content information, Module 2 for scene matching, Module 3 for interval duration configuration, Module 4 for obtaining reply messages, Module 5 for judging the first reply message, and Module 6 for judging the second reply message. Detailed Implementation
[0011] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application.
[0012] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description of this application will be provided in conjunction with the accompanying drawings. The described embodiments should not be considered as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0013] In the following description, references to "some embodiments" describe a subset of all possible embodiments. However, it is understood that "some embodiments" can be the same or different subsets of all possible embodiments and can be combined with each other without conflict. The terms "first" and "second" are used merely to distinguish similar objects and do not represent a specific ordering of objects. The terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or server that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or modules not explicitly listed or inherent to these processes, methods, products, or apparatuses. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only.
[0014] This application provides a remote control two-wire communication control method that incorporates scenario analysis, such as... Figure 1 As shown, the method includes:
[0015] When the remote control sends a short-range transmission control message to the toilet receiver, it obtains the control content information.
[0016] In this embodiment of the application, when the remote control sends a short-range transmission control message to the toilet receiver, the remote control will extract detailed content related to the current operation based on the sent control message. This content may include specific function requests (such as cleaning mode, temperature adjustment, toilet heating, etc.), operating parameters (such as water flow intensity, heating temperature), and other instructions related to the operation of the toilet. By obtaining this control content information, the remote control can clearly determine the operation that needs to be performed and provide a basis for subsequent scene matching and working mode configuration.
[0017] Based on the control content information, scene matching is performed to obtain the toilet's working mode.
[0018] In one embodiment, the control content information sent by the remote control is analyzed and matched to identify the current usage scenario. For example, the control content may involve different operation types, such as washing mode, drying mode, or warm water rinsing. Through scenario matching, the working state or mode of the toilet, i.e., the toilet working mode, can be determined based on these instructions. For example, if the instruction sent by the remote control is to start the washing function, it will be matched with the washing scenario, thereby setting the working mode of the toilet to washing mode. This scenario matching process ensures that the communication between the remote control and the toilet can make appropriate responses and adjustments according to actual operational needs.
[0019] Furthermore, this application provides a method for obtaining the toilet's operating mode by performing scene matching based on the control content information, including:
[0020] Based on the control content information, an operation instruction sequence is obtained; based on the operation type matching database, the operation instruction sequence is identified to obtain an operation type calibration sequence; the operation type calibration sequence is set as the toilet's working mode.
[0021] Preferably, the control content information sent by the remote control includes multiple instructions, each representing a specific operation or function request. These instructions are arranged in the order selected by the user, forming an operation instruction sequence. For example, the control content information may include instructions such as starting the cleaning function, setting the water temperature to 40°C, and activating the drying function. These instructions are combined to form an operation sequence. Subsequently, each instruction in the operation instruction sequence is compared with a pre-established operation type matching database. This operation type matching database stores the types of different operations and their corresponding identifiers. For example, the operation type matching database identifies the cleaning function as a cleaning mode, and water temperature adjustment as a temperature control mode, etc. By comparing each instruction in the operation instruction sequence... The system matches commands, assigning each command a specific operation type identifier. These identifiers are then arranged in the order of the command sequence to obtain an operation type calibration sequence. For example, starting the cleaning function is calibrated as cleaning mode, setting the water temperature to 40°C is calibrated as temperature control mode, and activating the drying function is calibrated as drying mode. This calibration sequence is used as the toilet's current operating mode. In other words, the toilet's operating mode will dynamically adjust according to the calibration sequence to reflect the specific command and intention issued by the remote control, thereby achieving precise control and response and ensuring that each control command sent by the remote control can accurately trigger the corresponding operating mode.
[0022] Configure the Bluetooth communication interval duration based on the toilet's operating mode to obtain the recommended interval duration.
[0023] In one embodiment, based on the toilet's operating mode, the current operation type and usage scenario are analyzed to configure a suitable Bluetooth communication interval. The operating mode reflects the toilet's current state, such as washing mode or heating mode. Different operating modes may require different wake-up intervals. For example, in washing mode, the toilet may require frequent feedback and control, while in heating mode, the feedback frequency can be relatively low. Based on these requirements, an individual interval is configured for each operating mode. After the individual interval is configured, all involved modes are treated as a whole, and an overall interval is configured. Subsequently, the configured individual intervals and the overall interval are compared, and the interval most suitable for the current toilet's operating mode is selected as the recommended interval for the toilet. This recommended interval is the time the remote control needs to wait after sending a short-range transmission control message during Bluetooth communication. This recommended interval will be reasonably adjusted according to the complexity of the operation and the feedback situation to ensure that the remote control can both sleep with low power and respond promptly to changes in the toilet's state.
[0024] Furthermore, this application provides a method for configuring the Bluetooth communication interval based on the toilet's operating mode to obtain a recommended interval, including:
[0025] The toilet operating mode includes an operation type calibration sequence; the operation type calibration sequence is traversed to configure the individual interval duration, and a set of individual interval duration configuration results is obtained; the operation type calibration sequence is configured with an overall interval duration, and an overall interval duration configuration result is obtained; the minimum value between the individual interval duration configuration result set and the overall interval duration configuration result is extracted and set as the recommended interval duration.
[0026] Optionally, the obtained toilet operating mode includes an operation type calibration sequence. This operation type calibration sequence is a detailed description of the toilet's operational requirements, containing the calibration results for each operation type. For example, operation types such as washing and temperature control, and their order. Each operation type in the calibration sequence is iterated over, and for each operation type, an independent interval duration is configured based on historical data. For example, if the operation type is washing, the appropriate interval time in the washing mode is calculated based on historical washing records. This process generates a corresponding interval duration for each operation type, i.e., a separate interval duration configuration result. By summarizing the separate interval duration configuration results for each operation type, a separate interval duration configuration result set is formed. Furthermore, the execution order and overall requirements of the entire operation type calibration sequence are considered, and a global interval duration configuration is performed based on historical data. For example, if an operation sequence contains multiple modes, such as washing and heating, a set of interval durations will be generated. The set includes historical data of the same pattern, and an overall interval duration configuration result is calculated based on this historical data. This result applies to the entire operation sequence, not just a single operation type. Finally, all durations in the individual interval duration configuration result set are compared with the overall interval duration configuration result, and the minimum value is selected as the recommended interval duration. This is because, under the requirement of low power consumption, it is desirable to minimize the wake-up frequency of the remote control while ensuring that the device feedback is responded to in the shortest possible time. The minimum value means that within a reasonable time range, the remote control can receive feedback and resume operation as early as possible. In summary, the wake-up interval of the remote control is precisely configured according to specific operation requirements and feedback time requirements, which can ensure normal device feedback and minimize the power consumption of the remote control.
[0027] Furthermore, this application provides a method for traversing the operation type calibration sequence to configure individual interval durations, thereby obtaining a set of individual interval duration configuration results, including:
[0028] Based on the operation type labeling sequence, extract the first operation type; using the first operation type and toilet model as constraints, collect the first toilet alarm duration record dataset; perform mode analysis on the first toilet alarm duration record dataset to obtain the first individual interval duration configuration result; add the first individual interval duration configuration result to the individual interval duration configuration result set.
[0029] Optionally, the first operation type is extracted sequentially from the operation type calibration sequence. For example, if the first operation in the operation type calibration sequence is the cleaning mode, then the cleaning mode is extracted as the first operation type. This extracted operation type represents the specific mode that the remote control is currently controlling. Subsequently, based on the extracted first operation type and the toilet model as constraints, alarm duration records of the same operation type for toilets of that model are collected from the historical toilet operation log and summarized into a first toilet alarm duration record dataset. For example, if the first operation type is the cleaning mode, the historical toilet operation log will be queried to find alarm duration data for different cleaning processes under the same toilet model. After that, the collected first toilet alarm duration data is processed. Mode analysis is performed on the long record dataset to identify the most frequent alarm duration value in the first toilet alarm duration record dataset. This alarm duration value is used as the first individual interval duration configuration result to reflect the common alarm duration of this toilet model in this mode, indicating the time interval the remote control should wait when this mode is executed. Then, the first individual interval duration configuration result obtained through mode analysis is added to the individual interval duration configuration result set. This individual interval duration configuration result set will contain multiple interval duration configuration results corresponding to operation types determined in the same way. Each result represents the most common interval duration for that operation type, thereby ensuring that the remote control's working cycle and wake-up time can be optimized and adjusted according to different operation modes.
[0030] Furthermore, this application provides an overall interval duration configuration for the operation type calibration sequence to obtain an overall interval duration configuration result, including:
[0031] Using the toilet model and the operation type calibration sequence as constraints, a second toilet alarm duration record dataset is collected; mode analysis is performed on the second toilet alarm duration record dataset to obtain the overall interval duration configuration result.
[0032] Optionally, using the toilet model and operation type calibration sequence as constraints, historical data for the same model within a predetermined time period (determined according to actual needs) is collected from the historical toilet operation log. This data is then compared with the operation type calibration sequence to identify the distance, and data that meets the distance threshold is selected to form a second toilet alarm duration record dataset. Subsequently, the same mode analysis is performed on the collected second toilet alarm duration record dataset to find the alarm duration value with the highest frequency. This alarm duration value is then used as the overall interval duration configuration result, enabling the remote control to set a reasonable interval duration based on historical alarm duration data and actual usage, thereby optimizing response speed and power consumption.
[0033] Furthermore, this application provides a dataset of alarm duration records for the second toilet, constrained by the toilet model and the aforementioned operation type calibration sequence, including:
[0034] Using the toilet model as a constraint, a toilet operation log is collected, which includes a toilet operation type record sequence and a toilet alarm duration record data. The sequence distance between the toilet operation type record sequence and the operation type calibration sequence is calculated. When the sequence distance is less than or equal to the sequence distance threshold, the toilet alarm duration record data is added to the second toilet alarm duration record dataset; otherwise, the toilet operation log is updated.
[0035] Optionally, using the toilet model as a constraint, query historical toilet operation logs for a predetermined time period related to that model. These logs record the operation types and corresponding alarm durations of toilets of the same model during use; each log entry contains a sequence of toilet operation types and alarm durations. Then, compare the toilet operation type sequence in the logs with the operation type calibration sequence, calculating the sequence distance. This distance can be calculated using Hamming distance, which compares two sequences of equal length and counts the number of elements at different positions. If the sequence distance between the calibration sequence and the toilet operation type sequence is small, their operation modes are similar; otherwise, there may be significant differences. After calculating the sequence distance, compare it with a preset sequence distance threshold. This threshold is determined by... The parameters used to measure the degree of sequence matching are usually derived from empirical data or experimental results. If the sequence distance is less than or equal to the threshold, it means that the current operation type sequence is very similar to or completely matches the calibration sequence. In this case, the operation and alarm duration are considered to be related, and the alarm duration record data in the current work log can be added to the second toilet alarm duration record dataset. Conversely, if the sequence distance is greater than the threshold, it means that the current operation type sequence differs greatly from the calibration sequence. In this case, the operation modes of the two sequences are considered to be mismatched, and the alarm duration record data will not be added to the second toilet alarm duration record dataset. Instead, the same operation is performed on the remaining data in the toilet work log. If none of the data in the toilet work log meets the sequence distance threshold, the toilet work log will be updated, that is, the collection time will be extended to ensure that more operation data is saved in the toilet work log, until alarm duration record data that meets the sequence distance threshold is selected.
[0036] Furthermore, this application provides a method for calculating the sequence distance between the toilet operation type record sequence and the operation type labeling sequence, including:
[0037] Calculate the Hamming distance between the toilet operation type record sequence and the operation type calibration sequence; set the Hamming distance as the sequence distance.
[0038] Optionally, when calculating the sequence distance between the toilet operation type recording sequence and the operation type calibration sequence, each operation type in both sequences is compared one by one. The distance is quantified using Hamming distance, a method for measuring the similarity between two sequences. Hamming distance calculates the number of distinct elements at different positions in two sequences of equal length. In other words, each item in the operation type recording sequence and the calibration sequence is checked individually. If the operation types at the same position are different, the count is 1; otherwise, it is not counted. For example, suppose the toilet operation type recording sequence is ["washing mode", "temperature control mode", "heating mode"], and the operation type calibration sequence... Given ["Cleaning Mode", "Heating Mode", "Temperature Control Mode"], we compare the first positions of these two sequences. Since the first position is both "Cleaning Mode", the current Hamming distance is 0. Then we compare the second positions. Since the second positions are "Temperature Control Mode" and "Heating Mode" respectively, the current Hamming distance is 1. Then we compare the third positions. Since the third positions are both "Heating Mode" and "Temperature Control Mode" respectively, the final Hamming distance is 2. After calculating the Hamming distance, this Hamming distance is used as the sequence distance. That is, the value of the Hamming distance will be directly used as an indicator to measure the distance between two sequences. If the sequence distance is small, it means that the two sequences are very similar and the operation types are basically the same. If the sequence distance is large, it means that they have significant differences in operation.
[0039] After the remote control sends a proximity transmission control message to the toilet receiver, the remote control enters sleep mode, and the timer starts counting from zero. When the recommended interval is met, the remote control is woken up and sends an inquiry message to the toilet receiver via the Bluetooth broadcast channel to obtain a reply message from the toilet receiver. If the reply message from the toilet receiver is empty, the remote control returns to sleep mode, and the timer restarts counting from zero. If the reply message from the toilet receiver is not empty, the remote control starts working.
[0040] In one embodiment, after the remote control sends a short-range communication control message (such as starting a cleaning mode or adjusting water temperature) to the toilet, the remote control stops performing other operations and enters a low-power sleep state. In this state, the remote control stops actively sending signals to avoid frequent use of short-range communication and save battery power. Simultaneously, a timer is started, beginning at zero, until a recommended interval is reached. This recommended interval is configured based on previous operation types and scenarios, representing the waiting time the remote control needs to wait before the next short-range communication during its sleep period. This interval aims to balance the need for low-power sleep mode with timely feedback. When the timer reaches the recommended interval, the remote control is woken up and exits sleep mode. Upon waking, the remote control sends an inquiry message to the toilet receiver via Bluetooth broadcast channel to inquire about the toilet's current status or any alarm information. This is a short-range polling mechanism to ensure the remote control periodically receives feedback from the toilet. Feedback information: Based on the current status or needs, the toilet receiver returns a response message. This message may contain the toilet's operating status, alarm information, or other relevant feedback. If the toilet receiver's response message is empty (i.e., there is no abnormality or information requiring feedback), the remote control considers it unnecessary to continue working. Therefore, the remote control re-enters sleep mode, ceasing further operation. Simultaneously, the timer restarts from zero, preparing for the next wake-up cycle. The remote control will then continue waiting for the next polling opportunity. If the toilet receiver's response message is not empty, it indicates that the toilet has some information requiring feedback (such as an alarm, status update, etc.). The remote control will process this information and begin performing further work as needed. This may include displaying alarm information, adjusting the operating mode, or performing other operations based on the feedback message. Through this mechanism, the remote control can operate in a low-power state, while periodic wake-ups and polling ensure timely acquisition and appropriate processing of toilet feedback information.
[0041] In the above text, refer to Figure 1 This paper describes in detail a remote control two-line communication control method incorporating scene analysis according to an embodiment of the present invention. Next, reference will be made to... Figure 2 This invention describes a remote control two-wire communication control device that incorporates scene analysis according to an embodiment of the present invention.
[0042] The remote control dual-line communication control device combining scene analysis according to embodiments of the present invention solves the technical problem that a Bluetooth remote control cannot receive short-range transmission signals from a toilet receiver in sleep mode, achieving the technical effect of low power consumption while ensuring that the Bluetooth remote control can receive short-range transmission signals fed back by the toilet receiver in a timely manner. The remote control dual-line communication control device combining scene analysis includes: a control content information acquisition module 1, a scene matching module 2, an interval duration configuration module 3, a reply message acquisition module 4, a first reply message judgment module 5, and a second reply message judgment module 6.
[0043] Control content information acquisition module 1: Acquires control content information when the remote control sends a short-range transmission control message to the toilet receiver; Scene matching module 2: Performs scene matching based on the control content information to obtain the toilet's working mode; Interval duration configuration module 3: Configures the Bluetooth communication interval duration based on the toilet's working mode to obtain a recommended interval duration; Reply message acquisition module 4: After the remote control sends a short-range transmission control message to the toilet receiver, the remote control enters a sleep state, and the timer starts counting from zero. When the recommended interval duration is met, the remote control is woken up and sends an inquiry message to the toilet receiver via the Bluetooth broadcast channel to obtain a reply message from the toilet receiver; First reply message judgment module 5: If the toilet receiver's reply message is empty, the remote control continues to enter a sleep state, and the timer restarts counting from zero; Second reply message judgment module 6: If the toilet receiver's reply message is not empty, the remote control starts working.
[0044] Furthermore, the scene matching module 2 also includes:
[0045] Based on the control content information, an operation instruction sequence is obtained; based on the operation type matching database, the operation instruction sequence is identified to obtain an operation type calibration sequence; the operation type calibration sequence is set as the toilet's working mode.
[0046] Furthermore, the interval duration configuration module 3 also includes:
[0047] The toilet operating mode includes an operation type calibration sequence; the operation type calibration sequence is traversed to configure the individual interval duration, and a set of individual interval duration configuration results is obtained; the operation type calibration sequence is configured with an overall interval duration, and an overall interval duration configuration result is obtained; the minimum value between the individual interval duration configuration result set and the overall interval duration configuration result is extracted and set as the recommended interval duration.
[0048] Furthermore, the interval duration configuration module 3 also includes:
[0049] Based on the operation type labeling sequence, extract the first operation type; using the first operation type and toilet model as constraints, collect the first toilet alarm duration record dataset; perform mode analysis on the first toilet alarm duration record dataset to obtain the first individual interval duration configuration result; add the first individual interval duration configuration result to the individual interval duration configuration result set.
[0050] Furthermore, the interval duration configuration module 3 also includes:
[0051] Using the toilet model and the operation type calibration sequence as constraints, a second toilet alarm duration record dataset is collected; mode analysis is performed on the second toilet alarm duration record dataset to obtain the overall interval duration configuration result.
[0052] Furthermore, the interval duration configuration module 3 also includes:
[0053] Using the toilet model as a constraint, a toilet operation log is collected, which includes a toilet operation type record sequence and a toilet alarm duration record data. The sequence distance between the toilet operation type record sequence and the operation type calibration sequence is calculated. When the sequence distance is less than or equal to the sequence distance threshold, the toilet alarm duration record data is added to the second toilet alarm duration record dataset; otherwise, the toilet operation log is updated.
[0054] Furthermore, the interval duration configuration module 3 also includes:
[0055] Calculate the Hamming distance between the toilet operation type record sequence and the operation type calibration sequence; set the Hamming distance as the sequence distance.
[0056] The remote control dual-line communication control device with scene analysis provided in the embodiments of the present invention can execute the remote control dual-line communication control method with scene analysis provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0057] Although this application makes various references to certain modules in the apparatus according to the embodiments of this application, any number of different modules can be used and run on user terminals and / or servers. The various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of each functional unit are only for easy distinction between each other and are not intended to limit the scope of protection of this invention.
[0058] The specific embodiments described above do not constitute a limitation on the scope of protection of this application. Those skilled in the art should understand that various modifications, combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A method of controlling two-wire communication of a remote controller in conjunction with scene analysis, characterized by, The application relates to a remote control method for a toilet, and the method comprises the following steps: When a remote controller sends a near field transmission control message to a toilet receiving end, control content information is obtained; Scene matching is performed according to the control content information, and a toilet working mode is obtained; Bluetooth communication interval time length configuration is performed according to the toilet working mode, and a recommended interval time length is obtained; After the remote controller sends the near field transmission control message to the toilet receiving end, the remote controller enters a sleep state, Meanwhile, a timer starts timing from zero, and when the recommended interval time length is met, the remote controller is woken up to send an inquiry message to the toilet receiving end through a Bluetooth broadcast channel, and a toilet receiving end reply message is obtained; When the toilet receiving end reply message is empty, the remote controller continues to enter the sleep state, and the timer starts timing from zero again; When the toilet receiving end reply message is not empty, the remote controller starts working; The scene matching according to the control content information and the toilet working mode are obtained, and the method comprises the following steps: According to the control content information, an operation instruction sequence is obtained; An operation type calibration sequence is obtained by identifying the operation instruction sequence based on an operation type matching database; The operation type calibration sequence is set as the toilet working mode; The toilet working mode comprises an operation type calibration sequence; An individual interval time length configuration result set is obtained by traversing the operation type calibration sequence to perform individual interval time length configuration; An overall interval time length configuration result is obtained by performing overall interval time length configuration on the operation type calibration sequence; The minimum value of the individual interval time length configuration result set and the overall interval time length configuration result is extracted and set as the recommended interval time length. The individual interval time length configuration result set is obtained by traversing the operation type calibration sequence to perform individual interval time length configuration, and the method comprises the following steps:
2. The method of claim 1, wherein, According to the operation type calibration sequence, a first operation type is extracted; A first toilet alarm time length record data set is collected by taking the first operation type and a toilet model as constraints; A first individual interval time length configuration result is obtained by performing mode analysis on the first toilet alarm time length record data set; The first individual interval time length configuration result is added to the individual interval time length configuration result set. The overall interval time length configuration result is obtained by performing overall interval time length configuration on the operation type calibration sequence, and the method comprises the following steps:
3. The method of claim 1, wherein, A second toilet alarm time length record data set is collected by taking a toilet model and the operation type calibration sequence as constraints; The overall interval time length configuration result is obtained by performing mode analysis on the second toilet alarm time length record data set. The second toilet alarm time length record data set is collected by taking a toilet model and the operation type calibration sequence as constraints, and the method comprises the following steps:
4. The method of claim 3, wherein, A toilet working log is collected by taking the toilet model as a constraint, wherein the toilet working log comprises a toilet operation type record sequence and a toilet alarm time length record data; The sequence distance between the toilet operation type record sequence and the operation type calibration sequence is calculated. When the sequence distance is less than or equal to a sequence distance threshold, the toilet alarm duration record data is added to the second toilet alarm duration record data set, otherwise, the toilet operation log is updated.
5. The method of claim 4, wherein, The sequence distance between the toilet operation type record sequence and the operation type calibration sequence is calculated, including: The Hamming distance between the toilet operation type record sequence and the operation type calibration sequence is calculated. The Hamming distance is set as the sequence distance.
6. A remote controller two-wire communication control device incorporating scene analysis, characterized by, The device is used to execute the remote controller double-line communication control method combined with scene analysis according to any one of claims 1-5, including: A control content information obtaining module: when the remote controller sends a near field transmission control message to the toilet receiving end, the control content information is obtained; A scene matching module: scene matching is performed according to the control content information, and the toilet operation mode is obtained; An interval duration configuration module: the Bluetooth communication interval duration is configured according to the toilet operation mode, and the recommended interval duration is obtained; A reply message obtaining module: after the remote controller sends a near field transmission control message to the toilet receiving end, the remote controller enters a sleep state, and a timer starts counting from zero; when the recommended interval duration is met, the remote controller is awakened to send an inquiry message to the toilet receiving end through a Bluetooth broadcast channel, and a toilet receiving end reply message is obtained; A first reply message judging module: when the toilet receiving end reply message is empty, the remote controller continues to enter a sleep state, and the timer starts counting from zero again; A second reply message judging module: when the toilet receiving end reply message is not empty, the remote controller starts working.
Citation Information
Patent Citations
Method and system for processing remote controller connection
CN106131634A
Intelligent closestool control method, electronic equipment, intelligent closestool and storage medium
CN117888606A