Control method and device of intelligent device, storage medium and electronic device

By determining alternative execution devices from devices with associated relationships in the smart device, the problem of inefficient execution requests for smart devices is solved, ensuring that operation requests can still be successfully executed in the event of a device failure, improving the user experience.

CN114815642BActive Publication Date: 2024-11-19QINGDAO HAIER TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210327263.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-30
Publication Date
2024-11-19
Estimated Expiration
2042-03-30

AI Technical Summary

Technical Problem

Smart devices are inefficient when performing operation requests, resulting in poor user experience, especially when the device fails, resulting in unmet requirements.

Method used

After receiving the target operation request, a device with execution function is determined from other intelligent devices associated with the device to perform the operation request, avoiding operation failure caused by a single device failure.

Benefits of technology

It improves the efficiency of the smart device to perform target operations, ensures that operation requests can still be successfully executed when the device fails, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114815642B_ABST
    Figure CN114815642B_ABST
Patent Text Reader

Abstract

The present application discloses a control method and device for a smart device, a storage medium and an electronic device, and relates to the field of smart home technology. The control method for the smart device comprises: receiving a target operation request reported by a first smart device, wherein the target operation request is used to request the first smart device to perform the target operation; determining a third smart device from the first smart device and the second smart device, wherein the second smart device is associated with the first smart device, and the second smart device has a function of performing the target operation; controlling the third smart device to perform the target operation, which solves the problem of low execution efficiency of the target operation by the smart device in the related technology, and achieves the technical effect of improving the execution efficiency of the target operation by the smart device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and more specifically, to a control method and device for smart devices, a storage medium, and an electronic device. Background Art

[0002] With the development of science and technology and the continuous improvement of people's living standards, more and more smart devices are appearing in our production and life, providing people with a variety of services in their work and life, making people's work and life more convenient.

[0003] When a user has a need to use something, he or she will issue an operation request to a smart device. After receiving the operation request, the smart device will perform the operation corresponding to the operation request to meet the user's needs. In certain specific cases, the smart device may fail to perform the operation corresponding to the received operation request due to a malfunction of the smart device, so that the user's needs cannot be met, which brings a very poor user experience to the user. For example, in the use scenario of setting an alarm clock, the user sets an alarm clock on the mobile phone at 6 o'clock in the morning. At 6 o'clock, the mobile phone battery is out of power and shuts down, which also causes the user to not receive the alarm reminder at 6 o'clock. The smart device originally used to facilitate users brings troubles to users and brings users a very poor experience.

[0004] In view of the problems in related technologies such as low efficiency of smart devices in executing target operations, no effective solutions have been proposed yet. Summary of the invention

[0005] The embodiments of the present application provide a control method and device for a smart device, a storage medium, and an electronic device to at least solve the problem of low execution efficiency of target operations by smart devices in related technologies.

[0006] According to one embodiment of the embodiments of the present application, a method for controlling a smart device is provided, including: receiving a target operation request reported by a first smart device, wherein the target operation request is used to request the first smart device to perform a target operation; determining a third smart device from the first smart device and the second smart device, wherein the second smart device has an association with the first smart device and has a function of performing the target operation; and controlling the third smart device to perform the target operation.

[0007] Optionally, determining the third smart device from the first smart device and the second smart device includes: obtaining first status information of the first smart device and second status information of the second smart device at a target time, wherein the target operation request is used to request the first smart device to perform the target operation at the target time; determining the third smart device from the first smart device and the second smart device based on the first status information and the second status information.

[0008] Optionally, determining the third smart device from the first smart device and the second smart device based on the first status information and the second status information includes: comparing the first status information with a target status condition, and comparing the second status information with the target status condition; acquiring a fourth smart device whose corresponding status information satisfies the target status condition from the first smart device and the second smart device; and determining the third smart device from the fourth smart device.

[0009] Optionally, determining the third smart device from the first smart device and the second smart device based on the first state information and the second state information includes: comparing the first state information with a target state condition; if the first state information satisfies the target state condition, determining the first smart device as the third smart device; if the first state information does not satisfy the target state condition, comparing the second state information with the target state condition; obtaining a fourth smart device whose corresponding state information satisfies the target state condition from the second smart device; and determining the third smart device from the fourth smart device.

[0010] Optionally, determining the third smart device from the fourth smart device includes: detecting the association between the fourth smart device and the target object, wherein the target operation request is initiated by the target object; and obtaining the smart device with the highest association from the fourth smart device as the third smart device.

[0011] Optionally, after controlling the third smart device to perform the target operation, the method further includes: detecting an execution result of the target operation by the third smart device; when the execution result indicates that the third smart device fails to perform the target operation, re-determining a sixth smart device for performing the target operation from the first smart device and the second smart device, wherein the sixth smart device does not include the third smart device; and controlling the sixth smart device to perform the target operation.

[0012] Optionally, after receiving the target operation request reported by the first smart device, the method also includes: detecting a reference operation request, wherein a reference time of a reference operation requested to be executed by the reference operation request is the same as a target time for executing the target operation requested by the target operation request; when the reference operation request is detected and the reference operation is the same as the target operation, creating a first task corresponding to the target operation request and the reference operation request, wherein the first task is used to control the smart device to execute the target operation at the target time; when the reference operation request is detected and the reference operation is different from the target operation, creating a second task corresponding to the target operation request and a third task corresponding to the reference operation request, wherein the second task is used to control the smart device to execute the target operation at the target time, and the third task is used to control the smart device to execute the reference operation at the reference time.

[0013] According to another embodiment of the embodiments of the present application, a control device for an intelligent device is also provided, including: a receiving module, used to receive a target operation request reported by a first intelligent device, wherein the target operation request is used to request the first intelligent device to perform the target operation; a first determination module, used to determine a third intelligent device from the first intelligent device and the second intelligent device, wherein the second intelligent device has an association relationship with the first intelligent device and the second intelligent device has a function of performing the target operation; and a first control module, used to control the third intelligent device to perform the target operation.

[0014] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the control method of the above-mentioned smart device when running.

[0015] According to another aspect of an embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the control method of the smart device through the computer program.

[0016] In an embodiment of the present application, a target operation request reported by a first smart device is received, wherein the target operation request is used to request the first smart device to perform a target operation; a third smart device is determined from the first smart device and the second smart device, wherein the second smart device has an associated relationship with the first smart device and the second smart device has the function of performing the target operation; and the third smart device is controlled to perform the target operation, that is, after the first smart device receives the target operation request, the third smart device is determined from the first smart device and the second smart device associated with the first smart device to perform the target operation corresponding to the target operation request, that is, the operation request is universal among the smart devices with an associated relationship, and the second smart device associated with the first smart device can be used as an execution device for the target operation corresponding to the target operation request, instead of the target operation request received by the first smart device can only be performed by the first smart device corresponding to the target operation, thereby avoiding the problem of abnormal execution of the target operation corresponding to the target operation request caused by device failure. The above technical solution solves the problems of low execution efficiency of the target operation by the smart device in the related technology, and achieves the technical effect of improving the execution efficiency of the target operation by the smart device. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0019] Figure 1 is a schematic diagram of a hardware environment of a control method for an intelligent device according to an embodiment of the present application;

[0020] Figure 2 is a flow chart of a control method of a smart device according to an embodiment of the present application;

[0021] Figure 3 is an optional intelligent device control schematic diagram according to an embodiment of the present application;

[0022] Figure 4 is an optional smart device management flow chart according to an embodiment of the present application;

[0023] Figure 5 is an optional flow chart of controlling a smart device to perform a target operation according to an embodiment of the present application;

[0024] Figure 6 is an optional operation task creation flow chart according to an embodiment of the present application;

[0025] Figure 7 It is a structural block diagram of a control device of an intelligent device according to an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application 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 application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0028] According to one aspect of an embodiment of the present application, a control method for a smart device is provided. The control method for a smart device is widely used in smart home (Smart Home), smart home, smart home device ecology, smart residential (Intelligence House) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the control method for the smart device can be applied to Figure 1 In the hardware environment composed of the terminal device 102 and the server 104 shown in FIG. Figure 1 As shown, the server 104 is connected to the terminal device 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.

[0029] The network may include but is not limited to at least one of the following: wired network, wireless network. The wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The terminal device 102 may be but is not limited to a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing device, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, a smart curtain, a smart audio and video, a smart socket, a smart speaker, a smart fresh air device, a smart kitchen and bathroom device, a smart bathroom device, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification device, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.

[0030] In this embodiment, a control method for an intelligent device is provided. Figure 2 : is a flow chart of a control method of a smart device according to an embodiment of the present application, the flow includes the following steps:

[0031] Step S202, receiving a target operation request reported by a first smart device, wherein the target operation request is used to request the first smart device to perform a target operation;

[0032] Step S204, determining a third smart device from the first smart device and the second smart device, wherein the second smart device is associated with the first smart device and has a function of executing the target operation;

[0033] Step S206: Control the third smart device to execute the target operation.

[0034] Through the above steps, after the first smart device receives the target operation request, a third smart device is determined in the first smart device and the second smart device associated with the first smart device to execute the target operation corresponding to the target operation request, that is, the operation request is universal among the associated smart devices, and the second smart device associated with the first smart device can be used as an execution device for executing the target operation corresponding to the target operation request, instead of the target operation request received by the first smart device can only be executed by the first smart device, thus avoiding the problem of abnormal execution of the target operation corresponding to the target operation request due to device failure. The above technical solution solves the problem of low execution efficiency of target operations by smart devices in related technologies, and achieves the technical effect of improving the execution efficiency of target operations by smart devices.

[0035] Optionally, in this embodiment, the control method of the above-mentioned smart device can be applied to, but is not limited to, a scheduling device that provides operation task scheduling services for smart devices (for example, a smart device server, a control device connected to the smart device, a network device connected to the smart device, etc.). After receiving the operation request, the smart device reports the operation request to the scheduling device. After receiving the operation request, the scheduling device selects a smart device from the smart devices that have a connection relationship with the scheduling device to perform the operation corresponding to the operation request.

[0036] In the technical solution provided in the above step S202, the target operation request is an operation request received by the first smart device. The target operation request may be obtained by the first smart device through human-computer interaction with the user, or may be sent by other smart devices. For example, the user sends the target operation request on the smart device through touch screen operation on the screen of the first smart device, or the user and the smart device send the target operation request on the first smart device through voice interaction (for example, the user sends a voice command to the first smart device, and the first smart device performs natural language processing on the received voice and converts it into a target operation request). This solution does not limit this.

[0037] Optionally, in this embodiment, the target operation request may include but is not limited to a request to play multimedia data, a request for data interaction between devices, an event prompt request, etc. For example, a request to play multimedia data may be a request to play an audio or video, etc., a request for data interaction between devices may include sending text messages to a smart device, making a phone call, etc., and an event prompt request may include an alarm reminder, a device status reminder, etc. This solution does not limit the content of the target operation request.

[0038] In the technical solution provided in the above step S204, the first smart device and the second smart device can be smart devices of the same device category or smart devices of different device types. For example, when the target operation is to play music, the first smart device and the second smart device can both be smart speakers capable of playing music, or the first smart device can be a smart speaker capable of playing music, and the second smart device can be other smart devices such as a smart phone, a smart watch, etc. capable of playing music. This solution does not limit this.

[0039] Optionally, in this embodiment, the association relationship is used to indicate that there is an information interaction relationship between smart devices. Smart devices with an association relationship may be, but are not limited to, smart devices connected to the same network, smart devices bound to the same smart device management account, smart devices connected to the same smart device management server, etc. This solution does not make any limitation for comparison.

[0040] In the technical solution provided in the above step S206, the smart device determined in the first smart device and the second smart device to perform the target operation may be but is not limited to one or more. For example, in the smart home scenario, an alarm is set for the target time, that is, the smart home appliance needs to perform the operation of playing the prompt information at the target time. At this time, in order to achieve the purpose of intelligent reminder for the user, the operation of playing the prompt information is performed by controlling the smart device closest to the user in the family. At this time, if there is only one user in the family, there is only one smart device that performs the operation of playing the prompt information. If there are multiple users in the family and the multiple users are not in the same room, there can be multiple smart devices that perform the operation of playing the prompt information. This is not limited in this solution.

[0041] In the application scenario of smart devices, there may be a situation where a user creates a target operation request on a first smart device and requests the first smart device to perform a target operation corresponding to the target operation request. However, when the first smart device is performing the target operation, if a device failure occurs, the target operation cannot be performed. Therefore, in order to ensure the execution efficiency of the target operation, when the first device fails, other smart devices need to be used to replace the first smart device to perform the target operation. Figure 3 is an optional intelligent device control schematic diagram according to an embodiment of the present application, such as Figure 3 As shown, it can be applied to, but not limited to, the scenario of alarm reminders. For example, a smart speaker, a smart phone, and a smart air conditioner used in a family are connected to a home appliance server, and the home appliance server performs a scheduling service for target operation requests for the smart speaker, the smart phone, and the smart air conditioner. When the user says to the smart phone, "Wake me up at six o'clock tomorrow," the smart phone recognizes this sentence, thereby obtaining the target operation request, and reports the target operation request to the home appliance server. The next morning, the smart phone cannot perform the target operation of alarm reminders due to its own failure (for example, the smart phone is powered off or the phone itself fails, etc.), and the smart air conditioner cannot perform the target operation of alarm reminders due to its own failure. At this time, the home appliance server detects that among the three devices, the smart speaker can perform the target operation of alarm reminders, thereby controlling the smart speaker to play the voice prompt message "It's six o'clock, time to get up," so that the target operation of the alarm reminder set by the user on the smart phone will not be not performed due to the failure of the smart phone, thereby improving the execution efficiency of the target operation.

[0042] As an optional embodiment, determining the third smart device from the first smart device and the second smart device includes:

[0043] Acquire first state information of the first smart device and second state information of the second smart device at a target time, wherein the target operation request is used to request the first smart device to perform the target operation at the target time;

[0044] The third smart device is determined from the first smart device and the second smart device according to the first state information and the second state information.

[0045] Optionally, in this embodiment, the status information is used to indicate the device operation information of the smart device. The status information may include but is not limited to network connection status information, operation status information, device standby status information, etc. For example, the status information may include network connection status information such as whether the device is connected to the network and the network quality of the connected network. It may also be operation status information such as the operation currently performed by the smart device and whether it interacts with other smart devices. It may also be device standby status information such as device power, memory usage, cache usage, etc.

[0046] By managing smart devices, the most suitable smart device for executing the target operation can be determined among the managed smart devices to ensure the execution efficiency of the target operation. Figure 4 is an optional smart device management flow chart according to an embodiment of the present application, which can be applied to, but not limited to, a smart device server for managing smart devices, such as Figure 4 As shown, the following operations may be included but are not limited to:

[0047] S401, registering a smart device in an application scenario with a smart device server, wherein the smart device server can register and manage smart devices of any model and type, for example, the smart device server can simultaneously register and manage smart devices of the same service provider, and can also simultaneously register and manage smart devices of different types from different service providers;

[0048] S402, constructing a smart device status list according to the smart device registration result, in which the device name and the device status information are correspondingly stored;

[0049] S403, obtaining the status information of the registered smart device in real time, and detecting whether the status information of the smart device has changed. If it is detected that the status of the smart device has changed, executing step S404; if it is detected that the status information of the smart device has not changed, repeating the status information detection operation of S403;

[0050] S404, updating the status information list, may include but is not limited to modifying the status information corresponding to the smart device, deleting the status information, etc.

[0051] As an optional embodiment, determining the third smart device from the first smart device and the second smart device according to the first state information and the second state information includes:

[0052] comparing the first state information with a target state condition, and comparing the second state information with the target state condition;

[0053] A fourth smart device that obtains corresponding status information satisfying the target status condition from the first smart device and the second smart device;

[0054] The third smart device is determined from the fourth smart devices.

[0055] Optionally, in this embodiment, the target state condition is a filtering condition set for filtering smart devices based on the state information of the smart devices. The target state condition may include but is not limited to conditions corresponding to one or more state information. For example, the state condition may be a condition corresponding to the state information of the signal quality of the connected network, or may be a condition corresponding to two state information of the signal quality of the connected network and the remaining standby time.

[0056] Through the above steps, the first smart device and the second smart device are screened according to the set target state conditions, so as to screen out the fourth smart device that meets the target state conditions from the first smart device, so that the determined fourth smart device can definitely execute the target operation, thereby ensuring that the target operation can be executed by the smart device and avoiding the problem that the operation request cannot be executed due to device reasons.

[0057] As an optional embodiment, determining the third smart device from the first smart device and the second smart device according to the first state information and the second state information includes:

[0058] comparing the first state information with a target state condition;

[0059] In a case where the first state information satisfies the target state condition, determining the first smart device as the third smart device;

[0060] In the case where the first state information does not satisfy the target state condition, comparing the second state information with the target state condition; acquiring a fourth smart device whose corresponding state information satisfies the target state condition from the second smart device;

[0061] The third smart device is determined from the fourth smart devices.

[0062] Optionally, in this embodiment, any number of smart devices in the fourth smart devices may be determined as the third smart devices, but is not limited to, or the third smart devices may be determined in the fourth smart devices according to the association between the fourth smart devices and the target object.

[0063] As an optional embodiment, determining the third smart device from the fourth smart device includes:

[0064] detecting a degree of association between the fourth smart device and a target object, wherein the target operation request is initiated by the target object;

[0065] The smart device with the highest correlation degree is obtained from the fourth smart device as the third smart device.

[0066] Optionally, in this embodiment, the target object can be a smart device that interacts with the fourth smart device for data exchange, or can be a user using the fourth smart device. For example, the target operation request can be sent from other smart devices to the first smart device, or sent to the first smart device by the user through manual or voice control of the first smart device. This solution does not limit this.

[0067] Optionally, in this embodiment, the degree of association is used to indicate the degree of connection between the fourth smart device and the target object. The degree of association can be but is not limited to being determined based on distance, interaction information, etc. For example, the closer the distance between the fourth smart device and the target object is, the higher the degree of association is. Alternatively, it can be determined by looking at whether the target object is performing an interactive operation with the fourth smart device. The degree of association between the target object and the fourth smart device that are performing an interactive operation is the highest. Alternatively, it can be determined by looking at the frequency of interactive operations performed by the target object and the fourth smart device over a period of time. The higher the frequency of interactive operations, the higher the degree of association is. This solution does not limit this.

[0068] As an optional embodiment, after controlling the third smart device to perform the target operation, the method further includes:

[0069] Detecting an execution result of the target operation by the third smart device;

[0070] When the execution result indicates that the third smart device fails to execute the target operation, re-determine a sixth smart device for executing the target operation from the first smart device and the second smart device, wherein the sixth smart device does not include the third smart device;

[0071] Control the sixth smart device to perform the target operation.

[0072] Optionally, in this embodiment, the smart device determined in the first smart device and the second smart device to perform the target operation may be but is not limited to one or more. For example, in the smart home scenario, an alarm is set for the target time, that is, the smart home appliance needs to perform the operation of playing the prompt information at the target time. At this time, in order to achieve the purpose of intelligent reminder for the user, the operation of playing the prompt information is performed by controlling the smart device closest to the user in the home. At this time, if there is only one user in the home, there is only one smart device that performs the operation of playing the prompt information. If there are multiple users in the home and the multiple users are not in the same room, there can be multiple smart devices that perform the operation of playing the prompt information. This solution does not limit this.

[0073] Through the above steps, by detecting the execution result of the target operation by the third smart device, and when the execution of the target operation fails, the sixth smart device for executing the target operation is re-determined in the first smart device and the second smart device, thereby ensuring that the target operation is executed and improving the execution efficiency of the target operation.

[0074] In actual use, it is found that the third smart device that has been determined to be able to perform the target operation fails after receiving the task corresponding to the target operation and cannot perform the target operation. In order to ensure that the target operation is not not performed due to device problems, it is necessary to monitor the execution result of the target operation in real time, so that when the third smart device that performs the target operation fails due to a failure, other smart devices are controlled to perform the target operation, thereby ensuring the timeliness of the execution of the target operation. Figure 5 This is a flowchart of an optional control of a smart device to perform a target operation according to an embodiment of the present application, which is applied to control a smart device to perform a target operation of timing broadcast and reminder, such as Figure 5 As shown, the steps may include but are not limited to:

[0075] S501, receiving a timed broadcast and reminder operation request reported by a smart device, where the operation request is used to request execution of a target operation of the timed broadcast and reminder;

[0076] S502, creating an operation task corresponding to the instruction according to the received instruction;

[0077] S503, detecting whether it is time to execute the operation task;

[0078] S504, when it is detected that the execution time of the operation has arrived, a screening condition is used to screen the multiple managed smart devices to determine the smart device for performing the target operation. The screening condition may be the smart device with the highest power, the smart device with the best signal quality, the smart device closest to the user of the smart device, the smart device performing the human-computer interaction operation, etc.;

[0079] S505, sending the operation task to the smart device used to perform the target operation;

[0080] S506, detecting whether the smart device that receives the operation task successfully performs the target operation. If it is successful, executing step S507; if it fails, it is necessary to re-determine a smart device for performing the target operation from all smart devices;

[0081] S507, the smart device completes the target operation of scheduled broadcast and reminder, and the task ends.

[0082] As an optional embodiment, after receiving the target operation request reported by the first smart device, the method further includes:

[0083] Detecting a reference operation request, wherein a reference time of a reference operation requested to be performed by the reference operation request is the same as a target time of a target operation requested to be performed by the target operation request;

[0084] When the reference operation request is detected and the reference operation is the same as the target operation, a first task corresponding to the target operation request and the reference operation request is created, wherein the first task is used to control the smart device to perform the target operation at the target time;

[0085] When the reference operation request is detected and the reference operation is different from the target operation, a second task corresponding to the target operation request and a third task corresponding to the reference operation request are created, wherein the second task is used to control the smart device to perform the target operation at the target time, and the third task is used to control the smart device to perform the reference operation at the reference time.

[0086] Optionally, in this embodiment, the reference operation request may be reported by the first smart device, or may be reported by other smart devices except the first smart device.

[0087] Through the above steps, when creating a task corresponding to the target operation request, it is detected whether there is a reference operation request with the content completely consistent with that requested by the target operation request. If so, the target operation request and the reference operation request are merged to avoid repeatedly creating the same operation task.

[0088] In actual use, users may send the same operation request on multiple smart devices, resulting in multiple smart devices reporting the same operation request, and then multiple operation tasks will be created according to the received operation requests. Therefore, in order to avoid the trouble caused to the same user by performing the same target operation on multiple devices at the same time, it is necessary to avoid repeatedly creating the same operation task when creating the operation task. Figure 6 is an optional operation task creation flow chart according to an embodiment of the present application, such as Figure 6 As shown, the following steps may be included but are not limited to:

[0089] S601, receiving an operation request reported by a smart device, where the operation request is used to request to perform a target operation at a target time;

[0090] S602, detecting whether there is a reference operation request whose reference time of the reference operation requested to be executed is the same as the target time of the target operation requested to be executed, if there is no reference operation request, executing step S604, if there is a reference operation request, executing step S603;

[0091] S603, detecting that the reference operation is the same as the target operation. If the reference operation is the same as the target operation, it means that the same operation request has been received. Then, the two operation requests need to be merged and step S604 is executed. Otherwise, step S605 is executed.

[0092] S604, creating a first task corresponding to the target operation request, the first task being used to control the smart device to perform the target operation at a target time;

[0093] S605, create a second task corresponding to the target operation request and a third task corresponding to the reference operation request, the second task is used to control the smart device to perform the target operation at the target time, and the third task is used to control the smart device to perform the reference operation at the reference time.

[0094] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0095] Figure 7 is a structural block diagram of a control device for an intelligent device according to an embodiment of the present application; Figure 7 As shown, including:

[0096] A receiving module 72, configured to receive a target operation request reported by a first smart device, wherein the target operation request is used to request the first smart device to perform a target operation;

[0097] A first determination module 74, configured to determine a third smart device from the first smart device and the second smart device, wherein the second smart device is associated with the first smart device and has a function of executing the target operation;

[0098] The first control module 76 is used to control the third smart device to perform the target operation.

[0099] Through the above embodiment, a target operation request reported by a first smart device is received, wherein the target operation request is used to request the first smart device to perform a target operation; a third smart device is determined from the first smart device and the second smart device, wherein the second smart device has an associated relationship with the first smart device and the second smart device has the function of performing the target operation; and the third smart device is controlled to perform the target operation, that is, after the first smart device receives the target operation request, the third smart device is determined from the first smart device and the second smart device associated with the first smart device to perform the target operation corresponding to the target operation request, that is, the operation request is universal among the smart devices with an associated relationship, and the second smart device associated with the first smart device can be used as an execution device for the target operation corresponding to the target operation request, instead of the target operation request received by the first smart device can only be performed by the first smart device, thereby avoiding the problem of abnormal execution of the target operation corresponding to the target operation request caused by device failure. The above technical solution solves the problems of low execution efficiency of the target operation by the smart device in the related technology, and achieves the technical effect of improving the execution efficiency of the target operation by the smart device.

[0100] Optionally, the first determination module includes: an acquisition unit, used to acquire first status information of the first smart device and second status information of the second smart device at a target time, wherein the target operation request is used to request the first smart device to perform the target operation at the target time; a determination unit, used to determine the third smart device from the first smart device and the second smart device based on the first status information and the second status information.

[0101] Optionally, the determination unit is used to: compare the first state information with the target state condition, and compare the second state information with the target state condition; obtain a fourth smart device whose corresponding state information satisfies the target state condition from the first smart device and the second smart device; and determine the third smart device from the fourth smart device.

[0102] Optionally, the determination unit is used to: compare the first state information with a target state condition; if the first state information satisfies the target state condition, determine the first smart device as the third smart device; if the first state information does not satisfy the target state condition, compare the second state information with the target state condition; obtain from the second smart device a fourth smart device whose corresponding state information satisfies the target state condition; and determine the third smart device from the fourth smart device.

[0103] Optionally, the determination unit is used to: detect the association between the fourth smart device and the target object, wherein the target operation request is initiated by the target object; and obtain the smart device with the highest association from the fourth smart devices as the third smart device.

[0104] Optionally, the device also includes: a first detection module, used to detect the execution result of the target operation of the third smart device after controlling the third smart device to perform the target operation; a second determination module, used to re-determine a sixth smart device for performing the target operation from the first smart device and the second smart device when the execution result indicates that the third smart device fails to perform the target operation, wherein the sixth smart device does not include the third smart device; and a second control module, used to control the sixth smart device to perform the target operation.

[0105] Optionally, the device also includes: a second detection module, used to detect a reference operation request after receiving the target operation request reported by the first smart device, wherein the reference time of the reference operation requested to be executed by the reference operation request is the same as the target time of the target operation requested to be executed by the target operation request; a first creation module, used to create a first task corresponding to the target operation request and the reference operation request when the reference operation request is detected and the reference operation is the same as the target operation, wherein the first task is used to control the smart device to execute the target operation at the target time; a second creation module, used to create a second task corresponding to the target operation request and a third task corresponding to the reference operation request when the reference operation request is detected and the reference operation is different from the target operation, wherein the second task is used to control the smart device to execute the target operation at the target time, and the third task is used to control the smart device to execute the reference operation at the reference time.

[0106] An embodiment of the present application further provides a storage medium, which includes a stored program, wherein the program executes any of the above methods when it is run.

[0107] Optionally, in this embodiment, the above-mentioned storage medium can be configured to store program codes for executing the following steps: receiving a target operation request reported by a first smart device, wherein the target operation request is used to request the first smart device to perform a target operation; determining a third smart device from the first smart device and the second smart device, wherein the second smart device has an associated relationship with the first smart device and the second smart device has a function of performing the target operation; and controlling the third smart device to perform the target operation.

[0108] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0109] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0110] Optionally, in this embodiment, the above-mentioned processor can be configured to perform the following steps through a computer program: receiving a target operation request reported by a first smart device, wherein the target operation request is used to request the first smart device to perform a target operation; determining a third smart device from the first smart device and the second smart device, wherein the second smart device has an associated relationship with the first smart device and the second smart device has a function of performing the target operation; and controlling the third smart device to perform the target operation.

[0111] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0112] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0113] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0114] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A control method for an intelligent device, It is characterized in that include: Receiving a target operation request reported by a first smart device, wherein the target operation request is used to request the first smart device to perform a target operation; Determine a third smart device from the first smart device and the second smart device, wherein the second smart device is associated with the first smart device and has a function of executing the target operation; Controlling the third smart device to perform the target operation; Among them, determining the third smart device from the first smart device and the second smart device includes: obtaining first status information of the first smart device and second status information of the second smart device at the target time, wherein the target operation request is used to request the first smart device to perform the target operation at the target time, and the status information of the smart device includes: network connection status information of the corresponding smart device, operation status information of the corresponding smart device and device standby status information of the corresponding smart device; according to the first status information and the second status information, determining the third smart device from the first smart device and the second smart device.

2. The method according to claim 1, It is characterized in that The determining the third smart device from the first smart device and the second smart device according to the first state information and the second state information includes: comparing the first state information with a target state condition, and comparing the second state information with the target state condition; A fourth smart device that obtains corresponding status information satisfying the target status condition from the first smart device and the second smart device; The third smart device is determined from the fourth smart devices.

3. The method according to claim 1, It is characterized in that The determining the third smart device from the first smart device and the second smart device according to the first state information and the second state information includes: comparing the first state information with a target state condition; In a case where the first state information satisfies the target state condition, determining the first smart device as the third smart device; In the case where the first state information does not satisfy the target state condition, comparing the second state information with the target state condition; acquiring a fourth smart device whose corresponding state information satisfies the target state condition from the second smart device; The third smart device is determined from the fourth smart devices.

4. The method according to claim 2 or 3, It is characterized in that The determining the third smart device from the fourth smart device includes: detecting a degree of association between the fourth smart device and a target object, wherein the target operation request is initiated by the target object; The smart device with the highest correlation degree is obtained from the fourth smart device as the third smart device.

5. The method according to any one of claims 1 to 4, It is characterized in that After controlling the third smart device to perform the target operation, the method further includes: Detecting an execution result of the target operation by the third smart device; When the execution result indicates that the third smart device fails to execute the target operation, re-determine a sixth smart device for executing the target operation from the first smart device and the second smart device, wherein the sixth smart device does not include the third smart device; Control the sixth smart device to perform the target operation.

6. The method according to any one of claims 1 to 4, It is characterized in that After receiving the target operation request reported by the first smart device, the method further includes: Detecting a reference operation request, wherein a reference time of a reference operation requested to be performed by the reference operation request is the same as a target time of a target operation requested to be performed by the target operation request; When the reference operation request is detected and the reference operation is the same as the target operation, a first task corresponding to the target operation request and the reference operation request is created, wherein the first task is used to control the smart device to perform the target operation at the target time; When the reference operation request is detected and the reference operation is different from the target operation, a second task corresponding to the target operation request and a third task corresponding to the reference operation request are created, wherein the second task is used to control the smart device to perform the target operation at the target time, and the third task is used to control the smart device to perform the reference operation at the reference time.

7. A control device for a smart device, It is characterized in that include: A receiving module, configured to receive a target operation request reported by a first smart device, wherein the target operation request is used to request the first smart device to perform a target operation; A first determining module, configured to determine a third smart device from the first smart device and the second smart device, wherein the second smart device is associated with the first smart device and has a function of executing the target operation; A first control module, used to control the third smart device to perform the target operation; Among them, the first determination module also includes: an acquisition unit, used to acquire the first status information of the first smart device and the second status information of the second smart device at the target time, wherein the target operation request is used to request the first smart device to perform the target operation at the target time, and the status information of the smart device includes: the network connection status information of the corresponding smart device, the operation status information of the corresponding smart device and the device standby status information of the corresponding smart device; a determination unit, used to determine the third smart device from the first smart device and the second smart device according to the first status information and the second status information.

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 6 when executed.

9. An electronic device comprising a memory and a processor, It is characterized in that A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 6 through the computer program.