Smart home information processing method and smart home system

By introducing a mechanism for servers to return confirmation signals and execution results in smart home systems, the problems of slow user interface response and redundant processing are solved, and the user experience and system reliability are improved.

CN118944993AInactive Publication Date: 2024-11-12GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411076966.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-11-12
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In traditional smart home systems, when the device execution time is long or the number of devices is large, the user interface responds slowly, and the user may repeatedly send control instructions, resulting in increased system redundancy processing.

Method used

The server returns a confirmation signal to the user, so that the user can promptly understand whether the control command has been received, the execution status of the command in a timely manner, and trace the source and retransmission process when the execution result is a failure to reduce redundant processing.

Benefits of technology

It improves the user experience, reduces waiting anxiety, ensures accurate feedback on the reception of control instructions and execution results, and enhances the reliability of the system and problem-solving efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118944993A_ABST
    Figure CN118944993A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of smart home, in particular to a smart home information processing method and a smart home system, and the method comprises the steps: receiving a control instruction, and transmitting the control instruction to corresponding home equipment; receiving a confirmation signal generated by the home equipment in response to the received control instruction; sending a confirmation signal to the user; receiving an execution result generated after the home equipment executes the corresponding control instruction; and sending an execution result to the user. According to the invention, the server returns the confirmation signal to the user, so that the user can timely know whether the control instruction sent by the user is successfully received by the smart home after sending the control instruction. The real-time feedback mechanism enables the user to know the execution state of the instruction in real time, reduces waiting anxiety, and improves the situation that the control instruction is repeatedly sent due to the fact that the execution effect is not immediately seen, and the redundancy processing of the system is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of smart home technology, and in particular to a smart home information processing method and a smart home system. Background Art

[0002] In traditional smart home systems, users send control instructions to devices through smart servers. The devices need to complete the execution of the instructions before returning the execution results to the users. This synchronous processing method may cause slow user interface response and poor user experience when the device execution time is long or there are many devices. Users may send instructions repeatedly because they do not see the execution effect immediately, resulting in increased system redundant processing. Summary of the invention

[0003] The present disclosure provides a smart home information processing method and a smart home system to solve the problem in the above-mentioned background technology that the user interface responds slowly, so that the user may repeatedly send instructions because he does not see the execution effect immediately, resulting in increased system redundant processing.

[0004] In a first aspect, the present disclosure provides a smart home information processing method, the method being applied to a server, the method comprising:

[0005] Receive control instructions, and send the control instructions to corresponding home devices;

[0006] receiving a confirmation signal generated by the household device in response to receiving the control instruction;

[0007] Sending the confirmation signal to the user;

[0008] Receiving an execution result generated after the home appliance executes the corresponding control instruction;

[0009] The execution result is sent to the user.

[0010] In one embodiment, when the execution result is execution failure, the step of sending the execution result to the user includes:

[0011] Analyze the reason for the execution failure, trace the reason for the failure, and determine whether it is caused by an abnormality of the server;

[0012] When the reason for the execution failure is an abnormality of the server, within the preset restriction conditions, the step of sending the control instruction to the home appliance and receiving the execution result of the home appliance is repeated until the execution result of the successful execution of the home appliance is received, and the execution result is sent to the user. When the upper limit of the restriction conditions is reached, the execution result of the successful execution of the home appliance is still not received, and the execution result is sent to the user.

[0013] In one embodiment, when the reason for the failure of the parsing execution is not caused by the abnormality of the server, the execution result is directly sent to the user.

[0014] In one embodiment, the restriction condition includes that the number of times the control instruction is sent to the corresponding home appliance reaches a preset number threshold.

[0015] In one embodiment, when there are multiple control instructions, the step of receiving the execution result generated by the home appliance in response to the corresponding control instruction includes:

[0016] receiving each execution result generated by at least one of the household devices in response to each of the control instructions;

[0017] Each of the execution results is placed into a preset message queue in the order of receipt.

[0018] In one embodiment, when the execution result is execution failure, the step of sending the execution result to the user includes:

[0019] The execution results of the failed executions in the message queue are sent to the user in sequence.

[0020] In a second aspect, the present disclosure further provides a smart home information processing method, which is applied to home devices and includes:

[0021] Receive control instructions sent by the server;

[0022] sending a confirmation signal generated by receiving the control instruction to the server, so that the server sends the confirmation signal to the user;

[0023] executing the control instruction;

[0024] The result of executing the control instruction is detected to obtain an execution result, and the execution result is sent to the server, so that when the server receives an execution result indicating execution failure, the execution result is sent to the user.

[0025] In one embodiment, after the step of detecting the result of executing the control instruction and obtaining the execution result, the step further includes:

[0026] When the execution result is execution failure, analyzing the cause of the execution failure to obtain a fault classification code;

[0027] The step of sending the execution result to the server comprises:

[0028] The fault classification code and the execution result are sent to the server.

[0029] In a third aspect, the present disclosure provides a smart home system, including: a server, and home appliances communicating with the server, wherein:

[0030] The server is used to receive a control instruction, send the control instruction to a corresponding home appliance; receive a confirmation signal generated by the home appliance in response to receiving the control instruction; send the confirmation signal to the user; receive an execution result generated after the home appliance executes the corresponding control instruction; and send the execution result to the user;

[0031] The home appliance is used to receive a control instruction sent by a server; send a confirmation signal generated by receiving the control instruction to the server, so that the server sends the confirmation signal to the user; execute the control instruction, detect the result of executing the control instruction, obtain the execution result, and send the execution result to the server, so that when the server receives an execution result of execution failure, it sends the execution result to the user.

[0032] In a fourth aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the method described in the above aspects when executed by a processor.

[0033] In a fifth aspect, the present disclosure provides a computer program product, including a computer program / instructions, which implements the steps of the method described in the above aspects when the computer program is executed by a processor.

[0034] The present disclosure provides a smart home information processing method and a smart home system, which allows the server to return a confirmation signal to the user, so that after sending the control command, the user can promptly know whether the control command he sent is successfully received by the smart home. This instant feedback mechanism allows the user to instantly understand the execution status of the command, reduce waiting anxiety, and improve the situation where the control command is repeatedly sent due to the failure to immediately see the execution effect, resulting in increased system redundant processing. Furthermore, the server sends the execution result to the user, so that the user can clearly understand the final response result of the device. When the execution result is a failure, better countermeasures can be taken, such as re-sending the command, checking the device status or contacting customer service, etc., which improves the efficiency of problem solving.

[0035] On the other hand, the present disclosure ensures that the control command is actually received by the home appliance by confirming the sending and receiving of the signal, reducing the execution errors caused by command loss or misunderstanding. Through the detailed feedback of the execution results (including success and failure), the system can self-monitor the execution process, and can record and notify the user in time for the failure, which helps to quickly locate the cause of the problem and repair it, greatly enhancing the reliability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The present disclosure will be described in more detail below based on embodiments and with reference to the accompanying drawings:

[0037] Figure 1 A flowchart of a smart home information processing method applied to a server provided in an embodiment of the present disclosure;

[0038] Figure 2 A flowchart of another smart home information processing method provided by an embodiment of the present disclosure;

[0039] Figure 3 A flowchart of a smart home information processing method applied to home devices provided by an embodiment of the present disclosure;

[0040] Figure 4 A flowchart of interaction between smart home systems provided in an embodiment of the present disclosure.

[0041] In the drawings, the same reference numerals are used for the same components, and the drawings are not drawn to scale. DETAILED DESCRIPTION

[0042] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, and to fully understand and implement how the present disclosure applies technical means to solve technical problems and achieve the corresponding technical effects, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only embodiments of a part of the present disclosure, not all of the embodiments. The embodiments of the present disclosure and the various features in the embodiments can be combined with each other without conflict, and the technical solutions formed are all within the scope of protection of the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work should fall within the scope of protection of the present disclosure.

[0043] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0044] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0045] Embodiment 1

[0046] Figure 1 The following is a flow chart of a smart home information processing method provided by an embodiment of the present disclosure. Figure 1 As shown, a smart home information processing method includes:

[0047] Step 110, receiving a control instruction, and sending the control instruction to a corresponding home device;

[0048] In this embodiment, the server, as the hub of the smart home system, can receive control instructions from users (such as smartphones, tablets, or voice assistants) through wireless networks (such as Wi-Fi, Zigbee, Bluetooth, etc.). These control instructions can be turning lights on and off, adjusting air conditioning temperature, starting washing machines, etc. The server parses these instructions and determines the identity of the target home device (such as by device ID or name). After the parsing is completed, the server encapsulates the control instructions in an appropriate format (such as JSON, XML, or a specific protocol) and sends them to the specified home device through the corresponding communication protocol.

[0049] Step 120, receiving a confirmation signal generated by the household device in response to receiving the control instruction;

[0050] In this embodiment, when the home appliance successfully receives the control command, it will send a confirmation signal to the server, indicating that the control command has been received and is ready to be executed. The confirmation signal can be a simple "OK" response or a status code containing more information.

[0051] In some embodiments, the server may also set a timeout mechanism to handle the situation where no confirmation signal is received. For example, after the server sends a control instruction, it does not receive a confirmation signal from the home appliance within a preset time, so it resends the control instruction to the home appliance.

[0052] Step 130, sending the confirmation signal to the user;

[0053] In this embodiment, the server forwards the confirmation signal sent by the home appliance to the user, and there is no need to wait until the home appliance has completed the execution before feeding back the final execution result, so that the user can understand the execution status of the command more promptly, alleviate the user's anxiety while waiting for the home appliance to respond, and improve the user's smart home experience.

[0054] Step 140, receiving an execution result generated after the home appliance executes the corresponding control instruction;

[0055] In this embodiment, the server is provided with a message monitoring mechanism, which can continuously monitor the communication port from the home device. When the server detects that a new message has arrived, it will parse it according to the type and format of the message. For the execution result message, the server can identify which control instruction the message is the execution result of, and whether the execution is successful or failed. For example, this can be achieved through specific fields in the execution result message, such as instruction ID, device ID, execution status, etc.

[0056] In some embodiments, after parsing the execution result, the server may also update the server internal state or database record to reflect the latest state of the home device, thereby helping the server to track the state changes of the device and provide accurate information for subsequent control instructions or queries.

[0057] Step 150: Send the execution result to the user.

[0058] In this embodiment, if the execution result is a failure, the server will inform the user of the execution result through a pop-up window, message push or in-app notification, etc. In order to improve the user experience, a friendly failure prompt interface can be designed to help users understand the problem and provide possible solutions.

[0059] After receiving the notification, the user will update its interface to reflect the latest execution status and display relevant prompt information to the user. At this point, the user can keep abreast of the different status changes of the entire home device response process.

[0060] In some embodiments, the user controls the home appliance indoors. When the execution result is successful, the server does not need to send the execution result to the user because the user can intuitively understand the status change of the device, thereby reducing unnecessary communication consumption.

[0061] In some embodiments, when a user remotely controls a home, in order to allow the user to have a better understanding of the control results, after receiving the successful execution result, the server sends the execution result to the user to inform the user that the control is successful and improve the user's trust in the system.

[0062] For example, when a user turns off the lights at home remotely through a smartphone, the lamp will send a confirmation message to the server after receiving the control command and execute the turning-off action. The server sends the confirmation message to the smartphone, and the user knows that the lamp has received the control command and is executing the turning-off action. However, due to network problems or device failure, the light fails to turn off. After receiving the failure message, the server immediately sends a notification through the smart home application on the user's phone, informing the user that the operation failed and suggesting to check the network connection or device status.

[0063] In summary, the present disclosure provides a smart home information processing method and a smart home system, which allows the server to return a confirmation signal to the user, so that after sending the control command, the user can promptly know whether the control command he sent is successfully received by the smart home. This instant feedback mechanism allows users to instantly understand the execution status of the command, reduce waiting anxiety, and improve the situation where the control command is repeatedly sent due to the failure to immediately see the execution effect, resulting in increased system redundant processing. Furthermore, the server sends the execution result to the user, so that the user can clearly understand the final response result of the device. When the execution result is a failure, better countermeasures can be taken, such as resending the command, checking the device status, or contacting customer service, etc., which improves the efficiency of problem solving.

[0064] On the other hand, the present disclosure ensures that the control command is actually received by the home appliance by confirming the sending and receiving of the signal, reducing the execution errors caused by command loss or misunderstanding. Through the detailed feedback of the execution results (including success and failure), the system can self-monitor the execution process, and can record and notify the user in time for the failure, which helps to quickly locate the cause of the problem and repair it, greatly enhancing the reliability of the system.

[0065] Embodiment 2

[0066] Based on the above embodiments, Figure 2 As shown, another smart home information processing method is provided. When the execution result is an execution failure, the step of sending the execution result to the user includes: parsing the reason for the execution failure, tracing the reason for the failure, and determining whether it is caused by an abnormality of the server; when the reason for the execution failure is caused by an abnormality of the server, within the preset restriction conditions, repeatedly executing the step of sending the control instruction to the home device and receiving the execution result of the home device until the execution result of the successful execution of the home device is received, sending the execution result to the user, and when the upper limit of the restriction conditions is reached, the execution result of the successful execution of the home device is still not received, and sending the execution result to the user.

[0067] In this example, the execution result may include the execution status (failed) and some additional information, such as an error code or an error description, which may help further diagnose the problem. The server parses the result of the failed execution, such as reading the error code or the error description and comparing it with a predefined error list or logic to determine whether the failure is caused by a server exception.

[0068] Exceptions usually include network delays, internal server errors, or the control command itself being damaged or tampered with during the sending process. If it is determined that the execution failure is caused by a server exception, the server will try to resend the same control command to the home device within the preset restrictions to allow the home device to execute the control command as much as possible. Before resending, the server can perform some pre-processing steps, such as re-establishing the network connection, verifying the device status, etc.

[0069] In some embodiments, the restriction condition includes that the number of times the control instruction is sent to the corresponding home appliance reaches a preset number threshold. Specifically, the server is set with a retransmission number, for example, the number of retransmissions is set to three times. If the server still does not receive a successful execution result after retransmitting the control instruction three times due to an abnormal problem, the result and reason of the failed execution are sent to the user together, so that the user can better handle the abnormality. When a successful execution result is received within three retransmissions, no failure notification may be sent to the user.

[0070] In some embodiments, the restriction condition may also be to set a retransmission time limit, for example, the retransmission time limit is set to 2 minutes, and within 2 minutes, the server executes the step of sending the control instruction to the home appliance and receiving the execution result of the home appliance multiple times. If a successful execution result is received within the retransmission time limit, it means that the problem has been solved and no further operation is required. If a successful execution result is still not received within 2 minutes, the execution result is fed back to the user.

[0071] By sending control commands multiple times, the system can better cope with temporary network problems, device response delays, or temporary device failures. This mechanism reduces the possibility of giving up operations due to a single failure and improves the system's adaptability in the face of unstable environments. For users, there is no need to repeat operations manually, which saves time and energy, and the operation is more automated and convenient.

[0072] Embodiment 3

[0073] Based on the above embodiment, when the reason for the execution failure is not caused by the abnormality of the server, the execution result is directly sent to the user.

[0074] In this embodiment, the execution result of the failed execution includes an error code or an error description, and the error code is predefined and used to identify different types of errors. The server reads the error code in the execution failure result and compares it with the predefined error list. If the execution failure result includes an error description, the server will further analyze the description information to obtain a more detailed reason for the failure. Once it is determined that the reason for the execution failure is not caused by the server's abnormality, the server prepares a message containing the reason for the failure and the execution result, and may also include some suggested solutions to send to the user. After receiving the information about the failed execution, the user will perform corresponding processing according to the displayed content, such as retrying to send instructions, checking device connections, checking device status, or contacting technical support.

[0075] Through the above steps, the smart home system can provide timely and accurate feedback when the user fails to operate, helping the user understand the problem and take corresponding measures, further improving the user experience and enhancing the reliability and stability of the system.

[0076] Embodiment 4

[0077] On the basis of the above embodiment, when there are multiple control instructions, the step of receiving the execution results generated by the home appliance in response to the corresponding control instructions includes: receiving each execution result generated by at least one of the home appliances in response to each of the control instructions; placing each of the execution results into a preset message queue in the order of receipt; when the execution result is an execution failure, the step of sending the execution result to the user includes: sending the execution results of the failed execution in the message queue to the user in sequence.

[0078] In this embodiment, the server has a built-in message queue. When the user sends control instructions to multiple home devices through the smart home system, each device will perform corresponding operations according to its own state and the received instructions. After the execution is completed, each device will generate a response containing the execution results and send these responses back to the server of the smart home system. After receiving the execution results, the server will not process them immediately, but put the execution results into a preset message queue for temporary storage. Each execution result will be added to the end of the queue in the order in which it arrives.

[0079] As the number of devices in the smart home system increases, the pressure to process execution results will also increase accordingly. Thanks to the existence of message queues, the system can process these results asynchronously without having to wait for each device to respond immediately. In this way, the system can handle multiple tasks at the same time, including sending new control instructions, processing requests from other users, etc., thereby improving overall efficiency. The message queue decouples the sending of control instructions and the receiving of execution results from the processing process. Even if the execution results of a device cannot be processed temporarily (such as the server is overloaded), it will not affect the sending or execution of instructions on other devices.

[0080] In addition, if a process or server that handles the execution results fails, the message queue can ensure that the execution results are not lost. Once the failure is restored, the system can continue to take out the execution results from the queue for processing. Furthermore, because the system can efficiently process the execution results of multiple control instructions through the message queue, users can get feedback in a shorter time.

[0081] In some embodiments, the server may perform batch processing on the execution results in the message queue internally, such as sorting or classifying the failed results according to user preferences or device types, and sending notifications through personalized settings.

[0082] Embodiment 5

[0083] In this embodiment, Figure 3 As shown, a smart home information processing method is provided, the method is applied to home devices, and the method includes:

[0084] Step 310, receiving a control instruction sent by the server;

[0085] Step 320, sending a confirmation signal generated by receiving the control instruction to the server, so that the server sends the confirmation signal to the user;

[0086] Step 330, executing the control instruction;

[0087] Step 340, detecting the result of executing the control instruction, obtaining the execution result, and sending the execution result to the server, so that when the server receives the execution result of execution failure, it sends the execution result to the user.

[0088] In this embodiment, the home appliance receives control instructions from the server. The control instructions are usually based on the operation requests issued by the user through a smartphone APP or a web interface. The home appliance listens to and receives data packets from the server through its built-in communication module (such as Wi-Fi, Bluetooth, Zigbee, etc.). The data packet contains specific control instructions for the device, such as turning on and off the light, adjusting the air conditioning temperature, etc. After receiving the control instruction, the home appliance immediately generates a confirmation signal, such as a data packet containing a specific code, and sends it to the server through the same communication module. The server then forwards this confirmation signal to the user so that the user can see the prompt "the instruction has been sent to the device". The device calls the corresponding internal functional module or actuator to operate according to the content of the control instruction. For example, if the control instruction is "turn on the light", the device will activate the power supply of the lighting system to turn on the light. After executing the control instruction, the device will detect the execution result, such as whether the light is on, whether the temperature reaches the set value, etc. Then, the device encodes the execution result into a data packet and sends it to the server through the communication module.

[0089] The communication method between the home appliance and the server in this embodiment ensures that the control instructions issued by the user can be accurately and timely received and executed by the device, and the user can also obtain feedback on the execution results in a timely manner.

[0090] Embodiment 6

[0091] On the basis of the above embodiment, after the step of detecting the result of executing the control instruction and obtaining the execution result, it also includes: when the execution result is an execution failure, analyzing the cause of the execution failure and obtaining a fault classification code; the step of sending the execution result to the server includes: sending the fault classification code and the execution result to the server.

[0092] In this embodiment, after executing the control instruction, the home appliance will detect whether the execution result meets the expectation. If the execution result does not meet the expectation, the device will immediately start the error detection mechanism. The mechanism may include checking the status of the device itself, such as whether the power is on, whether the network connection is normal, etc., checking whether the actuator responds, such as whether the motor rotates, whether the sensor has output, etc., and checking whether the external conditions are met, such as whether the ambient light is bright enough to trigger the photosensitive sensor.

[0093] After detecting an error, the home device will analyze the error according to the preset fault classification logic. Through analysis, the device can classify the error into a specific fault type and assign a unique fault classification code to each fault type. The fault classification code can be a number or a combination of letters that uniquely identifies the fault type.

[0094] In some embodiments, in addition to the fault classification code, the device may also selectively generate fault description information. The fault description information includes more detailed error causes, possible solutions, or actions recommended for the user, etc. This helps the user better understand the problem and may help the user solve the problem by themselves.

[0095] Afterwards, the home device encodes the execution result (execution failure), fault classification code and possible fault description information into a data packet and sends it to the server so that the server can accurately parse and understand the execution status and fault status of the device.

[0096] Embodiment 7

[0097] In this embodiment, a smart home system is provided, including: a server, and home appliances communicating with the server, wherein:

[0098] The server is used to receive a control instruction, send the control instruction to a corresponding home appliance; receive a confirmation signal generated by the home appliance in response to receiving the control instruction; send the confirmation signal to the user; receive an execution result generated after the home appliance executes the corresponding control instruction; and send the execution result to the user;

[0099] The home appliance is used to receive a control instruction sent by a server; send a confirmation signal generated by receiving the control instruction to the server, so that the server sends the confirmation signal to the user; execute the control instruction, detect the result of executing the control instruction, obtain the execution result, and send the execution result to the server, so that when the server receives an execution result of execution failure, it sends the execution result to the user.

[0100] In some embodiments, the server is also used to execute the steps of any one of the smart home information processing methods in the above-mentioned embodiments 1 to 4, and the home appliance is also used to execute the steps of any one of the smart home information processing methods in the above-mentioned embodiments 5 to 6.

[0101] Embodiment 8

[0102] Based on the above embodiments, this embodiment provides an application example.

[0103] like Figure 4 As shown, a flow chart of interaction between smart home systems is provided. Specifically, it includes:

[0104] The user sends control instructions to the server through the control interface; the server sends the instructions to the target device, and the device immediately returns a reception confirmation signal to the server after receiving the instruction to inform the user. This process can significantly improve the system's response speed and prevent users from sending repeated instructions.

[0105] After the device confirms receipt, it starts to execute the control instruction, detects the execution status, and sends the execution result to the server.

[0106] The server does not process the message of successful execution and ends the process. When encountering a message of failed execution, the server will judge the execution result, such as the error code or prompt information. If it is due to the server, the server can choose to re-execute until it succeeds. If it is due to the client, such as user network abnormality, device configuration problem, etc., the failure reason will be recorded and the execution failure record will be pushed to the user's terminal device. The user decides whether to re-execute. This process can ensure the reliability of the execution of user instructions and enhance the user interaction and error recovery capabilities of the system.

[0107] The key processes are as follows:

[0108] 1. The user sends control instructions to the smart home system through the control interface;

[0109] 2. The server sends the command to the target device, and the device immediately returns a receipt confirmation signal to the server after receiving the command;

[0110] 3. The server then executes the instruction. If the execution is successful, the process ends. If the execution fails, the cause of the failure is determined. If it is caused by the server, the server will automatically retry. If it is caused by the client, the error information will be placed in the message queue.

[0111] 4. The client obtains the error result from the message queue, and for the failed instruction, requests the user to confirm whether the instruction needs to be re-executed.

[0112] For example, during the peak period of air conditioning use in summer, a large number of control instructions are issued at a certain moment. The usual process is: the user sends instructions from the terminal to the server, the server sends instructions to the air conditioner, and after the air conditioner completes the execution, it informs the server, and the server responds to the user with the execution result. During peak periods, the response process will become longer. After the optimized process, the server will immediately inform the user that it is executing after receiving the user's request. If the execution fails, feedback will be given again.

[0113] After the air conditioner fails to execute the control command for the first time, the result of the execution failure and the fault classification code will be sent to the server. Faults can be divided into two categories. One is caused by home equipment, such as poor network conditions, network disconnection, no power, and damage to the device itself. This reason will send a prompt to the user and require the user's assistance to solve; the other is an abnormality in the server's sending process. The server analyzes the fault classification code and determines that an abnormality has occurred in the server's sending process. The server automatically tries to send the control command to the air conditioner again. After trying twice, if it still fails, a prompt will be sent to the user, asking the user to resend the control command or check the air conditioner status.

[0114] This embodiment uses a method of asynchronously issuing control instructions and using a message queue to return execution results, and at the same time handles instructions with execution exceptions: by comparing error results, the system automatically determines whether to re-execute the instruction or directly inform the user of the execution failure, effectively reducing the waiting time during the user's operation, improving the overall efficiency and stability of the system, while also optimizing the error handling process and enhancing the user's operational convenience and satisfaction.

[0115] Embodiment 9

[0116] In this embodiment, a server is provided, which is applied to smart home control and includes:

[0117] A first sending module, used for receiving a control instruction and sending the control instruction to a corresponding home appliance;

[0118] A first receiving module, configured to receive a confirmation signal generated by the household device in response to receiving the control instruction;

[0119] A second sending module, used for sending the confirmation signal to the user;

[0120] A second receiving module, used for receiving an execution result generated after the household device executes the corresponding control instruction;

[0121] The third sending module is used to send the execution result to the user.

[0122] In one embodiment, when the execution result is execution failure, the third sending module includes:

[0123] The exception analysis unit is used to analyze the cause of the execution failure, trace the cause of the failure, and determine whether it is caused by the exception of the server;

[0124] A retransmission unit is used to repeatedly execute the step of sending the control instruction to the home appliance and receiving the execution result of the home appliance within a preset restriction condition when the reason for the execution failure is an abnormality of the server, until the execution result of the successful execution of the home appliance is received, and send the execution result to the user. When the upper limit of the restriction condition is reached, the execution result of the successful execution of the home appliance is still not received, and the execution result is sent to the user.

[0125] In one embodiment, the third sending module further includes:

[0126] The result feedback unit is used to send the execution result to the user if the reason for the execution failure is not caused by the abnormality of the server.

[0127] In one embodiment, when there are multiple control instructions, the first receiving module includes:

[0128] A receiving unit, configured to receive each execution result generated by at least one of the household appliances in response to each of the control instructions;

[0129] The placing unit is used to place each of the execution results into a preset message queue in the order of receipt.

[0130] In one embodiment, the third sending module further includes:

[0131] The fetching unit is used to send the execution results of the failed executions in the message queue to the user in sequence.

[0132] For the specific definition of the server, please refer to the definition of the smart home information processing method above, which will not be repeated here. Each unit in the above server can be implemented in whole or in part by software, hardware and their combination. Each of the above units can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above units.

[0133] Embodiment 10

[0134] In this embodiment, as shown in the figure, a household device is provided, including:

[0135] An instruction receiving module, used for receiving control instructions sent by a server;

[0136] A confirmation signal sending module, used for sending a confirmation signal generated by receiving the control instruction to the server, so that the server sends the confirmation signal to the user;

[0137] An execution module, used for executing the control instruction;

[0138] The execution result determination module is used to detect the result of executing the control instruction, obtain the execution result, and send the execution result to the server, so that when the server receives the execution result of execution failure, it sends the execution result to the user.

[0139] In one embodiment, the execution result determination module includes:

[0140] A fault classification unit, used for analyzing the cause of the execution failure and obtaining a fault classification code when the execution result is an execution failure;

[0141] A fault classification code sending unit is used to send the fault classification code and the execution result to the server.

[0142] For the specific definition of home appliances, please refer to the definition of smart home information processing methods above, which will not be repeated here. Each unit in the above home appliances can be implemented in whole or in part by software, hardware and their combination. Each of the above units can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above units.

[0143] Embodiment 11

[0144] On the basis of the above embodiments, this embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method described in the above embodiments.

[0145] In some implementations of this embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in the above embodiment are implemented.

[0146] In some implementations of this embodiment, a computer program product is provided, including a computer program / instructions, and when the computer program is executed by a processor, the steps of the method described in the above embodiment are implemented.

[0147] The processor may include, but is not limited to, one or more processors or microprocessors. Each processor may be an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components to execute the method in the above embodiments.

[0148] Computer-readable storage media can be implemented by any type of volatile or non-volatile storage device or a combination thereof. Computer-readable storage media may include, but are not limited to, for example, random access memory (RAM), read-only memory (ROM), flash memory, EPROM memory, EEPROM memory, registers, computer storage media (such as hard disks, floppy disks, solid-state drives, removable disks, Blu-ray disks, etc.).

[0149] The computer-readable storage medium may also store at least one computer executable program / instruction, which may be, for example, a computer-readable instruction. The computer-readable storage medium includes, but is not limited to, for example, a volatile memory and / or a non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The computer-readable storage medium may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. For example, a non-transitory computer-readable storage medium may be connected to a computing device such as a computer, and then, when the computing device runs the computer-readable instructions stored on the computer-readable storage medium, the various methods described above may be performed.

[0150] In addition, the computer device may also include (but not limited to) a data bus, an input / output (I / O) bus, a display, and input / output devices (eg, keyboard, mouse, speaker, etc.), etc.

[0151] The processor may communicate with external devices via an I / O bus via a wired or wireless network.

[0152] In one embodiment, the at least one computer executable instruction may also be compiled into or constitute a software product / computer program product, wherein one or more computer executable instructions are executed by a processor to perform the various functions and / or method steps in the embodiments described in the present technology.

[0153] In the embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0154] It should be noted that in the present disclosure, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element limited by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0155] Although the embodiments disclosed in the present disclosure are as above, the above contents are only embodiments adopted for facilitating the understanding of the present disclosure and are not intended to limit the present disclosure. Any technician in the technical field to which the present disclosure belongs can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present disclosure, but the scope of patent protection of the present disclosure shall still be subject to the scope defined in the attached claims.

Claims

1. A smart home information processing method, characterized in that: The method is applied to a server, and the method comprises: Receive control instructions, and send the control instructions to corresponding home devices; receiving a confirmation signal generated by the household device in response to receiving the control instruction; Sending the confirmation signal to the user; Receiving an execution result generated after the home appliance executes the corresponding control instruction; The execution result is sent to the user.

2. The method according to claim 1, characterized in that: When the execution result is execution failure, the step of sending the execution result to the user includes: Analyze the reason for the execution failure, trace the reason for the failure, and determine whether it is caused by an abnormality of the server; When the reason for the execution failure is an abnormality of the server, within the preset restriction conditions, the step of sending the control instruction to the home appliance and receiving the execution result of the home appliance is repeated until the execution result of the successful execution of the home appliance is received, and the execution result is sent to the user. When the upper limit of the restriction conditions is reached, the execution result of the successful execution of the home appliance is still not received, and the execution result is sent to the user.

3. The method according to claim 2, characterized in that When the reason for the execution failure is not caused by the abnormality of the server, the execution result is directly sent to the user.

4. The method according to claim 2, characterized in that: The restriction condition includes that the number of times the control instruction is sent to the corresponding home appliance reaches a preset number threshold.

5. The method according to claim 1, characterized in that When there are multiple control instructions, the step of receiving the execution result generated by the home appliance in response to the corresponding control instruction includes: receiving each execution result generated by at least one of the household devices in response to each of the control instructions; Each of the execution results is placed into a preset message queue in the order of receipt.

6. The method according to claim 5, characterized in that When the execution result is execution failure, the step of sending the execution result to the user includes: The execution results of the failed executions in the message queue are sent to the user in sequence.

7. A smart home information processing method, characterized in that: The method is applied to household equipment, and the method comprises: Receive control instructions sent by the server; sending a confirmation signal generated by receiving the control instruction to the server, so that the server sends the confirmation signal to the user; executing the control instruction; The result of executing the control instruction is detected to obtain an execution result, and the execution result is sent to the server, so that when the server receives an execution result indicating execution failure, the execution result is sent to the user.

8. The method according to claim 7, characterized in that After the step of detecting the result of executing the control instruction and obtaining the execution result, the method further includes: When the execution result is execution failure, analyzing the cause of the execution failure to obtain a fault classification code; The step of sending the execution result to the server comprises: The fault classification code and the execution result are sent to the server.

9. A smart home system, characterized in that: include: A server and a home device communicating with the server, wherein: The server is used to receive a control instruction, send the control instruction to a corresponding home appliance; receive a confirmation signal generated by the home appliance in response to receiving the control instruction; send the confirmation signal to the user; receive an execution result generated after the home appliance executes the corresponding control instruction; and send the execution result to the user; The home appliance is used to receive a control instruction sent by a server; send a confirmation signal generated by receiving the control instruction to the server, so that the server sends the confirmation signal to the user; execute the control instruction, detect the result of executing the control instruction, obtain the execution result, and send the execution result to the server, so that when the server receives an execution result of execution failure, it sends the execution result to the user.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

11. A computer program product comprising a computer program / instructions, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Intelligent household device pool control method and intelligent household device pool control system

    CN105974806A

  • Voice control method and system for kitchen ventilator, server, intelligent terminal, and computer readable storage medium

    CN108231077A

  • Intelligent household appliance control method and device, server and storage medium

    CN111917617A

  • Control method of home networking system, server and electronic equipment

    CN113055411A

  • Communication fault detection method, device and system

    CN114244686A