Resource scheduling method and device, electronic equipment and readable storage medium

By introducing central control units and resource scheduling methods into smart home systems, dynamically allocating tasks to multiple home appliances, solving the problems of slow response speed and network congestion in existing systems, and achieving more efficient resource utilization and user experience.

CN119814788APending Publication Date: 2025-04-11GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1

Patent Information

Application Number
CN202411694047.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-25
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

When existing smart home systems handle complex computing tasks, their response speed is limited, which may lead to network congestion and affect user experience.

Method used

By introducing a central control unit into the Internet of Things, using resource scheduling methods to determine task type, equipment status and resource utilization, dynamically select appropriate equipment from multiple home appliances for task allocation, and realize coordinated task processing.

Benefits of technology

It improves the overall performance of the system, optimizes resource utilization, reduces network congestion, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119814788A_ABST
    Figure CN119814788A_ABST
Patent Text Reader

Abstract

The invention provides a resource scheduling method and device, electronic equipment and a readable storage medium. The method is applied to a central control unit in the Internet of Things, and comprises the steps of determining a task type of a data processing request under the condition that a first household appliance initiates the data processing request; the task type represents the type of a computing resource required for processing a target task corresponding to the data processing request; determining a second household appliance from the plurality of household appliances according to the task type, the equipment state and the resource utilization rate; receiving a first processing result sent by the first household appliance; controlling the first household appliance to send second task data to the second household appliance, and receiving a second processing result of the second task data returned by the second household appliance; and obtaining a target processing result of the data processing request according to the first processing result and the second processing result, and sending the target processing result to the first household appliance. Therefore, task allocation can be dynamically adjusted, resource utilization is optimized, and the reliability and stability of the system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of computer technology, and in particular, relates to a resource scheduling method, device, electronic device and readable storage medium. Background Art

[0002] With the popularity of smart homes, more and more home appliances have computing capabilities. However, the computing power of a single device is limited and cannot cope with complex task requirements. Therefore, a collaborative working mechanism for home appliances has emerged, such as the Internet of Things in smart home application scenarios.

[0003] Existing smart home systems often rely on a single high-performance device or a remote cloud server to handle complex computing tasks. However, this approach is not only limited in response speed, but also may cause network congestion, affecting user experience. Summary of the invention

[0004] The present application provides a resource scheduling method, device, electronic device and readable storage medium to solve the technical problem that the response speed is limited and may cause network congestion.

[0005] In a first aspect, the present application provides a resource scheduling method, which is applied to a central control unit in an Internet of Things, and the method comprises:

[0006] In the case where the first household appliance initiates a data processing request, determining a task type of the data processing request; the task type represents a type of computing resources required to process a target task corresponding to the data processing request;

[0007] Determining a second home appliance from a plurality of home appliances according to the task type, the device state, and the resource utilization rate;

[0008] receiving a first processing result sent by the first household appliance; the first processing result is obtained by the first household appliance processing the first task data;

[0009] Controlling the first home appliance to send second task data to the second home appliance, and receiving a second processing result of the second task data returned by the second home appliance; the second home appliance is connected to the first home appliance via a network;

[0010] According to the first processing result and the second processing result, a target processing result of the data processing request is obtained and sent to the first household appliance.

[0011] Optionally, the first device includes a video acquisition device, and the second home appliance includes a video processing device, and controlling the first home appliance to send the second task data to the second home appliance, and receiving a second processing result of the second task data returned by the second home appliance, includes:

[0012] The video acquisition device is controlled to send a video clip to the video processing device, and a video determination result returned by the video processing device is received.

[0013] Optionally, the first processing result includes video data collected by a video acquisition device, and obtaining a target processing result of the data processing request according to the first processing result and the second processing result and sending the target processing result to the first household appliance includes:

[0014] When the video judgment result meets a preset condition, prompt information is generated according to the video data and sent to the video acquisition device, so that the video acquisition device sends the prompt information to the user terminal.

[0015] Optionally, the first device includes a temperature data acquisition device, the second household appliance includes a temperature data processing device, and the controlling the first household appliance to send the second task data to the second household appliance, and receiving a second processing result of the second task data returned by the second household appliance, includes:

[0016] The temperature data acquisition device is controlled to send the current temperature and historical temperature data within a preset time period to the temperature data processing device, and receive the temperature change curve returned by the temperature data processing device.

[0017] Optionally, the first processing result includes a current operating parameter of the temperature data acquisition device, and obtaining a target processing result of the data processing request according to the first processing result and the second processing result and sending the target processing result to the first household appliance includes:

[0018] According to the current operating parameters of the temperature data acquisition device and the temperature change curve, the target operating parameters of the temperature data acquisition device are determined and sent to the temperature data acquisition device, so that the temperature data acquisition device adjusts the operating parameters.

[0019] Optionally, determining the second home appliance from a plurality of home appliances according to the task type, the device state, and the resource utilization rate includes:

[0020] Determine at least one household appliance to be called that matches the task type from a plurality of household appliances;

[0021] According to the device status and resource utilization, a second household appliance is determined from the at least one household appliance to be called.

[0022] Optionally, the device state includes a network connection state, and determining the second home appliance from the at least one home appliance to be called according to the device state and resource utilization includes:

[0023] Acquire the network connection status of the at least one household appliance to be called; the network connection status includes online or offline;

[0024] In a case where the at least one household appliance to be called includes at least two online devices, the household appliance with lower resource utilization is used as the second household appliance.

[0025] Optionally, the device state includes battery power, and determining the second home appliance from the at least one home appliance to be called according to the device state and resource utilization includes:

[0026] Obtaining resource utilization of the at least one household appliance to be called;

[0027] In a case where the at least one household appliance to be called includes at least two household appliances with the same resource utilization rate, the household appliance with a higher battery power is used as the second household appliance.

[0028] Optionally, the method further comprises:

[0029] In response to any home appliance device accessing a local area network, determining a shared device that can provide a resource sharing function from devices connected to the local area network;

[0030] Control the home appliance to establish a network connection with the shared device;

[0031] According to the type of the household appliance, the type of computing resources corresponding to the household appliance is determined and stored.

[0032] In a second aspect, the present application provides a resource scheduling device, which is applied to a central control unit in the Internet of Things, and the device includes:

[0033] A first determination module is used to determine the task type of the data processing request when the first household appliance initiates the data processing request; the task type represents the type of computing resources required to process the task data corresponding to the data processing request;

[0034] A second determination module, configured to determine a second home appliance from a plurality of home appliances according to the task type, device status, and resource utilization;

[0035] A receiving module, configured to receive a first processing result sent by the first household appliance; the first processing result is obtained by the first household appliance processing the first task data;

[0036] a control module, used for controlling the first home appliance to send second task data to the second home appliance, and receiving a second processing result of the second task data returned by the second home appliance; the second home appliance is connected to the first home appliance via a network;

[0037] The processing module is used to obtain a target processing result of the data processing request according to the first processing result and the second processing result, and send the target processing result to the first household appliance.

[0038] In a third aspect, the present application provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned resource scheduling method when executing the program.

[0039] In a fourth aspect, the present application provides a readable storage medium, which, when instructions in the readable storage medium are executed by a processor of an electronic device, enables the electronic device to execute the above-mentioned resource scheduling method.

[0040] In the embodiment of the present application, first, when the first home appliance initiates a data processing request, the central control unit in the Internet of Things determines the task type of the data processing request, wherein the task type represents the type of computing resources required for processing the target task corresponding to the data processing request; secondly, according to the task type, the device state and the resource utilization rate, the second home appliance is determined from multiple home appliances; thirdly, the first processing result obtained by processing the first task data sent by the first home appliance is received; then, the first home appliance is controlled to send the second task data to the second home appliance, and the second processing result of the second task data returned by the second home appliance is received, wherein the second home appliance is connected to the first home appliance through a network; finally, according to the first processing result and the second processing result, the target processing result of the data processing request is obtained and sent to the first home appliance. In this way, on the one hand, by sending part of the data of the target task to the second home appliance for processing, the computing resources of the second home appliance are used to complete complex tasks, and the task allocation can be dynamically adjusted, the resource utilization can be optimized, and the overall performance of the system can be improved; on the other hand, since the second home appliance is selected according to the device state and the resource utilization rate, the response speed of the target task can be provided, the network congestion can be avoided, and the user experience can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0042] Figure 1 It is a schematic diagram of an overall system architecture provided by an embodiment of the present application;

[0043] Figure 2 It is a flowchart of the steps of a resource scheduling method provided by an embodiment of the present application;

[0044] Figure 3 is a flowchart of another resource scheduling method provided by an embodiment of the present application;

[0045] Figure 4 is a flowchart of the steps of another resource scheduling method provided in an embodiment of the present application;

[0046] Figure 5 is a structural diagram of a resource scheduling device provided in an embodiment of the present application;

[0047] Figure 6 is a structural diagram of an electronic device provided in an embodiment of the present application;

[0048] Figure 7 It is a structural diagram of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are 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 are within the scope of protection of this application.

[0050] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0051] In the description of the present disclosure, unless otherwise specified, "multiple" means two or more than two, and other quantifiers are similar thereto; "at least one item", "one item or multiple items" or similar expressions refer to any combination of these items, including any combination of single items or plural items. For example, at least one item a can represent any number of a; for another example, one item or multiple items among a, b and c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple; "and / or" is a kind of description of the association relationship of associated objects, indicating that there can be three kinds of relationships, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " indicates that the associated objects before and after are in an "or" relationship.

[0052] Although operations or steps are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood that it is required to perform these operations or steps in the specific order shown or in a serial order, or to perform all the operations or steps shown to obtain the desired results. In the embodiments of the present disclosure, these operations or steps can be performed in series; these operations or steps can also be performed in parallel; or some of these operations or steps can be performed.

[0053] With the continuous development of communication technology, electronic technology has also developed rapidly, and the types of electronic products are increasing, providing people with various conveniences brought by scientific and technological development. Smart terminal electronic devices such as laptops, desktop computers, smart phones, tablets, video processing equipment, video acquisition equipment, etc. have become an important part of people's lives.

[0054] The widespread use of smart devices has led to an increasing demand for computing resources. Currently, most application scenarios are based on the self-sufficiency of device computing power, that is, the smart device itself is equipped with a chip with considerable computing power, and can complete the computing power required for related calculations without the help of other computing resources. However, with the increase in the volume of applications and the explosive growth in the amount of data required to be processed, smart devices need to be continuously upgraded to meet the growing demand for computing power, which brings a large amount of equipment replacement and upgrade costs and the idleness of old equipment. 3G, 4G, and 5G communications have greatly accelerated the efficiency of data transmission, which in turn has led to the continuous depreciation and elimination of terminal equipment hardware and the manufacture of higher-end terminal equipment to adapt to the latest transmission network. While the software of smart terminals is constantly updated, it also puts higher and higher requirements on device computing power and storage space.

[0055] Therefore, a collaborative working mechanism for home appliances has emerged, such as the Internet of Things in application scenarios such as smart home (homeautomation), smart home, smart home device ecosystem, and smart residential (IntelligenceHouse) ecosystem.

[0056] Existing smart home systems often rely on a single high-performance device or a remote cloud server to handle complex computing tasks. When using a remote cloud server, the device uploads the computing task to the remote cloud server through the public network. After the remote cloud server completes the calculation, it downloads the calculation results of the remote cloud server. Since the device and the remote cloud server need to communicate through the public network, the connection performance of the public network is often difficult to guarantee, so the data response speed is limited, and it may cause network congestion, affecting the user experience. In addition, the local data of the device is sent through the public network, and there is a risk of data leakage, and the security is relatively low.

[0057] When using a single high-performance device, it is usually necessary to eliminate old devices or upgrade the computing modules in the device (such as CPU, graphics card, memory) to improve the computing power of the device. Obviously, this kind of method will undoubtedly cause a large economic cost investment. In addition, when other devices in the Internet of Things have idle computing resources, they cannot be fully utilized.

[0058] In order to solve the above technical problems, the present application provides a resource scheduling method, device, electronic device and readable storage medium. The specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings.

[0059] First, an application scenario involved in an embodiment of the present application is described.

[0060] See also Figure 1 The resource scheduling method provided in the embodiment of the present application can be applied to Figure 1 The hardware environment shown is composed of multiple household appliances 10 and a central control unit 20.

[0061] In this embodiment, the household appliances 10 are smart home appliances, and the multiple household appliances 10 may include: PC, mobile phone, tablet computer, smart air conditioner, smart range hood, smart refrigerator, smart oven, smart stove, smart washing machine, smart water heater, smart washing equipment, smart dishwasher, smart projection equipment, smart TV, smart clothes rack, smart curtain, smart audio and video, smart socket, smart audio, smart speaker, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart sweeping robot, smart window cleaning robot, smart mopping robot, smart air purification equipment, smart steamer, smart microwave oven, smart kitchen treasure, smart purifier, smart water dispenser, smart camera, etc.

[0062] In this embodiment, the plurality of home appliances 10 are connected via a network, and the central control unit 20 is connected to the plurality of home appliances 10 via a network. The network may include: a wired network, a wireless network, the wired network may include: a wide area network, a metropolitan area network, a local area network, and the wireless network may include: WIFI (Wireless Fidelity) and Bluetooth.

[0063] Optionally, the central control unit 20 may be deployed on a home appliance with high computing power. For example, the central control unit 20 may be deployed on any one of a video processing device, a high-end smart speaker, or a dedicated security processing device.

[0064] Optionally, the central control unit 20 can also be deployed on the intelligent gateway. By providing computing power support for terminal devices within the home through built-in computing power on the home gateway, the upgrade and replacement of terminal application devices can be effectively reduced, meeting the home's demand for computing power resources without spending a lot of cost.

[0065] Optionally, the central control unit 20 can also be deployed on an intelligent router. Multiple home appliances 10 can be connected to the intelligent router via wired or wireless communication to receive tasks issued by the intelligent router. In some embodiments, multiple home appliances 10 communicate with the central control unit 20 via the TCP / IP protocol.

[0066] In some embodiments, the terminal 30 is connected to the central control unit 20 through a network, and accesses the central control unit 20 through an access interface. Exemplarily, the terminal 30 may be a smart phone and a computer, and the access interface includes but is not limited to the World Wide Web (web), a mobile application (APP) and a mini-program, and the terminal 30 may access the central control unit 20 through the web, APP and mini-program.

[0067] The resource scheduling method provided in the embodiment of the present application is described in detail below.

[0068] Figure 2 is a flowchart of a resource scheduling method provided in an embodiment of the present application. The resource scheduling method is applied to Figure 1 The central control unit in Figure 3 As shown, the method may include:

[0069] Step 101: When a first household appliance initiates a data processing request, determine a task type of the data processing request.

[0070] In the embodiment of the present application, the task type represents the type of computing resources required to process the target task corresponding to the data processing request.

[0071] Optionally, the task types may include video processing tasks, temperature data processing tasks, humidity data processing tasks, voice processing tasks, light intensity processing tasks, etc.

[0072] Exemplarily, the data processing request is a video processing request, and the task type is a video processing task; the data processing request is a temperature data processing task request, and the task type is a temperature data processing task; the data processing request is a humidity data processing task request, and the task type is a humidity data processing task; the data processing request is a voice processing request, and the task type is a voice processing task; the data processing request is a light intensity processing request, and the task type is a light intensity processing task.

[0073] Step 102: Determine a second home appliance from a plurality of home appliances according to the task type, the device status and the resource utilization rate.

[0074] In the embodiment of the present application, different household appliances have different types of computing resources. Therefore, it is necessary to match the task type with the type of computing resources corresponding to the household appliance and select a household appliance of the same type as the second household appliance.

[0075] In an embodiment of the present application, the device status may include the network status and battery power of the home appliance, wherein the network status of the home appliance may include online or offline.

[0076] In the embodiment of the present application, resource utilization refers to the computing resource utilization of the home appliance, and the computing resource may be the spare performance of the central processing unit (CPU) or the graphics processing unit (GPU).

[0077] It is understandable that in order to achieve data transmission, the second home appliance must be an online device. The analysis and processing of data requires the performance of the CPU or GPU. The better the performance of the CPU or GPU, the faster the processing speed. Home appliances with lower resource utilization are given priority as the second home appliance. When there are home appliances with the same resource utilization, devices with higher power consumption are given priority as the second home appliance.

[0078] Step 103: Receive a first processing result sent by the first household appliance.

[0079] In the embodiment of the present application, the first processing result is obtained by the first household appliance processing the first task data.

[0080] In some embodiments, the first processing result includes video data collected by a video acquisition device; in other embodiments, the first processing result includes current operating parameters of a temperature acquisition device.

[0081] Optionally, when the video acquisition device is a smart camera, the first processing result may include video data acquired by the smart camera; when the temperature acquisition device is a central air conditioner, the first processing result may also include the current wind parameters of the central air conditioner; wherein the wind parameters include air volume, wind speed, air supply mode, etc.

[0082] It is understandable that the computing power of the first home appliance is relatively low and cannot process tasks that require a large amount of computing resources; however, the first home appliance can process part of the data of the data processing request.

[0083] For example, the video acquisition device is a smart camera, and the target task includes processing the captured video frame by frame and identifying whether there is a stranger intrusion through a neural network model. This process requires a lot of computing resources. Due to the low computing power of the smart camera, it takes a long time and may lead to untimely response. However, for the smart camera, it is easy to split the captured video into video clips, and it does not take a long time. Then, the first task data is the original video data, and the first processing result is the video clip.

[0084] For another example, the temperature acquisition device is a central air conditioner with many indoor units. The temperature sensor or humidity sensor on each indoor unit is an independent component. The target task includes analyzing the historical temperature or humidity data within a preset time period to obtain the current temperature or humidity that needs to be set. In this process, the sampling frequency of the temperature data needs to be increased from once every 30 seconds to once every 3 seconds, and the amount of data will be 10 times more. At this time, the performance of the temperature and humidity sensor of the central air conditioner is not sufficient, the processing speed is slow, and the results cannot be analyzed in time. However, for the central air conditioner, determining the current wind force parameters can be easily completed and does not require a long time. Among them, the wind force parameters include air volume, wind speed, air supply mode, etc. Then, the first task data is the wind force parameters corresponding to different temperature intervals, and the first processing result is the current wind force parameters of the air conditioner. Similarly, the first device can also be a humidity acquisition device.

[0085] Step 104: Control the first household appliance to send the second task data to the second household appliance, and receive a second processing result of the second task data returned by the second household appliance.

[0086] In the embodiment of the present application, the second household appliance is connected to the first household appliance via a network.

[0087] Optionally, the second household appliance is connected to the first household appliance via a local area network.

[0088] In the embodiment of the present application, the second task data may be data corresponding to the first processing result.

[0089] It can be understood that the second household appliance has high computing capability and is a household appliance with idle computing resources.

[0090] In some embodiments, the first device includes a video acquisition device, the second home appliance includes a video processing device, the second task data may include a video clip, and the second processing result may include a video judgment result. For example, optionally, when the video acquisition device is a smart camera, the video acquisition device may include a smart TV, a smart speaker, or a dedicated security processing device, a temperature acquisition device, wherein the video judgment result includes whether there is a stranger intrusion in the video clip.

[0091] In other embodiments, the first device includes a temperature acquisition device, the second household appliance includes a temperature processing device, the second task data may include the current temperature and historical temperature data of a preset time period, and the second processing result may include a temperature change curve. For example, when the temperature acquisition device is an air conditioner, the temperature processing device may include a smart refrigerator.

[0092] Step 105: Obtain a target processing result of the data processing request according to the first processing result and the second processing result, and send the result to the first household appliance.

[0093] In some embodiments, step 105 may include: obtaining a target processing result of the data processing request according to the first processing result and the second processing result and sending the target processing result to the first home appliance, so that the first home appliance sends the target processing result to the user terminal.

[0094] In other embodiments, step 105 may further include: obtaining a target processing result of the data processing request according to the first processing result and the second processing result and sending the target processing result to the first household appliance, so that the first household appliance adjusts the operating parameters.

[0095] In some embodiments, the first processing result includes video data collected by a video acquisition device, the second processing result may include a video judgment result, and the target processing result includes prompt information. For example, the video judgment result is whether there is a stranger intrusion in the video clip, and the prompt information is an alarm message.

[0096] In other embodiments, the first processing result includes target operating parameters corresponding to different temperature intervals or humidity intervals, the second processing result may include a temperature change curve, and the target processing result includes the target operating parameters of the temperature acquisition device, for example, the target processing result is the target wind speed parameter of the air conditioner.

[0097] To summarize, the resource scheduling method in the embodiment of the present application is as follows: first, when the first home appliance initiates a data processing request, the central control unit in the Internet of Things determines the task type of the data processing request, wherein the task type characterizes the type of computing resources required to process the target task corresponding to the data processing request; secondly, according to the task type, the device status and the resource utilization rate, the second home appliance is determined from multiple home appliances; thirdly, the first processing result obtained by processing the first task data sent by the first home appliance is received; then, the first home appliance is controlled to send the second task data to the second home appliance, and the second processing result of the second task data returned by the second home appliance is received, wherein the second home appliance is connected to the first home appliance through a network; finally, according to the first processing result and the second processing result, the target processing result of the data processing request is obtained and sent to the first home appliance. In this way, on the one hand, by sending part of the data of the target task to the second home appliance for processing, it is possible to complete complex tasks with the help of the computing resources of the second home appliance, dynamically adjust task allocation, optimize resource utilization, and improve the overall performance of the system; on the other hand, since the second home appliance is selected according to the device status and resource utilization, it can provide the response speed of the target task, avoid network congestion, and improve user experience.

[0098] Figure 3 is a flowchart of another resource scheduling method provided in an embodiment of the present application, and the resource scheduling method is applied to a target device, such as Figure 3 As shown, the method may include:

[0099] Step 201: When a first household appliance initiates a data processing request, determine a task type of the data processing request.

[0100] In the embodiment of the present application, the task type represents the type of computing resources required to process the target task corresponding to the data processing request.

[0101] The method of this step has been described in the aforementioned step 101 and will not be repeated here.

[0102] In some embodiments, the data processing request may be generated by the first household appliance according to a task request received from a user terminal.

[0103] In some embodiments, when the first household appliance initiates multiple data processing requests, the priority of the task corresponding to each data processing request is determined; and data processing requests with higher priorities are executed preferentially.

[0104] Optionally, the priority of data processing requests can be determined based on the timeliness of the task. Tasks triggered by users have a higher priority, while tasks that are performed in the background and are not perceived by the user have a lower priority. For example, when a user triggers a voice command for the central air conditioner, "I feel a little cool," it is necessary to collect the current temperature and historical temperature change curves, process them, and reset the air conditioning parameters for the user. The temperature data processing task has a higher priority. For another example, analyzing the user's habits of using the water heater and the temperature changes of the water heater, and regularly turning the water heater on and off and setting the temperature, this task has a lower priority.

[0105] Step 202: Determine at least one household appliance to be called that matches the task type from a plurality of household appliances.

[0106] In some embodiments, before step 202, the resource scheduling method further includes:

[0107] Sub-step S1, in response to any home appliance device being connected to a local area network, determining a shared device that can provide a resource sharing function from devices connected to the local area network;

[0108] Sub-step S2, controlling the home appliance to establish a network connection with the shared device;

[0109] Sub-step S3: according to the type of the household appliance, determine and store the type of computing resources corresponding to the household appliance.

[0110] In the embodiment of the present application, the local area network has the advantages of high bandwidth, low latency, low jitter, low packet loss rate and high reliability, and is therefore suitable for transmitting task data and communication instructions between shared devices and home appliances.

[0111] Exemplarily, sub-step S2 may include: controlling the home appliance to establish a network connection with the shared device to join the computing network under the local area network. The computing network refers to connecting computing resources distributed on different devices or nodes through the network to achieve computing power sharing and collaboration. It is based on network communication technology to organize scattered computing nodes into a unified computing network, so that these nodes can communicate with each other, work together, and share each other's computing power.

[0112] Optionally, sub-step S3 may include: determining the type of computing resources corresponding to the home appliance according to the type of built-in sensors or the type of hardware structure of the home appliance.

[0113] For example, when the built-in sensor type of the home appliance is a temperature sensor, the type of computing resources corresponding to the home appliance is temperature data processing; for another example, when the hardware structure type of the home appliance includes a display, the type of computing resources corresponding to the home appliance is video processing.

[0114] Through the above-mentioned technical means, when a home appliance is connected to a local area network, the home appliance is controlled to establish a network connection with a shared device, so that the home appliance can join the computing power network under the local area network, thereby realizing computing power sharing among multiple home appliances, which is conducive to making full use of the idle computing power of home appliances.

[0115] Step 203: Determine a second home appliance from at least one home appliance to be called according to the device state and resource utilization.

[0116] Optionally, step 203 may include:

[0117] Sub-step 2031: determining at least one household appliance to be called that matches the task type from a plurality of household appliances;

[0118] Sub-step 2032: determining a second household appliance from at least one household appliance to be called according to the device status and resource utilization.

[0119] In the embodiment of the present application, the device status includes a network connection status, and the network connection status includes online or offline.

[0120] It is understandable that in order to achieve data transmission, the second home appliance must be an online device. The analysis and processing of data requires the performance of the CPU or GPU. The better the performance of the CPU or GPU, the faster the processing speed. Home appliances with lower resource utilization are given priority as the second home appliance.

[0121] In an embodiment of the present application, the computing resource type of the home appliance to be called is the same as the task type.

[0122] Optionally, sub-step 2031 may include: obtaining the computing resource types of all home appliances in the stored Internet of Things, and taking the home appliances with the same computing resource type as the task type as the home appliances to be called. The computing resource types of all home appliances in the Internet of Things may be obtained in sub-step S3.

[0123] Through the above-mentioned technical means, household appliances with the same computing resource type and task type are selected as the household appliances to be called, and household appliances with an online network status and low resource utilization are selected as the second household appliances, which is conducive to realizing the sharing of computing power among multiple household appliances, and further making full use of the idle computing power of household appliances.

[0124] Optionally, sub-step 2032 may include:

[0125] Sub-step A1, obtaining resource utilization of at least one household appliance to be called;

[0126] Sub-step A2: when at least one home appliance to be called includes at least two home appliances with the same resource utilization rate, the home appliance with a higher battery power is used as the second home appliance.

[0127] It is understandable that in order to ensure stable processing of task data, when there are home appliances with the same resource utilization, the device with higher power consumption is given priority as the second home appliance.

[0128] Through the above technical means, household appliances with higher battery power and lower resource utilization are selected as the second household appliances, which can provide a faster response speed for the target task, avoid network congestion, and improve user experience.

[0129] Step 204: Receive a first processing result sent by the first household appliance.

[0130] In the embodiment of the present application, the first processing result is obtained by the first household appliance processing the first task data.

[0131] The method of this step has been described in the aforementioned step 103 and will not be repeated here.

[0132] Step 205: Control the first household appliance to send the second task data to the second household appliance, and receive a second processing result of the second task data returned by the second household appliance.

[0133] In the embodiment of the present application, the second household appliance is connected to the first household appliance via a network.

[0134] The method of this step has been described in the aforementioned step 104 and will not be repeated here.

[0135] In some embodiments, step 205 may include:

[0136] Sub-step 2051: Control the video acquisition device to send the video clip to the video processing device, and receive the video judgment result returned by the video processing device.

[0137] In the embodiment of the present application, the first device is a video acquisition device, the second home appliance device is a video processing device, and the second processing result includes a video judgment result. For example, when the video acquisition device is a smart camera, the video processing device is a smart TV, and the video judgment result includes whether there is a stranger intrusion in the video clip.

[0138] For example, after receiving a video clip, the smart TV can split the video clip into multiple video frames, and input the multiple video frames into a neural network model to identify whether there is a stranger intrusion.

[0139] Optionally, the first device may also include a smart door lock, and the second home appliance may also include a smart speaker or a dedicated security processing device.

[0140] In some other embodiments, step 205 may include:

[0141] Sub-step 2052: Control the temperature acquisition device to send the current temperature and historical temperature data within a preset time period to the temperature processing device, and receive the temperature change curve returned by the temperature processing device.

[0142] In the embodiment of the present application, the first device is a temperature acquisition device, the second household appliance is a temperature processing device, and the second processing result is a temperature change curve. For example, the temperature processing device is an air conditioner, and the temperature processing device is a smart refrigerator.

[0143] Exemplarily, when the smart refrigerator receives the current temperature and historical temperature data within a preset time period, the historical temperature data can be normalized and standardized, and a temperature change curve can be obtained by fitting.

[0144] Optionally, the second device may further include a temperature sensor.

[0145] Step 206: Obtain a target processing result of the data processing request according to the first processing result and the second processing result, and send the result to the first household appliance.

[0146] The method of this step has been described in the aforementioned step 105 and will not be repeated here.

[0147] In some embodiments, when the video determination result meets the preset conditions, step 206 may include:

[0148] Sub-step 2061: Generate prompt information according to the video data and send it to the video acquisition device, so that the video acquisition device sends the prompt information to the user terminal.

[0149] In an embodiment of the present application, the first processing result includes video data captured by a video capture device, and the target processing result includes prompt information.

[0150] Exemplarily, the preset condition includes the presence of a stranger intrusion in the video clip, and the prompt information is used to prompt the presence of the stranger intrusion.

[0151] Sub-step 2062: determining target operating parameters of the temperature acquisition device according to the current operating parameters of the temperature acquisition device and the temperature change curve, and sending the target operating parameters to the temperature acquisition device, so that the temperature acquisition device adjusts the target operating parameters.

[0152] In the embodiment of the present application, the first processing result includes the current operating parameters of the temperature acquisition device, the second processing result includes the temperature change curve, and the target processing result includes the target operating parameters of the temperature acquisition device. For example, the target operating parameters are target wind parameters, and the target wind parameters include wind volume, wind speed, air supply mode, etc.

[0153] To sum up, when the home appliance is connected to the local area network, the resource scheduling method in the embodiment of the present application controls the home appliance to establish a network connection with the shared device, so that the home appliance can join the computing power network under the local area network, thereby realizing computing power sharing among multiple home appliances, which is conducive to making full use of the idle computing power of the home appliances; selecting the second home appliance according to the priority of the network status being online, low resource utilization, and high battery power can increase the response speed of the target task, avoid network congestion, and improve user experience.

[0154] Figure 4 This is a flowchart of a resource scheduling method provided by an embodiment of the present application. Figure 1 In the overall system architecture shown in Figure 4 As shown, the method may include:

[0155] Step 301: A user terminal sends a task request to a first household appliance.

[0156] Step 302: The first household appliance sends a data processing request to the central control unit.

[0157] Step 303: The central control unit evaluates the computing capability of the first household appliance.

[0158] Step 304: The central control unit requests a computing capability evaluation from the second household appliance.

[0159] Step 305: The second household appliance returns computing capability information to the central control unit.

[0160] Step 306: The central control unit assigns the first part of the tasks to the first household appliance.

[0161] Step 307: The central control unit assigns the second part of the task to the second household appliance.

[0162] Step 308: The first household appliance returns the first processing result to the central control unit.

[0163] Step 309: The second household appliance returns the second processing result to the central control unit.

[0164] Step 310: The central control unit sends the target processing result to the first household appliance.

[0165] Step 311: The first household appliance sends a target processing result to a user terminal.

[0166] In summary, the resource scheduling method provided by the embodiment of the present application enables various household appliances to work together to form a powerful distributed computing network. Even devices with weak computing power can use the computing resources of other devices to complete complex tasks, improving overall performance and user experience. At the same time, the system can dynamically adjust task allocation, optimize resource utilization, and improve system reliability and stability.

[0167] Figure 5 : is a structural diagram of a resource scheduling device 3 provided in an embodiment of the present application. The resource scheduling device 3 is applied to a central control unit in the Internet of Things. The resource scheduling device 3 may include:

[0168] A first determination module 31 is used to determine the task type of the data processing request when the first household appliance initiates the data processing request; the task type represents the type of computing resources required to process the task data corresponding to the data processing request;

[0169] A second determination module 32, configured to determine a second home appliance from a plurality of home appliances according to a task type, a device state, and a resource utilization rate;

[0170] The receiving module 33 is used to receive a first processing result sent by the first household appliance; the first processing result is obtained by the first household appliance processing the first task data;

[0171] The control module 34 is used to control the first home appliance to send the second task data to the second home appliance, and receive the second processing result of the second task data returned by the second home appliance; the second home appliance is connected to the first home appliance via a network;

[0172] The processing module 35 is used to obtain a target processing result of the data processing request according to the first processing result and the second processing result, and send the result to the first household appliance.

[0173] Optionally, the first device includes a video acquisition device, the second household appliance includes a video processing device, and the control module 34 includes:

[0174] The first control submodule is used to control the video acquisition device to send the video clip to the video processing device, and receive the video judgment result returned by the video processing device.

[0175] Optionally, the first processing result includes video data collected by a video acquisition device, and the processing module 35 includes:

[0176] The first processing submodule is used to generate prompt information according to the video data and send it to the video acquisition device when the video judgment result meets the preset conditions, so that the video acquisition device sends the prompt information to the user terminal.

[0177] Optionally, the first device includes a temperature data acquisition device, the second household appliance includes a temperature data processing device, and the control module 34 includes:

[0178] The second control submodule is used to control the temperature data acquisition device to send the current temperature and historical temperature data within a preset time period to the temperature data processing device, and receive the temperature change curve returned by the temperature data processing device.

[0179] Optionally, the first processing result includes current operating parameters of the temperature data acquisition device, and the processing module 35 includes:

[0180] The second processing submodule is used to determine the target operating parameters of the temperature data acquisition device according to the current operating parameters of the temperature data acquisition device and the temperature change curve, and send the target operating parameters to the temperature data acquisition device so that the temperature data acquisition device adjusts the operating parameters.

[0181] Optionally, the second determining module 32 includes:

[0182] A first determination submodule is used to determine at least one to-be-called household appliance matching the task type from a plurality of household appliances;

[0183] The second determination submodule is used to determine a second household appliance from at least one household appliance to be called according to a device state and a resource utilization rate.

[0184] Optionally, the second determining submodule includes:

[0185] An acquisition unit, used to acquire a network connection status of at least one household appliance to be called; the network connection status includes online or offline;

[0186] The determining unit is configured to select a home appliance with a lower resource utilization rate as a second home appliance when at least one home appliance to be called includes at least two online devices.

[0187] Optionally, the determining unit includes:

[0188] An acquisition subunit, used for acquiring resource utilization of at least one household appliance to be called;

[0189] The determination subunit is used to select the home appliance with higher battery power as the second home appliance when at least one home appliance to be called includes at least two home appliances with the same resource utilization rate.

[0190] Optionally, the resource scheduling device 3 further includes:

[0191] A third determining module is used to determine a shared device that can provide a resource sharing function from devices connected to the local area network in response to any home appliance device accessing the local area network;

[0192] A network connection module is used to control the home appliance to establish a network connection with the shared device;

[0193] The fourth determination module is used to determine and store the type of computing resources corresponding to the home appliance according to the type of the home appliance.

[0194] To summarize, in the resource scheduling device in the embodiment of the present application, first, when the first household appliance initiates a data processing request, the central control unit in the Internet of Things determines the task type of the data processing request, wherein the task type characterizes the type of computing resources required to process the target task corresponding to the data processing request; secondly, according to the task type, the device status and the resource utilization rate, the second household appliance is determined from multiple household appliances; thirdly, the first processing result obtained by processing the first task data sent by the first household appliance is received; then, the first household appliance is controlled to send the second task data to the second household appliance, and the second processing result of the second task data returned by the second household appliance is received, wherein the second household appliance and the first household appliance are connected via a network; finally, according to the first processing result and the second processing result, the target processing result of the data processing request is obtained and sent to the first household appliance. In this way, on the one hand, by sending part of the data of the target task to the second home appliance for processing, it is possible to complete complex tasks with the help of the computing resources of the second home appliance, dynamically adjust task allocation, optimize resource utilization, and improve the overall performance of the system; on the other hand, since the second home appliance is selected according to the device status and resource utilization, it can provide the response speed of the target task, avoid network congestion, and improve user experience.

[0195] The present application also provides an electronic device, referring to Figure 6 , the electronic device 400 may include one or more of the following components: a processing component 402 , a memory 404 , a power component 406 , a multimedia component 408 , an audio component 410 , an input / output (I / O) interface 412 , a sensor component 414 , and a communication component 416 .

[0196] The processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.

[0197] The memory 404 is used to store various types of data to support the operation of the electronic device 400. Examples of such data include instructions for any application or method operating on the electronic device 400, contact data, phone book data, messages, pictures, multimedia, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0198] The power supply component 406 provides power to the various components of the electronic device 400. The power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 400.

[0199] The multimedia component 408 includes an interface that provides an output interface between the electronic device 400 and the user. In some embodiments, the interface may include a liquid crystal display (LCD) and a touch panel (TP). If the interface includes a touch panel, the interface may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera and / or a rear camera. When the electronic device 400 is in an operating mode, such as a shooting mode or a multimedia mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0200] The audio component 410 is used to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the electronic device 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is used to receive an external audio signal. The received audio signal can be further stored in the memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.

[0201] The input / output I / O interface 412 provides an interface between the processing component 402 and the peripheral interface module, which may be a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0202] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the electronic device 400. For example, the sensor assembly 414 can detect the open / closed state of the electronic device 400, the relative positioning of components, such as the display and keypad of the electronic device 400, and the sensor assembly 414 can also detect the position change of the electronic device 400 or a component of the electronic device 400, the presence or absence of user contact with the electronic device 400, the orientation or acceleration / deceleration of the electronic device 400, and the temperature change of the electronic device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0203] The communication component 416 is used to facilitate wired or wireless communication between the electronic device 400 and other devices. The electronic device 400 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0204] In an exemplary embodiment, the electronic device 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to implement a resource scheduling method provided in an embodiment of the present application.

[0205] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the instructions can be executed by a processor 420 of an electronic device 400 to perform the above method. For example, the non-transitory storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0206] Figure 7 is a block diagram of an electronic device 500 according to another embodiment of the present invention. For example, the electronic device 500 may be provided as a server. Figure 7 , the electronic device 500 includes a processing component 522, which further includes one or more processors, and a memory resource represented by a memory 532, for storing instructions that can be executed by the processing component 522, such as an application. The application stored in the memory 532 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 522 is configured to execute instructions to perform a resource scheduling method provided in an embodiment of the present application.

[0207] The electronic device 500 may also include a power supply component 526 configured to perform power management of the electronic device 500, a wired or wireless network interface 550 configured to connect the electronic device 500 to a network, and an input / output (I / O) interface 558. The electronic device 500 may operate based on an operating system stored in the memory 532, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, Free BSD TM or the like.

[0208] In an embodiment of the present application, the memory 532 may be used to store software programs and various data. The memory 532 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 532 may include a volatile memory or a non-volatile memory, or the memory 532 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 532 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0209] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor.

[0210] The present application also provides a readable storage medium. When instructions in the readable storage medium are executed by a processor of an electronic device, the electronic device can execute the resource scheduling method of the aforementioned embodiment.

[0211] An embodiment of the present application also provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned resource scheduling method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0212] It should be noted that the various information and data obtained in the embodiments of the present application are obtained with the authorization of the information / data holder. All actions of obtaining signals, information or data in the present application are carried out in compliance with the relevant data protection laws and policies of the country of residence and with the authorization of the corresponding device owner.

[0213] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the application is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to realize the content of the application described herein, and the description of the specific language above is for the purpose of disclosing the best mode of implementation of the application.

[0214] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0215] Similarly, it should be understood that in order to streamline the present application and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed application requires more features than the features clearly stated in each claim. More specifically, as reflected in the claims below, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.

[0216] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0217] The various component embodiments of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components in the sorting device according to the present application. The present application can also be implemented as a device or apparatus program for executing part or all of the methods described herein. Such a program implementing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0218] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets should not be constructed as a limitation to the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names.

[0219] The user information (including but not limited to the user's device information, user personal information, etc.) and related data involved in this application are all information authorized by the user or by all parties.

[0220] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0221] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.

[0222] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A resource scheduling method, characterized in that: Applied to a central control unit in the Internet of Things, the method comprises: In the case where the first household appliance initiates a data processing request, determining a task type of the data processing request; the task type represents a type of computing resources required to process a target task corresponding to the data processing request; Determining a second home appliance from a plurality of home appliances according to the task type, the device state, and the resource utilization rate; receiving a first processing result sent by the first household appliance; the first processing result is obtained by the first household appliance processing the first task data; Controlling the first home appliance to send second task data to the second home appliance, and receiving a second processing result of the second task data returned by the second home appliance; the second home appliance is connected to the first home appliance via a network; According to the first processing result and the second processing result, a target processing result of the data processing request is obtained and sent to the first household appliance.

2. The method according to claim 1, characterized in that The first device includes a video acquisition device, the second home appliance includes a video processing device, and the controlling the first home appliance to send the second task data to the second home appliance and receiving the second processing result of the second task data returned by the second home appliance includes: The video acquisition device is controlled to send a video clip to the video processing device, and a video determination result returned by the video processing device is received.

3. The method according to claim 2, characterized in that The first processing result includes video data collected by the video acquisition device, and obtaining the target processing result of the data processing request according to the first processing result and the second processing result and sending the target processing result to the first household appliance includes: When the video judgment result meets a preset condition, prompt information is generated according to the video data and sent to the video acquisition device, so that the video acquisition device sends the prompt information to the user terminal.

4. The method according to claim 1, characterized in that The first device includes a temperature acquisition device, the second home appliance includes a temperature processing device, and the controlling the first home appliance to send the second task data to the second home appliance and receiving the second processing result of the second task data returned by the second home appliance includes: The temperature acquisition device is controlled to send the current temperature and historical temperature data within a preset time period to the temperature processing device, and receive the temperature change curve returned by the temperature processing device.

5. The method according to claim 4, characterized in that The first processing result includes the current operating parameters of the temperature acquisition device, and obtaining the target processing result of the data processing request according to the first processing result and the second processing result and sending the target processing result to the first household appliance includes: According to the current operating parameters of the temperature acquisition device and the temperature change curve, the target operating parameters of the temperature acquisition device are determined and sent to the temperature data acquisition device, so that the temperature acquisition device adjusts the operating parameters.

6. The method according to claim 1, characterized in that The determining of the second home appliance from the plurality of home appliances according to the task type, the device state and the resource utilization rate comprises: Determine at least one household appliance to be called that matches the task type from a plurality of household appliances; According to the device status and resource utilization, a second household appliance is determined from the at least one household appliance to be called.

7. The method according to claim 6, characterized in that The device state includes a network connection state, and determining the second home appliance from the at least one home appliance to be called according to the device state and the resource utilization rate includes: Acquire the network connection status of the at least one household appliance to be called; the network connection status includes online or offline; In a case where the at least one household appliance to be called includes at least two online devices, the household appliance with lower resource utilization is used as the second household appliance.

8. The method according to claim 6, characterized in that The device state includes a battery charge, and determining a second home appliance from the at least one home appliance to be called according to the device state and the resource utilization rate includes: Obtaining resource utilization of the at least one household appliance to be called; In a case where the at least one household appliance to be called includes at least two household appliances with the same resource utilization rate, the household appliance with a higher battery power is used as the second household appliance.

9. The method according to claim 1, characterized in that: The method further comprises: In response to any home appliance device accessing a local area network, determining a shared device that can provide a resource sharing function from devices connected to the local area network; Control the home appliance to establish a network connection with the shared device; According to the type of the household appliance, the type of computing resources corresponding to the household appliance is determined and stored.

10. A resource scheduling device, characterized in that: A central control unit applied to the Internet of Things, the device comprising: A first determination module is used to determine the task type of the data processing request when the first household appliance initiates the data processing request; the task type represents the type of computing resources required to process the task data corresponding to the data processing request; A second determination module, configured to determine a second home appliance from a plurality of home appliances according to the task type, device status, and resource utilization; A receiving module, configured to receive a first processing result sent by the first household appliance; the first processing result is obtained by the first household appliance processing the first task data; a control module, used for controlling the first home appliance to send second task data to the second home appliance, and receiving a second processing result of the second task data returned by the second home appliance; the second home appliance is connected to the first home appliance via a network; The processing module is used to obtain a target processing result of the data processing request according to the first processing result and the second processing result, and send the target processing result to the first household appliance.

11. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the data processing method according to any one of claims 1 to 9 when executing the program.

12. A readable storage medium, characterized in that: When the instructions or transactions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the resource scheduling method according to any one of claims 1 to 9.

13. A computer program product, characterized in that The method comprises instructions or transactions, which, when executed by a processor in an electronic device, enable the electronic device to execute the resource scheduling method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Internet of Things edge computing control method, device and equipment and storage medium

    CN112433852A

  • Task scheduling method and device, electronic equipment and storage medium

    CN112905350A

  • Computing power distribution method and device and edge network

    CN115292031A

  • Computing power sharing method and device, storage medium and electronic device

    CN116610440A

Cited By

  • Offline calculation method and device of intelligent interaction equipment and interaction equipment

    CN121092301A