Recovery method for instruction abnormity of intelligent control panel and related equipment

By introducing a command frequency monitoring mechanism into the intelligent control panel, detecting and restarting the panel, the problem of frequent control of IoT devices under unmanned operation is solved, and the stability and user experience of the device are improved.

CN119172422APending Publication Date: 2024-12-20SHENZHEN OURUIBO ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411189471.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

The intelligent control panel frequently automatically controls IoT devices without human operation, resulting in energy waste and user inconvenience, affecting the user experience.

Method used

Introduce a command frequency monitoring mechanism, by receiving device control instructions sent by the intelligent control panel, determine the source of the instruction and the reception frequency. If the frequency is greater than or equal to the preset value, a restart command is sent to restore the intelligent control panel.

Benefits of technology

It effectively solves the problem of intelligent control panels frequently controlling IoT devices due to system reasons due to system reasons, improves the stability and reliability of intelligent control panels, and improves user experience and satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119172422A_ABST
    Figure CN119172422A_ABST
Patent Text Reader

Abstract

The invention relates to the field of Internet of Things equipment, and provides a recovery method for instruction abnormity of an intelligent control panel and related equipment. The method comprises the following steps: receiving an equipment control instruction sent by an intelligent control panel, and determining an instruction source of the equipment control instruction; if the instruction source of the equipment control instruction is a preset source, determining the receiving frequency of the equipment control instruction in a preset time period; and if the receiving frequency of the equipment control instruction is greater than or equal to the preset frequency, determining that the intelligent control panel is abnormal in instruction, and sending a restart instruction to the intelligent control panel to control the intelligent control panel to be restarted. According to the method, the problem that the intelligent control panel frequently controls the Internet of Things equipment under the unmanned operation condition due to system reasons can be effectively solved, and the stability and reliability of the intelligent control panel are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of Internet of Things devices, and in particular to a method for recovering abnormal instructions of an intelligent control panel and related devices. Background Art

[0002] With the rapid development of Internet of Things (IoT) technology, more and more families and businesses are beginning to use smart control panels to manage various IoT devices, such as smart home systems, industrial automation equipment, etc. These smart control panels communicate with IoT devices by connecting to Wi-Fi or Bluetooth, and users can control the device's switch, set parameters, etc. through touch screens or voice commands.

[0003] Although smart control panels bring great convenience, some problems have also arisen in actual applications. One common problem is that smart control panels frequently and automatically control IoT devices without human intervention, such as turning on lights and adjusting air conditioning temperatures from time to time. This not only wastes energy, but also brings inconvenience to users, affects user experience, and even causes customer complaints. Summary of the invention

[0004] The present application provides a method for recovering abnormal instructions of an intelligent control panel and related equipment to solve the technical problem that the intelligent control panel frequently controls Internet of Things devices without human operation due to system reasons.

[0005] A first aspect of an embodiment of the present application provides a method for recovering from an abnormal command of an intelligent control panel, which is applied to a gateway device. The method includes: receiving a device control command sent by an intelligent control panel, and determining a command source of the device control command; if the command source of the device control command is a preset source, determining a frequency of receiving the device control command within a preset time period; if the frequency of receiving the device control command is greater than or equal to the preset frequency, determining that an abnormal command occurs on the intelligent control panel, and sending a restart command to the intelligent control panel to control the restart of the intelligent control panel.

[0006] According to an embodiment of the present application, the method also includes: if the receiving frequency is less than the preset frequency, determining the current controlled device corresponding to the device control instruction; forwarding the device control instruction to the current controlled device so that the current controlled device responds to the device control instruction.

[0007] According to an embodiment of the present application, the method also includes: if the receiving frequency is greater than or equal to the preset frequency, generating an abnormal prompt instruction based on the device control instruction, and feeding back the abnormal prompt instruction to the smart control panel; if the receiving frequency is less than the preset frequency, continuing to monitor the instructions issued by the smart control panel.

[0008] According to an embodiment of the present application, determining the instruction source of the device control instruction includes: obtaining a source tag from the device control instruction; and determining the instruction source according to the source tag.

[0009] According to an embodiment of the present application, the preset source includes at least: a button control source, a voice control source, and a screen touch source.

[0010] According to an embodiment of the present application, determining the reception frequency of the device control instructions within a preset time period specifically includes: determining the timestamps of multiple received device control instructions; determining the number of corresponding device control instructions within the preset time period based on the timestamps; and calculating the reception frequency based on the number of corresponding instructions within the preset time period.

[0011] A second aspect of an embodiment of the present application provides a method for recovering an abnormal smart control panel instruction, which is applied to a smart control panel. The method includes: responding to a user operation, sending a generated device control instruction to a gateway device; receiving a restart instruction from the gateway device in response to the device control instruction; and restarting the smart control panel based on the restart instruction.

[0012] According to a third aspect of an embodiment of the present application, there is provided a device for recovering an abnormal command of an intelligent control panel, which runs on a gateway device. The device comprises: a receiving unit, which is used to receive a device control command sent by an intelligent control panel and determine a source of the device control command; a determining unit, which is used to determine a frequency of receiving the device control command within a preset time period if the source of the device control command is a preset source; and a sending unit, which is used to determine that an abnormal command has occurred in the intelligent control panel if the frequency of receiving the device control command is greater than or equal to the preset frequency, and send a restart command to the intelligent control panel to control the restart of the intelligent control panel.

[0013] The fourth aspect of an embodiment of the present application provides a recovery system for an abnormal command of an intelligent control panel, which runs on an intelligent control panel. The system includes: a sending module, which is used to respond to user operations and send generated device control instructions to a gateway device; a receiving module, which is used to receive a restart instruction from the gateway device in response to the device control instruction; and a restart module, which is used to restart the intelligent control panel based on the restart instruction.

[0014] A fifth aspect of an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements a method for recovering abnormal instructions of the intelligent control panel when executing the computer program.

[0015] A sixth aspect of an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. The computer program is executed by a processor in an electronic device to implement a method for recovering from an abnormality in an instruction of the smart control panel.

[0016] In multiple embodiments of the present application, by introducing an instruction frequency monitoring mechanism, when the receiving frequency of device control instructions from a preset source is greater than or equal to the preset frequency, the smart control panel can be restarted to effectively solve the problem of the smart control panel frequently controlling IoT devices in the absence of human operation due to system reasons, thereby ensuring the stability and reliability of the smart control panel and improving user experience and satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is an application scenario diagram of a method for recovering abnormal intelligent control panel instructions provided in an embodiment of the present application.

[0018] Figure 2 It is a flow chart of the intelligent control panel command abnormality recovery method provided in an embodiment of the present application applied to a gateway device.

[0019] Figure 3 This is a flowchart of a method for recovering an abnormal intelligent control panel instruction provided by another embodiment of the present application.

[0020] Figure 4 This is a flowchart of a method for recovering an abnormal intelligent control panel instruction provided by another embodiment of the present application.

[0021] Figure 5 It is a flow chart of the intelligent control panel instruction abnormality recovery method provided in the embodiment of the present application applied to the intelligent control panel.

[0022] Figure 6 It is an interactive flow chart of the intelligent control panel command abnormality recovery method provided in an embodiment of the present application.

[0023] Figure 7 It is a functional module diagram of the intelligent control panel command abnormality recovery device provided in an embodiment of the present application.

[0024] Figure 8 It is a functional module diagram of the intelligent control panel command abnormality recovery system provided in an embodiment of the present application.

[0025] Fig. 9 It is a structural diagram of a gateway device for implementing a method for recovering abnormal intelligent control panel instructions provided in an embodiment of the present application.

[0026] Fig.10It is a structural schematic diagram of an intelligent control panel that implements a method for recovering an abnormal intelligent control panel instruction provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application is described in detail below with reference to the accompanying drawings and specific embodiments.

[0028] It should be noted that in this application, "at least one" means one or more, and "more than one" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0029] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way. The following embodiments and features in the embodiments may be combined with each other without conflict.

[0030] Combination Figure 1 The application scenario of a method for recovering an abnormal intelligent control panel instruction provided by an embodiment of the present application is described. The gateway device 100 is connected in communication with the intelligent control panel 200, and the gateway device 100 is also connected in communication with the terminal device 300. During the interaction between the gateway device 100 and the intelligent control panel 200 and the terminal device 300, in response to the user triggering a specified control of the control interface in the intelligent control panel 200, the intelligent control panel 200 sends the generated device control instruction to the gateway device 100, and the gateway device 100 forwards the received device control instruction to the terminal device 300 to achieve control of the terminal device 300 (such as an air conditioner). For example, the device parameters of the terminal device 300 are adjusted through the intelligent control panel 200.

[0031] During the interaction between the gateway device 100 and the smart control panel 200 and the terminal device 300, the smart control panel 200 can also be triggered by user voice to generate device control instructions, and the gateway device 100 can receive the device control instructions sent by the smart control panel 200 to achieve control of the terminal device 300.

[0032] During the use of the intelligent control panel, the intelligent control panel frequently controls the terminal devices without human operation. For example, when the intelligent control panel is not operated, the terminal devices such as lights and air conditioners are frequently turned on and off repeatedly. The inventors realize that when the intelligent control panel occasionally controls the terminal devices without human operation due to system problems, the problem of the intelligent control panel frequently controlling the terminal devices without human operation can be solved by restarting the intelligent control panel. However, when such problems occur, the unused intelligent control panel is usually exchanged with the user, resulting in the problem of the intelligent control panel frequently controlling the terminal devices without human operation not being fundamentally solved, and the maintenance cost and maintenance time brought by this method are also relatively high.

[0033] Based on the above problems, the embodiment of the present application provides a method for recovering abnormal instructions of an intelligent control panel. By introducing an instruction frequency monitoring mechanism, when the receiving frequency of the device control instructions from the preset source is greater than or equal to the preset frequency, the intelligent control panel can be restarted to effectively solve the problem of the intelligent control panel frequently controlling the IoT devices without human operation due to system reasons, thereby ensuring the stability and reliability of the intelligent control panel and improving the user experience and satisfaction. Figure 2 The flowchart shown illustrates the method for recovering abnormal instructions of the intelligent control panel provided in an embodiment of the present application.

[0034] The gateway device 100 in the embodiment of the present application can be a computer system or device that provides data conversion services between multiple networks. The network where the gateway device 100 is located includes, but is not limited to: the Internet, wide area network, metropolitan area network, local area network, virtual private network (VPN), etc.

[0035] The smart control panel 200 in the embodiment of the present application can be any electronic product that can perform human-computer interaction with a user. The smart control panel 200 can be a product that is easy for a user to carry, such as a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, a smart wearable device, etc.

[0036] The intelligent control panel 200 is a device that can automatically perform numerical calculations and / or information processing according to a pre-set or stored computer program. Its hardware includes but is not limited to a microprocessor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a digital signal processor (DSP), an embedded device, etc.

[0037] The terminal device 300 in the embodiment of the present application can be a self-moving device such as an automobile device, a lawn mowing device, a sweeping device, a mine clearance device, and a cruise device, or it can be an energy storage device such as a mobile energy storage device, a household energy storage device, or other types of electronic devices (for example, air conditioners, lights), without limitation here.

[0038] like Figure 2 As shown, Figure 2 The flowchart of the method for recovering abnormal intelligent control panel instructions provided by the embodiment of the present application is applied to a gateway device. The method for recovering abnormal intelligent control panel instructions is applied to a gateway device. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0039] S201, receiving a device control instruction sent by the intelligent control panel, and determining the instruction source of the device control instruction.

[0040] In at least one embodiment of the present application, the device control instruction can be used to control the opening and closing of the terminal device, and the device control instruction can also be used to adjust the device parameters of the terminal device. The device control instruction can be triggered when the user touches the specified control of the control interface in the intelligent control panel, the device control instruction can also be generated when the user controls the terminal device by voice, and the device control instruction can also be triggered when the user clicks a button on the intelligent control panel. The source of the device control instruction is not specifically limited in the present application. The device control instruction includes a field indicating the source of the instruction.

[0041] The instruction source indicates the triggering generation method of the device control instruction. For example, if the device control instruction is generated when the user touches the specified control of the control interface in the intelligent control panel, the instruction source corresponding to the device control instruction is determined to be the screen touch source. For another example, if the device control instruction is generated when the user controls the terminal device through voice, the instruction source corresponding to the device control instruction is determined to be the voice control source. For another example, if the device control instruction is generated when the user clicks a button on the intelligent control panel, the instruction source corresponding to the device control instruction is determined to be the button control source, etc.

[0042] In at least one embodiment of the present application, the gateway device determines the instruction source of the device control instruction, including: the gateway device obtains a source tag from the device control instruction, and determines the instruction source according to the source tag.

[0043] The source tag may be a key value of the instruction field, and different source tags represent different instruction sources. For example, if the source tag is screen, the corresponding instruction source is the screen touch source. For another example, if the source tag is voice, the corresponding instruction source is the voice control source.

[0044] This embodiment can accurately determine the source of the device control instruction through the source mark in the device control instruction.

[0045] S202: If the instruction source of the device control instruction is a preset source, determine the frequency of receiving the device control instruction within a preset time period.

[0046] In at least one embodiment of the present application, the preset source at least includes: a key control source, a voice control source, a screen touch source, etc. Preferably, the preset source can be set to a screen touch source.

[0047] In at least one embodiment of the present application, the preset time period can be set according to actual needs. For example, the preset time period can be set to one second, the preset time period can also be set to one minute, etc. The present application does not impose any specific restrictions on the value of the preset time period. The reception frequency indicates the number of device control instructions received by the gateway device from the preset source within the preset time period. For example, the reception frequency is 10 instructions / minute.

[0048] In at least one embodiment of the present application, the gateway device determines the reception frequency of the device control instruction within the preset time period, specifically including: the gateway device determines the timestamps of the received multiple device control instructions, and determines the number of instructions of the corresponding device control instructions within the preset time period according to the timestamps. The gateway device calculates the reception frequency according to the number of instructions corresponding to the preset time period.

[0049] Among them, the timestamp can indicate the time when the intelligent control panel sends the device control instruction to the gateway device, and the timestamp can also indicate the time when the gateway device receives the device control instruction, etc. For example, if the device control instructions whose instruction sources are preset sources include: device control instruction A, device control instruction B, device control instruction C, device control instruction D and device control instruction E, the timestamp of device control instruction A is 10:00:01, the timestamp of device control instruction B is 10:00:02, the timestamp of device control instruction C is 10:00:01, the timestamp of device control instruction D is 10:00:01, and the timestamp of device control instruction E is 10:00:01. If the preset time period is 1 second, the device control instructions determined within 1 second include: device control instruction A, device control instruction C, device control instruction D and device control instruction E. Therefore, the number of instructions is 4 instructions, and the receiving frequency is 4 instructions / second.

[0050] This embodiment can accurately count the number of device control instructions within a preset time period through the timestamp of the device control instructions, thereby accurately determining the reception frequency.

[0051] S203: If the receiving frequency of the device control instruction is greater than or equal to the preset frequency, it is determined that an instruction abnormality occurs in the intelligent control panel, and a restart instruction is sent to the intelligent control panel to control the intelligent control panel to restart.

[0052] In at least one embodiment of the present application, the preset frequency can be set according to actual needs. For example, the preset frequency can be set to 10 / second or 5 / second. The restart instruction is used to control the intelligent control panel to re-instruct to restore the abnormal instruction problem of the intelligent control panel. This embodiment can quickly restore the abnormal instruction problem of the intelligent control panel by restarting the intelligent control panel, thereby improving the maintenance efficiency of the intelligent control panel and improving the stability and reliability of the intelligent control panel.

[0053] In multiple embodiments of the present application, by introducing an instruction frequency monitoring mechanism, when the receiving frequency of device control instructions from a preset source is greater than or equal to the preset frequency, the smart control panel can be restarted to effectively solve the problem of the smart control panel frequently controlling IoT devices in the absence of human operation due to system reasons, thereby ensuring the stability and reliability of the smart control panel and improving user experience and satisfaction.

[0054] like Figure 3 As shown, Figure 3 FIG. 1 is a flowchart of a method for recovering an abnormal intelligent control panel instruction provided by another embodiment of the present application, and the method for recovering an abnormal intelligent control panel instruction is applied to a gateway device. Figure 3As shown, the method for recovering abnormal intelligent control panel instructions may include the following steps S301-S306. According to different requirements, the order of the steps in the flowchart can be changed, and some can be omitted.

[0055] S301, receiving a device control instruction sent by the intelligent control panel, and determining the instruction source of the device control instruction.

[0056] S302: If the instruction source of the device control instruction is a preset source, determine the frequency of receiving the device control instruction within a preset time period.

[0057] The details of steps S301 to S302 can be found in the above Figure 2 The detailed description of steps S201 to S202 is not repeated here.

[0058] S303: Determine whether the reception frequency of the device control instruction is greater than or equal to a preset frequency.

[0059] In at least one embodiment of the present application, the gateway device compares the receiving frequency with the preset frequency. If the receiving frequency of the device control instruction is greater than or equal to the preset frequency, the gateway device executes step S304; if the receiving frequency is less than the preset frequency, the gateway device executes step S305.

[0060] S304, determining that an instruction abnormality occurs in the intelligent control panel, and sending a restart instruction to the intelligent control panel to control the intelligent control panel to restart.

[0061] The details of step S304 can be found in the above Figure 2 The detailed description of step S203 is not repeated here.

[0062] S305: Determine the current controlled device corresponding to the device control instruction.

[0063] In at least one embodiment of the present application, the currently controlled device can be determined based on the control interface of the intelligent control panel, for example, the gateway device obtains device information from the preset position of the current control interface of the intelligent control panel, and determines the currently controlled device based on the obtained device information. The currently controlled device can also be determined from the connected devices of the intelligent control panel, for example, the gateway device obtains all connected devices of the intelligent control panel, the connection time of each connected device with the intelligent control panel, and identifies the currently controlled device from all connected devices based on the connection time and the current time, wherein the currently controlled device can be a terminal device corresponding to the connection time closest to the current time, or a terminal device corresponding based on the device information.

[0064] S306: forward the device control instruction to the current controlled device, so that the current controlled device responds to the device control instruction.

[0065] In the embodiment of the present application, when the receiving frequency of the device control instruction is greater than or equal to the preset frequency, it indicates that the intelligent control panel frequently controls the IoT device. Therefore, by restarting the intelligent control panel to restore the problem of abnormal instructions on the intelligent control panel, the stability and reliability of the intelligent control panel are ensured, and the user experience and satisfaction are improved. When the receiving frequency of the device control instruction is less than the preset frequency, it indicates that the intelligent control panel does not frequently control the IoT device. Therefore, by forwarding the device control instruction to the current controlled device, the current controlled device responds to the device control instruction.

[0066] like Figure 4 As shown, Figure 4 FIG. 1 is a flowchart of a method for recovering an abnormal intelligent control panel instruction provided by another embodiment of the present application, and the method for recovering an abnormal intelligent control panel instruction is applied to a gateway device. Figure 4 As shown, the method for recovering abnormal intelligent control panel instructions may include the following steps S401-S405. According to different requirements, the order of the steps in the flowchart can be changed, and some can be omitted.

[0067] S401, receiving a device control instruction sent by the intelligent control panel, and determining the instruction source of the device control instruction.

[0068] S402: If the instruction source of the device control instruction is a preset source, determine the frequency of receiving the device control instruction within a preset time period.

[0069] The details of steps S401 to S402 can be found in the above Figure 2 The detailed description of steps S201 to S202 is not repeated here.

[0070] S403: Determine whether the reception frequency of the device control instruction is greater than or equal to a preset frequency.

[0071] In at least one embodiment of the present application, if the reception frequency of the device control instruction is greater than or equal to the preset frequency, step S404 is executed; if the reception frequency is less than the preset frequency, step S405 is executed.

[0072] S404, generating an abnormal prompt instruction based on the device control instruction, and feeding back the abnormal prompt instruction to the intelligent control panel.

[0073] In at least one embodiment of the present application, the abnormal prompt instruction may include the reception frequency of the device control instruction, the instruction source of the device control instruction, etc.

[0074] 405, continue to monitor the instructions issued by the intelligent control panel.

[0075] In the embodiment of the present application, when the reception frequency of the device control instruction is greater than or equal to the preset frequency, the abnormal prompt instruction is fed back to the intelligent control panel instead of forwarding the device control instruction to the current controlled device, thereby avoiding the current controlled device from frequently changing parameters to a certain extent when the intelligent control panel has an instruction abnormality. When the reception frequency of the device control instruction is less than the preset frequency, the intelligent control panel is continuously monitored by continuing to monitor the intelligent control panel.

[0076] like Figure 5 , which is a flowchart of the method for recovering abnormal intelligent control panel instructions provided by an embodiment of the present application and applied to the intelligent control panel. The method for recovering abnormal intelligent control panel instructions is applied to the intelligent control panel. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0077] S501, responding to a user operation, sending a generated device control instruction to a gateway device.

[0078] In at least one embodiment of the present application, the user operation may include a user's touch operation on a specified control of a control interface in the intelligent control panel, the user operation may also include a user's click operation on a button in the intelligent control panel, and the user operation may also include a user's control operation on the intelligent control panel through voice. The device control instruction corresponds to the user operation, and different user operations correspond to different device control instructions. For example, different user operations correspond to device control instructions corresponding to different instruction sources.

[0079] S502, receiving a restart instruction from a gateway device in response to a device control instruction.

[0080] In at least one embodiment of the present application, the restart instruction is triggered and generated by the gateway device when it detects that the reception frequency of the device control instruction whose instruction source is a preset source within a preset time period is greater than or equal to the preset frequency.

[0081] S503: Restart the intelligent control panel based on the restart instruction.

[0082] In at least one embodiment of the present application, the intelligent control panel obtains a corresponding reset signal based on the restart instruction, and restarts the intelligent control panel based on the reset signal.

[0083] When receiving a restart instruction sent by a gateway device, the embodiment of the present application recovers the abnormal instruction of the intelligent control panel by restarting the intelligent control panel.

[0084] like Figure 6, is an interactive flow chart of a method for recovering an abnormal command of an intelligent control panel provided by an embodiment of the present application. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted.

[0085] S601, the intelligent control panel responds to the user operation and sends the generated device control instruction to the gateway device.

[0086] For details of step S601, please refer to the above Figure 5 The detailed description of step S501 is omitted here.

[0087] S602, the gateway device receives the device control instruction sent by the intelligent control panel, and determines the instruction source of the device control instruction.

[0088] S603: If the instruction source of the device control instruction is a preset source, the gateway device determines the frequency of receiving the device control instruction within a preset time period.

[0089] S604: The gateway device determines whether the reception frequency of the device control instruction is greater than or equal to a preset frequency.

[0090] S605: If the reception frequency of the device control instruction is greater than or equal to the preset frequency, the gateway device determines that an instruction abnormality occurs in the intelligent control panel, and sends a restart instruction to the intelligent control panel.

[0091] For details of steps S602-S605, please refer to the above Figure 3 The detailed description of steps S301-S304 is not repeated here.

[0092] S606, the intelligent control panel receives a restart instruction from the gateway device in response to the device control instruction.

[0093] S607: The intelligent control panel restarts the intelligent control panel based on the restart instruction.

[0094] For details of steps S606-S607, please refer to the above Figure 5 The detailed description of steps S502-S503 is not repeated here.

[0095] like Figure 7 , which is a functional module diagram of a device for recovering an abnormal intelligent control panel instruction provided by an embodiment of the present application. The device for recovering an abnormal intelligent control panel instruction 11 runs on a gateway device 100. The device for recovering an abnormal intelligent control panel instruction 11 includes a receiving unit 110, a determining unit 111, a sending unit 112, and a monitoring unit 113. The module / unit referred to in the present application refers to a series of computer program segments that can be acquired by a processor 13 and can perform fixed functions, which are stored in a memory 12.

[0096] The receiving unit 110 is used to receive the device control instructions sent by the intelligent control panel and determine the instruction source of the device control instructions; the determining unit 111 is used to determine the receiving frequency of the device control instructions within a preset time period if the instruction source of the device control instructions is a preset source; the sending unit 112 is used to determine that an instruction abnormality occurs in the intelligent control panel if the receiving frequency of the device control instructions is greater than or equal to the preset frequency, and send a restart instruction to the intelligent control panel to control the intelligent control panel to restart.

[0097] In one embodiment, the determination unit 111 is further used to determine the current controlled device corresponding to the device control instruction if the reception frequency is less than the preset frequency; the sending unit 112 is further used to forward the device control instruction to the current controlled device so that the current controlled device responds to the device control instruction.

[0098] According to an embodiment of the present application, the sending unit 112 is also used to generate an abnormal prompt instruction based on the device control instruction if the receiving frequency is greater than or equal to the preset frequency, and to feed back the abnormal prompt instruction to the intelligent control panel; the monitoring unit 113 is used to continue to monitor the instructions issued by the intelligent control panel if the receiving frequency is less than the preset frequency.

[0099] According to an embodiment of the present application, the receiving unit 110 is specifically used to: obtain a source tag from a device control instruction; and determine a source of the instruction according to the source tag.

[0100] According to the embodiment of the present application, the preset sources include at least: a button control source, a voice control source, and a screen touch source.

[0101] According to an embodiment of the present application, the determination unit 111 is specifically used to: determine the timestamps of multiple received device control instructions; determine the number of corresponding device control instructions within a preset time period based on the timestamps; and calculate the reception frequency based on the number of corresponding instructions within the preset time period.

[0102] In multiple embodiments of the present application, by introducing an instruction frequency monitoring mechanism, when the receiving frequency of device control instructions from a preset source is greater than or equal to the preset frequency, the smart control panel can be restarted to effectively solve the problem of the smart control panel frequently controlling IoT devices in the absence of human operation due to system reasons, thereby ensuring the stability and reliability of the smart control panel and improving user experience and satisfaction.

[0103] like Figure 8, is a functional module diagram of a smart control panel instruction abnormality recovery system provided by another embodiment of the present application. The smart control panel instruction abnormality recovery system 21 runs on the smart control panel 200. The smart control panel instruction abnormality recovery system 21 includes a sending module 210, a receiving module 211 and a restart module 212. The module / unit referred to in the present application refers to a series of computer program segments that can be acquired by a processing device 23 and can complete a fixed function, which is stored in a storage device 22.

[0104] The sending module 210 is used to respond to user operations and send the generated device control instructions to the gateway device; the receiving module 211 is used to receive the restart instruction of the gateway device in response to the device control instruction; the restart module 212 is used to restart the intelligent control panel based on the restart instruction.

[0105] When receiving a restart instruction sent by a gateway device, the embodiment of the present application recovers the abnormal instruction of the intelligent control panel by restarting the intelligent control panel.

[0106] like Fig. 9 , which is a schematic diagram of the structure of a gateway device 100 for implementing a method for recovering abnormal smart control panel instructions provided in an embodiment of the present application.

[0107] In one embodiment of the present application, the gateway device 100 includes, but is not limited to, a memory 12, a processor 13, and a computer program stored in the memory 12 and executable on the processor 13, such as a recovery program for abnormal intelligent control panel instructions.

[0108] Those skilled in the art will understand that the schematic diagram is merely an example of the gateway device 100 and does not constitute a limitation on the gateway device 100. The gateway device 100 may include more or fewer components than shown in the diagram, or a combination of certain components, or different components. For example, the gateway device 100 may also include input and output devices, network access devices, buses, etc.

[0109] The processor 13 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 13 is the computing core and control center of the gateway device 100, and uses various interfaces and lines to connect various parts of the entire gateway device 100, and executes the operating system of the gateway device 100 and various installed applications, program codes, etc.

[0110] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 12, and executed by the processor 13 to complete the present application. One or more modules / units may be a series of computer program segments capable of completing specific functions, and the computer program segments are used to describe the execution process of the computer program in the gateway device 100. For example, the computer program may be divided into a receiving unit 110, a determining unit 111, a sending unit 112, and a monitoring unit 113.

[0111] The memory 12 can be used to store computer programs and / or modules. The processor 13 implements various functions of the gateway device 100 by running or executing the computer programs and / or modules stored in the memory 12 and calling the data stored in the memory 12. The memory 12 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the gateway device 100, etc. The memory 12 can include non-volatile and volatile memories, such as: a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other storage devices.

[0112] The memory 12 may be an external memory and / or an internal memory of the gateway device 100. Furthermore, the memory 12 may be a memory in a physical form, such as a memory stick, a TF card (Trans-flash Card), and the like.

[0113] If the module / unit integrated in the gateway device 100 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also instruct the relevant hardware to complete it through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented.

[0114] The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. Computer readable media may include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM).

[0115] Combination Figure 2-Figure 4 As shown, the memory 12 in the gateway device 100 stores a computer program, and the processor 13 can execute the computer program stored in the memory 12 to implement the following Figure 2-Figure 4 The recovery method for the abnormal intelligent control panel instruction is shown.

[0116] Specifically, the specific implementation method of the processor 13 for the above computer program can refer to Figure 2-Figure 4 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0117] like Fig.10 , which is a schematic diagram of the structure of an intelligent control panel that implements a method for recovering an abnormal intelligent control panel instruction provided in an embodiment of the present application.

[0118] In one embodiment of the present application, the intelligent control panel 200 includes, but is not limited to, a storage device 22, a processing device 23, and a computer program stored in the storage device 22 and executable on the processing device 23, such as a recovery program for abnormal intelligent control panel instructions.

[0119] Those skilled in the art will appreciate that the schematic diagram is merely an example of the intelligent control panel 200 and does not constitute a limitation on the intelligent control panel 200. The intelligent control panel 200 may include more or fewer components than shown in the diagram, or a combination of certain components, or different components. For example, the intelligent control panel 200 may also include input and output devices, network access devices, buses, etc.

[0120] The processing device 23 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processing device 23 is the computing core and control center of the intelligent control panel 200, and uses various interfaces and lines to connect various parts of the entire intelligent control panel 200, and executes the operating system of the intelligent control panel 200 and various installed applications, program codes, etc.

[0121] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the storage device 22, and executed by the processing device 23 to complete the present application. One or more modules / units may be a series of computer program segments capable of completing specific functions, and the computer program segments are used to describe the execution process of the computer program in the intelligent control panel 200. For example, the computer program may be divided into a sending module 210, a receiving module 211, and a restarting module 212.

[0122] The storage device 22 can be used to store computer programs and / or modules. The processing device 23 realizes various functions of the intelligent control panel 200 by running or executing the computer programs and / or modules stored in the storage device 22 and calling the data stored in the storage device 22. The storage device 22 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device, etc. The storage device 22 can include non-volatile and volatile memories, such as: a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other storage devices.

[0123] The storage device 22 may be an external memory and / or an internal memory of the intelligent control panel 200. Furthermore, the storage device 22 may be a memory in a physical form, such as a memory stick, a TF card (Trans-flash Card), and the like.

[0124] If the modules / units integrated in the intelligent control panel 200 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also instruct the relevant hardware to complete through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented.

[0125] The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. Computer readable media may include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM).

[0126] Combination Figure 5 The storage device 22 in the intelligent control panel 200 stores a computer program, and the processing device 23 can execute the computer program stored in the storage device 22 to achieve the following Figure 5 The recovery method for the abnormal intelligent control panel instruction is shown.

[0127] Specifically, the specific implementation method of the processing device 23 for the above-mentioned computer program can refer to Figure 5 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0128] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation.

[0129] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0130] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0131] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present application is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present application. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0132] In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any specific order.

[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application and are not intended to limit it. Although the present application has been described in detail with reference to the preferred embodiments, a person of ordinary skill in the art should understand that the technical solution of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present application.

Claims

1. A method for recovering abnormal instructions of an intelligent control panel, characterized in that: Applied to a gateway device, the method comprises: Receiving a device control instruction sent by the intelligent control panel, and determining a source of the device control instruction; If the command source of the device control command is a preset source, determining the reception frequency of the device control command within a preset time period; If the receiving frequency of the device control instruction is greater than or equal to the preset frequency, it is determined that an instruction abnormality occurs in the intelligent control panel, and a restart instruction is sent to the intelligent control panel to control the intelligent control panel to restart.

2. The method for recovering abnormal intelligent control panel instructions according to claim 1, characterized in that: The method further comprises: If the receiving frequency is less than the preset frequency, determining the current controlled device corresponding to the device control instruction; The device control instruction is forwarded to the currently controlled device, so that the currently controlled device responds to the device control instruction.

3. The method for recovering from abnormal intelligent control panel instructions according to claim 1, characterized in that: The method further comprises: If the receiving frequency is greater than or equal to the preset frequency, generating an abnormal prompt instruction based on the device control instruction, and feeding back the abnormal prompt instruction to the intelligent control panel; If the receiving frequency is less than the preset frequency, continue to monitor the instructions issued by the intelligent control panel.

4. The method for recovering from abnormal intelligent control panel instructions according to claim 1, characterized in that: The instruction source for determining the device control instruction includes: Obtaining a source tag from the device control instruction; The source of the instruction is determined according to the source tag.

5. The method for recovering from abnormal intelligent control panel instructions according to claim 1, characterized in that: The preset sources include at least: a button control source, a voice control source, and a screen touch source.

6. The method for recovering abnormal intelligent control panel instructions according to claim 1, characterized in that: The determining the reception frequency of the device control instruction within the preset time period specifically includes: determining timestamps of received multiple device control instructions; Determine, according to the timestamp, the number of device control instructions corresponding to the preset time period; The receiving frequency is calculated according to the number of instructions corresponding to the preset time period.

7. A method for recovering abnormal instructions of an intelligent control panel, characterized in that: Applied to an intelligent control panel, the method comprises: In response to user operations, the generated device control instructions are sent to the gateway device; receiving a restart instruction from the gateway device in response to the device control instruction; Based on the restart instruction, restart the intelligent control panel.

8. A device for recovering abnormal instructions of an intelligent control panel, characterized in that: Running on a gateway device, the device comprises: A receiving unit, used to receive a device control instruction sent by the intelligent control panel, and determine the instruction source of the device control instruction; a determining unit, configured to determine a frequency of receiving the device control instruction within a preset time period if the instruction source of the device control instruction is a preset source; The sending unit is used to determine that an instruction abnormality occurs in the intelligent control panel if the receiving frequency of the device control instruction is greater than or equal to a preset frequency, and send a restart instruction to the intelligent control panel to control the intelligent control panel to restart.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for recovering an abnormality of an intelligent control panel instruction as described in any one of claims 1 to 6 is implemented, or the method for recovering an abnormality of an intelligent control panel instruction as described in claim 7 is implemented.

10. A computer-readable storage medium, characterized in that:The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, it implements the method for recovering the abnormality of the intelligent control panel instruction as described in any one of claims 1 to 6, or implements the method for recovering the abnormality of the intelligent control panel instruction as described in claim 7.