Embedded control method and system of intelligent equipment
Through the embedded control method of intelligent devices, the task type and operating status data of the equipment are obtained and analyzed, and abnormal situations are detected and handled in a timely manner, and the problem of low data security and operational safety of intelligent devices is solved. Through the evaluation of power utilization and the safety monitoring of power supply system, energy resources are saved and the overall performance and reliability of the equipment are improved.
Patent Information
- Application Number
- CN202411802877.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-03-18
AI Technical Summary
Smart devices have the risk of data theft and tampering during data transmission and storage, and the accuracy of operation abnormalities is low, so abnormal problems of smart devices cannot be detected in time, resulting in low operational security. At the same time, reasonable monitoring and planning of the power consumption of enterprise smart devices has not been achieved, resulting in waste of energy resources.
By obtaining the task type and operation status data of the smart device, calculate the compliance between the operation status data and the task type, and control the task execution status through a distributed embedded controller to detect and handle abnormal situations in a timely manner. At the same time, calculate the reliability rate of the power utilization of smart devices for performing current tasks, check the power consumption in a timely manner, and conduct safety monitoring of the power supply system to ensure the safety of equipment operation and energy utilization efficiency.
It improves the operational safety and energy utilization of smart devices, ensures the security of data transmission and storage, promptly detects and handles abnormal situations, saves energy resources, and improves the overall performance and reliability of smart devices.
Smart Images

Figure CN119644864A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to an embedded control method and system for smart devices. Background Art
[0002] In recent years, with the gradual maturity of Internet of Things technology, smart devices have become a part of people's lives, with advantages such as intelligence, convenience and security, and are deeply favored by consumers. Among them, embedded control method is the key technology for smart devices to realize intelligence.
[0003] At present, the control defects of smart devices are as follows: smart devices usually need to connect to the network, and there may be many loopholes when connecting to the network, which can be exploited by hackers to steal users' personal information. During the data transmission and storage process of smart devices, there may be risks of data theft and tampering, and hackers may obtain sensitive information of users in smart devices.
[0004] The microcontroller is the core of embedded control. It is used to operate smart devices. For example, the microcontroller controls the opening or closing of heating or cooling equipment. When abnormal data is detected in the smart device, the microcontroller suspends the current task of the smart device, processes the abnormal data, and returns to the original task to continue execution after the processing is completed. The microcontroller is connected to the network through the network interface and realizes communication connection through the communication interface.
[0005] The embedded PLC (Programmable Logic Controller) communicates with the smart device according to the agreed protocol, reads the smart device data and senses the status, or performs status control and parameter setting on the device.
[0006] At present, the accuracy rate of detecting abnormal operation of smart devices is low, and the accuracy rate of judging the operation safety of smart devices is low. It is impossible to accurately and timely detect abnormal problems existing in smart devices, resulting in low operation safety of smart devices.
[0007] In addition, there is currently no reasonable monitoring and planning of the power consumption of enterprise smart devices, which results in enterprise smart devices still consuming power when not in use. Therefore, it is necessary to adjust the operating time and power of enterprise smart devices to save energy resources and improve energy utilization.
[0008] Therefore, the technical problem that urgently needs to be solved is: how to improve the safety of smart device operation, manage the power consumption of smart devices, save energy resources, and improve energy utilization. Summary of the invention
[0009] The purpose of this application is to provide an embedded control method and system for smart devices, improve the safety of smart device operation, manage the power consumption of smart devices, save energy resources, and improve energy utilization.
[0010] To achieve the above-mentioned purpose, as the first aspect of the present application, the present application provides an embedded control method for an intelligent device, the method comprising: obtaining the task type of the intelligent device, and collecting the operating status data of the intelligent device during the process of the intelligent device executing the task; calculating the conformity of the operating status data of the intelligent device with the current task type according to the task type of the intelligent device and the operating status data of the intelligent device during the execution of the task; and controlling the task execution status of the intelligent device according to the conformity of the operating status data of the intelligent device with the current task type through a distributed embedded controller.
[0011] The embedded control method for smart devices as described above, wherein the method further includes: obtaining power consumption-related data of the smart device's current task; calculating the power utilization reliability of the smart device's current task based on the power consumption-related data of the smart device's current task; comparing the power utilization reliability of the smart device's current task with a preset reliability threshold, if the power utilization reliability of the smart device's current task is lower than the preset reliability threshold, promptly checking the power consumption of the smart device; otherwise, there is no need to check the power consumption of the smart device.
[0012] The embedded control method for smart devices as described above, wherein the method further includes: performing safety monitoring on the power supply system of the smart device. If there is an abnormality in the safety monitoring, the embedded controller is used to control the smart device to suspend the current task and repair the power supply system of the smart device. After the repair is completed, the embedded controller controls the smart device to continue to execute the current task. Otherwise, there is no need to suspend the current task of the smart device.
[0013] The embedded control method of the smart device as described above, wherein the method for safety monitoring of the power supply system of the smart device includes the following steps: obtaining safety hazard data of the power supply system of the smart device; calculating the safety value of the power supply system of the smart device based on the safety hazard data of the power supply system of the smart device; comparing the safety value of the power supply system of the smart device with a preset safety threshold, if the safety value of the power supply system of the smart device is less than the preset safety threshold, issuing an alarm signal, otherwise continuing to safety monitor the power supply system of the smart device.
[0014] The embedded control method for smart devices as described above, wherein, according to the task type of the smart device and the running status data during the task execution, the compliance of the running status data of the smart device with the current task type is calculated, including: according to different task types of the smart device, obtaining the normal threshold range of the running status data corresponding to the smart device executing tasks of different task types; according to the running status data collected when the smart device executes the current task, and the normal threshold range of the running status data corresponding to the smart device executing the task of the current task type, calculating the compliance of the running status data of the smart device with the current task type.
[0015] The embedded control method for smart devices as described above, wherein the task execution status of the smart device is controlled by a distributed embedded controller according to the conformity of the running status data of the smart device with the current task type, including: comparing the conformity of the running status data of the smart device with the current task type and the size of a preset threshold; if the conformity of the running status data of the smart device with the current task type is greater than the preset threshold, then there is no abnormality in the running status data of the current smart device; otherwise, there is an abnormality in the running status data of the current smart device, and the distributed embedded controller controls the task of the current smart device to stop executing, and performs maintenance on the smart device.
[0016] As a second aspect of the present application, the present application provides an embedded control system for an intelligent device, the system comprising: an acquisition module, used to acquire the task type of the intelligent device and collect the operating status data of the intelligent device during the process of the intelligent device executing the task; a data processor, used to calculate the conformity of the operating status data of the intelligent device with the current task type based on the task type of the intelligent device and the operating status data of the intelligent device during the execution of the task; a control module, used to control the task execution status of the intelligent device through a distributed embedded controller according to the conformity of the operating status data of the intelligent device with the current task type.
[0017] The embedded control system of the smart device as described above, wherein the acquisition module is also used to obtain the power consumption related data of the current task executed by the smart device; the data processor is also used to calculate the power utilization reliability rate of the smart device in executing the current task based on the power consumption related data of the current task executed by the smart device; the system also includes a comparison module, which is used to compare the power utilization reliability rate of the smart device in executing the current task with the preset reliability rate threshold. If the power utilization reliability rate of the smart device in executing the current task is lower than the preset reliability rate threshold, the power consumption of the smart device is checked in time, otherwise, there is no need to check the power consumption of the smart device.
[0018] The embedded control system of the smart device as described above, wherein the system also includes: a safety monitoring module, which is used to perform safety monitoring on the power supply system of the smart device. If there is an abnormality in the safety monitoring, the embedded controller controls the smart device to suspend the current task and repair the power supply system of the smart device. After the repair is completed, the embedded controller controls the smart device to continue to execute the current task. Otherwise, there is no need to suspend the current task of the smart device.
[0019] The embedded control system of the smart device as described above, wherein the system further comprises: an embedded controller, used to control the smart device to pause or start executing a current task.
[0020] The beneficial effects achieved by this application are as follows:
[0021] (1) This application calculates the conformity between the running status data of the smart device and the current task type, and compares the conformity between the running status data of the smart device and the current task type and the preset threshold. If the conformity between the running status data of the smart device and the current task type is greater than the preset threshold, then the running status data of the current smart device is not abnormal. Otherwise, the running status data of the current smart device is abnormal, and the distributed embedded controller controls the task of the current smart device to stop executing and repair the smart device. Thus, according to the different current task types of the smart device, the conformity between the running status data of the smart device and the current task type is evaluated, the abnormality of the running status data of the smart device is judged, and the interference of the different running status data of the smart device under different task types on its abnormality judgment is eliminated, thereby improving the accuracy of the abnormality judgment of the running status data of the smart device and ensuring the safe operation of the smart device.
[0022] (2) The present application calculates the reliability rate of power utilization of the smart device in executing the current task at regular intervals, thereby regularly evaluating the reliability rate of power utilization of the smart device in executing the current task. When the reliability rate of power utilization of the smart device in executing the current task is lower than a preset reliability threshold, the power consumption of the smart device is promptly checked to analyze whether there is any waste of electricity, thereby saving energy and improving energy utilization.
[0023] (3) The present application improves the calculation accuracy of the safety value of the power supply system of the smart device, compares the safety value of the power supply system of the smart device with the preset safety threshold, and issues an alarm signal if the safety value of the power supply system of the smart device is less than the preset safety threshold, otherwise, the power supply system of the smart device continues to be monitored for safety, thereby improving the safety of the power supply system of the smart device. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For those skilled in the art, other drawings can also be obtained based on these drawings.
[0025] Figure 1 This is a flow chart of an embedded control method for a smart device according to an embodiment of the present application.
[0026] Figure 2 A schematic diagram of the structure of an embedded control system of an intelligent device according to an embodiment of the present application. DETAILED DESCRIPTION
[0027] The following is a clear and complete description of the technical solutions in the embodiments of the present application in conjunction with the drawings 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 those skilled in the art without creative work are within the scope of protection of the present application.
[0028] Embodiment 1
[0029] like Figure 1 As shown, the present application provides an embedded control method for a smart device, the method comprising:
[0030] Step S1, obtaining the task type of the smart device and collecting the running status data of the smart device during the process of the smart device executing the task.
[0031] Among them, the operating status data of smart devices include: temperature value, noise value, vibration amplitude, voltage, current, power, etc.
[0032] Among them, smart devices are, for example: refrigeration equipment, heating equipment, production equipment and transportation equipment in enterprise factories. The task types of smart devices include: cooling, heating, playing voice, moving goods, etc.
[0033] As an example, when a smart device moves goods, it needs to place items on it, and its vibration amplitude will become larger than when it is not working. This is a normal situation. Otherwise, it is an abnormal situation.
[0034] Step S2, calculating the conformity between the running status data of the smart device and the current task type according to the task type of the smart device and the running status data of the smart device during the task execution.
[0035] Step S2 includes:
[0036] Step S210 , according to different task types of the smart device, obtain a normal threshold range of the running status data corresponding to the smart device executing tasks of different task types.
[0037] Among them, when the smart device performs tasks of different task types, the normal threshold range corresponding to its running status data is different. For example, when the smart device is performing the process of heating food, the normal threshold range of the temperature corresponding to it is larger than the normal threshold range when it is not working or performing tasks of other task types, and the power consumption is also different. Therefore, when performing tasks of different task types, the normal threshold range corresponding to the running status data of the smart device is different.
[0038] Step S220, calculating the conformity of the running status data of the smart device with the current task type based on the running status data collected when the smart device executes the current task and the normal threshold range of the running status data corresponding to the task of the current task type executed by the smart device.
[0039] The calculation formula for the compliance between the running status data of the smart device and the current task type is as follows:
[0040]
[0041] Among them, Fy represents the conformity between the running status data of the smart device and the current task type; T represents the duration of collecting the running status data of the smart device, M represents the total number of types of running status data collected for the smart device; YS ti represents the measured value of the i-th operating state data collected at time t; θ ti It represents the deviation factor of the sensor collecting the i-th operating state data at the t-th time; It represents the minimum allowable limit of the i-th operating status data collected at the t-th time; It indicates the maximum allowable limit of the i-th operating status data collected at the t-th time.
[0042] Step S3, controlling the task execution state of the smart device through the distributed embedded controller according to the conformity between the running state data of the smart device and the current task type.
[0043] Specifically, the distributed embedded controller controls the task execution state of the smart device according to the conformity between the running state data of the smart device and the current task type, including:
[0044] Compare the conformity between the running status data of the smart device and the current task type and the preset threshold. If the conformity between the running status data of the smart device and the current task type is greater than the preset threshold, then the running status data of the current smart device is not abnormal. Otherwise, the running status data of the current smart device is abnormal. The distributed embedded controller controls the task of the current smart device to stop executing and repair the smart device. Thus, according to the different current task types of the smart device, the conformity between the running status data of the smart device and the current task type is evaluated, the abnormality of the running status data of the smart device is judged, and the interference of the different running status data of the smart device under different task types on its abnormality judgment is eliminated, thereby improving the accuracy of the abnormality judgment of the running status data of the smart device and ensuring the safe operation of the smart device. Improve the safety of the operation of smart devices.
[0045] Specifically, the distributed embedded controller includes multiple embedded controllers, and different embedded controllers respectively control the task execution status of different smart devices.
[0046] Step S4, obtaining power consumption related data of the currently executed task of the smart device.
[0047] The power consumption related data of the currently executed task include: the total amount of tasks of the currently executed task, the maximum power consumption corresponding to the total amount of tasks of the currently executed task, the total amount of tasks that have been executed for the currently executed task, and the power consumed in executing the current task.
[0048] Step S5, calculating the power utilization reliability rate of the smart device executing the current task based on the power consumption related data of the smart device executing the current task.
[0049] Specifically, at regular intervals, the power utilization reliability rate of the smart device in executing the current task is calculated, so as to regularly evaluate the power utilization reliability rate of the smart device in executing the current task. When the power utilization reliability rate of the smart device in executing the current task is lower than a preset reliability threshold, the power consumption of the smart device is promptly checked to analyze whether there is any waste of electricity, thereby saving energy and improving energy utilization.
[0050] The calculation formula for the reliability of power utilization of the smart device to perform the current task is as follows:
[0051]
[0052] Among them, DK represents the electricity usage rate; α represents the influence weight of the electricity consumption of the current task on the reliability rate of electric energy utilization of the smart device to execute the current task; Ry represents the total number of tasks that have been executed for the current task; Rz represents the total number of tasks for the current task; Xs represents the electricity consumed to execute the current task; Mr represents the maximum electricity consumption corresponding to the total number of tasks for the current task; β represents the influence weight of whether the remaining electricity consumption in the maximum electricity consumption can complete the remaining unprocessed tasks on the reliability rate of electric energy utilization of the smart device to execute the current task; n represents the number of days for the current task to be executed; Rk represents the average number of tasks that can be executed by the smart device to execute the current task per day.
[0053] The present application improves the calculation accuracy of the reliability rate of power utilization of smart devices in executing current tasks, thereby making the power utilization of smart devices reliable in executing current tasks. The power consumption of smart devices is checked in time according to the reliability rate of power utilization of smart devices in executing current tasks, and it is analyzed whether there is any waste of electricity, thereby achieving the effect of saving energy.
[0054] Step S6, compare the power utilization reliability of the smart device to perform the current task with the preset reliability threshold. If the power utilization reliability of the smart device to perform the current task is lower than the preset reliability threshold, check the power consumption of the smart device in time. Otherwise, there is no need to check the power consumption of the smart device.
[0055] As a specific embodiment of the present invention, if the reliability rate of power utilization of the smart device in executing the current task is lower than the preset reliability rate threshold, additional power is allocated to the smart device. For example, every day after the power consumption of the smart device reaches the power quota value, additional power is added to the power consumption side corresponding to the smart device according to the average power consumption of the smart device every day.
[0056] Step S7, perform safety monitoring on the power supply system of the smart device. If there is an abnormality in the safety monitoring, the embedded controller controls the smart device to suspend the current task and repair the power supply system of the smart device. After the repair is completed, the embedded controller controls the smart device to continue to execute the current task. Otherwise, there is no need to suspend the current task of the smart device.
[0057] Specifically, the method for security monitoring of the power supply system of the smart device includes the following steps:
[0058] Step S710, obtaining potential safety hazard data of the power supply system of the smart device.
[0059] The potential safety hazard data of the power supply system of the smart device includes the equipment safety assessment index data and network security index data of the equipment in the power supply system of the smart device. The equipment includes the power supply equipment and transformer in the power supply system of the smart device.
[0060] Among them, the equipment security assessment indicator data includes: vulnerabilities, malicious codes or malicious viruses, etc.
[0061] Among them, network security indicator data include: third-party IP addresses, communication protocols and types of the power supply system connected to smart devices.
[0062] Step S720: Calculate the safety value of the power supply system of the smart device according to the potential safety hazard data of the power supply system of the smart device.
[0063] The calculation formula for the safety value of the power supply system of the smart device is as follows:
[0064]
[0065] Among them, ZGA represents the security value of the power supply system of the smart device; Q represents the total number of types of network security indicator data; A a represents the security factor of the a-th network security indicator data; if the a-th network security indicator data is within the predetermined authorization range, then A a =1, otherwise, A a =0; G represents the number of devices in the power supply system of the smart device; P represents the total number of types of equipment safety assessment index data; E bc Represents the weight factor of the cth type of security assessment indicator data of the bth device; OU bc V represents the number of the cth type of security assessment indicator data for the bth device; bc Represents the hazard value of the cth type of safety assessment indicator data of the bth device.
[0066] Step S730, compare the safety value of the power supply system of the smart device with the preset safety threshold. If the safety value of the power supply system of the smart device is less than the preset safety threshold, an alarm signal is issued, otherwise the power supply system of the smart device continues to be monitored for safety.
[0067] The present application improves the calculation accuracy of the safety value of the power supply system of the smart device, compares the safety value of the power supply system of the smart device with the preset safety threshold, and issues an alarm signal if the safety value of the power supply system of the smart device is less than the preset safety threshold, otherwise, the power supply system of the smart device continues to be monitored for safety, thereby improving the safety of the power supply system of the smart device.
[0068] Embodiment 2
[0069] like Figure 2 As shown, the present application provides an embedded control system 100 for a smart device, the system comprising:
[0070] The acquisition module 10 is used to acquire the task type of the smart device and collect the operation status data of the smart device when the smart device executes the task.
[0071] The data processor 20 is used to calculate the conformity between the running status data of the smart device and the current task type according to the task type of the smart device and the running status data of the smart device during the task execution.
[0072] The calculation formula for the compliance between the running status data of the smart device and the current task type is as follows:
[0073]
[0074] Among them, Fy represents the conformity between the running status data of the smart device and the current task type; T represents the duration of collecting the running status data of the smart device, M represents the total number of types of running status data collected for the smart device; YS ti represents the measured value of the i-th operating state data collected at time t; θ ti It represents the deviation factor of the sensor collecting the i-th operating state data at the t-th time; It represents the minimum allowable limit of the i-th operating status data collected at the t-th time; It indicates the maximum allowable limit of the i-th operating status data collected at the t-th time.
[0075] The control module 30 is used to control the task execution state of the smart device according to the conformity between the running state data of the smart device and the current task type through the distributed embedded controller.
[0076] The acquisition module 10 is also used to acquire the power consumption related data of the currently executed task of the smart device.
[0077] The data processor 20 is further used to calculate the reliability of power utilization of the smart device in executing the current task based on the power consumption related data of the smart device in executing the current task.
[0078] The calculation formula for the reliability of power utilization of the smart device to perform the current task is as follows:
[0079]
[0080] Among them, DK represents the electricity usage rate; α represents the influence weight of the electricity consumption of the current task on the reliability rate of electric energy utilization of the smart device to execute the current task; Ry represents the total number of tasks that have been executed for the current task; Rz represents the total number of tasks for the current task; Xs represents the electricity consumed to execute the current task; Mr represents the maximum electricity consumption corresponding to the total number of tasks for the current task; β represents the influence weight of whether the remaining electricity consumption in the maximum electricity consumption can complete the remaining unprocessed tasks on the reliability rate of electric energy utilization of the smart device to execute the current task; n represents the number of days for the current task to be executed; Rk represents the average number of tasks that can be executed by the smart device to execute the current task per day.
[0081] The system also includes:
[0082] The comparison module 40 is used to compare the power utilization reliability of the smart device in executing the current task with a preset reliability threshold. If the power utilization reliability of the smart device in executing the current task is lower than the preset reliability threshold, the power consumption of the smart device is checked in time. Otherwise, there is no need to check the power consumption of the smart device.
[0083] The safety monitoring module 50 is used to perform safety monitoring on the power supply system of the smart device. If there is an abnormality in the safety monitoring, the embedded controller controls the smart device to suspend the current task and repair the power supply system of the smart device. After the repair is completed, the embedded controller controls the smart device to continue to execute the current task. Otherwise, there is no need to suspend the current task of the smart device.
[0084] The embedded controller 60 is used to control the smart device to pause or start executing the current task.
[0085] The safety monitoring module performs safety monitoring on the power supply system of the smart device, comprising the following steps:
[0086] Obtain safety hazard data of the power supply system of smart devices.
[0087] According to the potential safety hazard data of the power supply system of the smart device, the safety value of the power supply system of the smart device is calculated.
[0088] The calculation formula for the safety value of the power supply system of the smart device is as follows:
[0089]
[0090] Among them, ZGA represents the security value of the power supply system of the smart device; Q represents the total number of types of network security indicator data; A a represents the security factor of the a-th network security indicator data; if the a-th network security indicator data is within the predetermined authorization range, then A a =1, otherwise, A a=0; G represents the number of devices in the power supply system of the smart device; P represents the total number of types of equipment safety assessment index data; E bc Represents the weight factor of the cth type of security assessment indicator data of the bth device; OU bc V represents the number of the cth type of security assessment indicator data for the bth device; bc Represents the hazard value of the cth type of safety assessment indicator data of the bth device.
[0091] Compare the safety value of the power supply system of the smart device with the preset safety threshold. If the safety value of the power supply system of the smart device is less than the preset safety threshold, an alarm signal is issued. Otherwise, the power supply system of the smart device continues to be monitored for safety.
[0092] The present application also provides a computer storage medium, wherein the computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the address mapping method of the large-capacity solid-state hard disk. The computer storage medium contains one or more program instructions, and the one or more program instructions are used by the processor to execute an embedded control method for an intelligent device.
[0093] The embodiment disclosed in the present invention provides a computer-readable storage medium, in which computer program instructions are stored. When the computer program instructions are executed on a computer, the computer executes the above-mentioned embedded control method for a smart device.
[0094] An embodiment of the present invention provides a processor for processing the above-mentioned embedded control method of a smart device.
[0095] In the embodiment of the present invention, the processor may be an integrated circuit chip having the ability to process signals. The processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0096] The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The processor reads the information in the storage medium and completes the steps of the above method in combination with its hardware.
[0097] The storage medium may be a memory, which may be, for example, a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory.
[0098] Among them, the non-volatile memory can 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 can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct RAM bus random access memory (DRRAM).
[0099] The beneficial effects achieved by this application are as follows:
[0100] (1) This application calculates the conformity between the running status data of the smart device and the current task type, and compares the conformity between the running status data of the smart device and the current task type and the preset threshold. If the conformity between the running status data of the smart device and the current task type is greater than the preset threshold, then the running status data of the current smart device is not abnormal. Otherwise, the running status data of the current smart device is abnormal, and the distributed embedded controller controls the task of the current smart device to stop executing and repair the smart device. Thus, according to the different current task types of the smart device, the conformity between the running status data of the smart device and the current task type is evaluated, the abnormality of the running status data of the smart device is judged, and the interference of the different running status data of the smart device under different task types on its abnormality judgment is eliminated, thereby improving the accuracy of the abnormality judgment of the running status data of the smart device and ensuring the safe operation of the smart device.
[0101] (2) The present application calculates the reliability rate of power utilization of the smart device in executing the current task at regular intervals, thereby regularly evaluating the reliability rate of power utilization of the smart device in executing the current task. When the reliability rate of power utilization of the smart device in executing the current task is lower than a preset reliability threshold, the power consumption of the smart device is promptly checked to analyze whether there is any waste of electricity, thereby saving energy and improving energy utilization.
[0102] (3) The present application improves the calculation accuracy of the safety value of the power supply system of the smart device, compares the safety value of the power supply system of the smart device with the preset safety threshold, and issues an alarm signal if the safety value of the power supply system of the smart device is less than the preset safety threshold, otherwise, the power supply system of the smart device continues to be monitored for safety, thereby improving the safety of the power supply system of the smart device.
[0103] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, "plurality" means two or more, unless otherwise clearly and specifically defined.
[0104] In the description of the present application, the word "for example" is used to mean "used as an example, illustration or explanation". Any embodiment described as "for example" in the present application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is given to enable any technician in the field to implement and use the present invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other examples, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present application.
[0105] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
Claims
1. An embedded control method for a smart device, characterized in that: The method includes: Obtain the task type of the smart device and collect the running status data of the smart device when the smart device executes the task; According to the task type of the smart device and the running status data of the smart device during the task execution, the conformity between the running status data of the smart device and the current task type is calculated; Through the distributed embedded controller, the task execution status of the intelligent device is controlled according to the conformity between the running status data of the intelligent device and the current task type.
2. The embedded control method of the smart device according to claim 1, characterized in that: The method further includes: Obtain power consumption data related to the current task being executed by the smart device; Calculate the reliability rate of power utilization of the smart device in executing the current task based on the power consumption data of the smart device in executing the current task; Compare the power utilization reliability rate of the smart device in executing the current task with the preset reliability threshold. If the power utilization reliability rate of the smart device in executing the current task is lower than the preset reliability threshold, check the power consumption of the smart device in time. Otherwise, there is no need to check the power consumption of the smart device.
3. The embedded control method of the smart device according to claim 1, characterized in that: The method further includes: The power supply system of the smart device is safety monitored. If there is an abnormality in the safety monitoring, the embedded controller is used to control the smart device to suspend the current task and repair the power supply system of the smart device. After the repair is completed, the embedded controller controls the smart device to continue to execute the current task. Otherwise, there is no need to suspend the current task of the smart device.
4. The embedded control method of the smart device according to claim 3, characterized in that: The method for safety monitoring of the power supply system of the smart device comprises the following steps: Obtain safety hazard data of the power supply system of smart devices; Calculate the safety value of the power supply system of the smart device based on the potential safety hazard data of the power supply system of the smart device; Compare the safety value of the power supply system of the smart device with the preset safety threshold. If the safety value of the power supply system of the smart device is less than the preset safety threshold, an alarm signal is issued. Otherwise, the power supply system of the smart device continues to be monitored for safety.
5. The embedded control method of the smart device according to claim 1, characterized in that: According to the task type of the smart device and the running status data of the smart device during the task execution, the degree of conformity between the running status data of the smart device and the current task type is calculated, including: According to different task types of the smart device, obtain the normal threshold range of the running status data corresponding to the smart device executing tasks of different task types; According to the running status data collected when the smart device performs the current task and the normal threshold range of the running status data corresponding to the task of the current task type performed by the smart device, the conformity of the running status data of the smart device with the current task type is calculated.
6. The embedded control method of the smart device according to claim 1, characterized in that: Through the distributed embedded controller, according to the consistency between the running status data of the smart device and the current task type, the task execution status of the smart device is controlled, including: Compare the conformity of the running status data of the smart device with the current task type and the preset threshold. If the conformity of the running status data of the smart device with the current task type is greater than the preset threshold, there is no abnormality in the running status data of the current smart device. Otherwise, there is an abnormality in the running status data of the current smart device. The distributed embedded controller controls the task of the current smart device to stop executing and repairs the smart device.
7. An embedded control system for an intelligent device, characterized in that: The system includes: An acquisition module is used to acquire the task type of the smart device and collect the running status data of the smart device during the process of the smart device executing the task; A data processor, used to calculate the conformity between the running status data of the smart device and the current task type according to the task type of the smart device and the running status data of the smart device during the task execution; The control module is used to control the task execution state of the intelligent device through a distributed embedded controller according to the conformity between the running state data of the intelligent device and the current task type.
8. The embedded control system of the smart device according to claim 7, characterized in that: The acquisition module is also used to obtain the power consumption related data of the current task being executed by the smart device; The data processor is further used to calculate the reliability rate of electric energy utilization of the smart device in executing the current task according to the power consumption related data of the smart device in executing the current task; The system also includes a comparison module for comparing the power utilization reliability of the smart device in performing the current task with a preset reliability threshold. If the power utilization reliability of the smart device in performing the current task is lower than the preset reliability threshold, the power consumption of the smart device is checked in time. Otherwise, there is no need to check the power consumption of the smart device.
9. The embedded control system of the smart device according to claim 8, characterized in that: The system also includes: The safety monitoring module is used to perform safety monitoring on the power supply system of the smart device. If there is an abnormality in the safety monitoring, the embedded controller controls the smart device to suspend the current task and repair the power supply system of the smart device. After the repair is completed, the embedded controller controls the smart device to continue to execute the current task. Otherwise, there is no need to suspend the current task of the smart device.
10. The embedded control system of the smart device according to claim 9, characterized in that: The system also includes: an embedded controller, which is used to control the smart device to pause or start executing a current task.