Intelligent equipment control method and system based on object model, and Internet of Things platform

By constructing material models and creating shadow devices, the problems of insufficient standardization and universality of existing material models are solved, and unified management and efficient control of multiple intelligent devices are achieved.

CN119987259APending Publication Date: 2025-05-13SHENZHEN KAADAS INTELLIGENT TECH CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202510076641.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

The existing material models have insufficient standardization and universality in device connection and information fusion, which leads to the inability to uniformly manage multiple devices, and the model is less practical.

Method used

By obtaining the device information of the smart device, determining its functional attributes, and building a model. Enter real-time data into the object model, build a shadow device, and map the data to the shadow device. Abstraction of shadow devices and update object models to achieve a unified control protocol.

Benefits of technology

It realizes unified management of multiple intelligent devices, improves equipment management efficiency, and enhances the standardization and universality of object models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987259A_ABST
    Figure CN119987259A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent device control method and system based on a physical model and an Internet of Things platform, and the method comprises the steps: obtaining the device information of an intelligent device, and determining a function attribute according to the device information, so as to construct the physical model; inputting real-time data of the intelligent equipment into the object model, constructing shadow equipment, and mapping the real-time data into the shadow equipment; the shadow devices are abstracted to obtain adaptation information, the adaptation information is input into the object model to be updated, a target object model is obtained, and the control result of the target object model on each shadow device is obtained. According to the invention, the shadow devices of the plurality of intelligent devices are constructed by constructing the object model, and the unified control protocol is created to manage each shadow device, so that different intelligent devices can be managed at the same time, and the device management efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of device control technology, and in particular to a smart device control method, system, Internet of Things platform and computer-readable storage medium based on a physical model. Background Art

[0002] With the continuous development of IoT technology, more and more devices can be connected to the IoT platform to achieve remote monitoring and control.

[0003] However, existing object models are generally designed for specific industries or equipment types and lack universality, which creates obstacles to device connection and information fusion. In addition, object models are not sufficiently standardized, and equipment manufacturers' object models lack unified standards and have limited language expression capabilities, which cannot fully describe the static properties, dynamic states, and complex behaviors of the equipment, reducing their practicality.

[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention

[0005] The main purpose of the present invention is to provide a smart device control method, system, Internet of Things platform and computer-readable storage medium based on a physical model, aiming to solve the problems of insufficient standardization and universality of physical models in the prior art, which lead to the inability to uniformly manage multiple devices and low practicality of the model.

[0006] To achieve the above object, the present invention provides a method for controlling an intelligent device based on a physical model, the method comprising the following steps:

[0007] Acquire device information of a plurality of smart devices, determine a plurality of functional attributes of all the smart devices according to the device information, and construct an object model according to the plurality of functional attributes;

[0008] Input the real-time data of each smart device into the physical model, the physical model constructs a corresponding shadow device according to the information of each device, and maps each real-time data to the corresponding shadow device;

[0009] Abstract processing is performed on each of the shadow devices to obtain adaptation information, the adaptation information is input into the object model for updating to obtain a target object model, and the control result of the target object model on each of the shadow devices is obtained.

[0010] Optionally, the method for controlling an intelligent device based on a physical model, wherein the step of acquiring device information of a plurality of intelligent devices, determining a plurality of functional attributes of all the intelligent devices according to the device information, and constructing a physical model according to the plurality of functional attributes, specifically comprises:

[0011] Acquire device information of multiple smart devices, classify the device information of each smart device, and obtain multiple parameter indicators and multiple performance indicators corresponding to each smart device;

[0012] Abstracting all parameter indicators and the performance indicators of each of the smart devices to obtain key attributes of each of the smart devices;

[0013] Each of the key attributes is converted into a standard format, a standard protocol input by a user is obtained, and an object model is constructed using all the converted key attributes and the standard protocol, wherein the standard protocol is used to specify a data storage method and a data processing method for all the smart devices.

[0014] Optionally, the method for controlling smart devices based on physical models, wherein all parameter indicators and performance indicators of each smart device are abstractly processed to obtain key attributes of each smart device, and then further comprises:

[0015] Abstracting the key attributes of each of the smart devices and converting them into standard fields to obtain multiple standard key attributes;

[0016] Establishing an index for each of the standard key attributes, and storing the indexed standard key attributes in a database connected to the object model;

[0017] The integrity of all data in the database is detected based on the plurality of device information, wherein the integrity indicates whether the range of data stored in the database by each smart device is reasonable.

[0018] Optionally, the method for controlling smart devices based on physical models, wherein the real-time data of each smart device is input into the physical model, the physical model constructs a corresponding shadow device according to the information of each device, and maps each real-time data to the corresponding shadow device, specifically includes:

[0019] Inputting the real-time data of each smart device into the physical model, the physical model replicates the real-time data of each smart device, and obtaining shadow data corresponding to each smart device;

[0020] The object model constructs a corresponding shadow device according to the device information of each of the smart devices, and adds all the shadow data to the corresponding shadow device.

[0021] Optionally, the method for controlling smart devices based on a physical model, wherein the corresponding shadow device is constructed according to the device information of each smart device, and all the shadow data are added to the corresponding shadow device, and then further comprises:

[0022] When the status of all the smart devices is updated, each of the statuses is correspondingly transmitted to the physical model, and the physical model updates each of the shadow devices according to each of the statuses;

[0023] When the connection with some of the smart devices is disconnected, the control instructions are input into the physical model, and the physical model controls the corresponding shadow device according to the control instructions and outputs the operation process information. When the connection with some of the smart devices is reconnected, the operation process information is transmitted to the corresponding smart device.

[0024] Optionally, in the intelligent device control method based on the object model, the adaptation information includes: basic functions and common parameters;

[0025] The abstract processing is performed on each of the shadow devices to obtain adaptation information, the adaptation information is input into the object model for updating to obtain a target object model, and the control result of the target object model on each of the shadow devices is obtained, specifically including:

[0026] Abstracting the shadow data of each shadow device to obtain basic functions and common parameters of all the shadow devices, wherein the basic functions represent the common functions of each shadow device, and the common parameters represent the parameters of each smart device when executing the basic functions;

[0027] According to the basic functions and the common parameters, an adaptation layer is constructed, and the adaptation layer is added to the object model to obtain a target object model;

[0028] The control instruction input by the user is input into the target object model, and the control result of controlling the different shadow devices is output.

[0029] Optionally, the method for controlling smart devices based on a physical model, wherein the abstract processing is performed on each of the shadow devices to obtain adaptation information, the adaptation information is input into the physical model for updating to obtain a target physical model, and the control result of the target physical model on each of the smart devices is obtained, and then the following further comprises:

[0030] When an abnormality occurs in the control result of the shadow device, the current state and historical state of the shadow device are obtained;

[0031] The current state indicates the state information of the shadow device being abnormal, and the historical state indicates the backup state information before the shadow device being abnormal;

[0032] Using the historical status to update the shadow device, to obtain the shadow device before the abnormality occurs;

[0033] Analyze the current state and the historical state to obtain an abnormal result, and generate a control instruction according to the abnormal result;

[0034] The control instruction is input into the target object model, and the control result of the shadow device is output until the control result is normal.

[0035] In addition, to achieve the above-mentioned purpose, the present invention further provides an intelligent device control system based on a physical model, wherein the intelligent device control system based on a physical model comprises:

[0036] A model building module, used for acquiring device information of a plurality of smart devices, determining a plurality of functional attributes of all the smart devices according to the device information, and building an object model according to the plurality of functional attributes;

[0037] A data mapping module, used to input the real-time data of each of the smart devices into the physical model, the physical model constructs a corresponding shadow device according to the information of each of the devices, and maps each of the real-time data to the corresponding shadow device;

[0038] The device control module is used to perform abstract processing on each of the shadow devices to obtain adaptation information, input the adaptation information into the object model for updating, obtain the target object model, and obtain the control result of the target object model on each of the shadow devices.

[0039] In addition, to achieve the above-mentioned purpose, the present invention also provides an Internet of Things platform, wherein the Internet of Things platform includes: a memory, a processor, and a smart device control program based on a physical model stored in the memory and executable on the processor, wherein the smart device control program based on a physical model implements the steps of the smart device control method based on a physical model as described above when executed by the processor.

[0040] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a smart device control program based on a physical model, and when the smart device control program based on a physical model is executed by a processor, the steps of the smart device control method based on a physical model as described above are implemented.

[0041] In the present invention, the device information of multiple smart devices is obtained, multiple functional attributes of all the smart devices are determined according to the device information, and a physical model is constructed according to the multiple functional attributes; the real-time data of each smart device is input into the physical model, and the physical model constructs a corresponding shadow device according to each device information, and maps each real-time data to the corresponding shadow device; each shadow device is abstractly processed to obtain adaptation information, and the adaptation information is input into the physical model for updating to obtain a target physical model, and the control result of the target physical model on each shadow device is obtained. The present invention constructs shadow devices of multiple smart devices by constructing a physical model, and creates a unified control protocol to manage each shadow device, thereby achieving simultaneous management of different smart devices and improving device management efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a flow chart of a preferred embodiment of the intelligent device control method based on the object model of the present invention;

[0043] Figure 2 It is a detailed process flow chart of a preferred embodiment of the intelligent device control method based on the object model of the present invention;

[0044] Figure 3 It is a data storage flow chart of a preferred embodiment of the intelligent device control method based on the object model of the present invention;

[0045] Figure 4 It is a device compatibility flow chart of a preferred embodiment of the intelligent device control method based on the object model of the present invention;

[0046] Figure 5 It is a unified protocol flow chart of a preferred embodiment of the intelligent device control method based on the object model of the present invention;

[0047] Figure 6 It is a functional abstract flow chart of a preferred embodiment of the intelligent device control method based on the object model of the present invention;

[0048] Figure 7 It is a flow chart of a rollback mechanism of a preferred embodiment of the intelligent device control method based on a physical model of the present invention;

[0049] Figure 8 It is a structural diagram of a preferred embodiment of the intelligent device control system based on the physical model of the present invention;

[0050] Fig. 9 This is a structural diagram of a preferred embodiment of the Internet of Things platform of the present invention. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0052] The intelligent device control method based on the object model described in the preferred embodiment of the present invention is as follows: Figure 1 As shown, the intelligent device control method based on the object model includes the following steps:

[0053] Step S10: Acquire device information of a plurality of smart devices, determine a plurality of functional attributes of all the smart devices according to the device information, and construct an object model according to the plurality of functional attributes.

[0054] Among them, Figure 2 As shown, after obtaining the device information of the smart device, the device information can be digitally described to obtain a unified standardized format, which can improve the compatibility between different devices and thus improve the management efficiency between different devices.

[0055] Specifically, the device information of multiple smart devices is obtained, the device information of each smart device is classified, and multiple parameter indicators and multiple performance indicators corresponding to each smart device are obtained; all parameter indicators and performance indicators of each smart device are abstractly processed to obtain key attributes of each smart device; each key attribute is converted into a standard format, a standard protocol input by a user is obtained, and an object model is constructed using all the converted key attributes and the standard protocol, wherein the standard protocol is used to specify the data storage method and data processing method of all the smart devices.

[0056] Among them, for each smart device, the device information obtained mainly includes various parameters and performance indicators of the device, such as temperature, humidity and pressure, and then these data are abstracted to extract the key attributes or key features that can represent the smart device. Then, using the defined standard protocol, a physical model is automatically constructed, so that different smart devices can be managed simultaneously in the same way, which can effectively improve the comprehensiveness of the physical model.

[0057] Among them, by scanning the hardware interface and software interface of the device, the key attributes of the smart device can be automatically identified, and the object model (including data interface and interface definition) can be automatically generated according to the identified attributes. According to the communication capabilities of each smart device, the appropriate communication protocol can be automatically configured. After the construction is completed, the object model corresponding to each smart device is automatically tested to ensure the correctness and effectiveness of the model.

[0058] Furthermore, the key attributes of each of the smart devices are abstracted and converted into standard fields to obtain multiple standard key attributes; an index is established for each of the standard key attributes, and the indexed standard key attributes are stored in a database connected to the object model; based on the information of multiple devices, the integrity of all data in the database is detected, wherein the integrity indicates whether the range of data stored in the database by each of the smart devices is reasonable.

[0059] Among them, the key attributes are abstracted (or structured), which makes it easier to store, query and analyze the data of smart devices: first, the key attributes of each smart device (including temperature, humidity and switch status, etc.) are identified, and then the key attributes are parsed into readable fields. For example, the temperature data is separated from the original data stream and its data type (integer or floating point) is identified. The parsed data is then mapped to a predefined data model (the data model defines the structure and relationship of the data. For example, the data model of a device may include fields such as device ID, timestamp, temperature and humidity), and the data is converted to a standard format (for example, all temperature data is converted to Fahrenheit to ensure data consistency), an index is added to each key attribute to improve data query efficiency, and finally, a query is performed in the database that stores this data to ensure the accuracy and completeness of all data, while ensuring that the storage range of the data of each smart device meets the requirements. When the device status changes, the key attributes in the database are updated in real time to reflect the latest device status and model.

[0060] Step S20: input the real-time data of each smart device into the physical model; the physical model constructs a corresponding shadow device according to the information of each device, and maps each real-time data to the corresponding shadow device.

[0061] Among them, Figure 3 As shown, after the physical model is constructed, a corresponding shadow device is constructed for each smart device using the physical model. In this way, the smart device can be controlled by controlling the shadow device, thereby improving the convenience of subsequent management or development of the device and significantly reducing the work pressure of developers and maintenance personnel.

[0062] Specifically, the real-time data of each of the smart devices is input into the physical model, and the physical model replicates the real-time data of each of the smart devices to obtain shadow data corresponding to each of the smart devices; the physical model constructs a corresponding shadow device based on the device information of each of the smart devices, and adds all of the shadow data to the corresponding shadow device.

[0063] Among them, when the real-time data of each smart device is input into the physical model, the physical model copies the corresponding real-time data, obtains the corresponding shadow data, and builds the corresponding shadow device to complete the comprehensive replication of the smart device. By controlling the shadow device, the effect of controlling the smart device is achieved, which improves the interoperability and data standardization of different devices.

[0064] Furthermore, if Figure 4 and Figure 5 As shown in the figure, before building each shadow device, it is necessary to analyze the real-time data of all smart devices from a high-level perspective. Through a unified language and standard, different smart devices can be managed and operated in a unified manner. For example, for a smart home system, a variety of control devices are required, including smart lights, smart thermostats and smart door locks. The basic functions of each smart device can be defined through the object model, so that a single program can control all smart devices through the object model. In this way, users or developers only need to control all devices through a unified interface, and there is no need to define different operation methods for each smart device. This not only improves the user experience, but also simplifies development and maintenance work.

[0065] Furthermore, when the status of all the smart devices is updated, each of the statuses is transmitted to the physical model, and the physical model updates each of the shadow devices according to each status; when the connection with some of the smart devices is disconnected, the control instructions are input into the physical model, and the physical model controls the corresponding shadow devices according to the control instructions and outputs operation process information; when the connection with some of the smart devices is reconnected, the operation process information is transmitted to the corresponding smart devices.

[0066] Among them, when the connection between the smart device and the Internet of Things platform is interrupted, the user can still control the shadow device through the object model to achieve the effect of controlling the smart device. After the smart device is reconnected to the Internet of Things platform, the updated status information of the shadow device is transmitted to the corresponding smart device to update the smart device; for example, for a smart thermostat, the device ID, current temperature, target temperature, operating mode and timestamp will be stored in the corresponding shadow device. When the user changes the target temperature through the mobile phone, the application will update the target temperature in the shadow device. If the thermostat is offline, the latest target temperature in the shadow device will be read and updated when reconnected.

[0067] Step S30: abstract each of the shadow devices to obtain adaptation information, input the adaptation information into the object model for updating, obtain the target object model, and obtain the control result of the target object model on each of the shadow devices.

[0068] The adaptation information includes basic functions and common parameters. Based on a unified interaction protocol, the basic functions and common parameters of each smart device are extracted, making it more convenient and efficient for the object model to interact with each smart device and platform, while also improving the scalability and maintainability of the system.

[0069] Specifically, the shadow data of each shadow device is abstracted to obtain basic functions and common parameters of all the shadow devices, wherein the basic functions represent the common functions of each shadow device, and the common parameters represent the parameters of each smart device when executing the basic functions; an adaptation layer is constructed according to the basic functions and the common parameters, and the adaptation layer is added to the object model to obtain a target object model; the control instructions input by the user are input into the target object model, and the control results of controlling different shadow devices are output.

[0070] Among them, Figure 6 As shown, based on the object model constructed above, the adaptation layer is constructed by utilizing the common basic functions and common parameters of each smart device. At the same time, the special functions and special parameters of each smart device can be added to the adaptation layer, and the object model can be updated. The functions and properties of the smart device are mapped to the target object model through the adaptation layer, so that the Internet of Things platform can manage and control various different devices in a unified manner, thereby improving the flexibility and scalability of the system.

[0071] Furthermore, when an abnormality occurs in the control result of the shadow device, the current state and historical state of the shadow device are obtained; wherein the current state represents the state information of the shadow device when the abnormality occurs, and the historical state represents the backup state information of the shadow device before the abnormality occurs; the shadow device is updated using the historical state to obtain the shadow device before the abnormality occurs; the current state and the historical state are analyzed to obtain the abnormal result, and a control instruction is generated according to the abnormal result; the control instruction is input into the target object model, and the control result of the shadow device is output until the control result is normal.

[0072] Among them, Figure 7 As shown, after implementing the control of different smart devices through the physical model, a rollback operation mechanism is added to ensure that when a problem occurs with the smart device, the stable version before the smart device abnormality can be returned.

[0073] First, all configurations and codes of shadow devices are version controlled to ensure that the state change process of each smart device and shadow device is recorded in the database, and then the change status information is backed up to ensure that the shadow device can return to normal at any time; each time the state of the smart device changes, the change request is reviewed to ensure that each operation is necessary and safe; when the state changes, the smart device and shadow device are monitored again to ensure that the execution result is normal, and when the execution result is abnormal, the shadow device and smart device can be updated according to the backup data to return the shadow device and smart device to normal state, and the abnormal execution results are analyzed to improve the security and stability of the object model when controlling smart devices through shadow devices.

[0074] The present invention constructs shadow devices of multiple smart devices by constructing an object model, and creates a unified control protocol to manage each shadow device, thereby achieving simultaneous management of different smart devices and improving device management efficiency.

[0075] Furthermore, if Figure 8 As shown, based on the above-mentioned intelligent device control method based on the physical model, the present invention also provides an intelligent device control system based on the physical model, wherein the intelligent device control system based on the physical model includes:

[0076] A model building module 51 is used to obtain device information of multiple smart devices, determine multiple functional attributes of all the smart devices according to the device information, and build an object model according to the multiple functional attributes;

[0077] A data mapping module 52, used for inputting the real-time data of each of the smart devices into the physical model, the physical model constructing a corresponding shadow device according to the information of each of the devices, and mapping each of the real-time data to the corresponding shadow device;

[0078] The device control module 53 is used to perform abstract processing on each of the shadow devices to obtain adaptation information, input the adaptation information into the object model for updating, obtain the target object model, and obtain the control result of the target object model on each of the shadow devices.

[0079] Furthermore, if Fig. 9 As shown, based on the above-mentioned intelligent device control method and system based on the object model, the present invention also provides an Internet of Things platform accordingly, and the Internet of Things platform includes a processor 10, a memory 20 and a display 30. Fig. 9 Only some components of the IoT platform are shown, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.

[0080] In some embodiments, the memory 20 may be an internal storage unit of the Internet of Things platform, such as a hard disk or memory of the Internet of Things platform. In other embodiments, the memory 20 may also be an external storage device of the Internet of Things platform, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the Internet of Things platform. Further, the memory 20 may also include both an internal storage unit of the Internet of Things platform and an external storage device. The memory 20 is used to store application software and various types of data installed on the Internet of Things platform, such as the program code of the Internet of Things platform. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, a smart device control program 40 based on a physical model is stored on the memory 20, and the smart device control program 40 based on the physical model can be executed by the processor 10, thereby realizing the smart device control method based on the physical model in the present application.

[0081] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the smart device control method based on the physical model.

[0082] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the Internet of Things platform and to display a visual user interface. The components of the Internet of Things platform communicate with each other through a system bus.

[0083] In one embodiment, when the processor 10 executes the smart device control program 40 based on the object model in the memory 20, the following steps are implemented:

[0084] Acquire device information of a plurality of smart devices, determine a plurality of functional attributes of all the smart devices according to the device information, and construct an object model according to the plurality of functional attributes;

[0085] Input the real-time data of each smart device into the physical model, the physical model constructs a corresponding shadow device according to the information of each device, and maps each real-time data to the corresponding shadow device;

[0086] Abstract processing is performed on each of the shadow devices to obtain adaptation information, the adaptation information is input into the object model for updating to obtain a target object model, and the control result of the target object model on each of the shadow devices is obtained.

[0087] The acquiring device information of a plurality of smart devices, determining a plurality of functional attributes of all the smart devices according to the device information, and constructing an object model according to the plurality of functional attributes specifically includes:

[0088] Acquire device information of multiple smart devices, classify the device information of each smart device, and obtain multiple parameter indicators and multiple performance indicators corresponding to each smart device;

[0089] Abstracting all parameter indicators and the performance indicators of each of the smart devices to obtain key attributes of each of the smart devices;

[0090] Each of the key attributes is converted into a standard format, a standard protocol input by a user is obtained, and an object model is constructed using all the converted key attributes and the standard protocol, wherein the standard protocol is used to specify a data storage method and a data processing method for all the smart devices.

[0091] The step of abstracting all parameter indicators and the performance indicators of each smart device to obtain key attributes of each smart device further includes:

[0092] Abstracting the key attributes of each of the smart devices and converting them into standard fields to obtain multiple standard key attributes;

[0093] Establishing an index for each of the standard key attributes, and storing the indexed standard key attributes in a database connected to the object model;

[0094] The integrity of all data in the database is detected based on the plurality of device information, wherein the integrity indicates whether the range of data stored in the database by each smart device is reasonable.

[0095] The step of inputting the real-time data of each smart device into the physical model, constructing a corresponding shadow device according to the information of each device, and mapping each real-time data to the corresponding shadow device specifically includes:

[0096] Inputting the real-time data of each smart device into the physical model, the physical model replicates the real-time data of each smart device, and obtaining shadow data corresponding to each smart device;

[0097] The object model constructs a corresponding shadow device according to the device information of each of the smart devices, and adds all the shadow data to the corresponding shadow device.

[0098] Wherein, the corresponding shadow device is constructed according to the device information of each of the smart devices, and all the shadow data are added to the corresponding shadow device, and then it also includes:

[0099] When the status of all the smart devices is updated, each of the statuses is correspondingly transmitted to the physical model, and the physical model updates each of the shadow devices according to each of the statuses;

[0100] When the connection with some of the smart devices is disconnected, the control instructions are input into the physical model, and the physical model controls the corresponding shadow device according to the control instructions and outputs the operation process information. When the connection with some of the smart devices is reconnected, the operation process information is transmitted to the corresponding smart device.

[0101] Wherein, the adaptation information includes: basic functions and common parameters;

[0102] The abstract processing is performed on each of the shadow devices to obtain adaptation information, the adaptation information is input into the object model for updating to obtain a target object model, and the control result of the target object model on each of the shadow devices is obtained, specifically including:

[0103] Abstracting the shadow data of each shadow device to obtain basic functions and common parameters of all the shadow devices, wherein the basic functions represent the common functions of each shadow device, and the common parameters represent the parameters of each smart device when executing the basic functions;

[0104] According to the basic functions and the common parameters, an adaptation layer is constructed, and the adaptation layer is added to the object model to obtain a target object model;

[0105] The control instruction input by the user is input into the target object model, and the control result of controlling the different shadow devices is output.

[0106] The method further comprises: performing abstract processing on each of the shadow devices to obtain adaptation information, inputting the adaptation information into the object model for updating, obtaining a target object model, and obtaining a control result of the target object model on each of the smart devices, and then further comprising:

[0107] When an abnormality occurs in the control result of the shadow device, the current state and historical state of the shadow device are obtained;

[0108] The current state indicates the state information of the shadow device being abnormal, and the historical state indicates the backup state information before the shadow device being abnormal;

[0109] Using the historical status to update the shadow device, to obtain the shadow device before the abnormality occurs;

[0110] Analyze the current state and the historical state to obtain an abnormal result, and generate a control instruction according to the abnormal result;

[0111] The control instruction is input into the target object model, and the control result of the shadow device is output until the control result is normal.

[0112] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a smart device control program based on a physical model, and when the smart device control program based on a physical model is executed by a processor, the steps of the smart device control method based on a physical model as described above are implemented.

[0113] In summary, the present invention provides a method for controlling intelligent devices based on a physical model and related devices, the method comprising: obtaining device information of multiple intelligent devices, determining multiple functional attributes of all the intelligent devices according to the device information, and constructing a physical model according to the multiple functional attributes; inputting the real-time data of each intelligent device into the physical model, the physical model constructing a corresponding shadow device according to each device information, and mapping each real-time data to the corresponding shadow device; performing abstract processing on each shadow device to obtain adaptation information, inputting the adaptation information into the physical model for updating, obtaining a target physical model, and obtaining the control result of the target physical model on each shadow device. The present invention constructs shadow devices of multiple intelligent devices by constructing a physical model, and creates a unified control protocol to manage each shadow device, thereby achieving simultaneous management of different intelligent devices and improving device management efficiency.

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

[0115] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.

[0116] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A method for controlling an intelligent device based on a physical model, characterized in that: The intelligent device control method based on the object model includes: Acquire device information of a plurality of smart devices, determine a plurality of functional attributes of all the smart devices according to the device information, and construct an object model according to the plurality of functional attributes; Input the real-time data of each smart device into the physical model, the physical model constructs a corresponding shadow device according to the information of each device, and maps each real-time data to the corresponding shadow device; Abstract processing is performed on each of the shadow devices to obtain adaptation information, the adaptation information is input into the object model for updating to obtain a target object model, and the control result of the target object model on each of the shadow devices is obtained.

2. The method for controlling an intelligent device based on a physical model according to claim 1, characterized in that: The acquiring device information of a plurality of smart devices, determining a plurality of functional attributes of all the smart devices according to the device information, and constructing an object model according to the plurality of functional attributes specifically includes: Acquire device information of multiple smart devices, classify the device information of each smart device, and obtain multiple parameter indicators and multiple performance indicators corresponding to each smart device; Abstracting all parameter indicators and the performance indicators of each of the smart devices to obtain key attributes of each of the smart devices; Each of the key attributes is converted into a standard format, a standard protocol input by a user is obtained, and an object model is constructed using all the converted key attributes and the standard protocol, wherein the standard protocol is used to specify a data storage method and a data processing method for all the smart devices.

3. The intelligent device control method based on physical model according to claim 2, characterized in that: The abstract processing of all parameter indicators and the performance indicators of each of the smart devices to obtain key attributes of each of the smart devices further includes: Abstracting the key attributes of each of the smart devices and converting them into standard fields to obtain multiple standard key attributes; Establishing an index for each of the standard key attributes, and storing the indexed standard key attributes in a database connected to the object model; The integrity of all data in the database is detected based on the plurality of device information, wherein the integrity indicates whether the range of data stored in the database by each smart device is reasonable.

4. The intelligent device control method based on object model according to claim 1, characterized in that: The step of inputting the real-time data of each smart device into the physical model, wherein the physical model constructs a corresponding shadow device according to the information of each device, and maps each real-time data to the corresponding shadow device, specifically includes: Inputting the real-time data of each smart device into the physical model, the physical model replicates the real-time data of each smart device, and obtaining shadow data corresponding to each smart device; The object model constructs a corresponding shadow device according to the device information of each of the smart devices, and adds all the shadow data to the corresponding shadow device.

5. The method for controlling an intelligent device based on a physical model according to claim 4, characterized in that: The method further comprises: constructing a corresponding shadow device according to the device information of each smart device, and adding all the shadow data to the corresponding shadow device, and then further comprising: When the status of all the smart devices is updated, each of the statuses is correspondingly transmitted to the physical model, and the physical model updates each of the shadow devices according to each of the statuses; When the connection with some of the smart devices is disconnected, the control instructions are input into the physical model, and the physical model controls the corresponding shadow device according to the control instructions and outputs the operation process information. When the connection with some of the smart devices is reconnected, the operation process information is transmitted to the corresponding smart device.

6. The method for controlling an intelligent device based on a physical model according to claim 1, characterized in that: The adaptation information includes: basic functions and common parameters; The abstract processing is performed on each of the shadow devices to obtain adaptation information, the adaptation information is input into the object model for updating to obtain a target object model, and the control result of the target object model on each of the shadow devices is obtained, specifically including: Abstracting the shadow data of each shadow device to obtain basic functions and common parameters of all the shadow devices, wherein the basic functions represent the common functions of each shadow device, and the common parameters represent the parameters of each smart device when executing the basic functions; According to the basic functions and the common parameters, an adaptation layer is constructed, and the adaptation layer is added to the object model to obtain a target object model; The control instruction input by the user is input into the target object model, and the control result of controlling the different shadow devices is output.

7. The method for controlling an intelligent device based on a physical model according to claim 1, characterized in that: The abstract processing is performed on each of the shadow devices to obtain adaptation information, the adaptation information is input into the object model for updating, the target object model is obtained, and the control result of the target object model on each of the smart devices is obtained, and then the following is further included: When an abnormality occurs in the control result of the shadow device, the current state and historical state of the shadow device are obtained; The current state indicates the state information of the shadow device being abnormal, and the historical state indicates the backup state information before the shadow device being abnormal; Using the historical status to update the shadow device, to obtain the shadow device before the abnormality occurs; Analyze the current state and the historical state to obtain an abnormal result, and generate a control instruction according to the abnormal result; The control instruction is input into the target object model, and the control result of the shadow device is output until the control result is normal.

8. An intelligent device control system based on a physical model, characterized in that: The intelligent device control system based on the object model includes: A model building module, used for acquiring device information of a plurality of smart devices, determining a plurality of functional attributes of all the smart devices according to the device information, and building an object model according to the plurality of functional attributes; A data mapping module, used to input the real-time data of each of the smart devices into the physical model, the physical model constructs a corresponding shadow device according to the information of each of the devices, and maps each of the real-time data to the corresponding shadow device; The device control module is used to perform abstract processing on each of the shadow devices to obtain adaptation information, input the adaptation information into the object model for updating, obtain the target object model, and obtain the control result of the target object model on each of the shadow devices.

9. An Internet of Things platform, characterized in that: The Internet of Things platform includes: a memory, a processor, and a smart device control program based on a physical model stored in the memory and executable on the processor. When the smart device control program based on a physical model is executed by the processor, the steps of the smart device control method based on a physical model as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a smart device control program based on a physical model, and when the smart device control program based on a physical model is executed by a processor, the steps of the smart device control method based on a physical model as described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Industrial equipment digital twin system based on object model and page control method

    CN121165648A

  • An industrial equipment digital twin system based on a physical model and a page control method

    CN121165648B

  • Internet of Things equipment data transmission method, system and equipment and storage medium

    CN121441972A