Edge calculation method and system for whole-house intelligent central control tablet personal computer

By using the edge computing method of the whole-house smart central control tablet in the smart home central control system, computing tasks are performed in a decentralized manner, which solves the problem of the central server becoming a bottleneck in the centralized computing mode and improves the real-time response performance and reliability of the system. , enhanced scalability and fault tolerance.

CN118555282APending Publication Date: 2024-08-27SHENZHEN SOMY TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410352677.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-26
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

The existing smart home central control system adopts a centralized computing model, which causes the central server to become a bottleneck for computing and communication, making it difficult to meet real-time and reliability requirements, and there is a risk of single point failure.

Method used

Adopting the edge computing method of the whole-house intelligent central control tablet, by establishing a local area network to connect with multiple edge devices, the computing tasks are distributed based on the computing power and network bandwidth parameters, realizing the decentralized execution of computing tasks and reducing the computing pressure of the central control tablet. Enhance the real-time response performance and reliability of the system.

Benefits of technology

It improves the real-time response performance and reliability of the smart home control system, avoids the risk of single point failure of the central server, enhances the scalability and reliability of the system, and achieves reasonable allocation and optimal utilization of computing resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555282A
    Figure CN118555282A
Patent Text Reader

Abstract

The invention discloses an edge calculation method and system for a whole-house intelligent center control tablet personal computer, and relates to the field of intelligent home control, and the method comprises the steps: building a local area network, and carrying out the communication connection with a plurality of edge devices through the local area network; collecting an operation instruction of a user and state information of home equipment, and generating a plurality of calculation tasks based on the operation instruction and the state information; distributing a plurality of computing tasks with different priorities to a plurality of pieces of edge equipment through a scheduling optimization algorithm based on the computing capability and network bandwidth parameters of the edge equipment; receiving a calculation result returned by the edge device after calculating the calculation task; summarizing the calculation results to obtain a result instruction; and controlling the corresponding home equipment to execute the result instruction, and displaying an execution result. By implementing the method, the calculation load of the central control tablet personal computer is shared, the real-time responsiveness of the system is improved, meanwhile, a central server does not need to be used, and the expandability and reliability of the system are enhanced.
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 control, and in particular to an edge computing method and system for a whole-house smart central control tablet computer. Background Art

[0002] With the development of science and technology, it is an inevitable trend for smart homes to enter ordinary families. Through the Internet of Things and information fusion technology, intelligent perception and control of the home environment can be achieved. A typical smart home system includes a variety of smart devices, such as smart door locks, smart lights, smart curtains, etc., as well as a central control system that connects these smart devices. The central control system collects and analyzes user information and home environment information, and can interact with users through an interface to achieve centralized control of the home environment.

[0003] At present, some smart home central control systems mostly adopt centralized computing mode. This type of central control system contains a high-performance central server, and each smart device is connected to the central server through the network. The central server is responsible for receiving data from each smart device, and centrally processing it to generate control instructions, and then sending them to each smart device for execution. This centralized system has the problem of high server computing and network bandwidth costs.

[0004] However, in the existing centralized computing model, the central server undertakes all computing tasks, which can easily become a bottleneck for system computing and communication, and it is difficult to meet the real-time and reliability requirements of future smart home central control systems. Summary of the invention

[0005] The present application provides an edge computing method and system for a whole-house smart central control tablet computer, which is used to share the computing load of the central control tablet computer and enhance the scalability and reliability of the system.

[0006] In the first aspect, the present application provides an edge computing method for a whole-house smart central control tablet computer, which is applied to the central control tablet computer, and the method includes: establishing a local area network, and connecting multiple edge devices through local area network communication; collecting user operation instructions and status information of home appliances, and generating multiple computing tasks based on the operation instructions and status information; based on the computing power and network bandwidth parameters of the edge devices, distributing multiple computing tasks with different priorities to multiple edge devices through a scheduling optimization algorithm; receiving the calculation results returned by the edge device after calculating the calculation task; summarizing the calculation results to obtain result instructions; controlling the corresponding home appliances to execute the result instructions, and displaying the execution results.

[0007] In the above embodiment, the central control tablet computer establishes a local area network connection with multiple edge devices, can collect user operation instructions and home appliance status information, generate computing tasks based on this information, and then assign computing tasks to multiple edge devices for execution through a scheduling algorithm based on the computing power and network parameters of the edge devices, summarize the multiple returned computing results to obtain the final control instructions, and send them to the home appliances for execution. This realizes the decentralized execution of computing tasks, reduces the computing pressure of the central control tablet computer, improves the real-time response performance of the system, avoids the single point failure problem of the central server, and enhances the scalability and reliability of the system.

[0008] In combination with some embodiments of the first aspect, in some embodiments, a local LAN is established, and multiple edge devices are connected through local LAN communication, specifically including: establishing a local LAN; recording the brand, model and identification code of the edge device, generating device identity information and communication driver configuration; when a new edge device is detected to be connected to the local LAN, verifying the device identity information of the new edge device; after the identity authentication is passed, using the corresponding communication driver configuration to establish a communication connection with the new edge device, and recording the device information of the new edge device; scanning the local LAN, checking and updating the online status of multiple edge devices.

[0009] In the above embodiment, the central control tablet computer can record the information of the edge device in advance, verify the device information and establish a connection when a new device is connected, and can continuously scan the network and update the online status of the device. This can realize the dynamic management of edge devices, ensure that computing tasks can be assigned to online edge devices on demand, and improve the flexibility of task scheduling. At the same time, it also enhances the security of network connections and prevents the access of illegal devices.

[0010] In combination with some embodiments of the first aspect, in some embodiments, based on the computing power and network bandwidth parameters of the edge device, multiple computing tasks with different priorities are distributed to multiple edge devices through a scheduling optimization algorithm, specifically including: collecting hardware configuration parameters of multiple edge devices; the hardware configuration parameters include processor parameters, memory parameters and network parameters; based on the hardware configuration parameters, establishing a computing power model of the edge device; according to the priorities of multiple computing tasks, combined with the current computing load, network bandwidth parameters and computing power model of the edge device, calculating the task scheduling plan of multiple edge devices through a genetic algorithm; according to the mapping relationship in the scheduling plan, distributing multiple computing tasks to the corresponding multiple edge devices.

[0011] In the above embodiment, the central control tablet computer can collect the hardware configuration parameters of the edge device to establish a computing capacity model, and calculate the task scheduling plan through a genetic algorithm according to the priority of the computing task and the real-time status of the edge device. This mapping relationship according to the scheduling plan reasonably allocates tasks of different priorities to different edge devices, realizes the optimal use of computing resources, and ensures the timely processing of high-priority tasks.

[0012] In combination with some embodiments of the first aspect, in some embodiments, before the step of establishing a local LAN and connecting multiple edge devices through local LAN communication, the method also includes: scanning the local network environment to obtain terminal device information accessing the local network environment; the terminal device information includes device identification information and IP address information; based on the device identification information, determining an edge device with computing capability, and recording the device identification information and IP address information of the edge device to generate an edge device information table; sending a connection request to the determined edge device; the connection request includes service setting access information of the local network environment; receiving a confirmation response returned by the edge device based on the service setting access information; recording the device identification information and IP address information of the edge device that responds to the connection request.

[0013] In the above embodiment, the central control tablet computer can first scan the local network environment, obtain the information of the devices in the network, and then identify the edge devices with computing capabilities based on the device information, and record their identification and IP addresses in the table. Then send a connection request to these edge devices, and the edge devices return a confirmation response based on the access information in the request, and the central control tablet computer can record the edge device information of the response. Automatic discovery and connection of edge devices in the network is achieved without manual configuration of edge device information, which reduces the difficulty of network management and improves the interoperability between the central control tablet computer and edge devices.

[0014] In combination with some embodiments of the first aspect, in some embodiments, after the step of controlling the corresponding home appliance to execute the result instruction and displaying the execution result, the method also includes: collecting and analyzing the log information of the home appliance to determine the operating status of the home appliance; when the operating status is abnormal, determining the fault type of the home appliance; if the fault type is a temporary abnormality, displaying abnormal prompt information, and continuing to control the execution of the result instruction after the home appliance returns to normal; if the fault type is a continuous fault, displaying abnormal prompt information and a fault solution.

[0015] In the above embodiment, the central control tablet computer can collect logs of home appliances in real time and analyze the operating status of the appliances. If an abnormality is detected in the appliance, the abnormality type can be determined. For temporary abnormalities, prompts can be displayed and control can be continued after the appliance is restored. For persistent faults, solutions can be provided. This achieves real-time monitoring of the operating status of home appliances, timely detection and handling of faults, and ensures reliable operation of the system.

[0016] In combination with some embodiments of the first aspect, in some embodiments, the calculation results are summarized and processed to obtain result instructions, specifically including: collecting the timestamps corresponding to the calculation results, and sorting the multiple calculation results in a timeline according to the timestamps; detecting whether there is an instruction conflict between adjacent calculation results after sorting; when an instruction conflict is detected, processing according to a preset conflict resolution strategy; the conflict resolution strategy is to give priority to retaining the calculation results with the most recent timestamp; aggregating the processed sorted calculation results to generate an instruction set; querying the preset execution priority corresponding to the instructions in the instruction set, sorting the instructions in the instruction set according to the preset execution priority, and obtaining complete result instructions.

[0017] In the above embodiment, the central control tablet computer can sort the results by timestamp, detect and handle result conflicts. Then, the results are sorted according to the execution priority of the control instructions to obtain complete control instructions. In this way, the time pulse relationship in the calculation results can be processed, and the order of the final control instructions generated can be guaranteed to be reasonable and meet the priority requirements of instruction execution, thereby avoiding conflicts between different instructions and improving the reliability of the system.

[0018] In combination with some embodiments of the first aspect, in some embodiments, collecting the timestamp corresponding to the calculation result specifically includes: sending a synchronization time instruction to the edge device corresponding to the calculation result; the synchronization time instruction includes the system time of the central control tablet computer; receiving the calibrated timestamp of the edge device; the calibrated timestamp is a timestamp generated based on the calibrated local time after the edge device receives the synchronization time instruction, calibrating the local time according to the system time of the synchronization time instruction.

[0019] In the above embodiment, the central control tablet computer can send the system time to the edge device, and the edge device calibrates its local time according to the time and generates a timestamp based on the calibrated time. This ensures that the central control tablet computer obtains the calculation result timestamp synchronized with the time of multiple edge devices, which is conducive to the subsequent accurate sorting and processing of the calculation results.

[0020] In the second aspect, an embodiment of the present application provides a central control tablet computer, which includes: a device connection module, which is used to establish a local area network and connect multiple edge devices through local area network communication; a task generation module, which is used to collect user operation instructions and status information of home appliances, and generate multiple computing tasks based on the operation instructions and status information; a task allocation module, which is used to distribute multiple computing tasks with different priorities to multiple edge devices through a scheduling optimization algorithm based on the computing power and network bandwidth parameters of the edge devices; a result receiving module, which is used to receive the calculation results returned by the edge device after calculating the calculation task; an instruction confirmation module, which is used to summarize the calculation results and obtain result instructions; an instruction execution module, which is used to control the corresponding home appliance to execute the result instruction and display the execution result.

[0021] In a third aspect, an embodiment of the present application provides a central control tablet computer, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the central control tablet computer to execute the method described in the first aspect and any possible implementation method of the first aspect.

[0022] In a fourth aspect, an embodiment of the present application provides a computer program product comprising instructions, and when the above-mentioned computer program product is run on a central control tablet computer, the above-mentioned central control tablet computer executes the method described in the first aspect and any possible implementation method of the first aspect.

[0023] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions. When the instructions are executed on a central control tablet computer, the central control tablet computer executes the method described in the first aspect and any possible implementation manner of the first aspect.

[0024] It can be understood that the central control tablet computer provided in the second and third aspects, the computer program product provided in the fourth aspect, and the computer storage medium provided in the fifth aspect are all used to execute the method provided in the embodiment of the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be repeated here.

[0025] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. Due to the adoption of a technical solution that establishes a local area network between the central control tablet computer and multiple edge devices, and distributes the generated computing tasks to multiple edge devices for execution according to the computing power and network parameters of the edge devices, decentralized processing of computing tasks is achieved, the computing pressure of the central control tablet computer is reduced, and the real-time response performance of the system is improved. This effectively solves the problem in related technologies that the central control tablet computer is prone to become a system bottleneck when it takes on all computing tasks, thereby improving the real-time control capability of the smart home control system.

[0026] 2. The central control tablet computer is used to collect the hardware parameters of the edge device to establish a computing power model, and the task scheduling plan is calculated through a genetic algorithm based on the computing task priority, edge device status, etc., so that tasks of different priorities are assigned to different edge devices for execution. Therefore, the reasonable allocation and optimal utilization of computing resources are achieved, ensuring that high-priority tasks are processed in a timely manner, and effectively solving the problem of difficulty in balancing the priority of computing tasks and the load status of edge devices in related technologies, thereby realizing the improvement of the ability to efficiently process computing tasks on demand in smart home control systems.

[0027] 3. Due to the use of a central control tablet computer to monitor the operating status of home appliances in real time and to differentiate and handle different types of equipment failures, it is possible to promptly discover and locate faults in home appliances, effectively solving the problem of related technologies being unable to track the operating status of equipment in a timely manner, thereby achieving rapid response and improvement in the ability to handle equipment anomalies in smart home control systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a flow chart of the edge computing method of the whole-house smart central control tablet computer in the embodiment of the present application; Figure 2 It is another flow chart of the edge computing method of the whole-house smart central control tablet computer in the embodiment of the present application; Figure 3 This is a schematic diagram of a functional module structure of a central control tablet computer in an embodiment of the present application; Figure 4 It is a schematic diagram of the physical device structure of the central control tablet computer in the embodiment of the present application. DETAILED DESCRIPTION

[0029] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification of the present application, the singular expressions "one", "a kind of", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations comprising one or more of the listed items.

[0030] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0031] For ease of understanding, the application scenarios of the embodiments of the present application are introduced below.

[0032] In the smart city, a commercial smart hotel has created a smart guest room management system. The hotel has hundreds of guest rooms, each of which is equipped with smart door locks, air conditioners, lighting, curtains and other equipment. These devices are connected to the central server of the hotel building through the smart central control terminal in the room. Guests can control the guest rooms intelligently through the central control terminal or mobile phone app. However, as the scale of the hotel expands, the original centralized computing model faces the problem of computing and communication pressure bottlenecks. The central server has too heavy a computing load to process all room data and control instructions, resulting in a decrease in control response speed and poor user experience. At the same time, the central server has a single point failure risk. Once the server fails, the intelligent control of all guest rooms will be paralyzed.

[0033] In the related art, the control of smart home can be achieved by adopting a centralized computing mode. In this mode, the central server is responsible for collecting all device data and calculating control instructions. The following introduces the scenario of the edge computing method of the whole house smart central control tablet in the related art.

[0034] In response to the above problems, engineers and technicians proposed to use the public cloud platform to deploy the central control system and computing functions of the smart hotel. Specifically, the data of the smart devices in each room is aggregated and transmitted to the public cloud platform through the network for centralized processing, and the control instructions are generated and then sent to the devices in each room. In this way, the scalability of cloud computing can be used to support the connection of massive rooms and devices.

[0035] However, this solution still has several problems: a large amount of network bandwidth resources are required to transmit data to the cloud, increasing operating costs; there is a certain network delay between the cloud computing platform and the hotel's internal network, which cannot meet real-time control requirements; the public cloud platform also has a single point failure risk. Once the cloud service is interrupted, the hotel's intelligent control will be paralyzed.

[0036] By adopting the edge computing method of the whole-house smart central control tablet computer in the embodiment of the present application, a local area network is established between the central control tablet computer and multiple edge devices, and computing tasks are assigned to edge devices for execution according to the performance parameters of the edge devices, so as to realize the control of smart home. This can not only reduce the computing pressure of the central control tablet computer, but also enhance the scalability and fault tolerance of the system.

[0037] The following describes a scenario in which the edge computing method of the whole-house smart central control tablet in this application is used.

[0038] In response to the above problems, this application provides an edge computing mode to implement an intelligent hotel room management system. This solution creates an edge computing cluster including a central control server and multiple edge computing servers within the hotel's local network. The central control server can decompose the data processing tasks from the smart devices in the room and send them to the edge servers. After the edge servers complete the tasks, they return the results. The central control server summarizes the calculation results of each edge server and generates the final control instructions for execution. This can reduce the processing pressure of the central control server, reduce dependence on network bandwidth, avoid single point failure problems, and improve the real-time response performance and reliability of the system.

[0039] It can be seen that the edge computing method of the whole-house smart central control tablet computer in the embodiment of the present application can not only realize smart home control, but also effectively solve the problems of high computing pressure and single point failure risk faced by centralized computing, thereby realizing the real-time responsiveness and reliability of the smart home control system.

[0040] For ease of understanding, the following describes the process of the method provided by this implementation in combination with the above scenario. Figure 1 , which is a flow chart of the edge computing method of the whole-house smart central control tablet computer in an embodiment of the present application.

[0041] S101. Establish a local area network and connect multiple edge devices through local area network communication.

[0042] The central control tablet computer will establish a local LAN and communicate with multiple edge devices through the LAN. The central control tablet computer can use Ethernet or WiFi to establish a LAN that supports the TCP / IP protocol and set relevant network parameters such as IP address segments, gateways, etc. After the LAN is established, the central control tablet computer will discover the edge devices in the LAN, such as searching for the IP addresses of edge devices by sending broadcast messages, and record the device information of the searched edge devices, such as device IP addresses, MAC addresses, etc. The central control tablet computer also needs to establish a secure communication connection with the searched edge devices, and digital certificate verification, AES encryption and other technologies can be used to ensure communication security. After establishing a connection with the edge device, the central control tablet computer will continuously monitor the network topology, discover the access of new devices and establish connections, to ensure real-time and reliable communication with all edge devices.

[0043] S102: Collect the user's operation instructions and status information of the home appliances, and generate multiple computing tasks based on the operation instructions and status information.

[0044] The central control tablet computer will collect the user's operating instructions and the status information of the home appliances. The central control tablet computer first needs to provide a user interface for users to input control commands, such as voice control, gesture control, etc. At the same time, the central control tablet computer also needs to actively poll the status of associated home smart devices through the local area network, such as querying the current temperature and humidity settings of smart air conditioners. The central control tablet computer can also subscribe to the active reporting messages of the status of home appliances to obtain the updated status of the devices in real time. The obtained user instructions and device status information need to be classified and sorted to facilitate the subsequent generation of computing tasks.

[0045] S103. Based on the computing power and network bandwidth parameters of the edge devices, multiple computing tasks with different priorities are distributed to multiple edge devices through a scheduling optimization algorithm.

[0046] The central control tablet computer will generate computing tasks based on the performance parameters of the edge devices. The central control tablet computer will monitor and record the configuration parameters of the edge devices in real time, such as CPU, memory, network bandwidth and other information, and build a performance model of the edge devices. When generating computing tasks, the central control tablet computer will comprehensively consider factors such as the priority of the task, the task's demand for computing resources and network bandwidth, and the performance status of the edge devices. It will determine the best execution edge device for each computing task through an intelligent optimization algorithm, and issue task instructions to the corresponding edge devices to complete the allocation and distribution of computing tasks. If new edge devices are added to the network, the central control tablet computer will automatically re-evaluate the status of all devices and re-optimize the allocation of computing tasks.

[0047] S104: Receive the calculation result returned by the edge device after calculating the calculation task.

[0048] The central control tablet computer will receive the results returned by the edge device after the calculation is completed. When distributing computing tasks, the central control tablet computer needs to issue a timeout at the same time, requiring the edge device to complete the calculation and return the result within the specified time. The central control tablet computer will start a monitoring process to monitor the calculation results returned from the edge device in real time. Once the results uploaded by the edge device are received, the central control tablet computer will first verify the device source address, task ID and other information of the result message to ensure that the result comes from the correct edge device. The result is then formatted and parsed, the result content is extracted, and an association is established with the published computing tasks for subsequent summary processing. If the result of the edge device is not received within the timeout period, the central control tablet computer will record the exception and perform timeout processing, such as redistributing the task.

[0049] S105: Summarize the calculation results to obtain result instructions.

[0050] The central control tablet computer will aggregate the calculation results returned by multiple edge devices to obtain the final result. The central control tablet computer can build a hierarchical structure of results based on the hierarchical relationship of the computing tasks, and associate and aggregate the results belonging to the same parent task. The central control tablet computer also needs to handle situations where there are conflicts in the results, such as proofreading the data timestamp of the returned results to ensure that the result with the latest timestamp is used as the final output. In addition, the central control tablet computer may need to weightedly fuse the calculation results of multiple edge devices to form a summarized final instruction result to improve the accuracy and reliability of the results.

[0051] S106: Control the corresponding home appliance to execute the result instruction and display the execution result.

[0052] The central control tablet will generate control instructions to actually control the corresponding home devices based on the final results after summary processing, and display the execution results. The central control tablet will translate and parse the final results into executable control instructions for each device, and issue instructions to control the actual execution of the device, such as turning the light on or off, raising the temperature of the air conditioner, etc. The central control tablet can obtain the execution results by subscribing to the status feedback of the device and display them to the user in the user interface, completing a smart home control cycle.

[0053] In the above embodiments, the connection establishment between the central control tablet computer and the edge device, computing task generation, task allocation and other method flows are mainly described. In practical applications, it is also necessary to consider issues such as edge device hardware performance monitoring and computing result conflict detection.

[0054] The following is a supplement to the scenario of this embodiment.

[0055] Based on the above applications, the intelligence of the system can be further enhanced: the central control server can monitor the activation of new rooms in real time. When a new room is added, it automatically scans and discovers the smart devices in the new room and establishes a connection to achieve automatic expansion of edge computing resources. At the same time, the central control server can continuously analyze the operation logs of the smart devices in the room. When a device failure is detected, it automatically alarms and analyzes the cause of the failure, and recommends corresponding solutions for different types of failures. It can also dynamically adjust the allocation of edge computing resources according to the room occupancy status to ensure the control response speed of high-load rooms. This can achieve self-optimization and intelligent maintenance of the system.

[0056] After combining the above scenarios, the following is a more detailed description of the process of the method provided by this implementation. Figure 2 , which is another flow chart of the edge computing method of the whole-house smart central control tablet computer in an embodiment of the present application.

[0057] S201. Establish a local area network.

[0058] Referring to step S101, the central control tablet computer will establish a local area network.

[0059] In some embodiments, the central control tablet computer will first scan the local network environment and obtain the terminal device information connected to the local network environment; the terminal device information includes device identification information and IP address information; based on the device identification information, determine the edge device with computing capability, and record the device identification information and IP address information of the edge device to generate an edge device information table; send a connection request to the determined edge device; the connection request includes service setting access information of the local network environment; receive a confirmation response returned by the edge device based on the service setting access information; record the device identification information and IP address information of the edge device that responds to the connection request.

[0060] Specifically, the central control tablet computer will first scan the local network environment and obtain the terminal device information connected to the local network environment. The central control tablet computer can obtain the IP address and MAC address and other identification information of all devices in the local subnet by sending ARP requests and other methods. The central control tablet computer will record the identification information and IP address information of each scanned device. Such terminal devices may include mobile phones, computers, printers and other categories. According to the device identification information, the central control tablet computer will determine the edge device with computing power. The central control tablet computer can determine whether the device has computing power to serve as an edge computing node by analyzing the MAC address identification, device type and other information of the device. For example, some IP cameras and NAS storage devices can serve as edge devices. After determining that it is an edge device, the central control tablet computer will record its device identification information and IP address, generate an edge device information table, and prepare for the subsequent connection establishment. Send a connection request to the determined edge device, and the request contains the service setting access information of the local network environment. The central control tablet computer can attach the relevant configuration information of the local device in the connection request, such as the network domain name, authentication and authorization method, application certificate, etc., so that the edge device can access the management service of the local environment based on this information. Receive the confirmation response returned by the edge device based on the service setting access information. After the edge device uses the access information provided by the central control tablet to verify the host and obtain the configuration file, it needs to send back a confirmation message in response to the connection request. Record the device identification information and IP address information of the edge device that responds to the connection request. After the central control tablet receives the confirmation response from the edge device, the connection establishment process with the edge device is completed, and the information of the device needs to be recorded for subsequent communication. In this way, the central control tablet can automatically discover the edge computing nodes in the local network, and actively establish connections to achieve intelligent management of edge computing resources.

[0061] S202: Record the brand, model and identification code of the edge device, and generate device identity information and communication driver configuration.

[0062] The central control tablet will authenticate the newly connected edge device. When a new device is detected to request access to the LAN, the central control tablet will request the new device to send its identity information, such as serial number, MAC address, etc. The central control tablet will match the identification information sent by the new device with the local preset device identification library to verify whether the new device is from a reliable source and is an authenticated device. If the match is successful, the central control tablet will continue the subsequent access process. If the verification fails, the central control tablet will reject the access request of the new device.

[0063] S203: When it is detected that a new edge device is connected to the local area network, verify the device identity information of the new edge device.

[0064] The central control tablet computer will use the corresponding communication driver to establish a connection with the new device. The central control tablet computer needs to pre-install communication drivers for various common edge devices locally, and correspond to the device identification information. When the new device passes the identity authentication, the central control tablet computer can select a matching communication driver based on the device's identification information, load the driver, and establish a secure communication connection with the new device through the driver to achieve data transmission and reception. If the new device is relatively new and there is no corresponding driver locally, the central control tablet computer can also try to use a universal driver to perform basic communication with the new device.

[0065] S204: After the identity authentication is passed, a communication connection is established with the new edge device using the corresponding communication driver configuration, and device information of the new edge device is recorded.

[0066] The central control tablet computer will record the relevant information of the newly connected device. After the connection is established, the central control tablet computer can obtain detailed information of the device, such as device brand, model, configuration parameters, etc., through communication with the new device, and store this information in the local device library for subsequent management of the device. The central control tablet computer can also actively send instructions through the communication connection to query the required device information from the new device.

[0067] S205: Scan the local area network, check and update the online status of multiple edge devices.

[0068] The central control tablet computer will continuously scan the local area network to monitor the online status of the devices. The central control tablet computer can periodically send data packets to all recorded edge device addresses to detect whether they are online. For devices that have not responded to data packets for a long time, the central control tablet computer can mark them as "offline". The central control tablet computer will continue to scan at certain time intervals to promptly detect changes in the online and offline devices of the devices, ensuring that the objects of subsequent task assignments are all currently online edge devices.

[0069] S206: Collect the user's operation instructions and status information of the home appliances, and generate multiple computing tasks based on the operation instructions and status information.

[0070] Referring to step S102, the central control tablet computer generates multiple computing tasks based on the operation instructions and status information.

[0071] S207. Based on the computing power and network bandwidth parameters of the edge devices, multiple computing tasks with different priorities are distributed to multiple edge devices through a scheduling optimization algorithm.

[0072] Referring to step S103, the central control tablet computer will distribute multiple computing tasks with different priorities to multiple edge devices through a scheduling optimization algorithm.

[0073] In some embodiments, the central control tablet computer will collect hardware configuration parameters of multiple edge devices; the hardware configuration parameters include processor parameters, memory parameters and network parameters; based on the hardware configuration parameters, a computing power model of the edge device is established; according to the priority of multiple computing tasks, combined with the current computing load, network bandwidth parameters and computing power model of the edge device, a task scheduling plan for multiple edge devices is calculated through a genetic algorithm; according to the mapping relationship in the scheduling plan, multiple computing tasks are distributed to the corresponding multiple edge devices.

[0074] Specifically, the central control tablet computer will collect the hardware configuration parameters of multiple edge devices. The central control tablet computer will obtain the hardware performance parameters of the edge devices in real time, such as CPU model, number of CPU cores, memory capacity, network bandwidth, etc., by regularly sending query instructions or subscribing to the status report of the edge devices. Hardware configuration parameters include processor parameters, memory parameters and network parameters. Processor parameters reflect computing power, memory parameters reflect storage and cache capabilities, and network parameters reflect communication capabilities. The central control tablet computer needs to collect at least these three key parameters. Based on the collected hardware configuration parameters, the central control tablet computer will establish a computing power model for the edge devices. For example, different weights can be given to different parameters, and the computing processing power level of each edge device can be comprehensively judged to construct a computing power model representing the computing power of the device. According to the priority of multiple computing tasks, the central control tablet computer will determine the importance of each task. For example, the priority of real-time monitoring tasks will be higher than that of ordinary data statistics tasks. Combined with the current computing load status of the edge device, network bandwidth parameters and the established computing power model, the central control tablet computer can calculate the optimal task scheduling plan through the optimization algorithm of genetic algorithm. It takes into account both the task priority and the current status of the edge device to achieve reasonable resource allocation. According to the mapping relationship between devices and tasks in the scheduling scheme given by the genetic algorithm, the central control tablet computer distributes the corresponding computing tasks to the designated edge devices for execution. In this way, the genetic algorithm can be used to realize intelligent and dynamic scheduling of heterogeneous edge devices and improve the efficiency of task processing.

[0075] S208: Receive the calculation result returned by the edge device after calculating the calculation task.

[0076] Referring to step S104, the central control tablet computer receives the calculation result returned by the edge device.

[0077] S209: Collect timestamps corresponding to the calculation results, and sort the multiple calculation results in timeline order according to the timestamps.

[0078] The central control tablet computer will collect the timestamp information corresponding to the calculation results. For each calculation result returned by the edge device, the central control tablet computer will ask the edge device to return the generation timestamp of the result. Considering that the clocks of the edge device and the central control tablet computer may not be completely synchronized, the central control tablet computer can actively send a synchronization time instruction to the edge device before receiving the result, and send its own system time to the edge device as a reference for time alignment. The edge device calibrates its own local time according to the reference time, and then generates a timestamp for the return result based on the calibrated local time. This ensures that the timestamp accurately corresponds to the actual generation time of the result, without being affected by the internal clock deviation of the device.

[0079] In some embodiments, the central control tablet computer sends a synchronization time instruction to the edge device corresponding to the calculation result; the synchronization time instruction includes the system time of the central control tablet computer; and the calibrated timestamp of the edge device is received; the calibrated timestamp is a timestamp generated based on the calibrated local time after the edge device receives the synchronization time instruction and calibrates the local time according to the system time of the synchronization time instruction.

[0080] Specifically, in some embodiments, the central control tablet computer will send a synchronization time instruction to the edge device corresponding to the calculation result. Because there is a time deviation between the edge device and the central control tablet computer, in order to obtain the accurate result time, the central control tablet computer needs to actively send a synchronization time instruction to the edge device before receiving the calculation result of the edge device. The synchronization time instruction contains the system time of the central control tablet computer. The central control tablet computer will send its local system time, such as 10:30:15 on March 15, 2022, to the edge device through the synchronization time instruction. The system time is encoded in the instruction in a standard timing format. Receive the calibrated timestamp of the edge device. After receiving the synchronization time instruction, the edge device will calibrate its local time based on the central control system time in the instruction. For example, the local time is adjusted to be completely consistent with the central control time. Of course, the influence of the communication time will be considered before the adjustment, and the time correction will be performed. Then the edge device will generate a timestamp based on the calibrated local time and return the timestamp in the calculation result. The calibrated timestamp is the timestamp generated based on the calibrated local time after the edge device receives the synchronization time instruction, calibrates the local time according to the system time of the synchronization time instruction, and generates the timestamp based on the calibrated local time. In this way, the timestamp generated after calibrating the local time with the central control system time can ensure that the timestamp of the calculation result is on the same unified time line as the central control system, eliminating the deviation effect of the local time of different devices.

[0081] S210 , detecting whether there is an instruction conflict between the sorted adjacent calculation results.

[0082] The central control tablet computer will sort multiple calculation results according to the timestamp. The central control tablet computer will receive results belonging to different calculation tasks and from different edge devices, and these results may be out of order. In order to correct the order of the results by the time sequence of the results, the central control tablet computer will sort the results in a timeline according to the result timestamp, with the results with earlier timestamps in front and the results with later timestamps in the back. If the timestamps are exactly the same, the order of these results is set randomly.

[0083] S211 . When an instruction conflict is detected, process it according to a preset conflict resolution strategy.

[0084] The central control tablet computer will detect whether there is a conflict between the adjacent calculation results after sorting. The central control tablet computer can check the two adjacent results after sorting one by one to determine whether the results are for the attributes of the same physical entity and the attribute changes in opposite directions. If so, it is determined that the two adjacent results are in conflict. For example, one result is "increase the air conditioner temperature by 1 degree" and the next result is "lower the air conditioner temperature by 2 degrees". There is an obvious conflict between these two results. When a conflict is detected, the central control tablet computer will record the content, time and other information of the conflicting results for subsequent analysis.

[0085] S212: Aggregate the processed sorted calculation results to generate an instruction set.

[0086] If a calculation result conflict is detected, the central control tablet computer will resolve the conflict according to the preset strategy. The central control tablet computer can resolve the conflict according to the priority strategy, such as keeping the result with the most recent timestamp first and deleting the conflicting results with earlier timestamps. The central control tablet computer can also resolve the conflict according to the result type strategy. If the conflicting result types are different, the result with the higher priority is retained according to the type priority. After resolution, only the non-conflicting results are retained for subsequent aggregation processing.

[0087] S213 , querying the preset execution priorities corresponding to the instructions in the instruction set, and sorting the instructions in the instruction set according to the preset execution priorities to obtain complete result instructions.

[0088] The central control tablet will aggregate the processed results and generate a set of control instructions. The central control tablet will check the processed results one by one and merge the results acting on the same physical entity into one control instruction. For example, the two results of "turn off the TV" and "lower the TV volume" will be aggregated into "turn off the TV first, then lower the volume". This process is repeated until all the conflict-free results are aggregated, and finally a complete and sequential set of control instructions is generated.

[0089] S214: Control the corresponding home appliance to execute the result instruction and display the execution result.

[0090] Referring to step S106, the central control tablet computer will control the corresponding home appliance to execute the result instruction and display the execution result.

[0091] In some embodiments, the central control tablet computer will also collect and analyze the log information of the home appliances to determine the operating status of the home appliances; when the operating status is abnormal, the fault type of the home appliances is determined; if the fault type is a temporary abnormality, an abnormal prompt message is displayed, and the execution of the result instruction is continued to be controlled after the home appliances return to normal; if the fault type is a continuous fault, an abnormal prompt message and a fault solution are displayed.

[0092] Specifically, in some embodiments, the central control tablet computer will also collect and analyze the log information of the home appliances to determine the operating status of the home appliances. The central control tablet computer can regularly extract the operating logs from the home appliances, and then use the log analysis algorithm to determine whether the device is currently in a normal operating state or an abnormal state. When the operating state is abnormal, the central control tablet computer will further determine the fault type of the home appliance. The central control tablet computer can analyze the type of the device fault by comparing the error code, abnormal index and other information in the log, combined with the preset fault mode library, such as hardware fault or software fault. If it is determined to be a temporary abnormality, the central control tablet computer will display a prompt message and continue to control the execution of instructions when the device is restored. Temporary abnormalities usually recover by themselves, such as connection loss caused by network jitter. At this time, the central control tablet computer will prompt the user and continue to check the device status, and continue to control the operation of related devices after it returns to normal. If it is determined to be a continuous fault, the central control tablet computer will display abnormal prompt information and fault solutions. Continuous faults require manual processing. The central control tablet computer not only prompts the fault, but also recommends solutions based on the knowledge base, such as a component that needs to be replaced. In this way, the central control tablet computer can monitor the operating status of home appliances and intelligently analyze faults, thereby improving the maintainability of the system.

[0093] In the embodiment of the present application, due to the adoption of a technical solution of establishing a local area network between the central control tablet computer and multiple edge devices, and intelligently allocating computing tasks according to the computing performance of the edge devices, decentralized processing of computing tasks is achieved, reducing the computing pressure of the central control tablet computer, improving the real-time response capability of the system, and effectively solving the bottleneck problem of the computing and communication capabilities of the central control device in the centralized computing mode, thereby achieving the improvement of the real-time control performance and scalability of the smart home control system. At the same time, through the edge distributed processing of computing tasks, the risk of single point failure of the central server is avoided, and the reliability of the system is enhanced. In addition, this application further improves the maintainability and intelligence level of the smart home control system through means such as equipment status monitoring and intelligent fault analysis.

[0094] The following describes the central control tablet computer in the embodiment of the present application from the perspective of modules. Figure 3 , which is a schematic diagram of the functional module structure of the central control tablet computer in an embodiment of the present application.

[0095] The central control tablet includes: The device connection module 301 is used to establish a local area network and connect multiple edge devices through the local area network communication; The task generation module 302 is used to collect the user's operation instructions and the status information of the home appliances, and generate multiple computing tasks based on the operation instructions and the status information; The task allocation module 303 is used to distribute multiple computing tasks with different priorities to multiple edge devices through a scheduling optimization algorithm based on the computing capabilities and network bandwidth parameters of the edge devices; A result receiving module 304 is used to receive the calculation result returned by the edge device after calculating the calculation task; The instruction confirmation module 305 is used to summarize the calculation results and obtain result instructions; The instruction execution module 306 is used to control the corresponding home appliance to execute the result instruction and display the execution result.

[0096] In some embodiments, the device connection module 301 may specifically include: A network establishment unit, used for establishing a local area network; An identity recording unit, which is used to record the brand, model and identification code of the edge device and generate device identity information and communication driver configuration; An identity verification unit, used to verify the device identity information of the new edge device when detecting that the new edge device is connected to the local area network; A new device recording unit, used to establish a communication connection with the new edge device using a corresponding communication driver configuration after the identity authentication is passed, and record the device information of the new edge device; The status update unit is used to scan the local area network, check and update the online status of multiple edge devices.

[0097] In some embodiments, the task allocation module 303 may specifically include: A parameter collection unit, used to collect hardware configuration parameters of multiple edge devices; the hardware configuration parameters include processor parameters, memory parameters and network parameters; A computing configuration unit, used to establish a computing capability model of the edge device based on hardware configuration parameters; A scheme generation unit is used to calculate the task scheduling scheme of multiple edge devices through a genetic algorithm according to the priorities of multiple computing tasks, combined with the current computing load, network bandwidth parameters and computing capacity model of the edge device; The task distribution unit is used to distribute multiple computing tasks to corresponding multiple edge devices according to the mapping relationship in the scheduling scheme.

[0098] In some embodiments, the central control tablet computer further includes a device search module, which may specifically include: An information acquisition unit, used to scan the local network environment and acquire information of terminal devices connected to the local network environment; the terminal device information includes device identification information and IP address information; An information recording unit, used to determine an edge device with computing capability according to the device identification information, and record the device identification information and IP address information of the edge device to generate an edge device information table; A request sending unit, configured to send a connection request to the determined edge device; the connection request includes service setting access information of the local network environment; A response determination unit, configured to receive a confirmation response returned by the edge device according to the service setting access information; The device determination unit is used to record the device identification information and IP address information of the edge device that responds to the connection request.

[0099] In some embodiments, the central control tablet computer further includes a fault processing module, which may specifically include: A status determination unit, used to collect and analyze log information of home appliances to determine the operating status of the home appliances; A type determination unit, used to determine the fault type of the household device when the operating state is abnormal; An information prompt unit, used to display abnormal prompt information when the fault type is a temporary abnormality, and continue to control the execution of the result instruction after the home appliance returns to normal; The solution recommendation unit is used to display abnormal prompt information and fault solutions when the fault type is a continuous fault.

[0100] In some embodiments, the instruction confirmation module 305 may specifically include: A time sorting unit, used to collect timestamps corresponding to calculation results, and sort multiple calculation results in timeline according to the timestamps; A conflict determination unit, used to detect whether there is an instruction conflict between the sorted adjacent calculation results; A strategy processing unit, used to process according to a preset conflict resolution strategy when a command conflict is detected; the conflict resolution strategy is to give priority to retaining the calculation result with the most recent timestamp; A result aggregation unit, used to aggregate the processed sorted calculation results to generate an instruction set; The instruction combing unit is used to query the preset execution priority corresponding to the instructions in the instruction set, sort the instructions in the instruction set according to the preset execution priority, and obtain a complete result instruction.

[0101] In some embodiments, the time sequencing unit may specifically include: The time synchronization subunit is used to send a synchronization time instruction to the edge device corresponding to the calculation result; the synchronization time instruction includes the system time of the central control tablet computer; The time calibration subunit is used to receive the calibrated timestamp of the edge device; the calibrated timestamp is the timestamp generated based on the calibrated local time after the edge device receives the synchronization time instruction and calibrates the local time according to the system time of the synchronization time instruction.

[0102] The above describes the central control tablet computer in the embodiment of the present application from the perspective of modular functional entities. The following describes the central control tablet computer in the embodiment of the present application from the perspective of hardware processing. Figure 4 , which is a schematic diagram of a physical device structure of a central control tablet computer in an embodiment of the present application.

[0103] It should be noted that Figure 4 The structure of the central control tablet computer shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0104] like Figure 4 As shown, the central control tablet computer includes a central processing unit (CPU) 401, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 402 or the program loaded from the storage part 408 to the random access memory (RAM) 403, such as executing the method described in the above embodiment. In RAM 403, various programs and data required for system operation are also stored. CPU 401, ROM 402 and RAM 403 are connected to each other through bus 404. Input / output (I / O) interface 405 is also connected to bus 404.

[0105] The following components are connected to the I / O interface 405: an input section 406 including an audio input device, a button switch, etc.; an output section 407 including a liquid crystal display (LCD) and an audio output device, an indicator light, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed so that a computer program read therefrom is installed into the storage section 408 as needed.

[0106] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 409, and / or installed from a removable medium 411. When the computer program is executed by the central processing unit (CPU) 401, various functions defined in the present invention are performed.

[0107] It should be noted that specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.

[0108] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. Each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings.

[0109] Specifically, the central control tablet computer of this embodiment includes a processor and a memory. A computer program is stored in the memory. When the computer program is executed by the processor, the edge computing method of the whole-house smart central control tablet computer provided in the above embodiment is implemented.

[0110] As another aspect, the present invention further provides a computer-readable storage medium, which may be included in the central control tablet computer described in the above embodiment; or may exist independently without being assembled into the central control tablet computer. The above storage medium carries one or more computer programs, and when the above one or more computer programs are executed by a processor of the central control tablet computer, the central control tablet computer implements the edge computing method of the whole-house smart central control tablet computer provided in the above embodiment.

[0111] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0112] As used in the above embodiments, the term "when..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrases "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.

[0113] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

Claims

1. An edge computing method for a whole-house intelligent central control tablet computer, applied to a central control tablet computer in an edge computing system, characterized in that: The method comprises: Establishing a local area network, and communicating and connecting a plurality of edge devices via the local area network; Collecting user operation instructions and status information of home appliances, and generating multiple computing tasks based on the operation instructions and the status information; Based on the computing power and network bandwidth parameters of the edge devices, the plurality of computing tasks with different priorities are distributed to the plurality of edge devices through a scheduling optimization algorithm; Receiving a calculation result returned by the edge device after calculating the calculation task; Summarizing the calculation results to obtain result instructions; Control the corresponding home appliance to execute the result instruction and display the execution result.

2. The method according to claim 1, characterized in that The establishing of a local area network and connecting multiple edge devices through the local area network communication specifically includes: Establish a local area network; Record the brand, model and identification code of the edge device to generate device identity information and communication driver configuration; When a new edge device is detected to be connected to the local area network, verifying the device identity information of the new edge device; After the identity authentication is passed, a communication connection is established with the new edge device using the corresponding communication driver configuration, and device information of the new edge device is recorded; Scan the local area network to check and update the online status of multiple edge devices.

3. The method according to claim 1, characterized in that The method of distributing the plurality of computing tasks with different priorities to the plurality of edge devices based on the computing capability and network bandwidth parameters of the edge devices through a scheduling optimization algorithm specifically includes: Collecting hardware configuration parameters of multiple edge devices; the hardware configuration parameters include processor parameters, memory parameters and network parameters; Based on the hardware configuration parameters, establishing a computing capability model of the edge device; According to the priorities of the plurality of computing tasks, combined with the current computing load of the edge device, the network bandwidth parameter and the computing capacity model, a task scheduling scheme for the plurality of edge devices is calculated by a genetic algorithm; According to the mapping relationship in the scheduling scheme, the plurality of computing tasks are distributed to the corresponding plurality of edge devices.

4. The method according to claim 1, characterized in that: Before the step of establishing a local area network and communicating with a plurality of edge devices through the local area network, the method further includes: Scan the local network environment to obtain terminal device information connected to the local network environment; the terminal device information includes device identification information and IP address information; Determine an edge device with computing capability according to the device identification information, and record the device identification information and IP address information of the edge device to generate an edge device information table; Sending a connection request to the determined edge device; the connection request includes service setting access information of the local network environment; receiving a confirmation response returned by the edge device according to the service setting access information; The device identification information and IP address information of the edge device that responds to the connection request are recorded.

5. The method according to claim 1, characterized in that After the step of controlling the corresponding home appliance to execute the result instruction and displaying the execution result, the method further includes: Collecting and analyzing log information of the household device to determine the operating status of the household device; When the operating state is abnormal, determining the fault type of the household device; If the fault type is a temporary abnormality, an abnormal prompt message is displayed, and the execution of the result instruction is continued to be controlled after the home appliance returns to normal; If the fault type is a persistent fault, abnormal prompt information and fault solution will be displayed.

6. The method according to claim 1, characterized in that The summarizing and processing the calculation results to obtain result instructions specifically includes: Collecting timestamps corresponding to the calculation results, and sorting the multiple calculation results in timeline order according to the timestamps; Detect whether there is an instruction conflict between the sorted adjacent calculation results; When an instruction conflict is detected, it is processed according to a preset conflict resolution strategy; the conflict resolution strategy is to give priority to retaining the calculation result with the most recent timestamp; Aggregate the processed sorted calculation results to generate an instruction set; The preset execution priorities corresponding to the instructions in the instruction set are queried, and the instructions in the instruction set are sorted according to the preset execution priorities to obtain complete result instructions.

7. The method according to claim 6, characterized in that The collecting of the timestamp corresponding to the calculation result specifically includes: Sending a synchronization time instruction to the edge device corresponding to the calculation result; the synchronization time instruction includes the system time of the central control tablet computer; Receive a calibrated timestamp of the edge device; the calibrated timestamp is a timestamp generated based on the calibrated local time after the edge device receives the synchronization time instruction and calibrates the local time according to the system time of the synchronization time instruction.

8. A central control tablet computer, characterized in that: include: A device connection module, used to establish a local area network and connect multiple edge devices through the local area network communication; A task generation module, used to collect the user's operation instructions and the status information of the home appliances, and generate a plurality of computing tasks based on the operation instructions and the status information; A task allocation module, used to distribute the plurality of computing tasks with different priorities to the plurality of edge devices through a scheduling optimization algorithm based on the computing capabilities and network bandwidth parameters of the edge devices; A result receiving module, used to receive the calculation result returned by the edge device after calculating the calculation task; An instruction confirmation module is used to summarize the calculation results and obtain result instructions; The instruction execution module is used to control the corresponding home appliance to execute the result instruction and display the execution result.

9. A central control tablet computer, characterized in that: include: one or more processors and memory; The memory is coupled to the one or more processors, and the memory is used to store computer program codes, wherein the computer program codes include computer instructions, and the one or more processors call the computer instructions to enable the central control tablet computer to execute the method as described in any one of claims 1-7.

10. A computer-readable storage medium comprising instructions, characterized in that: When the instruction is executed on the central control tablet computer, the central control tablet computer executes the method as described in any one of claims 1 to 7.

Citation Information

Cited By

  • Edge computing device, device control method and related device

    CN120295777A

  • Voice task scheduling method and device, terminal air conditioner, system and storage medium

    CN120658735A